CN101111032B - Method and system for downloading software - Google Patents

Method and system for downloading software Download PDF

Info

Publication number
CN101111032B
CN101111032B CN2007101457175A CN200710145717A CN101111032B CN 101111032 B CN101111032 B CN 101111032B CN 2007101457175 A CN2007101457175 A CN 2007101457175A CN 200710145717 A CN200710145717 A CN 200710145717A CN 101111032 B CN101111032 B CN 101111032B
Authority
CN
China
Prior art keywords
file
unique identification
parameter value
address
desired parameters
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.)
Expired - Fee Related
Application number
CN2007101457175A
Other languages
Chinese (zh)
Other versions
CN101111032A (en
Inventor
李夏忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2007101457175A priority Critical patent/CN101111032B/en
Publication of CN101111032A publication Critical patent/CN101111032A/en
Application granted granted Critical
Publication of CN101111032B publication Critical patent/CN101111032B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a method and system for unloading soft-wares. Therein, the method comprises the following procedure: an exclusive mark is added at the position of the beginning of each file in the file system; before a software is unloaded, the exclusive mark of each file in the file system is sought, and the address of the exclusive mark is acquired. The actual address of the required parameter is calculated according to the address of the exclusive mark and the deviation quantity of the parameter in the corresponding file, and the parameter value of the required parameter is acquired. After the parameter value of the required parameter is acquired, whether the parameter value satisfies the requirement is judged, and whether to perform the software unloading is determined according to the judgment result. Therefore, the technology of the present invention has greater commonality, the present invention facilitates the user, the application scope is wide and the present invention is simple and easy.

Description

Software downloading method and system
Technical field
The present invention relates to the wireless communication technique field, more specifically, relate to a kind of wireless access terminal software downloading method and system.
Background technology
The wireless access terminal, for example, adopt the wireless access fixed station (hereinafter to be referred as fixed station) of CDMA or GSM wireless access ways such as (Global System forMobile communications), (for example: the voltage controlled oscillator parameter of fixed station can recomputate according to different hardware case when wherein some parameter starts after software download for the first time, be VCO parameter (Voltage Control Oscillation) etc.), therefore must before software download, at first obtain the concrete numerical value of these parameters, and judge whether satisfy the download condition according to the numerical value of reality.For example the VCO parameter when starting for the first time, if the numerical value of V parameter CO is 0, then can recomputate VCO numerical value according to this machine hardware condition after software download, and this situation satisfies downloading request; If the numerical value of V parameter CO is not 0, then can not recomputate, might not the parameter of this machine hardware condition and start occurs and be in off-line state just cause original non-0 parameter like this.
Thereby, need a kind of software downloading method to guarantee that before software download the numerical value of VCO is 0, a kind of software downloading method must be provided, before target machine, just know the isoparametric concrete numerical value of VCO in software download.And parameters such as VCO to be mode with file system be stored in the memory, but since physical address during the file system each run normally change, so the actual physical address can't know parameter storage such as VCO the time.In the prior art, the way that addresses this problem is that the physical address of file system when at every turn making up remains unchanged (as shown in Figure 1), the drawback of this mode is that the shared address of this document can't continue to use when certain file is deleted, cause the serious waste of physical space, this being wasted on the embedded device that memory spaces such as wireless terminal are of great rarity can't allow.
Thereby, be badly in need of a kind of new mode, the memory location that can make each file in file system is dynamic change, and file is not to obtain specific parameter value under the tactic situation, and determines whether to carry out software download according to the parameter value that is obtained.
Summary of the invention
In order to solve the problems of the prior art, the present invention proposes a kind of scheme of downloading software, it can realize that various parameters are bright for development﹠ testing personnel full impregnated, and reaching when dispatching from the factory various parameters can bring bigger convenience for the terminal use inserts cdma network fully according to client's needs.
The invention provides a kind of software downloading method, be applied to the wireless access terminal, may further comprise the steps: step 1, the place that each file in file system begins all increases unique identification; Step 2, before downloading software, the unique identification of each file in the locating file system, and obtain the address at unique identification place; Step 3, address and the side-play amount of desired parameters in respective file according to the unique identification place calculate the actual address of desired parameters, and obtain the parameter value of desired parameters; And step 4, after obtaining the parameter value of desired parameters, judge whether parameter value meets the demands, and determine whether to carry out software download according to judged result.
Judging under the situation that parameter value meets the demands, determine to carry out software download, otherwise do not carry out software download.
In addition, the unique identification of each file in the locating file system is realized by string matching.
The present invention also provides a kind of system that downloads software, is applied to the wireless access terminal, comprising: the unique identification adding device, and being used for the place that each file in file system begins all increases unique identification; Search the unit, be used for before downloading software, the unique identification of each file in the locating file system, and obtain the address at unique identification place; Acquiring unit is used for according to the address at unique identification place and desired parameters calculating the actual address of desired parameters, and obtaining the parameter value of desired parameters in the side-play amount of respective file; And judging unit, be used for after obtaining the parameter value of desired parameters, judge whether parameter value meets the demands, and determine whether to carry out software download according to judged result.
Wherein, judging unit is determined to carry out software download, otherwise is not carried out software download judging under the situation that parameter value meets the demands.
Unique identification is the character string of presetting.The length of character string is not less than 10.
Thereby, adopt the present invention, add a specific identifier in the place that file begins, the purpose of these specific identifiers is for files different in the compartment system, is a kind of sign of filename.Before downloading, the specific identifier position of each file in the locating file system at first, and according to the side-play amount of specific identifier position calculation needs parameter in respective file, find the physical address of this parameter, and then take out the actual numerical value of this parameter very easily, and determine whether to carry out software download according to the actual numerical value of being taken out according to the physical address of parameter.Just can know the value of this parameter like this before the target machine in software download, finally all provide advantageous methods for software development, debugging and test, realize that various parameters are bright for development﹠ testing personnel full impregnated, reach when dispatching from the factory various parameters and can improve client's satisfaction fully according to client's needs.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram that physical address remains unchanged when making up file in the prior art at every turn;
Fig. 2 is the flow chart according to the method for the value of getting parms before the download software of the present invention;
Fig. 3 is the schematic diagram that the storage positions of files of the embodiment of the invention changed, had specific identifier;
Fig. 4 is the known specific identifier of the embodiment of the invention and the schematic diagram that relative displacement, calculating need parameter; And
Fig. 5 is the block diagram according to the system of the value of getting parms before the download software of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 2 is the flow chart according to the method for the value of getting parms before the download software of the present invention.As shown in Figure 2, this method may further comprise the steps:
Step S202, the place that each file in file system begins all increases unique identification;
Step S204, before downloading software, the unique identification of each file in the locating file system, and obtain the address at unique identification place;
Step S206, address and the side-play amount of desired parameters in respective file according to the unique identification place calculate the actual address of desired parameters, and obtain the parameter value of desired parameters; And
Step S208 after obtaining the parameter value of desired parameters, judges whether parameter value meets the demands, and determines whether to carry out software download according to judged result.
Judging under the situation that parameter value meets the demands, determine to carry out software download, otherwise do not carry out software download.
Wherein, unique identification is the character string of presetting.The length of character string is not less than 10.
In addition, the unique identification of each file in the locating file system is realized by string matching.
Fig. 3 is the schematic diagram that the storage positions of files of the embodiment of the invention changed, had specific identifier, and Fig. 4 is the known specific identifier of the embodiment of the invention and the schematic diagram that relative displacement, calculating need parameter.Below with reference to Fig. 3 and Fig. 4 method of the present invention is described in detail.
The present invention is described in detail below with reference to Fig. 3 and Fig. 4.The specific implementation method of the value of getting parms comprises following step before the download software:
Step 1, the place that each file in file system begins all adds a specific identifier, and the purpose of these specific identifiers is for files different in the compartment system, is a kind of sign of filename.This sign is certain special character string, and each file of sign that can be unique requires the length of character string to be not less than 10, for example * *File1 *
Step 2, before downloading, the at first position at the specific identifier place of each file, the i.e. deposit position of the special string of each file of unique identification in the locating file system.For example, as the file among Fig. 32.Then, the specific identifier of locating file is just searched the character string content and is in system * *File2 * *, this process of searching character string is finished by " searching the unit ", and wherein, this element is realized by string matching.In addition, noting the concrete deposit position of this character string when finding character string, promptly is exactly the position (as shown in Figure 4) at specific identifier place, thereby obtains the absolute address` A of the specific identifier of file f ile2;
Step 3, (parameter is example with VCO here according to the specific identifier position that finds and parameter side-play amount hereof, similar parameters also has ESN (Electronic Serial Number, ElectronicSerial Number) etc.), find the physical address of VCO, take out the actual numerical value (as shown in Figure 4) of VCO according to the physical address of VCO, the specific identifier absolute address` A that obtains according to step 2 then, and according to the side-play amount b of VCO, thereby calculate the absolute physical address A+b of VCO, obtain the actual numerical value of VCO from A+b; And
Step 4 if the numerical value of V parameter CO is 0, then can recomputate VCO numerical value according to this machine hardware condition.
This situation in step 4 satisfies downloading request, then carries out software download; If the numerical value of V parameter CO is not 0, then can not recomputate, the discontented foot of this situation is carried requirement, can not carry out software download.
In this embodiment, disclose a kind of value of getting parms before the software download that on the product of wireless access terminal, realizes, realized that various parameters are bright for development﹠ testing personnel full impregnated, reached that various parameters can be fully according to client's needs when dispatching from the factory.The method of the present invention's value of getting parms before software download, thought uniqueness, novelty, simple, easy row.
Fig. 5 is the block diagram according to the system of the value of getting parms before the download software of the present invention.As shown in Figure 5, this system comprises: unique identification adding device 502, and being used for the place that each file in file system begins all increases unique identification; Search unit 504, be used for before downloading software, the unique identification of each file in the locating file system, and obtain the address at unique identification place; Acquiring unit 506 is used for according to the address at unique identification place and desired parameters calculating the actual address of desired parameters, and obtaining the parameter value of desired parameters in the side-play amount of respective file; And judging unit 508, be used for after obtaining the parameter value of desired parameters, judge whether parameter value meets the demands, and determine whether to carry out software download according to judged result.
Wherein, judging unit 508 is determined to carry out software download, otherwise is not carried out software download judging under the situation that parameter value meets the demands.
Unique identification is the character string of presetting.The length of character string is not less than 10.
In addition, search the unit and search unique identification by string matching.
In sum, because technology of the present invention has bigger versatility, all can carry out the value of getting parms before the software download and determine the download of software according to parameter value at the WiMAX that wireless access function is provided, GSM, PHS, WCDMA, TD-SCDMA, the single mode/multi-mode wireless product that accesses terminal with the present invention, make things convenient for the user, applied widely, also simple.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a software downloading method is applied to the wireless access terminal, it is characterized in that, may further comprise the steps:
Step 1, the place that each file in file system begins all increases unique identification;
Step 2 before downloading software, is searched the described unique identification of each file in the described file system, and is obtained the address at described unique identification place;
Step 3, address and the side-play amount of desired parameters in respective file according to described unique identification place calculate the actual address of desired parameters, and obtain the parameter value of described desired parameters; And
Step 4 after obtaining the parameter value of described desired parameters, is judged whether described parameter value meets the demands, and is determined whether to carry out software download according to judged result.
2. method according to claim 1 is characterized in that, judging under the situation that described parameter value meets the demands, determines to carry out software download, otherwise does not carry out software download.
3. method according to claim 1 and 2 is characterized in that, described unique identification is the character string of presetting.
4. method according to claim 3 is characterized in that, the described described unique identification of searching each file in the described file system is realized by string matching.
5. a system that downloads software is applied to the wireless access terminal, it is characterized in that, comprising:
The unique identification adding device, being used for the place that each file in file system begins all increases unique identification;
Search the unit, be used for before downloading software, searching the described unique identification of each file in the described file system, and obtaining the address at described unique identification place;
Acquiring unit is used for according to the address at described unique identification place and desired parameters calculating the actual address of desired parameters, and obtaining the parameter value of described desired parameters in the side-play amount of respective file; And
Judging unit is used for after obtaining the parameter value of described desired parameters, judges whether described parameter value meets the demands, and determines whether to carry out software download according to judged result.
6. system according to claim 5 is characterized in that, described judging unit is determined to carry out software download, otherwise do not carried out software download judging under the situation that described parameter value meets the demands.
7. according to claim 5 or 6 described systems, it is characterized in that described unique identification is the character string of presetting.
8. system according to claim 7 is characterized in that, the length of described character string is not less than 10.
CN2007101457175A 2007-08-31 2007-08-31 Method and system for downloading software Expired - Fee Related CN101111032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101457175A CN101111032B (en) 2007-08-31 2007-08-31 Method and system for downloading software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101457175A CN101111032B (en) 2007-08-31 2007-08-31 Method and system for downloading software

Publications (2)

Publication Number Publication Date
CN101111032A CN101111032A (en) 2008-01-23
CN101111032B true CN101111032B (en) 2010-12-29

Family

ID=39042884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101457175A Expired - Fee Related CN101111032B (en) 2007-08-31 2007-08-31 Method and system for downloading software

Country Status (1)

Country Link
CN (1) CN101111032B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179254A (en) * 1995-01-30 1998-04-15 艾利森电话股份有限公司 Flexible downloading of software
CN1223405A (en) * 1998-01-14 1999-07-21 三星电子株式会社 Method for controlling preventive maintenance cycles of semiconductor fabricating equipments arranged in controlling system
CN1346086A (en) * 2000-09-26 2002-04-24 开碁数位科技股份有限公司 System and method capable of updating one program executing file being in process of excecution
CN1366244A (en) * 2001-01-18 2002-08-28 索尼服务中心(欧洲)股份有限公司 Method and device for providing unloaded object to application program
CN1452074A (en) * 2003-05-21 2003-10-29 无敌科技(西安)有限公司 Charge software unload system and use method thereof
CN1687899A (en) * 2005-06-15 2005-10-26 大唐微电子技术有限公司 Method, system and module for dynamic downloading of applied programe to user identification
CN1739095A (en) * 2002-12-11 2006-02-22 诺基亚公司 Downloading software applications
CN1898643A (en) * 2003-10-27 2007-01-17 美国能量变换公司 System and method for updating a software program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179254A (en) * 1995-01-30 1998-04-15 艾利森电话股份有限公司 Flexible downloading of software
CN1223405A (en) * 1998-01-14 1999-07-21 三星电子株式会社 Method for controlling preventive maintenance cycles of semiconductor fabricating equipments arranged in controlling system
CN1346086A (en) * 2000-09-26 2002-04-24 开碁数位科技股份有限公司 System and method capable of updating one program executing file being in process of excecution
CN1366244A (en) * 2001-01-18 2002-08-28 索尼服务中心(欧洲)股份有限公司 Method and device for providing unloaded object to application program
CN1739095A (en) * 2002-12-11 2006-02-22 诺基亚公司 Downloading software applications
CN1452074A (en) * 2003-05-21 2003-10-29 无敌科技(西安)有限公司 Charge software unload system and use method thereof
CN1898643A (en) * 2003-10-27 2007-01-17 美国能量变换公司 System and method for updating a software program
CN1687899A (en) * 2005-06-15 2005-10-26 大唐微电子技术有限公司 Method, system and module for dynamic downloading of applied programe to user identification

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
OMA Device Management Protocol Approved Version 1.2.OMA-TS-DM_Protocol-V1_2-20070209-A.2007, *

Also Published As

Publication number Publication date
CN101111032A (en) 2008-01-23

Similar Documents

Publication Publication Date Title
CN103902696B (en) A kind of method and device for loading resource file
CN110727499A (en) Resource data acquisition method and device, computer equipment and storage medium
CN105335187A (en) Application processing method and apparatus
CN107707584B (en) Application loading method, terminal and platform server
CN105373595B (en) data self-classification storage method and terminal
CN110543324B (en) Plug-in increment updating method and device for application program
CN101997853A (en) Data downloading method and terminal
CN112100541B (en) Method and device for loading website page element, electronic device and storage medium
CN101447006A (en) Method for providing file security information and security information processing system
CN105468660A (en) Reading method for distributed file system, client device and distributed file system
CN104346345A (en) Data storage method and device
CN111881150A (en) Web application program offline data processing method and device
CN101646162A (en) Mobile terminal software upgrading method and system based on OTA
CN113204378A (en) Configuration file state synchronization method, device, terminal, server and storage medium
CN108319634B (en) Directory access method and device for distributed file system
MXPA04007146A (en) Method and apparatus for late-binding/dynamic pathname resolution.
CN105119975A (en) Resource downloading method and resource downloading system
CN103987064A (en) Access point (AP) upgrading method and device
CN105912357B (en) Starting method and device of hybrid application
CN101111032B (en) Method and system for downloading software
CN102053842B (en) Method and device for improving BOOT compatibility
CN115048181A (en) Heat deployment method and device based on Kubernetes container cloud platform and application
CN109684303B (en) Communication code attribution inquiry method and device, computer equipment and storage medium
CN110096295B (en) Multi-module mobile application thermal updating method and system based on reactivating
US20160277919A1 (en) Mobile Terminal Configuration Method and System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101229

Termination date: 20170831