CN109324815B - Monitoring method, device and equipment for upgrading unmanned vehicle system - Google Patents

Monitoring method, device and equipment for upgrading unmanned vehicle system Download PDF

Info

Publication number
CN109324815B
CN109324815B CN201811008846.4A CN201811008846A CN109324815B CN 109324815 B CN109324815 B CN 109324815B CN 201811008846 A CN201811008846 A CN 201811008846A CN 109324815 B CN109324815 B CN 109324815B
Authority
CN
China
Prior art keywords
equipment
upgrading
determining
upgrade
new system
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.)
Active
Application number
CN201811008846.4A
Other languages
Chinese (zh)
Other versions
CN109324815A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811008846.4A priority Critical patent/CN109324815B/en
Publication of CN109324815A publication Critical patent/CN109324815A/en
Application granted granted Critical
Publication of CN109324815B publication Critical patent/CN109324815B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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 provides a monitoring method, a monitoring device, equipment and a computer readable storage medium for system upgrade, which are applied to an unmanned vehicle, wherein the unmanned vehicle at least comprises first equipment and second equipment, and the method comprises the following steps: receiving system upgrading information sent by a server; determining a first device and a second device which have a strong association relationship and a new system which needs to be subjected to system upgrading operation according to system upgrading information; and controlling the first equipment and the second equipment to synchronously perform upgrading operation by adopting a new system. According to the method and the device, the first equipment, the second equipment and the new system needing system upgrading operation are determined through the system upgrading information, the first equipment and the second equipment are controlled to synchronously upgrade by adopting the new system, when one equipment of the unmanned vehicle needs to upgrade the system operation, other equipment which is strongly related to the equipment can be controlled to upgrade the system operation at the same time, the system versions of the strongly related equipment are consistent, and the stable reliability of the whole unmanned vehicle is improved.

Description

Monitoring method, device and equipment for upgrading unmanned vehicle system
Technical Field
The invention relates to the technical field of unmanned vehicles, in particular to a monitoring method, a monitoring device, monitoring equipment and a computer readable storage medium for system upgrading.
Background
Unmanned vehicles include a number of devices, such as: the system comprises a main control computer, a safety industrial personal computer, a black box, a safety gateway, a data acquisition unit and the like. Communication protocols exist among the devices to ensure the normal operation of the whole unmanned vehicle. Moreover, the operating systems of the above devices are often not uniform, for example: the industrial personal computer is an x86 architecture system, and the black box and the data collector are arm architecture systems and the like.
However, when system upgrade is performed on each device in the unmanned vehicle, some devices in the unmanned vehicle may be successfully upgraded, and some devices may be unsuccessfully upgraded, so that system versions of devices having a strong association relationship are easily inconsistent.
Disclosure of Invention
The invention provides a monitoring method, a monitoring device, monitoring equipment and a computer readable storage medium for system upgrading, which are used for solving the problem that the normal operation of an entire unmanned vehicle cannot be ensured in the prior art.
One aspect of the present invention provides a system upgrade monitoring method, which is applied to an unmanned vehicle, where the unmanned vehicle includes at least a first device and a second device, and the method includes:
receiving system upgrading information sent by a server;
determining a first device and a second device with strong association relationship and a new system needing system upgrading operation according to the system upgrading information;
and controlling the first equipment and the second equipment to synchronously carry out upgrading operation by adopting a new system.
Another aspect of the present invention is to provide a system upgrade monitoring apparatus for an unmanned vehicle, the unmanned vehicle including at least a first device and a second device, the apparatus including:
the receiving module is used for receiving system upgrading information sent by the server;
the determining module is used for determining the first equipment and the second equipment which have strong association relation and a new system which needs system upgrading operation according to the system upgrading information;
and the control module is used for controlling the first equipment and the second equipment to synchronously carry out upgrading operation by adopting a new system.
Another aspect of the present invention provides a monitoring apparatus for system upgrade, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor,
the processor, when executing the computer program, performs the method according to the first aspect as described above.
Another aspect of the present invention provides a computer-readable storage medium storing a computer program,
which when executed by a processor implements the method as described above in relation to the first aspect.
According to the monitoring method, the monitoring device, the monitoring equipment and the computer-readable storage medium for system upgrading, the first equipment and the second equipment which are in a strong association relation and the new system which needs to be subjected to system upgrading operation are determined through the system upgrading information, and the first equipment and the second equipment are controlled to synchronously perform the upgrading operation by adopting the new system, so that when one equipment of the unmanned vehicle needs to perform the system upgrading operation, other equipment which is in a strong association with the equipment can be controlled to perform the system upgrading operation at the same time, the system versions of the equipment which is in the strong association are consistent, the normal operation of the whole unmanned vehicle is ensured, the stable reliability of the whole vehicle operation of the unmanned vehicle is improved, the practicability of the method is further ensured, and the popularization and the application of the market are facilitated.
Drawings
Fig. 1 is a schematic flowchart of a monitoring method for system upgrade according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a process of determining, according to the system upgrade information, a first device and a second device having a strong association relationship and a new system that needs to perform a system upgrade operation according to the embodiment of the present invention;
fig. 3 is a schematic flowchart of determining, according to the device identifier, a first device and a second device that have a strong association relationship according to the embodiment of the present invention;
fig. 4 is a schematic flowchart of another monitoring method for system upgrade according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of controlling upgrade operations of the first device and the second device according to the failure times according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a monitoring apparatus for system upgrade according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a monitoring device for system upgrade according to an embodiment of the present invention.
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Fig. 1 is a schematic flowchart of a monitoring method for system upgrade according to an embodiment of the present invention; referring to fig. 1, the present embodiment provides a monitoring method for system upgrade, which is applied to an unmanned vehicle, where the unmanned vehicle at least includes a first device and a second device, an execution main body of the method may be a monitoring apparatus, and the method may monitor and synchronize system upgrade operations of each device on the unmanned vehicle, so as to ensure normal operation of the whole unmanned vehicle. Specifically, the method may include:
s101: receiving system upgrading information sent by a server;
the system upgrading information comprises an equipment identifier and a system version identifier, the equipment identifier corresponds to equipment needing system upgrading operation, and the system version identifier corresponds to a new system needing system upgrading operation.
For a specific receiving mode of the system upgrade information, an achievable mode is as follows: the server can detect whether a new version system of a certain device in the unmanned vehicle exists in real time or periodically, and can send system upgrading information to the monitoring device when the detection result shows that the new version system of the certain device exists in the server, so that the monitoring device receives the system upgrading information sent by the server, and the system upgrading information which is initiatively issued by the server and is related to the new version system can be received.
Another way that can be achieved is: the monitoring device sends system query information to the server in real time or periodically, the server detects whether a new version system of certain equipment exists or not when receiving the system query information, and if not, response information is fed back or no operation is executed; if the system upgrading information exists, the system upgrading information is returned, so that the monitoring device can receive the system upgrading information, and the monitoring device can actively acquire the system upgrading information. Of course, those skilled in the art may also use other similar or identical methods to receive the system upgrade information, as long as the accurate reliability of receiving the system upgrade information can be ensured, and details are not described herein.
S102: determining a first device and a second device with strong association relationship and a new system needing system upgrading operation according to the system upgrading information;
after the system upgrade information is acquired, the first device and the second device can be determined according to the device identifier in the system upgrade information, and a new system can be determined according to the system version identifier; the method comprises the steps that a first device and a second device have a strong association relationship, wherein the strong association relationship can be determined by obtaining the association degree of the first device and the second device, specifically, after the association degree of the first device and the second device is obtained, the association degree is analyzed and compared with a preset association degree threshold, and if the association degree is greater than or equal to the preset association degree threshold, the first device and the second device are determined to have the strong association relationship; or, if the association degree is smaller than a preset association degree threshold, determining that the first device and the second device do not have a strong association relationship, where the association degree of the first device and the second device may be determined according to a preset association principle, and the association principle may include a support degree principle between the devices and/or a confidence degree principle between the devices.
It is understood that the unmanned vehicle may include not only the first device and the second device, but also a third device, a fourth device, etc., for example: the unmanned vehicle comprises: the method comprises the following steps that a first device, a second device, a third device and a fourth device are used, wherein for the first device, the association degree of the first device and the second device is H1, the association degree of the first device and the third device is H2, the association degree of the first device and the fourth device is H3, the association degree is analyzed and compared with a preset association degree threshold value H, and the comparison result can be H1> H, H2< H, H3> H; therefore, according to the comparison result, it can be determined that the first device has a strong association relationship with the second device and the fourth device, respectively, and the first device does not have a strong association relationship with the third device. Of course, those skilled in the art may also determine the device having the strong association relationship in other ways, which is not described herein again.
S103: and controlling the first equipment and the second equipment to synchronously upgrade by adopting a new system.
After determining the first device, the second device and the new system having the strong association relationship, the first device and the second device may be controlled to perform the upgrade operation synchronously by using the new system, that is, the first device is controlled to perform the system upgrade operation by using the new system, and at the same time, the second device is controlled to perform the system upgrade operation by using the new system, so that the system versions of the first device and the second device are the same, that is, the system versions of the first device and the second device are the same before the upgrade operation, and the system versions of the first device and the second device are the same after the upgrade operation.
The monitoring method for system upgrade provided by this embodiment determines, through the system upgrade information, the first device and the second device having a strong association relationship and the new system that needs to perform the system upgrade operation, and controls the first device and the second device to perform the upgrade operation synchronously by using the new system, thereby realizing that when a certain device of the unmanned vehicle needs to perform the upgrade system operation, other devices having a strong association with the certain device can be controlled to perform the upgrade system operation at the same time, so that the system versions of the devices having the strong association are consistent, the normal operation of the whole unmanned vehicle is ensured, the stable reliability of the whole unmanned vehicle operation is improved, the practicability of the method is further ensured, and the popularization and application in the market are facilitated.
Fig. 2 is a schematic flowchart of a process of determining, according to the system upgrade information, a first device and a second device having a strong association relationship and a new system that needs to perform a system upgrade operation according to the embodiment of the present invention; fig. 3 is a schematic flowchart of determining, according to the device identifier, a first device and a second device that have a strong association relationship according to the embodiment of the present invention; on the basis of the foregoing embodiment, with reference to fig. 2 to 3, it can be seen that, in this embodiment, a specific implementation process of determining, according to the system upgrade information, a first device and a second device having a strong association relationship and a new system that needs to perform a system upgrade operation is not limited, and a person skilled in the art may perform setting according to a specific design requirement, and it is preferable that determining, according to the system upgrade information, the first device and the second device having a strong association relationship and the new system that needs to perform a system upgrade operation in this embodiment may include:
s1021: acquiring an equipment identifier and a system version identifier in the system upgrading information;
because the system upgrading information comprises the equipment identifier and the system version identifier, the system upgrading information can be analyzed, identified and processed to obtain the equipment identifier and the system version identifier in the system upgrading information; one way in which this can be achieved is: the device identifier and the system version identifier may be set in different fields from other information in the system upgrade information, and the device identifier and the system version identifier may be determined through analysis and recognition of the different fields. Alternatively, another way that can be implemented is: the device identifier and the system version identifier can be compressed together with other information in the system upgrading information, the system upgrading information is decompressed, and the decompressed system upgrading information is analyzed and recognized through keywords or other characteristic information, so that the device identifier and the system version identifier are determined. Of course, those skilled in the art may also use other manners to obtain the device identifier and the system version identifier, as long as the accuracy and reliability of obtaining the device identifier and the system version identifier can be ensured, which is not described herein again.
S1022: determining a first device and a second device with strong association relation according to the device identification;
specifically, determining, according to the device identifier, a first device and a second device that have a strong association relationship may include:
s10221: determining the first equipment according to the equipment identification;
s10222: acquiring an associated device identifier having a strong association relation with the first device;
the device identifier may include: a direct device identifier corresponding to a direct upgrade device corresponding to the new system and an associated device identifier corresponding to a device having a strong association with the direct upgrade device, so that a first device can be determined according to the direct device identifier, the first device being the direct upgrade device corresponding to the new system; and acquiring the associated equipment identifier through analysis processing of the equipment identifier so as to determine the second equipment according to the associated equipment identifier.
S10223: and determining a second device with a strong association relation with the first device according to the association device identification.
For example: the server can detect whether equipment needs to be upgraded and operated, and the detected result can be that the server detects that the first equipment needs to be upgraded and operated, at this time, the system upgrade information sent by the server includes an equipment identifier and a system version identifier, and the equipment identifier includes a direct equipment identifier corresponding to the first equipment and an associated equipment identifier of second equipment having a strong association relationship with the first equipment, so that the first equipment can be determined in a plurality of pieces of equipment in the unmanned vehicle according to the direct equipment identifier, the second equipment having a strong association relationship with the first equipment is determined in the plurality of pieces of equipment in the unmanned vehicle according to the associated equipment identifier, and the number of the second equipment can be one or more.
S1023: and determining a new system needing system upgrading operation according to the system version identification.
After the system version identifier is obtained, a new system may be determined among a plurality of systems stored in advance according to the system version identifier.
The first equipment and the second equipment which have strong association relation and the new system which needs to be subjected to system upgrading operation are determined through the method, the accuracy degree of determining the first equipment, the second equipment and the new system is effectively guaranteed, and the safety and reliability of the method are further improved.
Further, before controlling the first device and the second device to perform an upgrade operation with a new system synchronization, the method further includes:
s201: sending the new system to the first device and the second device.
Specifically, after determining the first device and the second device, the server may send the new system to the first device and the second device through the monitoring apparatus, so that the first device and the second device may perform system upgrade operations with different new systems.
In order to further improve the practicability of the method, the method can further comprise the following steps:
s301: and detecting whether the synchronous upgrading operation of the first equipment and the second equipment adopting the new system is successful.
Specifically, the upgrade time for performing the upgrade operation on the first device and the second device may be obtained through a preset timing device, and after the upgrade time is obtained, the upgrade time is analyzed to determine whether the upgrade operation of the new system adopted by the first device and the second device is successful, specifically, determining whether the upgrade operation of the new system adopted by the first device and the second device is successful according to the upgrade time may include:
when the upgrading time is greater than or equal to a preset time threshold value, determining that the first equipment and the second equipment fail to adopt new system upgrading and restarting; alternatively, the first and second electrodes may be,
the time threshold is preset and is used as a time limit value for judging whether the first device and the second device are upgraded successfully, a specific time value of the time limit value is not limited in this embodiment, and a person skilled in the art may set the time limit value according to specific design requirements, for example: the preset time threshold value can be 10min, 15min or 20min and the like; and after the time threshold is determined, comparing the upgrading time with the time threshold, and when the upgrading time is greater than or equal to the time threshold, the time for upgrading the first equipment and the second equipment is longer, so that the first equipment and the second equipment can be determined to fail to adopt the new system for upgrading.
And when the upgrading time is smaller than a preset time threshold, determining that the first equipment and the second equipment are successfully upgraded by adopting a new system.
When the upgrade time is compared with the time threshold, if the upgrade time is smaller than the time threshold, at this time, the upgrade time of the first device and the upgrade time of the second device are shorter, and it can be further determined that the first device and the second device are successfully upgraded by using a new system.
By acquiring the upgrading time when the first equipment and the second equipment adopt the new systems for upgrading and judging whether the first equipment and the second equipment adopt the new systems for upgrading successfully or not according to the upgrading time, the upgrading process of the first equipment and the second equipment adopting the new systems is monitored and determined, and the using stability and reliability of the method are further improved.
Fig. 4 is a schematic flowchart of another monitoring method for system upgrade according to an embodiment of the present invention; fig. 5 is a schematic flowchart illustrating control of upgrade operations of the first device and the second device according to the failure times according to the embodiment of the present invention; on the basis of the above embodiment, with continued reference to fig. 4-5, the method in this embodiment further includes:
s401: acquiring the failure times of the first equipment and/or the second equipment adopting a new system to perform upgrading failure;
when the first device and/or the second device fails to be upgraded by adopting the new system, in order to facilitate control over upgrading operations of the first device and the second device, the number of times of failure of upgrading of the first device and/or the second device can be obtained; for example: when the first device and the second device adopt the new system to perform the first upgrade, the first device adopts the new system to perform the upgrade successfully, and the second device adopts the new system to perform the upgrade failure, at this time, the failure times of the first device and the second device adopting the new system to perform the upgrade failure can be determined to be 1; further, when the first device and the second device adopt the new system to perform the nth upgrade, the second device still fails to adopt the new system, at this time, the number of times of failure that the first device and the second device adopt the new system to perform the upgrade can be determined to be +1, and only when the first device succeeds in adopting the new system to perform the upgrade and the second device succeeds in adopting the new system to perform the upgrade, the first device and the second device succeed in adopting the new system to perform the upgrade.
S402: and controlling the upgrading operation of the first equipment and the second equipment according to the failure times.
Specifically, the controlling the upgrade operations of the first device and the second device according to the failure times may include:
s4021: when the failure times are greater than or equal to a preset time threshold value, controlling the first equipment and the second equipment to synchronously operate a pre-stored original system; alternatively, the first and second electrodes may be,
the number threshold is preset, and those skilled in the art can set a specific numerical range of the number threshold according to specific design requirements, for example: the number threshold may be set to 5, 8, or 10, etc. In addition, when the failure times are greater than or equal to the preset time threshold, it indicates that the first device and the second device have attempted to perform multiple upgrade operations by using a new system, but the first device and the second device are not upgraded successfully, and at this time, in order to ensure the operating efficiency of the first device and the second device, the first device and the second device may be controlled to synchronously operate the original system.
For example, before the first device is upgraded by using the new system, a first original system exists, before the second device is upgraded by using the new system, a second original system exists, the system versions of the first original system and the second original system are consistent, when the first device fails to be upgraded by using the new system, the second device also fails to be upgraded by using the new system, and when the failure frequency is greater than or equal to a frequency threshold value, the first device is controlled to operate the first original system, and the second device operates the second original system, so that the operation efficiency of the first device and the second device is ensured. Or when the first equipment is successfully upgraded by adopting the new system, the second equipment is unsuccessfully upgraded by adopting the new system, and the failure frequency of the second equipment for upgrading by adopting the new system is greater than or equal to the frequency threshold value, controlling the first equipment to roll back to the first original system from the new system, so that the first equipment works by using the first original system, and simultaneously, the second equipment runs the second original system. Therefore, the consistency of system versions of the first equipment and the second equipment is effectively ensured, and the safety and reliability of the whole unmanned vehicle are improved.
S4022: and when the failure times are smaller than a preset time threshold value, controlling the first equipment and the second equipment to continue synchronous upgrading operation by adopting a new system.
When the failure times are smaller than the preset time threshold, it indicates that the times of the upgrade operations performed by the first device and the second device using the new system are small, and in order to enable the first device and the second device to operate the new system as much as possible, the first device and the second device may be controlled to continue to perform the synchronous upgrade operations using the new system until the failure times reach the time threshold.
In specific application, the embodiment of the present application provides a monitoring method for system upgrade, where an execution main body of the monitoring method may be a monitoring device, and in specific application, the monitoring device may be disposed on any one of a plurality of devices in an unmanned vehicle, the monitoring device may be in communication connection with any one of the devices, and the monitoring device may communicate with a server, and view or download a new version system to be upgraded of each device from the server.
When a new version system of a certain device is detected in the server, system upgrading information can be issued to the monitoring device, and the system upgrading information has a strongly associated device identifier and a system version which needs to be upgraded at the same time. The monitoring device may obtain the corresponding strongly associated device according to the device identifier, and obtain the current version of the corresponding device from the resident process of the corresponding strongly associated device. After the current version is obtained, the corresponding new version system can be issued to the resident process of the corresponding device, and the resident process is controlled to update the new version system of the corresponding device.
When the system of the equipment with strong association is upgraded, if at least one equipment in the strong association equipment adopts a new system and is not upgraded successfully, the equipment is upgraded again; if the upgrade times reach the upgrade time threshold value and the strong association equipment is not upgraded successfully at the same time, rolling back the system version of the upgraded strong association equipment to the original system version to ensure that the system versions of the strong association equipment are consistent.
The consistency of the system version can ensure the consistency of the configuration parameters and other data in the system. Strongly associated devices refer to devices that have a strong dependency relationship when the unmanned vehicle is operating.
When the system of a certain device of the unmanned vehicle is upgraded, the system of other devices strongly associated with the system needs to be controlled to be upgraded at the same time so as to ensure that the system versions of the devices strongly associated with the system are consistent, and if the system of a certain device fails to be upgraded, the versions of the other devices strongly associated with the system need to be rolled back to the original versions so as to ensure the normal operation of the whole unmanned vehicle.
Fig. 6 is a schematic structural diagram of a monitoring apparatus for system upgrade according to an embodiment of the present invention, and as can be seen from fig. 6, the present embodiment provides a monitoring apparatus for system upgrade, which can execute the monitoring method for system upgrade, and is specifically applied to an unmanned vehicle, and the monitoring apparatus can be disposed on any one device of the unmanned vehicle, where the unmanned vehicle at least includes a first device and a second device, and the apparatus includes:
a receiving module 101, configured to receive system upgrade information sent by a server;
a determining module 102, configured to determine, according to the system upgrade information, a first device and a second device that have a strong association relationship, and a new system that needs to perform a system upgrade operation;
and the control module 103 is configured to control the first device and the second device to perform upgrading operation synchronously by using a new system.
The system upgrading information comprises an equipment identifier and a system version identifier, the equipment identifier corresponds to equipment needing system upgrading operation, and the system version identifier corresponds to a new system needing system upgrading operation.
In this embodiment, specific shape structures of the receiving module 101, the determining module 102, and the control module 103 are not limited, and those skilled in the art may arbitrarily set the receiving module, the determining module 102, and the control module according to the implemented function, and details are not described herein again; in addition, in this embodiment, specific implementation processes and implementation effects of the operation steps implemented by the receiving module 101, the determining module 102, and the control module 103 are the same as those of the operation steps of S101 to S103 in the foregoing embodiment, and specific reference may be made to the above statements, which are not described herein again.
Based on the foregoing embodiment, with reference to fig. 6 continuously, in this embodiment, a specific implementation process of determining, according to the system upgrade information, a first device and a second device having a strong association relationship and a new system that needs to perform a system upgrade operation is not limited, and a person skilled in the art may perform setting according to a specific design requirement, which is preferable, in this embodiment, when the determining module 102 determines, according to the system upgrade information, the first device and the second device having a strong association relationship and the new system that needs to perform a system upgrade operation, the determining module 102 may be specifically configured to:
acquiring an equipment identifier and a system version identifier in the system upgrading information;
determining a first device and a second device with strong association relation according to the device identification;
and determining a new system needing system upgrading operation according to the system version identification.
Wherein the system version of the first device is the same as the system version of the second device.
Moreover, when the determining module 102 determines, according to the device identifier, a first device and a second device having a strong association relationship, the determining module 102 is specifically configured to:
determining the first equipment according to the equipment identification;
acquiring an associated device identifier having a strong association relation with the first device;
and determining a second device with a strong association relation with the first device according to the association device identification.
Further, the apparatus in this embodiment further includes:
a sending module 104, configured to send a new system to the first device and the second device before controlling the first device and the second device to perform an upgrade operation in synchronization with the new system.
Further, the apparatus in this embodiment further includes:
a detecting module 104, configured to detect whether the synchronous upgrade operations of the first device and the second device using the new system are successful.
Further, the apparatus further comprises:
an obtaining module 105, configured to obtain the number of times of failure of the first device and/or the second device in upgrading with the new system;
the control module 103 is further configured to control the upgrade operations of the first device and the second device according to the failure times.
Specifically, when the control module 103 controls the upgrade operations of the first device and the second device according to the failure times, the control module 103 is configured to:
when the failure times are larger than or equal to a preset time threshold value, controlling the first equipment and the second equipment to synchronously run a pre-stored original system; alternatively, the first and second electrodes may be,
and when the failure times are smaller than a preset time threshold value, controlling the first equipment and the second equipment to continue synchronous upgrading operation by adopting a new system.
The monitoring device for system upgrade provided in this embodiment can be used to execute the method corresponding to the embodiments in fig. 1 to 5, and the specific execution manner and the beneficial effects thereof are similar and will not be described herein again.
Fig. 7 is a schematic structural diagram of a monitoring device for system upgrade according to an embodiment of the present invention, and as can be seen from fig. 7, the monitoring device for system upgrade according to the embodiment includes:
the memory (301) is used for storing the data,
the processor(s) 302 are configured to,
and a computer program stored in the memory 301 and executable on the processor 302, wherein the processor 302 implements the method corresponding to the embodiment of fig. 1 to 5 when executing the computer program.
Yet another aspect of the present embodiments provides a computer-readable storage medium having a computer program stored thereon,
when executed by a processor, implement the method corresponding to the embodiment of fig. 1-5.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A monitoring method for upgrading of an unmanned vehicle system is applied to an unmanned vehicle and is characterized in that the unmanned vehicle at least comprises a first device and a second device, and the method comprises the following steps:
receiving system upgrading information sent by a server;
determining a first device and a second device with a strong association relationship and a new system needing system upgrading operation according to the system upgrading information;
controlling the first equipment and the second equipment to synchronously upgrade by adopting a new system;
the method further comprises the following steps:
detecting whether the synchronous upgrading operation of the first equipment and the second equipment by adopting a new system is successful or not according to the upgrading time of the first equipment and the second equipment for upgrading operation;
when the upgrading time is greater than or equal to a preset time threshold value, determining that the first equipment and the second equipment fail to adopt new system upgrading and restarting;
when the upgrading time is smaller than a preset time threshold, determining that the first equipment and the second equipment are successfully upgraded by adopting a new system;
the method further comprises the following steps:
acquiring failure times of the first equipment and/or the second equipment adopting a new system for upgrading failure;
when the failure times are greater than or equal to a preset time threshold value, controlling the first equipment and the second equipment to synchronously operate a pre-stored original system;
and when the failure times are smaller than a preset time threshold value, controlling the first equipment and the second equipment to continue synchronous upgrading operation by adopting a new system.
2. The method according to claim 1, wherein the system upgrade information includes a device identifier and a system version identifier, the device identifier corresponds to a device that needs to perform a system upgrade operation, and the system version identifier corresponds to a new system that needs to perform a system upgrade operation.
3. The method of claim 2, wherein determining, according to the system upgrade information, a first device and a second device having a strong association relationship and a new system requiring a system upgrade operation comprises:
acquiring an equipment identifier and a system version identifier in the system upgrading information;
determining a first device and a second device with strong association relation according to the device identification;
and determining a new system needing system upgrading operation according to the system version identification.
4. The method of claim 3, wherein determining the first device and the second device having a strong association relationship according to the device identifier comprises:
determining the first equipment according to the equipment identification;
acquiring an associated device identifier having a strong association relation with the first device;
and determining a second device with a strong association relation with the first device according to the association device identification.
5. The method of claim 1, wherein prior to controlling the first device and the second device to perform upgrade operations with new system synchronization, the method further comprises:
sending the new system to the first device and the second device.
6. The method of any of claims 1-5, wherein the system version of the first device is the same as the system version of the second device.
7. The utility model provides a monitoring device of unmanned vehicle system upgrading, is applied to unmanned vehicle, its characterized in that, unmanned vehicle includes first equipment and second equipment at least, the device includes:
the receiving module is used for receiving system upgrading information sent by the server;
the determining module is used for determining the first equipment and the second equipment which have strong association relation and a new system which needs system upgrading operation according to the system upgrading information;
the control module is used for controlling the first equipment and the second equipment to synchronously carry out upgrading operation by adopting a new system;
the detection module is used for detecting whether the synchronous upgrading operation of the first equipment and the second equipment by adopting a new system is successful or not according to the upgrading time of the first equipment and the second equipment for upgrading operation; when the upgrading time is greater than or equal to a preset time threshold value, determining that the first equipment and the second equipment fail to adopt new system upgrading and restarting; when the upgrading time is smaller than a preset time threshold, determining that the first equipment and the second equipment are successfully upgraded by adopting a new system;
the acquisition module is used for acquiring the failure times of the first equipment and/or the second equipment adopting the new system for upgrading failure;
the control module is further configured to control the first device and the second device to synchronously run a pre-stored original system when the failure times are greater than or equal to a preset time threshold; and when the failure times are smaller than a preset time threshold value, controlling the first equipment and the second equipment to continue synchronous upgrading operation by adopting a new system.
8. The apparatus according to claim 7, wherein the system upgrade information includes a device identifier and a system version identifier, the device identifier corresponds to a device that needs to perform a system upgrade operation, and the system version identifier corresponds to a new system that needs to perform a system upgrade operation.
9. The apparatus of claim 8, wherein the determining module is configured to:
acquiring an equipment identifier and a system version identifier in the system upgrading information;
determining a first device and a second device with strong association relation according to the device identification;
and determining a new system needing system upgrading operation according to the system version identification.
10. The apparatus of claim 9, wherein the determining module is configured to:
determining the first equipment according to the equipment identification;
acquiring an associated device identifier having a strong association relation with the first device;
and determining a second device with a strong association relation with the first device according to the association device identification.
11. The apparatus of claim 7, further comprising:
and the sending module is used for sending the new system to the first equipment and the second equipment before controlling the first equipment and the second equipment to synchronously carry out upgrading operation by adopting the new system.
12. The apparatus of any of claims 7-11, wherein the system version of the first device is the same as the system version of the second device.
13. The utility model provides a supervisory equipment of unmanned vehicle system upgrading which characterized in that includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor,
the processor, when executing the computer program, implements the method of any of claims 1-6.
14. A computer-readable storage medium, in which a computer program is stored,
the computer program, when executed by a processor, implementing the method of any one of claims 1-6.
CN201811008846.4A 2018-08-31 2018-08-31 Monitoring method, device and equipment for upgrading unmanned vehicle system Active CN109324815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811008846.4A CN109324815B (en) 2018-08-31 2018-08-31 Monitoring method, device and equipment for upgrading unmanned vehicle system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811008846.4A CN109324815B (en) 2018-08-31 2018-08-31 Monitoring method, device and equipment for upgrading unmanned vehicle system

Publications (2)

Publication Number Publication Date
CN109324815A CN109324815A (en) 2019-02-12
CN109324815B true CN109324815B (en) 2022-08-30

Family

ID=65264783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811008846.4A Active CN109324815B (en) 2018-08-31 2018-08-31 Monitoring method, device and equipment for upgrading unmanned vehicle system

Country Status (1)

Country Link
CN (1) CN109324815B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976770B (en) * 2019-03-22 2023-02-28 深圳市元征科技股份有限公司 ECU (electronic control Unit) flashing method and system and related equipment
CN110334787B (en) * 2019-07-01 2023-06-16 百度在线网络技术(北京)有限公司 Unmanned vehicle shopping method and system, unmanned vehicle management platform and unmanned vehicle
CN110597519B (en) * 2019-09-19 2022-07-12 四川虹美智能科技有限公司 Upgrading failure processing method, device and system
CN111796843B (en) * 2020-06-28 2023-05-23 中国第一汽车股份有限公司 Application program upgrading method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system
GB201403952D0 (en) * 2013-03-11 2014-04-23 Honeywell Int Inc Upgradable home awareness system
CN104809014A (en) * 2015-04-29 2015-07-29 无锡悟莘科技有限公司 Remote wireless upgrading method of system
WO2016149908A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method for updating terminal system, terminal and system
CN106066800A (en) * 2015-04-20 2016-11-02 比亚迪股份有限公司 The update method of remote reserved vehicle, system and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212343A (en) * 2006-12-28 2008-07-02 中国移动通信集团公司 System and method for monitoring access terminals remotely
CN101420322B (en) * 2008-12-15 2011-08-24 华为技术有限公司 Upgrading method, device and system for network equipment
US20180204189A1 (en) * 2015-09-17 2018-07-19 Manuel A Espinoza Method for Providing Product Information and Support Services
CN107018022B (en) * 2017-03-31 2020-05-12 Oppo广东移动通信有限公司 Software upgrading processing method and device and terminal
CN107943497B (en) * 2017-11-23 2021-04-02 天津科畅慧通信息技术有限公司 ETC electronic tags bluetooth upgrade management system
CN108182077B (en) * 2018-01-29 2022-03-01 广东美的制冷设备有限公司 Device, firmware upgrading method and device of device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201403952D0 (en) * 2013-03-11 2014-04-23 Honeywell Int Inc Upgradable home awareness system
CN103412771A (en) * 2013-07-29 2013-11-27 福建星网锐捷网络有限公司 Software upgrading processing method, device and system
WO2016149908A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method for updating terminal system, terminal and system
CN106066800A (en) * 2015-04-20 2016-11-02 比亚迪股份有限公司 The update method of remote reserved vehicle, system and device
CN104809014A (en) * 2015-04-29 2015-07-29 无锡悟莘科技有限公司 Remote wireless upgrading method of system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闸泵站计算机监控系统升级改造的探讨;张绿原等;《江苏水利》;20151215(第12期);38-43 *

Also Published As

Publication number Publication date
CN109324815A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN109324815B (en) Monitoring method, device and equipment for upgrading unmanned vehicle system
CN107133086B (en) Task processing method, device and system based on distributed system
CN110489391B (en) Data processing method and related equipment
CN114385759B (en) Configuration file synchronization method and device, computer equipment and storage medium
CN106341244B (en) Configuration file updating method, client, server and system
WO2019140656A1 (en) Firmware upgrade method and apparatus, electronic device and control device
CN110362418B (en) Abnormal data recovery method and device, server and storage medium
CN108270837B (en) Distributed task scheduling method and system using idle resources
CN104737134A (en) System and method for operating system agnostic hardware validation
CN108268272B (en) WSUS-based patch updating method and device
CN112613993B (en) Transaction data processing method and device, computer equipment and storage medium
CN110737719B (en) Data synchronization method, device, equipment and computer readable storage medium
CN111211929A (en) Fault positioning method, fault positioning device, control equipment and intelligent equipment
CN113672441B (en) Method and device for testing intelligent equipment
CN111488947B (en) Fault detection method and device for power system equipment
CN108228789B (en) Synchronous abnormity recovery method and device triggered by slave node
US8099628B2 (en) Software problem identification tool
CN110955390A (en) Data processing method and device and electronic equipment
US7457887B1 (en) Method and system for processing asynchronous event notifications
CN112817620B (en) Controller terminal program updating method, device, computer equipment and storage medium
CN109003646A (en) A kind of data processing method and single-chip microcontroller
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
CN108667636A (en) Configuration information recovery method, apparatus, memory and computer equipment
CN107220092B (en) Method for deploying software, control server, readable medium and storage controller
CN112199281A (en) Data processing method and device, terminal equipment and readable 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