CN104765628A - Method and system for updating touch screen firmware of movable terminal - Google Patents

Method and system for updating touch screen firmware of movable terminal Download PDF

Info

Publication number
CN104765628A
CN104765628A CN201510103873.XA CN201510103873A CN104765628A CN 104765628 A CN104765628 A CN 104765628A CN 201510103873 A CN201510103873 A CN 201510103873A CN 104765628 A CN104765628 A CN 104765628A
Authority
CN
China
Prior art keywords
firmware
touch
screen
mark
upgrade
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.)
Pending
Application number
CN201510103873.XA
Other languages
Chinese (zh)
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510103873.XA priority Critical patent/CN104765628A/en
Publication of CN104765628A publication Critical patent/CN104765628A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a system for updating the touch screen firmware of a movable terminal. The method comprises the steps of pre-dividing a memory for storing the touch screen firmware into two storage regions for updating the new firmware and storing the old firmware, determining in which storage region the firmware is updated, and beginning updating the new firmware, when the movable terminal is started up next time, detecting whether a first marker is a firmware updating starting marker or a firmware updating success marker, identifying power failure or not in the firmware updating process by use of the first marker, and in case of power failure, prompting the choice of sending the current storage position information of the touch screen firmware to the controller of the touch screen to use the old firmware, or choosing to continue to update the new firmware. According to the method, the original firmware of the touch screen still can be used in case of power failure in the touch screen firmware updating process so as to ensure normal use of the touch screen; certainly, the new firmware also can be continuously updated until updating is succeeded to ensure normal use of the mobile terminal.

Description

A kind of method and system of mobile terminal to update touch-screen firmware
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of method and system of mobile terminal to update touch-screen firmware.
Background technology
Along with the development of mobile communication and improving constantly of people's living standard, the use of various mobile terminals as mobile phone is more and more universal, and mobile phone has become indispensable means of communication in people's life.
Touch-screen is the main input block of mobile terminal, and touch-screen input is changeful, and the input detecting method of a lot of touch-screen is also made great efforts in research and development by touch-screen supplier.Therefore, often can encounter such situation, after mobile terminal sells a period of time, touch-screen field has again new touch screen function to be developed, and needs to enjoy this new touch screen function by upgrading touch-screen firmware for the mobile terminal sold.In the prior art, firmware lastest imformation is sent to mobile terminal by mobile terminal manufacturer by the renewal of touch-screen firmware often, downloads new firmware file, then upgrade by mobile terminal; There is following defect in touch-screen firmware renewal process:
1) if there is power down in renewal touch-screen firmware process, touch-screen firmware then will be caused to upgrade unsuccessfully, because needing original firmware erasing before firmware renewal, therefore in touch-screen firmware renewal process, occur that the situation of power down can make the touch-screen of this mobile terminal not have available firmware finally to cause touch-screen to use;
2) if firmware itself has problem, cannot be updated successfully, mobile terminal will crash, and make mobile terminal not have available firmware, finally cause touch-screen to use because original firmware has been wiped free of before the new firmware of renewal.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the defect that power down in the touch-screen firmware renewal process of prior art can make touch-screen use, a kind of method and system of mobile terminal to update touch-screen firmware are provided, by the method that this case provides, if power down will use the original firmware of touch-screen in touch-screen firmware renewal process, to ensure that touch-screen can normally use; Certainly, new firmware also by continuous updating until be updated successfully, ensure that the normal use of mobile terminal.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A method for mobile terminal to update touch-screen firmware, wherein, comprises step:
A, in advance the storer being used for storing touch-screen firmware in mobile terminal is divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states;
B, when there being firmware to upgrade, download corresponding new firmware, and obtain the positional information that current touch screen firmware deposits, and obtain the second mark of expression two storage area status informations;
C, according to second of expression two storage area status informations the mark, determine firmware at which storage area upgrades, and start to upgrade new firmware;
D, mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware.
The method of described mobile terminal to update touch-screen firmware, wherein, the new firmware of the renewal in described step C specifically comprises:
C1, central processing unit send instruction to touch screen controller, are configured to by touch screen controller upgrade new firmware mode;
The new firmware obtained needs the target area upgraded to send to touch screen controller by C2, central processing unit, the memory area that touch screen controller configuration firmware is deposited;
C3, central processing unit arrange firmware to start to upgrade mark, and starts new firmware to send to touch screen controller, is updated in storer by touch screen controller by firmware;
C4, after touch-screen firmware upgrades, central processing unit upgrades the positional information that touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously;
C5, central processing unit send instruction to touch screen controller, and touch screen controller is configured to normal mode of operation.
The method of described mobile terminal to update touch-screen firmware, wherein, described step D specifically comprises:
D1, mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark;
If D2 firmware starts to upgrade mark, then judge last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use;
D3, when receive user operational order select continue upgrade new firmware, then again upgrade new firmware;
D4, when receiving the old firmware of the operational order choice for use of user, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
The method of described mobile terminal to update touch-screen firmware, wherein, described step C also comprises: if the positional information that current touch screen firmware is deposited is region one, then need the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one.
The method of described mobile terminal to update touch-screen firmware, wherein, described step C also comprises:
When firmware self has problem, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is in normal mode of operation.
A system for mobile terminal to update touch-screen firmware, wherein, comprising:
Pre-set module, in advance the storer being used for storing touch-screen firmware in mobile terminal being divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states;
Obtaining processing module, for when there being firmware to upgrade, downloading corresponding new firmware, and obtain the positional information deposited of current touch screen firmware, and second of acquisition expression two storage area status informations indicates;
Update process module, for the second mark according to expression two storage area status informations, determines firmware at which storage area upgrades, and starts to upgrade new firmware;
Restart control module, for mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware.
The system of described mobile terminal to update touch-screen firmware, wherein, described update process module comprises:
First dispensing unit, sends instruction for controlling central processing unit to touch screen controller, is configured to by touch screen controller upgrade new firmware mode;
First transmitting element, the target area upgraded is needed to send to touch screen controller in the new firmware obtained for controlling central processing unit, the memory area that touch screen controller configuration firmware is deposited;
Upgrade control module, firmware is set starts to upgrade mark for controlling central processing unit, and start new firmware to send to touch screen controller, by touch screen controller, firmware is updated in storer;
Tag update unit, after upgrading when touch-screen firmware, controls the positional information that central processing unit renewal touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously;
Second dispensing unit, sends instruction for controlling central processing unit to touch screen controller, touch screen controller is configured to normal mode of operation.
The system of described mobile terminal to update touch-screen firmware, wherein, described in restart control module and comprise:
Start detecting unit, for mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark;
Tip element, if start to upgrade mark for firmware, then judges last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use;
Mode switch element, continues to upgrade new firmware for selecting when the operational order receiving user, then again upgrades new firmware; When the firmware that the operational order choice for use receiving user is old, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
The system of described mobile terminal to update touch-screen firmware, wherein, described update process module also comprises:
Firmware upgrades control module, if be region one for the positional information deposited of current touch screen firmware, then needs the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one.
The system of described mobile terminal to update touch-screen firmware, wherein, described update process module also comprises:
Restart control module, for having problem when firmware self, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is in normal mode of operation.
The method and system of mobile terminal to update touch-screen firmware provided by the present invention, owing to have employed, the storer being used for storing firmware in touch-screen is divided into two regions, one for upgrading new firmware, another is for depositing old firmware, and the state be provided with in the central processing unit of mobile terminal in mark (comprising two states: firmware starts to upgrade, and firmware is updated successfully) and two storage areas; Thus central processing unit identifies in firmware renewal process whether have power down when mobile terminal starts by mark, when there being power down, current touch maybe can be shielded the positional information that firmware deposits and sends to the controller of touch-screen to use old firmware by central processing unit, also can continue to upgrade new firmware.The present invention ensures that touch-screen can normally use, and reduces the damage risk that firmware upgrades, provides users with the convenient.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the preferred embodiment of the method for mobile terminal to update touch-screen firmware of the present invention.
Fig. 2 is the process flow diagram of the embody rule embodiment of the method for mobile terminal to update touch-screen firmware of the present invention.
Fig. 3 be the embody rule embodiment of the method for mobile terminal to update touch-screen firmware of the present invention restart process flow diagram.
Fig. 4 is the functional schematic block diagram of the system of mobile terminal to update touch-screen firmware of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the preferred embodiment of the method for mobile terminal to update touch-screen firmware of the present invention.The method of a kind of mobile terminal to update touch-screen firmware shown in Fig. 1, comprises the following steps:
Step S110, in advance the storer being used for storing touch-screen firmware in mobile terminal is divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states.
In the embodiment of the present invention, need in advance the storer being used for storing touch-screen firmware in mobile terminal to be divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware.
Being specially, having a storer in touch-screen for depositing firmware, this storer is divided into equal-sized two regions: region one, region two.
Step S120, when there being firmware to upgrade, download corresponding new firmware, and obtain the positional information that current touch screen firmware deposits, and obtain the second mark of expression two storage area status informations.
In the embodiment of the present invention, when there being firmware update notification, download corresponding new firmware.Then the positional information at the touch-screen firmware stores place obtaining the current use of mobile terminal touch screen is searched, the positional information that described current touch screen firmware is deposited refers to the region that firmware that touch-screen using is deposited, and this information is stored in central processing unit.Namely judge that the touch-screen firmware stores of current use is in region one or region two.
Step S130, according to second of expression two storage area status informations the mark, determine firmware at which storage area upgrades, and start to upgrade new firmware;
In the specific embodiment of the invention, if the positional information that current touch screen firmware is deposited is region one, then need the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one.
Determine that firmware is after which storage area upgrades, the mark that firmware starts to upgrade is set, in central processing unit, has a mark that two values can be set: firmware starts to upgrade, and firmware is updated successfully; When firmware starts to upgrade, firmware is become by this traffic sign placement to start to upgrade; After firmware is updated successfully, firmware is become to be updated successfully this traffic sign placement.
Wherein, the new firmware of described renewal specifically comprises:
1), by mobile terminal central processing unit send instruction to touch screen controller, touch screen controller is configured to upgrade new firmware mode.
2), the target area that the new firmware needs obtained upgrade is sent to touch screen controller, the memory area that touch screen controller configuration firmware is deposited by central processing unit.
3), central processing unit arranges firmware and starts to upgrade mark, and starts new firmware to send to touch screen controller, is updated in storer by firmware by touch screen controller.In the specific implementation, firmware upgrades result two, and one is be updated successfully in the present invention, and one is upgrade unsuccessful (power down or deadlock).
4), after touch-screen firmware upgrades, central processing unit upgrades the positional information that touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously.
5), central processing unit sends instruction to touch screen controller, and touch screen controller is configured to normal mode of operation.Whether what is called is configured to normal mode, refer to and dare not be updated successfully by firmware, all will be configured to the module that can normally start, if namely firmware is updated successfully, just starts with the firmware after renewal, if upgrade unsuccessful, just still uses original old firmware to start.Because the region that firmware upgrades and the region of old firmware stores separate two different regions to realize, even if upgrade the unsuccessful use also not affecting mobile terminal.
Certainly when firmware self has problem, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is also be in normal mode of operation.
When restarting next time, enter step S140.
Step S140, mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware.
In the embodiment of the present invention, after carrying out firmware renewal: enter step D1
D1, mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark; If firmware is updated successfully mark, then controls mobile terminal and normally start.
If D2 firmware starts to upgrade mark, then judge last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use;
D3, when receive user operational order select continue upgrade new firmware, then again upgrade new firmware;
D4, when receiving the old firmware of the operational order choice for use of user, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
When mobile terminal-opening, detect the firmware that is set in central processing unit start to upgrade mark still firmware be updated successfully mark; If firmware starts to upgrade mark, then occurred power down when last renewal firmware is described, firmware upgrades unsuccessfully; Now whether prompting user is continued to upgrade firmware, if user selects to continue to upgrade firmware, re-executes above-mentioned steps 1) ~ 5); If the firmware that user's choice for use is old, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
Below by way of an embody rule embodiment, the present invention is described further:
In the specific implementation, can arrange:
First mark FG2, for indicating the state that touch-screen firmware upgrades: firmware starts renewal, firmware is updated successfully; As FG2, to be 1 explanation be that firmware starts to upgrade mark, is that firmware is updated successfully mark when FG2 is 2 explanations.
Second mark (FG1), for preserving the positional information that touch-screen firmware is deposited, namely indicate touch-screen firmware and leave storage area 1 or storage area 2 122 in, if touch-screen firmware be leave in storage area first FG1 be 1, if touch-screen firmware be leave in storage area second FG1 be 2.
As shown in Figure 2, based on above-described embodiment, a kind of method upgrading touch-screen firmware of this embody rule embodiment, comprises the following steps:
Step S1, obtain the value that the positional information second deposited for preserving touch-screen firmware indicates (FG1), if the value of the second mark (FG1) is that 1(represents when touch-screen firmware leaves storage area one in), then the new firmware of touch-screen is set and upgrades use storage area two; If the value of the second mark (FG1) is that 2(represents when touch-screen firmware leaves storage area two in), then the new firmware of touch-screen is set and uses storage area one; It is specially, and is selected to pass to touch screen controller by corresponding storage area, is completed the selection of storage area by touch screen controller.
Step S2, after mobile terminal receives new touch-screen firmware, central processing unit notice touch-screen switch to firmware download mode; Then it complete pattern by touch screen controller switch specifically by the touch screen controller corresponding data being sent to touch-screen inside by transmission.
Step S3, arrange for indicate touch-screen firmware more new state first mark (FG2) be 1; And new firmware is transferred to touch screen controller, in the storage area new firmware downloads selected to step S1 by touch screen controller.
Step S4, when after the equal end of transmission of new firmware, upgrade second mark (FG1) and first indicate (FG2); The positional information second deposited for preserving touch-screen firmware obtained in step S1 if be specially indicates that the value of (FG1) is 1, then arrange the positional information second deposited for preserving touch-screen firmware in this step and indicate that (FG1) is 2, namely setting area two is for arriving more new district; If the value of the FG1 obtained in step S1 is 2, namely region two uses, then arranging FG1 in this step is 1, and namely setting area one is more new district.
Step S5, central processing unit notice touch-screen switches to normal mode of operation; It is specially the touch screen controller corresponding data transmission being sent to touch-screen inside, then completes pattern by touch screen controller and switches.
In addition, as shown in Figure 3, when mobile terminal carries out again starting shooting after firmware renewal, following steps will be performed:
Whether step S01, mobile terminal-opening detect touch-screen firmware and are updated successfully; Be specially the first mark (FG2) read for indicating the state that touch-screen firmware upgrades, if there is power down when FG2 is and 1 explanation last time upgraded firmware, firmware has upgraded unsuccessfully, and proceeds to step S02.
Whether step S02, prompting user continue to upgrade firmware, continue to upgrade firmware, re-execute step S1 ~ S5 if select; If the firmware that user's choice for use is old, then perform step S03.
Step S03, obtaining the value that the positional information second deposited for preserving touch-screen firmware indicates (FG1), if the value of FG1 is 1, then touch-screen is set and uses storage area one; If the value of FG1 is 2, then touch-screen is set and uses storage area two; It is specially selects to pass to touch screen controller by corresponding storage area, is completed the selection of storage area by touch screen controller.Arrange FG2 is 2 simultaneously;
Here have any to need to illustrate, after mobile terminal is restarted, touch-screen acquiescence is in normal operational module.
Visible, the invention provides a kind of method of mobile terminal to update touch-screen firmware, the method provided by this case, if power down will use the original firmware of touch-screen in touch-screen firmware renewal process, to ensure that touch-screen can normally use; Certainly, new firmware also by continuous updating until be updated successfully, ensure that the normal use of mobile terminal.
Based on said method embodiment, present invention also offers a kind of system of mobile terminal to update touch-screen firmware, as shown in Figure 4, comprising:
Pre-set module 410, in advance the storer being used for storing touch-screen firmware in mobile terminal being divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states; As detailed above.
Obtaining processing module 420, for when there being firmware to upgrade, downloading corresponding new firmware, and obtain the positional information deposited of current touch screen firmware, and second of acquisition expression two storage area status informations indicates; As detailed above.
Update process module 430, for the second mark according to expression two storage area status informations, determines firmware at which storage area upgrades, and starts to upgrade new firmware; As detailed above.
Restart control module 440, for mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware; As detailed above.
Further, the system of described mobile terminal to update touch-screen firmware, wherein, described update process module comprises:
First dispensing unit, sends instruction for controlling central processing unit to touch screen controller, is configured to by touch screen controller upgrade new firmware mode; As detailed above.
First transmitting element, the target area upgraded is needed to send to touch screen controller in the new firmware obtained for controlling central processing unit, the memory area that touch screen controller configuration firmware is deposited; As detailed above.
Upgrade control module, firmware is set starts to upgrade mark for controlling central processing unit, and start new firmware to send to touch screen controller, by touch screen controller, firmware is updated in storer; As detailed above.
Tag update unit, after upgrading when touch-screen firmware, controls the positional information that central processing unit renewal touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously; As detailed above.
Second dispensing unit, sends instruction for controlling central processing unit to touch screen controller, touch screen controller is configured to normal mode of operation.As detailed above.
Further, the system of described mobile terminal to update touch-screen firmware, wherein, described in restart control module and comprise:
Start detecting unit, for mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark; As detailed above.
Tip element, if start to upgrade mark for firmware, then judges last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use; As detailed above.
Mode switch element, continues to upgrade new firmware for selecting when the operational order receiving user, then again upgrades new firmware; When the firmware that the operational order choice for use receiving user is old, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware; As detailed above.
Further, the system of described mobile terminal to update touch-screen firmware, wherein, described update process module also comprises:
Firmware upgrades control module, if be region one for the positional information deposited of current touch screen firmware, then needs the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one; As detailed above.
Further, the system of described mobile terminal to update touch-screen firmware, wherein, described update process module also comprises:
Restart control module, for having problem when firmware self, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is in normal mode of operation; As detailed above.
In sum, the method and system of mobile terminal to update touch-screen firmware provided by the present invention, owing to have employed, the storer being used for storing firmware in touch-screen is divided into two regions, one for upgrading new firmware, another is for depositing old firmware, and in the central processing unit of mobile terminal, be provided with the state in mark (comprising two states: firmware starts to upgrade, and firmware is updated successfully) and two storage areas; Thus central processing unit identifies in firmware renewal process whether have power down when mobile terminal starts by mark, when there being power down, current touch maybe can be shielded the positional information that firmware deposits and sends to the controller of touch-screen to use old firmware by central processing unit, also can continue to upgrade new firmware.The present invention can ensure that touch-screen can normally use, and reduces the damage risk that firmware upgrades, provides users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. a method for mobile terminal to update touch-screen firmware, is characterized in that, comprises step:
A, in advance the storer being used for storing touch-screen firmware in mobile terminal is divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states;
B, when there being firmware to upgrade, download corresponding new firmware, and obtain the positional information that current touch screen firmware deposits, and obtain the second mark of expression two storage area status informations;
C, according to second of expression two storage area status informations the mark, determine firmware at which storage area upgrades, and start to upgrade new firmware;
D, mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware.
2. the method for mobile terminal to update touch-screen firmware according to claim 1, is characterized in that, the new firmware of the renewal in described step C specifically comprises:
C1, central processing unit send instruction to touch screen controller, are configured to by touch screen controller upgrade new firmware mode;
The new firmware obtained needs the target area upgraded to send to touch screen controller by C2, central processing unit, the memory area that touch screen controller configuration firmware is deposited;
C3, central processing unit arrange firmware to start to upgrade mark, and starts new firmware to send to touch screen controller, is updated in storer by touch screen controller by firmware;
C4, after touch-screen firmware upgrades, central processing unit upgrades the positional information that touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously;
C5, central processing unit send instruction to touch screen controller, and touch screen controller is configured to normal mode of operation.
3. the method for mobile terminal to update touch-screen firmware according to claim 1, it is characterized in that, described step D specifically comprises:
D1, mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark;
If D2 firmware starts to upgrade mark, then judge last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use;
D3, when receive user operational order select continue upgrade new firmware, then again upgrade new firmware;
D4, when receiving the old firmware of the operational order choice for use of user, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
4. the method for mobile terminal to update touch-screen firmware according to claim 1, it is characterized in that, described step C also comprises: if the positional information that current touch screen firmware is deposited is region one, then need the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one.
5. the method for mobile terminal to update touch-screen firmware according to claim 1, it is characterized in that, described step C also comprises:
When firmware self has problem, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is in normal mode of operation.
6. a system for mobile terminal to update touch-screen firmware, is characterized in that, comprising:
Pre-set module, in advance the storer being used for storing touch-screen firmware in mobile terminal being divided into two storage areas, one for upgrading new firmware, another is for depositing old firmware; And being provided with for identifying firmware is the first mark starting to upgrade or be updated successfully, and is provided with the second mark for identifying two storage area states;
Obtaining processing module, for when there being firmware to upgrade, downloading corresponding new firmware, and obtain the positional information deposited of current touch screen firmware, and second of acquisition expression two storage area status informations indicates;
Update process module, for the second mark according to expression two storage area status informations, determines firmware at which storage area upgrades, and starts to upgrade new firmware;
Restart control module, for mobile terminal next time starting up time, detecting the first mark is that firmware starts renewal mark or firmware is updated successfully mark, identify in firmware renewal process whether have power down by described first mark, when there being power down, prompting is selected current touch to shield the positional information that firmware deposits and is sent to the controller of touch-screen to use old firmware, or selects to continue to upgrade new firmware.
7. the system of mobile terminal to update touch-screen firmware according to claim 6, it is characterized in that, described update process module comprises:
First dispensing unit, sends instruction for controlling central processing unit to touch screen controller, is configured to by touch screen controller upgrade new firmware mode;
First transmitting element, the target area upgraded is needed to send to touch screen controller in the new firmware obtained for controlling central processing unit, the memory area that touch screen controller configuration firmware is deposited;
Upgrade control module, firmware is set starts to upgrade mark for controlling central processing unit, and start new firmware to send to touch screen controller, by touch screen controller, firmware is updated in storer;
Tag update unit, after upgrading when touch-screen firmware, controls the positional information that central processing unit renewal touch-screen firmware is deposited; Then firmware is set and is updated successfully mark, upgrade the positional information that touch-screen firmware is deposited simultaneously;
Second dispensing unit, sends instruction for controlling central processing unit to touch screen controller, touch screen controller is configured to normal mode of operation.
8. the system of mobile terminal to update touch-screen firmware according to claim 6, is characterized in that, described in restart control module and comprise:
Start detecting unit, for mobile terminal next time start time, detect the first mark be firmware start upgrade mark or firmware is updated successfully mark;
Tip element, if start to upgrade mark for firmware, then judges last to have occurred power down when upgrading new firmware, firmware upgrades unsuccessfully; And prompting is selected to continue to upgrade new firmware or the old firmware of choice for use;
Mode switch element, continues to upgrade new firmware for selecting when the operational order receiving user, then again upgrades new firmware; When the firmware that the operational order choice for use receiving user is old, then the positional information that current touch screen firmware is deposited is sent to the controller of touch-screen by central processing unit, controls to use old firmware.
9. the system of mobile terminal to update touch-screen firmware according to claim 7, it is characterized in that, described update process module also comprises:
Firmware upgrades control module, if be region one for the positional information deposited of current touch screen firmware, then needs the new firmware of touch-screen to be updated to region two; If the positional information that current touch screen firmware is deposited is region two, then need the new firmware of touch-screen to be updated to region one.
10. the system of mobile terminal to update touch-screen firmware according to claim 7, it is characterized in that, described update process module also comprises:
Restart control module, for having problem when firmware self, when causing being updated successfully, mobile terminal will crash, and select the mode of power-off to restart mobile terminal, and after mobile terminal is restarted, touch-screen acquiescence is in normal mode of operation.
CN201510103873.XA 2015-03-10 2015-03-10 Method and system for updating touch screen firmware of movable terminal Pending CN104765628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510103873.XA CN104765628A (en) 2015-03-10 2015-03-10 Method and system for updating touch screen firmware of movable terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510103873.XA CN104765628A (en) 2015-03-10 2015-03-10 Method and system for updating touch screen firmware of movable terminal

Publications (1)

Publication Number Publication Date
CN104765628A true CN104765628A (en) 2015-07-08

Family

ID=53647476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510103873.XA Pending CN104765628A (en) 2015-03-10 2015-03-10 Method and system for updating touch screen firmware of movable terminal

Country Status (1)

Country Link
CN (1) CN104765628A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159713A (en) * 2015-09-02 2015-12-16 Tcl移动通信科技(宁波)有限公司 Display screen firmware updating method and display screen firmware updating system
CN105354063A (en) * 2015-11-18 2016-02-24 上海联影医疗科技有限公司 Online program upgrading method and system
CN105549994A (en) * 2015-12-09 2016-05-04 惠州Tcl移动通信有限公司 Mobile terminal camera calibration parameter writing method and system and mobile terminal
CN105718324A (en) * 2016-01-13 2016-06-29 广东欧珀移动通信有限公司 Simulation testing method, apparatus and device for abnormal power-down of mobile terminal in upgrade process
CN105718281A (en) * 2015-07-29 2016-06-29 中科创达软件科技(深圳)有限公司 Touch screen firmware upgrading method and device
CN106980517A (en) * 2017-03-17 2017-07-25 杭州迪普科技股份有限公司 The method for down loading and device of a kind of firmware
CN109634781A (en) * 2018-12-06 2019-04-16 中国航空工业集团公司洛阳电光设备研究所 One kind is based on embedded program two-region Backup Images system and starting method
CN109656594A (en) * 2018-12-10 2019-04-19 惠州Tcl移动通信有限公司 Update method, device and the storage medium of mobile terminal system file
CN110209415A (en) * 2019-05-29 2019-09-06 惠州Tcl移动通信有限公司 Firmware method for refreshing, device and storage medium
CN111124966A (en) * 2019-11-12 2020-05-08 上海移远通信科技有限公司 Method and device for improving stability of module data
CN111143899A (en) * 2018-11-06 2020-05-12 中兴通讯股份有限公司 Method and device for storing data, storage medium and electronic device
CN112199238A (en) * 2020-10-16 2021-01-08 深圳佰维存储科技股份有限公司 Memory firmware updating method and device, storage medium and electronic equipment
CN112433739A (en) * 2020-11-11 2021-03-02 广州鲁邦通物联网科技有限公司 Firmware upgrading method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004691A (en) * 2007-01-23 2007-07-25 北京映翰通网络技术有限公司 Method and device for updating firmware program
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware
CN101770372A (en) * 2008-12-31 2010-07-07 亚旭电脑股份有限公司 Firmware update system, method and building method of firmware of firmware update system
CN102314369A (en) * 2011-10-09 2012-01-11 杭州先锋电子技术股份有限公司 Self-upgrade method for equipment in remote online monitoring system
CN102339227A (en) * 2010-07-28 2012-02-01 环旭电子股份有限公司 Multi-firmware embedded system and firmware update method thereof
US20120084508A1 (en) * 2010-10-04 2012-04-05 Ryo Suzuki Disk array apparatus and firmware update method therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004691A (en) * 2007-01-23 2007-07-25 北京映翰通网络技术有限公司 Method and device for updating firmware program
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware
CN101770372A (en) * 2008-12-31 2010-07-07 亚旭电脑股份有限公司 Firmware update system, method and building method of firmware of firmware update system
CN102339227A (en) * 2010-07-28 2012-02-01 环旭电子股份有限公司 Multi-firmware embedded system and firmware update method thereof
US20120084508A1 (en) * 2010-10-04 2012-04-05 Ryo Suzuki Disk array apparatus and firmware update method therefor
CN102314369A (en) * 2011-10-09 2012-01-11 杭州先锋电子技术股份有限公司 Self-upgrade method for equipment in remote online monitoring system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718281A (en) * 2015-07-29 2016-06-29 中科创达软件科技(深圳)有限公司 Touch screen firmware upgrading method and device
CN105718281B (en) * 2015-07-29 2019-04-12 中科创达软件科技(深圳)有限公司 A kind of touch screen firmware upgrade method and device
CN105159713A (en) * 2015-09-02 2015-12-16 Tcl移动通信科技(宁波)有限公司 Display screen firmware updating method and display screen firmware updating system
CN105354063A (en) * 2015-11-18 2016-02-24 上海联影医疗科技有限公司 Online program upgrading method and system
CN105354063B (en) * 2015-11-18 2019-01-15 上海联影医疗科技有限公司 Program on-line upgrading method and system
CN105549994A (en) * 2015-12-09 2016-05-04 惠州Tcl移动通信有限公司 Mobile terminal camera calibration parameter writing method and system and mobile terminal
CN105718324A (en) * 2016-01-13 2016-06-29 广东欧珀移动通信有限公司 Simulation testing method, apparatus and device for abnormal power-down of mobile terminal in upgrade process
CN106980517A (en) * 2017-03-17 2017-07-25 杭州迪普科技股份有限公司 The method for down loading and device of a kind of firmware
CN106980517B (en) * 2017-03-17 2020-10-09 杭州迪普科技股份有限公司 Firmware downloading method and device
CN111143899A (en) * 2018-11-06 2020-05-12 中兴通讯股份有限公司 Method and device for storing data, storage medium and electronic device
CN109634781A (en) * 2018-12-06 2019-04-16 中国航空工业集团公司洛阳电光设备研究所 One kind is based on embedded program two-region Backup Images system and starting method
CN109656594A (en) * 2018-12-10 2019-04-19 惠州Tcl移动通信有限公司 Update method, device and the storage medium of mobile terminal system file
CN110209415A (en) * 2019-05-29 2019-09-06 惠州Tcl移动通信有限公司 Firmware method for refreshing, device and storage medium
CN111124966A (en) * 2019-11-12 2020-05-08 上海移远通信科技有限公司 Method and device for improving stability of module data
CN111124966B (en) * 2019-11-12 2021-08-24 上海移远通信科技有限公司 Method and device for improving stability of module data
CN112199238A (en) * 2020-10-16 2021-01-08 深圳佰维存储科技股份有限公司 Memory firmware updating method and device, storage medium and electronic equipment
CN112199238B (en) * 2020-10-16 2024-05-28 深圳佰维存储科技股份有限公司 Memory firmware updating method and device, storage medium and electronic equipment
CN112433739A (en) * 2020-11-11 2021-03-02 广州鲁邦通物联网科技有限公司 Firmware upgrading method
CN112433739B (en) * 2020-11-11 2022-04-19 广州鲁邦通物联网科技股份有限公司 Firmware upgrading method

Similar Documents

Publication Publication Date Title
CN104765628A (en) Method and system for updating touch screen firmware of movable terminal
CN106802813A (en) Method, device and vehicle for aerial firmware upgrade
CN102646043B (en) Mobile terminal software upgrading method, update device and mobile terminal
CN105517015A (en) Upgrading method, device of wifi product by over the air OTA and terminal
CN102214106B (en) Automatic dual-system guide method of embedded device
CN104066077A (en) OTA downloading and upgrading method and device thereof
CN107589955B (en) Method and system for upgrading double-CMC (carboxy methyl cellulose) firmware version
CN106612192A (en) An equipment upgrading method, apparatus and system
CN102799484A (en) Method and device for running multiple operating systems by mobile terminal
CN105740023B (en) The method, apparatus and intelligent mobile terminal that program version retracts
CN109144532B (en) Upgrading method and device
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN104657161A (en) Method and device for updating firmware of mobile terminal
CN103731733B (en) A kind of version upgrading method and electronic equipment
JP2016143318A (en) Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program
CN103634665A (en) Version upgrading method and version upgrading device
CN103810010A (en) Information processing method and first electronic device terminal
CN103840968A (en) Version updating method, version updating device and terminal equipment
CN104572188A (en) System updating method and device for mobile equipment
CN104951348B (en) A kind of interruptable recovery upgrade method and device
CN103218221A (en) Control switching method and device of software interface
CN105263181A (en) WIFI-based file downloading method and WIFI-based file downloading system of mobile terminal
CN107396185B (en) Upgrading method and system
CN108388428A (en) Switch method, apparatus, electronic equipment and the storage medium of application software icon
CN104580360A (en) System and method for updating firmware through heterogeneous network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150708