CN113094065A - Receiver program remote upgrading method based on Beidou RDSS service - Google Patents
Receiver program remote upgrading method based on Beidou RDSS service Download PDFInfo
- Publication number
- CN113094065A CN113094065A CN202110264785.3A CN202110264785A CN113094065A CN 113094065 A CN113094065 A CN 113094065A CN 202110264785 A CN202110264785 A CN 202110264785A CN 113094065 A CN113094065 A CN 113094065A
- Authority
- CN
- China
- Prior art keywords
- data
- packet
- upgrading
- receiver
- file
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a receiver program remote upgrading method based on Beidou RDSS service, and belongs to the technical field of satellite communication. The method is used for remote program upgrading of equipment with the RDSS short message communication function, and an engineer does not need to maintain and upgrade the program on site. In the upgrading process, only the ID number of the target equipment to be upgraded needs to be known, and meanwhile, the equipment is started and normally receives the Beidou signal. The method solves the problem of difficulty in software upgrading and optimizing caused by the fact that technicians are difficult to fast arrive at the site in the delivered remote area equipment, and is an important improvement on the prior art.
Description
Technical Field
The invention relates to the technical field of satellite communication, in particular to a receiver program remote upgrading method based on Beidou RDSS service.
Background
The Beidou satellite navigation system is a satellite navigation system independently developed in China and has an RDSS service message communication function which other navigation systems do not have.
In general, receivers in remote areas are delivered with message communication functions of RDSS services to assist in completing service subscribers with better navigation. However, program upgrading equipment maintenance is indispensable for a receiver manufacturer, and most of the equipment is provided with a person specially assigned for a few equipment to upgrade the program, which is a waste of resources for a unit. Under the condition, the remote upgrading and maintaining tasks of the receiver program can be completed by using the message communication function of the RDSS service, and a specially-assigned person does not need to be sent to the field for equipment maintenance, so that the efficiency is improved, and the labor cost is saved. However, such a technical solution has not been available in the prior art.
Disclosure of Invention
In view of this, the invention provides a receiver program remote upgrade method based on the beidou RDSS service, which can realize remote upgrade of a receiver program based on the message communication function of the beidou RDSS service.
The purpose of the invention is realized by the following technical scheme:
a receiver program remote upgrading method based on Beidou RDSS service comprises the following steps:
(1) the sender sends a program upgrading instruction to the receiver;
(2) after receiving the instruction, the receiver feeds back the successful receiving information and prepares to receive the executable binary upgrading file data;
(3) the sender performs packet transmission according to the size of the binary upgrade file data;
(4) the receiving party receives the binary upgrade file data sub-package until the file transmission is finished, and feeds back file receiving success information;
(5) after receiving the file receiving completion information, the sender sends an FLASH erasing instruction to the receiver;
(6) after receiving the FLASH erasing instruction, the receiver feeds back successful receiving information, erases the FLASH and writes the upgrading program;
(7) and after the receiver finishes programming, feeding back the programming success information, resetting and restarting, and running the new version program.
Further, the specific mode of the step (3) is as follows:
(301) the sender judges whether the program upgrading instruction needs to be retransmitted according to the feedback of the receiver, and if the program upgrading instruction does not need to be retransmitted, the step (302) is carried out;
(302) a sender reads and sends binary upgrade file data to be transmitted, and simultaneously judges whether the maximum value allowed by single data sending of the SIM card is reached, if so, the step (303) is carried out, otherwise, the step (305) is carried out;
(303) performing sub-packet processing on the secondary system upgrade file data to be sent according to the limitation of the maximum byte sent by the current SIM, and filling the total data packet number N and the current data packet serial number M in each packet of data;
(304) sequentially sending each data packet in sequence, judging whether the current sending is a tail packet or not during each sending, if so, turning to the step (307), and otherwise, turning to the step (305);
(305) judging whether the data packet which is just sent needs to be sent again according to the feedback of the receiving party, if so, finding the corresponding data packet to send again, and if not, turning to (306);
(306) sending the non-tail packet data, judging whether the file transmission is finished or not, if so, turning to the step (307), otherwise, returning to the step (305);
(307) and sending the tail packet data, and finishing the transmission of the binary upgrade file data.
Further, the specific mode of the step (4) is as follows:
(401) the receiver receives the message information, judges the message type according to the message information header, if the message type is the common Beidou message, executes the common Beidou message processing flow, and if the message type is the binary upgrading file data, the step (402) is carried out;
(402) storing the data, judging whether the data is a tail packet or a retransmission data packet, if so, turning to the step (403), otherwise, turning to the step (404);
(403) counting the receiving state of the telegraph text, judging whether the binary upgrading file data are completely received, if so, turning to the step (407), otherwise, turning to the step (406);
(404) opening a dynamic overtime timer, and judging whether the dynamic overtime timer is overtime, wherein the smaller the packet number is, the longer the overtime time is; if yes, go to step (405), otherwise go back to step (401);
(405) requesting the sender to retransmit the tail packet data;
(406) requesting the sender to retransmit the data packet which is not received, and then returning to the step (403);
(407) and feeding back the successful file receiving information to the sender, and finishing the data transmission of the binary upgrading file.
Compared with the background technology, the invention has the advantages that:
1. the invention is based on the communication principle of the Beidou RDSS service, and transmits the executable binary file of the equipment to be upgraded in a subpackage manner, thereby realizing the remote upgrade and maintenance of the receiver program.
2. The invention reasonably plans and designs the packet length and the sending frequency of transmission by utilizing the principle and the method of Beidou RDSS short message communication, and simultaneously adopts a packet loss checking retransmission mechanism to ensure the success rate of program upgrading, thereby realizing the remote upgrading of the program.
Drawings
Fig. 1 is a flowchart of a file transfer operation of a sender in an embodiment of the present invention.
Fig. 2 is a flowchart of the file transfer work of the receiver in the embodiment of the present invention.
Detailed Description
As shown in fig. 1 and 2, a method for remotely upgrading a receiver program based on the beidou RDSS service includes the following steps:
(1) the sender sends a program upgrading instruction to the receiver (timed retransmission);
(2) after receiving the instruction, the receiver feeds back the successful receiving and prepares to receive the data of the executable binary file;
(3) the sender performs packet transmission according to the size of the executable binary file of the receiver; the concrete mode is as follows:
(301) the sender judges whether the program upgrading instruction needs to be retransmitted according to the feedback of the receiver, and if the program upgrading instruction does not need to be retransmitted, the step (302) is carried out;
(302) a sender reads and sends binary upgrade file data to be transmitted, and simultaneously judges whether the maximum value allowed by single data sending of the SIM card is reached, if so, the step (303) is carried out, otherwise, the step (305) is carried out;
(303) performing sub-packet processing on the secondary system upgrade file data to be sent according to the limitation of the maximum byte sent by the current SIM, and filling the total data packet number N and the current data packet serial number M in each packet of data;
(304) sequentially sending each data packet in sequence, judging whether the current sending is a tail packet or not during each sending, if so, turning to the step (307), and otherwise, turning to the step (305);
(305) judging whether the data packet which is just sent needs to be sent again according to the feedback of the receiving party, if so, finding the corresponding data packet to send again, and if not, turning to (306);
(306) sending the non-tail packet data, judging whether the file transmission is finished or not, if so, turning to the step (307), otherwise, returning to the step (305);
(307) and sending the tail packet data, and finishing the transmission of the binary upgrade file data.
(4) The receiver receives the file according to the executable binary file until the file is transmitted completely and the receiver feeds back the file to be received completely; the concrete mode is as follows:
(401) the receiver receives the message information, judges the message type according to the message information header, and transfers corresponding steps (step 2 and step 3) to execute according to different message types;
(402) the ordinary Beidou telegraph text goes through an ordinary Beidou telegraph text processing flow;
(403) if the file transmission message is stored firstly, then judging whether the file transmission message is a tail packet or a retransmission data packet, if the file transmission message is the tail packet or the retransmission data packet, executing the step 4, and if the file transmission message is not the tail packet or the retransmission data packet;
(404) counting the message receiving state of the file to judge whether the messages are completely received, if so, executing the step 8, and if not, executing the step 7;
(405) opening a dynamic overtime timer (the overtime time is different according to the different overtime times of the packet numbers, and the smaller the packet number, the longer the overtime time), judging whether the overtime is exceeded or not, if the overtime is executed, turning to the step 6, and if the overtime is not executed in the step 1;
(406) requesting the sender to retransmit the tail packet data;
(407) requesting the sender to retransmit the corresponding data packet;
(408) and feeding back the success of the received file to the sender, and finishing the transmission of the upgrade file.
(5) The sending party sends an FLASH erasing instruction to the receiving party (timing retransmission);
(6) after receiving the instruction, the receiver feeds back the successful receiving and erases the FLASH programming program;
(7) after the program of the receiver is programmed, the programming success is fed back, and the equipment of the receiver resets and restarts to run the new version program;
thus, the remote upgrade of the receiver program is completed.
The method is used for remote program upgrading of equipment with the RDSS short message communication function, an engineer does not need to maintain and upgrade programs on site, remote program maintenance and upgrading of the Beidou receiver is supported, and upgrading file transmission has a retransmission check function, so that the success rate can be ensured.
By using the method, only the ID number of the target equipment to be upgraded needs to be known, and meanwhile, the equipment is started and normally receives the Beidou signal. The method solves the problem of difficulty in software upgrading and optimizing caused by the fact that technicians are difficult to fast arrive at the site in the delivered remote area equipment, and is an important improvement on the prior art.
Claims (3)
1. A receiver program remote upgrading method based on Beidou RDSS service is characterized by comprising the following steps:
(1) the sender sends a program upgrading instruction to the receiver;
(2) after receiving the instruction, the receiver feeds back the successful receiving information and prepares to receive the executable binary upgrading file data;
(3) the sender performs packet transmission according to the size of the binary upgrade file data;
(4) the receiving party receives the binary upgrade file data sub-package until the file transmission is finished, and feeds back file receiving success information;
(5) after receiving the file receiving completion information, the sender sends an FLASH erasing instruction to the receiver;
(6) after receiving the FLASH erasing instruction, the receiver feeds back successful receiving information, erases the FLASH and writes the upgrading program;
(7) and after the receiver finishes programming, feeding back the programming success information, resetting and restarting, and running the new version program.
2. The Beidou RDSS service-based receiver program remote upgrading method according to claim 1, characterized in that the specific manner of the step (3) is as follows:
(301) the sender judges whether the program upgrading instruction needs to be retransmitted according to the feedback of the receiver, and if the program upgrading instruction does not need to be retransmitted, the step (302) is carried out;
(302) a sender reads and sends binary upgrade file data to be transmitted, and simultaneously judges whether the maximum value allowed by single data sending of the SIM card is reached, if so, the step (303) is carried out, otherwise, the step (305) is carried out;
(303) performing sub-packet processing on the secondary system upgrade file data to be sent according to the limitation of the maximum byte sent by the current SIM, and filling the total data packet number N and the current data packet serial number M in each packet of data;
(304) sequentially sending each data packet in sequence, judging whether the current sending is a tail packet or not during each sending, if so, turning to the step (307), and otherwise, turning to the step (305);
(305) judging whether the data packet which is just sent needs to be sent again according to the feedback of the receiving party, if so, finding the corresponding data packet to send again, and if not, turning to (306);
(306) sending the non-tail packet data, judging whether the file transmission is finished or not, if so, turning to the step (307), otherwise, returning to the step (305);
(307) and sending the tail packet data, and finishing the transmission of the binary upgrade file data.
3. The Beidou RDSS service-based receiver program remote upgrading method according to claim 1, characterized in that the specific manner of the step (4) is as follows:
(401) the receiver receives the message information, judges the message type according to the message information header, if the message type is the common Beidou message, executes the common Beidou message processing flow, and if the message type is the binary upgrading file data, the step (402) is carried out;
(402) storing the data, judging whether the data is a tail packet or a retransmission data packet, if so, turning to the step (403), otherwise, turning to the step (404);
(403) counting the receiving state of the telegraph text, judging whether the binary upgrading file data are completely received, if so, turning to the step (407), otherwise, turning to the step (406);
(404) opening a dynamic overtime timer, and judging whether the dynamic overtime timer is overtime, wherein the smaller the packet number is, the longer the overtime time is; if yes, go to step (405), otherwise go back to step (401);
(405) requesting the sender to retransmit the tail packet data;
(406) requesting the sender to retransmit the data packet which is not received, and then returning to the step (403);
(407) and feeding back the successful file receiving information to the sender, and finishing the data transmission of the binary upgrading file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110264785.3A CN113094065A (en) | 2021-03-11 | 2021-03-11 | Receiver program remote upgrading method based on Beidou RDSS service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110264785.3A CN113094065A (en) | 2021-03-11 | 2021-03-11 | Receiver program remote upgrading method based on Beidou RDSS service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113094065A true CN113094065A (en) | 2021-07-09 |
Family
ID=76667809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110264785.3A Pending CN113094065A (en) | 2021-03-11 | 2021-03-11 | Receiver program remote upgrading method based on Beidou RDSS service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113094065A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136028A (en) * | 2013-03-11 | 2013-06-05 | 西北工业大学 | FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA) |
CN104077164A (en) * | 2014-07-08 | 2014-10-01 | 北京九天利建信息技术有限公司 | Beidou terminal device software updating method in Beidou communication system |
-
2021
- 2021-03-11 CN CN202110264785.3A patent/CN113094065A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136028A (en) * | 2013-03-11 | 2013-06-05 | 西北工业大学 | FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA) |
CN104077164A (en) * | 2014-07-08 | 2014-10-01 | 北京九天利建信息技术有限公司 | Beidou terminal device software updating method in Beidou communication system |
Non-Patent Citations (3)
Title |
---|
张云等: "《北斗卫星系统的定位技术及船舶导航应用》", 31 January 2019, 上海科学技术出版社 * |
杜列波等: "基于麒麟嵌入式操作系统的车载智能终端软件远程升级的设计与实现", 《国防科技大学学报》 * |
许艳杰等: "基于北斗 RDSS 数传终端的远程固件升级技术", 《第九届中国卫星导航学术年会》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6128483A (en) | Simultaneous over the air data download to multiple radios | |
CN101588231B (en) | Apparatus and method for enhanced um rlc data handling | |
EP0959635A1 (en) | Connectionless downloading of software to wireless terminals | |
CN101841399B (en) | Method and device for implementing uplink synchronization HARQ (Hybrid Automatic Repeat Request) process in multi-base station cooperative receiving network | |
US20110185081A1 (en) | Process for communication between a device running Java ME® and a server over the air, as well as related system | |
CN106886438A (en) | System remote update method based on FPGA | |
CN101860797B (en) | Transmission method of data information, device thereof and mobile multimedia broadcasting service system | |
JP2004135301A (en) | Data communication method using control message | |
CN104954502A (en) | MAC address updating method in production line and system thereof | |
CN101369879B (en) | Method and apparatus for requesting data retransmission | |
CN113721966B (en) | Node upgrading method and device, storage medium and electronic device | |
CN113746892B (en) | Remote upgrading method and wireless terminal equipment | |
CN106330408A (en) | Data transmission system and method | |
CN109639507B (en) | Broadband power line carrier communication network upgrading method | |
EP1073289B1 (en) | Broadcast communication method, mobile communication system and mobile station using the broadcast communication method | |
CN104518856A (en) | Downlink HARQ (hybrid automatic repeat request) feedback processing method and device for base station and LTE (long-term evolution) system | |
CN106453613B (en) | Message retransmission method and device | |
CN113094065A (en) | Receiver program remote upgrading method based on Beidou RDSS service | |
EP3926869A1 (en) | Method and device for sending feedback information, and method and device for receiving feedback information | |
CN109889368B (en) | GPRS remote upgrading method based on STM32 controller | |
CN112583472B (en) | Multicast file sending, receiving and transmitting method and device for batch upgrading satellite equipment | |
CN113785514A (en) | Sending method, receiving method, device, terminal and medium of feedback information | |
CN104869543A (en) | Information transmission method and device for eNodeB and user equipment | |
CN101345775B (en) | Synchronization method and system for man-computer command script document between network manager and network element | |
CN102237993A (en) | MMS (multimedia message) receiving/transmission retry method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210709 |