Movatterモバイル変換


[0]ホーム

URL:


CN1388722A - 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
CN1388722A
CN1388722ACN 01118379CN01118379ACN1388722ACN 1388722 ACN1388722 ACN 1388722ACN 01118379CN01118379CN 01118379CN 01118379 ACN01118379 ACN 01118379ACN 1388722 ACN1388722 ACN 1388722A
Authority
CN
China
Prior art keywords
data
base station
program
download
processor
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.)
Granted
Application number
CN 01118379
Other languages
Chinese (zh)
Other versions
CN1241437C (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
Shanghai No 2 Research Institute of 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 Shanghai No 2 Research Institute of ZTE CorpfiledCriticalShanghai No 2 Research Institute of ZTE Corp
Priority to CN 01118379priorityCriticalpatent/CN1241437C/en
Publication of CN1388722ApublicationCriticalpatent/CN1388722A/en
Application grantedgrantedCritical
Publication of CN1241437CpublicationCriticalpatent/CN1241437C/en
Anticipated expirationlegal-statusCritical
Expired - Fee Relatedlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

一种分布式PHS基站系统本地程序下载方法和装置,其装置包括PC侧人机界面、PC侧数据处理器,串口及基站侧内核处理器;其方法是建立数据通道,通过人机界面向基站下达程序下载命令,PC侧数据处理器处理该命令并通过串口向基站发送程序下载请求,并处理,传送数据;本发明技术装置简单,设备成本低,下载流程简便,易于操作,下载成功率高,提高了可靠性。

Figure 01118379

A method and device for downloading local programs in a distributed PHS base station system, the device comprising a human-machine interface on the PC side, a data processor on the PC side, a serial port, and a core processor on the base station side; The program download command is issued, and the PC side data processor processes the command and sends the program download request to the base station through the serial port, and processes and transmits the data; the technical device of the present invention is simple, the equipment cost is low, the download process is simple, easy to operate, and the download success rate is high , which improves the reliability.

Figure 01118379

Description

Distributed PHS base station system local program downloading method and device
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 and device.
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.
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 and device,, improve reliability, make its easy operation to reduce equipment cost.
To achieve these goals, the present invention has designed a kind of distributed PHS base station local program and has downloaded implement device, comprises PC side man-machine interface, PC side data processor, serial ports and base station core processor that order links to each other.
Realize that program down-loading method of the present invention is:
A, connection serial ports are set up data channel, and are assigned the program download command by man-machine interface to the base station;
After b, PC side data processor receive orders, 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 out, send 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 the 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 the 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.
Fig. 1 is the whole block diagram of reflection apparatus of the present invention;
Fig. 2 is that data are downloaded flow chart.
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, PCside data processor 2,serial ports 3, base station side core processor 4.PCside 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 (4)

Translated fromChinese
1、一种分布式PHS基站系统本地程序下载方法,其特征在于,所述方法采用下列步骤:a、连接串口建立数据通道,并通过人机界面向基站下达程序下载命令;b、PC侧数据处理器收到命令后,通过LZ压缩算法将待下载程序数据文件进行压缩,然后通过串口向基站发送程序下载请求;c、基站收到程序下载请求后,返回程序下载应答信息;d、PC侧数据处理器收到程序下载应答,读取压缩后程序数据,开始数据传送;e、传送数据时,PC侧数据处理器对数据进行组织,在发送数据后设定定时器,等待应答消息;f、基站侧收到数据后,通过校验头尾数据检验数据是否相同来检验数据是否完整,检查传送序号为待接收数据序号后,返回一个应答消息;g、PC侧数据处理器超时收不到含有相应下载数据序号的应答消息,检验发送次数是否小于设定的次数,如果小于设定的次数,就将重发数据,并将发送次数加1,否则就将通知界面下载失败,如果在设定重发次数内收到应答消息,则继续进行;h、在收到基站侧的对应序号的响应消息后,PC侧数据处理器检测程序数据是否下载完毕,如果未完成按前述e步骤发送下一组数据,否则向基站传送下载结束信息,并同时传送下载程序的大小;i、基站收到下载结束消息后,校验下载程序大小是否与接收到的数据一致,如果不一致,通知界面下载失败;否则,通过LZ   解压缩算法解压缩后,将程序数据写入FLASH,然后通知界面下载成功,并运行新下载的应用程序。1, a kind of distributed PHS base station system local program downloading method, it is characterized in that, described method adopts following steps: a, connect serial port and set up data channel, and issue program download order to base station by man-machine interface; B, PC side data After the processor receives the command, it compresses the data file of the program to be downloaded through the LZ compression algorithm, and then sends the program download request to the base station through the serial port; c. After the base station receives the program download request, it returns the program download response information; d. On the PC side The data processor receives the program download response, reads the compressed program data, and starts data transmission; e, when transmitting data, the PC side data processor organizes the data, sets the timer after sending the data, and waits for the response message; f 1. After the base station side receives the data, it checks whether the data is complete by checking whether the head and tail data are the same. After checking that the transmission number is the number of the data to be received, it returns a response message; g. The data processor on the PC side cannot receive it when it times out For the response message containing the serial number of the corresponding downloaded data, check whether the number of sending times is less than the set number of times. If it is less than the set number of times, the data will be resent and the number of sending times will be increased by 1. Otherwise, the interface will be notified that the download failed. If the response message is received within the fixed number of retransmissions, proceed; h, after receiving the response message of the corresponding sequence number on the base station side, the PC side data processor detects whether the program data has been downloaded, and if it has not been completed, send the next step according to the aforementioned e step A set of data, otherwise, the download end message is sent to the base station, and the size of the download program is sent at the same time; i. After the base station receives the download end message, it checks whether the size of the download program is consistent with the received data. If not, it notifies the interface that the download failed ; Otherwise, after decompressing through the LZ decompression algorithm, write the program data into FLASH, then notify the interface that the download is successful, and run the newly downloaded application.2、根据权利要求1所述的分布式PHS基站系统本地程序下载方法,其特征在于所述方法中PC侧数据处理器读取压缩后程序的数据,开始数据传送时,PC侧数据处理器可将数据组织如下:校验数据加有效数据长度加有效数据加校验数据,其中校验数据为每个数据块发送序号,其值从0开始,收到应答后加1,在发送数据后设定定时器,发送次数为0,等待应答消息。2. The local program downloading method of the distributed PHS base station system according to claim 1, wherein the data processor on the PC side reads the data of the compressed program in the method, and when data transmission is started, the data processor on the PC side can The data is organized as follows: check data plus valid data length plus valid data plus check data, where the check data is the serial number sent for each data block, its value starts from 0, adds 1 after receiving the response, and sets Set a timer, the number of sending times is 0, and wait for the response message.3、根据权利要求1所述分布式PHS基站系统本地程序下载方法,其特征在于所述方法中PC侧数据处理器超时收不到含有相应下载数据序号的应答消息,检验发送次数可设计为3,检验发送次数是否小于3,如果小于3就将重发数据,并将发送次数加1,否则就通知界面下载失败。3, according to the said distributed PHS base station system local program downloading method of claim 1, it is characterized in that in said method, the data processor on the PC side cannot receive the response message containing the serial number of the corresponding downloaded data, and the number of checks sent can be designed as 3 , check whether the number of sending times is less than 3, if it is less than 3, the data will be resent, and the number of sending times will be increased by 1, otherwise, the interface will be notified that the download failed.4、一种分布式PHS基站系统本地程序下载装置,其特征在于所述装置包括:a、用于人为控制的PC侧人机界面(1);b、用于接收处理PC侧人机界面(1)程序下载命令的PC侧数据处理器(2);c、用于连接并处理PC侧数据处理器(2)与基站内核处理器(4)的串口(3);d、用于校验处理数据并通知界面的基站内核处理器(4)。4. A distributed PHS base station system local program downloading device is characterized in that said device includes: a, a PC side man-machine interface (1) for artificial control; b, a PC side man-machine interface for receiving and processing ( 1) the PC side data processor (2) of the program download command; c, for connecting and processing the serial port (3) of the PC side data processor (2) and the base station core processor (4); d, for checking The base station core processor (4) that processes the data and informs the interface.
CN 011183792001-05-282001-05-28Local program downloading method and device for distributed PHS base station systemExpired - Fee RelatedCN1241437C (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN 01118379CN1241437C (en)2001-05-282001-05-28Local program downloading method and device for distributed PHS base station system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN 01118379CN1241437C (en)2001-05-282001-05-28Local program downloading method and device for distributed PHS base station system

Publications (2)

Publication NumberPublication Date
CN1388722Atrue CN1388722A (en)2003-01-01
CN1241437C CN1241437C (en)2006-02-08

Family

ID=4663142

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN 01118379Expired - Fee RelatedCN1241437C (en)2001-05-282001-05-28Local program downloading method and device for distributed PHS base station system

Country Status (1)

CountryLink
CN (1)CN1241437C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1311341C (en)*2004-05-102007-04-18杭州斯达康通讯有限公司Method for conducting digital signature when downloading computer data to mobile phone
CN1311340C (en)*2004-05-102007-04-18杭州斯达康通讯有限公司Method for comparing versions when downloading computer data to mobile phone
CN100403273C (en)*2003-07-102008-07-16中国科学院计算技术研究所 Distributed Monitoring Method Based on Two-way Information Flow
CN100459636C (en)*2003-07-032009-02-04深圳市中兴移动技术有限公司Handset-PC computer communication system
CN100465889C (en)*2004-04-292009-03-04杭州斯达康通讯有限公司Method for downloading computer data to mobile phone
CN100473215C (en)*2004-01-162009-03-25Ut斯达康通讯有限公司Improved paging method in personal mobile hand-set system and relative equipment
CN101662533B (en)*2008-08-272013-02-20深圳富泰宏精密工业有限公司Software updating system and method
CN103019881A (en)*2012-09-072013-04-03惠州市亿能电子有限公司Calibration method in program downloading process of single chip microcomputer
US8549165B2 (en)2010-07-272013-10-01Hisense Hiview Tech Co., Ltd.Processing devices and methods for transmitting and receiving data
CN104793591A (en)*2015-03-242015-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 (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100459636C (en)*2003-07-032009-02-04深圳市中兴移动技术有限公司Handset-PC computer communication system
CN100403273C (en)*2003-07-102008-07-16中国科学院计算技术研究所 Distributed Monitoring Method Based on Two-way Information Flow
CN100473215C (en)*2004-01-162009-03-25Ut斯达康通讯有限公司Improved paging method in personal mobile hand-set system and relative equipment
CN100465889C (en)*2004-04-292009-03-04杭州斯达康通讯有限公司Method for downloading computer data to mobile phone
CN1311341C (en)*2004-05-102007-04-18杭州斯达康通讯有限公司Method for conducting digital signature when downloading computer data to mobile phone
CN1311340C (en)*2004-05-102007-04-18杭州斯达康通讯有限公司Method for comparing versions when downloading computer data to mobile phone
CN101662533B (en)*2008-08-272013-02-20深圳富泰宏精密工业有限公司Software updating system and method
US8549165B2 (en)2010-07-272013-10-01Hisense Hiview Tech Co., Ltd.Processing devices and methods for transmitting and receiving data
CN103019881A (en)*2012-09-072013-04-03惠州市亿能电子有限公司Calibration method in program downloading process of single chip microcomputer
CN104793591A (en)*2015-03-242015-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

Also Published As

Publication numberPublication date
CN1241437C (en)2006-02-08

Similar Documents

PublicationPublication DateTitle
CN1108718C (en)Method and apparatus for remotely upgrading control software in a cellular telephone
EP0433077B1 (en)Data transfer method
US8285268B2 (en)System and method for delta-based over-the-air software upgrades for a wireless mobile station
CN1388722A (en)Local program downloading method and device for distributed PHS base station system
CN101593119B (en)Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN102510409A (en)Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN101867916A (en)Method for realizing air update of vehicle terminal
EP1357476A3 (en)Method for controlling storage system, and storage control apparatus
CN1450827A (en)Mubile communication terminal and software updating method for same
JPH10503345A (en) Data adapter
CN101984405A (en)Method of software version upgrade and terminal and system
CN113031990B (en)Broadcasting upgrading method, system, equipment and storage medium of street lamp terminal
CN113746892B (en)Remote upgrading method and wireless terminal equipment
CN112188434A (en)OTA (over the air) upgrading method and system
US20020004386A1 (en)Apparatus comprising a storage device for storing performance data and method of updating this storage device
CN112527370A (en)Method for remotely and differentially upgrading Internet of things equipment
CN109358872A (en)Remote firmware updating method, device and computer readable storage medium
CN102984055A (en)Soft restart upgrading method and equipment of ISSU
CN110837390B (en)Zynq platform remote upgrading method
CN1320842C (en)Real-time simulation developing method and system for SIM toolkit
CN105407003B (en)A kind of data of 1553 bus add discharging method
CN114640584B (en)Module upgrading method and system
CN1189006C (en)Cordless telecommunications system and identification code modification process
JP2008210083A (en)Download system and client side equipment
CN117130639B (en)BMC cluster management single-board MCU firmware upgrading method and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
ASSSuccession 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

C41Transfer of patent application or patent right or utility model
TA01Transfer 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

ASSSuccession or assignment of patent right

Owner name:ZTE CO., LTD.

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

Effective date:20041022

C41Transfer of patent application or patent right or utility model
TA01Transfer 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

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

Termination date:20130528


[8]ページ先頭

©2009-2025 Movatter.jp