Movatterモバイル変換


[0]ホーム

URL:


CN101631294B - Software upgrading method based on short message protocol - Google Patents

Software upgrading method based on short message protocol
Download PDF

Info

Publication number
CN101631294B
CN101631294BCN2009103055541ACN200910305554ACN101631294BCN 101631294 BCN101631294 BCN 101631294BCN 2009103055541 ACN2009103055541 ACN 2009103055541ACN 200910305554 ACN200910305554 ACN 200910305554ACN 101631294 BCN101631294 BCN 101631294B
Authority
CN
China
Prior art keywords
note
short message
parameters
platform
execution
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
CN2009103055541A
Other languages
Chinese (zh)
Other versions
CN101631294A (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.)
Xiamen Stelcom Information & Technology Co Ltd
Original Assignee
Xiamen Stelcom Information & Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Stelcom Information & Technology Co LtdfiledCriticalXiamen Stelcom Information & Technology Co Ltd
Priority to CN2009103055541ApriorityCriticalpatent/CN101631294B/en
Publication of CN101631294ApublicationCriticalpatent/CN101631294A/en
Application grantedgrantedCritical
Publication of CN101631294BpublicationCriticalpatent/CN101631294B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a software update method based on a short message protocol, which comprises the following steps: a platform obtains a terminal telephone number to be upgraded and reads the upgraded data for the terminal, and the upgraded data comprises a plurality of parameters; the platform loads the upgraded data in a plurality of short messages according to the short message protocol, and each short message loads a plurality of parameters, wherein the short message comprises a short message total, a short message serial number, a short message command number and a plurality of commands corresponding to the parameters, and the commands comprise the command data volume, the command serial number and the command parameter; the platform transmits the upgraded data to the terminal; the terminal receives the upgraded data; the platform resolves the short messages to obtain the parameters as well as the upgraded data; and the terminal configures the upgrade terminal according to the upgraded data. As each short message can load a plurality of parameters, the short message number is decreased, the total expense for sending short messages and the upgrade cost are reduced; in addition, the parameters can be combined flexibly and the volume of each short message is fully used.

Description

A kind of method for upgrading software based on short message protocol
Affiliated technical field
The present invention relates to a kind of method for upgrading software based on short message protocol.
Background technology
Early stage terminal software upgrading need adopt artificial upgrading, needs to adopt direct, wired upgrading mode.Adopt direct, wired upgrading mode, have the deficiency of upgrading inconvenience, this deficiency is especially outstanding in remote local mountain area.Have the people to propose to adopt note to carry out the solution of wireless remote upgrading terminals to this deficiency, for example the Chinese patent database is at CN200510098761.6, and denomination of invention is for carrying out the method that active inquiry is safeguarded to portable terminal.Existing employing note is upgraded needs following deficiency: every note of upgrade data can only be loaded a parameter, and upgrade data need send many notes, sends loaded down with trivial details, the upgrade cost height.
Summary of the invention
The present invention provides a kind of method for upgrading software based on short message protocol, its note that has overcome background technology high deficiency of existing upgrade cost of upgrading.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method for upgrading software based on short message protocol, it comprises:
Step 10, platform are obtained needs the upgrading terminals telephone number, and platform reads the upgrade data that is used for the terminal, and this upgrade data is made up of a plurality of parameters;
Step 20; Platform is loaded in a plurality of notes according to short message protocol with upgrade data; This each note all is mounted with a plurality of parameters; Wherein, this note includes note sum, note sequence number, this note command number and many orders corresponding to parameter, and this order comprises the parameter of this order data amount, this command sequence number and this order;
Step 30, platform sends those upgrade datas to the terminal;
Step 40, the terminal receives those upgrade datas;
Step 50, platform are resolved those notes to obtain those parameters, obtain this upgrade data;
Step 60, the terminal disposes upgrading terminals according to upgrade data.
In one preferred embodiment, this order also includes this command execution mode.
In one preferred embodiment, in this step 20, it comprises:
Step 21 according to the data capacity of note and the data volume of the parameter in the upgrade data, calculates this note and can load what parameters, and reads this a few parameters;
Step 22 is all formed an order with each parameter in these a few parameters that read;
Step 23 is formed note with those orders;
Step 24 judges whether all parameters of upgrade data all have been loaded into note, and if not execution in step 21 forming next note, otherwise execution in step 30.
In one preferred embodiment, this step 30, it comprises:
Step 31, platform is formed a task with a plurality of notes;
Step 32, whether the time of judging adding of task is greater than predetermined interval, if then this task is delivered to task queue to be sent;
Step 33 judges whether task queue to be sent is empty, if then finish, otherwise execution in step 34;
Step 34 reads a task of task queue to be sent;
Whether step 35 judge sends number of times greater than maximum number of times of transmission, if execution in step 33 then, otherwise execution in step 36;
Step 36 is sent a plurality of notes of this task;
Step 37 judges whether note sends success, if execution in step 38 then, otherwise execution in step 39;
Step 38, prompting is sent successfully, and execution in step 33;
Step 39, failure is sent in prompting, and execution in step 33.
In one preferred embodiment, this step 50, it comprises:
Step 51, platform is resolved note, all orders of obtaining every note;
Step 52, platform accurately read out each bar parameter of every note according to the data volume of order, obtain this upgrade data.
The present technique scheme is compared with background technology: because every note can be loaded a plurality of parameters; Therefore it to have overcome background technology not enoughly and have following advantage existing: 1, reduce the note amount; Practice thrift note data; Reduce note and send total cost, reduce upgrade cost, improve the efficient of upgrading terminal parameter; 2, can carry out parameter combinations flexibly, can make full use of the capacity of every note, single note multi-parameter has so just reduced interaction times, so also just improves success rate for upgrading; 3, utilize the order data amount of every order in the note to limit this parameter, during parsing accurately fast resolving go out supplemental characteristic, can avoid in every note a plurality of parameters to obscure.Because order also includes this command execution mode; Therefore the terminal can be confirmed executive mode in view of the above; For example upgrade parameter reply (replying this parameter configuration success), upgrade parameter to platform do not reply, remove structure after configuration, inquiry, inquiry return, dispose and return etc.; Therefore the border situation is upgraded flexibly factually, can reduce alternately, also reduces upgrade cost.。The a plurality of parameters of the combination of this method become the step of note, can make full use of the capacity of every note.The platform forwarding step of this method can send fast, accurately sends.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
Fig. 1 is the flow chart of the collocation method of the present invention's one preferred embodiment.
Fig. 2 is the flow chart that the platform of the collocation method of the present invention's one preferred embodiment sends.
Embodiment
A kind of method for upgrading software based on short message protocol is please referred to Fig. 1, and it comprises:
Step 10, platform are obtained needs the upgrading terminals telephone number, and platform reads the upgrade data that is used for the terminal, and this upgrade data is made up of a plurality of parameters;
Step 20; Platform is loaded in a plurality of notes according to short message protocol with upgrade data; This each note all is mounted with a plurality of parameters; Wherein, this note includes note sum, note sequence number, this note command number and many orders corresponding to parameter, and this order comprises the parameter of this order data amount, this command execution mode, this command sequence number and this order;
This note structure is as shown in the table:
AbbreviationTitle
IDIdentifier
OPCommand code
SNSerial number
MNThe short message number
MIDThe short message sequence number
CCCommand number
DATA1The first command data
……
DATAnN bar order data
These imperative structures are as shown in the table:
AbbreviationTitle
DLData length
CMCommand number
CTCommand type
DATAOrder data
Step 30, platform sends those upgrade datas to the terminal;
Step 40, the terminal receives those upgrade datas;
Step 50, platform are resolved those notes to obtain those parameters, obtain this upgrade data;
Step 60, the terminal disposes upgrading terminals according to upgrade data;
Step 70, terminal are sent the note of informing of configuration successful or failure to platform;
Step 80, platform receives this and informs note.
This step 20, it comprises:
Step 21 according to the data capacity of note and the data volume of the parameter in the upgrade data, calculates this note and can load what parameters, and reads this a few parameters;
Suppose the terminal parameter of need upgrading:
Parameter command number (No.n)The parameter titleValue
No.1PARA1V1
No.2PARA2V2
No.3PARA3V3
Step 22 is all formed an order with each parameter in these a few parameters that read;
Above three parameters can produce three order datas according to agreement:
DATA1=DL1+No.1+X1+V1
DATA2=DL2+No.2+X2+V2
DATA3=DL3+No.3+X3+V3
Step 23 is formed note with those orders;
Generate the data of a parameter upgrading order: DATA=ID+OP+SN+MN+MID+03+DATA1+DATA2+DATA3;
Step 24 judges whether all parameters of upgrade data all have been loaded into note, and if not execution in step 21 forming next note, otherwise execution in step 30.
Wherein: upgrade parameter (X1), upgrade parameter do not dispose (X3), inquiry (X4) after not replying (X2), removing structure, inquiry is returned (X5), disposed and return (X6).
Please refer to Fig. 2, this step 30, it comprises:
Step 31, platform is formed a task with a plurality of notes;
Step 32, whether the time of judging adding of task is greater than predetermined interval, if then this task is delivered to task queue to be sent;
Step 33 judges whether task queue to be sent is empty, if then finish, otherwise execution in step 34;
Step 34 reads a task of task queue to be sent;
Whether step 35 judge sends number of times greater than maximum number of times of transmission, if execution in step 33 then, otherwise execution in step 36;
Step 36 is sent a plurality of notes of this task;
Step 37 judges whether note sends success, if execution in step 38 then, otherwise execution in step 39;
Step 38, prompting is sent successfully, and execution in step 33;
Step 39, failure is sent in prompting, and execution in step 33.
Adopt the transmission of this step, can handle the transmission timeout issue, for example: current task T1, if do not handle successfully, just no longer handle current task T1, begin to handle next task T2, current task T1 just waits for that next round handles again.It has advantage: whether current task handles success can not influence the back task handling.
This step 50, it comprises:
Step 51, platform is resolved note, all orders of obtaining every note;
Step 52, platform accurately read out each bar parameter of every note according to the data volume of order, obtain this upgrade data.
This method is simple and easy to usefulness, and is safe and reliable, makes full use of the advantage of note, as required, can also partly carry out encryption to parameter command.
Can be to switch shape parameter (parameter of bool value type), character string and integer type parameter, number section tabulation line parameter, be exactly that blocks of files parameter etc. is carried out the parameter upgrading processing in addition, these parameters fully can mix and match.
The method of upgrading can be handled single terminal, also can be to a plurality of terminal processes.
If simultaneously many station terminals are carried out the parameter upgrading, can send to each terminal that to upgrade to the data of " termination number+DATA "; So just can realize simultaneously many station terminals being carried out the parameter upgrading.
The above is merely preferred embodiment of the present invention, so can not limit the scope that the present invention implements with this, the equivalence of promptly doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that patent of the present invention contains.

Claims (5)

CN2009103055541A2009-08-122009-08-12Software upgrading method based on short message protocolExpired - Fee RelatedCN101631294B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2009103055541ACN101631294B (en)2009-08-122009-08-12Software upgrading method based on short message protocol

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2009103055541ACN101631294B (en)2009-08-122009-08-12Software upgrading method based on short message protocol

Publications (2)

Publication NumberPublication Date
CN101631294A CN101631294A (en)2010-01-20
CN101631294Btrue CN101631294B (en)2012-03-28

Family

ID=41576192

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2009103055541AExpired - Fee RelatedCN101631294B (en)2009-08-122009-08-12Software upgrading method based on short message protocol

Country Status (1)

CountryLink
CN (1)CN101631294B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111258939A (en)*2020-01-102020-06-09浪潮商用机器有限公司Parameter combination obtaining method, device and system of transmission line model

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1249112A (en)*1997-02-262000-03-29艾利森电话股份有限公司Method and apparatus for remotely upgrading control software in a cellular telephone
CN1645801A (en)*2005-03-012005-07-27北京立通无限科技有限公司Method for automatic mobile customer terminal downloading or updating software by WAP PUSH short message
CN1731881A (en)*2005-09-072006-02-08中国移动通信集团公司 Method for actively querying and maintaining mobile terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1249112A (en)*1997-02-262000-03-29艾利森电话股份有限公司Method and apparatus for remotely upgrading control software in a cellular telephone
CN1645801A (en)*2005-03-012005-07-27北京立通无限科技有限公司Method for automatic mobile customer terminal downloading or updating software by WAP PUSH short message
CN1731881A (en)*2005-09-072006-02-08中国移动通信集团公司 Method for actively querying and maintaining mobile terminals

Also Published As

Publication numberPublication date
CN101631294A (en)2010-01-20

Similar Documents

PublicationPublication DateTitle
CN101702793B (en)Implementation method, system and equipment of USSD service in CDMA network
CN103037314A (en)Method and equipment used for sending group messages on mobile terminal in independent network
CN101719954B (en)Method and device for realizing shot message topping
CN101867617A (en)File uploading method base on mobile terminal and system and uploading server thereof
RU2008137607A (en) AUTOMATED TRANSFORMATION OF ACCOUNTS IN THE SETTLEMENT SYSTEM WITH WIRELESS COMMUNICATION SUBSCRIBERS
CN105530630B (en)A kind of OTA upgrade method and equipment
CN113543048A (en)5G message fallback method and device
CN100561972C (en) Media type adaptation method and system based on download service
CN102075985A (en)Version upgrading method and device of RTR (Radio Teletype Receiver) single board
CN100441012C (en)A method for update of mobile terminal subscriber interface
CN101631294B (en)Software upgrading method based on short message protocol
CN101026804B (en)System and method for processing short message value-added business
CN101730293A (en)Method for exchanging cellphone directory by wireless transmission mode
CN101754421A (en)File transmission method based on Bluetooth transmission protocol, system and mobile terminal
CN104066064A (en)SMS gateway distributed control system based on concurrency and method thereof
CN103888264A (en)Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN101449539A (en)Connection configuration in a wireless telecommunications system using hash values
CN102378123A (en)Processing method of temporary group and group system
CN107071756A (en)The method and device that a kind of D2D sub-clusterings are retransmitted
CN101170467A (en)Apparatus, and associated method, by which to store specific network identifiers at a wireless device
CN102820974A (en)Mobile communication network based net bar management system and implement method
CN106255179A (en)The method and apparatus of distribution in WLAN
CN102572735A (en)Method and device for opening mobile communication alliance
CN102567656A (en)Ad Hoc based mobile terminal virus searching and removing method
CN101883345A (en)Method and device for processing AT command

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
C17Cessation of patent right
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20120328

Termination date:20130812


[8]ページ先頭

©2009-2025 Movatter.jp