CN110865832A - Communication protocol upgrading method, device and system based on low earth orbit satellite - Google Patents

Communication protocol upgrading method, device and system based on low earth orbit satellite Download PDF

Info

Publication number
CN110865832A
CN110865832A CN201910920074.XA CN201910920074A CN110865832A CN 110865832 A CN110865832 A CN 110865832A CN 201910920074 A CN201910920074 A CN 201910920074A CN 110865832 A CN110865832 A CN 110865832A
Authority
CN
China
Prior art keywords
service
update
attribute
communication protocol
updating
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
CN201910920074.XA
Other languages
Chinese (zh)
Other versions
CN110865832B (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.)
Beijing Hede Aerospace Technology Co Ltd
Original Assignee
Beijing Hede Aerospace Technology Co Ltd
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 Beijing Hede Aerospace Technology Co Ltd filed Critical Beijing Hede Aerospace Technology Co Ltd
Priority to CN201910920074.XA priority Critical patent/CN110865832B/en
Publication of CN110865832A publication Critical patent/CN110865832A/en
Application granted granted Critical
Publication of CN110865832B publication Critical patent/CN110865832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radio Relay Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a communication protocol upgrading method, a device and a system based on a low earth orbit satellite, wherein the method comprises the following steps: acquiring an update type of a communication protocol to be upgraded, wherein the update type comprises an update attribute and an update service; when the update type is judged to be the update attribute, generating and sending an attribute number carrying a new attribute value so that a terminal of the communication protocol to be upgraded receives the attribute number and updates the corresponding attribute according to the new attribute value corresponding to the attribute number; and when the update type is judged to be the update service, generating and sending an upgrade packet carrying a new service logic code and an initial attribute set so that a terminal of the communication protocol to be upgraded receives the upgrade packet and updates the corresponding service according to the decompressed upgrade packet. The method reduces the flow used by updating, thereby meeting the requirement of low-flow updating of the low-orbit satellite.

Description

Communication protocol upgrading method, device and system based on low earth orbit satellite
Technical Field
The embodiment of the invention relates to the technical field of software upgrading methods, in particular to a short data communication protocol upgrading method, device, system and storage medium based on a low earth orbit satellite.
Background
With the rapid development of electronic technology, communication technology and computer technology, embedded systems have been widely used in various fields, the requirements of various industries on the system function, performance and scale of embedded devices are increasing day by day, and developers must be able to maintain and upgrade the system in time according to the needs of customers to prolong the service life of the system and improve the performance of the system. At present, remote upgrading modes mainly comprise: the method adopts a structural design of Boot and double loaders to realize complete upgrade of the system, and an ARM software remote updating system based on a TFTP (Trivisual File Transfer protocol) protocol.
The operation of the embedded system is mainly divided into a working mode and an upgrading mode, wherein the working mode is a default mode, the working mode refers to a normal working state of the equipment, the embedded system completes corresponding measurement and control tasks according to a preset program, and reports monitoring parameters to a monitoring management center through internet, GPRS and other modes. The upgrading mode refers to that the embedded type is in an upgrading state and comprises the steps of receiving program codes sent by a server, solidifying the program codes in a flash area and the like.
The whole upgrading system mainly comprises a server and a remote terminal, wherein the remote terminal comprises an embedded control chip based on an ARM core and a Modem module. The two are connected through an RS232 bus, and the server and the remote terminal are communicated through the Internet. The server is used as an active initiator of a software upgrading task, firstly an upgrading command is sent to the embedded system, after hardware of the embedded system is started, a bootstrap program Bootloader is executed firstly to carry out a series of initialization operations, meanwhile, an upgrading control program is selected to be executed, after the server receives a confirmation upgrading reply of the embedded system, the server starts to send upgrading program codes, before the upgrading program codes are sent, the codes are divided into a plurality of data units with fixed lengths by the server, each data unit is taken as a core to form a data packet (the content of the data packet comprises a data packet head mark, a command head, a packet sequence, a data unit, a CRC (cyclic redundancy check) code, a data packet tail mark, a total packet number and the like), the embedded system returns confirmation information every time the embedded system receives one data packet, if the data packet is verified to be correct, erasing of an old program and copying of a new program are carried out in a specified FLASH area, therefore, the purpose of online upgrading of the embedded system software of the remote terminal is achieved.
The existing online upgrading mode is a mode of issuing the whole communication protocol to a terminal and then replacing the original communication protocol packet. This method has a large communication traffic, and even a fine parameter adjustment or a logic fine change will cause a large communication traffic. Under the WIFI or 4G mode, the network bandwidth between the terminal and the backup server is large, the delay is small, the size of a data frame is large, and great troubles cannot be caused by upgrading.
However, for the space-based internet of things of the low earth orbit satellite, especially for the narrow-band space-based internet of things, the traditional upgrading mode is not suitable. Firstly, the bandwidth allocated to a terminal by a satellite service network, especially a narrowband space-based internet of things, is only a few KB, the size of a message is generally tens of bytes, the delay is large, packet loss is common, and updating the whole firmware (several MB or tens of MB) is impossible. Second, terminals of the space-based internet of things are often deployed in relatively remote locations or where it is inconvenient for the owner to reach. For example: the terminal of the power tower on the Qinghai-Tibet plateau is not easy to be removed once; a terminal on the neck of a wild animal in the unmanned region; terminals on heavy construction machinery in a construction site, etc. It is not possible for the owner or manager of these communication terminals to use a laptop computer in the field to update the firmware of these terminals. In addition, the high construction cost and the operation cost of the base internet of things determine that the cost of the base internet of things is more expensive than the traffic cost of the cellular-based internet of things, and the communication protocol is updated to reduce the required traffic as much as possible.
Disclosure of Invention
To this end, embodiments of the present invention provide a method, an apparatus, and a system for communication protocol upgrade based on low earth orbit satellites, so as to at least partially solve at least one of the above technical problems.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a method for low earth orbit satellite based communication protocol upgrade, the method comprising:
acquiring an update type of a communication protocol to be upgraded, wherein the update type comprises an update attribute and an update service;
when the update type is judged to be the update attribute, generating and sending an attribute number carrying a new attribute value so that a terminal of the communication protocol to be upgraded receives the attribute number and updates the corresponding attribute according to the new attribute value corresponding to the attribute number;
and when the update type is judged to be the update service, generating and sending an upgrade packet carrying a new service logic code and an initial attribute set so that a terminal of the communication protocol to be upgraded receives the upgrade packet and updates the corresponding service according to the decompressed upgrade packet.
And further, when the update type is judged to be the update service, a check code is generated and sent, the check code is used for verifying whether the upgrade package is complete, when the upgrade package is verified to be complete according to the check code, the upgrade package is decompressed, and the corresponding service is updated according to the decompressed upgrade package.
Further, after the corresponding service is updated according to the decompressed upgrade package, the method further includes:
restarting all services of the updated service layer.
Further, the method further comprises:
verifying the service of the updated service layer;
and when the preset fault of any updated service is judged, returning the service version before updating.
The invention also provides a communication protocol upgrading device based on the low earth orbit satellite, which comprises:
the type obtaining unit is used for obtaining an updating type of the communication protocol to be upgraded, and the updating type comprises an updating attribute and an updating service;
the attribute updating unit is used for generating and sending an attribute number carrying a new attribute value when the updating type is judged to be the updating attribute so that a terminal of the communication protocol to be upgraded can receive the attribute number and update the corresponding attribute according to the new attribute value corresponding to the attribute number;
and the service updating unit is used for generating and sending an upgrading packet carrying a new service logic code and an initial attribute set when the updating type is judged to be the updating service, so that the terminal of the communication protocol to be upgraded can receive the upgrading packet, and the corresponding service is updated according to the decompressed upgrading packet.
Further, the service updating unit is further configured to generate and send a check code when the update type is determined to be the update service, where the check code is used to verify whether the upgrade package is complete, decompress the upgrade package when the upgrade package is verified to be complete according to the check code, and update the corresponding service according to the decompressed upgrade package.
Further, the service update unit is further configured to:
restarting all services of the updated service layer.
Further, the device service update unit is further configured to:
verifying the service of the updated service layer;
and when the preset fault of any updated service is judged, returning the service version before updating.
The present invention also provides a communication protocol upgrading system, which comprises: a processor and a memory;
the memory is to store one or more program instructions;
the processor is configured to execute one or more program instructions to perform the method as described above.
The present invention also provides a computer storage medium having one or more program instructions embodied therein for use by a communication protocol upgrade system to perform the method as described above.
According to the method, the device and the system for upgrading the communication protocol based on the low-orbit satellite, the upgrading of the terminal software is divided into the updating attribute and the dimension of the updating service, when the attribute needs to be updated, only the logic code corresponding to the new attribute is sent to the terminal, and the whole terminal code does not need to be updated every time, so that the flow cost of attribute updating is low, the flow used for updating is reduced, and the requirement of low-flow updating of the low-orbit satellite is met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
Fig. 1 is a schematic block diagram of a terminal framework applied by the communication protocol upgrading method provided by the present invention;
FIG. 2 is a flowchart of a communication protocol upgrading method according to an embodiment of the present invention;
fig. 3 is a block diagram of a communication protocol upgrading apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of a communication protocol upgrade system according to an embodiment of the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a specific embodiment, the invention provides a communication protocol upgrading method based on a low earth orbit satellite, which is suitable for a space-based internet of things of the low earth orbit satellite to meet the requirement of low flow upgrading. The method is implemented based on the terminal framework shown in fig. 1 and a carrier, and the method is implemented by virtue of the terminal framework. Specifically, a well-designed software architecture is needed for maintainability of a terminal of the space-based internet of things, so as to ensure that a low-earth orbit satellite can safely, reliably and inexpensively update or upgrade a communication protocol. As shown in fig. 1, the terminal framework is divided into multiple layers, first, a hardware layer, a basic firmware layer, a service architecture layer, and a micro-service layer. The user's logic is centralized in the microservice layer, and the upgrade of the present invention is performed for this layer. The hardware layer comprises a control chip of the terminal, a memory bank, a peripheral sensor and the like. The basic firmware layer is on the BootLoader and the operating system foundation (kernel, driver and file system), and needs to provide a service language environment (a compiler or an interpreter of the service language, and an extension of the service language) which is convenient for users to use. Common service languages include MicroPython (embedded version of Python), Lua (portable scripting language), Low.js (embedded version of node.js) and the like, the languages shield the complexity of memory management, hardware driving and the like, and meanwhile, standard logic components such as a clock, a scheduler, a common data structure and the like can be provided, so that a user can focus on own business logic conveniently and quickly build a business logic program applicable to the industry. The micro service layer is divided into a core service and a user service: the core service exposes the common functions of the terminal hardware, and the user can control the bottom layer hardware by simply updating the attribute of the core service, such as the power saving strategy of the power supply module; network protocol addresses of networking modules, etc.; the user service provides script code and its attributes that focus on the user business logic. These services and attributes all have a unique numerical code. When inquiring or updating the attribute, the specified attribute can be located only by providing the service number and the attribute number.
As shown in fig. 2, the method comprises the steps of:
s1: acquiring an update type of a communication protocol to be upgraded, wherein the update type comprises an update attribute and an update service; in order to reduce complexity and communication flow in an FOTA (Firmware Over-The-Air) upgrading process, according to objective conditions of users, upgrading requirements of The users are divided into two conditions: firstly, the logic is unchanged, and only the configuration parameters of the service, namely the update attribute, need to be changed; and secondly, a certain micro service, namely an update service, needs to be replaced. After the updating types are divided, different updating processes can be conveniently designed for the two updating requirements in the follow-up process, and for the updating attribute, only the new value of the attribute to be updated needs to be transmitted in the updating process; for update services, the upgrade process transmits a compressed package of new services, which contains their new logic code and attribute definitions, etc.
S2: when the update type is judged to be the update attribute, generating and sending an attribute number carrying a new attribute value so that a terminal of the communication protocol to be upgraded receives the attribute number and updates the corresponding attribute according to the new attribute value corresponding to the attribute number; specifically, when the attribute is updated, the internet of things gateway constructs an attribute setting message, specifies a service number, establishes multiple groups of attribute numbers and new attribute values thereof, and transmits the attribute setting message to the terminal through the satellite channel.
S3: and when the update type is judged to be the update service, generating and sending an upgrade packet carrying a new service logic code and an initial attribute set so that a terminal of the communication protocol to be upgraded receives the upgrade packet and updates the corresponding service according to the decompressed upgrade packet. When updating service, the gateway of the internet of things packs the service to be updated to form an upgrade package, the upgrade package comprises service logic codes and an initial attribute set, the upgrade package is compressed and is issued to the terminal through a satellite channel, the service framework of the terminal decompresses the upgrade package to a service directory after receiving the upgrade package identification, modifies the service list, removes the old service entry and replaces the old service entry with a new service, and therefore service updating is completed.
In order to ensure the integrity and the security of the data, the check code can be synchronously sent to the terminal along with the upgrade packet. Specifically, when the update type is judged to be the update service, a check code is further generated and sent, the check code is used for verifying whether the upgrade package is complete, when the upgrade package is verified to be complete according to the check code, the upgrade package is decompressed, and the corresponding service is updated according to the decompressed upgrade package. When updating service, the gateway of the internet of things packs the service to be upgraded to form an upgrade package, the upgrade package comprises a service logic code and an initial attribute set, the upgrade package is compressed and attached with a check code and is issued to the terminal through a satellite channel, a service frame of the terminal verifies the integrity of the upgrade package according to the attached check code after receiving the upgrade package identification, and then the upgrade package is decompressed to a service directory. The service framework modifies the service list, removes the old service entry, and replaces it with the new service to complete the service update.
Further, after the corresponding service is updated according to the decompressed upgrade package, the method further includes:
restarting all services of the updated service layer. When the services are updated, all services of the service layer are required to be restarted instead of the specified services, because the services may have a dependency relationship, all the services are restarted, and the mutual reference of the services is guaranteed to be still effective.
Still further, the method further comprises:
verifying the service of the updated service layer;
and when the preset fault of any updated service is judged, returning the service version before updating. After updating the service, the service framework may monitor the new service and if a preset condition is not met (e.g., a dead loop is trapped, an error is frequently reported, etc.), roll back to the old service before to ensure the availability of the terminal.
In the foregoing embodiment, the method for upgrading a communication protocol based on a low earth orbit satellite according to the present invention divides upgrading of terminal software into attributes to be updated and dimensionalities of update services, and when the attributes need to be updated, only a logic code corresponding to a new attribute needs to be sent to a terminal, and it is not necessary to update the whole terminal code each time, so that the traffic cost for attribute updating is low, the traffic used for updating is reduced, and the demand for low traffic updating of the low earth orbit satellite is met.
In addition, the updating mode provided by the invention also reduces the risk generated in the updating process. Because the space-based internet of things terminal is generally deployed in a place where a manager cannot easily reach, once the upgrade fails, a field maintenance worker needs to be dispatched to manually find and connect the terminal again so as to reset the firmware, the labor cost is high, and the upgrade failure even faces the risk of losing connection of the terminal under some extreme conditions. Both of the two updating methods proposed herein include attribute and code verification, and a rollback mechanism when the boot fails, so that the risk in an over the air upgrade (FOTA) process can be greatly reduced.
In addition to the above upgrading method, the present invention further provides a communication protocol upgrading apparatus based on a low earth orbit satellite, as shown in fig. 3, the apparatus includes:
the type obtaining unit 100, where the type obtaining unit 100 is configured to obtain an update type of a communication protocol to be upgraded, where the update type includes an update attribute and an update service; in order to reduce complexity and communication flow in an FOTA (Firmware Over-The-Air, Over-The-Air software upgrade of a mobile terminal) upgrading process, upgrading requirements of a user are divided into two conditions according to objective conditions of The user: firstly, the logic is unchanged, and only the configuration parameters of the service, namely the update attribute, need to be changed; and secondly, a certain micro service, namely an update service, needs to be replaced. After the updating types are divided, different updating processes can be conveniently designed for the two updating requirements in the follow-up process, and for the updating attribute, only the new value of the attribute to be updated needs to be transmitted in the updating process; for update services, the upgrade process transmits a compressed package of new services, which contains their new logic code and attribute definitions, etc.
An attribute updating unit 200, where the attribute updating unit 200 is configured to generate and send an attribute number carrying a new attribute value when determining that the update type is an update attribute, so that a terminal of a communication protocol to be upgraded receives the attribute number, and updates a corresponding attribute according to the new attribute value corresponding to the attribute number; specifically, when the attribute is updated, the internet of things gateway constructs an attribute setting message, specifies a service number, establishes multiple groups of attribute numbers and new attribute values thereof, and transmits the attribute setting message to the terminal through the satellite channel.
A service updating unit 300, where the service updating unit 300 is configured to generate and send an upgrade packet carrying a new service logic code and an initial attribute set when determining that the update type is an update service, so that a terminal of a communication protocol to be upgraded receives the upgrade packet, and updates a corresponding service according to a decompressed upgrade packet. When updating service, the gateway of the internet of things packs the service to be updated to form an upgrade package, the upgrade package comprises service logic codes and an initial attribute set, the upgrade package is compressed and is issued to the terminal through a satellite channel, the service framework of the terminal decompresses the upgrade package to a service directory after receiving the upgrade package identification, modifies the service list, removes the old service entry and replaces the old service entry with a new service, and therefore service updating is completed.
In order to ensure the integrity and the security of the data, the check code can be synchronously sent to the terminal along with the upgrade packet. Specifically, the service updating unit is further configured to generate and send a check code when the update type is determined to be the update service, where the check code is used to verify whether the upgrade package is complete, decompress the upgrade package when the upgrade package is verified to be complete according to the check code, and update the corresponding service according to the decompressed upgrade package. When updating service, the gateway of the internet of things packs the service to be upgraded to form an upgrade package, the upgrade package comprises a service logic code and an initial attribute set, the upgrade package is compressed and attached with a check code and is issued to the terminal through a satellite channel, a service frame of the terminal verifies the integrity of the upgrade package according to the attached check code after receiving the upgrade package identification, and then the upgrade package is decompressed to a service directory. The service framework modifies the service list, removes the old service entry, and replaces it with the new service to complete the service update.
The service updating unit is also used for restarting all the services of the updated service layer. When the services are updated, all services of the service layer are required to be restarted instead of the specified services, because the services may have a dependency relationship, all the services are restarted, and the mutual reference of the services is guaranteed to be still effective.
Further, the device service updating unit is further configured to verify services of the updated service layer, and return to the service version before updating when it is determined that a preset failure occurs in any updated service. After updating the service, the service framework may monitor the new service and if a preset condition is not met (e.g., a dead loop is trapped, an error is frequently reported, etc.), roll back to the old service before to ensure the availability of the terminal.
In the foregoing embodiment, the communication protocol upgrading method based on a low earth orbit satellite according to the present invention divides the upgrading of the terminal software into the updating attribute and the dimension of the updating service, and when the attribute needs to be updated, only the logic code corresponding to the new attribute needs to be sent to the terminal, and the whole terminal code does not need to be updated each time, so that the traffic cost for attribute updating is low, the traffic used for updating is reduced, and the requirement for low traffic updating of the low earth orbit satellite is met.
In addition, the updating device provided by the invention also reduces the risk generated in the updating process. Because the space-based internet of things terminal is generally deployed in a place where a manager cannot easily reach, once the upgrade fails, a field maintenance worker needs to be dispatched to manually find and connect the terminal again so as to reset the firmware, the labor cost is high, and the upgrade failure even faces the risk of losing connection of the terminal under some extreme conditions. Both of the two updating methods proposed herein include attribute and code verification, and a rollback mechanism when the boot fails, so that the risk in an over the air upgrade (FOTA) process can be greatly reduced.
According to a third aspect of the embodiments of the present invention, the present invention further provides a communication protocol upgrading system, as shown in fig. 4, the system includes: a processor 401 and a memory 402;
the memory is to store one or more program instructions;
the processor is configured to execute one or more program instructions to perform the method as described above.
In correspondence with the above embodiments, embodiments of the present invention also provide a computer storage medium containing one or more program instructions therein. Wherein the one or more program instructions are for execution by a communication protocol upgrade system to perform the method as described above.
In an embodiment of the invention, the processor may be an integrated circuit chip having signal processing capability. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The processor reads the information in the storage medium and completes the steps of the method in combination with the hardware.
The storage medium may be a memory, for example, which may be volatile memory or nonvolatile memory, or which may include both volatile and nonvolatile memory.
The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory.
The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), SLDRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
The storage media described in connection with the embodiments of the invention are intended to comprise, without being limited to, these and any other suitable types of memory.
Those skilled in the art will appreciate that the functionality described in the present invention may be implemented in a combination of hardware and software in one or more of the examples described above. When software is applied, the corresponding functionality may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are only for illustrating the embodiments of the present invention and are not to be construed as limiting the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the embodiments of the present invention shall be included in the scope of the present invention.

Claims (10)

1. A method for upgrading a communication protocol based on a low earth orbit satellite, the method comprising:
acquiring an update type of a communication protocol to be upgraded, wherein the update type comprises an update attribute and an update service;
when the update type is judged to be the update attribute, generating and sending an attribute number carrying a new attribute value so that a terminal of the communication protocol to be upgraded receives the attribute number and updates the corresponding attribute according to the new attribute value corresponding to the attribute number;
and when the update type is judged to be the update service, generating and sending an upgrade packet carrying a new service logic code and an initial attribute set so that a terminal of the communication protocol to be upgraded receives the upgrade packet and updates the corresponding service according to the decompressed upgrade packet.
2. The method for upgrading a communication protocol according to claim 1, wherein when it is determined that the update type is an update service, a check code is further generated and sent, the check code is used to verify whether the update package is complete, when it is verified that the update package is complete according to the check code, the update package is decompressed, and the corresponding service is updated according to the decompressed update package.
3. The method for upgrading a communication protocol according to claim 1, wherein after the corresponding service is updated according to the decompressed upgrade package, the method further comprises:
restarting all services of the updated service layer.
4. The communication protocol upgrade method according to claim 3, further comprising:
verifying the service of the updated service layer;
and when the preset fault of any updated service is judged, returning the service version before updating.
5. An apparatus for low earth orbit satellite based communication protocol upgrade, for implementing the method of any of claims 1-4, the apparatus comprising:
the type obtaining unit is used for obtaining an updating type of the communication protocol to be upgraded, and the updating type comprises an updating attribute and an updating service;
the attribute updating unit is used for generating and sending an attribute number carrying a new attribute value when the updating type is judged to be the updating attribute so that a terminal of the communication protocol to be upgraded can receive the attribute number and update the corresponding attribute according to the new attribute value corresponding to the attribute number;
and the service updating unit is used for generating and sending an upgrading packet carrying a new service logic code and an initial attribute set when the updating type is judged to be the updating service, so that the terminal of the communication protocol to be upgraded can receive the upgrading packet, and the corresponding service is updated according to the decompressed upgrading packet.
6. The apparatus according to claim 5, wherein the service update unit is further configured to generate and send a check code when determining that the update type is an update service, where the check code is used to verify whether the upgrade package is complete, decompress the upgrade package when verifying that the upgrade package is complete according to the check code, and update the corresponding service according to the decompressed upgrade package.
7. The communication protocol upgrade apparatus according to claim 5, wherein the service update unit is further configured to:
restarting all services of the updated service layer.
8. The communication protocol upgrade apparatus according to claim 7, wherein the apparatus service update unit is further configured to:
verifying the service of the updated service layer;
and when the preset fault of any updated service is judged, returning the service version before updating.
9. A communication protocol upgrade system, the system comprising: a processor and a memory;
the memory is to store one or more program instructions;
the processor, configured to execute one or more program instructions to perform the method of any of claims 1-4.
10. A computer storage medium comprising one or more program instructions for execution by a communication protocol upgrade system to perform the method of any of claims 1-4.
CN201910920074.XA 2019-09-26 2019-09-26 Communication protocol upgrading method, device and system based on low earth orbit satellite Active CN110865832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920074.XA CN110865832B (en) 2019-09-26 2019-09-26 Communication protocol upgrading method, device and system based on low earth orbit satellite

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920074.XA CN110865832B (en) 2019-09-26 2019-09-26 Communication protocol upgrading method, device and system based on low earth orbit satellite

Publications (2)

Publication Number Publication Date
CN110865832A true CN110865832A (en) 2020-03-06
CN110865832B CN110865832B (en) 2020-12-04

Family

ID=69652735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920074.XA Active CN110865832B (en) 2019-09-26 2019-09-26 Communication protocol upgrading method, device and system based on low earth orbit satellite

Country Status (1)

Country Link
CN (1) CN110865832B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862267A (en) * 2020-07-24 2020-10-30 北京和德宇航技术有限公司 Global spectrum temperature map construction method and system
CN112328215A (en) * 2020-10-30 2021-02-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management framework of aerospace measurement and control data transmission comprehensive equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN103793979A (en) * 2013-12-20 2014-05-14 深圳光启创新技术有限公司 Method for upgrading photon receiving end
CN101984407B (en) * 2010-11-02 2014-10-29 中兴通讯股份有限公司 Terminal driver upgrading method and device
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN101984407B (en) * 2010-11-02 2014-10-29 中兴通讯股份有限公司 Terminal driver upgrading method and device
CN103793979A (en) * 2013-12-20 2014-05-14 深圳光启创新技术有限公司 Method for upgrading photon receiving end
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862267A (en) * 2020-07-24 2020-10-30 北京和德宇航技术有限公司 Global spectrum temperature map construction method and system
CN111862267B (en) * 2020-07-24 2021-06-08 北京和德宇航技术有限公司 Global spectrum temperature map construction method and system
CN112328215A (en) * 2020-10-30 2021-02-05 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management framework of aerospace measurement and control data transmission comprehensive equipment
CN112328215B (en) * 2020-10-30 2023-12-19 西南电子技术研究所(中国电子科技集团公司第十研究所) Integrated comprehensive operation management system of aerospace measurement and control data transmission comprehensive equipment

Also Published As

Publication number Publication date
CN110865832B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US6314567B1 (en) Apparatus and method for transferring state data when performing on-line replacement of a running program code and data
CN111666080A (en) Micro-service cluster deployment method and device, computer equipment and storage medium
US6269442B1 (en) Apparatus and method for on-line replacement of a running program code and data using checkpoints
CN101571809B (en) Implementation method of plug-in registration and device thereof
US20110283274A1 (en) Firmware image update and management
CN110865832B (en) Communication protocol upgrading method, device and system based on low earth orbit satellite
CN111651178A (en) Container configuration updating method and device, computer equipment and storage medium
CN105487892A (en) Inter-cloud GIS service deploying system in Linux environment
CN111752830A (en) Automobile diagnosis system, and updating method, device and equipment of automobile diagnosis system
CN111857777A (en) System updating method and device based on double-core intelligent electric meter and computer equipment
CN114168179A (en) Micro-service management method, device, computer equipment and storage medium
CN110007935B (en) Processing method, device and equipment for program upgrading
CN111090446A (en) Configuration file updating method and system
CN102567050B (en) The method and apparatus of B/S system remote deploying projects
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN115454575B (en) jar packet conversion and automatic loading method, device, equipment and storage medium
US10073675B2 (en) Control unit for a motor vehicle, programming unit, and programming system
CN114328210A (en) Test method, test device and computer readable storage medium
CN113923240A (en) System and method for dynamically upgrading equipment interface protocol in gateway of Internet of things by using local OTA method
CN101091159A (en) Data-processing arrangement
CN110837382B (en) Service framework-based narrowband space-based Internet of things terminal upgrading method and system
CN111399974A (en) Resource management method and device and electronic equipment
KR20020041005A (en) Remote software upgrade method and system in optical network
JP3589433B2 (en) Database guarantee method
CN114489711A (en) Terminal upgrading method and device and storage medium

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
GR01 Patent grant
GR01 Patent grant