CN102117215A - Electronic dictionary terminal updating system and updating method thereof - Google Patents
Electronic dictionary terminal updating system and updating method thereof Download PDFInfo
- Publication number
- CN102117215A CN102117215A CN2010101993437A CN201010199343A CN102117215A CN 102117215 A CN102117215 A CN 102117215A CN 2010101993437 A CN2010101993437 A CN 2010101993437A CN 201010199343 A CN201010199343 A CN 201010199343A CN 102117215 A CN102117215 A CN 102117215A
- Authority
- CN
- China
- Prior art keywords
- mentioned
- file data
- electronic dictionary
- version information
- terminal
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to an electronic dictionary terminal updating system and an updating method thereof. The updating method comprises a first step, a second step, a third step, a fourth step and a fifth step. In the first step, the communication terminal receives encrypted files from an update server via a communication network. In the second step, the communication terminal reads the storage paths of the file data from the integrated header. In the third step, the communication terminal reads the file version information of the file data by utilizing the individual header of the file data. In the fourth step, the communication terminal transmits the storage paths to the electronic dictionary terminal and receives the file version information of the file data in the hidden partition of the same storage path. In the fifth step, when there is at least one file data with the file version information thereof is higher than that of the stored file data, the communication terminal transmits the version information of the file data to the hidden partition of the electronic dictionary terminal.
Description
Technical field
The present invention relates to the renewal technology of electronic dictionary terminal, more specifically, relate to and utilize hidden partition to come the file data as electronic dictionary data is separated electronic dictionary terminal updating system and the update method of upgrading with this.
Background technology
For obtaining the dictinary informations such as definition of particular term, can retrieve the online webserver (web sever) of electronic dictionary service that provides, perhaps, the data that are stored in the electronic dictionary terminal are retrieved.That is, the user has been when having found to be ignorant of or during unfamiliar term, by connect online service or to the electronic dictionary terminal that stores the electronic dictionary file request of sending definition is retrieved, thereby understand fully this definition.
Yet online electronic dictionary service or electronic dictionary terminal provide the definition of term to have limitation.Because also coinage may occur, so should regularly upgrade by the service provider.
Especially, with regard to the electronic dictionary terminal, except above-mentioned because of occurring the renewal that coinage carries out, also need be in order to improve the wrong of the electronic dictionary file self that is stored in the electronic dictionary terminal or to improve the system performance of electronic dictionary terminal and increase its function etc. and upgrade at any time.So, at the electronic dictionary terminal, research and develop out the technology that is used to upgrade the electronic dictionary file in the electronic dictionary terminal require increasing.
Summary of the invention
The present invention proposes in order to address the above problem, its purpose is the electronic dictionary terminal updating system and the update method that provide following: in above-mentioned electronic dictionary terminal updating system and update method, transmit the encrypt file of encrypting to communication terminal from the update service device, so when upgrading the electronic dictionary terminal that is connected with communication terminal, the file data as the electronic dictionary data that is used to upgrade can not transmitted with revealing to the file data that is used to upgrade.
If according to another embodiment of the invention, the present invention also aims to the electronic dictionary terminal updating system and the update method that provide following, in above-mentioned electronic dictionary terminal updating system and update method, file data that the utilization of electronic dictionary terminal was encrypted and USB vendor class pattern (Vendorclass mode), optionally only the file data relevant with electronic dictionary data in the hidden partition upgraded, thereby the download that can alleviate the update service device is loaded.
If according to another embodiment of the invention, then the object of the present invention is to provide following electronic dictionary terminal updating system and update method, in above-mentioned electronic dictionary terminal updating system and update method, between electronic dictionary terminal and communication terminal, use USB interface, so the file data of transmission of large capacity rapidly, and can prevent the data mess code phenomenon that the low-voltage battery state because of the electronic dictionary terminal is caused in advance.
If according to another embodiment of the invention, then the object of the present invention is to provide following electronic dictionary terminal updating system and update method, in above-mentioned electronic dictionary terminal updating system and update method, the electronic dictionary terminal is used the USB vendor class, so can strengthen the safety management as the file data of electronic dictionary data.
The electronic dictionary terminal updating method that is used to realize the embodiment of the invention of above-mentioned purpose is characterised in that, comprise: first step, communication terminal receives the encrypt file of specified format in advance via communication network from the update service device, and above-mentioned encrypt file is separated into whole header and at least 1 file data; Second step, above-mentioned communication terminal read each store path of above-mentioned each file data of each file data when the electronic dictionary terminal transmission that will be equivalent to above-mentioned at least 1 file data from above-mentioned whole header; Third step, above-mentioned communication terminal utilize indivedual headers of above-mentioned each file data to read the version information of above-mentioned each file data; The 4th step, above-mentioned communication terminal transfers to the above-mentioned electronic dictionary terminal with above-mentioned each store path that is read, and receives the version information have the store path identical with above-mentioned each store path and to be stored in the file data the hidden partition of above-mentioned electronic dictionary terminal from the above-mentioned electronic dictionary terminal; And the 5th step, if separating the file data that generates from above-mentioned encrypt file, version information is than existing 1 at least with the higher file data of above-mentioned each store path corresponding file data in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal, and the file data that then above-mentioned communication terminal is high with above-mentioned version information transfers to the hidden partition of above-mentioned electronic dictionary terminal.
As above-mentioned electronic dictionary terminal updating method according to other embodiments of the present invention, it is characterized in that the encrypt file of above-mentioned specified format in advance is the file of expansion HEX by name.
As above-mentioned electronic dictionary terminal updating method according to other embodiments of the present invention, it is characterized in that, store path be the complete path name form that constitutes by folder path and filename the path.
As above-mentioned electronic dictionary terminal updating method according to other embodiments of the present invention, it is characterized in that, above-mentioned the 5th step comprises: deletion step, the deletion of above-mentioned communication terminal have been stored in corresponding with above-mentioned each store path in the hidden partition of above-mentioned electronic dictionary terminal and file data that version information is low; Generate step, above-mentioned communication terminal generates the file data of the store path with above-mentioned complete path name form; And transmitting step, above-mentioned communication terminal with above-mentioned each store path corresponding file data higher above-mentioned file data transfers to the hidden partition of above-mentioned electronic dictionary terminal than being stored in the above-mentioned hidden partition with version information.
As above-mentioned electronic dictionary terminal updating method according to other embodiments of the present invention, it is characterized in that above-mentioned third step comprises: the starting position read step, above-mentioned communication terminal is from starting position that above-mentioned whole header reads above-mentioned each file data; And the version information read step, above-mentioned communication terminal utilizes above-mentioned starting position to come above-mentioned each file data is deciphered processing, and reads the version information that above-mentioned indivedual header comprises.
Electronic dictionary terminal updating method according to other embodiments of the present invention is characterised in that, first step, and the electronic dictionary terminal receives store path and the version information that has been stored at least 1 file data the hidden partition from communication terminal; Second step, above-mentioned electronic dictionary terminal utilize above-mentioned store path to read the version information of each file data of above-mentioned at least 1 file data that is equivalent to store, and transfer to above-mentioned communication terminal; And third step, the above-mentioned electronic dictionary terminal receives version information at least 1 file data higher than the version information of above-mentioned each file data from above-mentioned communication terminal, and is stored in the above-mentioned hidden partition.
As above-mentioned electronic dictionary terminal updating method according to other embodiments of the present invention, it is characterized in that, in above-mentioned third step, separate at least 1 file data that is generated if be judged as at the encrypt file that above-mentioned communication terminal is received from the update service device, at least there is 1 in version information with the higher file data of above-mentioned each store path corresponding file data than being stored in the above-mentioned hidden partition, then the above-mentioned electronic dictionary terminal receives the high file data of above-mentioned version information from above-mentioned communication terminal, and is stored in the above-mentioned hidden partition.
Electronic dictionary terminal updating method according to other embodiments of the present invention is characterised in that, before above-mentioned first step, also comprise switch step, draw together in the switch step at this, the above-mentioned electronic dictionary terminal switches to USB vendor class pattern in order to be connected with above-mentioned communication terminal realization USB each other.
Electronic dictionary terminal updating system according to the embodiment of the invention comprises communication terminal and electronic dictionary terminal, it is characterized in that, above-mentioned communication terminal has first input/output module and first update module; Above-mentioned first input/output module receives the encrypt file of specified format in advance via communication network from the update service device; Above-mentioned first update module, above-mentioned encrypt file is separated into whole header and at least 1 file data, and read each store path of above-mentioned each file data of each file data when the electronic dictionary terminal transmission that to be equivalent to above-mentioned at least 1 file data from above-mentioned whole header, utilize indivedual headers of above-mentioned each file data to read the version information of above-mentioned each file data, above-mentioned each store path that is read is transferred to the above-mentioned electronic dictionary terminal, and receive the version information have the store path identical and to be stored in the file data the hidden partition of above-mentioned electronic dictionary terminal with above-mentioned each store path from the above-mentioned electronic dictionary terminal, if separating the file data that generates from above-mentioned encrypt file, version information is than existing 1 at least with the higher file data of above-mentioned each store path corresponding file data in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal, and then that above-mentioned version information is high file data transfers to the hidden partition of above-mentioned electronic dictionary terminal.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that the encrypt file of above-mentioned specified format in advance is the file of expansion HEX by name.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that above-mentioned store path is the path of the complete path name form that is made of folder path and filename.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that, above-mentioned first update module, delete and the deletion version information low file data corresponding in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal with above-mentioned each store path, utilize above-mentioned complete path name to generate the file data of store path with above-mentioned complete path name form, then, version information is transferred to the hidden partition of above-mentioned electronic dictionary terminal with the higher above-mentioned file data of above-mentioned each store path corresponding file data than being stored in the above-mentioned hidden partition.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that, above-mentioned first update module is from starting position that above-mentioned whole header reads above-mentioned each file data, utilize above-mentioned starting position to come above-mentioned each file data is deciphered processing, and read the version information that above-mentioned indivedual header comprises.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that the above-mentioned electronic dictionary terminal comprises first input/output module; This first input/output module switches to USB vendor class pattern in order to be connected with above-mentioned communication terminal realization USB each other.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that the above-mentioned electronic dictionary terminal also comprises second update module; This second update module, receive store path and the version information that has been stored at least 1 file data the above-mentioned hidden partition from above-mentioned communication terminal, utilize above-mentioned store path to read to be stored in the version information of each file data that is equivalent at least 1 file data in the above-mentioned hidden partition, and transfer to above-mentioned communication terminal, receive the version information ratio from above-mentioned communication terminal and be stored at least one higher file data of version information of each file data the above-mentioned hidden partition, and be stored in the above-mentioned hidden partition.
As above-mentioned electronic dictionary terminal updating system according to other embodiments of the present invention, it is characterized in that, if above-mentioned communication terminal is judged as at least each file data of 1 file data that is equivalent to generate from specific encrypt file separation, there is 1 in version information at least than the higher file data of the version information with above-mentioned each store path corresponding file data that has been stored in the above-mentioned hidden partition, then above-mentioned second update module receives the high file data of above-mentioned version information from above-mentioned communication terminal, and be stored in the above-mentioned hidden partition, above-mentioned specific encrypt file is meant, the encrypt file that above-mentioned communication terminal receives from the update service device.
In electronic dictionary terminal updating system and update method according to the embodiment of the invention, transmit the encrypt file of encrypting to communication terminal from the update service device, so can obtain following effect: when the electronic dictionary terminal that is connected with communication terminal is upgraded, the file data as the electronic dictionary data that is used to upgrade can not transmitted with revealing to the file data that is used to upgrade.
In electronic dictionary terminal updating system and update method according to other embodiments of the present invention, file data that the utilization of electronic dictionary terminal was encrypted and USB vendor class pattern, optionally only the file data relevant with electronic dictionary data in the hidden partition upgraded, thereby can obtain following effect: the download load that can alleviate the update service device.
In electronic dictionary terminal updating system and update method according to another embodiment of the invention, between electronic dictionary terminal and communication terminal, use USB interface, so can obtain following effect: the file data of transmission of large capacity rapidly, and can prevent the data mess code phenomenon that the low-voltage battery state because of the electronic dictionary terminal is caused in advance.
In electronic dictionary terminal updating system and update method according to another embodiment of the invention, the electronic dictionary terminal is used the USB vendor class, so can obtain following effect: can strengthen measuring management fully as the file data of electronic dictionary data.
Description of drawings
Fig. 1 shows the electronic dictionary terminal updating system schematic of the embodiment of the invention.
Fig. 2 shows the block diagram of structure of the communication terminal of Fig. 1.
Fig. 3 shows the structural form synoptic diagram of the encrypt file of the embodiment of the invention.
Fig. 4 shows the block diagram of structure of the electronic dictionary terminal of Fig. 1.
Fig. 5 shows the process flow diagram of the step of being carried out by communication terminal in the electronic dictionary terminal updating method of the embodiment of the invention.
Fig. 6 shows the process flow diagram of the step of being carried out by the electronic dictionary terminal in the electronic dictionary terminal updating method of the embodiment of the invention.
The explanation of Reference numeral
100: communication terminal 110: send acceptance division
150: the first control parts of 130: the first interfaces
153: the first update module of 151: the first input/output modules
330: the second control parts of 310: the second interfaces
331: the second input/output module 331a:USB vendor class patterns
331b:USB high capacity memory module (USB Mass Storage Mode)
353: user partition 500: communication network
700: the update service device
Embodiment
Below, with reference to accompanying drawing, embodiments of the invention are elaborated.
Fig. 1 shows the figure of the electronic dictionary terminal updating system of the embodiment of the invention.With reference to Fig. 1, electronic dictionary terminal updating system can comprise communication terminal 100, electronic dictionary terminal 300, communication network 500 and update service device 700.
If communication terminal 100 receives the encrypt file of specified format in advance, then connect electronic dictionary terminal 300.At this, the setting of USB vendor class pattern (with reference to Fig. 4) 331a that communication terminal 100 and electronic dictionary terminal 300 can be by electronic dictionary terminals 300 is connected.
Like this, receive in advance the encrypt file of specified format and these two kinds of conditions that are connected with electronic dictionary terminal 300 as long as satisfy, then communication terminal 100 just enters for the standby condition to electronic dictionary terminal 300 transmission encrypt files.
On the other hand, in this manual, for convenience of explanation, suppose to be stored in each file data in the hidden partition 351, be and the file data that receives and carried out each file data one to one coupling of decoding processing from update service device 700.
Thus, whether communication terminal 100 version information of judging each file data that receives from update service device 700 exists 1 at least than the higher file data of version information of each file data the hidden partition 351 that has been stored in electronic dictionary terminal 300.Under the high situation of file data existence more than 1 of version information, judge the file of corresponding file data for needing to upgrade, file data and store path thereof that communication terminal 100 is high with version information transfer to electronic dictionary terminal 300.Electronic dictionary terminal 300 is upgraded processing, low file data and the high data of storage version information of deletion version information.
Fig. 2 shows the block diagram of structure of the communication terminal 100 of Fig. 1.See figures.1.and.2, communication terminal 100 comprises transmission acceptance division 110, first interface 130, first control part 150 and first storage part 170.
Send acceptance division 110 and carry out the transmitting-receiving of data in wired or wireless mode via communication network 500 and update service device 700.And, send acceptance division 110 and receive the encrypt file of specified format in advance and transfer to first control part 150 from update service device 700 via communication network 500.
First input/output module 151 is waited for by sending acceptance division 110 and is received the encrypt file of specified format in advance from update service device 700.As 1 embodiment, specified format can be the file that extension name is made of HEX in advance.That is, filename can have the title as XXX.HEX.On the other hand, the form of the encrypt file of specified format is as shown in Figure 3 in advance.
If first input/output module 151 receives the encrypt file of specified format in advance, then control communication terminal 100 and be connected with electronic dictionary terminal 300 by first interface 130.At this, communication terminal 100 can be connected by USB vendor class pattern (the USB Vendor Class Mode) 331a of electronic dictionary terminal 300 with electronic dictionary terminal 300.
As long as satisfy these two kinds of conditions that receive encrypt file and be connected with electronic dictionary terminal 300, then first input/output module 151 enters for the standby condition to electronic dictionary terminal 300 transmission encrypt files, and controls first interface 130 to electronic dictionary terminal 300 transmission transmission sign ons.
Then, first update module 153 reads the starting position with each file data corresponding file data from whole header.For example, as shown in Figure 3, if file data is 3, then the starting position of file data can mean the beginning side-play amount at first file data, second file data and the 3rd file data place.
153 judgements of first update module are receiving from update service device 700 and are carrying out deciphering whether have the version information higher file data of version information than each file data in the hidden partition 351 that has been stored in electronic dictionary terminal 300 each file data of handling.In judged result is that the high file data of version information exists under 1 the situation at least, controls the hidden partition 351 of first interface, 130 contact electronic dictionary terminals 300 and deletes the low file data of version information.Under these circumstances, update module 153 controls first interface 130 is transmitted in the store path that needs the file data of renewal in each file data of having stored in the hidden partition 351 of electronic dictionary terminal 300 to electronic dictionary terminal 300, and the delete instruction that is used to indicate the low file data of deletion version information.
Then, first update module, 153 control first interfaces 130 file data that version information is high transfers to the hidden partition 351 of electronic dictionary terminal 300 successively.
Among the present invention, the step of deletion, generation and the transmission of such file data is called step of updating of the present invention.When upgrading, update module 153 is that the file data that will decipher after handling by first input/output module 151 is that unit transmits under the USB of electronic dictionary terminal 300 vendor class mode 3 31a with 512Byte to the file data transmission of electronic dictionary terminal 300.
On the other hand, first update module 153 is under the situation of the end of transmission (EOT) of the high file data of each version information of electronic dictionary terminal 300, controls first interface 130 and will write END instruction and transfer to electronic dictionary terminal 300.
When the end of transmission (EOT) of 1 high file data of version information, first update module 153 judges whether that all the high file data of all version informations transfers to the hidden partition of electronic dictionary terminal 300.
Fig. 4 shows the block diagram of structure of the electronic dictionary terminal 300 of Fig. 1.Referring to figs. 1 through Fig. 4, electronic dictionary terminal 300 has second interface 310, second control part 330 and second storage part 350.
If switch to USB vendor class mode 3 31a, then second input/output module, 331 controls, second interface 310 makes electronic dictionary terminal 300 be connected with communication terminal 100.
That is, second input/output module 331 is in order to be connected with communication terminal 100 via usb 1 10 and 310 each other and to switch to USB vendor class mode 3 31a.More particularly, the USB connection mode supported of second input/output module 331 comprises: synchronously receive the USB vendor class mode 3 31a of the file data that is used to upgrade with communication terminal 100; And, receive USB high capacity memory module (USB Mass Storage Class Mode) 331b with the relevant multimedia file data of displacement disc.
In the present invention, adopt USB vendor class mode 3 31a, thus can make the user under the situation of the information leakage that does not have file data, visit hidden partition come the execute file data deletion, action such as store and read.Owing to can between electronic dictionary terminal 300 and communication terminal 100, realize high speed data transfer by usb mode, so can finish the renewal of file data at short notice.And, if according to the present invention, then adopt USB interface power supply (+5V), so can prevent the data mess code phenomenon that the low-voltage battery state because of electronic dictionary terminal 300 is caused in advance.
Second input/output module 331 is controlled second interface 310 in response to the transmission of 100 pairs of transmission of communication terminal sign on and is received the transmission sign on, and enters accepting state in response to receiving the transmission sign on.
Second update module, 333 controls, second interface 310 receives store path and the version information instruction that has been stored in each file data the hidden partition 351 from communication terminal 100.
Second update module, 333 controls, second interface 310 utilizes the store path that is received to read the version information that is stored in each file data in the hidden partition 351, and transfers to communication terminal 100.More particularly, in response to store path that receives the complete path name form from communication terminal 100 and version information instruction, 333 search of second update module are stored in each file data with complete path name in the hidden partition 351, then, controlling second interface 310 data that open file reads the version information that indivedual header comprises and transfers to communication terminal 100.
On the other hand, second update module 333 can control second interface 310 carry out repeatedly to the version information that is stored in each file data in the hidden partition 351 read and to the transmission of communication terminal 100, till the end of transmission (EOT) of 100 pairs of version informations instructions of communication terminal.
When communication terminal 100 transmission had been stored in the version information of each file data in the hidden partition 351, the performed action of communication terminal 100 is as follows: communication terminal 100 judged whether exist version information than at least 1 the higher file data of version information that has been stored in each file data in the hidden partition 351 each file data that receives from update service device 700 in second update module 333.If the file data that version information is high exists more than one, then communication terminal 100 is judged the file of corresponding file data for needing to upgrade, to the store path and the delete instruction of the high file data of electronic dictionary terminal 300 transmission version informations.
At this, second update module 333 is if receive the routing information and the delete instruction of complete path name form from communication terminal 100, and then search is stored in having the low file data of complete path name and version information and delete in the hidden partition 351.Result when on the other hand, second update module 333 can be controlled second interface 310 with the deleted file data (whether makeing mistakes during deletion etc.) transfers to communication terminal 100.
On the other hand, second update module 333 can be carried out search and the deletion to the low file data of version information repeatedly, till the end of transmission (EOT) of 100 pairs of delete instructions of communication terminal.
After having deleted corresponding file data, second update module 333 is in response to the store path that receives the file data that version information is high in each file data of having stored from communication terminal 100 hidden partition 351 and write sign on, utilize the store path of the high file data of version information, in hidden partition 351, generate file data with complete path name.More particularly, second update module 333 then generates the file data with complete path name if receive the routing information of complete path name form and write sign on from communication terminal 100 in hidden partition 351.At this moment, the file data that is generated is meant, is judged as the high file data of version information by communication terminal 100.
Second update module, 333 controls, second interface 310 receives the high file data of version information from communication terminal 100.At this, second update module 333 is that unit receives the high file data of version information and is stored in the hidden partition 351 with 512Byte from communication terminal 100.Under these circumstances, the file data that the version information that receives from communication terminal 100 is high is meant, carried out file data after decoding is handled by 151 pairs of encrypt files of first input/output module of electronic dictionary terminal 300.
Whether second update module 333 is confirmed to receive via second interface 310 from communication terminal 100 to write END instruction.At this, write END instruction, be the instruction that the transmission of 1 file data being used to represent that 100 pairs of version informations of communication terminal are high has finished.
Then, second update module 333 confirms whether receive the file interrupt instruction, and this document interrupt instruction is the reception release that is used to represent to the high All Files data of version information.At this, the file interrupt instruction is the instruction of the transmission release of the All Files data that are used to represent that 100 pairs of version informations of communication terminal are high.
Fig. 5 shows in the electronic dictionary terminal updating method of the embodiment of the invention process flow diagram by the performed step of communication terminal 100.Referring to figs. 1 through Fig. 5, communication terminal 100 is waited for and is received the encrypt file of specified format (S1) in advance via communication network 500 from update service device 700.As 1 embodiment, specified format is the file that extension name is made of HEX in advance, can have the filename as XXX.HEX.
The encrypt file of specified format (S1) is connected with electronic dictionary terminal 300 (S3) communication terminal 100 afterwards receiving in advance.At this, communication terminal 100 can be connected by the USB vendor class mode 3 31a of electronic dictionary terminal 300 with electronic dictionary terminal 300.
As long as satisfy these two kinds of conditions that receive encrypt file and be connected with electronic dictionary terminal 300, then communication terminal 100 enters for the standby condition to electronic dictionary terminal 300 transmission encrypt files, and will transmit sign on and transfer to electronic dictionary terminal 300.
Then, communication terminal 100 reads the store path (S7) of above-mentioned each file data of each file data when 300 transmission of electronic dictionary terminal that encrypt file is comprised according to the number of files that is read from whole header.Here, store path is meant the memory location in the electronic dictionary terminal 300, and this store path can be made of folder path and filename.As 1 embodiment, if with the hidden partition 351 corresponding driving paths of electronic dictionary terminal 300 be D:, then folder path is the path that only stores a plurality of electronic dictionary files as D: Dictionary, and the file form with D: Dictionary KK.DAT by name is positioned at the name that refers to of folder path file data afterwards.As D: Dictionary the KK.DAT, can constitute the store path of the complete path name form that comprises folder path and filename.
After store path read step S7, communication terminal 100 reads starting position (S9) with each file data corresponding file data from whole header.For example, if file data is 3, then the starting position of file data can mean the beginning side-play amount at first file data, second file data and the 3rd file data place.
For example, be under 3 the situation at file data, if read the version information of first file data, second file data and the 3rd file data, and the 512byte from the starting position of each file data deciphered processing, indivedual headers that then can comprise corresponding file data, and indivedual header comprises version information.
The store path of each file data that communication terminal 100 will be read in store path read step S7 and version information instruction transfer to electronic dictionary terminal 300, and request sends the version information of each file data in the hidden partition 351 that has been stored in electronic dictionary terminal 300 and receives above-mentioned version information (S13).
As 1 embodiment, store path with the complete path name form that read in store path read step S7 is a benchmark visit electronic dictionary terminal 300, then, read the version information that indivedual header comprised that is stored in the file data in the electronic dictionary terminal 300 with identical complete path name.
At least exist for the high file data of version information under 1 the situation in judged result (S15), the file data that communication terminal 100 is high with version information transfers in the hidden partition of electronic dictionary terminal 300 (S17) successively.
Though not shown, before the transfer files data, the higher file data of version information is transmitted after communication terminal 100 file data that contact electronic dictionary terminal 300 deletion version informations are low earlier.Under these circumstances, communication terminal 100 can transfer to delete instruction electronic dictionary terminal 300, this delete instruction is meant, be used in reference in each file data that is shown in the hidden partition that is stored in transmission electronic dictionary terminal 300 the instruction of the file data that the store path of the file data that the deletion version information is high and version information are low.
And, during deleting the low version information of version information and transmitting the high file data of version information (S17), communication terminal 100 is to the store path of electronic dictionary terminal transmission complete path name form, have the file data of complete path name with generation, then corresponding file data is transmitted.Under these circumstances, communication terminal 100 will be stored in the store path of the file data that version information is high in the file data of hidden partition of electronic dictionary terminal 300 and write sign on and transfer to electronic dictionary terminal 300, thereby generate the file data with complete path name in the hidden partition of electronic dictionary terminal 300.
The deletion and the transmission of such file data are called renewal.When upgrading, can will be in number of files read step S5 the file data that handle of decoding, under the USB of electronic dictionary terminal 300 vendor class pattern, be that unit transfers to electronic dictionary terminal 300 from communication terminal 100 with 512Byte.From communication terminal 100 during to the end of transmission (EOT) of the high file data of the version information of electronic dictionary terminal 300, communication terminal 100 can write END instruction to 300 transmission of electronic dictionary terminal.
Fig. 6 shows the process flow diagram of the step of being carried out by the electronic dictionary terminal in the electronic dictionary terminal updating method of the embodiment of the invention.Referring to figs. 1 through Fig. 6, electronic dictionary terminal 300 is connected with communication terminal 100 (S31) after switching to USB vendor class mode 3 31a.At this, electronic dictionary terminal 300 switches to USB vendor class mode 3 31a in order to be connected with communication terminal realization USB.More particularly, the USB connection mode supported of electronic dictionary terminal 300 comprises: receive the USB vendor class patterns of the file data that is used to upgrade synchronously with communication terminal 100 (Sync); Be used to receive the USB high capacity memory module 331b of the displacement disc of multimedia file.
On the other hand, electronic dictionary terminal 300 is carried out the step S37 that reads the version information of each file data and transfer to communication terminal 100 repeatedly, till the end of transmission (EOT) of 100 pairs of version information instructions of communication terminal.
On the other hand, between step S37 and step S39, communication terminal 100 judges whether the version information of each file data that communication terminal 100 receives from update service device 700 exists 1 at least than the higher file data of version information that has been stored in each file data the electronic dictionary terminal 300 by step S37.If the file data that version information is high exists more than 1, then judge the file of corresponding file data for needing to upgrade, the store path and the delete instruction of the file data that communication terminal 100 is high with version information transfer to electronic dictionary terminal 300, and, electronic dictionary terminal 300 execution in step S39.
On the other hand, electronic dictionary terminal 300 is execution in step S39 repeatedly, till the end of transmission (EOT) of 100 pairs of delete instructions of communication terminal.
After the generation step S41 of the file data with complete path name, electronic dictionary terminal 300 receives the high file data (S43) of version information from communication terminal 100.At this, electronic dictionary terminal 300 is that unit receives the high file data of version information and is stored in the hidden partition 351 with 512Byte from communication terminal 100.Under these circumstances, the file data that receives from communication terminal 100 is meant, carried out file data after decoding is handled by 300 pairs of encrypt files of electronic dictionary terminal.
After electronic dictionary terminal 300 received the step S43 of the high file data of version informations, whether electronic dictionary terminal 300 was confirmed to receive from communication terminal 100 to write END instruction (S45).That is, electronic dictionary terminal 300 judges whether to receive from communication terminal 100 and writes END instruction, and this writes END instruction, is the instruction that is used to represent to the end of transmission (EOT) of 1 high file data of version information.
If electronic dictionary terminal 300 receives and writes END instruction, then electronic dictionary terminal 300 finishes the reception action (S47) to 1 high file data of version information.At this, electronic dictionary terminal 300 is implemented the closing of a file action in order 1 high file data of version information to be carried out file allocation table and to upgrade, then, with result transmission to communication terminal 100.
On the other hand, if electronic dictionary terminal 300 does not receive and writes END instruction, then electronic dictionary terminal 300 is carried out above-mentioned steps S43 and S45 repeatedly, up to receive write END instruction till.
In the reception release (S47) of file data afterwards, electronic dictionary terminal 300 judges whether to receive file interrupt instruction (S49), this document interrupt instruction, be since expression to the instruction of the reception release of the high All Files data of version information.
If electronic dictionary terminal 300 receives the file interrupt instruction, then electronic dictionary terminal 300 finishes the reception action to the high All Files data of version information.
On the other hand, if electronic dictionary terminal 300 does not receive the file interrupt instruction, then electronic dictionary terminal 300 is carried out above-mentioned steps S39 to S4 repeatedly, till receiving the file interrupt instruction.
And then, disclosing of each specific embodiment of the present invention is to be exemplified as purpose, in aim of the present invention and scope, can carry out various modifications, change, increase etc., such modifications and changes etc. also belong in the scope of aforementioned techniques scheme, and this is conspicuous for a person skilled in the art.
Claims (16)
1. an electronic dictionary terminal updating method is characterized in that, comprising:
First step, communication terminal receives the encrypt file of specified format in advance via communication network from the update service device, and above-mentioned encrypt file is separated into whole header and at least 1 file data;
Second step, above-mentioned communication terminal read each store path of above-mentioned each file data of each file data when the electronic dictionary terminal transmission that will be equivalent to above-mentioned at least 1 file data from above-mentioned whole header;
Third step, above-mentioned communication terminal utilize indivedual headers of above-mentioned each file data to read the version information of above-mentioned each file data;
The 4th step, above-mentioned communication terminal transfers to the above-mentioned electronic dictionary terminal with above-mentioned each store path that is read, and receives the version information have the store path identical with above-mentioned each store path and to be stored in the file data the hidden partition of above-mentioned electronic dictionary terminal from the above-mentioned electronic dictionary terminal; And
The 5th step, if separating the file data that generates from above-mentioned encrypt file, version information is than existing 1 at least with the higher file data of above-mentioned each store path corresponding file data in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal, and the file data that then above-mentioned communication terminal is high with above-mentioned version information transfers to the hidden partition of above-mentioned electronic dictionary terminal.
2. electronic dictionary terminal updating method as claimed in claim 1 is characterized in that, the encrypt file of above-mentioned specified format in advance is the file of expansion HEX by name.
3. electronic dictionary terminal updating method as claimed in claim 1 is characterized in that, above-mentioned store path be the complete path name form that constitutes by folder path and filename the path.
4. electronic dictionary terminal updating method as claimed in claim 3 is characterized in that,
Above-mentioned the 5th step comprises:
Deletion step, the deletion of above-mentioned communication terminal have been stored in corresponding with above-mentioned each store path in the hidden partition of above-mentioned electronic dictionary terminal and file data that version information is low;
Generate step, above-mentioned communication terminal generates the file data of the store path with above-mentioned complete path name form; And
Transmitting step, above-mentioned communication terminal with above-mentioned each store path corresponding file data higher above-mentioned file data transfers to the hidden partition of above-mentioned electronic dictionary terminal than being stored in the above-mentioned hidden partition with version information.
5. electronic dictionary terminal updating method as claimed in claim 1 is characterized in that,
Above-mentioned third step comprises:
The starting position read step, above-mentioned communication terminal is from starting position that above-mentioned whole header reads above-mentioned each file data; And
Version information read step, above-mentioned communication terminal utilize above-mentioned starting position to come above-mentioned each file data is deciphered processing, and read the version information that above-mentioned indivedual header comprises.
6. an electronic dictionary terminal updating method is characterized in that, comprising:
First step, the electronic dictionary terminal receives store path and the version information that has been stored at least 1 file data the hidden partition from communication terminal;
Second step, above-mentioned electronic dictionary terminal utilize above-mentioned store path to read the version information of each file data of above-mentioned at least 1 file data that is equivalent to store, and transfer to above-mentioned communication terminal; And
Third step, the above-mentioned electronic dictionary terminal receives version information at least 1 file data higher than the version information of above-mentioned each file data from above-mentioned communication terminal, and is stored in the above-mentioned hidden partition.
7. electronic dictionary terminal updating method as claimed in claim 6 is characterized in that,
In above-mentioned third step, separate at least 1 file data that is generated if be judged as at the encrypt file that above-mentioned communication terminal is received from the update service device, at least there is 1 in version information with the higher file data of above-mentioned each store path corresponding file data than being stored in the above-mentioned hidden partition, then the above-mentioned electronic dictionary terminal receives the high file data of above-mentioned version information from above-mentioned communication terminal, and is stored in the above-mentioned hidden partition.
8. electronic dictionary terminal updating method as claimed in claim 6 is characterized in that,
Before above-mentioned first step, also comprise switch step, draw together in the switch step that the above-mentioned electronic dictionary terminal switches to USB vendor class pattern in order to be connected with above-mentioned communication terminal realization USB each other at this.
9. an electronic dictionary terminal updating system comprises communication terminal and electronic dictionary terminal, it is characterized in that,
Above-mentioned communication terminal has first input/output module and first update module;
Above-mentioned first input/output module receives the encrypt file of specified format in advance via communication network from the update service device;
Above-mentioned first update module,
Above-mentioned encrypt file is separated into whole header and at least 1 file data, and reads each store path of above-mentioned each file data of each file data when the electronic dictionary terminal transmission that will be equivalent to above-mentioned at least 1 file data from above-mentioned whole header,
Utilize indivedual headers of above-mentioned each file data to read the version information of above-mentioned each file data,
Above-mentioned each store path that is read is transferred to the above-mentioned electronic dictionary terminal, and receive the version information have the store path identical and to be stored in the file data the hidden partition of above-mentioned electronic dictionary terminal with above-mentioned each store path from the above-mentioned electronic dictionary terminal
If separating the file data that generates from above-mentioned encrypt file, version information is than existing 1 at least with the higher file data of above-mentioned each store path corresponding file data in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal, and then that above-mentioned version information is high file data transfers to the hidden partition of above-mentioned electronic dictionary terminal.
10. electronic dictionary terminal updating as claimed in claim 9 system is characterized in that, the encrypt file of above-mentioned specified format in advance is the file of expansion HEX by name.
11. electronic dictionary terminal updating as claimed in claim 9 system is characterized in that, above-mentioned store path is the path of the complete path name form that is made of folder path and filename.
12. electronic dictionary terminal updating as claimed in claim 11 system is characterized in that,
Above-mentioned first update module,
Delete and the deletion version information low file data corresponding in the hidden partition that has been stored in the above-mentioned electronic dictionary terminal with above-mentioned each store path,
Utilize above-mentioned complete path name to generate the file data of store path with above-mentioned complete path name form,
Then, version information is transferred to the hidden partition of above-mentioned electronic dictionary terminal with the higher above-mentioned file data of above-mentioned each store path corresponding file data than being stored in the above-mentioned hidden partition.
13. electronic dictionary terminal updating as claimed in claim 9 system, it is characterized in that, above-mentioned first update module is from starting position that above-mentioned whole header reads above-mentioned each file data, utilize above-mentioned starting position to come above-mentioned each file data is deciphered processing, and read the version information that above-mentioned indivedual header comprises.
14. electronic dictionary terminal updating as claimed in claim 9 system is characterized in that,
The above-mentioned electronic dictionary terminal comprises first input/output module;
This first input/output module switches to USB vendor class pattern in order to be connected with above-mentioned communication terminal realization USB each other.
15. electronic dictionary terminal updating as claimed in claim 14 system is characterized in that,
The above-mentioned electronic dictionary terminal also comprises second update module;
This second update module,
Receive store path and the version information that has been stored at least 1 file data the above-mentioned hidden partition from above-mentioned communication terminal,
Utilize above-mentioned store path to read and be stored in the version information of each file data that is equivalent at least 1 file data in the above-mentioned hidden partition, and transfer to above-mentioned communication terminal,
Receive the version information ratio from above-mentioned communication terminal and be stored at least one higher file data of version information of each file data the above-mentioned hidden partition, and be stored in the above-mentioned hidden partition.
16. electronic dictionary terminal updating as claimed in claim 15 system, it is characterized in that, if above-mentioned communication terminal is judged as at least each file data of 1 file data that is equivalent to generate from specific encrypt file separation, there is 1 in version information at least than the higher file data of the version information with above-mentioned each store path corresponding file data that has been stored in the above-mentioned hidden partition, then above-mentioned second update module receives the high file data of above-mentioned version information from above-mentioned communication terminal, and be stored in the above-mentioned hidden partition, above-mentioned specific encrypt file is meant, the encrypt file that above-mentioned communication terminal receives from the update service device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2009-0133574 | 2009-12-30 | ||
KR1020090133574A KR20110077111A (en) | 2009-12-30 | 2009-12-30 | System and method for updating electronic dictionary terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102117215A true CN102117215A (en) | 2011-07-06 |
Family
ID=44215997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101993437A Pending CN102117215A (en) | 2009-12-30 | 2010-06-09 | Electronic dictionary terminal updating system and updating method thereof |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20110077111A (en) |
CN (1) | CN102117215A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609489A (en) * | 2012-01-21 | 2012-07-25 | 华为技术有限公司 | Method and terminal for automatically copying data |
US9141634B2 (en) | 2012-01-21 | 2015-09-22 | Huawei Technologies Co., Ltd. | Method for automatic data replication and terminal |
CN106534275A (en) * | 2016-10-25 | 2017-03-22 | 公安部第三研究所 | Universal safe and reliable data switching method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080037450A (en) * | 2006-10-26 | 2008-04-30 | 웹싱크 주식회사 | System and method for processing update software run on mobile terminal platform |
CN101211352A (en) * | 2006-12-28 | 2008-07-02 | 凌阳科技股份有限公司 | Electronic dictionary data update system and its method |
-
2009
- 2009-12-30 KR KR1020090133574A patent/KR20110077111A/en not_active Application Discontinuation
-
2010
- 2010-06-09 CN CN2010101993437A patent/CN102117215A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080037450A (en) * | 2006-10-26 | 2008-04-30 | 웹싱크 주식회사 | System and method for processing update software run on mobile terminal platform |
CN101211352A (en) * | 2006-12-28 | 2008-07-02 | 凌阳科技股份有限公司 | Electronic dictionary data update system and its method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609489A (en) * | 2012-01-21 | 2012-07-25 | 华为技术有限公司 | Method and terminal for automatically copying data |
US9141634B2 (en) | 2012-01-21 | 2015-09-22 | Huawei Technologies Co., Ltd. | Method for automatic data replication and terminal |
CN106534275A (en) * | 2016-10-25 | 2017-03-22 | 公安部第三研究所 | Universal safe and reliable data switching method |
CN106534275B (en) * | 2016-10-25 | 2019-12-06 | 公安部第三研究所 | Universal safe and reliable data exchange method |
Also Published As
Publication number | Publication date |
---|---|
KR20110077111A (en) | 2011-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101102577B (en) | Incremental synchronization method for data in tables of frontground and background database of wireless communication base station system | |
CN101216771A (en) | Method, system and device for accomplishing mobile phones software upgrading through personal computer | |
CN102801786A (en) | Method, device and system for transmitting file | |
CN103228058A (en) | Method of managing connectivity status within a mobile radio communications device | |
CN101719151A (en) | Bluetooth-based information retrieval and acquisition method and Bluetooth-based information retrieval and acquisition device | |
CN102238223B (en) | Networked personal data management method for mobile device | |
CN102790727A (en) | Method and system for dynamically pushing personal labels of users | |
CN101416159A (en) | Communication terminal, user data transferring system and user data transferring method | |
CN101400164A (en) | Smart card, system and method for realizing deployment customized service | |
CN113014510B (en) | Data caching method and device in distributed test of inertial navigation system | |
KR100566975B1 (en) | remote function changing system of the cellular-phone and controlling method therefore | |
JP2005524898A (en) | Communication system, compatible mobile device, and method for storing pages in mobile device | |
CN105491132A (en) | File server, terminal and file subpackage transmission method | |
CN102117215A (en) | Electronic dictionary terminal updating system and updating method thereof | |
CN102750285A (en) | system and method for providing offline browsing | |
CN101742701A (en) | Device, method and system for treating AT command | |
CN101369191B (en) | Multicomputer switching mechanism and implementing method | |
CN100525208C (en) | Data synchronization method | |
CN102624913A (en) | Data pushing method, and terminal device and server employing same | |
CN102984276B (en) | For the distributor distributed multiple socket server and distribution method | |
CN101702732A (en) | Document synchronous method and document synchronous system | |
CN106527979A (en) | Data migration method and device | |
CN102711092A (en) | Dial-up data download method of client software | |
CN105450758A (en) | Multimedia file play method and terminal | |
CN104394125A (en) | A method for a mobile device to share multimedia file and a mobile device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110706 |
|
WD01 | Invention patent application deemed withdrawn after publication |