CN101593123A - The curing of flash recordable plug-in component and terminal device - Google Patents
The curing of flash recordable plug-in component and terminal device Download PDFInfo
- Publication number
- CN101593123A CN101593123A CNA2009101401018A CN200910140101A CN101593123A CN 101593123 A CN101593123 A CN 101593123A CN A2009101401018 A CNA2009101401018 A CN A2009101401018A CN 200910140101 A CN200910140101 A CN 200910140101A CN 101593123 A CN101593123 A CN 101593123A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- plug
- flash
- component
- upgrade software
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of curing and terminal device of flash recordable plug-in component, this method comprises: terminal device and computing machine connect; Terminal device is loaded into flash recordable plug-in component in the random access memory in the terminal device according to the control of the upgrade software in the computing machine; Terminal device operation flash memory recordable plug-in component, and carry out data manipulation to flash memories according to the indication of upgrade software.By the present invention guaranteed aborning or keep in repair in convenience, operability and the security of upgrading terminals device version operation.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of curing and terminal device of flash recordable plug-in component.
Background technology
At present, the user sharply rises to the demand of portable terminal, and the competition in portable terminal market is also more and more fierce.In order to tackle mobile terminal device supply of material pressure, not only require constantly to shorten the R﹠D cycle, and the upgrade software speed that needs to improve mobile terminal device is with compatible, to satisfy the new demand that the client constantly proposes.
Upgrade software and terminal physical connection mode adopt serial device interfaces mostly or adopt USB (universal serial bus) (Universal Serial Bus, abbreviating USB as) jaws equipment interface and computing machine carry out data communication, based on this, the compatibility of upgrade software has become the key factor of restriction production cycle with success ratio.Because being used for the flash memories (Flash) of storing software version in the different terminal equipment is not quite similar; therefore; at different Flash; just need to use the plug-in unit of compatible its burning; require constantly upgrading Flash recordable plug-in component like this; present processing mode is the add-on file of bringing in constant renewal in the upgrade software; and the continual renovation upgrade software; can cause many constant; not only increase the research and development time; and production line artificially selects wrong employed upgrade software instrument through regular meeting when terminal flash is carried out updating operation; owing to use incorrect upgrading tool; may cause and to operate, also may refresh the Flash zone and make a mistake, cause terminal device to work the terminal flash that will upgrade.
Summary of the invention
May cause at correlation technique and can not operate the terminal flash that will upgrade, also may refresh the Flash zone makes a mistake, cause the problem that terminal device can't work and propose the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of curing scheme of flash recordable plug-in component, one of to address the above problem at least.
To achieve these goals, according to an aspect of the present invention, provide a kind of curing of flash recordable plug-in component.
Curing according to flash recordable plug-in component of the present invention comprises: terminal device and computing machine connect; Terminal device is loaded into flash recordable plug-in component in the random access memory in the terminal device according to the control of the upgrade software in the computing machine; Terminal device operation flash memory recordable plug-in component, and carry out data manipulation to flash memories according to the indication of upgrade software.
Preferably, before terminal device and computing machine connected, said method also comprised: set in advance the interface that terminal device and computing machine communicate, so that terminal device and computing machine connect by interface.
Preferably, interface comprises one of following: universal asynchronous reception/transmission, USB (universal serial bus), personal computer memory card association mouth.
Preferably, after terminal device and computing machine connected, said method also comprised: upgrade software is by the software version information of interface reading terminal equipment, and definite terminal device normally moves.
Preferably, before terminal device is loaded into flash recordable plug-in component in the random access memory according to the control of upgrade software, said method also comprises: upgrade software is to the terminal device transmitting control commands, wherein, control command is used for indicating terminal device to obtain the flash recordable plug-in component of depositing in advance from the assigned address of flash memories copying to the random access memory.
Preferably, terminal device operation flash memory recordable plug-in component, and the data manipulation of carrying out flash memories according to the indication of upgrade software comprises: flash recordable plug-in component and upgrade software communicate; Terminal device receives software version to be upgraded from upgrade software by flash recordable plug-in component, and software version to be upgraded is write in the flash memories.
Preferably, at terminal device operation flash memory recordable plug-in component, and after the data manipulation of indication execution to flash memories according to upgrade software, said method also comprises: terminal device receives the steering order from upgrade software, wherein, steering order is used to indicate terminal device to restart; Terminal device restarts according to steering order, so that finish escalation process.
Preferably, data manipulation comprises one of following at least: wipe, read, write.
To achieve these goals, according to a further aspect in the invention, provide a kind of terminal device.
Terminal device according to the present invention comprises: set up module, be used for connecting with computing machine; Load-on module is used for according to the control of the upgrade software of computing machine flash recordable plug-in component being loaded in the random access memory in the terminal device; The operation module is used for the operation flash memory recordable plug-in component; Execution module is used for carrying out data manipulation to flash memories according to the indication of upgrade software.
Preferably, above-mentioned terminal device also comprises: module is set, is used to set in advance the interface that terminal device and computing machine communicate, so that terminal device and computing machine connect by interface; Receiver module is used to receive the steering order from upgrade software, and wherein, steering order is used to indicate terminal device to restart; Restart module, be used for restarting, so that finish escalation process according to the steering order that receiver module receives.
By the present invention, terminal device according to the control of the upgrade software in the computing machine will solidify with Flash in flash recordable plug-in component be loaded in the random access memory in the terminal device, terminal device operation flash memory recordable plug-in component, and carry out data manipulation to flash memories according to the indication of upgrade software, having solved correlation technique may cause and can not operate the terminal flash that will upgrade, also may refresh the Flash zone makes a mistake, the problem that causes terminal device to work, and then under the prerequisite that does not change active computer and terminal physical connection, make terminal device have more compatibility and versatility, thereby guarantee aborning or the convenience of upgrading terminals device version operation in the maintenance, operability and security.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram according to the curing of the flash recordable plug-in component of the embodiment of the invention;
Fig. 2 is according to the computing machine of the embodiment of the invention and the synoptic diagram that is connected of terminal device;
Fig. 3 is the detail flowchart according to the curing of the flash recordable plug-in component of the embodiment of the invention;
Fig. 4 is the structured flowchart according to the terminal device of the embodiment of the invention;
Fig. 5 is the preferred structure block diagram according to the terminal device of the embodiment of the invention.
Embodiment
Functional overview
Consider that correlation technique may cause and to operate the terminal flash that will upgrade, also may refresh the Flash zone makes a mistake, the problem that causes terminal device to work, the embodiment of the invention provides a kind of curing scheme of flash recordable plug-in component, terminal device is loaded into random access memory (Read Access Memory in the terminal device according to the control command of the upgrade software in the computing machine with flash recordable plug-in component, abbreviate RAM as) in, terminal device operation flash memory recordable plug-in component, and carry out data manipulation among the Flash according to the indication of upgrade software, and then under the prerequisite that does not change active computer and terminal physical connection, make terminal device have more compatibility and versatility, thereby guarantee aborning or the convenience of upgrading terminals device version operation in the maintenance, operability and security.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Method embodiment
According to embodiments of the invention, provide a kind of curing of flash recordable plug-in component.
Fig. 1 is the process flow diagram according to the curing of the flash recordable plug-in component of the embodiment of the invention, and as shown in Figure 1, this method comprises that following step S102 is to step S106:
Step S102, terminal device and computing machine connect.
Step S104, terminal device is loaded into flash recordable plug-in component among the RAM in the terminal device according to the control of the upgrade software in the computing machine.
Step S106, terminal device operation flash memory recordable plug-in component, and carry out data manipulation to Flash according to the indication (instruction) of upgrade software.
By this embodiment, a kind of zone that flash recordable plug-in component is stored in appointment among the Flash is provided, and when the needs plug-in component operation, plug-in card program is loaded into the method for moving and cooperating among the RAM with upgrade software, this method has increased the compatibility of upgrading platform, this flash recordable plug-in component is cured to method for upgrading software in the terminal device, under the prerequisite that does not change active computer and terminal physical connection, make terminal device have more compatibility and versatility, thereby guarantee aborning or convenience, operability and the security of upgrading terminals device version operation in the maintenance.
Be described in detail below in conjunction with the implementation procedure of example the embodiment of the invention.
Fig. 2 is according to the computing machine of the embodiment of the invention and the synoptic diagram that is connected of terminal device, as shown in Figure 2, after terminal device 110 and computing machine 120 are communicated with by data line, upgrade software 121 can obtain computer port, and (serial ports/USB) 122 operation is weighed, and pass through computer port 122 to terminal device 110 transmission instructions, terminal device 110 is after receiving data, by central processing unit (Central Processing Unit, abbreviate CPU as) 101 can judge the legitimacy of order, resolve command then, the operation different according to command execution, and the result data are fed back to computer port 122 from data line, after computer port 122 receives feedback data, report upgrade software 121.
If it is to move the flash recordable plug-in component order that CPU 101 resolves the order that receives, can control from flash recordable plug-in component 103 reading of data, and the data order is stored among the RAM 104 goes, after the total data of flash recordable plug-in component 103 copies to RAM 104, CPU 101 can begin to carry out the code of the flash recordable plug-in component of storage among the RAM 104, and after this this module comes to communicate with computing machine 120.
Fig. 3 is the detail flowchart according to the curing of the flash recordable plug-in component of the embodiment of the invention, as shown in Figure 3, comprises the steps that S301 is to step S306:
Step S301, set in advance the interface that terminal device and computing machine communicate, promptly, formulated the mutual interface of download and upgrade software and terminal software, terminal device connects with computing machine (notebook) by the interface (serial or parallel device port) that is provided with, wherein, it is one of following that above-mentioned interface can comprise: universal asynchronous reception/transmission (UniversalAsynchronous Receiver/Transmitter, abbreviate UART as), USB, personal computer memory card association (Personal Computer Memory Card InternationalAssociation abbreviates PCMCIA as) mouth.
Step S302, upgrade software utilizes control and the management of super I/O (Super Input/Output abbreviates SIO as) module realization to serial device by the software version information of interface reading terminal equipment, each control module of initialization and administration module, determine that terminal device normally moves, that is, check whether each equipment is normal, if it is normal, then proceed to step S303,, then provide exception reporting if undesired.The mapping of when operation device port is set, then, checks whether serial communication is effective, for example, can be by obtaining the version number of equipment, version of display number checks whether serial communication is effective then.
Step S303, upgrade software be to the terminal device transmitting control commands, and wherein, control command is used for indicating terminal device to obtain the flash recordable plug-in component of depositing in advance from the assigned address of Flash duplicating (importing) to RAM.
Step S304, terminal device is after having loaded flash recordable plug-in component, the plug-in card program that brings into operation and deposit among the RAM by redirect, and communicate with upgrade software, that is, terminal device is after successfully copying to plug-in code (that is flash recordable plug-in component) among the RAM, personal computer (Personal Computer abbreviates PC as) pointer is jumped to burn recording software reference position among the RAM, and plug-in card program brings into operation.Particularly, the operation plug-in card program carries out alternately with edition upgrading instrument (that is, upgrade software), and carries out various data manipulations to Flash, for example: wipe, read, write etc.
Step S305, upgrade software and terminal are carried out alternately, promptly, upgrade software is communicated by letter with flash recordable plug-in component, software version to be upgraded is transferred to terminal device according to specified format, writes Flash through flash recordable plug-in component, then, terminal device receives software version to be upgraded from upgrade software by flash recordable plug-in component, and software version to be upgraded is write among the Flash.
Step S306, after all versions all successfully write Flash, the upgrade software sending controling instruction restarts terminal device, that is, terminal device receives the steering order from upgrade software, wherein, steering order is used to indicate terminal device to restart, terminal device restarts according to steering order, and the data manipulation success finishes whole upgrade process.
Device embodiment
According to embodiments of the invention, provide a kind of terminal device.Fig. 4 is the structured flowchart according to the terminal device of the embodiment of the invention, and as shown in Figure 4, this terminal device comprises: set up module 42, and load-on module 44, operation module 46, execution module 48 is described said structure below.
Set up module 42, be used for connecting with computing machine; Load-on module 44 is connected to and sets up module 42, is used for setting up after module 42 connects with computing machine, according to the control of the upgrade software in the computing machine flash recordable plug-in component is loaded among the RAM in the terminal device; Operation module 46 is connected to load-on module 44, is used for after load-on module 44 is finished loading the operation flash memory recordable plug-in component; Execution module 48 is connected to operation module 46, is used for after operation module 46 operation flash memory recordable plug-in components, carries out data manipulation to Flash according to the indication of upgrade software.
Fig. 5 is the preferred structure block diagram according to the terminal device of the embodiment of the invention, and as shown in Figure 5, preferably, this terminal device also comprises: module 52 is set, and receiver module 54 restarts module 56, below said structure is described.
Module 52 is set, is connected to and sets up module 42, be used to set in advance the interface that terminal device and computing machine communicate, connect by interface and computing machine so that set up module 42; Receiver module 54 is used to receive the steering order from upgrade software, and wherein, steering order is used to indicate terminal device to restart; Restart module 56, be connected to receiver module 54, be used for restarting, so that finish escalation process according to the steering order that receiver module 54 receives.
In sum, pass through embodiments of the invention, the terminal device software version upgrading method that provides, the download and upgrade software that makes original a kind of model becomes the terminal device that uses the compatible multiple model kinds of platform of a kind of upgrade software to use different Flash corresponding to a kind of end product of model, terminal device is loaded into flash recordable plug-in component in the random access memory in the terminal device according to the control of the upgrade software in the computing machine, terminal device operation flash memory recordable plug-in component, and carry out data manipulation to flash memories according to the indication of upgrade software, the download and upgrade software that makes original a kind of model becomes the terminal device that uses the compatible multiple model kinds of platform of a kind of upgrade software to use different Flash corresponding to a kind of end product of model, having solved correlation technique may cause and can not operate the terminal flash that will upgrade, also may refresh the Flash zone makes a mistake, cause terminal device can't work and the problem of software compatibility difference, and then under the prerequisite that does not change active computer and terminal physical connection, make terminal device have more compatibility and versatility, thereby guarantee aborning or the convenience of upgrading terminals device version operation in the maintenance, operability and security.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the curing of a flash recordable plug-in component is characterized in that, comprising:
Terminal device and computing machine connect;
Described terminal device is loaded into flash recordable plug-in component in the random access memory in the described terminal device according to the control of the upgrade software in the described computing machine;
Described terminal device moves described flash recordable plug-in component, and carries out data manipulation to flash memories according to the indication of described upgrade software.
2. method according to claim 1 is characterized in that, before described terminal device and described computing machine connected, described method also comprised:
Set in advance the interface that described terminal device and described computing machine communicate, so that described terminal device and described computing machine connect by described interface.
3. method according to claim 2 is characterized in that, it is one of following that described interface comprises:
Universal asynchronous reception/transmission, USB (universal serial bus), personal computer memory card association mouth.
4. method according to claim 2 is characterized in that, after described terminal device and described computing machine connected, described method also comprised:
Described upgrade software reads the software version information of described terminal device by described interface, and determines that described terminal device normally moves.
5. method according to claim 1 is characterized in that, before described terminal device was loaded into described flash recordable plug-in component in the described random access memory according to the control of described upgrade software, described method also comprised:
Described upgrade software is to described terminal device transmitting control commands, and wherein, described control command is used for indicating described terminal device to obtain the flash recordable plug-in component of depositing in advance from the assigned address of flash memories copying to the described random access memory.
6. method according to claim 1 is characterized in that described terminal device moves described flash recordable plug-in component, and the data manipulation of carrying out flash memories according to the indication of described upgrade software comprises:
Described flash recordable plug-in component and described upgrade software communicate;
Described terminal device passes through the to be upgraded software version of described flash recordable plug-in component reception from described upgrade software, and described software version to be upgraded is write in the described flash memories.
7. method according to claim 1 is characterized in that, moves described flash recordable plug-in component at described terminal device, and after the data manipulation of indication execution to flash memories according to described upgrade software, described method also comprises:
Described terminal device receives the steering order from described upgrade software, and wherein, described steering order is used to indicate described terminal device to restart;
Described terminal device restarts according to described steering order, so that finish escalation process.
8. according to each described method in the claim 1 to 7, it is characterized in that it is one of following that described data manipulation comprises at least:
Wipe, read, write.
9. a terminal device is characterized in that, comprising:
Set up module, be used for connecting with computing machine;
Load-on module is used for according to the control of the upgrade software of described computing machine flash recordable plug-in component being loaded in the random access memory in the described terminal device;
The operation module is used to move described flash recordable plug-in component;
Execution module is used for carrying out data manipulation to flash memories according to the indication of described upgrade software.
10. terminal device according to claim 9 is characterized in that, also comprises:
Module is set, is used to set in advance the interface that described terminal device and described computing machine communicate, so that described terminal device and described computing machine connect by described interface;
Receiver module is used to receive the steering order from described upgrade software, and wherein, described steering order is used to indicate described terminal device to restart;
Restart module, be used for restarting, so that finish escalation process according to the described steering order that described receiver module receives.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101401018A CN101593123A (en) | 2009-06-30 | 2009-06-30 | The curing of flash recordable plug-in component and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101401018A CN101593123A (en) | 2009-06-30 | 2009-06-30 | The curing of flash recordable plug-in component and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101593123A true CN101593123A (en) | 2009-12-02 |
Family
ID=41407793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009101401018A Pending CN101593123A (en) | 2009-06-30 | 2009-06-30 | The curing of flash recordable plug-in component and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101593123A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102411818A (en) * | 2011-10-26 | 2012-04-11 | 福建联迪商用设备有限公司 | Payment terminal and initialization method thereof |
CN102594974A (en) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | Device and method for upgrading wireless communication terminal software |
WO2013185724A2 (en) * | 2013-04-02 | 2013-12-19 | 中兴通讯股份有限公司 | Mobile terminal and software upgrade method thereof |
CN106293859A (en) * | 2016-09-22 | 2017-01-04 | 珠海格力电器股份有限公司 | Software upgrading or burning method, device and system based on controller |
CN111338680A (en) * | 2018-12-18 | 2020-06-26 | 深圳市优必选科技有限公司 | Firmware upgrading method and device for slave station and terminal |
-
2009
- 2009-06-30 CN CNA2009101401018A patent/CN101593123A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594974A (en) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | Device and method for upgrading wireless communication terminal software |
CN102411818A (en) * | 2011-10-26 | 2012-04-11 | 福建联迪商用设备有限公司 | Payment terminal and initialization method thereof |
CN102411818B (en) * | 2011-10-26 | 2014-03-26 | 福建联迪商用设备有限公司 | Payment terminal initialization method |
WO2013185724A2 (en) * | 2013-04-02 | 2013-12-19 | 中兴通讯股份有限公司 | Mobile terminal and software upgrade method thereof |
WO2013185724A3 (en) * | 2013-04-02 | 2014-02-20 | 中兴通讯股份有限公司 | Mobile terminal and software upgrade method thereof |
CN104102499A (en) * | 2013-04-02 | 2014-10-15 | 中兴通讯股份有限公司 | Mobile terminal and mobile terminal software upgrading method |
CN106293859A (en) * | 2016-09-22 | 2017-01-04 | 珠海格力电器股份有限公司 | Software upgrading or burning method, device and system based on controller |
CN111338680A (en) * | 2018-12-18 | 2020-06-26 | 深圳市优必选科技有限公司 | Firmware upgrading method and device for slave station and terminal |
CN111338680B (en) * | 2018-12-18 | 2024-04-19 | 深圳市优必选科技有限公司 | Firmware upgrading method, firmware upgrading device and terminal of slave station |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103309709B (en) | A kind of firmware upgrade method, device and communication equipment | |
CN100383737C (en) | SCM online loading and updating method and system | |
CN101699402B (en) | Multi-mode startup embedded system | |
CN101689116A (en) | System and method for updating device drivers | |
CN101330399A (en) | Method for upgrading built-in equipment | |
CN101251819A (en) | Debug method suitable for multi-processor core system chip | |
CN101454746A (en) | Method for communication with a multi-function memory card | |
CN101593123A (en) | The curing of flash recordable plug-in component and terminal device | |
CN207995406U (en) | A kind of system that parameter configuration is carried out based on NFC communication module | |
CN110837387B (en) | Portable power source leasing system, automatic revenue collecting system and updating method thereof | |
CN101169729A (en) | Embedded type system and method for renewing application program | |
CN101359303A (en) | On-line debugging microcontroller and apparatus and debug method of external device thereof | |
CN103092648B (en) | A kind of image upgrade method, system and subscriber equipment and personal computer | |
CN111756858B (en) | Remote development processing system, method and device for embedded equipment | |
CN104035757A (en) | MIPS-based (microprocessor without interlocked piped stages-based) U-boot (universal boot loader) transplantation implementing method | |
CN110888656B (en) | Multifunctional programming device and programming method | |
CN113360161B (en) | Resource upgrading method and related products | |
CN111562436B (en) | Equipment driving method and device of double-core intelligent electric meter | |
CN109313761B (en) | Selecting applications on a card | |
CN101882110A (en) | Method for downloading data and terminal equipment | |
CN100416512C (en) | Embedded apparatus debugging method and debugging tool therefor | |
CN109408081A (en) | Data transmission method and communication system | |
CN110134423B (en) | Firmware updating method and device and computer readable storage medium | |
CN107992379A (en) | A kind of method, mobile terminal and computer-readable medium for reading data message | |
CN106775904A (en) | A kind of program burn writing system and method for microcontroller built-in type system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20091202 |