CN107835297A - Information updating method and mobile terminal - Google Patents
Information updating method and mobile terminal Download PDFInfo
- Publication number
- CN107835297A CN107835297A CN201710971584.0A CN201710971584A CN107835297A CN 107835297 A CN107835297 A CN 107835297A CN 201710971584 A CN201710971584 A CN 201710971584A CN 107835297 A CN107835297 A CN 107835297A
- Authority
- CN
- China
- Prior art keywords
- identification information
- battery
- updated
- mobile terminal
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a kind of information updating method and mobile terminal, is related to technical field of mobile terminals, and methods described includes:Whether the battery for detecting mobile terminal is normal cell;When the battery is normal cell, identification information to be updated is obtained, the identification information to be updated is in advance from the information of server acquisition;According to the identification information to be updated, identification information corresponding to the battery is updated.By after confirming that battery is normal cell, being updated to the identification information of battery, the identification information for avoiding battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, improves security when user uses mobile terminal.
Description
Technical field
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of information updating method and mobile terminal.
Background technology
In order to improve security when user uses mobile terminal, mark can be set to believe in the battery of mobile terminal
Breath, so that mobile terminal can be identified according to the identification information pair battery, so that it is determined that whether battery is mobile terminal
Standard configuration battery, if potential safety hazard be present.
In correlation technique, battery can include a memory space, the identification information for storage battery.Work as mobile terminal
In starting up, the identification information can be obtained from the memory space of battery, and the identification information of acquisition is whole with movement
Hold the identification information that prestores to be compared, with determine the identification information of battery whether with the identification information one that prestores
Cause, so determine battery whether be mobile terminal standard configuration battery.
But in actual applications, because the identification information of battery has the possibility being cracked, this make it that quality is unqualified
Battery can also be carried out according to the identification information after cracking standard configuration battery identification information it is imitated, cause mobile terminal can not
The imitated underproof battery of identification so that mobile terminal has potential safety hazard.
The content of the invention
The embodiment of the present invention provides a kind of information updating method, to solve mobile terminal None- identified according to the mark after cracking
Know information and carry out imitated underproof battery so that mobile terminal has the problem of potential safety hazard.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of information updating method, including:
Whether the battery for detecting mobile terminal is normal cell;
When the battery is normal cell, obtain identification information to be updated, the identification information to be updated in advance from
The information that server obtains;
According to the identification information to be updated, identification information corresponding to the battery is updated.
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes:
Detection module, whether the battery for detecting mobile terminal is normal cell;
Acquisition module, for when the battery is normal cell, obtaining identification information to be updated, the mark to be updated
Information is in advance from the information of server acquisition;
Update module, for according to the identification information to be updated, being updated to identification information corresponding to the battery.
The embodiment of the present invention additionally provides a kind of mobile terminal, including processor, memory and is stored in the memory
Computer program that is upper and can running on the processor, the computer program are realized as above during the computing device
The step of stating the information updating method any one of information updating method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium
Computer program is stored up, is realized when the computer program is executed by processor as any one of above-mentioned information updating method
The step of information updating method.
In embodiments of the present invention, by after confirming that battery is normal cell, being updated to the identification information of battery,
The identification information for avoiding battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, and then
Lifting user uses security during mobile terminal.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the schematic diagram of the mobile terminal involved by a kind of information updating method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of information updating method provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of information updating method provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Fig. 1 is the schematic diagram of the mobile terminal involved by a kind of information updating method according to exemplary embodiment,
As shown in figure 1, the mobile terminal can include:Receiving module 110, processing module 120, Encryption Decryption module 130, Card read/write
Module 140 and battery 150.
Wherein, processing module 120 is connected with receiving module 110 and Encryption Decryption module 130 respectively, Card read/write module
140 are connected with Encryption Decryption module 130 and battery 150 respectively.
Specifically, receiving module 110 can be when mobile terminal be connected with internet, and the reception server is sent to be updated
Identification information and key to be updated;
Processing module 120 can be obtained in battery 150 when mobile terminal-opening starts by Card read/write module 140
The identification information of storage, and identification information is decrypted by Encryption Decryption module 130, initial marking information is obtained, finally
The initial marking information that decryption obtains is matched with the target identification information prestored.
When the match is successful, processing module 120 can detect whether receiving module 110 have received treating more for server transmission
New logo information and key to be updated.If receiving module 110 have received the identification information to be updated of server transmission and treat more
New key, then identification information to be updated can be encrypted by Encryption Decryption module 130 according to key to be updated, and will
Identification information to be updated after encryption is stored into battery 150 by module for reading and writing 140, and the identification information of complete battery pair is more
Newly.
Reference picture 2, a kind of step flow chart of information updating method of the embodiment of the present invention is shown, can specifically be included
Following steps:
Step 201, whether the battery for detecting mobile terminal is normal cell.
Using during mobile terminal, mobile terminal may because of battery quality it is unqualified the problems such as, cause
Potential safety hazard.Therefore, before user uses mobile terminal, when such as starting shooting, the battery of mobile terminal can be detected, sentenced
Whether the quality of the disconnected battery is qualified, if is normal cell.
Specifically, memory space is provided with the battery of mobile terminal, for the relevant information of storage battery, wherein can be with
Including the identification information for identifying battery, the identification information is used to indicate whether battery is normal cell.Accordingly, it is mobile whole
End can obtain the identification information of battery, and the identification information is matched with the identification information prestored, so that it is determined that
Whether the battery of mobile terminal is normal cell.
When it is determined that the battery of mobile terminal is normal cell, then step 202 can be performed;But if detect shifting
The battery of dynamic terminal is not normal cell, then it is not normal cell, it is necessary to change electricity that can prompt the currently used battery of user
Pond.
Step 202, when battery is normal cell, identification information to be updated is obtained.
Wherein, the identification information to be updated is in advance from the information of server acquisition.
In order to ensure the security of the identification information of battery, server periodically can send to be updated to mobile terminal
Identification information, to be updated to the identification information of battery, improve the security of identification information.Therefore, it is true in mobile terminal
Current battery is recognized for after normal cell, identification information to be updated can be obtained, and so as in subsequent step, mobile terminal can be with
According to the identification information to be updated, the identification information of battery is updated.
It should be noted that when the identification information to be updated is mobile terminal access internet, detected by server
The identification information of battery deposits the identification information in the case of an update, sent to mobile terminal, for the identification information to battery
It is updated.
Step 203, according to identification information to be updated, identification information corresponding to battery is updated.
Mobile terminal, then can be according to the mark of the identification information pair battery to be updated after identification information to be updated is obtained
Information is updated.Due to battery identification information storage in the battery, be not stored in mobile terminal, thus it is mobile eventually
End can substitute electricity after identification information to be updated is obtained by the identification information storage to be updated into the memory space of battery
The identification information stored before pond.
In summary, the information updating method that the embodiment of the present invention is provided, by detect mobile terminal battery whether
For normal cell, when battery is normal cell, identification information to be updated is obtained, according to the identification information to be updated, to battery
Corresponding identification information is updated.By after confirming that battery is normal cell, being updated, keeping away to the identification information of battery
The identification information for having exempted from battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, improves
User uses security during mobile terminal.
Reference picture 3, a kind of step flow chart of information updating method of the embodiment of the present invention is shown, can specifically be included
Following steps:
Step 301, the initial marking information of battery is obtained.
In order to detect whether the battery of mobile terminal is normal cell, mobile terminal can obtain from the memory space of battery
The identification information after encryption is taken, and the identification information after encryption is decrypted according to the target cipher key prestored, is obtained just
Beginning identification information.
Optionally, mobile terminal can obtain the identification information after encryption, and obtain target cipher key, finally according to the target
Identification information after the encryption is decrypted key, obtains initial marking information.Wherein, the target cipher key is used to decrypt and encrypted
Identification information afterwards, the target cipher key can together store in the terminal with the target identification information in subsequent step.
Step 302, initial marking information is matched with the target identification information prestored.
Wherein, the target identification information is what mobile terminal prestored, for identifying whether battery is normal cell
Identification information.
Mobile terminal, then can be by the initial marking information and the mesh prestored after decryption obtains initial marking information
Mark identification information is matched, and judges whether the two is consistent, so that it is determined that whether the battery of mobile terminal is normal cell.
When the match is successful for initial identification information and target identification information, then illustrate that initial marking information is believed with target identification
Breath is consistent, and can confirm that battery is normal cell, then mobile terminal can perform step 303.But when initial identification information with
Target identification information then illustrates that initial marking information is inconsistent with target identification information, can confirm that battery not when it fails to match
It is normal cell, it is necessary to skip step 303 and step 304, performs step 305.
Step 303, when battery is normal cell, identification information to be updated is obtained.
This step 303 is similar with step 202, will not be repeated here.
Step 304, according to identification information to be updated, identification information corresponding to battery is updated.
Mobile terminal can also obtain key to be updated, so as to be updated according to this after identification information to be updated is obtained
Identification information to be updated is encrypted key, so as to further strengthen the security of identification information to be updated, finally by battery
Identification information after the encryption of middle storage replaces with the identification information to be updated after encryption.
Wherein, the key to be updated is by server when sending identification information to be updated, and a mobile terminal in the same direction is sent
Key, for identification information to be updated to be encrypted and/or decrypted.
Optionally, mobile terminal can obtain key to be updated, and according to the key to be updated, to identification information to be updated
It is encrypted, the identification information after being encrypted, identification information corresponding to battery is finally replaced with into the identification information after encryption.
It should be noted that mobile terminal is after the identification information in have updated battery, can in mobile terminal in advance
The target identification information and target cipher key of storage are updated, using identification information to be updated and key to be updated as new target
Identification information and target cipher key, in mobile terminal starting up again, according to the identification information to be updated and to treat
More new key, the identification information of battery is decrypted and matched.
Step 305, when battery is not normal cell, prompting user's battery is not normal cell.
When mobile terminal determines the initial marking information of battery with the target identification information prestored not in step 302
During matching, then the battery that can determine mobile terminal is not normal cell, but quality is unqualified, the electricity of potential safety hazard be present
Pond.Therefore, mobile terminal may remind the user that the currently used battery of mobile terminal is not normal cell.
For example, mobile terminal after detecting that battery is not normal cell, can show that " you are currently used on screen
Battery is not normal cell, potential safety hazard be present, please changes in time ", or above- mentioned information is played by the function of speech play,
Certainly can also be reminded using other modes, the embodiment of the present invention is not limited this.
In summary, the information updating method that the embodiment of the present invention is provided, by detect mobile terminal battery whether
For normal cell, when battery is normal cell, identification information to be updated is obtained, according to the identification information to be updated, to battery
Corresponding identification information is updated.By after confirming that battery is normal cell, being updated, keeping away to the identification information of battery
The identification information for having exempted from battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, improves
User uses security during mobile terminal.
Further, by obtaining key to be updated, and identification information to be updated is added according to the key to be updated
It is close, using the identification information after encryption as identification information new corresponding to battery, on the basis of being updated to identification information,
Also identification information is encrypted, improves the security of the identification information of battery, and then improves the peace using mobile terminal
Quan Xing.
Further, by obtaining the initial marking information of battery, and by the initial marking information and target identification information
Matched, so as to determine whether battery is normal cell according to matching result, can be carried if battery is not normal cell
Wake up user, and no longer performs follow-up the step of updating;But if battery is normal cell, then it can perform follow-up renewal step
Suddenly.By being detected in advance to battery, when can to avoid battery be not normal cell, perform renewal step and cause to identify
The situation of information leakage, improve the security of renewal identification information.
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention is shown, can specifically be included:
Detection module 401, whether the battery for detecting mobile terminal is normal cell;
Acquisition module 402, for when the battery is normal cell, obtaining identification information to be updated, the mark to be updated
Information is in advance from the information of server acquisition;
Update module 403, for according to the identification information to be updated, being updated to identification information corresponding to the battery.
Optionally, the update module 403 includes:
Acquisition submodule, for obtaining key to be updated;
Submodule is encrypted, for according to the key to be updated, the identification information to be updated being encrypted, after obtaining encryption
Identification information;
Submodule is replaced, for identification information corresponding to the battery to be replaced with to the identification information after the encryption.
Optionally, the detection module 401 includes:
Acquisition submodule, for obtaining the initial marking information of the battery;
Matched sub-block, for the initial marking information to be matched with the target identification information prestored;
First confirms submodule, for when the match is successful for the initial marking information and the target identification information, confirming should
Battery is normal cell;
Second confirms submodule, for when it fails to match for the initial marking information and the target identification information, confirming should
Battery is not normal cell.
Optionally, the acquisition submodule includes:
First acquisition unit, for obtaining the identification information after encrypting;
Second acquisition unit, for obtaining target cipher key, the target cipher key is used to decrypt the identification information after the encryption;
Decryption unit, for the identification information after the encryption to be decrypted according to the target cipher key, obtain the initial mark
Know information.
Optionally, the mobile terminal also includes:
Prompting module, for when the battery is not normal cell, it to be not normal cell to prompt user's battery.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 2 to Fig. 3 embodiment of the method
Each process, to avoid repeating, repeat no more here.
In summary, the mobile terminal that the embodiment of the present invention is provided, whether it is mark by the battery for detecting mobile terminal
Quasi- battery, when battery is normal cell, identification information to be updated is obtained, it is corresponding to battery according to the identification information to be updated
Identification information be updated.By after confirming that battery is normal cell, being updated, avoiding to the identification information of battery
The identification information of battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, improves user
Use security during mobile terminal.
Fig. 5 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 500
Including but not limited to:It is radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, input block 504, sensor 505, aobvious
Show the parts such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511.
It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, it is mobile whole
End can be included than illustrating more or less parts, either combine some parts or different parts arrangement.In the present invention
In embodiment, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, can worn
Wear equipment and pedometer etc..
Wherein, processor 510, whether the battery for detecting mobile terminal is normal cell;
Processor 510, for when the battery is normal cell, obtaining identification information to be updated, the mark to be updated
The information for knowing information to obtain from server in advance;
Processor 510, for according to the identification information to be updated, being carried out more to identification information corresponding to the battery
Newly.
In summary, the mobile terminal that the embodiment of the present invention is provided, whether it is mark by the battery for detecting mobile terminal
Quasi- battery, when battery is normal cell, identification information to be updated is obtained, it is corresponding to battery according to the identification information to be updated
Identification information be updated.By after confirming that battery is normal cell, being updated, avoiding to the identification information of battery
The identification information of battery keeps situation that is constant and being cracked, improves the security of the identification information of battery, improves user
Use security during mobile terminal.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, will be up
Data are sent to base station.Generally, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 502 and accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509
It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 503 can also be provided and moved
The audio output for the specific function correlation that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input block 504 is used to receive audio or video signal.Input block 504 can include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited
Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike
Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 also includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity transducer can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 506 is used for the information for showing the information inputted by user or being supplied to user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 507 include contact panel 5071 and
Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071
Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, contact panel 5071 and display
Panel 5061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments
In, can be integrated by contact panel 5071 and display panel 5061 and realize input and the output function of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include
Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 500 can be used in the He of mobile terminal 500
Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 509, and call and be stored in storage
Data in device 509, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, memory 509, is stored in
On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510
Each process of Shi Shixian above- mentioned information update method embodiments, and identical technique effect can be reached, to avoid repeating, here
Repeat no more.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each process of above- mentioned information update method embodiment, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, belong within the protection of the present invention.
Claims (12)
1. a kind of information updating method, applied to mobile terminal, it is characterised in that methods described includes:
Whether the battery for detecting mobile terminal is normal cell;
When the battery is normal cell, identification information to be updated is obtained, the identification information to be updated is in advance from service
The information that device obtains;
According to the identification information to be updated, identification information corresponding to the battery is updated.
2. according to the method for claim 1, it is characterised in that it is described according to the identification information to be updated, to the electricity
Identification information is updated corresponding to pond, including:
Obtain key to be updated;
According to the key to be updated, the identification information to be updated is encrypted, the identification information after being encrypted;
Identification information corresponding to the battery is replaced with into the identification information after the encryption.
3. according to the method for claim 1, it is characterised in that whether the battery of the detection mobile terminal is standard electric
Pond, including:
Obtain the initial marking information of the battery;
The initial marking information is matched with the target identification information prestored;
When the match is successful for the initial marking information and the target identification information, it is normal cell to confirm the battery;
When it fails to match for the initial marking information and the target identification information, it is not normal cell to confirm the battery.
4. according to the method for claim 3, it is characterised in that the initial marking information for obtaining the battery, including:
Obtain the identification information after encryption;
Target cipher key is obtained, the target cipher key is used to decrypt the identification information after the encryption;
The identification information after the encryption is decrypted according to the target cipher key, obtains the initial marking information.
5. method according to any one of claims 1 to 4, it is characterised in that methods described also includes:
When the battery is not normal cell, it is not normal cell to prompt battery described in user.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Detection module, whether the battery for detecting mobile terminal is normal cell;
Acquisition module, for when the battery is normal cell, obtaining identification information to be updated, the identification information to be updated
For the information obtained in advance from server;
Update module, for according to the identification information to be updated, being updated to identification information corresponding to the battery.
7. mobile terminal according to claim 6, it is characterised in that the update module includes:
Acquisition submodule, for obtaining key to be updated;
Submodule is encrypted, for according to the key to be updated, the identification information to be updated being encrypted, after obtaining encryption
Identification information;
Submodule is replaced, for identification information corresponding to the battery to be replaced with to the identification information after the encryption.
8. mobile terminal according to claim 6, it is characterised in that the detection module includes:
Acquisition submodule, for obtaining the initial marking information of the battery;
Matched sub-block, for the initial marking information to be matched with the target identification information prestored;
First confirms submodule, for when the match is successful for the initial marking information and the target identification information, confirming institute
It is normal cell to state battery;
Second confirms submodule, for when it fails to match for the initial marking information and the target identification information, confirming institute
It is not normal cell to state battery.
9. mobile terminal according to claim 8, it is characterised in that the acquisition submodule includes:
First acquisition unit, for obtaining the identification information after encrypting;
Second acquisition unit, for obtaining target cipher key, the target cipher key is used to decrypt the identification information after the encryption;
Decryption unit, for the identification information after the encryption to be decrypted according to the target cipher key, obtain described initial
Identification information.
10. according to any described mobile terminal of claim 6 to 9, it is characterised in that the mobile terminal also includes:
Prompting module, for when the battery is not normal cell, it to be not normal cell to prompt battery described in user.
11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device
Any one of information updating method the step of.
12. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium
Sequence, the information updating method as any one of claim 1 to 5 is realized when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710971584.0A CN107835297B (en) | 2017-10-18 | 2017-10-18 | Information updating method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710971584.0A CN107835297B (en) | 2017-10-18 | 2017-10-18 | Information updating method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107835297A true CN107835297A (en) | 2018-03-23 |
CN107835297B CN107835297B (en) | 2021-05-07 |
Family
ID=61648379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710971584.0A Active CN107835297B (en) | 2017-10-18 | 2017-10-18 | Information updating method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107835297B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871626A (en) * | 2019-02-26 | 2019-06-11 | 维沃移动通信有限公司 | A kind of acquisition methods and terminal device of battery performance information |
CN110955165A (en) * | 2019-11-27 | 2020-04-03 | 深圳拓邦股份有限公司 | Control method of cleaning equipment and cleaning equipment |
EP4083898A4 (en) * | 2019-12-27 | 2023-05-31 | Honda Motor Co., Ltd. | Control device, power supply device, program, and control method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510777A (en) * | 2002-12-20 | 2004-07-07 | 北京六合万通微电子技术有限公司 | Anti-fogery system of chargeable battery |
JP2006101617A (en) * | 2004-09-29 | 2006-04-13 | Casio Hitachi Mobile Communications Co Ltd | Electronic apparatus, battery discrimination method, and battery discrimination program |
CN101180808A (en) * | 2005-06-25 | 2008-05-14 | 株式会社Lg化学 | System for identification of genuine battery product in mobile device |
CN101330686A (en) * | 2008-06-27 | 2008-12-24 | 潘良春 | Method and system for synthesis false-proof of mobile phone battery |
CN101504715A (en) * | 2009-03-04 | 2009-08-12 | 深圳市众合联科技有限公司 | Product identity digital identification apparatus, inspection apparatus, product and anti-fake inspection method |
US20090256717A1 (en) * | 2008-04-09 | 2009-10-15 | Panasonic Corporation | Battery authentication system, electronic device, battery, and battery charger |
CN101655814A (en) * | 2008-08-18 | 2010-02-24 | 联想(北京)有限公司 | Method for authenticating smart battery and terminal |
CN105049634A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Battery mobile terminal based on NFC recognition and recognition method |
CN105224057A (en) * | 2015-08-25 | 2016-01-06 | Tcl移动通信科技(宁波)有限公司 | The Dynamic Configuration of a kind of battery of mobile terminal ID and system |
CN106569864A (en) * | 2016-11-14 | 2017-04-19 | 湖南小步科技有限公司 | Remote online updating method and system for battery management unit |
CN107135222A (en) * | 2017-05-05 | 2017-09-05 | 深圳市牛牛智能设备有限公司 | For the communication equipment of self-service charging, server, self-service charging device and method |
-
2017
- 2017-10-18 CN CN201710971584.0A patent/CN107835297B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510777A (en) * | 2002-12-20 | 2004-07-07 | 北京六合万通微电子技术有限公司 | Anti-fogery system of chargeable battery |
JP2006101617A (en) * | 2004-09-29 | 2006-04-13 | Casio Hitachi Mobile Communications Co Ltd | Electronic apparatus, battery discrimination method, and battery discrimination program |
CN101180808A (en) * | 2005-06-25 | 2008-05-14 | 株式会社Lg化学 | System for identification of genuine battery product in mobile device |
US20090256717A1 (en) * | 2008-04-09 | 2009-10-15 | Panasonic Corporation | Battery authentication system, electronic device, battery, and battery charger |
CN101330686A (en) * | 2008-06-27 | 2008-12-24 | 潘良春 | Method and system for synthesis false-proof of mobile phone battery |
CN101655814A (en) * | 2008-08-18 | 2010-02-24 | 联想(北京)有限公司 | Method for authenticating smart battery and terminal |
CN101504715A (en) * | 2009-03-04 | 2009-08-12 | 深圳市众合联科技有限公司 | Product identity digital identification apparatus, inspection apparatus, product and anti-fake inspection method |
CN105049634A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Battery mobile terminal based on NFC recognition and recognition method |
CN105224057A (en) * | 2015-08-25 | 2016-01-06 | Tcl移动通信科技(宁波)有限公司 | The Dynamic Configuration of a kind of battery of mobile terminal ID and system |
CN106569864A (en) * | 2016-11-14 | 2017-04-19 | 湖南小步科技有限公司 | Remote online updating method and system for battery management unit |
CN107135222A (en) * | 2017-05-05 | 2017-09-05 | 深圳市牛牛智能设备有限公司 | For the communication equipment of self-service charging, server, self-service charging device and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871626A (en) * | 2019-02-26 | 2019-06-11 | 维沃移动通信有限公司 | A kind of acquisition methods and terminal device of battery performance information |
CN109871626B (en) * | 2019-02-26 | 2023-04-07 | 维沃移动通信有限公司 | Battery performance information acquisition method and terminal equipment |
CN110955165A (en) * | 2019-11-27 | 2020-04-03 | 深圳拓邦股份有限公司 | Control method of cleaning equipment and cleaning equipment |
EP4083898A4 (en) * | 2019-12-27 | 2023-05-31 | Honda Motor Co., Ltd. | Control device, power supply device, program, and control method |
Also Published As
Publication number | Publication date |
---|---|
CN107835297B (en) | 2021-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608514A (en) | Information processing method and mobile terminal | |
CN107704086A (en) | A kind of mobile terminal operating method and mobile terminal | |
CN108629171B (en) | Unread message processing method and terminal | |
CN107770760A (en) | A kind of method and mobile terminal of the type for identifying bluetooth equipment | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
CN107845057A (en) | One kind is taken pictures method for previewing and mobile terminal | |
CN107742072A (en) | Face identification method and mobile terminal | |
CN107678829A (en) | A kind of application control method and mobile terminal | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN107682359A (en) | One kind is using register method, mobile terminal | |
CN110191426A (en) | A kind of method and terminal of information sharing | |
CN107835297A (en) | Information updating method and mobile terminal | |
CN109446794B (en) | Password input method and mobile terminal thereof | |
CN107861786A (en) | The reminding method and mobile terminal of a kind of notice | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program | |
CN107786739A (en) | A kind of information acquisition method and mobile terminal | |
CN110213438A (en) | A kind of processing method and terminal device of application program | |
CN109068084A (en) | Video calling picture display process, mobile terminal and computer readable storage medium | |
CN107808151A (en) | Bio-identification resume module method, device and mobile terminal | |
CN107704334A (en) | A kind of SDK processing method and mobile terminal | |
CN108196663A (en) | A kind of face identification method, mobile terminal | |
CN108419283A (en) | A kind of method and mobile terminal of WIFI hot spot scanning | |
CN107979385A (en) | The information processing method and mobile terminal of a kind of radio-frequency devices | |
CN107734162A (en) | The method, apparatus and mobile terminal of a kind of message informing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |