Remote upgrading method based on Beidou third generation

By introducing index value and combined transmission mechanisms into the Beidou third-generation communication system, the problems of low efficiency and poor reliability of traditional remote upgrade methods in areas without mobile network coverage are solved, efficient and reliable upgrade of equipment programs is achieved, and the efficiency and reliability of remote upgrades are improved.

CN119536774AInactive Publication Date: 2025-02-28FUZHOU FUDA BEIDOU COMM TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510100155.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-02-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional remote device program upgrade method has problems such as low communication efficiency, poor reliability and cumbersome upgrade process in areas without mobile network coverage, and the existing Beidou upgrade methods have failed to fully utilize the communication advantages of Beidou's third generation.

Method used

A remote upgrade method based on the Beidou third generation is proposed. By designing an optimized data transmission mechanism, error handling mechanism and program migration operation, the characteristics and advantages of the Beidou third generation communication system are used to achieve efficient and reliable upgrade of equipment programs. Specific measures include the use of a combined transmission mechanism of file information frames, ordinary data frames and missing data frames, and the introduction of index values ​​to enhance the accuracy and reliability of data transmission.

Benefits of technology

It realizes efficient and reliable upgrades of equipment programs in areas without mobile network coverage, improves the efficiency and reliability of the upgrade process, ensures the smooth progress of remote upgrades, and brings convenience and benefits to equipment maintenance and upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536774A_ABST
    Figure CN119536774A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of satellite communication, and particularly relates to a Beidou third-generation-based remote upgrading method, which realizes upgrading of equipment program files based on a Beidou third-generation communication system. The Beidou third-generation communication system comprises a Beidou third-generation communication channel used for data transmission between a Beidou upgrading server and a Beidou upgrading client, the Beidou upgrading server and the Beidou upgrading client, and the Beidou upgrading server is connected with the Beidou upgrading client. Based on Beidou third-generation communication, an efficient and reliable equipment program remote upgrading method is created, and by means of high reliability, stability and wide coverage of Beidou third-generation, the method ensures accurate and reliable data transmission, efficient interaction between a server and a client and smooth upgrading by combining index values, various data frame transmission and a strict verification mechanism. And equipment maintenance and upgrading are greatly facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of satellite communication technology, and in particular relates to a remote upgrade method based on Beidou III. Background Art

[0002] Under the traditional technical framework, remote device program upgrades face a series of challenges, especially in areas without mobile network coverage. These areas often rely on satellite communication systems for data transmission. However, traditional satellite communication systems were not designed with the needs of remote upgrades in mind, resulting in a complex and inefficient upgrade process. First, traditional technologies lack a data transmission mechanism optimized for remote upgrades. During the data transmission process, key elements such as file information, data content, and error handling have not been clearly defined and optimized. For example, traditional satellite communication systems may not be able to provide file information frames to clearly indicate the start and related information of the upgrade file, nor do they have ordinary data frames to transmit the content of the upgrade file. They also lack missing data frames to deal with the loss problem during the data transmission process. The imperfection of this data transmission mechanism makes the upgrade process prone to errors and difficult to perform efficient error handling. Secondly, traditional technologies lack flexibility and reliability during the upgrade process. Due to the lack of an effective index value and frame number management mechanism, it is difficult for the server and client to accurately track and synchronize the progress of the upgrade file during data transmission. This results in the server being unable to identify and resend the lost data frame in time if data is lost or damaged during data transmission, and the client being unable to accurately feedback the receiving status, thus affecting the success rate of the upgrade. In addition, the existing Beidou upgrade means also have deficiencies in design and implementation. Although the Beidou satellite communication system has been widely developed and applied in China, in the field of remote upgrades, the communication capabilities and characteristics of Beidou-3 have not been fully utilized to optimize the upgrade process. For example, the existing Beidou upgrade means may not use index values ​​to identify and distinguish different upgrade files and upgrade stages, which may lead to confusion and errors during the upgrade process. At the same time, the existing means may also lack a complete error detection and retransmission mechanism, which makes the upgrade process have greater uncertainty in data transmission.

[0003] In summary, traditional technology has many defects in remote device program upgrades, and the existing Beidou upgrade methods have failed to fully utilize the communication advantages of Beidou-3 to optimize the upgrade process. Summary of the invention

[0004] 1. Technical issues to be resolved The present invention aims to solve the problems faced by traditional remote upgrade methods in areas without mobile network coverage, such as low communication efficiency, poor reliability and cumbersome upgrade process. In particular, in these areas, the upgrade of device programs is crucial for updating device functions and repairing faults, but traditional upgrade methods often cannot meet these needs. Therefore, the present invention proposes a remote upgrade method based on Beidou III, which makes full use of the characteristics and advantages of Beidou III communication system, and realizes efficient and reliable upgrade of device programs in areas without mobile network coverage by designing optimized data transmission mechanism, error handling mechanism and program migration operation.

[0005] (II) Technical solution The present invention is implemented by the following technical scheme: the present invention proposes a remote upgrade method based on Beidou III, the upgrade method realizes the upgrade of device program files based on Beidou III communication system, the Beidou III communication system includes Beidou III communication channel for data transmission between Beidou upgrade server and Beidou upgrade client, Beidou upgrade server and Beidou upgrade client, the Beidou upgrade server is connected with Beidou upgrade client, wherein the method comprises the following steps: a. Using the characteristics of the BeiDou III communication channel, set the data transmission mechanism of BeiDou III transmission, the data transmission mechanism includes: File information frame, which is sent from the Beidou upgrade server to the Beidou upgrade client at the beginning of the upgrade to provide information about the device program upgrade file; Ordinary data frame, used by the Beidou upgrade server to transmit the content of the device program upgrade file to the Beidou upgrade client; Missing data frame: during the device program upgrade file transmission process, if the Beidou upgrade client finds that the normal data frame is lost, it generates a missing data frame corresponding to the normal data frame and sends it to the Beidou upgrade server; The missing data frame and the common data frame both include an index value; The index value is used to identify and distinguish the upgrade process of the same device program upgrade file at different upgrade stages, or to identify and distinguish different device program upgrade files and the upgrade process of their corresponding upgrade stages; The index values ​​of the missing data frame and the normal data frame are consistent; b. The Beidou upgrade server performs the following steps: 1) Start; II) Beidou upgrade server reads file information frame; III) The Beidou upgrade server divides the device program upgrade file into frames according to the preset length; IV) The Beidou upgrade server stores the framed device program upgrade files in the database in order and sets a tail frame; V) The Beidou upgrade server sends the file information frame to the Beidou upgrade client through the Beidou-3 communication channel; VI) The Beidou upgrade server determines whether there are any unsent common data frames. If yes, jump to step VII); if no, jump to step IX); VII) The Beidou upgrade server takes out the common data frame and marks it as sent; VIII) The Beidou upgrade server sends the common data frame to the Beidou upgrade client through the Beidou third-generation communication channel, and jumps back to step VI); IX) The Beidou upgrade server continues to wait for 180 seconds and executes step X); X) The Beidou upgrade server determines whether the missing data frame is received, if not, jump to step IX); if yes, jump to step XI); XI) The Beidou upgrade server sets the common data frame corresponding to the missing data frame to an unsent state and jumps to step VI); c. The Beidou upgrade client performs the following steps: 1st) Start; 2nd) The Beidou upgrade client receives the file information frame sent by the Beidou upgrade server; 3rd) The Beidou upgrade client determines whether the file information frame is a received file information frame, if yes, jump to step 2nd); if no, jump to step 4th); 4th) The Beidou upgrade client receives the common data frame sent by the Beidou upgrade server; 5th) The Beidou upgrade client determines whether it is a normal data frame that has been stored according to the index value of the normal data frame and the current packet frame number. If yes, jump to step 4th); if no, jump to step 6th); 6th) Beidou upgrade client stores normal data frames; 7th) Beidou upgrade client determines whether the normal data frame is the tail frame, if yes, jump to step 8th); if no, jump to step 4th); 8th) Beidou upgrade client determines whether the frame number of the common data frame is missing, if not, jump to step 9th); if yes, jump to step 10th); 9th) The Beidou upgrade client determines whether the checksum of the common data frame is correct. If yes, jump to step 11th); if no, jump to step 10th); 10th) The Beidou upgrade client generates and sends the missing data frame corresponding to the normal data frame, and jumps to step 4th); 11th) End; d. After receiving and verifying the device program upgrade file, the Beidou upgrade client performs a program migration operation to overwrite the old version of the program.

[0006] Preferably, the file information frame includes: Checksum: CRC checksum of the entire device program upgrade file; File size: the size of the entire device program upgrade file, in bytes; File name: The name of the entire device program upgrade file during the transmission process; File name size: the number of bytes occupied by the file name; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Single packet data size: The data packet size of a normal data frame transmission.

[0007] Preferably, the common data frame includes: Checksum: CRC checksum of the device program upgrade file content; Data length: the transmission length value of the device program upgrade file content, in bytes; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Current packet frame number: the serial number value of the device program upgrade file content in the transmission process; Data content: device program upgrade file content.

[0008] Preferably, the missing data frame includes: Checksum: CRC checksum of the entire missing data frame; Single packet data size: the data packet size of ordinary data frame transmission; Number of lost frames: the number of frames lost this time; Lost frame number: The sequence number of the missing data frame.

[0009] Preferably, when the Beidou upgrade server executes the step III), the preset length is divided into lengths according to the Beidou card level of the Beidou-3 communication system, as shown below: Beidou card is level 1, length 74; Beidou card is level 2, length 217; Beidou card is level 3, length 473; Beidou card is level 4, length is 985; Beidou card is level 5 and has a length of 1738.

[0010] Preferably, the program migration operation performed in step d is a boot migration program.

[0011] (III) Beneficial effects Compared with the prior art, the present invention has the following beneficial effects: The present invention constructs an efficient and reliable device program remote upgrade method based on the Beidou-3 communication channel. The method fully utilizes the high reliability, stability and wide coverage of Beidou-3 communication, and achieves accuracy and reliability of data transmission by introducing a combined transmission mechanism of index values, file information frames, common data frames and missing data frames, as well as a strict data verification mechanism. The efficient interaction between the server and the client ensures the smooth progress of the remote upgrade process, which brings great convenience and benefits to device maintenance and upgrade. The application of the present invention will strongly promote the development of device intelligence and remote management. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings: Figure 1 This is a flow chart of the execution steps of the Beidou upgrade server of the present invention.

[0013] Figure 2 This is a flow chart of the execution steps of the Beidou upgrade client of the present invention.

[0014] Figure 3 This is a system block diagram of the BeiDou-3 communication system of the present invention. DETAILED DESCRIPTION

[0015] In this technical solution: In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0016] Figure 1 As shown, the present invention proposes a remote upgrade method based on Beidou III, wherein the upgrade method implements the upgrade of device program files based on the Beidou III communication system, the Beidou III communication system includes a Beidou III communication channel for data transmission between a Beidou upgrade server and a Beidou upgrade client, a Beidou upgrade server and a Beidou upgrade client, and the Beidou upgrade server is connected to the Beidou upgrade client, wherein the method comprises the following steps: a. Using the characteristics of the BeiDou III communication channel, set the data transmission mechanism of BeiDou III transmission, the data transmission mechanism includes: File information frame, which is sent from the Beidou upgrade server to the Beidou upgrade client at the beginning of the upgrade to provide information about the device program upgrade file; Ordinary data frame, used by the Beidou upgrade server to transmit the content of the device program upgrade file to the Beidou upgrade client; Missing data frame: during the device program upgrade file transmission process, if the Beidou upgrade client finds that the normal data frame is lost, it generates a missing data frame corresponding to the normal data frame and sends it to the Beidou upgrade server; The missing data frame and the common data frame both include an index value; The index value is used to identify and distinguish the upgrade process of the same device program upgrade file at different upgrade stages, or to identify and distinguish different device program upgrade files and the upgrade process of their corresponding upgrade stages; The index values ​​of the missing data frame and the normal data frame are consistent; b. The Beidou upgrade server performs the following steps (refer to Figure 1 shown): 1) Start; II) Beidou upgrade server reads file information frame; III) The Beidou upgrade server divides the device program upgrade file into frames according to the preset length; IV) The Beidou upgrade server stores the framed device program upgrade files in the database in order and sets a tail frame; V) The Beidou upgrade server sends the file information frame to the Beidou upgrade client through the Beidou-3 communication channel; VI) The Beidou upgrade server determines whether there are any unsent common data frames. If yes, jump to step VII); if no, jump to step IX); VII) The Beidou upgrade server takes out the common data frame and marks it as sent; VIII) The Beidou upgrade server sends the common data frame to the Beidou upgrade client through the Beidou third-generation communication channel, and jumps back to step VI); IX) The Beidou upgrade server continues to wait for 180 seconds and executes step X); X) The Beidou upgrade server determines whether the missing data frame is received, if not, jump to step IX); if yes, jump to step XI); XI) The Beidou upgrade server sets the common data frame corresponding to the missing data frame to an unsent state and jumps to step VI); c. The Beidou upgrade client performs the following steps (refer to Figure 2 shown): 1st) Start; 2nd) The Beidou upgrade client receives the file information frame sent by the Beidou upgrade server; 3rd) The Beidou upgrade client determines whether the file information frame is a received file information frame, if yes, jump to step 2nd); if no, jump to step 4th); 4th) The Beidou upgrade client receives the common data frame sent by the Beidou upgrade server; 5th) The Beidou upgrade client determines whether it is a normal data frame that has been stored according to the index value of the normal data frame and the current packet frame number. If yes, jump to step 4th); if no, jump to step 6th); 6th) Beidou upgrade client stores normal data frames; 7th) Beidou upgrade client determines whether the normal data frame is the tail frame, if yes, jump to step 8th); if no, jump to step 4th); 8th) Beidou upgrade client determines whether the frame number of the common data frame is missing, if not, jump to step 9th); if yes, jump to step 10th); 9th) The Beidou upgrade client determines whether the checksum of the common data frame is correct. If yes, jump to step 11th); if no, jump to step 10th); 10th) The Beidou upgrade client generates and sends the missing data frame corresponding to the normal data frame, and jumps to step 4th); 11th) End; d. After receiving and verifying the device program upgrade file, the Beidou upgrade client performs a program migration operation to overwrite the old version of the program.

[0017] The file information frame includes: Checksum: CRC checksum of the entire device program upgrade file; File size: the size of the entire device program upgrade file, in bytes; File name: The name of the entire device program upgrade file during the transmission process; File name size: the number of bytes occupied by the file name; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Single packet data size: The data packet size of a normal data frame transmission.

[0018] Among them, the common data frame includes: Checksum: CRC checksum of the device program upgrade file content; Data length: the transmission length value of the device program upgrade file content, in bytes; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Current packet frame number: the serial number value of the device program upgrade file content in the transmission process; Data content: device program upgrade file content.

[0019] Wherein, the missing data frame includes: Checksum: CRC checksum of the entire missing data frame; Single packet data size: the data packet size of ordinary data frame transmission; Number of lost frames: the number of frames lost this time; Lost frame number: The sequence number of the missing data frame.

[0020] Wherein, the Beidou upgrade server performs the step III), and the preset length is divided into lengths according to the Beidou card level of the Beidou-3 communication system, as shown below: Beidou card is level 1, length 74; Beidou card is level 2, length 217; Beidou card is level 3, length 473; Beidou card is level 4, length is 985; Beidou card is level 5 and has a length of 1738.

[0021] The program migration operation performed in step d is a boot migration program.

[0022] The present invention is to construct a device program remote upgrade system based on the Beidou-3 communication system; the system is composed of a Beidou upgrade server, a Beidou upgrade client, and a Beidou-3 communication channel connecting the two; the Beidou-3 communication channel, as a bridge for data transmission, provides a solid foundation for remote upgrade with its high reliability, stability and wide coverage; In the design of the data transmission mechanism, the present invention adopts a combination of file information frames, common data frames and missing data frames, and introduces the concept of index values ​​to enhance the accuracy and reliability of data transmission; the file information frame is sent from the server to the client at the beginning of the upgrade, and contains key information of the device program upgrade file, such as the checksum, file size, file name, etc.; this information is crucial for the subsequent data reception and verification by the client; in particular, the file information frame also includes an initial index value for identifying the starting point of the entire data transmission sequence; Ordinary data frames are used to transmit the specific content of the device program upgrade file; the server will divide the file into frames according to the preset length (determined based on the Beidou card level) and send it to the client in sequence; each data frame contains a current index value, which is used to identify the position of the data frame in the entire data transmission sequence; in this way, when receiving a data frame, the client can judge the repeatability and integrity of the data frame by comparing the current index value with the index value of the received data frame; if the current index value has been received, it means that the data frame is repeated and can be discarded directly; if the current index value is missing, it means that a data frame is lost, and a missing data frame needs to be generated and sent to the server to request retransmission; A missing data frame is generated when the client finds that a data frame is lost during data transmission. It contains relevant information about the lost data frame, such as the number of lost frames, the lost frame sequence number (i.e. the missing index value range), etc., and is sent to the server to request retransmission. After receiving the missing data frame, the server will resend the lost data frame according to the information in it until all data frames are received correctly. In the interaction process between the server and the client, both parties play important roles; the server is responsible for reading file information frames, framing device program upgrade files, storing data frames, sending data frames, and resending lost data frames based on missing data frames; the client is responsible for receiving file information frames, judging the repeatability and integrity of data frames based on index values, storing unreceived data frames, performing verification operations, and performing program migration operations after receiving and verifying. In terms of data verification, the present invention has also made careful considerations; the server will calculate its verification value before sending each data frame and send it to the client together with the data frame; the client will also calculate its verification value after receiving each data frame and compare it with the verification value sent by the server; if the two are inconsistent, it means that an error or loss has occurred in the data transmission process, and the client will generate a missing data frame and send it to the server to request retransmission; this verification mechanism further enhances the reliability and stability of data transmission; When performing the program migration operation, the present invention adopts the boot migration program; this program migration method can ensure that the old version of the program is correctly overwritten and the new version of the program can run smoothly; during the migration process, the client will write the new version of the program into the storage area of ​​the device according to the preset rules and steps, and complete the necessary configuration and initialization operations; the completion of this step marks the end of the entire remote upgrade process; In summary, the remote upgrade method based on Beidou III proposed in the present invention achieves the accuracy and reliability of data transmission by introducing the concept of index value and combining the combination of file information frame, ordinary data frame and missing data frame; at the same time, the present invention also fully considers the importance of data verification and the interactive operation between the server and the client, ensuring the smooth progress of the entire remote upgrade process; the application of the present invention will bring great convenience and benefits to equipment maintenance and upgrading, and is of great significance to promoting the development of equipment intelligence and remote management.

[0023] Example 1: Application of remote upgrade method based on Beidou III to smart meter Parameters and indicators: Device Type: Smart Meter Beidou card level: Level 3 Default length: 473 bytes File info frame content: Checksum: CRC32 checksum of the entire upgrade file File size: 100KB File name: "SmartMeter_V2.0.bin" File name size: 18 bytes Total frame number: 212 frames Single packet data size: 473 bytes Initial index value: 0 Upgrade process: Server operation: Read the file information frame and prepare 212 normal data frames, each with a size of 473 bytes; Store these frames in the database in order and mark the last frame; Send file information frames to the client through the Beidou-3 communication channel; Send normal data frames in sequence, each frame contains the current index value (from 0 to 211); Wait for a request for a missing data frame, and resend the corresponding frame if there is one; Client operation: Receive the file information frame and record the initial index value 0; Receive common data frames in sequence, and judge and store frames that have not been received according to the index value; After receiving the last frame, check whether the frame number is missing and perform CRC check; If a missing frame is found (assuming that the frame with index value 50 is lost), a missing data frame (including the number of lost frames 1 and the sequence number of lost frames 50) is generated and sent to the server. Receive retransmitted frames and complete reception and verification of all frames; Program migration: Use the boot migration program to write the new version of the program into the meter storage area; Configuration and initialization are completed, and the upgrade is successful; Index value reflects: During the entire upgrade process, the index value ranges from 0 to 211, ensuring the uniqueness and order of each common data frame; The missing data frame clearly indicates the lost frame sequence number (index value 50), so that the server can accurately resend the lost frame.

[0024] Example 2: Application of remote upgrade method based on Beidou III to vehicle navigation system Parameters and indicators: Device Type: Car Navigation System Beidou card level: Level 4 Default length: 985 bytes File info frame content: Checksum: MD5 checksum of the entire upgrade file File size: 2MB File name: "NavSystem_V3.1.bin" File name size: 20 bytes Total frame number: 2048 frames Single packet data size: 985 bytes Initial index value: 1000 (assuming the first 1000 frames are old version data, this upgrade starts from the 1001st frame) Upgrade process: Server operation: Read the file information frame and prepare 2048 normal data frames, each with a size of 985 bytes, starting from index value 1001; Store these frames in the database in order and mark the last frame; Send file information frames to the client through the Beidou-3 communication channel; Send normal data frames in sequence, each frame contains the current index value (from 1001 to 3048); Wait for a request for a missing data frame, and resend the corresponding frame if there is one; Client operation: Receive the file information frame and record the initial index value 1000 (note: the actual reception starts from 1001); Receive common data frames in sequence, and judge and store frames that have not been received according to the index value; After receiving the last frame, check whether the frame number is missing and perform MD5 verification; If a missing frame is found (assuming that the frame with index value 2500 is lost), a missing data frame (including the number of lost frames 1 and the sequence number of lost frames 2500) is generated and sent to the server. Receive retransmitted frames and complete reception and verification of all frames; Program migration: Use the boot migration program to write the new version of the program into the navigation system storage area; Configuration and initialization are completed, and the upgrade is successful; Index value reflects: In this example, the index values ​​range from 1001 to 3048, indicating that the upgrade is performed from a certain point in the old version; The missing data frame clearly indicates the missing frame number (index value 2500), so that the server can accurately resend the frame, ensuring the integrity of the upgrade; Through the above two embodiments, it can be seen that the remote upgrade method based on Beidou III proposed in the present invention has a high upgrade success rate and efficiency in practical applications, which brings great convenience and benefits to equipment maintenance and upgrades. At the same time, the method also fully considers data verification and the interactive operation between the server and the client, ensuring the smooth progress of the entire remote upgrade process.

[0025] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0026] Finally, it should be noted that the above is only a specific example of the present invention. Obviously, the present invention is not limited to the above example, and there are many variations. All variations that can be directly derived or associated with the content disclosed by a person skilled in the art should be considered as the protection scope of the present invention.

Claims

1. A remote upgrade method based on Beidou III, wherein the upgrade method implements the upgrade of device program files based on the Beidou III communication system, the Beidou III communication system includes a Beidou III communication channel for data transmission between a Beidou upgrade server and a Beidou upgrade client, a Beidou upgrade server and a Beidou upgrade client, the Beidou upgrade server is connected to the Beidou upgrade client, and is characterized in that: The method comprises the following steps: a. Using the characteristics of the BeiDou III communication channel, set the data transmission mechanism of the BeiDou III transmission, the data transmission mechanism includes: File information frame, which is sent from the Beidou upgrade server to the Beidou upgrade client at the beginning of the upgrade to provide information about the device program upgrade file; Ordinary data frame, used by the Beidou upgrade server to transmit the content of the device program upgrade file to the Beidou upgrade client; Missing data frame: during the device program upgrade file transmission process, if the Beidou upgrade client finds that the normal data frame is lost, it generates a missing data frame corresponding to the normal data frame and sends it to the Beidou upgrade server; The missing data frame and the common data frame both include an index value; The index value is used to identify and distinguish the upgrade process of the same device program upgrade file at different upgrade stages, or to identify and distinguish different device program upgrade files and the upgrade process of their corresponding upgrade stages; The index values ​​of the missing data frame and the normal data frame are consistent; b. The Beidou upgrade server performs the following steps: Ⅰ) Start; Ⅱ) Beidou upgrade server reads file information frame; III) The Beidou upgrade server divides the device program upgrade file into frames according to the preset length; IV) The Beidou upgrade server stores the framed device program upgrade files in the database in sequence and sets a tail frame; V) The Beidou upgrade server sends the file information frame to the Beidou upgrade client through the Beidou-3 communication channel; VI) The Beidou upgrade server determines whether there are any unsent common data frames. If yes, jump to step VII); if no, jump to step IX); VII) The Beidou upgrade server takes out the common data frame and marks it as sent; VIII) The Beidou upgrade server sends the common data frame to the Beidou upgrade client through the Beidou third-generation communication channel, and jumps back to step VI); Ⅸ) The Beidou upgrade server continues to wait for 180 seconds and executes step X); Ⅹ) The Beidou upgrade server determines whether the missing data frame is received. If not, jump to step IX); if yes, jump to step XI); Ⅺ) The Beidou upgrade server sets the common data frame corresponding to the missing data frame to the unsent state and jumps to step VI); c. The Beidou upgrade client performs the following steps: 1st) Start; 2nd) The Beidou upgrade client receives the file information frame sent by the Beidou upgrade server; 3rd) The Beidou upgrade client determines whether the file information frame is a received file information frame, if yes, jump to step 2nd), if no, jump to step 4th); 4th) The Beidou upgrade client receives the common data frame sent by the Beidou upgrade server; 5th) The Beidou upgrade client determines whether it is a normal data frame that has been stored based on the index value of the normal data frame and the current packet frame number. If yes, jump to step 4th); if no, jump to step 6th); 6th) Beidou upgrade client stores normal data frames; 7th) Beidou upgrade client determines whether the normal data frame is the tail frame, if yes, jump to step 8th); if no, jump to step 4th); 8th) Beidou upgrade client determines whether the frame number of the common data frame is missing. If not, jump to step 9th); if yes, jump to step 10th); 9th) The Beidou upgrade client determines whether the checksum of the common data frame is correct. If yes, jump to step 11th); if no, jump to step 10th); 10th) The Beidou upgrade client generates and sends the missing data frame corresponding to the normal data frame, and jumps to step 4th); 11th) End; d. After receiving and verifying the device program upgrade file, the Beidou upgrade client performs a program migration operation to overwrite the old version of the program.

2. A remote upgrade method based on BeiDou III according to claim 1, characterized in that: The file information frame includes: Checksum: CRC checksum of the entire device program upgrade file; File size: the size of the entire device program upgrade file, in bytes; File name: The name of the entire device program upgrade file during the transmission process; File name size: the number of bytes occupied by the file name; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Single packet data size: The data packet size of a normal data frame transmission.

3. The remote upgrade method based on BeiDou III according to claim 1, characterized in that: Common data frames include: Checksum: CRC checksum of the device program upgrade file content; Data length: the transmission length value of the device program upgrade file content, in bytes; Total number of packets or frames: the total number of packets or frames into which the entire device program upgrade file is divided during the transmission process; Current packet frame number: the serial number value of the device program upgrade file content in the transmission process; Data content: device program upgrade file content.

4. The remote upgrade method based on BeiDou III according to claim 1, characterized in that: The missing data frame includes: Checksum: CRC checksum of the entire missing data frame; Single packet data size: the data packet size of ordinary data frame transmission; Number of lost frames: the number of frames lost this time; Lost frame number: The sequence number of the missing data frame.

5. The remote upgrade method based on BeiDou III according to claim 1, characterized in that: In the step III) performed by the Beidou upgrade server, the preset length is divided into lengths according to the Beidou card level of the Beidou-3 communication system, as shown below: Beidou card is level 1, length 74; Beidou card is level 2, length 217; Beidou card is level 3, length 473; Beidou card is level 4, length is 985; Beidou card is level 5 and has a length of 1738.

6. The remote upgrade method based on BeiDou III according to claim 1, characterized in that: The program migration operation performed in step d is the boot migration program.

Citation Information

Patent Citations

  • Interactive IAP upgrading method

    CN112579130A

  • Receiver program remote upgrading method based on Beidou RDSS service

    CN113094065A

  • Equipment upgrading method and system

    CN114527999A

  • Air upgrading system and method for wireless exploder

    CN117539510A

  • Upgrade method, computer system, and remote upgrade device implementing efficient remote upgrade

    US20230057089A1