CN112148324A - Method, apparatus and computer-readable storage medium for upgrading electronic device - Google Patents

Method, apparatus and computer-readable storage medium for upgrading electronic device Download PDF

Info

Publication number
CN112148324A
CN112148324A CN201910576778.XA CN201910576778A CN112148324A CN 112148324 A CN112148324 A CN 112148324A CN 201910576778 A CN201910576778 A CN 201910576778A CN 112148324 A CN112148324 A CN 112148324A
Authority
CN
China
Prior art keywords
electronic device
upgrade
response
upgrade file
cloud network
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
CN201910576778.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.)
Schneider Electric Australia Pty Ltd
Original Assignee
Schneider Electric Australia Pty 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 Schneider Electric Australia Pty Ltd filed Critical Schneider Electric Australia Pty Ltd
Priority to CN201910576778.XA priority Critical patent/CN112148324A/en
Publication of CN112148324A publication Critical patent/CN112148324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

Embodiments of the present disclosure relate to methods, devices, and computer-readable storage media for electronic device upgrades. A method for electronic device upgrade comprising: at a network switching device, obtaining an upgrade file of an electronic device from a cloud network device; determining whether the electronic equipment needs to be upgraded based on the upgrade file; in response to determining that the electronic device needs to be upgraded, sending an upgrade file of the electronic device to the electronic device; and in response to receiving feedback information regarding the upgrade from the electronic device, transmitting upgrade report information to the cloud network device based on the feedback information. In this way, embodiments of the present disclosure can enable cloud network-based online upgrade of electronic devices in an efficient and cost-effective manner.

Description

Method, apparatus and computer-readable storage medium for upgrading electronic device
Technical Field
Embodiments of the present disclosure generally relate to the field of device upgrades, and in particular, to methods, devices, and computer-readable storage media for electronic device upgrades.
Background
The intelligent home is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology, an audio and video technology and the like, an efficient management system of home facilities and family schedule affairs is constructed, home safety, convenience, comfortableness and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
The cloud technology is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize the calculation, storage, processing and sharing of data. With the development of cloud technology, the cloud-based smart home can better provide control over home electronic equipment for a user. However, to date, there are still few smart home devices that can implement cloud-based.
Disclosure of Invention
Embodiments of the present disclosure provide methods, devices, and computer-readable storage media for electronic device upgrades.
In a first aspect of the disclosure, a method of electronic device upgrade is provided. The method comprises the following steps: at a network switching device, obtaining an upgrade file of an electronic device from a cloud network device; determining whether the electronic equipment needs to be upgraded based on the upgrade file; in response to determining that the electronic device needs to be upgraded, sending an upgrade file of the electronic device to the electronic device; and in response to receiving feedback information regarding the upgrade from the electronic device, transmitting upgrade report information to the cloud network device based on the feedback information.
In a second aspect of the disclosure, a computing device is provided. The computing device includes: at least one processing unit; at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit causing the computing device to perform acts comprising: acquiring an upgrade file of the electronic equipment from the cloud network equipment; determining whether the electronic equipment needs to be upgraded based on the upgrade file; in response to determining that the electronic device needs to be upgraded, sending an upgrade file of the electronic device to the electronic device; and in response to receiving feedback information regarding the upgrade from the electronic device, transmitting upgrade report information to the cloud network device based on the feedback information.
In a third aspect of the disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon machine executable instructions which, when executed by an apparatus, cause the apparatus to perform any of the steps of the method described according to the first aspect of the disclosure.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to be used to limit the scope of the disclosure.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following more particular descriptions of exemplary embodiments of the disclosure as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the disclosure.
FIG. 1 illustrates a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
FIG. 2 shows a flowchart of an example method for electronic device upgrade, according to an embodiment of the present disclosure;
FIG. 3 illustrates a flow diagram of an example method for determining whether an electronic device requires an upgrade, according to further embodiments of the present disclosure;
FIG. 4 illustrates an example signaling interaction diagram for an electronic device upgrade, according to further embodiments of the present disclosure;
FIG. 5 shows a schematic block diagram of an example device that may be used to implement embodiments of the present disclosure.
Like or corresponding reference characters designate like or corresponding parts throughout the several views.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The term "include" and variations thereof as used herein is meant to be inclusive in an open-ended manner, i.e., "including but not limited to". Unless specifically stated otherwise, the term "or" means "and/or". The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions are also possible below.
In the context of the present disclosure, many existing cloud network devices provided by cloud providers tend to support only online upgrades of devices directly connected thereto over a particular communication protocol (such as a cellular network, LTE network, etc.). For devices that cannot be directly connected to the network device, such as various electronic devices that are indirectly connected to the cloud network device via an IP gateway, the function of online upgrade cannot be implemented. Therefore, it is challenging to realize online upgrade of cloud-based smart home electronic devices.
Embodiments of the present disclosure propose a solution for online upgrade of electronic devices to address one or more of the above problems and other potential problems. According to the scheme, the electronic equipment based on the cloud network equipment is upgraded through the network switching equipment. In this way, remote upgrading of the electronic equipment is possible, upgrading efficiency is greatly improved, and cost for maintaining equipment upgrading is saved.
FIG. 1 illustrates a block diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in fig. 1, environment 100 includes cloud network device 110, network switching device 120, and electronic device 130. It should be understood that the architecture of environment 100 is described for exemplary purposes only and is not intended to suggest any limitation as to the scope of the disclosure. For example, embodiments of the present disclosure may also be applied to environments other than environment 100. It should be understood that the specific numbers of the devices described above are given for illustrative purposes only and do not imply any limitation on the scope of the disclosure. For example, embodiments of the disclosure may also be applied to more or fewer devices.
The cloud network device 110 may be, for example, a distributed computer, a virtual machine, a server, etc., provided by a cloud provider, having powerful computing capabilities. The network switching device 120 is a device that implements interconnection between networks different in protocol, such as an IP gateway or the like. The electronic device 130 is a household device such as a power outlet, a light, a smoke alarm, an automatic window shade, a motion sensor, and the like. The network switching device 120 is directly connected to the cloud network device 110 through a network such as a cellular network, an LTE network, or the like. The network switching device 120 is connected to the electronic device 130 via a communication protocol such as Zigbee.
FIG. 2 schematically shows a flowchart of an example method 200 for electronic device upgrade, according to an embodiment of the present disclosure. For example, method 200 may be performed by network switching device 120 as shown in fig. 1. It should be understood that method 200 may also be performed by other devices, and the scope of the present disclosure is not limited in this respect. It should also be understood that method 200 may also include additional acts not shown and/or may omit acts shown, as the scope of the disclosure is not limited in this respect. The method 200 is described in detail below in conjunction with fig. 1.
At 210, the network switching device 120 obtains the upgrade file of the electronic device 130 from the cloud network device 110.
In some embodiments, the upgrade file may be a firmware image of electronic device 130, which may be uploaded to cloud network device 110 by a vendor of electronic device 130 via an online upgrade portal of its network switching device on cloud network device 110.
In some embodiments, the network switching device 120 may obtain the upgrade file of the electronic device 130 from the cloud network device 110 after receiving a notification from the cloud network device 110 that the upgrade file of the electronic device 130 exists. Alternatively or additionally, in some embodiments, network switching device 120 may periodically obtain the upgrade file for electronic device 130 from cloud network device 110.
At 220, the network switching device 120 determines whether the electronic device 130 requires an upgrade.
In some embodiments, the current version number of the electronic device 130 may be compared to the upgrade version number of the upgrade file. If the upgrade version number of the upgrade file matches the current version number, it is determined that the electronic device 130 needs to be upgraded, otherwise, the upgrade is not needed. In some embodiments, if the version number is represented numerically, the match may mean that the upgrade version number is greater than the current version number. Alternatively, in some embodiments, if the version number is represented in letters, the match may mean that the upgrade version number is after the current version number. Matches may also be represented in other ways.
At 230, if it is determined that the electronic device 130 requires an upgrade, the network switching device 120 transmits an upgrade file for the electronic device 130 to the electronic device 130.
In some embodiments, the electronic device 130, after receiving the upgrade file, sends a message to the network switching device 120 indicating successful receipt of the upgrade file. Additionally or alternatively, in other embodiments, the network switching device 120 waits a predetermined time, and if the electronic device 130 encounters an unexpected condition, such as a power outage, without successfully receiving the upgrade file, the network switching device 120 stops waiting for a message indicating successful receipt of the upgrade file after the predetermined time has elapsed. Additionally or alternatively, in still other embodiments, if the network switching device 120 sends the upgrade file to the electronic device 130 more than a predetermined number of times, the network switching device 120 stops waiting for a message indicating successful receipt of the upgrade file.
At 240, the network switching device 120 determines whether feedback information regarding the upgrade is received from the electronic device 130.
In some embodiments, the electronic device 130 sends feedback information to the network switching device 120 after the upgrade is complete. The feedback information may include various information, and in some embodiments, the feedback information may include a current version number of the electronic device 130; additionally or alternatively, in other embodiments, the feedback information may include an identifier to identify whether the electronic device 130 has been successfully upgraded. It should be noted that the feedback information recited herein is merely illustrative and not limiting.
In some embodiments, the electronic device 130 sends the current version number of the electronic device 130 to the network switching device 120 after the upgrade is complete. If the upgrade of the electronic device 130 is successful, the current version number of the electronic device 130 becomes the upgrade version number of the upgrade file. The electronic device 130 then transmits the upgraded current version number to the network switching device 120. If the upgrade of the electronic device 130 fails, the current version number of the electronic device 130 is unchanged. The electronic device 130 then transmits the current version number without upgrade to the network switching device 120.
Additionally or alternatively, in other embodiments, the electronic device 130 sends an identifier to the network switching device 120 after the upgrade is complete to identify whether the electronic device 130 has been successfully upgraded. In some embodiments, the identifier may be a binary identifier identifying "success" or "failure". Alternatively, in other embodiments, the identifier may be a multi-valued identifier with an indication of whether the upgrade was successful and the cause of the failure.
At 250, the network switching device 120 sends the upgrade report information to the cloud network device 110.
In some embodiments, the upgrade report information may include only feedback information. Alternatively or additionally, in other embodiments, the upgrade report information may include new information generated from the feedback information, such as information regarding whether the electronic device has been upgraded to the latest version.
The above exemplary embodiments show that the method for upgrading the electronic device can realize upgrading of the electronic device based on the cloud network device through the network switching device. The remote upgrading of the electronic equipment is possible, the upgrading efficiency is greatly improved, and the upgrading cost of the maintenance equipment is saved.
FIG. 3 schematically illustrates a flowchart of an example method 300 for determining whether an electronic device requires upgrading according to further embodiments of the present disclosure. Method 300 is another embodiment of step 230 shown in fig. 2. For example, the method 300 may be performed by the network switching device 120 as shown in fig. 1. It should be understood that method 300 may also be performed by other devices, and the scope of the present disclosure is not limited in this respect. It should also be understood that method 300 may also include additional acts not shown and/or may omit acts shown, as the scope of the disclosure is not limited in this respect. The method 300 is described in detail below in conjunction with fig. 1 and 2.
At 310, the network switching device 120 determines whether the electronic device 130 requires an upgrade. Similar to step 220, in some embodiments, the network switching device 120 may determine whether the electronic device 130 requires an upgrade by comparing the current version number of the electronic device 130 to the upgrade version number of the upgrade file.
At 320, if the network switching device 120 determines that the electronic device 130 requires an upgrade, an upgrade request message is sent to the cloud network device 110.
In some embodiments, cloud network device 110 may send the received upgrade request message to a user using electronic device 130 to indicate to the user that electronic device 130 requires an upgrade. The user of the electronic device 130 may decide whether the electronic device 130 needs to be upgraded according to his/her own intention, and send an upgrade response message to the cloud network device 110 through a device connected to the cloud network device 110, such as a smart phone, a tablet computer, or the like.
After receiving the upgrade response message, the cloud network device 110 determines whether the electronic device 130 needs to be upgraded at 340 according to the upgrade response message at 330.
At 350, if the upgrade response message indicates that the electronic device 130 needs to be upgraded, the upgrade file is transmitted to the electronic device 130.
The above exemplary embodiments show that the method for upgrading an electronic device also enables interaction with a user of the electronic device, making it possible for the user of the electronic device to control the upgrading of the electronic device.
Fig. 4 schematically illustrates an example signaling interaction diagram 400 for an electronic device upgrade, according to further embodiments of the present disclosure. It should be understood that interaction diagram 400 may also include additional acts not shown and/or may omit acts shown, as the scope of the disclosure is not limited in this respect. Interaction diagram 400 is described in detail below in conjunction with FIG. 1.
In the embodiment illustrated in fig. 4, the upgrade file of the electronic device 130 is packaged with the upgrade file of the network switching device 110.
At 410, the network switching device 120 receives a notification from the cloud network device 110 that an upgrade file exists.
At 420, after receiving the notification, the network switching device 120 obtains the upgrade file of the electronic device 130 from the cloud network device 110.
In this embodiment, the upgrade file of the electronic device 130 is packaged with the upgrade file of the network switching device 120. At 430, the network switching device 120 determines whether it needs to upgrade itself. In some embodiments, the network switching device 120 first decapsulates the received upgrade file, and then, similar to 220, the network switching device 120 determines whether it needs to be upgraded by comparing its current version number with the upgrade version number of the upgrade file. If the upgrade version number of the upgrade file matches the current version number, it is determined that the network switching device 120 needs to be upgraded, otherwise, it is not required to be upgraded.
Optionally, in some embodiments, if the network switching device 120 needs to be upgraded, after the upgrade is completed, the network switching device 120 sends its own upgrade report information to the cloud network device 110 in step 440.
At 450, the network switching device 120 determines whether the electronic device 130 requires an upgrade. In some embodiments, it is determined that some or all of the set of electronic devices 130 require an upgrade by comparing the current version number of each electronic device 130 in the set of electronic devices 130 to the upgrade version number of the upgrade file, respectively. The comparison may be in serial, parallel, or other order. The scope of the present disclosure is not limited in this respect.
At 460, the network switching device 120 sends the upgrade file to the electronic device 130 that determined that an upgrade is needed. In some embodiments, if a certain electronic device 130 has not sent a message to the network switching device 120 indicating successful receipt of the upgrade file within a predetermined time or after a predetermined number of attempts by the network switching device 120 to transmit, the network switching device 120 transmits the upgrade file to the next electronic device 130. Alternatively, in other embodiments, the transmission of the upgrade file may be in parallel or in other orders. The scope of the present disclosure is not limited in this respect.
Optionally, the network switching device 120 may also send an upgrade request message to the cloud network device 110 at 470 to indicate that the electronic device 130 requires an upgrade.
At 480, the electronic device 130 sends feedback information to the network switching device 120 after the upgrade is complete.
At 490, network switching device 120 sends the upgrade report information to cloud network device 110. In some embodiments, the network switching device 120 may package the upgrade report information associated with the electronic device 130 and the upgrade report information associated with the network switching device 120 together for transmission to the cloud network device 110.
The above exemplary embodiments show that the method for upgrading the electronic device can also ensure the compatibility of the electronic device with the network switching device, and realize easier overall control of the electronic device and the network switching device.
Fig. 5 illustrates a schematic block diagram of an example device 500 that may be used to implement embodiments of the present disclosure. For example, network switching device 120 as shown in fig. 1 may be implemented by device 500. As shown in fig. 5, device 500 includes a Central Processing Unit (CPU)501 that may perform various appropriate actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM)502 or loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The various processes and processes described above, such as methods 200, 300, may be performed by processing unit 501. For example, in some embodiments, the methods 200, 300 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When loaded into RAM 503 and executed by CPU 501, may perform one or more of the actions of methods 200, 300, 400 described above.
The present disclosure may be methods, apparatuses, systems, computer-readable storage media. Computer readable program instructions may be carried on a computer readable storage medium for carrying out various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (13)

1. A method for electronic device upgrade, comprising:
at a network switching device, obtaining an upgrade file of an electronic device from a cloud network device;
determining whether the electronic equipment needs to be upgraded based on the upgrade file;
in response to determining that the electronic device needs to be upgraded, sending the upgrade file of the electronic device to the electronic device; and
in response to receiving feedback information regarding the upgrade from the electronic device, sending upgrade report information to the cloud network device based on the feedback information.
2. The method of claim 1, wherein determining whether the electronic device requires upgrading comprises:
comparing the current version number of the electronic equipment with the upgrading version number of the upgrading file; and
and determining that the electronic equipment needs to be upgraded in response to the matching of the current version number and the upgrade version number.
3. The method of claim 1, further comprising:
in response to determining that the electronic device needs to be upgraded, sending an upgrade request message to the cloud network device to indicate that the electronic device needs to be upgraded; and
in response to receiving an upgrade response message from the cloud network device, re-determining whether the electronic device requires upgrading based on the upgrade response message.
4. The method of claim 1, wherein obtaining the upgrade file for the electronic device from the cloud network device comprises:
in response to receiving a notification from the cloud network device that the upgrade file exists, obtaining the upgrade file for the electronic device from the cloud network device.
5. The method of claim 1, wherein obtaining an upgrade file for an electronic device comprises:
in response to the upgrade file of the electronic device obtained from the cloud network device being packaged with the upgrade file of the network switching device, upgrading the network switching device based on the upgrade file of the network switching device.
6. The method of claim 1, wherein the feedback information comprises at least one of:
a current version number of the electronic device; and
an identifier to identify whether the electronic device has been successfully upgraded.
7. A computing device, comprising:
at least one processing unit;
at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit causing the computing device to perform acts comprising:
acquiring an upgrade file of the electronic equipment from the cloud network equipment;
determining whether the electronic equipment needs to be upgraded based on the upgrade file;
in response to determining that the electronic device needs to be upgraded, sending the upgrade file of the electronic device to the electronic device; and
in response to receiving feedback information regarding the upgrade from the electronic device, sending upgrade report information to the cloud network device based on the feedback information.
8. The computing device of claim 7, wherein determining whether the electronic device requires an upgrade comprises:
comparing the current version number of the electronic equipment with the upgrading version number of the upgrading file; and
and determining that the electronic equipment needs to be upgraded in response to the matching of the current version number and the upgrade version number.
9. The computing device of claim 7, wherein the actions further comprise:
in response to determining that the electronic device needs to be upgraded, sending an upgrade request message to the cloud network device to indicate that the electronic device needs to be upgraded; and
in response to receiving an upgrade response message from the cloud network device, re-determining whether the electronic device requires upgrading based on the upgrade response message.
10. The computing device of claim 7, wherein to obtain the upgrade file for the electronic device from the cloud network device comprises to:
in response to receiving a notification from the cloud network device that the upgrade file exists, obtaining the upgrade file for the electronic device from the cloud network device.
11. The computing device of claim 7, wherein to obtain an upgrade file for an electronic device comprises to:
in response to the upgrade file of the electronic device obtained from the cloud network device being packaged with the upgrade file of the network switching device, upgrading the network switching device based on the upgrade file of the network switching device.
12. The computing device of claim 7, wherein the feedback information comprises at least one of:
a current version number of the electronic device; and
an identifier to identify whether the electronic device has been successfully upgraded.
13. A computer readable storage medium tangibly storing thereon machine executable instructions which, when executed by an apparatus, cause the apparatus to perform the method of any one of claims 1-6.
CN201910576778.XA 2019-06-28 2019-06-28 Method, apparatus and computer-readable storage medium for upgrading electronic device Pending CN112148324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910576778.XA CN112148324A (en) 2019-06-28 2019-06-28 Method, apparatus and computer-readable storage medium for upgrading electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910576778.XA CN112148324A (en) 2019-06-28 2019-06-28 Method, apparatus and computer-readable storage medium for upgrading electronic device

Publications (1)

Publication Number Publication Date
CN112148324A true CN112148324A (en) 2020-12-29

Family

ID=73869525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910576778.XA Pending CN112148324A (en) 2019-06-28 2019-06-28 Method, apparatus and computer-readable storage medium for upgrading electronic device

Country Status (1)

Country Link
CN (1) CN112148324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968792A (en) * 2021-01-20 2021-06-15 广州技象科技有限公司 Internet of things equipment upgrade control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761481A (en) * 2012-06-29 2012-10-31 杭州华三通信技术有限公司 EVI (Ethernet Virtualization Interconnection) network based version upgrading method and device
US20140337429A1 (en) * 2013-05-09 2014-11-13 Rockwell Automation Technologies, Inc. Industrial data analytics in a cloud platform
CN106411619A (en) * 2016-12-02 2017-02-15 北京博大光通物联科技股份有限公司 Wireless equipment upgrading method based on low-power-consumption wide area network
US20170344357A1 (en) * 2016-05-25 2017-11-30 Beijing Xiaomi Mobile Software Co., Ltd. Method, apparatus, and computer-readable storage medium for upgrading a zigbee device
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN108259231A (en) * 2017-12-27 2018-07-06 生迪智慧科技有限公司 Method for upgrading software, gateway, server and the system of smart machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761481A (en) * 2012-06-29 2012-10-31 杭州华三通信技术有限公司 EVI (Ethernet Virtualization Interconnection) network based version upgrading method and device
US20140337429A1 (en) * 2013-05-09 2014-11-13 Rockwell Automation Technologies, Inc. Industrial data analytics in a cloud platform
US20170344357A1 (en) * 2016-05-25 2017-11-30 Beijing Xiaomi Mobile Software Co., Ltd. Method, apparatus, and computer-readable storage medium for upgrading a zigbee device
CN106411619A (en) * 2016-12-02 2017-02-15 北京博大光通物联科技股份有限公司 Wireless equipment upgrading method based on low-power-consumption wide area network
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN108259231A (en) * 2017-12-27 2018-07-06 生迪智慧科技有限公司 Method for upgrading software, gateway, server and the system of smart machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968792A (en) * 2021-01-20 2021-06-15 广州技象科技有限公司 Internet of things equipment upgrade control method and device

Similar Documents

Publication Publication Date Title
US8769030B2 (en) Device event notification registration through direct interaction with mobile device
US9633127B2 (en) Deploying programs in a cluster node
CN111045854B (en) Method, apparatus and computer readable medium for managing service containers
CN103354542A (en) Enabling web clients to provide web services
CN107205041B (en) Audio device upgrading method, audio device and intelligent sound box
CN108874825B (en) Abnormal data verification method and device
CN103298147A (en) Method, device and system for realizing wireless management of mobile terminals on computing device side
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN111433773B (en) Updating gateways in substations
CN112346926A (en) Resource state monitoring method and device and electronic equipment
CN113821352A (en) Remote service calling method and device
CN113595927A (en) Method and device for processing mirror flow in bypass mode
CN112764823B (en) Starting method of NVR (network video recorder) system, host operating system and data communication method
US9781010B2 (en) Managing remote devices
CN109787789B (en) Compatibility management method, device and equipment for software upgrading and storage medium
CN112148324A (en) Method, apparatus and computer-readable storage medium for upgrading electronic device
CN108989157B (en) Method and device for controlling intelligent equipment
CN103533071A (en) Update method, device and system for terminal software
CN111294888B (en) Network selection method and device
CN104917800A (en) Method and device for establishing redundancy connection for virtual machine
CN107547437B (en) Application identification method and device
CN114867003A (en) Cross-network request method, system, device, equipment and storage medium
CN114637599A (en) Cloud resource management method and device, electronic equipment and readable storage medium
CN112152889B (en) Method of controlling electronic device, computing device, and computer-readable storage medium
CN104468671A (en) Configuration information processing method, device and relevant device

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