CN115756544A - Equipment updating method and device, electronic equipment and storage medium - Google Patents

Equipment updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115756544A
CN115756544A CN202211463250.XA CN202211463250A CN115756544A CN 115756544 A CN115756544 A CN 115756544A CN 202211463250 A CN202211463250 A CN 202211463250A CN 115756544 A CN115756544 A CN 115756544A
Authority
CN
China
Prior art keywords
updated
update
information
updating
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211463250.XA
Other languages
Chinese (zh)
Inventor
时晶晶
许国军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luxshare Precision Technology Nanjing Co Ltd
Original Assignee
Luxshare Precision Technology Nanjing 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 Luxshare Precision Technology Nanjing Co Ltd filed Critical Luxshare Precision Technology Nanjing Co Ltd
Priority to CN202211463250.XA priority Critical patent/CN115756544A/en
Publication of CN115756544A publication Critical patent/CN115756544A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a device updating method, a device, electronic equipment and a storage medium, wherein the method establishes communication connection with at least two devices to be updated and determines updating information corresponding to each device to be updated; the updating information is sent to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information, and the at least two devices to be updated are controlled to update through the terminal, thereby realizing the simultaneous updating of the at least two devices to be updated, improving the updating efficiency, and avoiding the problem of low updating efficiency caused by updating the devices to be updated one by one.

Description

Equipment updating method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data updating technologies, and in particular, to an apparatus updating method, an apparatus, an electronic device, and a storage medium.
Background
For a product research and development team, quality testing and management of products are indispensable works, at present, more and more intelligent device products, such as consumer electronic devices and vehicle-mounted electronic devices, have become very popular, and with the increase of the number and types of samples of the products, product versions need to be updated one by one to perform function testing on the updated products, which takes a relatively long time and has low updating efficiency.
Disclosure of Invention
The embodiment of the application provides a device updating method and device, an electronic device and a storage medium, and can solve the problems that in the related art, products are updated one by one and the updating efficiency is low.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided an apparatus updating method, which is applied to a terminal, the apparatus updating method including: establishing communication connection with at least two devices to be updated, and determining updating information corresponding to each device to be updated; and sending the update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information.
In some examples, after sending update information to the corresponding devices to be updated so that each device to be updated updates the current version according to the corresponding update information, the method further includes: when the device to be updated is determined to be updated successfully, transmitting a function verification instruction to the device to be updated; and receiving a verification result notice returned by the equipment to be updated according to the function verification instruction.
In some examples, establishing a communication connection with at least two devices to be updated and determining update information corresponding to each of the devices to be updated includes: establishing communication connection with each device to be updated through a server; determining the update version information corresponding to each device to be updated, generating an update request according to the update version information corresponding to each device to be updated, and sending the update request to the server, so that when the server receives the update request, the server generates the update information containing an update link according to the update version information in the update request, wherein the update link is used for downloading an update package by the device to be updated and updating the version.
In some examples, sending update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, includes: and sending the update information to the corresponding equipment to be updated through the server, so that each equipment to be updated downloads an update package according to an update link in the update information when receiving the update information, and updating the version.
In some examples, establishing a communication connection with at least two devices to be updated and determining update information corresponding to each of the devices to be updated includes: directly establishing communication connection with each device to be updated; and determining an update package corresponding to each device to be updated, and generating the update information according to the update package corresponding to each device to be updated, wherein the update package is used for version update of the device to be updated.
In some examples, sending update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, includes: and directly sending the update information to the corresponding equipment to be updated, so that each equipment to be updated carries out version update according to the update package contained in the corresponding update information.
In some examples, establishing a communication connection with at least two devices to be updated includes: providing a visual control interface, receiving a control instruction through the visual control interface, and determining the equipment to be updated which establishes communication connection according to the control instruction.
According to an aspect of an embodiment of the present application, there is provided a device update apparatus, including: the device comprises a connecting module, a judging module and a judging module, wherein the connecting module is used for establishing communication connection with at least two devices to be updated and determining the updating information corresponding to each device to be updated; and the updating module is used for sending updating information to the corresponding equipment to be updated, so that each equipment to be updated updates the current version according to the corresponding updating information.
According to an aspect of an embodiment of the present application, there is provided an electronic device including one or more processors; storage means for storing one or more computer programs that, when executed by the one or more processors, cause the electronic device to implement the method as described above.
According to an aspect of embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor of an electronic device, causes the electronic device to perform the method as described above.
In the technical scheme provided by the embodiment of the application, the equipment updating method establishes communication connection with at least two equipment to be updated and determines the updating information corresponding to each equipment to be updated; the updating information is sent to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information, and the at least two devices to be updated are controlled to update through the terminal, thereby realizing the simultaneous updating of the at least two devices to be updated, improving the updating efficiency, and avoiding the problem of low updating efficiency caused by updating the devices to be updated one by one.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a basic flow diagram illustrating a device update method according to an exemplary embodiment of the present application;
FIG. 2 is a basic flow diagram illustrating a device update method according to an exemplary embodiment of the present application;
FIG. 3 is a basic flow diagram of a device update method shown in an exemplary embodiment of the present application;
FIG. 4 is a basic flow diagram illustrating a device update method according to an exemplary embodiment of the present application;
FIG. 5 is a basic flow diagram of a device update method shown in an exemplary embodiment of the present application;
FIG. 6 is a basic flow diagram illustrating a device update method according to an exemplary embodiment of the present application;
FIG. 7 is a basic flow diagram illustrating a device update method according to an exemplary embodiment of the present application;
FIG. 8 is a timing diagram illustrating a device update method in accordance with an exemplary embodiment of the present application;
FIG. 9 is a timing diagram illustrating a device update method in accordance with an exemplary embodiment of the present application;
FIG. 10 is a basic schematic diagram of a device update apparatus shown in an exemplary embodiment of the present application;
FIG. 11 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application.
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 application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/nor must they be performed in the order described. For example, some operations may be split, and some operations may be combined or partially combined, so that the actual execution order may be changed according to actual situations.
It should also be noted that: reference to "a plurality" in this application means two or more. "and/or" describe the association relationship of the associated objects, meaning that there may be three relationships, e.g., A and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to solve the foregoing technical problem, an embodiment of the present application provides an apparatus updating method, as shown in fig. 1, where the apparatus updating method includes:
s101, establishing communication connection with at least two devices to be updated, and determining updating information corresponding to each device to be updated;
and S102, sending the updating information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information.
It can be appreciated that the above-described device update method is applied to a terminal, which can be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes. It should be understood that the device to be updated is a device that requires an updated version, including but not limited to: version upgrade, version rollback, version switch, etc.
After the communication connection is established between the terminal and at least two devices to be updated in step S101, the terminal can communicate with each device to be updated, that is, the terminal can transmit a signal to each device to be updated, and each device to be updated can also transmit a signal to the terminal.
The device updating method provided by this embodiment establishes communication connection with at least two devices to be updated, and determines update information corresponding to each device to be updated; the updating information is sent to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information, and the at least two devices to be updated are controlled to update through the terminal, so that the at least two devices to be updated are updated simultaneously, the updating efficiency is improved, and the problem of low updating efficiency caused by updating the devices to be updated one by one is solved.
In some examples of this embodiment, as shown in fig. 2, the step S101 of establishing a communication connection with at least two devices to be updated, and determining update information corresponding to each of the devices to be updated includes:
s202, establishing communication connection with each device to be updated through a server;
s203, determining the update version information corresponding to each device to be updated, generating an update request according to the update version information corresponding to each device to be updated, and sending the update request to the server, so that the server generates the update information including an update link according to the update version information in the update request when receiving the update request, wherein the update link is used for downloading an update package by the device to be updated and updating the version.
In step S202, the terminal establishes a communication connection with the device to be updated through the server, that is, after the terminal transmits information to the server, the terminal communicates with the device to be updated through the server, and similarly, the device to be updated transmits information to the server and the server transmits information to the terminal; for example, a device to be updated A and a device to be updated B exist, and the terminal is respectively connected with the device to be updated A and the device to be updated B through the server; it can be understood that the communication between the terminal and the device to be updated may be either asynchronous or synchronous.
In step S203, the terminal determines update Version information corresponding to each device to be updated, where each device to be updated corresponds to one piece of update Version information, for example, there are a device a to be updated and a device B to be updated, the terminal determines update Version information Version _ a corresponding to the device a to be updated, and the terminal determines update Version information Version _ B corresponding to the device B to be updated, it can be understood that different devices to be updated can correspond to the same update Version information and can also correspond to different update Version information;
in the above example, an update request is generated according to the update Version information corresponding to each device to be updated, where the update request includes a device identifier of the device to be updated and update Version information, specifically, for example, there are a device a to be updated and a device B to be updated, the device identifier of the device a to be updated is DeviceA, the terminal determines update Version information Version _ a corresponding to the device a to be updated, and the terminal determines update Version information Version _ B corresponding to the device B to be updated, and at this time, the update request generated according to the update Version information includes [ DeviceA, version _ a ] and [ DeviceB, version _ B ].
Receiving the above example, step S203 sends the update request to the server, so that the server generates the update information including the update link according to the update version information in the update request when receiving the update request, specifically, the server stores the update links corresponding to each update version information, and when receiving the update request sent by the terminal, the server analyzes the update version information carried in the update request, then obtains the update link corresponding to the update version information, and generates the update information according to the update link; for example, the update request is [ DeviceA, version _ a ], when the server acquires the update request, the server determines the corresponding update link ULRA according to the update Version information Version _ a carried in the update request, and generates the update information according to the update link, where the update information carries the device identifier, the update Version information, and the update link [ DeviceA, version _ a, URLA ].
The server is in communication connection with the at least two devices to be updated, the updating of the devices to be updated can be remotely controlled, the operation is convenient and flexible, the updating efficiency of the devices to be updated is improved, and the problem that the updating efficiency is low due to the fact that the devices to be updated are updated one by one is solved.
In some examples of this embodiment, as shown in fig. 3, the step S102 sends update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, including:
s301, the server sends the update information to the corresponding devices to be updated, so that each device to be updated downloads an update package according to the update link in the update information when receiving the update information, and updates the version.
The server may directly send the update information to the corresponding device to be updated after the update information is generated, or the server may wait for an instruction sent by the terminal after the update information is generated, and send the update message to the corresponding device to be updated when the instruction sent by the terminal is received, so that the corresponding device to be updated searches for the corresponding update version information and the update link according to the device identifier included in the update information, and downloads the update version for updating according to the update link.
In some examples of this embodiment, as shown in fig. 4, the step S101 of establishing a communication connection with at least two devices to be updated, and determining update information corresponding to each of the devices to be updated includes:
s401, directly establishing communication connection with each device to be updated;
s402, determining an update package corresponding to each device to be updated, and generating the update information according to the update package corresponding to each device to be updated, wherein the update package is used for version update of the device to be updated.
In step S401, the terminal may directly establish a communication connection with the devices to be updated through means such as a mobile hotspot, bluetooth, and near field communication, and after establishing the communication connection, the terminal may directly send a message to each device to be updated, and similarly, each device to be updated may also directly send a message to the terminal.
In step S402, an update package corresponding to each device to be updated is determined, and the update information is generated according to the update package corresponding to each device to be updated, where the update package is used for version update of the device to be updated; specifically, the terminal determines an update package corresponding to each device to be updated, each device to be updated corresponds to one update package, for example, there are a device to be updated a and a device to be updated B, the terminal determines that the update package corresponding to the device to be updated a is upsgradepack a, the terminal determines that the update package corresponding to the device to be updated B is upsgradepack B, and generates update information [ DeviceA, upsgrade, upsgradepack a ] and update information [ DeviceB, upsgradade, upsgradepack B ] based on upsgradepack a and upsgradepack B, where DeviceA and DeviceB are device identifiers of the device to be updated a and the device to be updated B, upsgradepack is used for identifying that the update is an upgrade update this time, upsgradepack a is an update package corresponding to the device to be updated a, and upsgradepack B is an update package corresponding to the device to be updated B; it can be understood that the update packages corresponding to different devices to be updated may be the same or different.
According to the method, the terminal is directly connected with the equipment to be updated, the terminal can directly send the message to the equipment to be updated, the message transmission efficiency is improved, the updating efficiency of the equipment to be updated is improved, and the problem that the updating efficiency is low due to the fact that the equipment to be updated is updated one by one is solved; meanwhile, the server is prevented from being maintained independently, and the updating cost is reduced.
In some examples of this embodiment, as shown in fig. 5, in step S202, sending update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, where the sending includes:
s501, the updating information is directly sent to the corresponding devices to be updated, so that each device to be updated carries out version updating according to the updating package contained in the corresponding updating information.
Specifically, for example, the device a to be updated receives update information [ DeviceA, upgrade, upgradepackA ], where DeviceA is a device identifier of the device a to be updated, and at this time, the device a to be updated analyzes the update package to obtain the update instruction of this time as an upgrade update, and the update package is upgradepackA, and then the device a to be updated performs upgrade update according to the upgradepackA.
In some examples of this embodiment, as shown in fig. 6, after step S102 sends update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, the method further includes:
s601, when the device to be updated is determined to be updated successfully, transmitting a function verification instruction to the device to be updated;
s602, receiving a verification result notification returned by the device to be updated according to the function verification instruction.
In step S601, determining that the device to be updated is successfully updated includes, but is not limited to: when the terminal receives an update success message which is actively sent by the equipment to be updated, the equipment to be updated is determined to be successfully updated; and/or the terminal issues a command for inquiring whether the equipment to be updated is updated successfully, and when the equipment to be updated returns an update success message according to the inquiry command, the equipment to be updated is determined to be updated successfully.
It can be understood that, when the terminal establishes communication connection with the device to be updated through the server, the device to be updated actively sends an update success message to the server, the server sends the update success message to the terminal, or the terminal actively sends an instruction for inquiring whether the device to be updated is updated successfully to the server, the server transmits the instruction to the device to be updated, the device to be updated returns an update success message to the server according to the inquiry instruction, and the server sends the update success message to the terminal; similarly, when the terminal directly establishes communication connection with the device to be updated, the device to be updated actively sends an update success message to the terminal, or the terminal actively sends a command to the device to be updated for querying whether the device to be updated is updated successfully, and the device to be updated returns an update success message to the terminal according to the query command.
The function verification instruction is used to verify whether the function of the device to be updated is normal after the updating is completed, and the connection mode is the same as that described above, which is not described herein again. When receiving the function verification instruction, the device to be updated verifies the self function according to the function verification instruction, generates a verification result and returns the verification result to the terminal, and the terminal executes step S602 to receive a verification result notification returned by the device to be updated according to the function verification instruction.
In some examples of this embodiment, establishing communication connections with at least two devices to be updated includes:
s701, providing a visual control interface, receiving a control instruction through the visual control interface, and determining the equipment to be updated for establishing communication connection according to the control instruction.
Specifically, the terminal provides a visual control interface through an application program (APP), and can receive a control instruction sent by a relevant person through the visual interface and determine the equipment to be updated for establishing communication connection according to the control instruction; similarly, the visual interface can also receive a verification instruction and the like sent by related personnel.
The device updating method provided by the embodiment establishes communication connection with at least two devices to be updated, and determines the updating information corresponding to each device to be updated; the updating information is sent to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information, and the at least two devices to be updated are controlled to update through the terminal, thereby realizing the simultaneous updating of the at least two devices to be updated, improving the updating efficiency, and avoiding the problem of low updating efficiency caused by updating the devices to be updated one by one.
In order to better understand the present invention, this embodiment provides a more specific example to explain the present invention, and this example provides a device updating method, as shown in fig. 8, fig. 8 is a timing chart of the device updating method, taking updating as an example, and includes the following steps:
(1) Providing a terminal, being provided with equipment updating APP on the terminal, relevant personnel set up the terminal through the server with wait to update equipment and establish communication connection to send the upgrade request to the server through the APP, including waiting to upgrade equipment and appointed upgrading version in the upgrade request message: [ DeviceA, version _ a ], [ DeviceB, version _ b ] \ 8230 ], [ DeviceN, version _ n ]; wherein DeviceA designates unique equipment and Version _ a designates Version information;
(2) The server receives the upgrade request and then sends upgrade information (update information), wherein the upgrade information comprises equipment information, version information to be upgraded, an upgrade package download path and the like [ DeviceA, version _ a, URLA ] \ 8230 ], [ DeviceN, version _ n, URLN ], wherein URLA designates a Version download address;
(3) After the equipment to be updated receives the upgrading message, downloading the upgrading package according to the specified version downloading path to complete upgrading;
(4) After the upgrade is finished, the device to be upgraded sends a notification message to a server [ DeviceA, resultA ], and the server sends the upgrade result to the APP of the terminal; wherein ResultA is an upgrade result;
(5) Related personnel can also actively inquire the equipment upgrading result and the current version information from the APP;
(6) After upgrading is successful, relevant personnel select test equipment through the APP, establish verification options, and send a function verification instruction [ DeviceA, commandA [ ] ]; wherein commandA [ ] is a test command to be executed;
(7) The server receives the function verification instruction and then sends a function test notification [ DeviceA, commandA [ ] ], wherein the notification comprises equipment information, a test command to be executed and the like;
(8) After the device to be tested completes the function verification instruction, a verification result is returned to the server [ DeviceA, testResultA ]; wherein TestResultA is the verification result;
(9) The server informs the APP of the verification result;
(10) And related personnel can also actively inquire the verification result through the APP.
It can be understood that the above device information, version information, test command and other related information can be configured on the server side, which is convenient for updating and expanding the subsequent devices. The terminal is connected with the equipment to be updated through the server, is suitable for remote and close-range tests, is convenient and flexible, improves the updating efficiency, saves the testing labor and has good real-time performance.
As shown in fig. 9, fig. 9 is a timing chart of the device updating method, and taking updating as an example, the method includes the following steps:
(1) The APP client side manages the equipment to be updated through Bluetooth connection;
(2) Respectively uploading and managing an installation package (updating package) to be upgraded of each device to be updated through the APP;
(3) Transmitting an upgrade command, [ DeviceA, upgrade packaka ] \ 823030
Wherein DeviceA uniquely identifies one device, upgade represents specific operation, and upgradepackA is an installation package to be upgraded.
(4) After the equipment to be updated is upgraded, returning an upgrading result [ DeviceA, resultA ] through Bluetooth, wherein the DeviceA only identifies one equipment, and ResultA represents the upgrading result;
(5) The terminal transmits a function verification Command through Bluetooth, wherein [ DeviceA, command [ A ] ], \ 8230
Wherein DeviceA uniquely identifies a device, and Command [ A ] is a function verification Command array;
(6) After the updated device executes the function verification command, a verification result [ DeviceA, testResulttA ] is returned through Bluetooth, wherein the DeviceA uniquely identifies one device, and the TestResulttA represents the verification result.
According to the method, the terminal is connected with the equipment to be updated through near field communication, a server does not need to be maintained independently, the updating efficiency of the equipment to be updated is improved, updating manpower is saved, the real-time performance is good, and the method is a practical updating scheme.
Based on the same technical concept, the present embodiment further provides an apparatus updating device, as shown in fig. 10, the apparatus includes:
the device comprises a connecting module 1, a judging module and a judging module, wherein the connecting module 1 is used for establishing communication connection with at least two devices to be updated and determining the updating information corresponding to each device to be updated;
and the updating module 2 is used for sending updating information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding updating information.
The method comprises the following steps of sending update information to corresponding devices to be updated, and after each device to be updated updates the current version according to the corresponding update information, the method also comprises the following steps: when the device to be updated is determined to be updated successfully, transmitting a function verification instruction to the device to be updated; and receiving a verification result notice returned by the equipment to be updated according to the function verification instruction.
The method for establishing communication connection with at least two devices to be updated and determining the update information corresponding to each device to be updated comprises the following steps: establishing communication connection with each device to be updated through a server; determining the update version information corresponding to each device to be updated, generating an update request according to the update version information corresponding to each device to be updated, and sending the update request to the server, so that when the server receives the update request, the server generates the update information containing an update link according to the update version information in the update request, wherein the update link is used for downloading an update package by the device to be updated and updating the version.
Sending update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, including: and sending the update information to the corresponding equipment to be updated through the server, so that each equipment to be updated downloads an update package according to an update link in the update information when receiving the update information, and updating the version.
The method for establishing communication connection with at least two devices to be updated and determining the update information corresponding to each device to be updated comprises the following steps: directly establishing communication connection with each device to be updated; and determining an update package corresponding to each device to be updated, and generating the update information according to the update package corresponding to each device to be updated, wherein the update package is used for version update of the device to be updated.
Sending update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information, including: and directly sending the update information to the corresponding equipment to be updated, so that each equipment to be updated performs version update according to the update package contained in the corresponding update information.
Wherein, with at least two equipment of waiting to update establish communication connection, include: providing a visual control interface, receiving a control instruction through the visual control interface, and determining the equipment to be updated which establishes communication connection according to the control instruction.
It should be understood that each template combination of the device updating apparatus provided in this embodiment can implement each step of the device updating method, and achieve the same technical effect as each step of the device updating method, and is not described herein again.
Embodiments of the present application further provide an electronic device, including one or more processors, and a storage, where the storage is configured to store one or more computer programs, and when the one or more computer programs are executed by the one or more processors, the electronic device is enabled to implement the device update method as above.
FIG. 11 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 1800 of the electronic device shown in fig. 11 is only an example, and should not bring any limitation to the function and the scope of the application of the embodiments.
As shown in fig. 11, computer system 1800 includes a processor (CPU) 1801, which may perform various appropriate actions and processes, such as executing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 1802 or a program loaded from a storage portion 1808 into a Random Access Memory (RAM) 1803. In the RAM 1803, various programs and data necessary for system operation are also stored. The CPU 1801, ROM 1802, and RAM 1803 are connected to each other via a bus 1804. An Input/Output (I/O) interface 1805 is also connected to bus 1804.
In some embodiments, the following components are connected to I/O interface 1805: an input portion 1806 including a keyboard, a mouse, and the like; an output section 1807 including a Display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1808 including a hard disk and the like; and a communication section 1809 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1809 performs communication processing via a network such as the internet. A driver 1810 is also connected to the I/O interface 1805 as necessary. A removable medium 1811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1810 as necessary, so that a computer program read out therefrom is installed into the storage portion 1808 as necessary.
In particular, according to an embodiment of the present application, the processes described above with reference to the flowcharts may be implemented as a computer program. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1809, and/or installed from the removable media 1811. The computer program, when executed by the processor (CPU) 1801, performs various functions defined in the system of the present application.
It should be noted that the computer readable media shown in the embodiments of the present application may be computer readable signal media or computer readable storage media or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart 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. 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 or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer programs.
The units or modules described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units or modules may also be disposed in a processor. The names of these units or modules do not in some cases constitute a limitation on the units or modules themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the device update method as before. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist alone without being assembled into the electronic device.
Yet another aspect of the present application provides a computer program product comprising a computer program stored in a computer readable storage medium. The processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes the device update method provided in the foregoing embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
The above description is only a preferred exemplary embodiment of the present application, and not intended to limit the embodiments of the present application, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present application, so that the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An equipment updating method is applied to a terminal, and the equipment updating method comprises the following steps:
establishing communication connection with at least two devices to be updated, and determining updating information corresponding to each device to be updated;
and sending the update information to the corresponding devices to be updated, so that each device to be updated updates the current version according to the corresponding update information.
2. The method according to claim 1, wherein update information is sent to the corresponding devices to be updated, so that after each device to be updated updates the current version according to the corresponding update information, the method further comprises:
when the device to be updated is determined to be updated successfully, transmitting a function verification instruction to the device to be updated;
and receiving a verification result notice returned by the equipment to be updated according to the function verification instruction.
3. The method according to claim 1 or 2, wherein establishing communication connection with at least two devices to be updated and determining the update information corresponding to each of the devices to be updated comprises:
establishing communication connection with each device to be updated through a server;
determining the update version information corresponding to each device to be updated, generating an update request according to the update version information corresponding to each device to be updated, and sending the update request to the server, so that when the server receives the update request, the server generates the update information containing an update link according to the update version information in the update request, wherein the update link is used for downloading an update package by the device to be updated and updating the version.
4. The method according to claim 3, wherein sending update information to the corresponding devices to be updated so that each device to be updated updates the current version according to the corresponding update information comprises:
and sending the update information to the corresponding equipment to be updated through the server, so that each equipment to be updated downloads an update package according to an update link in the update information when receiving the update information, and updates the version.
5. The method according to claim 1 or 2, wherein establishing communication connection with at least two devices to be updated and determining the update information corresponding to each of the devices to be updated comprises:
directly establishing communication connection with each device to be updated;
and determining an update package corresponding to each device to be updated, and generating the update information according to the update package corresponding to each device to be updated, wherein the update package is used for version update of the device to be updated.
6. The method according to claim 5, wherein sending update information to the corresponding devices to be updated so that each device to be updated updates the current version according to the corresponding update information comprises:
and directly sending the update information to the corresponding equipment to be updated, so that each equipment to be updated carries out version update according to the update package contained in the corresponding update information.
7. The method according to claim 1 or 2, wherein establishing communication connections with at least two devices to be updated comprises:
providing a visual control interface, receiving a control instruction through the visual control interface, and determining the equipment to be updated which is in communication connection according to the control instruction.
8. An apparatus for updating a device, the apparatus comprising:
the device comprises a connecting module, a judging module and a judging module, wherein the connecting module is used for establishing communication connection with at least two devices to be updated and determining the updating information corresponding to each device to be updated;
and the updating module is used for sending updating information to the corresponding equipment to be updated, so that each equipment to be updated updates the current version according to the corresponding updating information.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of an electronic device, causes the electronic device to perform the method of any of claims 1 to 7.
CN202211463250.XA 2022-11-21 2022-11-21 Equipment updating method and device, electronic equipment and storage medium Pending CN115756544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211463250.XA CN115756544A (en) 2022-11-21 2022-11-21 Equipment updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211463250.XA CN115756544A (en) 2022-11-21 2022-11-21 Equipment updating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115756544A true CN115756544A (en) 2023-03-07

Family

ID=85334798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211463250.XA Pending CN115756544A (en) 2022-11-21 2022-11-21 Equipment updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115756544A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932014A (en) * 2023-09-15 2023-10-24 腾讯科技(深圳)有限公司 Application updating method, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932014A (en) * 2023-09-15 2023-10-24 腾讯科技(深圳)有限公司 Application updating method, device, equipment and computer readable storage medium
CN116932014B (en) * 2023-09-15 2023-12-12 腾讯科技(深圳)有限公司 Application updating method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP2000289583A (en) Method and system for executing vehicle diagnosis
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
CN110874227A (en) Shunting method and system for realizing gray scale release of API gateway and electronic equipment
CN110784520A (en) File downloading method and device and electronic equipment
CN112579928A (en) Page jump method, page jump device, computer equipment and computer readable storage medium
CN115756544A (en) Equipment updating method and device, electronic equipment and storage medium
CN113064685A (en) H5 page loading method and device
CN110618768B (en) Information presentation method and device
CN112131013A (en) Monitoring method, device, equipment and storage medium of call chain in distributed system
CN112230969A (en) Method and equipment for formatting user space storage area in firmware upgrading process
CN111343220B (en) Repeater, distributed file transmission method, distributed file transmission system, medium and electronic equipment
CN107247661B (en) Method and system for supporting automatic verification of installation package of application
CN112468562A (en) Vehicle-mounted terminal file sending and upgrading method, device and storage medium
CN114756257B (en) Data updating method, device, communication module and readable storage medium
CN114860213A (en) Application package generation method, device, equipment and medium
CN115167874A (en) Automatic driving software mirror image deployment method and device, electronic equipment and readable medium
CN109933556B (en) Method and apparatus for processing information
CN112118567A (en) Device upgrading method, electronic device and medium
CN112835962A (en) Information display method and device, electronic equipment and storage medium
CN111314457B (en) Method and device for setting virtual private cloud
CN111625326A (en) Task pipeline execution method and device and electronic equipment
CN112887389B (en) Version-based equipment interoperation method, system, device and storage medium
CN113067854B (en) Method, device, equipment and storage medium for acquiring content resources of vehicle-mounted equipment
US20240152504A1 (en) Data interaction method, apparatus, and electronic device
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable 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