CN101610292B - Method for realizing optional upgrade of wireless access box through RJ45 interface - Google Patents

Method for realizing optional upgrade of wireless access box through RJ45 interface Download PDF

Info

Publication number
CN101610292B
CN101610292B CN200810067896XA CN200810067896A CN101610292B CN 101610292 B CN101610292 B CN 101610292B CN 200810067896X A CN200810067896X A CN 200810067896XA CN 200810067896 A CN200810067896 A CN 200810067896A CN 101610292 B CN101610292 B CN 101610292B
Authority
CN
China
Prior art keywords
wireless access
access box
packet
parameter
user
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
CN200810067896XA
Other languages
Chinese (zh)
Other versions
CN101610292A (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 CN200810067896XA priority Critical patent/CN101610292B/en
Publication of CN101610292A publication Critical patent/CN101610292A/en
Application granted granted Critical
Publication of CN101610292B publication Critical patent/CN101610292B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method for realizing optional upgrade of a wireless access box through an RJ45 interface, which comprises the steps of detecting whether the wireless access box needs to be upgraded by utilizing a PC (personal computer), if so, sending a communication connection handshake instruction, analyzing a data packet by the PC after receiving a handshake successful data packet, extracting characteristic information of the wireless access box and prompting a user to select an option to be operated; then, the user options and parameters needed for completing the user options form a data packet and send the data packet to the wireless access box; and the wireless access box executes corresponding operation after analyzing the data packet and returns an execution result. The invention reduces stations and cables in production, improves downloading speed and production efficiency, reduces external interfaces of the wireless access box when a user uses the wireless access box, does not need to provide a separate data cable for the client, simplifies user operation, and can effectively enhance the satisfaction degree of the user.

Description

A kind of method that realizes optional upgrade of wireless access box through the RJ45 interface
Technical field
The invention belongs to moving communicating field, relate in particular to a kind of method that realizes optional upgrade of wireless access box through the RJ45 interface.
Background technology
Wireless access box is a kind of terminal of adopting wireless communication mode, is a kind of transportable wireless communication terminal, and it externally provides the RJ45 network interface, is connected the wireless Internet access business etc. that realizes with computer.
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 the various software/firmwares that move on the wireless access box are implemented effectively management; To guaranteeing 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 and recovery, improving user satisfaction, strengthen the product competitiveness aspect and have obvious effect.
At present, the central processing element of wireless access box product has two, three even a plurality of, and the upgrade method current to the software systems of moving on each chip is: by each chip interface is provided externally, connects each chip interface respectively through 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, also need increase user's use difficulty, reduce CSAT for the user provides unnecessary cable to product appearance.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.
Summary of the invention
Technical problem to be solved by this invention is; A kind of method that realizes optional upgrade of wireless access box through the RJ45 interface is provided; The present invention need not use high commissioning device download and upgrade software and backup, recovery and upgrading wireless to insert the box parameter; Need independent data cable be provided, simplify user's operation, can strengthen user's satisfaction to the client.
A kind of method through RJ45 interface realization optional upgrade of wireless access box may further comprise the steps:
Whether step 1: PC detects wireless access box needs upgrading, if, then send the instruction of communication connection handshake, carry out next step after receiving the success packet of shaking hands; Otherwise, continue to detect;
Step 2: PC resolution data bag, extract the characteristic information of wireless access box and point out the user to select the option that will operate;
Step 3: PC forms packet with the parameter of user option and completion user option needs and sends to wireless access box;
Step 4: carry out corresponding operation behind the wireless access box resolution data bag, and return execution result;
Step 5: PC resolves the packet that wireless access box returns, and judges whether to run succeeded, if then execution in step six; Otherwise execution in step seven;
Step 6: whether PC judgment data bag sends and finishes, if then show to be finished; Otherwise, execution in step three;
Step 7: judge whether to retransmit, if then return the packet of step 3 retransmits lost; Otherwise process ends also shows error reason.
Said shake hands success packet and PC with user option and the structure of the packet formed of the parameter of accomplishing user option and needing be: packet packet header, packet marking position, command word, command parameter, data, CRC (Cyclic Redundancy Check, CRC) position and packet stop bits.
Said step 1 specifically may further comprise the steps:
Whether steps A 1:PC detects wireless access box needs upgrading, if, then send the communication connection handshake and instruct to wireless access box, and its state of poll, execution in step A2; Otherwise, continue to detect;
Steps A 2: wireless access box returns the success packet of shaking hands after port connects, and includes the characteristic information of wireless access box in the said packet;
After steps A 3:PC receives the success packet of shaking hands, execution in step two.
The said option of step 2 comprises: the parameter in the parameter in the chip that upgrade, all chips of upgrading, upgrading chip parameter district, the backup nonvolatile storage in existing parameter and the recovery nonvolatile storage.
Said step 3 specifically comprises:
Step C1:PC carries out combined sequence according to the requirement of download and upgrade process to user option, need to confirm the action of execution;
Step C2: construct the flag of each action,, be combined into packet after the verification, send to wireless access box through the RJ45 interface with the data subpackage.
In the said step 4, (Dual ToneMulti-Frequency DTMF) in the setting-up time behind the signal, makes the Z interface be in ringing condition to wireless access box having sent last dual-tone multifrequency.
Said setting-up time is smaller or equal to 80ms.
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 the invention solves; This method reduces station and cable on the one hand on producing; Improve speed of download and production efficiency; When the user uses, reduce the external interface of wireless access box on the other hand, need independent data cable be provided, simplified user's operation to the client; Effectively strengthen user's satisfaction, improved competition capability.
This method is applicable to wireless access boxes such as CDMA and WCDMA.
Description of drawings
Fig. 1 is a data packet format among the present invention;
Fig. 2 is a flow chart of the present invention;
Fig. 3 is an embodiment of the invention FB(flow block).
Embodiment
Below in conjunction with accompanying drawing the present invention is explained further details.
The present invention provides option in the PC side; The option that needs download and upgrade by user, technician, workman or research staff's selection; Shake hands through RJ45 interface and wireless access box by PC and to realize the upgrading of wireless access box, and do not need other to be worth high hardware debug equipment (like TRACE32 etc.).
Among the present invention, connect through 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, and wherein needed data file is inserted in the PC in advance in this method.
As shown in Figure 1, the present invention has defined a kind of data communication protocol format.Connecting through being based upon block type TCP, is BTU Basic Transmission Unit with the packet, and data packet format is:
The data packet head of Packet Header:8 position indicates that packet begins;
The packet marking position of Packet Mark:16 position prevents to block that inquire response gets muddled in the communication process through this marker bit;
Command [8]: 8 order of the bit words;
Parameters [N*8]: command parameter is different with order different parameters length;
Data [N*8]: data are different with the order different data lengths;
FCS [16]: 16 CRC check positions;
FLAG [8]: 8 bit data end-of-packet positions.
TCP connects in the communication process, and data packet transmission is unordered in the transmitting-receiving buffering area, can not accomplish strict inquire response processing procedure.The present invention carries out match search at communication two party transmitting-receiving buffering area according to Packet Mark mark through definition Packet Mark marker bit in packet.When having packet to transmit; At first packet to be sent is pressed the order immigration transmission buffering area of sliding window; If in the time range of setting, send and receive buffering area and can mate the transceive data bag; Then from send buffering area, shift out packet to be sent, and taking-up receives, and the corresponding data bag carries out decoding processing in the buffering area; Otherwise, think that this sends failure, stop to send moving of packet in the sliding window, PC searches for the matched data bag that receives in the buffering area through the mode of isochronic interval poll, up to data packet matched.Such treatment mechanism guarantees under prerequisite certain between buffer empty, accomplishes the inquire response handling process between PC and the terminal, realizes normal steadily download and upgrade.
For preventing that inner other data bit of packet from conflicting with the packet stop bits, adopt the escape algorithm to replace the repeats bits of correspondence, thereby avoid occurring the problem of data-bag lost.
As shown in Figure 2, be that the present invention is a method flow diagram, comprise the steps:
Step 1: there is wireless access box to need updating operation, PC side start-up operation interface then, whether detect has the box of access to be connected to the RJ45 interface;
Step 2: when the PC side detects wireless access box through the access of RJ45 interface, send the instruction of communication connection handshake, poll wireless access box state until receiving the success packet of shaking hands, shows successful connection; Otherwise, continue to detect;
The success packet of shaking hands that step 3:PC returns according to wireless access box according to the Handshake Protocol resolution data bag of definition, extracts main control chip and other chip feature information;
Step 4: according to the access box chip features information of obtaining, combine to be stored in the data message of PC side, option is offered the user select by characteristic information;
Option comprises: and which chip of download and upgrade (such as: A chip, B chip, C chip etc.) or all chips, existing parameter in upgrading chip Kernel, Code, Para parameter region or backup, the recovery nonvolatile storage.
Step 5: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 confirms the sequence action that parameter backup, memory erase, download and upgrade and parameter are recovered;
Step 6: according to the download action sequence; Each action identification such as parameter backup, recovery, software Kernel, Code and the upgrading of Para parameter region are configured to the flag in the packet; The file of upgrading to be downloaded is carried out subpackage by the bag size of agreement; To being combined into packet after the above-mentioned data CRC check, send to wireless access box through the RJ45 interface;
Step 7: wireless access box unpacks after receiving packet, and carries out corresponding operation, and then combination executing state packet, returns to PC;
Judge whether to run succeeded behind the step 8:PC resolution data bag, if run succeeded, check then whether packet sends to finish, if get into next step, otherwise execution in step 6 continues to send packet; If carry out failure, then judge whether to retransmit, if then carry out the packet of the 6th step retransmits lost according to the error message of returning; Otherwise, directly finish and show error reason;
Step 9: wireless access box after having sent last dtmf signal<=80ms in, make the Z interface be in ringing condition;
Step 10: packet sends and finishes, and PC shows the download and upgrade success.
As shown in Figure 3, with the download and upgrade model wireless access box of (being called for short with 6XXX in this instance), and its parameter of backup recovery is an example.With arrow in scheming and sequence number serves as that order elaborates:
1.PC side starts polling operation, 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. (1) PC receives after packet is resolved and confirms successful connection, and is resolved to basic feature information.(2) confirm at user option upgrade option according to basic characteristic information, like upgrading Kernel, upgrading Code, upgrading PARA, the backup parameter is recovered parameter.(3) parameter request of PC reception this moment user's 6XXX upgrading, backup parameter and recovery parameter.(4) according to agreement and chip processing demands, confirm the action sequence of above-mentioned three options: the backup parameter; Upgrading 6XXX software; Recover parameter.(5) the PC side is packed chip type information, backup parameter instruction and parameter coding information according to packet structure, sends to insert box one side.
4. (1) wireless access box one side main control chip is received packet through the RJ45 interface.(2) obtain objective chip sign, backup parameter instruction and parameter coding information after main control chip is resolved.(3) main control chip is connected through internal bus with objective chip, sends backup parameter instruction and parameter coding, and obtains the parameter of needs.(4) main control chip turns back to the PC side after with the parameter group bag that obtains.The PC side joint is resolved after receiving packet, obtains parameters needed, stores in the local file.
Repetition 3,4 to all parameter items that need back up backups finish.
5.PC side reads wireless access box file data 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, through 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, is sent 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 packet that resets.
9. with the supplemental characteristic of the 5th step backup, become packet according to protocol encapsulation, send to wireless access box according to objective chip, parameter coding, parameter value.
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 parameter coding parameter is write.
Repeating 9,10 all parameter items that need recover finish.

Claims (7)

1. the method through RJ45 interface realization optional upgrade of wireless access box is characterized in that, may further comprise the steps:
Whether step 1: PC detects wireless access box needs upgrading, if, then send the instruction of communication connection handshake, carry out next step after receiving the success packet of shaking hands; Otherwise, continue to detect;
Step 2: PC resolution data bag, extract the characteristic information of wireless access box and point out the user to select the option that will operate;
Step 3: PC forms packet with the parameter of user option and completion user option needs and sends to wireless access box;
Step 4: carry out corresponding operation behind the wireless access box resolution data bag, and return execution result;
Step 5: PC resolves the packet that wireless access box returns, and judges whether to run succeeded, if then execution in step six; Otherwise execution in step seven;
Step 6: whether the packet that the parameter that PC judges option and completion user option need is formed sends and finishes, if then show to be finished; Otherwise, execution in step three;
Step 7: judge whether to retransmit, if then return the packet of step 3 retransmits lost; Otherwise process ends also shows error reason.
2. the method for realization optional upgrade of wireless access box as claimed in claim 1; It is characterized in that, said shake hands success packet and PC with user option and the structure of the packet formed of the parameter of accomplishing user option and needing be: packet packet header, packet marking position, command word, command parameter, data, CRC position and packet stop bits.
3. the method for realization optional upgrade of wireless access box as claimed in claim 1 is characterized in that, said step 1 specifically may further comprise the steps:
Whether steps A 1:PC detects wireless access box needs upgrading, if, then send the communication connection handshake and instruct to wireless access box, and its state of poll, execution in step A2; Otherwise, continue to detect;
Steps A 2: wireless access box returns the success packet of shaking hands after port connects, and includes the characteristic information of wireless access box in the said packet;
After steps A 3:PC receives the success packet of shaking hands, execution in step two.
4. the method for realization optional upgrade of wireless access box as claimed in claim 1; It is characterized in that the said option of step 2 comprises: the parameter in the parameter in the chip that upgrade, all chips of upgrading, upgrading chip parameter district, the backup nonvolatile storage in existing parameter and the recovery nonvolatile storage.
5. the method for realization optional upgrade of wireless access box as claimed in claim 1 is characterized in that, said step 3 specifically comprises:
Step C1:PC carries out combined sequence according to the requirement of download and upgrade process to user option, need to confirm the action of execution;
Step C2: construct the flag of each action,, be combined into packet after the verification, send to wireless access box through the RJ45 interface with the data subpackage.
6. the method for realization optional upgrade of wireless access box as claimed in claim 1 is characterized in that, in the said step 4, in the setting-up time of wireless access box after having sent last touch-tone signal, makes the Z interface be in ringing condition.
7. the method for realization optional upgrade of wireless access box as claimed in claim 6 is characterized in that, said setting-up time is smaller or equal to 80ms.
CN200810067896XA 2008-06-20 2008-06-20 Method for realizing optional upgrade of wireless access box through RJ45 interface Expired - Fee Related CN101610292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810067896XA CN101610292B (en) 2008-06-20 2008-06-20 Method for realizing optional upgrade of wireless access box through RJ45 interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810067896XA CN101610292B (en) 2008-06-20 2008-06-20 Method for realizing optional upgrade of wireless access box through RJ45 interface

Publications (2)

Publication Number Publication Date
CN101610292A CN101610292A (en) 2009-12-23
CN101610292B true CN101610292B (en) 2012-04-04

Family

ID=41483870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810067896XA Expired - Fee Related CN101610292B (en) 2008-06-20 2008-06-20 Method for realizing optional upgrade of wireless access box through RJ45 interface

Country Status (1)

Country Link
CN (1) CN101610292B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982146B (en) * 2017-12-28 2021-07-06 深圳Tcl数字技术有限公司 Software upgrading method, storage medium and application server of smart television
CN113794539B (en) * 2021-06-08 2024-03-22 龙迅半导体(合肥)股份有限公司 Bidirectional communication control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101399852A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for realizing wireless access kit upgrading through network interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101399852A (en) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 Method for realizing wireless access kit upgrading through network interface

Also Published As

Publication number Publication date
CN101610292A (en) 2009-12-23

Similar Documents

Publication Publication Date Title
US20150229563A1 (en) Packet forwarding method and network access device
CN104363213A (en) Register and login control method for network household appliance
CN101022612A (en) Mobile terminal user information data duplicate method
WO2006123219A3 (en) Terminal assisted wlan access point rate adaptation
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN101488941A (en) Method and system for implementing USB equipment shared using
HK1138120A1 (en) Method and system for transmitting information in wireless communication system
GB2589211A (en) Methods and systems of using remote subscriber identification modules at device
CN102318219A (en) System and Method for Autonomous Combining
CN107612661A (en) Data communication method and device
JP2006514467A5 (en)
CN101296443A (en) Multi-standby terminal and method for self-registration
US8189618B2 (en) System and method for robust data loss recovery in a wireless local area network
CN104125321B (en) A kind of contact details update method, device and system
CN101610292B (en) Method for realizing optional upgrade of wireless access box through RJ45 interface
CN110069275A (en) Update the method and system for being installed on the software program of electronic device
CN104184834A (en) File transmission method and device and terminal
CN101605355A (en) A kind of ROHC mixed mode of operation that is used on the LTE-advanced network trunk node
EP2348770B1 (en) Mobile wireless communication terminal and wireless communication method
CN107040427A (en) A kind of method and device of network card configuration
CN101399852B (en) Method for realizing wireless access kit upgrading through network interface
EP2420936B1 (en) Protocol conversion Communication Device
CN102196411A (en) Mobile communication terminal and communication software upgrading method
CN102710760A (en) Embedded network terminal synchronous configuration method and equipment
CN114996195B (en) Method, system, device and medium for acquiring carbon footprint data

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: 20120404

Termination date: 20160620

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