CN101399852B - Method for realizing wireless access kit upgrading through network interface - Google Patents

Method for realizing wireless access kit upgrading through network interface Download PDF

Info

Publication number
CN101399852B
CN101399852B CN 200710152015 CN200710152015A CN101399852B CN 101399852 B CN101399852 B CN 101399852B CN 200710152015 CN200710152015 CN 200710152015 CN 200710152015 A CN200710152015 A CN 200710152015A CN 101399852 B CN101399852 B CN 101399852B
Authority
CN
China
Prior art keywords
wireless access
upgrading
state data
network interface
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.)
Expired - Fee Related
Application number
CN 200710152015
Other languages
Chinese (zh)
Other versions
CN101399852A (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 CN 200710152015 priority Critical patent/CN101399852B/en
Publication of CN101399852A publication Critical patent/CN101399852A/en
Application granted granted Critical
Publication of CN101399852B publication Critical patent/CN101399852B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for updating a wireless access box by a network interface, which comprises: a computer continuously sends a plurality of handshaking signals to the wireless access box by the network interface untill receiving handshaking response signals from the wireless access box; a user selects one or more updating-needed option displayed on the computer after the handshaking response signals are received, and data corresponding to the selected updating-needed option is packed and sent to the wireless access box; the wireless access box unpacks the received data packets and executes operations corresponding to the updating-needed option and sends the generated state data packets back to the computer by the network interface; the computer determines subsequent treatment according to the state data packets. The use of stations and cables is reduced, the download speed and the production efficiency are improved, the number of external interfaces is reduced, and no individual data cable is provided for a customer, thus simplifying user action.

Description

Realize the method for wireless access kit upgrading by network interface
Technical field
The present invention relates to moving communicating field, relate in particular to wireless access box and producing and going up after sale the method for carrying out software download upgrading and various parameter backup recoverings by PC.
Background technology
The definition of wireless access box is a kind of terminal that adopts wireless communication mode, is a kind of transportable wireless communication terminal.It externally provides the RJ45 network interface, is connected the wireless Internet access business etc. that realizes with computer.Function can also be expanded.The present invention is applicable to that CDMA and WCDMA support the wireless access box of online to carry out the realization of software upgrading function.It comprises that cdma wireless inserts box, WCDMA wireless access box.
Be accompanied by the expansion day by day of mobile terminal performance, operator and terminal use also emerge in an endless stream to the functional requirement of wireless access box.How to implement effectively management at the various software/firmwares that move on the wireless access box, to guarantee each processor operate as normal of terminal equipment, guarantee that the user obtains favorable experience, and improve service quality, effectively reduce cost of equipment maintenance and all bringing into play important role.
Along with developing rapidly of wireless telecommunications market, the wireless access box at home and abroad demand in market rolls up.Be undoubtedly very important function for wireless access box software upgrading and parameter backup recovering, improving user satisfaction, strengthen the product competitiveness aspect and have obvious effect.
Central processing element to the wireless access box product has two, three even a plurality of central processing element at present, the upgrade method current to the software systems of moving on each chip is: externally provide interface by each chip, connect each chip interface respectively by PC and realize upgrading.Such scheme has increased the production station on the one hand, simultaneously, because external interface protocol and standard that each chip provides have nothing in common with each other, can't unify cable and interface transmission rate, causes the inefficiency of upgrading, and product cost rises; Owing to increased the external interface that inserts box, cause infrastructure cost to rise on the other hand, bring negative effect to product appearance, also needing has increased user's use difficulty for the user provides unnecessary cable, reduces customer satisfaction.Therefore, how to reduce and insert box product external interface, improving product download and upgrade efficient is to improve a major issue of product competitiveness.Owing to need in the wireless access box product basic function to be connected realization wireless access function of surfing the Net by the RJ45 interface with PC, thereby its external interface that must externally provide is the RJ45 interface, and this patent promptly is to adopt the RJ45 network interface to be connected the quick-downloading upgrade function of realization wireless access box product software with PC.
Summary of the invention
Consider the problems referred to above and make the present invention, for this reason, main purpose of the present invention is, a kind of method by network interface realization wireless access kit upgrading is provided, and it comprises:
Step S102, computer sends a plurality of handshake by network interface continuously to wireless access box, until the handshake response signal of receiving wireless access box, wherein, network interface can be the RJ45 network interface, can comprise main control chip characteristic information and other chip features information in the handshake response signal;
Step S104 receives after the handshake response signal, and the user chooses one or more from upgrading the desired option that computer shows, will be with predefined procedure corresponding to the packing data of upgrading the desired option of choosing, and packet sent to wireless access box;
Step S106, wireless access box unpacks packet after the packet that receives, and carries out and the corresponding operation of upgrading the desired option, and by network interface the state data packets that generates is turned back to computer; And
Step S108, computer is determined subsequent treatment according to state data packets.
Upgrading the desired option can be to determine according to the data message in the main control chip characteristic information in the handshake response signal that obtains by analysis and other chip features information and the computer.
Upgrading the desired option can comprise upgrading Kernel, upgrading Code, upgrading PARA, backup NV and recover among the NV one or multinomial.
Predefined procedure can be the order of parameter backup, memory erase, download and upgrade and parameter recovery.
State data packets can comprise executing state data or error state data.
Whether step S108 can comprise: send by the executing state data judgment data bag in the state data packets and finish, do not finish if packet sends, then execution in step S106 finishes if packet sends, then make the Z interface be in ringing condition, and demonstration is upgraded successfully on computers.
Step S108 can comprise: if packet sends failure, judge whether the retransmission data bag by the error state data in the state data packets, if the retransmission data bag, execution in step S106 then, otherwise wireless access kit upgrading finishes also to return error reason.
By technique scheme, use high commissioning device download and upgrade software and backup, recovery and upgrading wireless to insert the difficult problem of box parameter in the R﹠D and production process that has solved, can offer the user and do download and upgrade; And on producing, reduced station and cable, and improved speed of download and production efficiency, when using, the user reduced the external interface of wireless access box, and not needing provides independent data cable to the client, has simplified user's operation.
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 shows the flow chart of realizing the method for wireless access kit upgrading by network interface according to of the present invention;
Fig. 2 shows the flow chart that network interface is realized the method for wireless access kit upgrading that passes through according to the embodiment of the invention; And
Fig. 3 shows the block diagram that network interface is realized the method for wireless access kit upgrading that passes through according to the embodiment of the 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.
With reference to Fig. 1, a kind of method by network interface realization wireless access kit upgrading is provided, it comprises:
Step S102, computer sends a plurality of handshake by network interface continuously to wireless access box, until the handshake response signal of receiving wireless access box;
Step S104 receives after the handshake response signal, and the user chooses one or more from upgrading the desired option that computer shows, will be with predefined procedure corresponding to the packing data of upgrading the desired option of choosing, and packet sent to wireless access box;
Step S106, wireless access box unpacks packet after the packet that receives, and carries out and the corresponding operation of upgrading the desired option, and by network interface the state data packets that generates is turned back to computer; And
Step S108, computer is determined subsequent treatment according to state data packets.
Network interface can be the RJ45 network interface.
Can comprise main control chip characteristic information and other chip features information in the handshake response signal.
Upgrading the desired option can be to determine according to the data message in the main control chip characteristic information in the handshake response signal that obtains by analysis and other chip features information and the computer.
Upgrading the desired option can comprise upgrading Kernel, upgrading Code, upgrading PARA, backup NV and recover among the NV one or multinomial.
Predefined procedure can be the order that parameter backup, memory erase, download and upgrade and parameter are recovered.
State data packets can comprise executing state data or error state data.
Whether step S108 can comprise: send by the executing state data judgment data bag in the state data packets and finish, do not finish if packet sends, then execution in step S106 finishes if packet sends, then make the Z interface be in ringing condition, and demonstration is upgraded successfully on computers.
Step S108 can comprise: if packet sends failure, judge whether the retransmission data bag by the error state data in the state data packets, if the retransmission data bag, execution in step S106 then, otherwise wireless access kit upgrading finishes also to return error reason.
Technical problem to be solved by this invention is: PC is connected with wireless access box by the RJ45 network interface, provide option in the PC side, need to select the option of download and upgrade by user, technician, workman or research staff, by PC with insert box and shake hands and realize the download and upgrade of software, and do not need other to be worth high hardware debug equipment (as TRACE32 etc.).
For overcoming the above problems, the invention provides and a kind ofly be connected download and upgrade and parameter backup recovering function on the basis by the RJ45 network interface at PC and wireless access box, the flow process that realizes this method as shown in Figure 2, this method comprises the steps:
Step 1, PC side start-up operation interface, the backstage starts RJ45 connection driving simultaneously, and whether detect has the box of access to be connected to network interface.
Step 2 based on step 1, when the PC side detects wireless access box by the access of RJ45 interface, sends communication and connects the instruction of shaking hands, and poll inserts box-like attitude, until receiving the handshake response signal, shows successful connection.
Step 3, based on step 2, according to the handshake response signal that wireless access box returns, the packet according to the Handshake Protocol decomposition of definition is returned extracts main control chip and other chip feature information.
Step 4 is based on step 3, according to the access box chip features information of obtaining, highlight indication user on the interface.Simultaneously, be stored in the data message of PC side by the characteristic information combination, offer at user option the download option: which chip of download and upgrade or all chips, upgrading chip Kernel, Code, Para parameter region or backup recover existing parameter in the nonvolatile storage, above-mentioned option is offered the user elect on the interface.
Step 5, based on step 4, the PC lateral root carries out the combination of download and upgrade action sequence according to user option in conjunction with the demand that backs up in the download and upgrade process, wipes and recover, and determines the sequence action that parameter backup, memory erase, download and upgrade and parameter are recovered.
Step 6, based on step 5, according to the download action sequence, agreement by appointment, each action identification such as parameter backup recovering, software Kernel, Code and parameter region upgrading are configured to protocol package indicate the position, upgrading software file to be downloaded is carried out subpackage by the bag size of agreement, and the algorithm that above-mentioned The data is certain carries out being combined into protocol package after the verification, sends to wireless access box by the RJ45 interface.
Step 7, based on step 6, wireless access box unpacks according to agreement after receiving packet, and carries out reconfiguring and parameter backup recovering and download and upgrade action of packet.And, return the executing state packet and give PC according to combination of protocols executing state packet.
Step 8, based on step 7, with the packet that returns according to protocol analysis.Carry out following actions according to the executing state that parses.If run succeeded then check whether upgrading data packet sends and finish, if finish, enter next step, if do not finish as yet, being recycled to for the 6th step continues to send packet.If carry out failure, then judge whether to retransmit according to the error condition of returning.Retransmit the packet then get back to the 6th step retransmits lost as needs, retransmit, then directly finish and return error reason as not needing.
Step 9, based on step 8, wireless access box after sending last dtmf signal<=80ms in, make the Z interface be in ringing condition.
Step 10 based on step 9, when PC finds to have sent to finish, is then upgraded in the interface display software download and is successfully indicated.
Connect by the RJ45 interface between PC and the wireless access box, connecting medium is common category 5 twisted pair, and the mode of connection is the 8 line connected modes that straight through cable adopts.Software wherein to be downloaded is arranged in PC.
With download and upgrade model (being called for short with 6XXX in this example) software, and its NV parameter of backup recovery is an example.
Arrow and sequence number according to Fig. 3 are elaborated:
1.PC side starts software interface, stable back starts poll thread, transmit port link order.
2. start service after the wireless access box energized, after main control chip is received link order,, include the wireless access box basic feature information according to the agreement agreement in the packet in connect back and return the success packet of shaking hands of port.
3. after (1) PC receives packet, resolve the back and confirm successful connection, and be resolved to basic feature information.(2) determine at user option upgrade option according to basic characteristic information, as upgrading Kernel, upgrading Code, upgrading PARA, backup NV recovers NV etc.(3) PC received user's 6XXX software upgrading, backup NV and recovered the NV parameter request from the interface this moment.(4) according to agreement and chip processing demands, confirm the action sequence of above-mentioned three options: backup NV parameter; Upgrading 6XXX software; Recover the NV parameter.(5) the PC side according to the packing of data pack protocol structure, sends to chip type information, backup NV instruction and NV coded message to insert box one side.
4. (1) wireless access box one side main control chip is received packet by the RJ45 interface.(2) obtain objective chip sign, backup NV instruction and NV coded message after main control chip is resolved.(3) main control chip is connected by internal bus with objective chip, sends backup NV instruction and NV coding, and obtains the NV parameter.(4) main control chip turns back to the PC side with the NV parameter that obtains after according to the protocol groups bag.The PC side joint is resolved the needed NV parameter of acquisition after receiving packet, stores in the local file.
Repetition 3,4 to all the NV items that need back up backups finish.
5.PC side reads wireless access box software to be downloaded by the frame sign of agreement regulation by piece, offset address in the computing store adds chip identification, carry out the verification computing after, according to sending after the protocol encapsulation.
6. the wireless access box main control chip is resolved after receiving data, according to chip identification, by internal bus and corresponding chip communication, data block is write by the address.
Repeat 6,7 processes to the upgrading software of wanting is complete writes.
7.PC side, sends objective chip reset instruction packet according to agreement.
8. resolve the controlled target chip reset after (1) wireless access box side main control chip is received packet.(2) return the success status packet that resets.
9. with the NV data of the 5th step backup, become packet according to protocol encapsulation according to objective chip, NV coding, NV parameter value.Send to wireless access box.
10. resolve after (1) wireless access box main control chip receives data, pass through the internal bus communication according to chip identification and corresponding chip.(2) according to the NV coding NV parameter is write.
Repeating 9,10 all NV items that need recover recovers to finish.
This method is applicable to that cdma wireless inserts wireless access box fields such as box, WCDMA wireless access box, but is not limited thereto.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the method by network interface realization wireless access kit upgrading is characterized in that, comprising:
Step S102, computer sends a plurality of handshake by described network interface continuously to described wireless access box, until the handshake response signal of receiving described wireless access box, wherein, described network interface is the RJ45 network interface, comprises main control chip characteristic information and other chip features information in the described handshake response signal;
Step S104, receive after the described handshake response signal, the user chooses one or more from upgrading the desired option that described computer shows, will be with predefined procedure corresponding to the packing data of described upgrading the desired option of choosing, and packet sent to described wireless access box;
Step S106, described wireless access box unpacks described packet after the described packet that receives, and carries out and the corresponding operation of described upgrading the desired option, and by described network interface the state data packets that generates is turned back to described computer; And
Step S108, described computer is determined subsequent treatment according to described state data packets.
2. method according to claim 1, it is characterized in that described upgrading the desired option is to determine according to described main control chip characteristic information in the described handshake response signal that obtains by analysis and the data message in described other chip features information and the described computer.
3. method according to claim 2 is characterized in that, described upgrading the desired option comprises upgrading Kernel, upgrading Code, upgrading PARA, backup NV and recovers among the NV one or multinomial.
4. method according to claim 3 is characterized in that, described predefined procedure is the order that parameter backup, memory erase, download and upgrade and parameter are recovered.
5. method according to claim 4 is characterized in that described state data packets comprises executing state data or error state data.
6. method according to claim 5 is characterized in that, described step S108 comprises:
Judging by the described executing state data in the described state data packets whether described packet sends finishes, if sending, described packet do not finish, execution in step S106 then, if sending, described packet finishes, then make the Z interface be in ringing condition, and on described computer, show and upgrade successfully.
7. method according to claim 6 is characterized in that, described step S108 comprises:
If described packet sends failure, judge whether to retransmit described packet by the described error state data in the state data packets, if retransmit described packet, execution in step S106 then, otherwise described wireless access kit upgrading finishes also to return error reason.
CN 200710152015 2007-09-26 2007-09-26 Method for realizing wireless access kit upgrading through network interface Expired - Fee Related CN101399852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710152015 CN101399852B (en) 2007-09-26 2007-09-26 Method for realizing wireless access kit upgrading through network interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710152015 CN101399852B (en) 2007-09-26 2007-09-26 Method for realizing wireless access kit upgrading through network interface

Publications (2)

Publication Number Publication Date
CN101399852A CN101399852A (en) 2009-04-01
CN101399852B true CN101399852B (en) 2011-04-20

Family

ID=40518096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710152015 Expired - Fee Related CN101399852B (en) 2007-09-26 2007-09-26 Method for realizing wireless access kit upgrading through network interface

Country Status (1)

Country Link
CN (1) CN101399852B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610292B (en) * 2008-06-20 2012-04-04 中兴通讯股份有限公司 Method for realizing optional upgrade of wireless access box through RJ45 interface
CN101593119B (en) * 2009-05-26 2013-07-03 中兴通讯股份有限公司 Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN103713923B (en) * 2013-12-24 2017-06-13 深圳中科讯联科技有限公司 A kind of system and method upgraded to all-purpose card reader device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994003879A1 (en) * 1992-07-31 1994-02-17 Motorola, Inc. Method and apparatus for over-the-air upgrading of radio modem application software
EP1384965A2 (en) * 2002-07-27 2004-01-28 Samsung Electronics Co., Ltd. Refrigerator with wireless access point
CN1595871A (en) * 2004-07-16 2005-03-16 北京科技大学 Safety intelligent network processor
CN1852201A (en) * 2005-12-30 2006-10-25 华为技术有限公司 Access-in apparatus capable of smooth updating band-width and method thereof
CN200941675Y (en) * 2006-08-10 2007-08-29 德赛电子(惠州)有限公司 Radio switch-in station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994003879A1 (en) * 1992-07-31 1994-02-17 Motorola, Inc. Method and apparatus for over-the-air upgrading of radio modem application software
EP1384965A2 (en) * 2002-07-27 2004-01-28 Samsung Electronics Co., Ltd. Refrigerator with wireless access point
CN1595871A (en) * 2004-07-16 2005-03-16 北京科技大学 Safety intelligent network processor
CN1852201A (en) * 2005-12-30 2006-10-25 华为技术有限公司 Access-in apparatus capable of smooth updating band-width and method thereof
CN200941675Y (en) * 2006-08-10 2007-08-29 德赛电子(惠州)有限公司 Radio switch-in station

Also Published As

Publication number Publication date
CN101399852A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
CN102222010B (en) A kind of method of mobile terminal edition upgrading and realize system
CN1738219B (en) Transmitter, receiver, data transfer system, transmission method, reception method
CN103428287B (en) Method and device for establishing connection
CN103986742B (en) The method and related electronic device of file synchronization
CN101984405A (en) Method of software version upgrade and terminal and system
CN103019788A (en) Remote online upgrading method based on CAN (Controller Area Network) bus
CN107426233A (en) Data communication system, method, Web server and monitoring system based on B/S frameworks
CN1976517B (en) Mobile terminal
CN102117251A (en) Method for selecting application mode of universal serial bus (USB) equipment and USB equipment
CN113746892B (en) Remote upgrading method and wireless terminal equipment
CN101399852B (en) Method for realizing wireless access kit upgrading through network interface
CN1973282A (en) System and method for managing a change to a cluster configuration
CN102664958A (en) Transparent computing system
CN105472377A (en) Television debugging method and apparatus thereof
CN106375064B (en) A kind of code keyboard usb communication abnormal restoring method and system
CN103729201A (en) Testing method for wireless firmware upgrade
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
CN108769241A (en) A kind of operating method of heat pump unit remote control, apparatus and system
CN101478598A (en) Communication negotiation method for mobile terminal and smart card, mobile terminal therefor
CN101136756B (en) Electric self-checking method, system and BMC chip on network long-range control host machine
CN102710760B (en) Embedded network terminal synchronous configuration method and equipment
CN102983984B (en) Method and system for solution of aging of multicast entries
CN105530544B (en) A kind of Modular electrical depending on display screen end upgrade method and Modular electrical regard
CN101610292B (en) Method for realizing optional upgrade of wireless access box through RJ45 interface
CN102144238A (en) IC chip, information processing device, software module control method, information processing system, method, and program

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

Granted publication date: 20110420

Termination date: 20160926

CF01 Termination of patent right due to non-payment of annual fee