CN103885805A - Software running interface identification data loading method and system - Google Patents
Software running interface identification data loading method and system Download PDFInfo
- Publication number
- CN103885805A CN103885805A CN201410124037.5A CN201410124037A CN103885805A CN 103885805 A CN103885805 A CN 103885805A CN 201410124037 A CN201410124037 A CN 201410124037A CN 103885805 A CN103885805 A CN 103885805A
- Authority
- CN
- China
- Prior art keywords
- identification data
- data packet
- running software
- flash memory
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a software running interface identification data loading method and system. The software running interface identification data loading method and system are only used for developing different software running interface identification data for different countries. The method includes the steps that a user downloads the software running interface identification data and writes the software running interface identification data into a flash memory through an external storage device; in the start-up process, the software running interface identification data are directly called from the flash memory so that a terminal can call character strings in an identification data packet to carry out identification on displayed software running interfaces when displaying the software running interface corresponding to a system program data packet, and then the terminal can accurately display software running interface identification required by the user. Meanwhile, it is not required that the software running interface identification data corresponding to languages corresponding to all the countries and system program codes are integrated and compiled together to form system control programs so that the flash memory space of the terminal can be saved.
Description
Technical field
The present invention relates to terminal control technical field, relate in particular to a kind of running software interface identification data load method and system.
Background technology
Along with the development of economic trade, increasing electric terminal is sold to different countries, because the language that different countries is used is different, the language that the language that for example Iran is used uses for Persian, Egypt is Hebrew etc., and the language that same country different user uses is likely different, cause different countries terminal used need to adopt different system softwares, cost is higher.
For above-mentioned technical matters, prior art proposes a solution, this solution by the running software interface identification data of the corresponding language of All Countries (for example, the title of each function key, explanatory note, text message etc.) with system-program code is integrated be compiled in together with compiling form system control program, and (for example push speech selection interface to user in the time of start, comprise English, Chinese, the speech selection interface of the options such as German) for user from the running software interface identification data of the corresponding language of integrated All Countries, (for example select corresponding language, select Chinese) running software interface identification data running software interface is identified.
But there is following defect in this existing solution:
No matter what a client demand is, the integrated compiling formation system control program together that is compiled in of the unified running software interface identification data and system program code by the corresponding language of All Countries, system control program is taken up room larger, greatly waste system resource;
Two, the language in current speech selection interface is commonly English, but for being ignorant of English user, may cause user may occur mistake in the time selecting language based on speech selection interface, causes language to show not accurate enough.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of running software interface identification data load method and system, on the basis taking, terminal language is shown more accurate at minimizing terminal space.
The present invention proposes a kind of running software interface identification data load method, comprising:
Detecting after start-up command, the system program packet prestoring in flash memory is called and carried out to terminal;
Described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, the described identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory;
Described terminal is called the described identification data packet loading in flash memory, and for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
Preferably, described terminal is by preset data interface, and from External memory equipment, after the step of spy software runnable interface identification data packet, the method also comprises:
Do not detect running software interface identification packet from External memory equipment time, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
Preferably, described terminal is called the described identification data packet loading in flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, call the step that the character string in described identification data packet identifies the described running software interface showing after the method also comprise:
Described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
Preferably, described detect running software interface identification packet from External memory equipment time, the step of the identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory comprises:
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
In the time that user selects to upgrade described identification data packet, the identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory.
The present invention also proposes a kind of running software interface identification data load system, and this running software interface identification data load system comprises the functional module that realizes the corresponding step of method as described in above any one.
The present invention also proposes a kind of running software interface identification data load method, comprising:
Detecting after start-up command, the system program packet prestoring in flash memory is called and carried out to terminal;
Described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
Preferably, detecting after start-up command, terminal call and carry out the step of the system program packet prestoring in flash memory after the method also comprise:
In the time not calling the identification data packet prestoring from flash memory, described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, the described identification data packet of described terminal loads detecting is to described flash memory;
Described terminal is called the described identification data packet loading in flash memory, and for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
Preferably, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, after calling the step that character string in described identification data packet identifies the described running software interface showing, the method also comprises:
Described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
Preferably, described detect running software interface identification packet from External memory equipment time, the described identification data packet of described terminal loads detecting to the step in described flash memory comprises:
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
In the time that user selects to upgrade described identification data packet, the described identification data packet of described terminal loads detecting is to described flash memory.
The present invention proposes a kind of running software interface identification data load system, and this running software interface identification data load system comprises the functional module that realizes the corresponding step of method as described in above any one.
Running software interface identification data load method and system that the present invention proposes, this scheme only needs to develop different running software interface identification data for country variant, user downloads this running software interface identification data, and by External memory equipment, these running software interface identification data are write in flash memory, in start process directly by calling this running software interface identification data in flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing, make terminal can show accurately the required running software interface identification of user, meanwhile, this scheme need not be unified by integrated the running software interface identification data and system program code of the corresponding language of the All Countries compiling formation system control program together that is compiled in, to save the flash memory space of terminal.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of running software interface identification data load method of the present invention the first embodiment;
Fig. 2 is the schematic flow sheet of running software interface identification data load method of the present invention the second embodiment;
Fig. 3 is the schematic flow sheet of running software interface identification data load method of the present invention the 3rd embodiment;
Fig. 4 is the idiographic flow schematic diagram of step S30 in Fig. 1;
Fig. 5 is the schematic flow sheet of running software interface identification data load method of the present invention the 4th embodiment;
Fig. 6 is the schematic flow sheet of running software interface identification data load method of the present invention the 5th embodiment;
Fig. 7 is the schematic flow sheet of running software interface identification data load method of the present invention the 6th embodiment;
Fig. 8 is the idiographic flow schematic diagram of step S130 in Fig. 6;
Fig. 9 is the high-level schematic functional block diagram of running software interface identification data load system of the present invention the first embodiment;
Figure 10 is the high-level schematic functional block diagram of running software interface identification data load system of the present invention the second embodiment.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Be described further with regard to technical scheme of the present invention below in conjunction with drawings and the specific embodiments.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of running software interface identification data load method of the present invention the first embodiment.
The present embodiment proposes a kind of running software interface identification data load method, comprising:
Step S10, is detecting after start-up command, and the system program packet prestoring in flash memory is called and carried out to terminal;
Step S20, described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
The developer of terminal system is in the time carrying out terminal system exploitation, system control program and running software interface identification packet can be developed respectively, and the running software interface identification packet of different language type is placed on server and is downloaded for user, user can be loaded on the identification data packet of download in the flash memory of terminal by External memory equipment etc., also can the identification data packet of download be transferred to this terminal by other terminal (as smart mobile phone).In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
Describe as an example of USB interface example below, in the time detecting start-up command, whether the USB module detecting terminal in terminal is connected with USB device, and in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), definite runnable interface identification data packet is loaded in flash memory.
In the present embodiment, terminal manufacturer, carrying out subregion to the flash memory in terminal, so that system control program and identification data packet are stored in different subregions, makes system control program and identification data packet keep independent.For example system control program is kept to A district, identification data packet is kept at B district, only the data in B district is upgraded, in order to avoid the data in A district are produced and destroyed when identification data packet upgrading in B district in the time that identification data packet is upgraded.
Step S30, detect running software interface identification packet from External memory equipment time, the described identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory;
Step S40, described terminal is called the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, identification data packet is stored in the default address place of flash memory, and default address can be a certain subregion of flash memory, is stored in an independent subregion of flash memory by identification data packet; This default address place is by pointer mark, and system program packet calls identification data packet according to default pointer in operational process.
In the present embodiment, in identification data packet is write to flash memory time, can be in the time that default address place arranges this bag the flag of packet, to identify the data type of this identification data packet, for example identify the data type of this identification data packet with 0X01~0X08, call identification data packet in by flash memory time, whether 8 bytes of beginning that can first judge the data of default address place storage are 0X01~0X08, when 8 bytes of beginning of the data of storing at default address place are 0X01~0X08, go out to start to call identification data packet by the 9th byte.
In terminal in the time showing running software interface corresponding to described system program packet, can be according to being that instruction code in identification data packet and the mapping relations of character string show, for example, in the time detecting steering order, described terminal is obtained the corresponding instruction code of steering order, and according to the mapping relations between instruction code and character string in described identification data packet, determine the corresponding character string of instruction code getting, then in the running software interface of described terminal, show definite character string.
The running software interface identification data load method that the present embodiment proposes, this scheme only needs to develop different running software interface identification data for country variant, user downloads this running software interface identification data, and by External memory equipment, these running software interface identification data are write in flash memory, in start process directly by calling this running software interface identification data in flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing, make terminal can show accurately the required running software interface identification of user, meanwhile, this scheme need not be unified by integrated the running software interface identification data and system program code of the corresponding language of the All Countries compiling formation system control program together that is compiled in, to save the flash memory space of terminal.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of running software interface identification data load method of the present invention the second embodiment.
Propose running software interface identification data load method of the present invention the second embodiment based on the first embodiment, after step S20, the method also comprises in the present embodiment:
Step S50, judges whether to detect running software interface identification packet from External memory equipment;
Step S60, do not detect running software interface identification packet from External memory equipment time, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing;
Detect running software interface identification packet from External memory equipment time, execution step S30.
Describe as an example of USB interface example, in the time detecting start-up command, whether the USB module detecting terminal in terminal is connected with USB device, and in the time not detecting USB device, thinks and from External memory equipment, do not detect running software interface identification packet; Or in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), when screening runnable interface identification data packet, think and from External memory equipment, do not detect running software interface identification packet.Do not detect running software interface identification packet from External memory equipment time, described terminal directly calls according to default address the identification data packet prestoring from flash memory, if but do not find at the default address place of flash memory the identification data packet prestoring, terminal produces alarm signal, occurs mistake to point out user to start shooting.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet of running software interface identification data load method of the present invention the 3rd embodiment.
Propose running software interface identification data load method the 3rd embodiment of the present invention based on the first and second embodiment, after step S40, the method comprises in the present embodiment:
Step S70, described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Step S80, detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
In the present embodiment, owing to calling in the runnable interface identification data packet write memory in flash memory in terminal operating process, thus in terminal operating process, the runnable interface identification data packet in flash memory is upgraded, on the impact of the current operation nothing of terminal.In terminal operating process, user can, by the data-interface in terminal, upgrade the runnable interface identification data packet in flash memory, to improve user experience; In other variant embodiment, terminal also can the runnable interface identification data packet of directly downloading latest edition by server Network Based, upgrades with the runnable interface identification data packet to preserving in flash memory.
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet; In the time that user selects to upgrade described identification data packet, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.User optionally upgrades to identification data packet, makes the identification data packet of terminal more accurate.
With reference to Fig. 4, Fig. 4 is the idiographic flow schematic diagram of step S30 in Fig. 1.
In running software interface identification data load method of the present invention the first embodiment, step S30 comprises:
Step S31, detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
Step S32, in the time that user selects to upgrade described identification data packet, the identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory.
In the present embodiment, experience for improving user, terminal, detect running software interface identification packet from External memory equipment time, provides and selects interface for users to select whether to upgrade described identification data packet.
With reference to Fig. 5, Fig. 5 is the schematic flow sheet of running software interface identification data load method the 4th embodiment.
The present embodiment proposes a kind of running software interface identification data load method, comprising:
Step S90, is detecting after start-up command, and the system program packet prestoring in flash memory is called and carried out to terminal;
The developer of terminal system is in the time carrying out terminal system exploitation, system control program and running software interface identification packet can be developed respectively, and the running software interface identification packet of different language type is placed on server and is downloaded for user, user can be loaded on the identification data packet of download in the flash memory of terminal by External memory equipment etc., also can the identification data packet of download be transferred to this terminal by other terminal (as smart mobile phone).In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
In the present embodiment, terminal manufacturer, carrying out subregion to the flash memory in terminal, so that system control program and identification data packet are stored in different subregions, makes system control program and identification data packet keep independent.For example system control program is kept to A district, identification data packet is kept at B district, only the data in B district is upgraded, in order to avoid the data in A district are produced and destroyed when identification data packet upgrading in B district in the time that identification data packet is upgraded.
Step S100, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, identification data packet is stored in the default address place of flash memory, and default address can be a certain subregion of flash memory, is stored in an independent subregion of flash memory by identification data packet; This default address place is by pointer mark, and system program packet calls identification data packet according to default pointer in operational process.
In the present embodiment, in identification data packet is write to flash memory time, can be in the time that default address place arranges this bag the flag of packet, to identify the data type of this identification data packet, for example identify the data type of this identification data packet with 0X01~0X08, call identification data packet in by flash memory time, whether 8 bytes of beginning that can first judge the data of default address place storage are 0X01~0X08, when 8 bytes of beginning of the data of storing at default address place are 0X01~0X08, go out to start to call identification data packet by the 9th byte.
In terminal in the time showing running software interface corresponding to described system program packet, can be according to being that instruction code in identification data packet and the mapping relations of character string show, for example, in the time detecting steering order, described terminal is obtained the corresponding instruction code of steering order, and according to the mapping relations between instruction code and character string in described identification data packet, determine the corresponding character string of instruction code getting, then in the running software interface of described terminal, show definite character string.
The running software interface identification data load method that the present embodiment proposes, this scheme only needs to develop different running software interface identification data for country variant, user downloads this running software interface identification data, and by External memory equipment, these running software interface identification data are write in flash memory, in start process directly by calling this running software interface identification data in flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing, make terminal can show accurately the required running software interface identification of user, meanwhile, this scheme need not be unified by integrated the running software interface identification data and system program code of the corresponding language of the All Countries compiling formation system control program together that is compiled in, to save the flash memory space of terminal.
With reference to Fig. 6, Fig. 6 is the schematic flow sheet of running software interface identification data load method the 5th embodiment.
Propose running software interface identification data load method the 5th embodiment of the present invention based on the 4th embodiment, after step S90, also comprise in the present embodiment:
Step S110, judges whether to call from flash memory the identification data packet prestoring;
Step S120, in the time not calling the identification data packet prestoring from flash memory, described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Step S130, detect running software interface identification packet from External memory equipment time, the described identification data packet of described terminal loads detecting is to described flash memory;
Step S140, described terminal is called the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing;
Call the identification data packet prestoring from flash memory time, perform step S90.
In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
Describe as an example of USB interface example below, in the time not calling the identification data packet prestoring from flash memory, whether the USB module detecting terminal in terminal is connected with USB device, and in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), definite runnable interface identification data packet is loaded in flash memory.In the time not detecting USB device, think and from External memory equipment, do not detect running software interface identification packet; Or in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), when screening runnable interface identification data packet, think and from External memory equipment, do not detect running software interface identification packet.Do not detect running software interface identification packet from External memory equipment time, described terminal directly calls according to default address the identification data packet prestoring from flash memory, if but do not find at the default address place of flash memory the identification data packet prestoring, terminal produces alarm signal, occurs mistake to point out user to start shooting.
With reference to Fig. 7, Fig. 7 is the schematic flow sheet of running software interface identification data load method the 6th embodiment.
Propose running software interface identification data load method the 6th embodiment of the present invention based on the 4th and the 5th embodiment, in the present embodiment, after step S100, comprise:
Step S150, described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Step S160, detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
In the present embodiment, owing to calling in the runnable interface identification data packet write memory in flash memory in terminal operating process, thus in terminal operating process, the runnable interface identification data packet in flash memory is upgraded, on the impact of the current operation nothing of terminal.In terminal operating process, user can, by the data-interface in terminal, upgrade the runnable interface identification data packet in flash memory, to improve user experience; In other variant embodiment, terminal also can the runnable interface identification data packet of directly downloading latest edition by server Network Based, upgrades with the runnable interface identification data packet to preserving in flash memory.
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet; In the time that user selects to upgrade described identification data packet, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.User optionally upgrades to identification data packet, makes the identification data packet of terminal more accurate.
With reference to Fig. 8, Fig. 8 is the idiographic flow schematic diagram of step S130 in Fig. 6.
In fifth embodiment of the invention, step S130 comprises:
Step S131, detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
Step S132, in the time that user selects to upgrade described identification data packet, the described identification data packet of described terminal loads detecting is to described flash memory.
In the present embodiment, experience for improving user, terminal, detect running software interface identification packet from External memory equipment time, provides and selects interface for users to select whether to upgrade described identification data packet.
With reference to Fig. 9, Fig. 9 is the high-level schematic functional block diagram of running software interface identification data load system of the present invention the first embodiment.
The present embodiment proposes a kind of running software interface identification data load system, comprising:
Calling module 10, for detecting after start-up command, calling and carry out the system program packet prestoring in flash memory;
Detecting module 20, for passing through preset data interface, spy software runnable interface identification data packet from External memory equipment;
The developer of terminal system is in the time carrying out terminal system exploitation, system control program and running software interface identification packet can be developed respectively, and the running software interface identification packet of different language type is placed on server and is downloaded for user, user can be loaded on the identification data packet of download in the flash memory of terminal by External memory equipment etc., also can the identification data packet of download be transferred to this terminal by other terminal (as smart mobile phone).In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
Describe as an example of USB interface example below, in the time detecting start-up command, whether the USB module detecting terminal in terminal is connected with USB device, and in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), definite runnable interface identification data packet is loaded in flash memory.
In the present embodiment, terminal manufacturer, carrying out subregion to the flash memory in terminal, so that system control program and identification data packet are stored in different subregions, makes system control program and identification data packet keep independent.For example system control program is kept to A district, identification data packet is kept at B district, only the data in B district is upgraded, in order to avoid the data in A district are produced and destroyed when identification data packet upgrading in B district in the time that identification data packet is upgraded.
Identification data packet load-on module 30, for when detect running software interface identification packet from External memory equipment, load the identification data packet of the described identification data packet of detecting to described flash memory or in renewal flash memory, call the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, identification data packet is stored in the default address place of flash memory, and default address can be a certain subregion of flash memory, is stored in an independent subregion of flash memory by identification data packet; This default address place is by pointer mark, and system program packet calls identification data packet according to default pointer in operational process.
In the present embodiment, in identification data packet is write to flash memory time, can be in the time that default address place arranges this bag the flag of packet, to identify the data type of this identification data packet, for example identify the data type of this identification data packet with 0X01~0X08, call identification data packet in by flash memory time, whether 8 bytes of beginning that can first judge the data of default address place storage are 0X01~0X08, when 8 bytes of beginning of the data of storing at default address place are 0X01~0X08, go out to start to call identification data packet by the 9th byte.
In terminal in the time showing running software interface corresponding to described system program packet, can be according to being that instruction code in identification data packet and the mapping relations of character string show, for example, in the time detecting steering order, described terminal is obtained the corresponding instruction code of steering order, and according to the mapping relations between instruction code and character string in described identification data packet, determine the corresponding character string of instruction code getting, then in the running software interface of described terminal, show definite character string.
The running software interface identification data load system that the present embodiment proposes, this scheme only needs to develop different running software interface identification data for country variant, user downloads this running software interface identification data, and by External memory equipment, these running software interface identification data are write in flash memory, in start process directly by calling this running software interface identification data in flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing, make terminal can show accurately the required running software interface identification of user, meanwhile, this scheme need not be unified by integrated the running software interface identification data and system program code of the corresponding language of the All Countries compiling formation system control program together that is compiled in, to save the flash memory space of terminal.
Further, the function of horn of plenty terminal, described identification data packet load-on module 30 is not also in the time detecting running software interface identification packet from External memory equipment, from flash memory, call according to default address the identification data packet prestoring, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
Describe as an example of USB interface example, in the time detecting start-up command, whether the USB module detecting terminal in terminal is connected with USB device, and in the time not detecting USB device, thinks and from External memory equipment, do not detect running software interface identification packet; Or in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), when screening runnable interface identification data packet, think and from External memory equipment, do not detect running software interface identification packet.Do not detect running software interface identification packet from External memory equipment time, described terminal directly calls according to default address the identification data packet prestoring from flash memory, if but do not find at the default address place of flash memory the identification data packet prestoring, terminal produces alarm signal, occurs mistake to point out user to start shooting.
Further, for guaranteeing the accuracy of identification data packet, described detecting module 20 also passes through preset data interface, spy software runnable interface identification data packet from External memory equipment for timing; Described identification data packet load-on module 30 is also in the time detecting running software interface identification packet from External memory equipment, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory call identification data packet renewal after according to default address for described terminal.
In the present embodiment, owing to calling in the runnable interface identification data packet write memory in flash memory in terminal operating process, thus in terminal operating process, the runnable interface identification data packet in flash memory is upgraded, on the impact of the current operation nothing of terminal.In terminal operating process, user can, by the data-interface in terminal, upgrade the runnable interface identification data packet in flash memory, to improve user experience; In other variant embodiment, terminal also can the runnable interface identification data packet of directly downloading latest edition by server Network Based, upgrades with the runnable interface identification data packet to preserving in flash memory.
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet; In the time that user selects to upgrade described identification data packet, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.User optionally upgrades to identification data packet, makes the identification data packet of terminal more accurate.
Further, for improving user experience, described identification data packet load-on module 30 comprises:
Interface provides unit, for when detect running software interface identification packet from External memory equipment, provides and selects interface for users to select whether to upgrade described identification data packet;
Identification data packet loading unit, for in the time that user selects to upgrade described identification data packet, load the identification data packet of the described identification data packet of detecting to described flash memory or in renewal flash memory, call the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, experience for improving user, terminal, detect running software interface identification packet from External memory equipment time, provides and selects interface for users to select whether to upgrade described identification data packet.
With reference to Figure 10, Figure 10 is the high-level schematic functional block diagram of running software interface identification data load system of the present invention the second embodiment.
The present embodiment proposes a kind of running software interface identification data load system, comprising:
Calling module 40, is detecting after start-up command, and the system program packet prestoring in flash memory is called and carried out to terminal;
Identification data packet load-on module 50, from flash memory, call according to default address the identification data packet prestoring, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing
In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
Describe as an example of USB interface example below, in the time not calling the identification data packet prestoring from flash memory, whether the USB module detecting terminal in terminal is connected with USB device, and in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), definite runnable interface identification data packet is loaded in flash memory.In the time not detecting USB device, think and from External memory equipment, do not detect running software interface identification packet; Or in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), when screening runnable interface identification data packet, think and from External memory equipment, do not detect running software interface identification packet.Do not detect running software interface identification packet from External memory equipment time, described terminal directly calls according to default address the identification data packet prestoring from flash memory, if but do not find at the default address place of flash memory the identification data packet prestoring, terminal produces alarm signal, occurs mistake to point out user to start shooting.
Further, the function of horn of plenty terminal, this system also comprises detecting module, in the time not calling from flash memory the identification data packet prestoring, by preset data interface, spy software runnable interface identification data packet from External memory equipment; Described identification data packet load-on module 50 is also in the time detecting running software interface identification packet from External memory equipment, load the described identification data packet of detecting to described flash memory, call the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, preset data interface can be the interface that USB interface, blue tooth interface etc. can communicate with External memory equipment.
Describe as an example of USB interface example below, in the time not calling the identification data packet prestoring from flash memory, whether the USB module detecting terminal in terminal is connected with USB device, and in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), definite runnable interface identification data packet is loaded in flash memory.In the time not detecting USB device, think and from External memory equipment, do not detect running software interface identification packet; Or in the time detecting USB device, data in USB device are screened, determine runnable interface identification data packet according to data type (as file suffixes), when screening runnable interface identification data packet, think and from External memory equipment, do not detect running software interface identification packet.Do not detect running software interface identification packet from External memory equipment time, described terminal directly calls according to default address the identification data packet prestoring from flash memory, if but do not find at the default address place of flash memory the identification data packet prestoring, terminal produces alarm signal, occurs mistake to point out user to start shooting.
Further, for guaranteeing the accuracy of identification data packet, described detecting module also passes through preset data interface, spy software runnable interface identification data packet from External memory equipment for timing; Described identification data packet load-on module 50 is also in the time detecting running software interface identification packet from External memory equipment, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory call identification data packet renewal after according to default address for described terminal.
In the present embodiment, owing to calling in the runnable interface identification data packet write memory in flash memory in terminal operating process, thus in terminal operating process, the runnable interface identification data packet in flash memory is upgraded, on the impact of the current operation nothing of terminal.In terminal operating process, user can, by the data-interface in terminal, upgrade the runnable interface identification data packet in flash memory, to improve user experience; In other variant embodiment, terminal also can the runnable interface identification data packet of directly downloading latest edition by server Network Based, upgrades with the runnable interface identification data packet to preserving in flash memory.
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet; In the time that user selects to upgrade described identification data packet, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.User optionally upgrades to identification data packet, makes the identification data packet of terminal more accurate.
Further, for improving user experience, described identification data packet load-on module 50 comprises:
Interface provides unit, for when detect running software interface identification packet from External memory equipment, provides and selects interface for users to select whether to upgrade described identification data packet;
Identification data packet loading unit, for in the time that user selects to upgrade described identification data packet, load the described identification data packet of detecting to described flash memory, call the described identification data packet loading in flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
In the present embodiment, experience for improving user, terminal, detect running software interface identification packet from External memory equipment time, provides and selects interface for users to select whether to upgrade described identification data packet.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a running software interface identification data load method, is characterized in that, comprising:
Detecting after start-up command, the system program packet prestoring in flash memory is called and carried out to terminal;
Described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, the described identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory;
Described terminal is called the described identification data packet loading in flash memory, and for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
2. method according to claim 1, is characterized in that, described terminal is by preset data interface, and from External memory equipment, after the step of spy software runnable interface identification data packet, the method also comprises:
Do not detect running software interface identification packet from External memory equipment time, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
3. method according to claim 1 and 2, it is characterized in that, the described described identification data packet loading in flash memory of calling, for described terminal in the time showing running software interface corresponding to described system program packet, call the step that the character string in described identification data packet identifies the described running software interface showing after the method also comprise:
Described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
4. method according to claim 1, it is characterized in that, described detect running software interface identification packet from External memory equipment time, the step of the identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory comprises:
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
In the time that user selects to upgrade described identification data packet, the identification data packet of the described identification data packet of described terminal loads detecting to described flash memory or in renewal flash memory.
5. a running software interface identification data load method, is characterized in that, comprising:
Detecting after start-up command, the system program packet prestoring in flash memory is called and carried out to terminal;
Described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
6. method according to claim 5, is characterized in that, detecting after start-up command, terminal call and carry out the step of the system program packet prestoring in flash memory after the method also comprise:
In the time not calling the identification data packet prestoring from flash memory, described terminal is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, the described identification data packet of described terminal loads detecting is to described flash memory;
Described terminal is called the described identification data packet loading in flash memory, and for described terminal, in the time showing running software interface corresponding to described system program packet, the character string of calling in described identification data packet identifies the described running software interface showing.
7. according to the method described in claim 5 or 6, it is characterized in that, described terminal calls according to default address the identification data packet prestoring from flash memory, for described terminal in the time showing running software interface corresponding to described system program packet, after calling the step that character string in described identification data packet identifies the described running software interface showing, the method also comprises:
Described terminal timing is by preset data interface, spy software runnable interface identification data packet from External memory equipment;
Detect running software interface identification packet from External memory equipment time, described terminal, according to the identification data packet prestoring in flash memory, in the time starting shooting next time, from flash memory is called identification data packet renewal after according to default address for described terminal.
8. method according to claim 6, is characterized in that, described detect running software interface identification packet from External memory equipment time, and the described identification data packet of described terminal loads detecting to the step in described flash memory comprises:
Detect running software interface identification packet from External memory equipment time, described terminal provides selects interface for users to select whether to upgrade described identification data packet;
In the time that user selects to upgrade described identification data packet, the described identification data packet of described terminal loads detecting is to described flash memory.
9. a running software interface identification data load system, is characterized in that, this running software interface identification data load system comprises the functional module that realizes the corresponding step of method as described in claim 1 to 4 any one.
10. a running software interface identification data load system, is characterized in that, this running software interface identification data load system comprises the functional module that realizes the corresponding step of method as described in claim 5 to 8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410124037.5A CN103885805B (en) | 2014-03-28 | 2014-03-28 | Running software interface identification data load method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410124037.5A CN103885805B (en) | 2014-03-28 | 2014-03-28 | Running software interface identification data load method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103885805A true CN103885805A (en) | 2014-06-25 |
CN103885805B CN103885805B (en) | 2017-10-24 |
Family
ID=50954715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410124037.5A Active CN103885805B (en) | 2014-03-28 | 2014-03-28 | Running software interface identification data load method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103885805B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992472A (en) * | 2019-02-25 | 2019-07-09 | 努比亚技术有限公司 | A kind of interface monitoring method, terminal and computer readable storage medium |
CN113438296A (en) * | 2021-06-22 | 2021-09-24 | 青岛海信传媒网络技术有限公司 | Upgrade package downloading method and display device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7475233B2 (en) * | 2003-05-20 | 2009-01-06 | Intel Corporation | Method and apparatus for displaying a language specific text string in a pre-boot environment |
CN100456239C (en) * | 2007-08-28 | 2009-01-28 | 中国科学院软件研究所 | Multiple language self-adapting method of graphical user interface |
-
2014
- 2014-03-28 CN CN201410124037.5A patent/CN103885805B/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992472A (en) * | 2019-02-25 | 2019-07-09 | 努比亚技术有限公司 | A kind of interface monitoring method, terminal and computer readable storage medium |
CN113438296A (en) * | 2021-06-22 | 2021-09-24 | 青岛海信传媒网络技术有限公司 | Upgrade package downloading method and display device |
CN113438296B (en) * | 2021-06-22 | 2023-01-10 | 青岛海信传媒网络技术有限公司 | Upgrade package downloading method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN103885805B (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109933348B (en) | Method and device for updating Bootloader in electronic control unit | |
CN103092665B (en) | Immediate updating device and immediate updating method | |
CN106325847B (en) | Method and device for acquiring application program function based on iOS platform | |
CN102830984B (en) | Method, chip and the communication terminal that firmware updates | |
CN108829477B (en) | Interface jump method, device, computer equipment and storage medium | |
CN107451474B (en) | Software bug fixing method and device for terminal | |
CN107992308B (en) | Plug-in management method for android terminal application program | |
CN106406961A (en) | Method and device for loading and providing application based on browser | |
CN111881019B (en) | User interface testing method and device | |
CN104375856A (en) | Application updating method and device | |
CN103106092A (en) | System software updating method and device in terminal appliance | |
CN111427596B (en) | Software upgrading method and device and terminal equipment | |
CN108874464B (en) | Automatic scanning assembly method and device for middleware and storage medium | |
CN111897570A (en) | Multi-dependency file extraction method and device based on Maven plug-in | |
CN105373381B (en) | Manufacturing method and manufacturing system of desktop starter of mobile terminal | |
CN107301077A (en) | A kind of embedded device firmware upgrade system | |
CN103793248A (en) | Method and device for upgrading application program | |
CN109062616A (en) | System self-adaption method, mobile terminal and the storage medium of mobile terminal | |
CN107729042A (en) | Mobile solution upgrade method and device, storage medium, electronic equipment | |
CN111563032A (en) | APP debugging method and device, computer equipment and storage medium | |
CN105786568B (en) | A kind of updated contents display methods, device and intelligent terminal | |
CN103365672B (en) | A kind of method and system processing the descriptor of application program | |
CN103885805A (en) | Software running interface identification data loading method and system | |
CN110990177B (en) | Fault repairing method, device, system, storage medium and electronic equipment | |
US20120110383A1 (en) | Method and apparatus for off-line analyzing crashed programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |