CN113778487A - Software uploading system and method of intelligent processing module - Google Patents

Software uploading system and method of intelligent processing module Download PDF

Info

Publication number
CN113778487A
CN113778487A CN202111061014.0A CN202111061014A CN113778487A CN 113778487 A CN113778487 A CN 113778487A CN 202111061014 A CN202111061014 A CN 202111061014A CN 113778487 A CN113778487 A CN 113778487A
Authority
CN
China
Prior art keywords
storage device
intelligent processing
processing module
program
main control
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
Application number
CN202111061014.0A
Other languages
Chinese (zh)
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.)
Shenzhen Park Sheng Intelligent Technology Co ltd
Original Assignee
Shenzhen Park Sheng Intelligent 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 Shenzhen Park Sheng Intelligent Technology Co ltd filed Critical Shenzhen Park Sheng Intelligent Technology Co ltd
Priority to CN202111061014.0A priority Critical patent/CN113778487A/en
Publication of CN113778487A publication Critical patent/CN113778487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a software uploading system and method of an intelligent processing module. Wherein the system comprises: the intelligent processing system comprises a main control module, a first storage device and an intelligent processing module; the main control module is in communication connection with the storage device and is used for receiving data uploaded by a ground control center and storing the data into the first storage device; the main control module is also in communication connection with the intelligent processing module and is used for performing upper note updating on the program of the intelligent processing module according to the data stored in the first storage device. According to the invention, by adopting a ground injection method, the injection updating is carried out on the software of each part of the intelligent processing module from the ground control center, and all soft faults which may appear in the intelligent processing module after the day can be processed.

Description

Software uploading system and method of intelligent processing module
Technical Field
The embodiment of the invention relates to the technical field of satellites, in particular to a software uploading system and method of an intelligent processing module.
Background
Through years of construction and development, the remote sensing satellite in China enters an unprecedented development period, and massive remote sensing detection data provide increasingly abundant data resources for national economic construction. However, the current space remote sensing system is limited by factors such as space environment, load, volume, power consumption and the like, does not have the same processing capability as ground equipment, and only has the capability of information acquisition, thereby leading to three prominent problems:
firstly, the traditional satellite often sends a calculation task to ground processing, the automation degree of data processing is low, and the timeliness of information extraction is poor. However, under the background of the development of space intellectualization, the processing task is large in load, various in types and time sensitive, and the traditional mode cannot meet the combined combat requirement of combining instantaneous change and observation and play in the future. The traditional method for improving the computing capacity based on the improvement of the frequency and the number of cores of the general-purpose processor often causes the increase of the power consumption of the system, and the method is not suitable for a remote sensing information computing system sensitive to the power consumption. Therefore, it is imperative to employ energy-efficient intelligent processors.
Secondly, the method is limited by the on-satellite data processing capacity, and the method of directly carrying some special tasks (such as artificial intelligence training tasks) to the on-satellite is not feasible, and the method which is more in line with the current system capacity is satellite-to-ground cooperation. The satellite-ground cooperation is to deploy processing tasks with large data volume, large computation amount and high requirements, such as deep mining of historical data, deep learning based on large remote sensing data, neural network model training and the like, in a ground system, upload processing results (characteristic parameters of a target and a trained model) to an on-satellite system, intelligently process images in orbit by a satellite, generate and download information to a user, shorten an information transmission chain, and improve the intelligence level of a space-based system and the timeliness of information support.
In addition, due to the fact that the space environment is severe, a storage unit on the intelligent processor is easily affected by single event upset to cause soft faults, firmware, application programs and the like stored on the intelligent processor are damaged, and therefore the problems of power-on faults, on-satellite task processing faults and the like occur.
The traditional on-board processor reliability design avoids soft failure of the processor by adding a shielding structure outside the processor and selecting an aviation-level device, but the measures are not completely risk-free, and some processors cannot work normally after the last day. Once the processor cannot work, the ground control center has no way to repair the software of the processor, so that the processor cannot perform tasks.
Disclosure of Invention
The invention provides a software uploading system and a software uploading method for an intelligent processing module.
In a first aspect, an embodiment of the present invention provides a software uploading system for an intelligent processing module, including:
the intelligent processing system comprises a main control module, a first storage device and an intelligent processing module;
the main control module is in communication connection with the storage device and is used for receiving data uploaded by a ground control center and storing the data into the first storage device;
the main control module is also in communication connection with the intelligent processing module and is used for performing upper note updating on the program of the intelligent processing module according to the data stored in the first storage device.
Optionally, the software program of the intelligent processing module includes a single chip microcomputer program, a firmware program in the second storage device, and a system image in the third storage device.
Optionally, the main control module is an FPGA main control chip.
Optionally, the number of the first storage devices is three.
In a second aspect, a method for system annotation of an intelligent processing module, performed by the system according to any one of the embodiments, includes:
s1, receiving data uploaded by the ground control center and storing the data into a first storage device;
and S2, performing annotation updating on the program of the intelligent processing module according to the data stored in the first storage device.
Optionally, the data stored in each of the first storage devices is the same, and the first storage device includes three portions, a first portion is used for storing a single chip microcomputer program, a second portion is used for storing a firmware program, and a third portion is used for storing a system image.
Optionally, before step S2, the method further includes:
and comparing the data of each bit in each first storage device to determine at least two first storage devices with identical data.
Optionally, step S2 includes:
s21, the main control module controls the intelligent processing model to be powered on through power control IO;
s22, the main control module reads a single chip program from the first part of the first storage device, communicates with a single chip on the intelligent processing module through a serial port of the single chip, and performs annotation updating on the single chip program;
s23, the main control module reads the firmware program from the second part of the first storage device, and performs the upper note updating on the firmware program of the second storage device on the intelligent processing module through serial port communication;
s24, the main control module and the third part of the first storage device simulate an SD card, and the system mirror image in the third storage device is updated according to the system mirror image stored in the third part of the first storage device.
According to the invention, by adopting a ground injection method, the injection updating is carried out on the software of each part of the intelligent processing module from the ground control center, and all soft faults which may appear in the intelligent processing module after the day can be processed.
Drawings
Fig. 1 is a schematic structural diagram of a software uploading system of an intelligent processing module according to an embodiment of the present invention;
fig. 2 is a flowchart of a system annotating method of an intelligent processing module according to an embodiment of the present invention;
fig. 3 is a flowchart of a single chip microcomputer program comment provided in the embodiment of the present invention;
FIG. 4 is a flowchart illustrating firmware program comments in a NOR Flash according to an embodiment of the present invention;
fig. 5 is a flowchart of mirror image annotation of an EMMC system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Examples
Due to the fact that on-satellite resources are limited, deep learning training tasks with large data volume and large computation amount need to be processed on the ground, and trained network models need to be updated to on-satellite intelligent processing modules through ground notes, and updating of the network models is achieved. The satellite is in orbit to carry out real-time intelligent processing through intelligent processing module to with handling the result and transmitting down to ground, realize satellite ground cooperation through annotating and transmitting down.
First, the present embodiment provides a software uploading system of an intelligent processing module, which includes a main control module, a first storage device, and an intelligent processing module. Optionally, the first storage device in this embodiment is three NOR Flash memories, and the number of the first storage devices is three.
The main control module is in communication connection with the storage device and is used for receiving data uploaded by a ground control center and storing the data into the first storage device; the main control module is also in communication connection with the intelligent processing module and is used for performing upper note updating on the program of the intelligent processing module according to the data stored in the first storage device.
Further referring to fig. 1, the software uploading system of the intelligent processing module provided in this embodiment includes three NOR Flash memories, and the software program of the intelligent processing module includes three parts, which are respectively a single chip program, a firmware program in the second storage device, and a system image in the third storage device. The second storage device also adopts NOR Flash as a memory; the third storage device is an Embedded multimedia controller (EMMC). The single chip microcomputer program is mainly used for controlling the power-on work of the intelligent processing module. After the power-on is finished, a firmware program in the NOR Flash initializes related hardware equipment of the intelligent processing module and guides a system image in the EMMC. Furthermore, the application programs needed by the intelligent processing module to execute the related tasks are also stored.
Because a Field Programmable Gate Array (FPGA) has rich logic resources, can perform on-chip redundancy fault-tolerant design, and is widely applied to the aerospace Field, the main control module in this embodiment adopts an FPGA main control chip as a bridge for communication between the ground control center and the intelligent processing module.
Specifically, the FPGA is connected to three NOR flashes through a synchronous serial interface (BPI) bus for storing files annotated by the ground control center; the power supply, the starting mode, the singlechip mode and the like of the intelligent processing module are controlled by a General-purpose-output input/output (GPIO); in addition, still pass through multiple interface interconnection with intelligent processing module, like serial ports, SDIO, rapidIO etc..
With continued reference to fig. 2, an embodiment of the present invention further provides a system annotating method for an intelligent processing module, including the following steps:
and S1, receiving the data uploaded by the ground control center and storing the data in the first storage device.
Preferably, the number of the first storage devices in this embodiment is 3, the data stored in each of the first storage devices is the same, and the first storage device includes three parts, a first part is used for storing a single chip microcomputer program, a second part is used for storing a firmware program, and a third part is used for storing a system image.
The ground control center packages software to be injected into a data packet to be injected onto the satellite, the FPGA receives the data packet and analyzes the data packet and stores different data in the positions specified by the three NOR Flash blocks, and the data stored by the three NOR Flash blocks are completely the same. Before software uploading of the intelligent processing module, the FPGA carries out 'two out of three logic', namely, at least two same data are taken for uploading and updating by comparing whether the data of each bit in three pieces of NOR Flash are the same or not. The three-out-of-two logic can ensure the correctness of data uploaded by the ground control center on one hand and can prevent part of data in the FPGA NOR Flash from being knocked over to cause errors of the uploading program on the other hand.
And S2, performing annotation updating on the program of the intelligent processing module according to the data stored in the first storage device.
In this embodiment, step S2 includes:
and S21, the main control module controls the intelligent processing model to be powered on through power control IO.
And S22, the main control module reads the singlechip program from the first part of the first storage device, communicates with the singlechip on the intelligent processing module through the singlechip serial port, and performs annotation updating on the singlechip program.
For an exemplary note-up flow of the single chip microcomputer, refer to fig. 3. After the FPGA is filled with the singlechip program of the intelligent processing module, the singlechip IO is controlled to be switched to a starting mode, and the singlechip program finishes the power-on work of the intelligent processing module.
And S23, the main control module reads the firmware program from the second part of the first storage device, and performs the injection updating on the firmware program of the second storage device on the intelligent processing module through serial port communication.
In this embodiment, after the intelligent processing module is powered on to operate, the intelligent processing module needs to run a firmware program in the NOR Flash, and the FPGA performs the annotation update on the NOR Flash of the intelligent processing module through the Flash serial port, where a specific flow is shown in fig. 4.
S24, the main control module and the third part of the first storage device simulate an SD card, and the system mirror image in the third storage device is updated according to the system mirror image stored in the third part of the first storage device.
In this embodiment, after the firmware program of the second memory is updated, the main control module switches the start mode of the intelligent module unit and powers on again. And then the main control module and the third part of the first storage device simulate an SD card, and the system image in the third storage device is updated by upper notes under the control of the main control module. Specifically, after the intelligent processing module NOR Flash finishes the uploading and updating, a firmware program in the NOR Flash can be automatically loaded, and the program finally enters the U-Boot. The U-Boot guides a Linux image in the EMMC, updating of programs in the EMMC needs to be completed in the SD card, and the satellite borne processor is not allowed to reserve the SD card slot and the SD card, so that great risk exists. Therefore, in the implementation, the SD card is simulated by adopting the FPGA and the NOR Flash. The simulated SD card can be identified under the intelligent processing module U-Boot, so that the EMMC program is updated, the intelligent processing module is restarted to enter a Linux system after the updating is finished, and the simulated SD card can be identified under the Linux.
A block diagram of a system simulating an SD card is shown in fig. 5. The left SD host of fig. 5 is an SD card host, often a card reader, an embedded microprocessor, or the like. The SD host often has a card slot, connected to the SD card by a standard 6-wire SD bus. The SD FakeX and the NOR Flash on the right side jointly form a virtual SD card. Among them, NOR Flash is only responsible for providing data of SD card; the SD FakeX is a Verilog module and is responsible for analyzing and responding to commands of the SD bus, reading data from the NOR Flash and transmitting the data to the SD host when the SD-host requests the data, namely the FPGA transmits the data to the intelligent processing module through the SDIO. And after the EMMC program is updated, the intelligent processing module is restarted and then enters a Linux system.
The FPGA realizes the upper note updating of all programs of the intelligent processing module through the operation, and the intelligent processing module starts to work normally. The ground control center can send the task instruction to the FPGA, and the FPGA forwards the task instruction to the intelligent processing module through the instruction serial port for processing. Image or video data are transmitted to the FPGA through a satellite-borne camera or other satellite-borne equipment, the FPGA transmits to an intelligent processing module through a Rapid IO high-speed interface, the intelligent processing module processes image or video input according to a task instruction and transmits a processed result to the FPGA, and the FPGA downloads to a ground control center, so that 'satellite-ground cooperation' is realized.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. The utility model provides a notes system on software of module is handled to intelligence which characterized in that includes:
the intelligent processing system comprises a main control module, a first storage device and an intelligent processing module;
the main control module is in communication connection with the storage device and is used for receiving data uploaded by a ground control center and storing the data into the first storage device;
the main control module is also in communication connection with the intelligent processing module and is used for performing upper note updating on the program of the intelligent processing module according to the data stored in the first storage device.
2. The system of claim 1, wherein the software program of the intelligent processing module comprises a single-chip program, a firmware program in the second storage device, and a system image in the third storage device.
3. The system of claim 1, wherein the master control module is an FPGA master control chip.
4. The system of claim 1, wherein the number of the first storage devices is three.
5. A method of system priming of an intelligent processing module, performed by the system of any one of claims 1 to 4, comprising:
s1, receiving data uploaded by the ground control center and storing the data into a first storage device;
and S2, performing annotation updating on the program of the intelligent processing module according to the data stored in the first storage device.
6. The method according to claim 5, wherein the data stored in each of the first storage devices is the same, and the first storage device comprises three parts, wherein the first part is used for storing the singlechip program, the second part is used for storing the firmware program, and the third part is used for storing the system image.
7. The method according to claim 6, further comprising, before step S2:
and comparing the data of each bit in each first storage device to determine at least two first storage devices with identical data.
8. The method according to claim 7, wherein step S2 includes:
s21, the main control module controls the intelligent processing model to be powered on through power control IO;
s22, the main control module reads a single chip program from the first part of the first storage device, communicates with a single chip on the intelligent processing module through a serial port of the single chip, and performs annotation updating on the single chip program;
s23, the main control module reads the firmware program from the second part of the first storage device, and performs the upper note updating on the firmware program of the second storage device on the intelligent processing module through serial port communication;
s24, the main control module and the third part of the first storage device simulate an SD card, and the system mirror image in the third storage device is updated according to the system mirror image stored in the third part of the first storage device.
CN202111061014.0A 2021-09-10 2021-09-10 Software uploading system and method of intelligent processing module Pending CN113778487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111061014.0A CN113778487A (en) 2021-09-10 2021-09-10 Software uploading system and method of intelligent processing module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111061014.0A CN113778487A (en) 2021-09-10 2021-09-10 Software uploading system and method of intelligent processing module

Publications (1)

Publication Number Publication Date
CN113778487A true CN113778487A (en) 2021-12-10

Family

ID=78842512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111061014.0A Pending CN113778487A (en) 2021-09-10 2021-09-10 Software uploading system and method of intelligent processing module

Country Status (1)

Country Link
CN (1) CN113778487A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI823655B (en) * 2022-11-01 2023-11-21 大陸商星宸科技股份有限公司 Task processing system and task processing method applicable to intelligent processing unit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164242A (en) * 2013-02-01 2013-06-19 中国人民解放军国防科学技术大学 TTUNHSSMCLNHSROHS method of satellite housekeeping software
WO2017041567A1 (en) * 2015-09-07 2017-03-16 武汉精测电子技术股份有限公司 Fpga multi-mirror upgrade loading method and device based on soft core processor
CN106557346A (en) * 2016-11-24 2017-04-05 中国科学院国家空间科学中心 A kind of primary particle inversion resistant star-carried data processing system and method
CN106843191A (en) * 2016-12-18 2017-06-13 航天恒星科技有限公司 The in-orbit maintaining methods of FPGA and device
CN111625286A (en) * 2020-06-04 2020-09-04 中国科学院长春光学精密机械与物理研究所 External boot loading method and loading system for satellite-borne DSP (digital Signal processor) program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164242A (en) * 2013-02-01 2013-06-19 中国人民解放军国防科学技术大学 TTUNHSSMCLNHSROHS method of satellite housekeeping software
WO2017041567A1 (en) * 2015-09-07 2017-03-16 武汉精测电子技术股份有限公司 Fpga multi-mirror upgrade loading method and device based on soft core processor
CN106557346A (en) * 2016-11-24 2017-04-05 中国科学院国家空间科学中心 A kind of primary particle inversion resistant star-carried data processing system and method
CN106843191A (en) * 2016-12-18 2017-06-13 航天恒星科技有限公司 The in-orbit maintaining methods of FPGA and device
CN111625286A (en) * 2020-06-04 2020-09-04 中国科学院长春光学精密机械与物理研究所 External boot loading method and loading system for satellite-borne DSP (digital Signal processor) program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI823655B (en) * 2022-11-01 2023-11-21 大陸商星宸科技股份有限公司 Task processing system and task processing method applicable to intelligent processing unit

Similar Documents

Publication Publication Date Title
CN103559053B (en) Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN102346719B (en) High-speed computation method and system towards spacecraft
CN111580454B (en) Safety control method of industrial safety PLC (programmable logic controller)
CN109117168A (en) Unmanned plane firmware update, device, unmanned plane and storage medium
CN107704285B (en) Multi-version configuration chip, system and method for field programmable gate array
CN111800345B (en) High-reliability constellation networking space router circuit
CN106445544A (en) Device and method for configuring or updating programmable logic device
CN107832078B (en) FPGA program online updating circuit based on DSP
CN107885517B (en) Program loading circuit of embedded system processor
CN106648758A (en) Multi-core processor BOOT starting system and method
CN115421799A (en) Integrated satellite-borne computer system applied to micro-nano satellite
CN113778487A (en) Software uploading system and method of intelligent processing module
CN111562932B (en) High-reliability embedded software upgrading method and system
CN205068032U (en) Computer control system is decided by vote to synchronization that can demote
CN107621943A (en) A kind of FPGA dynamic batch programming system and method
CN111831354A (en) Data precision configuration method, device, chip array, equipment and medium
CN113867210A (en) Multipath satellite-borne embedded system software on-orbit reconstruction control system and control method
CN115469912B (en) Heterogeneous real-time information processing system design method
CN107885626A (en) The system of on-chip system programming device starts the device and method of Autonomous test
CN108418707B (en) Method for upgrading mutual online backup of double CPLDs in communication system and service veneer
CN107783775A (en) Based on RTOS embedded remote online upgrading functional based methods
CN114036103B (en) Satellite-borne AI integrated electronic system based on Huaji Shengteng AI processor
CN103235921B (en) A kind of computer system
CN109558179A (en) Program code on-line loaded method, program code online upgrading method and system
CN113722212B (en) CPLD upgrading test method, device, equipment and 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