CN110764803B - Software upgrading method and device - Google Patents

Software upgrading method and device Download PDF

Info

Publication number
CN110764803B
CN110764803B CN201911003348.5A CN201911003348A CN110764803B CN 110764803 B CN110764803 B CN 110764803B CN 201911003348 A CN201911003348 A CN 201911003348A CN 110764803 B CN110764803 B CN 110764803B
Authority
CN
China
Prior art keywords
software
version
robot
detected
level
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
CN201911003348.5A
Other languages
Chinese (zh)
Other versions
CN110764803A (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 Yunji Technology Co Ltd
Original Assignee
Beijing Yunji 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 Yunji Technology Co Ltd filed Critical Beijing Yunji Technology Co Ltd
Priority to CN201911003348.5A priority Critical patent/CN110764803B/en
Publication of CN110764803A publication Critical patent/CN110764803A/en
Application granted granted Critical
Publication of CN110764803B publication Critical patent/CN110764803B/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

Abstract

The embodiment of the application provides a software upgrading method and device, and relates to the technical field of robots. The method comprises the steps of obtaining software version data of a robot under the same network environment to obtain the version level of the highest version; comparing whether the current level of the current software version is lower than the version level of the highest version; if so, sending a software downloading instruction to a server of the robot corresponding to the software with the highest version so as to check and update the current software version; according to the method, the inspection and the update of the application software of all the robots in the same network environment can be completed, and the problem that the method wastes time and labor due to the fact that the existing manual update method updates and upgrades the robots one by one is solved.

Description

Software upgrading method and device
Technical Field
The application relates to the technical field of robots, in particular to a software upgrading method and device.
Background
Multiple robots are often operated in the same network environment, software versions operated by the robots are not always consistent, and if the software versions operated by the robots need to be updated, the robots are generally updated and upgraded one by adopting a manual updating method, so that the method is time-consuming and labor-consuming.
Disclosure of Invention
The embodiment of the application aims to provide a software upgrading method and device, and solves the problem that the method is time-consuming and labor-consuming due to the fact that the existing manual updating method updates and upgrades all robots one by one.
The embodiment of the application provides a software upgrading method, which is applied to a client of a robot and comprises the following steps:
acquiring software version data of the robot in the same network environment to obtain the version level of the highest version;
comparing whether the current level of the current software version is lower than the version level of the highest version;
if so, sending a software downloading instruction to the server of the robot corresponding to the software with the highest version so as to check and update the current software version.
In the implementation process, a plurality of robots are often operated under the same network environment, and the software versions operated by the robots are not necessarily consistent, so that when the software versions are updated, the client of the robot can acquire the software version data of other robots to obtain the version level of the highest version; and then comparing the current level of the running current version with the version level of the highest version in other robots, if the version level of the current version is lower, downloading the highest version, and checking and updating the running current version, so that each robot in the same network environment can be upgraded to the highest version, the updating is automatically completed, the trouble caused by manual updating the robots one by one is avoided, and the problems of time and labor waste of the existing manual updating method are solved.
Further, the acquiring software version data of the robot in the same network environment to obtain a version level of the highest version includes:
acquiring a robot list under the same network environment;
traversing the robot list, and sending a data call instruction for version detection to a server of the corresponding robot in the list;
receiving software version data returned by the server;
generating a software version list corresponding to the robot according to the software version data;
and acquiring the version level of the highest version according to the software version list.
In the implementation process, a robot list of all robots in the same network environment is obtained, wherein the list may include IP addresses and data interfaces of the robots, and the robot list is traversed so as to select the highest version of software of the corresponding robot in the robot list, and determine whether the current software version of the robot needs to be updated according to the versions of the highest versions of other robots.
Further, the checking and updating the software to be detected includes:
receiving a software installation package returned by a software downloading interface of the robot corresponding to the software with the highest version;
and installing the software installation package to update the current software.
In the implementation process, each robot is provided with a software downloading interface for other robots to call so as to provide software downloading service, so that the other robots download software and update versions.
An embodiment of the present application further provides a device for upgrading software, where the device includes:
the software version data acquisition module is used for acquiring software version data of the robot under the same network environment to obtain the version level of the highest version;
the version level judging module is used for comparing whether the current level of the current software version is lower than the version level of the highest version;
and the checking and updating module is used for sending a software downloading instruction to a server of the robot corresponding to the software with the highest version to check and update the current software version if the current level of the current software version is lower than the version level of the highest version.
In the implementation process, the version level of the highest version of the detected robot under the same network environment is obtained through a software version data acquisition module; the version level judgment module compares the current level of the current software version with the version level of the highest version; if the current level of the current software version is lower than the version level of the highest version, the software version to be detected needs to be updated through the checking and updating module, so that each robot in the same network environment can obtain the software versions of other surrounding robots through the method, and if the current software version of the robot is lower, the highest version of the corresponding robot can be downloaded to realize checking and updating of the software version of the robot, so that the software of all robots in the same network environment can be upgraded to the highest version, and the problems of time and labor waste caused by updating one by one through a manual method are solved.
Further, the software version data acquisition module comprises:
the robot list acquisition module is used for acquiring a robot list under the same network environment;
the robot list traversing module is used for traversing the robot list and sending a data calling instruction for version detection to a server side of the corresponding robot in the list;
the software version data receiving module is used for receiving the software version data returned by the server;
the software version list generating module is used for generating a software version list corresponding to the robot according to the software version data;
and the highest version level acquisition module is used for acquiring the version level of the highest version according to the software version list.
In the implementation process, a robot list is obtained, the robot list comprises all robots except the robots under the same network environment, software version data corresponding to different robots are obtained by traversing the robot list, and the version level of the software version of each robot is compared, so that the version level of the highest version is obtained.
Further, the check update module includes:
the software installation package receiving module is used for receiving a software installation package returned by a software downloading interface of the robot corresponding to the software with the highest version;
and the software installation module is used for installing the software installation package so as to update the current software.
In the implementation process, the software installation package of the software with the highest version is obtained by calling the software downloading interface of the robot corresponding to the software with the highest version, so that the automatic installation and update of the current software are realized, and the inconvenience caused by manual operation is avoided.
The embodiment of the application further provides a software upgrading method, which is applied to a server of a robot, and the method comprises the following steps:
receiving a data calling instruction for version detection;
analyzing the data call instruction for version detection;
and sending the corresponding software version data to the client of the corresponding robot according to the analysis result.
In the implementation process, the server side of the robot provides a software version detection interface, so that after receiving a data call instruction for version detection, the server side can send corresponding software version data to the client side of the corresponding robot, so that the client side can detect the version level of the software of the client side.
Further, the method further comprises:
receiving a software downloading instruction;
analyzing the software downloading instruction;
and sending the software installation package to the client corresponding to the robot according to the analysis result.
In the implementation process, the server side of the robot provides a software downloading interface, and after receiving a software downloading instruction, the server side can send the corresponding software installation package to the client side through the software downloading interface, so that the client side can implement software installation and upgrade of the robot per se, and automatic update of software is achieved.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used for storing a computer program, and the processor runs the computer program to enable the computer device to execute the software upgrading method.
The embodiment of the present application further provides a readable storage medium, in which computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the software upgrading method is executed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a software upgrading method according to an embodiment of the present application;
fig. 2 is a flowchart for obtaining a version level of a highest version according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating checking and updating a current software version according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a software upgrading apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a software version data obtaining module according to an embodiment of the present application;
FIG. 6 is a block diagram of an update check module according to an embodiment of the present disclosure;
fig. 7 is a server-side flowchart of another software upgrading method according to an embodiment of the present disclosure;
FIG. 8 is a flowchart of providing a software download service according to an embodiment of the present application;
fig. 9 is a flowchart of another software upgrading method provided in the embodiment of the present application;
fig. 10 is a flowchart illustrating a check update using a removable storage medium according to an embodiment of the present application.
Icon:
100-a software version data acquisition module; a robot list acquisition module 101; 102-a robot list traversal module; 103-a software version data receiving module; 104-software version list generation module; 105-highest version level obtaining module; 200-version level judging module; 300-checking the update module; 301-a software installation package receiving module; 302-software installation module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a software upgrading method according to an embodiment of the present disclosure. The method is applied to the client of the robot. The robots in the same network environment all have a client and a server. The client side provides software checking and updating service, and the server side provides software version detection service and software downloading service for other robots in the same network environment, so that the other robots can perform software version detection and software downloading. Specifically, the implementation process of the check update service at the client may specifically include the following steps:
step S100: acquiring software version data of the robot in the same network environment to obtain the version level of the highest version;
for example, in order to easily distinguish between a robot that checks for updating its own software and a detection robot, a robot that provides a version detection service and a software download service is defined as a detected robot.
The detection robot starts the check updating service, and the client of the detection robot can detect the software versions of all other robots, namely the detected robot, under the same network environment so as to obtain the version level of the highest version of the detected robot.
Fig. 2 is a flowchart for obtaining a version level of the highest version according to an embodiment of the present application. The specific implementation process of the step can comprise:
step S101: acquiring a robot list under the same network environment;
the network environment may be a local area network, or a network environment in which a plurality of robots connected by USB interfaces, serial ports, or other methods are located.
The detection robot detects the detected robot in the same network environment, and obtains a robot list of the detected robot, wherein the robot list comprises an IP address or a data interface and the like which can communicate with the detection robot, so that the detection robot can traverse the robot list and realize data transmission with the detected robot.
Step S102: traversing the robot list, and sending a data call instruction for version detection to a server of the corresponding robot in the list;
traversing the robot list, sending a data call instruction for version detection to the corresponding detected robot through a communication mode (such as an IP address or a data interface) corresponding to each detected robot in the robot list, and sending the data call instruction for version detection to a service end of the detected robot, specifically, sending the data call instruction to a software version detection interface corresponding to the service end, so that the service end receives the data call instruction through the software version detection interface, and sends corresponding software version data to a client of the detected robot.
Step S103: receiving software version data returned by the server;
and receiving the returned software version data of the detected software in the same network environment, so that the client can find out the version level of the highest version in the detected robot according to the software version data of each detected robot.
Step S104: generating a software version list corresponding to the robot according to the software version data;
and acquiring software version data of detected software returned by the detected robot under the same network environment, and correspondingly generating a software version list by the software version data according to the sequence of the detected robot in the robot list.
Step S105: and acquiring the version level of the highest version according to the software version list.
And traversing the software version list, and comparing the software version data of each detected robot, so that the version level of the highest version of the software in the detected robots can be obtained.
Step S200: comparing whether the current level of the current software version is lower than the version level of the highest version;
and comparing the current level of the current software version of the detection robot with the version level of the highest version in the detected robot so as to judge whether the current software version of the detection robot needs to be downloaded and updated.
Step S300: if so, sending a software downloading instruction to the server of the robot corresponding to the software with the highest version so as to check and update the current software version.
For example, the software downloading instruction is sent to a service end of the detected robot corresponding to the software of the highest version, specifically, the software downloading instruction is sent to a software downloading interface corresponding to the service end of the detected robot corresponding to the software of the highest version, and a software installation package of the software of the highest version is downloaded through the software downloading interface, so as to complete updating of the current software version.
Specifically, as shown in fig. 3, a flowchart for checking and updating a current software version is provided in the embodiment of the present application. The step may specifically include:
step S301: receiving a software installation package returned by a software downloading interface of the robot corresponding to the software with the highest version;
step S302: and installing the software installation package to update the current software.
And establishing connection through a software downloading interface of the detected robot corresponding to the software with the highest version, receiving a software installation package of the software with the highest version, installing and updating the current software, and finishing the upgrading of the software.
In addition, the connection can be directly established with the server of the corresponding robot through the software downloading interface, the current software can be directly installed, and the updating and the installation of the current software can be realized on line.
All robots in the same network environment are provided with a client and a server, the software of the robots is checked and updated through the client, other robots are provided for checking the software version and downloading and updating the software through the server, and therefore mutual pushing and updating of the software versions between the robots in the same network environment are achieved, namely the software used by all the robots in the same network environment can be updated to the highest version as long as the software used by one robot is the highest version, and the problem that time and labor are wasted when each robot is updated manually is solved.
Example 2
As shown in fig. 4, a block diagram of a software upgrading apparatus provided in an embodiment of the present application is shown, where the apparatus may include:
a software version data acquiring module 100, configured to acquire software version data of a robot in the same network environment to obtain a version level of a highest version;
a version level judging module 200, configured to compare whether a current level of the current software version is lower than a version level of the highest version;
and the checking and updating module 300 is configured to send a software downloading instruction to the server of the robot corresponding to the software with the highest version to check and update the current software version if the current level of the current software version is lower than the version level of the highest version.
For example, as shown in fig. 5, a block diagram of a software version data acquiring module 100 provided in an embodiment of the present application is provided, where the software version data acquiring module may include, but is not limited to:
a robot list acquisition module 101, configured to acquire a robot list in the same network environment;
the robot list traversing module 102 is configured to traverse the robot list and send a data call instruction for version detection to a server of a corresponding robot in the list;
a software version data receiving module 103, configured to receive software version data returned by the server;
a software version list generating module 104, configured to generate a software version list of the corresponding robot according to the software version data;
a highest version level obtaining module 105, configured to obtain a version level of the highest version according to the software version list.
For example, as shown in fig. 6, a block diagram of a checking and updating module 300 provided in the embodiment of the present application is shown. May include, but is not limited to:
a software installation package receiving module 301, configured to receive a software installation package returned by a software downloading interface of the robot corresponding to the software with the highest version;
a software installation module 302, configured to install the software installation package to update the current software.
Acquiring the version level of the highest version of the detected robot under the same network environment through a software version data acquisition module; the version level judgment module compares the current level of the current software version with the version level of the highest version; if the current level of the current software version is lower than the version level of the highest version, the software version to be detected needs to be updated through the checking and updating module, so that each robot in the same network environment can obtain the software versions of other surrounding robots through the method, and if the current software version of the robot is lower, the highest version of the corresponding robot can be downloaded to realize checking and updating of the software version of the robot, so that the software of all robots in the same network environment can be upgraded to the highest version, and the problems of time and labor waste caused by updating one by one through a manual method are solved.
Example 3
An embodiment of the present application further provides a software upgrading method, and as shown in fig. 7, is a flowchart of another software upgrading method provided in the embodiment of the present application, and is applied to a server of a robot, specifically, a server of a detected robot. The server side of the detected robot provides software version detection service and software downloading service for the detected robot, and the detected robot carries out software version detection and software downloading.
The method comprises the following steps that a server side of a detected robot provides software version detection service for a client side of the detected robot to detect the version of software operated by the client side of the detected robot, and the specific implementation process comprises the following steps:
step S400: receiving a data calling instruction for version detection;
and the server of the detected robot receives the version detection data calling command sent by the client of the other robot so as to acquire the version detection data of the software of the detected robot.
Step S500: analyzing the data call instruction for version detection;
step S600: and sending the corresponding software version data to the client of the corresponding robot according to the analysis result.
And analyzing the data call instruction for version detection to obtain an analysis result, and sending the software version data of the detected robot to a client of the detected robot through a software version detection interface according to the analysis result so that the client can determine the version level of the software version of the detected robot.
Further, when the detection robot detects that the software version of the detected robot is the highest version of the software versions in all the detected robots in the same network environment and the version level of the software version of the detection robot is lower than that of the highest version, the software installation package needs to be downloaded through the software download interface of the detected robot corresponding to the software of the highest version for software updating, and at the moment, the detected robot corresponding to the highest version of the software needs to provide software download service for the detection robot to download the highest version.
Fig. 8 is a flowchart illustrating a method for providing a software download service according to an embodiment of the present application. The specific implementation process can comprise the following steps:
step S700: receiving a software downloading instruction;
step S800: analyzing the software downloading instruction;
step S900: and sending the software installation package to the client corresponding to the robot according to the analysis result.
In the implementation process, after the server side where the highest version of the detected software is located receives the software downloading instruction, the software downloading instruction is analyzed, and the corresponding software installation package is sent to the client side of the detection robot through the software downloading interface according to the analysis result, so that the detection robot is helped to complete the installation and the update of the software.
Example 4
The embodiment of the application provides a software upgrading method, which is applied to a client of a detection robot and a server of other robots (detected robots) in the same network environment. The specific implementation process of the method is shown in fig. 9:
step S10: starting three services of each robot in the same network environment, wherein the three services comprise a check updating service of a client, a software version detection service and a software downloading service of a server;
step S20: the client detects the current level of current software and the version level of the highest version provided by other detected robots under the same network environment;
before obtaining the software with the highest version, the client needs to obtain the software versions of all other detected robots in the same network environment, and then compares the software versions of the detected robots to obtain the highest version, and the specific process is as follows:
step S21: the client sends a data call instruction for version detection to a software version detection interface of a server of the detected robot;
step S22: after the server analyzes the instruction, sending corresponding software version data to the client through the software version detection interface;
step S23: the client compares the software version data of the detected robot to obtain the version level of the highest version;
step S30: judging whether the version level of the highest version is higher than the current level;
step S40: if so, calling a software downloading interface of the detected robot corresponding to the highest version, and downloading the software installation package of the highest version;
step 50: and after the downloading is finished, the installation is executed, and the updating and upgrading of the current software are finished.
Example 5
As another embodiment, when the mobile storage medium is inserted into the robot, the robot automatically completes the software checking and updating according to the software installation package in the mobile storage medium. The mobile storage medium may be a common mobile storage medium such as a usb disk, a mobile hard disk, and an SD card.
Fig. 10 is a flowchart illustrating a check update using a removable storage medium according to an embodiment of the present application. The method comprises the following specific implementation processes:
step S911, receiving a mobile storage medium insertion notice;
when inserting the mobile storage medium into the data interface of the robot, the client of the robot will receive a notification of the insertion of the mobile storage medium.
Step S912, scanning the file in the mobile storage medium to obtain the version level of the detected software corresponding to the current software;
and the client scans the files in the mobile storage medium according to the notification and searches the version level of the detected software corresponding to the current software. Before that, the detected software for detecting the update can be stored in the mobile storage medium and named in a specified format, so that the version level of the detected software can be directly determined according to the named format of the detected software.
Step S913, comparing whether the current level of the current software version is lower than the version level of the detected software;
and S914, if yes, acquiring a software installation package of the detected software so as to perform installation updating on the current software.
If the current level of the current software version is lower than the version level of the detected software, the software installation package of the detected software in the mobile storage medium can be obtained to install and update the current software, and the detected software can also be directly installed, so that the convenience of installing and updating the service robot software is improved.
Software updating and upgrading can be realized for all robots in the same network environment in a manner of inserting a mobile storage medium; the mobile storage medium may also be inserted into any robot in the same network environment, and other robots update and upgrade software through software detection service and software download service provided by the robot, where the specific implementation method is described in the above embodiments and is not described herein again.
Example 6
An electronic device comprising a memory for storing a computer program and a processor that executes the computer program to cause the computer device to perform the method of upgrading software of any of embodiment 1.
Example 7
A readable storage medium having stored therein computer program instructions, which when read and executed by a processor, perform the method of upgrading software according to any one of embodiment 1.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (6)

1. A software upgrading method is applied to a client side of a detection robot, and comprises the following steps:
acquiring software version data of the detected robot under the same network environment to obtain the version level of the highest version of the detected robot;
comparing whether the current level of the current software version of the detected robot is lower than the version level of the highest version of the detected robot;
if so, sending a software downloading instruction to a server of the detected robot corresponding to the software with the highest version so as to check and update the current software version;
the acquiring of the software version data of the detected robot in the same network environment to obtain the version level of the highest version of the detected robot includes:
acquiring a detected robot list under the same network environment;
traversing the detected robot list, and sending a data call instruction for version detection to a server corresponding to the detected robot in the list;
receiving software version data returned by the server;
generating a software version list corresponding to the detected robot according to the software version data;
acquiring the version level of the highest version according to the software version list;
the detected robot is a robot for providing version detection service and software downloading service;
the detection robot is a robot for checking and updating self software.
2. The method for upgrading software according to claim 1, wherein the checking and updating the current software version comprises:
receiving a software installation package returned by a software downloading interface of the detected robot corresponding to the software with the highest version;
and installing the software installation package to update the current software.
3. An apparatus for upgrading software, the apparatus comprising:
the software version data acquisition module is used for acquiring software version data of the detected robot under the same network environment so as to obtain the version level of the highest version of the detected robot;
the version level judging module is used for comparing whether the current level of the current software version of the detection robot is lower than the version level of the highest version of the detected robot or not;
the checking and updating module is used for sending a software downloading instruction to a server of the detected robot corresponding to the software with the highest version to check and update the current software version if the current level of the current software version is lower than the version level of the highest version;
the software version data acquisition module comprises:
the robot list acquisition module is used for acquiring a detected robot list under the same network environment;
the robot list traversing module is used for traversing the detected robot list and sending a data calling instruction for version detection to a server corresponding to the detected robot in the list;
the software version data receiving module is used for receiving the software version data returned by the server;
the software version list generating module is used for generating a software version list corresponding to the detected robot according to the software version data;
and the highest version level acquisition module is used for acquiring the version level of the highest version according to the software version list.
4. The apparatus for upgrading software according to claim 3, wherein the check update module includes:
the software installation package receiving module is used for receiving a software installation package returned by a software downloading interface of the detected robot corresponding to the software with the highest version;
and the software installation module is used for installing the software installation package so as to update the current software.
5. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the method of upgrading software according to any one of claims 1 to 2.
6. A readable storage medium, in which computer program instructions are stored, which, when read and executed by a processor, perform a method of upgrading software according to any one of claims 1 to 2.
CN201911003348.5A 2019-10-21 2019-10-21 Software upgrading method and device Active CN110764803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911003348.5A CN110764803B (en) 2019-10-21 2019-10-21 Software upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911003348.5A CN110764803B (en) 2019-10-21 2019-10-21 Software upgrading method and device

Publications (2)

Publication Number Publication Date
CN110764803A CN110764803A (en) 2020-02-07
CN110764803B true CN110764803B (en) 2023-03-31

Family

ID=69332399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911003348.5A Active CN110764803B (en) 2019-10-21 2019-10-21 Software upgrading method and device

Country Status (1)

Country Link
CN (1) CN110764803B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326053A (en) * 2021-06-18 2021-08-31 上海钛米机器人股份有限公司 Robot management system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794222A (en) * 2010-01-13 2010-08-04 腾讯科技(深圳)有限公司 Software version collecting method, management system and software upgrading detection method and system
CN102546675A (en) * 2010-12-08 2012-07-04 鸿富锦精密工业(深圳)有限公司 Software upgrading system and method
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
WO2013078951A1 (en) * 2011-12-01 2013-06-06 腾讯科技(深圳)有限公司 Method and system for upgrading software
WO2017071358A1 (en) * 2015-10-26 2017-05-04 广州视睿电子科技有限公司 Software upgrade method and apparatus
CN106897086A (en) * 2017-01-13 2017-06-27 北京光年无限科技有限公司 Method, apparatus and system for upgraded machine people's operating system
CN107332932A (en) * 2017-08-09 2017-11-07 南京阿凡达机器人科技有限公司 A kind of robot system remote upgrade method based on FOTA
WO2017198015A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Software upgrading method and apparatus
CN108804321A (en) * 2018-05-25 2018-11-13 武汉华工正源光子技术有限公司 A kind of automatic test software update system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794222A (en) * 2010-01-13 2010-08-04 腾讯科技(深圳)有限公司 Software version collecting method, management system and software upgrading detection method and system
CN102546675A (en) * 2010-12-08 2012-07-04 鸿富锦精密工业(深圳)有限公司 Software upgrading system and method
WO2013078951A1 (en) * 2011-12-01 2013-06-06 腾讯科技(深圳)有限公司 Method and system for upgrading software
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
WO2017071358A1 (en) * 2015-10-26 2017-05-04 广州视睿电子科技有限公司 Software upgrade method and apparatus
WO2017198015A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Software upgrading method and apparatus
CN106897086A (en) * 2017-01-13 2017-06-27 北京光年无限科技有限公司 Method, apparatus and system for upgraded machine people's operating system
CN107332932A (en) * 2017-08-09 2017-11-07 南京阿凡达机器人科技有限公司 A kind of robot system remote upgrade method based on FOTA
CN108804321A (en) * 2018-05-25 2018-11-13 武汉华工正源光子技术有限公司 A kind of automatic test software update system and method

Also Published As

Publication number Publication date
CN110764803A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US10599414B2 (en) Adaptive deployment of applications for mobile devices
CN111625839A (en) Third-party component vulnerability detection method, device, equipment and computer storage medium
CN103699408A (en) Software updating method and equipment
US20070006014A1 (en) Error reporting and correcting method for peripheral
CN103995715A (en) Application program repairing method and device and server
CN106055375B (en) Application program installation method and device
CN103164247B (en) The method and device that system application is repaired automatically
CN110457049B (en) Method and device for realizing plug-in automation, electronic equipment and storage medium
WO2008069431A1 (en) Download server and method for installing and updating application program using partitioning of shared library
CN105307195A (en) Method and device for updating access point name (APN) parameter
CN110764803B (en) Software upgrading method and device
CN112241311A (en) Firmware simulation method and device, electronic equipment and readable storage medium
CN109032617B (en) Control method and control device for automatically deleting installation package
CN104202471A (en) Firmware upgrade processing method and system based on mobile terminal and mobile terminal
CN107231624B (en) Method for retaining data information, storage device and mobile terminal
CN110990833B (en) SDK safety detection method and related equipment
GB2348987A (en) Upgrading firmware from a web site using an applet
CN109032641B (en) Application version updating method and device
CN109933976B (en) Android application similarity detection method, mobile terminal and storage device
CN115604307A (en) Processing method and device for upgrading log, terminal equipment and computer medium
CN106802860B (en) Useless class detection method and device
CN104572943A (en) Installation-free program cleaning method and device
CN102272766B (en) Extensible activation exploit scanner
CN105744511A (en) Dynamic update method for Android system adaption module, client and server
EP3812881A1 (en) Information processing device, mobile terminal, and information processing method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant after: Beijing Yunji Technology Co.,Ltd.

Address before: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant before: BEIJING YUNJI TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant