CN116126384A - Data updating method and system of domain controller operating system - Google Patents

Data updating method and system of domain controller operating system Download PDF

Info

Publication number
CN116126384A
CN116126384A CN202211584311.8A CN202211584311A CN116126384A CN 116126384 A CN116126384 A CN 116126384A CN 202211584311 A CN202211584311 A CN 202211584311A CN 116126384 A CN116126384 A CN 116126384A
Authority
CN
China
Prior art keywords
operating system
data
update
packet file
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.)
Pending
Application number
CN202211584311.8A
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 Dechi Micro Vision Technology Co ltd
Original Assignee
Shenzhen Dechi Micro Vision 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 Dechi Micro Vision Technology Co ltd filed Critical Shenzhen Dechi Micro Vision Technology Co ltd
Priority to CN202211584311.8A priority Critical patent/CN116126384A/en
Publication of CN116126384A publication Critical patent/CN116126384A/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
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

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 embodiment of the invention relates to the technical field of data updating, and discloses a data updating method and system of a domain controller operating system, wherein the method comprises the following steps: when the first operating system is in operation, the second operating system is controlled to download the data packet file from the data center; analyzing the data packet file to obtain updated data information; controlling a second operating system to perform data updating operation according to the updated data information; and controlling the first operating system to stop the operation and starting the second operating system to perform the operation. By implementing the embodiment of the invention, the system software can be safely and rapidly updated, and the complexity of the multi-core heterogeneous system data update is stably simplified.

Description

Data updating method and system of domain controller operating system
Technical Field
The present invention relates to the field of data updating technologies, and in particular, to a data updating method and system for a domain controller operating system.
Background
The domain controller is the core of each functional domain of the automobile and mainly comprises a domain main control processor, an operating system, application software, an algorithm and the like. The main core design ideas of the domain controller are platformization, high integration, high performance and good compatibility. Depending on a high-performance domain master control processor, abundant hardware interface resources and strong software function characteristics, the domain controller can integrate the core functions which originally need a plurality of ECUs to realize into the domain controller, so that the system function integration level is greatly improved, and the standardized interface for data interaction is added, so that the development and manufacturing cost of the domain controller can be greatly reduced.
However, in practice, it is found that, because the software system of the domain controller is a multi-core heterogeneous software architecture, if the method of separately burning EMMC by TF cards is continuously adopted when the mass production link is entered, the production efficiency is low, and the existing technology also easily has the problems that TF cards are not easy to store, programs cannot confirm whether complete, and the process of manufacturing TF is complicated.
Disclosure of Invention
The embodiment of the invention discloses a data updating method and a data updating system for a domain controller operating system, which can safely and rapidly update data of system software and stably simplify the complexity of data updating of a multi-core heterogeneous system.
The first aspect of the embodiment of the invention discloses a data updating method of a domain controller operating system, which comprises the following steps:
when the first operating system is in operation, the second operating system is controlled to download the data packet file from the data center;
analyzing the data packet file to obtain updated data information;
controlling the second operating system to perform data updating operation according to the updating data information;
and controlling the first operating system to stop the operation and starting the second operating system to perform the operation.
As another optional implementation manner, in the first aspect of the embodiment of the present invention, after the controlling the first operating system to stop the operation and starting the second operating system to perform the operation, the method further includes:
controlling the first operating system to download the data packet file from the data center so as to enable the first operating system to acquire the updated data information;
and controlling the first operating system to perform data updating operation according to the updating data information.
As another optional implementation manner, in the first aspect of the embodiment of the present invention, before controlling, while the first operating system is performing the operation of the execution path, the second operating system to download the data packet file from the data center, the method further includes:
and uploading the data packet file to the data center when receiving an uploading instruction of the data packet file.
In another optional implementation manner, in the first aspect of the embodiment of the present invention, when the first operating system is performing a remote operation, controlling the second operating system to download the data packet file from the data center includes:
when receiving a triggering instruction signal for data updating, detecting whether the equipment can meet the requirement for data updating; if yes, establishing wireless communication connection between the second operating system and the data center;
and controlling the second operating system to download the data packet file from the data center.
As another optional implementation manner, in the first aspect of the embodiment of the present invention, after the first operating system is controlling the second operating system to download the data packet file from the data center and before the parsing the data packet file to obtain the updated data information, the method further includes:
checking whether the data packet file is a target file; if yes, the operation of analyzing the data packet file to obtain updated data information is executed.
As another optional implementation manner, in the first aspect of the embodiment of the present invention, after the controlling the second operating system to perform the data update operation according to the update data information and before the controlling the first operating system to stop the operation and start the second operating system to perform the operation, the method further includes:
detecting whether the data in the second operating system is the updated data information; if yes, sending out restarting prompt information so that a user can restart the equipment;
and when the equipment is restarted, executing the operation of controlling the first operating system to stop the operation and starting the second operating system to perform the operation of the operation.
A second aspect of an embodiment of the present invention discloses an updating system, including:
the first control unit is used for controlling the second operating system to download the data packet file from the data center when the first operating system is in a running operation;
the analysis unit is used for analyzing the data packet file to obtain updated data information;
the second control unit is used for controlling the second operating system to perform data updating operation according to the updating data information;
and the third control unit is used for controlling the first operating system to stop the operation and starting the second operating system to perform the operation.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the update system further includes:
the first control unit is further configured to control the third control unit to control the first operating system to stop the operation, and control the first operating system to download the data packet file from the data center after starting the second operating system to perform the operation, so that the first operating system obtains the updated data information;
the second control unit is further configured to control the first operating system to perform a data update operation according to the update data information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the update system further includes:
and the uploading unit is used for uploading the data packet file to the data center when receiving an uploading instruction of the data packet file before controlling the second operating system to download the data packet file from the data center when the first operating system is in a running operation.
A third aspect of an embodiment of the present invention discloses an updating system, the updating system comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to execute a data updating method of the domain controller operating system disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the embodiment of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute a data updating method of an operating system of a domain controller disclosed in the first aspect of the embodiment of the present invention.
A fifth aspect of an embodiment of the invention discloses a computer program product which, when run on a computer, causes the computer to perform part or all of the steps of the data update method of any one of the domain controller operating systems of the first aspect.
A sixth aspect of the embodiments of the present invention discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of the data update method of any one of the domain controller operating systems of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the first operating system is in operation, the second operating system is controlled to download the data packet file from the data center; analyzing the data packet file to obtain updated data information; controlling a second operating system to perform data updating operation according to the updated data information; and controlling the first operating system to stop the operation and starting the second operating system to perform the operation. Therefore, the embodiment of the invention can safely and rapidly update the data of the system software and stably simplify the complexity of the data update of the multi-core heterogeneous system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for updating data of a domain controller operating system according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for updating data of a domain controller operating system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an update system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another update system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another update system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present invention are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a data updating method and a data updating system for a domain controller operating system, which can safely and rapidly update data of system software and stably simplify the complexity of data updating of a multi-core heterogeneous system.
The following detailed description refers to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a data updating method of a domain controller operating system according to an embodiment of the invention. As shown in fig. 1, the data updating method of the domain controller operating system may include the following steps.
101. When the first operating system is in a running operation, the updating system controls the second operating system to download the data packet file from the data center.
As an alternative implementation manner, in an embodiment of the present invention, the first operating system may be a main operating system of the domain controller, and the second operating system may be a standby operating system of the domain controller. Conventional domain controller operating systems typically have only one partition, i.e., one operating system, and now first and second operating systems are introduced, as the name implies, two sets of systems, one set being the primary operating system and the other set being the standby operating system. Once the equipment has abnormal faults, namely when the file system of the main operating system is damaged, or the file is damaged or lost, the second operating system can be directly controlled to carry out the operation, and the system cannot be started.
In an embodiment of the present invention, the data packet file may be obtained by the second operating system in a wireless or wired manner from the data center through a communication network, or may be automatically distributed by the data center, which is not limited in this application.
As an alternative implementation, in an embodiment of the present invention, after the device triggers the update system to perform the action of updating data, the update system may check whether the device can meet the requirement of updating data, and if so, the update system may perform step 101.
102. The updating system analyzes the data packet file to obtain updated data information.
As an optional implementation manner, in this embodiment of the present invention, after the second operating system completes downloading the data packet file, the update system may check the upgrade packet, where the check may include a signature check and/or an upgrade packet CRC check, which is not limited in this application. If the verification passes, the update system may continue to step 102.
In an embodiment of the present invention, the parsing of the packet file may be performed using an operating system self-contained tool and/or using an update system self-contained tool. Then, if the parsing of the packet file is successful, the update system may proceed to step 103.
103. The updating system controls the second operating system to perform data updating operation according to the updating data information.
In an optional implementation manner, in an embodiment of the present invention, after the second operating system completes the operation of updating data, the updating system may verify the data in the second operating system, and after the verification is completed, prompt the user to restart.
104. The updating system controls the first operating system to stop the operation and starts the second operating system to perform the operation.
As an optional implementation manner, in an embodiment of the present invention, after the update system controls the first operating system to stop the operation of the program, the update system may control the first operating system to download the data packet file from the data center to complete the operation of data update.
As an alternative implementation manner, in the embodiment of the present invention, the application is a method of upgrading a linux system, a rtos system, an application program, and the like to domain controller hardware through a mobile communication network (2G/3G/4G/5G or Wifi) domain controller hardware and a PC. In brief, the OTA technology is implemented in three steps: firstly, uploading the upgrade package to an OTA center, then, the OTA center wirelessly transmits update software to a domain controller end, and finally, the domain controller automatically updates the software.
As an optional implementation manner, in the embodiment of the invention, the system software of the domain controller can be safely and rapidly upgraded, and the complexity of upgrading the multi-core heterogeneous system is stably simplified.
As an optional implementation manner, in the embodiment of the invention, the update can be performed only by wifi or 2g/3g/4g/5g network, and external storage devices such as a U disk and the like are not needed, and only EMMC storage devices on a board are needed.
In the data update method of the domain controller operating system shown in fig. 1, description will be given taking an update system as an execution subject. It should be noted that, the execution body of the data updating method of the domain controller operating system shown in fig. 1 may also be a separate device associated with the updating system, which is not limited by the embodiment of the present invention.
Therefore, by implementing the data updating method of the domain controller operating system described in fig. 1, the system software can be safely and rapidly updated, and the complexity of the multi-core heterogeneous system data updating is stably simplified.
In addition, by implementing the data updating method of the domain controller operating system described in fig. 1, the application can ensure that even if the main operating system has abnormal faults, the original program can be restored, and the equipment can not be normally used.
In addition, the implementation of the data updating method of the domain controller operating system described in fig. 1 can eliminate the restriction of personnel to the site by using an OTA remote refreshing mode, and enhance the reliability and the integrity of data through multiple data checks.
Example two
Referring to fig. 2, fig. 2 is a flow chart illustrating another method for updating data of a domain controller operating system according to an embodiment of the invention. As shown in fig. 2, the data updating method of the domain controller operating system may include the steps of:
201. and when receiving an uploading instruction of the data packet file, the updating system uploads the data packet file to the data center.
202. When receiving the trigger instruction signal of data update, the update system detects whether the device can meet the requirement of data update, if so, the steps 203 to 205 are executed, if not, the flow is ended.
As an optional implementation manner, in the embodiment of the present invention, the requirement for meeting the data update in the present application may be a current environmental requirement of a device, a hardware requirement of a device, a network requirement, or the like, which is not limited in this application.
In an optional implementation manner, in an embodiment of the present invention, after the update system detects that the device can meet the requirement of data update, the update system may determine whether the operating system currently performing the operation is the first operating system, if yes, the update system may execute step 203, if not, the update system may detect whether the second operating system has completed the operation of data update, and if yes, the update system may control the first operating system to start the operation of data update.
203. The update system establishes a wireless communication connection between the second operating system and the data center.
As an alternative implementation manner, in the embodiment of the present invention, the application is a method of upgrading a linux system, a rtos system, an application program, and the like to domain controller hardware through a mobile communication network (2G/3G/4G/5G or Wifi) domain controller hardware and a PC. In brief, the OTA technology is implemented in three steps: firstly, uploading the upgrade package to an OTA center, then, the OTA center wirelessly transmits update software to a domain controller end, and finally, the domain controller automatically updates the software.
204. The updating system controls the second operating system to download the data packet file from the data center.
205. The updating system checks whether the data packet file is the target file, if so, the steps 206 to 208 are executed, and if not, the process is ended.
206. The updating system analyzes the data packet file to obtain updated data information.
207. The updating system controls the second operating system to perform data updating operation according to the updating data information.
208. The updating system detects whether the data in the second operating system is updated data information, if so, the updating system executes the steps 209 to 212, and if not, the process is ended.
209. The updating system sends out restarting prompt information so that a user can restart the equipment.
210. When the equipment is restarted, the updating system controls the first operating system to stop the operation and starts the second operating system to perform the operation.
211. The updating system controls the first operating system to download the data packet file from the data center so that the first operating system obtains updated data information.
212. The updating system controls the first operating system to perform data updating operation according to the updating data information, and the process is ended.
In an embodiment of the present invention, when the second operating system performs the operation, the main operating system of the device may be changed from the first operating system to the second operating system, or the main operating system may still be the first operating system, and after the first operating system completes the data update, the update system controls the second operating system to stop the operation, and starts the first operating system to perform the operation.
Therefore, by implementing the data updating method of the domain controller operating system described in fig. 2, the system software can be safely and rapidly updated, and the complexity of the multi-core heterogeneous system data updating is stably simplified.
In addition, by implementing another data updating method of the domain controller operating system described in fig. 2, a user can be supported to update without sense in the process of using the device, so that the updating experience of the user is greatly improved, and the waiting time of updating is reduced.
Example III
Referring to fig. 3, fig. 3 is a schematic diagram of an update system according to an embodiment of the invention. As shown in fig. 3, the update system 300 may include a first control unit 301, a parsing unit 302, a second control unit 303, and a third control unit 304, wherein:
the first control unit 301 is configured to control the second operating system to download the data packet file from the data center when the first operating system is performing a remote operation.
The parsing unit 302 is configured to parse the packet file to obtain updated data information.
And a second control unit 303, configured to control the second operating system to perform a data update operation according to the update data information.
The third control unit 304 is configured to control the first operating system to stop the operation and start the second operating system to perform the operation.
As an alternative implementation manner, in an embodiment of the present invention, the first operating system may be a main operating system of the domain controller, and the second operating system may be a standby operating system of the domain controller. Conventional domain controller operating systems typically have only one partition, i.e., one operating system, and now first and second operating systems are introduced, as the name implies, two sets of systems, one set being the primary operating system and the other set being the standby operating system. Once the equipment has abnormal faults, namely when the file system of the main operating system is damaged, or the file is damaged or lost, the second operating system can be directly controlled to carry out the operation, and the system cannot be started.
In an embodiment of the present invention, the data packet file may be obtained by the second operating system in a wireless or wired manner from the data center through a communication network, or may be automatically distributed by the data center, which is not limited in this application.
As an optional implementation manner, in an embodiment of the present invention, after the device triggers the update system to perform the action of data update, the update system may check whether the device can meet the requirement of data update, and if so, the first control unit 301 may perform an operation of controlling the second operating system to download the data packet file from the data center when the first operating system is performing the operation of the program.
As an optional implementation manner, in this embodiment of the present invention, after the first control unit 301 controls the second operating system to complete downloading the data packet file, the update system may perform a check on the upgrade package, where the check may include a signature check and/or an upgrade package CRC check, which is not limited in this application. If the verification is passed, the parsing unit 302 may continue to parse the packet file to obtain the updated data information.
As an alternative implementation manner, in an embodiment of the present invention, the parsing unit 302 may parse the data packet file using an operating system self-contained tool and/or parse the data packet file using an update system self-contained tool. Then, if the analysis of the data packet file is successful, the second control unit 303 may perform an operation for controlling the second operating system to perform data update according to the update data information.
In an optional implementation manner, in an embodiment of the present invention, after the second operating system completes the operation of updating data, the updating system may verify the data in the second operating system, and after the verification is completed, prompt the user to restart.
As an optional implementation manner, in an embodiment of the present invention, after the third control unit 304 controls the first operating system to stop the operation, the first control unit 301 may control the first operating system to download the data packet file from the data center to complete the operation of data update.
As an alternative implementation manner, in the embodiment of the present invention, the application is a method of upgrading a linux system, a rtos system, an application program, and the like to domain controller hardware through a mobile communication network (2G/3G/4G/5G or Wifi) domain controller hardware and a PC. In brief, the OTA technology is implemented in three steps: firstly, uploading the upgrade package to an OTA center, then, the OTA center wirelessly transmits update software to a domain controller end, and finally, the domain controller automatically updates the software.
As an optional implementation manner, in the embodiment of the invention, the system software of the domain controller can be safely and rapidly upgraded, and the complexity of upgrading the multi-core heterogeneous system is stably simplified.
As an optional implementation manner, in the embodiment of the invention, the update can be performed only by wifi or 2g/3g/4g/5g network, and external storage devices such as a U disk and the like are not needed, and only EMMC storage devices on a board are needed.
Therefore, the implementation of the updating system described in fig. 3 can perform safe and rapid data updating on the system software, and the complexity of the data updating of the multi-core heterogeneous system is stably simplified.
In addition, by implementing the updating system described in fig. 3, the present application can ensure that even if the main operating system has an abnormal fault, the original program can be recovered, and the equipment is prevented from being unable to be used normally.
In addition, the updating system shown in fig. 3 is implemented, and the limitation of personnel to the site can be avoided by using an OTA remote brushing mode, and the reliability and the integrity of data are enhanced through multiple data verification.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of another updating system according to an embodiment of the invention. The update system shown in fig. 4 is optimized by the update system shown in fig. 3. In comparison with the update system shown in fig. 3, the update system shown in fig. 4 further includes:
in an alternative implementation manner, in the embodiment of the present invention, the first control unit 301 is further configured to control the third control unit 304 to control the first operating system to stop the operation and control the first operating system to download the data packet file from the data center after the second operating system is started to perform the operation, so that the first operating system obtains the updated data information.
As an optional implementation manner, in the embodiment of the present invention, the second control unit 303 is further configured to control the first operating system to perform a data update operation according to the update data information.
In an alternative implementation manner, in the embodiment of the present invention, when the second operating system performs the operation, the main operating system of the device may be changed from the first operating system to the second operating system, or the main operating system may still be the first operating system, and after the first operating system completes the data update, the third control unit 304 may control the second operating system to stop the operation, and start the operation of the first operating system.
In comparison with the update system shown in fig. 3, the update system shown in fig. 4 further includes:
an uploading unit 305, configured to, when receiving an upload instruction of the data packet file before the first control unit 301 controls the second operating system to download the data packet file from the data center while the first operating system is performing a remote operation, upload the data packet file to the data center.
In comparison with the update system shown in fig. 3, the first control unit 301 shown in fig. 4 includes:
the detecting subunit 3011 is configured to detect, when receiving a trigger instruction signal for data update, whether the device can meet a requirement for data update.
The establishing subunit 3012 is configured to establish a wireless communication connection between the second operating system and the data center when the detecting subunit 3011 detects that the device can meet a requirement for data update.
As an optional implementation manner, in the embodiment of the present invention, the requirement for meeting the data update in the present application may be a current environmental requirement of a device, a hardware requirement of a device, a network requirement, or the like, which is not limited in this application.
In an alternative implementation manner, in an embodiment of the present invention, after the detecting subunit 3011 detects that the device can meet the requirement of data update, the update system may determine whether the operating system currently performing the operation is the first operating system, if yes, the establishing subunit 3012 may perform the operation, if not, the update system may detect whether the second operating system has completed the operation of data update, and if yes, the update system may control the first operating system to start the operation of data update.
As an alternative implementation manner, in the embodiment of the present invention, the application is a method of upgrading a linux system, a rtos system, an application program, and the like to domain controller hardware through a mobile communication network (2G/3G/4G/5G or Wifi) domain controller hardware and a PC. In brief, the OTA technology is implemented in three steps: firstly, uploading the upgrade package to an OTA center, then, the OTA center wirelessly transmits update software to a domain controller end, and finally, the domain controller automatically updates the software.
And a control subunit 3013, configured to control the second operating system to download the data packet file from the data center.
In comparison with the update system shown in fig. 3, the update system shown in fig. 4 further includes:
the checking unit 306 is configured to check whether the data packet file is a target file when the first control unit 301 controls the second operating system to download the data packet file from the data center while the first operating system is performing a running operation, and before the parsing unit 302 parses the data packet file to obtain updated data information.
The first execution unit 307 is configured to perform an operation of parsing the data packet file to obtain updated data information when the inspection unit 306 inspects that the data packet file is the target file.
In comparison with the update system shown in fig. 3, the update system shown in fig. 4 further includes:
the detecting unit 308 is configured to detect whether data in the second operating system is updated data information after the second control unit 303 controls the second operating system to perform data updating according to the updated data information, and before the third control unit 304 controls the first operating system to stop the operation and start the second operating system to perform the operation.
And the sending unit 309 is configured to send a restart prompt message when the detecting unit 308 detects that the data in the second operating system is updated data information, so that the user performs a restart operation on the device.
The second execution unit 310 is configured to perform an operation of controlling the first operating system to stop the operation and starting the second operating system to perform the operation when the device performs the restart operation.
Therefore, by implementing another updating system described in fig. 4, the system software can be safely and rapidly updated, and the complexity of updating the data of the multi-core heterogeneous system is stably simplified.
In addition, the implementation of another updating system described in fig. 4 can support the noninductive updating of the user in the process of using the equipment, so that the updating experience of the user is greatly improved, and the waiting time of updating is reduced.
Example five
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a structure of another updating system according to an embodiment of the invention.
As shown in fig. 5, the update system may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the memory 501;
the processor 502 invokes executable program codes stored in the memory 501 to execute a data update method of the domain controller operating system of any one of fig. 1 to 2.
The embodiment of the invention discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute a data updating method of an operating system of a domain controller in any one of fig. 1-2.
The embodiments of the present invention also disclose a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the method embodiments above.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by hardware associated with a program that may be stored in a computer-readable storage medium, including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used to carry or store data that is readable by a computer.
The above describes in detail a method and a system for updating data of an operating system of a domain controller disclosed in the embodiments of the present invention, and specific examples are applied to illustrate the principles and implementations of the present invention, where the above description of the embodiments is only for helping to understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the idea of the present invention, the present disclosure should not be construed as limiting the present invention in summary.

Claims (10)

1. A method for updating data of an operating system of a domain controller, comprising:
when the first operating system is in operation, the second operating system is controlled to download the data packet file from the data center;
analyzing the data packet file to obtain updated data information;
controlling the second operating system to perform data updating operation according to the updating data information;
and controlling the first operating system to stop the operation and starting the second operating system to perform the operation.
2. The method of claim 1, wherein after the controlling the first operating system to stop the operation and the starting the second operating system to perform the operation, the method further comprises:
controlling the first operating system to download the data packet file from the data center so as to enable the first operating system to acquire the updated data information;
and controlling the first operating system to perform data updating operation according to the updating data information.
3. The method of claim 1, wherein the method further comprises, while the first operating system is performing a remote operation, before controlling the second operating system to download the data packet file from the data center:
and uploading the data packet file to the data center when receiving an uploading instruction of the data packet file.
4. A method according to any one of claims 1 to 3, wherein controlling the second operating system to download the data packet file from the data center while the first operating system is performing the remote operation comprises:
when receiving a triggering instruction signal for data updating, detecting whether the equipment can meet the requirement for data updating; if yes, establishing wireless communication connection between the second operating system and the data center;
and controlling the second operating system to download the data packet file from the data center.
5. The method of claim 1, wherein after controlling the second operating system to download the data packet file from the data center while the first operating system is performing the operation, and before parsing the data packet file to obtain the updated data information, the method further comprises:
checking whether the data packet file is a target file; if yes, the operation of analyzing the data packet file to obtain updated data information is executed.
6. The method of claim 1, wherein after the controlling the second operating system to perform the data update operation according to the update data information and before the controlling the first operating system to stop the operation and start the second operating system to perform the operation, the method further comprises:
detecting whether the data in the second operating system is the updated data information; if yes, sending out restarting prompt information so that a user can restart the equipment;
and when the equipment is restarted, executing the operation of controlling the first operating system to stop the operation and starting the second operating system to perform the operation of the operation.
7. An update system, the update system comprising:
the first control unit is used for controlling the second operating system to download the data packet file from the data center when the first operating system is in a running operation;
the analysis unit is used for analyzing the data packet file to obtain updated data information;
the second control unit is used for controlling the second operating system to perform data updating operation according to the updating data information;
and the third control unit is used for controlling the first operating system to stop the operation and starting the second operating system to perform the operation.
8. The update system of claim 7, wherein said update system further comprises:
the first control unit is further configured to control the third control unit to control the first operating system to stop the operation, and control the first operating system to download the data packet file from the data center after starting the second operating system to perform the operation, so that the first operating system obtains the updated data information;
the second control unit is further configured to control the first operating system to perform a data update operation according to the update data information.
9. The update system of claim 7, wherein said update system further comprises:
and the uploading unit is used for uploading the data packet file to the data center when receiving an uploading instruction of the data packet file before controlling the second operating system to download the data packet file from the data center when the first operating system is in a running operation.
10. An update system, the update system comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invoking the executable program code stored in the memory to perform the data update method of the domain controller operating system of any of claims 1-6.
CN202211584311.8A 2022-12-09 2022-12-09 Data updating method and system of domain controller operating system Pending CN116126384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211584311.8A CN116126384A (en) 2022-12-09 2022-12-09 Data updating method and system of domain controller operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211584311.8A CN116126384A (en) 2022-12-09 2022-12-09 Data updating method and system of domain controller operating system

Publications (1)

Publication Number Publication Date
CN116126384A true CN116126384A (en) 2023-05-16

Family

ID=86308980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211584311.8A Pending CN116126384A (en) 2022-12-09 2022-12-09 Data updating method and system of domain controller operating system

Country Status (1)

Country Link
CN (1) CN116126384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775085A (en) * 2023-08-17 2023-09-19 北京芯驰半导体科技有限公司 Multi-core heterogeneous system-on-chip updating method, device, chip and traffic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775085A (en) * 2023-08-17 2023-09-19 北京芯驰半导体科技有限公司 Multi-core heterogeneous system-on-chip updating method, device, chip and traffic equipment
CN116775085B (en) * 2023-08-17 2023-11-14 北京芯驰半导体科技有限公司 Multi-core heterogeneous system-on-chip updating method, device, chip and traffic equipment

Similar Documents

Publication Publication Date Title
CN101656949B (en) Method and terminals for aerial upgrade of firmware
CN106020875B (en) Firmware update management method and device of embedded terminal
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
CN113938535B (en) Internet of things equipment access method and device based on multi-protocol adaptation
CN105162841A (en) Domestic appliance control method and system
CN111416821A (en) Internet of things equipment information acquisition method, system and device
CN110837388B (en) Software upgrading method of robot, upgrading server, robot and storage medium
CN106775873B (en) Method and equipment for updating mobile phone software and acquiring patch file
CN106897166B (en) Mobile terminal and repairing method thereof
CN116126384A (en) Data updating method and system of domain controller operating system
CN113590169B (en) Application deployment method, application deployment system, and computer-readable storage medium
CN113238791A (en) OTA differential upgrading method and system of master-slave architecture
CN112882734A (en) Upgrading method and device, computer equipment and medium
CN111078266A (en) Client processing method and device for low-coupling incremental upgrading of voice software and server processing method
CN112152846A (en) Metering instrument remote upgrading method based on Internet of things
CN109002305B (en) Method and system for updating equipment program
CN115515012A (en) Key burning method and device, electronic equipment board card and storage medium
CN111400166A (en) Real-time communication service testing method, device and system and electronic equipment
CN115396248A (en) Remote equipment control method, device, system, electronic device and storage medium
CN114546455A (en) MCU software upgrading method and device for double partitions
CN117389578A (en) Cloud terminal system upgrading method and device, cloud terminal and storage medium
CN109347937B (en) Intelligent remote upgrading method applied to video monitoring equipment
CN112166411A (en) Equipment control method, system and control terminal
CN114647424A (en) ECU application program updating method, device, system, storage medium and electronic equipment
CN110851160A (en) Embedded device and program upgrading method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication