CN1241437C - Local program downloading method and device for distributed PHS base station system - Google Patents

Local program downloading method and device for distributed PHS base station system Download PDF

Info

Publication number
CN1241437C
CN1241437C CN 01118379 CN01118379A CN1241437C CN 1241437 C CN1241437 C CN 1241437C CN 01118379 CN01118379 CN 01118379 CN 01118379 A CN01118379 A CN 01118379A CN 1241437 C CN1241437 C CN 1241437C
Authority
CN
China
Prior art keywords
data
base station
program
download
downloaded
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 01118379
Other languages
Chinese (zh)
Other versions
CN1388722A (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 01118379 priority Critical patent/CN1241437C/en
Publication of CN1388722A publication Critical patent/CN1388722A/en
Application granted granted Critical
Publication of CN1241437C publication Critical patent/CN1241437C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method and a device for downloading the local programs of a distributed PHS base station system. The device comprises a PC side man-machine interface, a PC side data processor, a serial port and a base station side kernel processor. The method comprises the steps that a data path is set up; a program downloading command is sent to the base station through the man-machine interface; the PC side data processor processes the command and sends a program downloading request to the base station via the serial port; data is processed and transmitted. The present invention has the advantages of simple technological device, low facility cost, easy downloading flow path, easy operation, high downloading success rate and high reliability.

Description

The distributed PHS base station system local program downloading method
Technical field
The present invention relates to PHS (personal hand-held communication system) wireless access system, more particularly relate to distributed PHS base station local program download implementation method.
Background technology
The micro cellular system that the PHS wireless access system is made up of base station controller, base station, wireless user terminal (comprising mobile phone, fixed station and Vehicle mounted station etc.).In general, in this system's beginning and maintenance process, need at the construction field (site) version updating to be carried out in the base station.Because the base station should not be opened at the construction field (site), should not carry out sintering with the sintering device when upgrading version, therefore need base station far-end to have the local program value-added tax function.Adopt the little base station of PHS of distributed frame, form by main control part and distal portions.Main control part is the base station master control borad that is placed on network side, and distal portions comprises baseband board and rf board, connects with the U mouth between the baseband board of master control borad and far-end, and a master control borad can be with a plurality of far-ends, can form a plurality of independently dominant bases, also can bundle use.System's control more complicated of this distributed base station.If local download function is placed in the application program, will inevitably be subjected to the influence (restarting) of system's control as far-end, increase the complexity of downloading flow process, influence the success rate that program is downloaded.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, design a kind of distributed PHS base station local program downloading method,, improve reliability, make its easy operation to reduce equipment cost.
For achieving the above object, the present invention has designed a kind of distributed PHS base station local program downloading method and is:
A, PC are set up data channel to the connection serial ports between the base station, and assign the program download command by PC side man-machine interface to the base station;
After b, PC side data processor are received the program download command, program data file to be downloaded is compressed by the LZ compression algorithm, then by serial ports to base station router download request;
After the program download request was received in c, base station, return information was downloaded response message;
D, PC side data processor receive that program is downloaded and reply that read compression back routine data, the beginning data transmit;
When e, transmission data, PC side data processor is organized data, sets timer, wait acknowledge message after sending data;
After f, base station side were received data, whether whether the data detection data were identical end to end come check data complete by verification, check and transmit sequence number for after waiting to receive data sequence number, return a response message;
G, the overtime response message that contains the respective downloaded data sequence number that can not receive of PC side data processor, whether check sends number of times less than the number of times of setting, if less than the number of times of setting, just with retransmission data, and will send number of times and add 1, otherwise just will notify PC side man-machine interface failed download,, then proceed if in setting the repeating transmission number of times, receive response message;
H, behind the response message of the corresponding sequence number of receiving base station side, whether PC side data processor trace routine data are downloaded and are finished, if do not finish, send next group data by aforementioned e step, otherwise transmit the download ending message to the base station, and transmit the size that downloads simultaneously;
After i, base station are received and are downloaded end, verification download size whether with the data consistent that receives, if inconsistent, notice interface failed download; Otherwise, after the decompression of LZ decompression algorithm, routine data is write FLASH, notify PC side man-machine interface to download successfully then, and move newly downloaded application program.
The present invention compared with prior art has following advantage:
1. local value-added tax function is placed in the kernel program influence of avoiding system's control that this locality is downloaded; Whether set up by base station directs programmed check serial communication link and to carry out version and switch, enter the downloading control flow process.
2. improve the validity that data transmit by the method for adding checking data (data transmission sequence number) in data download end to end; Guarantee the reliability that data transmit by overtime repeating transmission.
3. equipment cost is low, reliability height, operation easily.
Description of drawings
Fig. 1 is the whole block diagram of reflection apparatus of the present invention;
Fig. 2 is that data are downloaded flow chart.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail:
In order to realize purpose of the present invention, be that the local value-added tax function with far-end is placed in the middle of the kernel program.In addition, serial ports is unique passage that far-end is connected with the local maintenance platform, and local program loads and must be undertaken by serial ports.Base station side core processor (kernel program) is made up of boot and the local little version that loads flow process of a control, is sintered in advance among the FLASH, and the change with load module does not change.Boot is responsible for the version switching when far-end starts, just move little version in case monitor the serial communication link establishment.Little version program is responsible for handling the loading command of application program, the control loaded process.
As shown in Figure 1, implement device of the present invention mainly is made up of PC side man-machine interface 1, PC side data processor 2, serial ports 3, base station side core processor 4.PC side data processor 2 is responsible for the program download command of reception interface, routine data is handled with the base station side core processor joined serial ports then, then the base station is restarted.
(1) data channel is set up
It is as follows that data channel is set up process: connect serial ports, and by PC side man-machine interface driving serial ports, the base station is restarted, after the base station powers up startup, first operation boot, in 20 seconds, detect the success of serial communication link link setup after, moving little version sets up by PC to the data channel the base station, and notify man-machine interface communications link establishment, can carry out program and download, otherwise run application.
(2) data are downloaded
After data channel is set up, can transmit data by data channel, for the needs that the realization program is downloaded are controlled by certain download flow process (accompanying drawing 2), below we describe data download stream journey in conjunction with the accompanying drawings.
(1) after data channel is set up, assigns the program download command to the base station by man-machine interface.
(2) after PC side data processor receives orders, program data file to be downloaded is compressed by the LZ compression algorithm.Then, by serial ports to base station router download request.
(3) after the program download request was received in the base station, return information was downloaded response message.
(4) after PC side data processor receives that the program download is replied, read compression back routine data, the beginning data transmit.
When (5) transmitting data, PC side data processor can be as follows with its tissue of data organization, checking data (4 BYTE)+valid data length+valid data+checking data (4 BYTE), wherein checking data is each data block send sequence number (its value is since 0, receives to add 1 after replying).After sending data, set timer, send number of times and be made as 0, wait acknowledge message.
(6) after base station side is received data, whether whether the data detection data are identical end to end come check data complete by verification, (it is worth since 0 for data sequence number to be received to check the transmission sequence number, add 1 after receiving valid data) after, a response message (the subsidiary data download sequence number that receives in the message) returned.
(7) the overtime response message that contains the respective downloaded data sequence number that can not receive of PC side data processor, check sends number of times, and this number of times can be set, and when being set at 3, whether sees it less than 3, if less than 3 just with retransmission data, and will send number of times and add 1.Otherwise just will notify the interface failed download.If in regulation is retransmitted number of times, receive response message, carry out step 8.
(8) behind the response message of the corresponding sequence number of receiving base station side, whether PC side data processor trace routine data are downloaded and are finished, and do not send next group data if finish by (5).Otherwise transmit the download end to the base station, and transmit the size that downloads simultaneously.
(9) after the base station was received and downloaded end, whether the verification size that downloads was consistent with the data that receive (according to the valid data that the receive acquisition that adds up at every turn).If inconsistent, notice interface failed download; Otherwise, after the decompression of LZ decompression algorithm, routine data is write FLASH.Then, download successfully at the notice interface, and move newly downloaded application program.
More than the local program of distributed PHS base station is downloaded implement device and method has been done to specify, those skilled in the art may make various all conspicuous remodeling or the changes that do not break away from by the determined scope of the invention of appended claims based on above-mentioned explanation.

Claims (3)

1, a kind of distributed PHS base station system local program downloading method is characterized in that, described method adopts the following step:
A, PC are set up data channel to the connection serial ports between the base station, and assign the program download command by PC side man-machine interface to the base station;
After b, PC side data processor are received the program download command, program data file to be downloaded is compressed by the LZ compression algorithm, then by serial ports to base station router download request;
After the program download request was received in c, base station, return information was downloaded response message;
D, PC side data processor receive that program is downloaded and reply that read compression back routine data, the beginning data transmit;
When e, transmission data, PC side data processor is organized data, sets timer, wait acknowledge message after sending data;
After f, base station side were received data, whether whether the data detection data were identical end to end come check data complete by verification, check and transmit sequence number for after waiting to receive data sequence number, return a response message;
G, the overtime response message that contains the respective downloaded data sequence number that can not receive of PC side data processor, whether check sends number of times less than the number of times of setting, if less than the number of times of setting, just with retransmission data, and will send number of times and add 1, otherwise just will notify PC side man-machine interface failed download,, then proceed if in setting the repeating transmission number of times, receive response message;
H, behind the response message of the corresponding sequence number of receiving base station side, whether PC side data processor trace routine data are downloaded and are finished, if do not finish by aforementioned e step and send next group data, otherwise transmit the download ending message, and transmit the size that downloads simultaneously to the base station;
After i, base station are received and are downloaded end, verification download size whether with the data consistent that receives, if inconsistent, notice PC side man-machine interface failed download; Otherwise, after the decompression of LZ decompression algorithm, routine data is write FLASH, notify PC side man-machine interface to download successfully then, and move newly downloaded application program.
2, distributed PHS base station system local program downloading method according to claim 1, it is characterized in that PC side data processor reads the data of compressing the back program in the described method, when the beginning data transmit, PC side data processor can be as follows with data organization: checking data adds effective data length and adds effective data and add checking data, wherein checking data is sending sequence number of each data block, its value is since 0, receive and add 1 after replying, after sending data, set timer, sending number of times is 0, wait acknowledge message.
3, according to the described distributed PHS base station system local program downloading method of claim 1, it is characterized in that the overtime response message that contains the respective downloaded data sequence number that can not receive of PC side data processor in the described method, check sends number of times can be designed to 3, whether check sends number of times less than 3, if less than 3 just with retransmission data, and will send number of times and add 1, otherwise just notify PC side man-machine interface failed download.
CN 01118379 2001-05-28 2001-05-28 Local program downloading method and device for distributed PHS base station system Expired - Fee Related CN1241437C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01118379 CN1241437C (en) 2001-05-28 2001-05-28 Local program downloading method and device for distributed PHS base station system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01118379 CN1241437C (en) 2001-05-28 2001-05-28 Local program downloading method and device for distributed PHS base station system

Publications (2)

Publication Number Publication Date
CN1388722A CN1388722A (en) 2003-01-01
CN1241437C true CN1241437C (en) 2006-02-08

Family

ID=4663142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01118379 Expired - Fee Related CN1241437C (en) 2001-05-28 2001-05-28 Local program downloading method and device for distributed PHS base station system

Country Status (1)

Country Link
CN (1) CN1241437C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012012933A1 (en) * 2010-07-27 2012-02-02 青岛海信信芯科技有限公司 Processing devices and methods for transmitting and receiving data

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459636C (en) * 2003-07-03 2009-02-04 深圳市中兴移动技术有限公司 Handset-PC computer communication system
CN100403273C (en) * 2003-07-10 2008-07-16 中国科学院计算技术研究所 Distributed monitoring method based on bidirectional information flow
CN100473215C (en) * 2004-01-16 2009-03-25 Ut斯达康通讯有限公司 Improved paging method in personal mobile hand-set system and relative equipment
CN100465889C (en) * 2004-04-29 2009-03-04 杭州斯达康通讯有限公司 Method for downloading computer data to mobile phone
CN1311341C (en) * 2004-05-10 2007-04-18 杭州斯达康通讯有限公司 Method for conducting digital signature when downloading computer data to mobile phone
CN1311340C (en) * 2004-05-10 2007-04-18 杭州斯达康通讯有限公司 Method for comparing versions when downloading computer data to mobile phone
CN101662533B (en) * 2008-08-27 2013-02-20 深圳富泰宏精密工业有限公司 Software updating system and method
CN103019881A (en) * 2012-09-07 2013-04-03 惠州市亿能电子有限公司 Calibration method in program downloading process of single chip microcomputer
CN104793591A (en) * 2015-03-24 2015-07-22 山东海特物联网科技有限公司 Intelligent power indicating terminal for system of oil and gas production internet of things and data transmitting method of intelligent power indicating terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012012933A1 (en) * 2010-07-27 2012-02-02 青岛海信信芯科技有限公司 Processing devices and methods for transmitting and receiving data
US8549165B2 (en) 2010-07-27 2013-10-01 Hisense Hiview Tech Co., Ltd. Processing devices and methods for transmitting and receiving data

Also Published As

Publication number Publication date
CN1388722A (en) 2003-01-01

Similar Documents

Publication Publication Date Title
CN1239040C (en) Mubile communication terminal and software updating method for same
CN1241437C (en) Local program downloading method and device for distributed PHS base station system
CN1207928C (en) Method for processing information in honeycomb base station system
EP1429569B1 (en) Mobile station and method for selectively downloading components of a software by comparing component specific version numbers
EP0433077A2 (en) Data transfer method
EP0959635A1 (en) Connectionless downloading of software to wireless terminals
CN1180603C (en) Method and system for user interface of mobile terminal
CN1520216A (en) System and method for air download software updation for Delta base station of radio mobile station
CN1887004A (en) Downloading and upgrading terminal software over the air of a wireless device
CN101184301A (en) Mobile terminal remote firmware updating method and system
CN1162029C (en) Mobile communication system capable of updating program in mobile terminal
CN101984405A (en) Method of software version upgrade and terminal and system
CN101068415A (en) Mobile terminal machine card matching information logon method and device
US20020004386A1 (en) Apparatus comprising a storage device for storing performance data and method of updating this storage device
CN100433872C (en) Method for supporting large JAVA application download in mobile terminal
CN101030824A (en) System and method for testing cell-phone radio-frequency signal
CN108156312A (en) A kind of method, terminal and storage device that SIM card function menu is controlled to show
CN1236637C (en) Radio communication system with function of data changing and renewing
CN1859703A (en) Radio communication detecting system
CN101052194A (en) Device for realizing maintenance of far end radio frequency terminal by local maintenance terminal
CN1874606A (en) Automatic method for reporting information of mobile terminal
CN1929667A (en) Automatic testing device and method for GSM multiple carrier frequency base station
CN1320842C (en) Real-time simulation developing method and system for SIM toolkit
CN1245822C (en) Connection information management system for connecting information used in communication between IC card management
CN1728746A (en) Information auto updating method of mobile communication terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHENZHENG CITY ZTE CO., LTD.

Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD. SHANGHAI SECOND INSTITUTE

Effective date: 20030731

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20030731

Applicant after: Zhongxing Communication Co., Ltd., Shenzhen City

Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City

ASS Succession or assignment of patent right

Owner name: ZTE CO., LTD.

Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD.

Effective date: 20041022

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20041022

Address after: 518057 Department of law, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen

Applicant after: ZTE Corporation

Address before: 518057 Department of law, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen

Applicant before: Zhongxing Communication Co., Ltd., Shenzhen City

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060208

Termination date: 20130528