CN108491222B - Gateway equipment upgrading method and device, gateway equipment and storage medium - Google Patents

Gateway equipment upgrading method and device, gateway equipment and storage medium Download PDF

Info

Publication number
CN108491222B
CN108491222B CN201810258199.6A CN201810258199A CN108491222B CN 108491222 B CN108491222 B CN 108491222B CN 201810258199 A CN201810258199 A CN 201810258199A CN 108491222 B CN108491222 B CN 108491222B
Authority
CN
China
Prior art keywords
version number
gateway device
upgrade
request message
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810258199.6A
Other languages
Chinese (zh)
Other versions
CN108491222A (en
Inventor
王艳青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Life Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Smart Life Technology Co Ltd filed Critical Qingdao Hisense Smart Life Technology Co Ltd
Priority to CN201810258199.6A priority Critical patent/CN108491222B/en
Publication of CN108491222A publication Critical patent/CN108491222A/en
Application granted granted Critical
Publication of CN108491222B publication Critical patent/CN108491222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a method and a device for upgrading gateway equipment, the gateway equipment and a storage medium, which relate to the field of intelligent home furnishing, and the method comprises the following steps: receiving a first upgrading request message sent by a server; according to the first upgrading request message, sending a second upgrading request message to the slave gateway equipment, wherein the second upgrading request message is used for indicating the slave gateway equipment to be upgraded to a target version number; and upgrading the application version of the main gateway device to a target version number according to the first upgrading request. In the invention, after the master gateway device receives the first upgrading request message, the second upgrading request message is sent to the slave gateway device through the master gateway device, the master gateway device upgrades to the target version number according to the first upgrading request message, and the slave gateway device upgrades to the target version number according to the second upgrading request message, so that the version numbers of the master gateway device and the slave gateway device after upgrading are ensured to be consistent, and normal communication and operation of the master gateway device and the slave gateway device after upgrading are ensured.

Description

Gateway equipment upgrading method and device, gateway equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of smart home, in particular to a gateway equipment upgrading method and device, gateway equipment and a storage medium.
Background
The intelligent home multi-gateway system is a system for controlling intelligent home devices, and adopts a master-slave gateway architecture, that is, the intelligent home multi-gateway system comprises master gateway devices and slave gateway devices, wherein generally, the number of the master gateway devices is one, and the number of the slave gateway devices is less than the preset number. Besides controlling the intelligent home devices, the main gateway devices also manage the intelligent home multi-gateway system, such as: and storing the corresponding relation between the intelligent home equipment and the slave gateway equipment for controlling the intelligent home equipment.
When the master gateway device and the slave gateway devices are upgraded, each master gateway device or each slave gateway device is independently upgraded, that is, the master gateway device or each slave gateway device respectively obtains an upgrade packet from the server, and the obtained upgrade packets are installed to complete the upgrade of the master gateway device or each slave gateway device.
Because the master gateway device and the slave gateway device are independently upgraded from the upgrade package acquired by the server, some master gateway devices or slave gateway devices are upgraded in the operation process, and some master gateway devices or slave gateway devices are not upgraded in the operation process, that is, the master gateway device and the slave gateway devices have the possibility of different versions, and the problem that partial communication failure or partial function abnormality between the master gateway device and the slave gateway device is caused due to the fact that the versions of the master gateway device and the slave gateway device are inconsistent can be caused directly, and the control of the intelligent home multi-gateway system on the intelligent home devices is influenced.
Disclosure of Invention
In order to solve the problem that partial communication failure or partial function abnormality between a master gateway device and a slave gateway device is caused by inconsistent application versions after the master gateway device and the slave gateway device are respectively upgraded, embodiments of the present invention provide a gateway device upgrading method, apparatus, gateway device and storage medium. The technical scheme is as follows:
in a first aspect, a gateway device upgrade method is provided, where the method is used in a main gateway device, and includes:
receiving a first upgrading request message sent by a server, wherein the first upgrading request message comprises a target version number;
according to the first upgrading request message, sending a second upgrading request message to the slave gateway equipment, wherein the second upgrading request message comprises a target version number and is used for indicating the slave gateway equipment to be upgraded to the target version number;
and upgrading operation is carried out according to the first upgrading request message, wherein the upgrading operation is used for upgrading the application version of the main gateway equipment to a target version number.
In an optional embodiment, after performing the upgrade operation according to the first upgrade request message, the method further includes:
detecting whether the upgraded first application version number is consistent with the target version number, wherein the first application version number is used for indicating the application version used by the main gateway equipment;
and when the first application version number is not consistent with the target version number, determining that the upgrade fails, and performing upgrade operation again.
In an optional embodiment, after performing the upgrade operation according to the first upgrade request message, the method further includes:
receiving a version number query message sent from gateway equipment;
and sending an inquiry feedback message to the slave gateway equipment according to the version number inquiry message, wherein the inquiry feedback message comprises the upgraded first application version number, the inquiry feedback message is used for indicating that the second application version number of the slave gateway equipment is different from the first application version number for upgrading operation, and the second application version number is used for indicating the application version being used by the slave gateway equipment.
In an optional embodiment, the first upgrade request message and the second upgrade request message further include: upgrading address information, wherein the upgrading address information is used for indicating a download address of an upgrading packet corresponding to the target version number;
the method further comprises the following steps:
and downloading the upgrade package corresponding to the target version number according to the upgrade address information.
In an optional embodiment, before receiving the first upgrade request message sent by the server, the method further includes:
and sending version information to the server at preset time intervals, wherein the version information comprises an original application version number of the main gateway device before upgrading, and the version information is used for indicating the server to send a first upgrading request message to the main gateway device when the original application version number is inconsistent with the target version number.
In a second aspect, a gateway device upgrade method is provided, which is used in a slave gateway device, and includes:
receiving a second upgrading request message sent by the main gateway device, wherein the second upgrading request message comprises a target version number and is sent by the main gateway device according to the received first upgrading request message; the first upgrading request message comprises a target version number, and the first upgrading request message is used for indicating the main gateway equipment to be upgraded to the target version number;
and upgrading operation is carried out according to the second upgrading request message, and the upgrading operation is used for upgrading the application version of the gateway equipment to a target version number.
In an optional embodiment, the method further comprises:
sending a version number query message to the main gateway device;
receiving an inquiry feedback message sent by the main gateway device, wherein the inquiry feedback message comprises a first application version number after the main gateway device is upgraded, and the first application version number is used for indicating an application version used by the main gateway device;
and when the second application version number is different from the first application version number, performing upgrading operation, wherein the second application version number is used for indicating the application version being used by the slave gateway equipment.
In an optional embodiment, the second upgrade request message further includes: upgrading address information, wherein the upgrading address information is used for indicating a download address of an upgrading packet corresponding to the target version number; the method further comprises the following steps:
and downloading the upgrade package corresponding to the target version number according to the upgrade address information.
In a third aspect, an apparatus for upgrading a gateway device is provided, where the apparatus is used in a main gateway device, and includes:
the first receiving module is used for receiving a first upgrading request message sent by the server, wherein the first upgrading request message comprises a target version number;
the first sending module is used for sending a second upgrading request message to the slave gateway equipment according to the first upgrading request message, wherein the second upgrading request message comprises a target version number and is used for indicating the slave gateway equipment to be upgraded to the target version number;
and the first upgrading module is used for upgrading operation according to the first upgrading request message, and the upgrading operation is used for upgrading the application version of the main gateway device to the target version number.
In a fourth aspect, an apparatus for upgrading a gateway device is provided, where the apparatus is used in a slave gateway device, and includes:
the second receiving module is used for receiving a second upgrading request message sent by the main gateway device, wherein the second upgrading request message comprises a target version number, and the second upgrading request message is sent by the main gateway device according to the received first upgrading request message; the first upgrading request message comprises a target version number, and the first upgrading request message is used for indicating the main gateway equipment to be upgraded to the target version number;
and the second upgrading module is used for upgrading operation according to the second upgrading request message, and the upgrading operation is used for upgrading the application version of the slave gateway equipment to the target version number.
In a fifth aspect, there is provided a gateway device, where the gateway device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the gateway device upgrading method according to any one of the first aspect and the optional embodiments of the present invention.
In a sixth aspect, there is provided a gateway device, which includes a processor and a memory, where at least one instruction, at least one program, code set, or instruction set is stored in the memory, and the at least one instruction, the at least one program, code set, or instruction set is loaded and executed by the processor to implement the gateway device upgrading method according to any one of the second aspect and the optional embodiments of the present invention.
In a seventh aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the gateway device upgrading method according to any one of the first aspect and optional embodiments of the foregoing embodiments of the present invention.
In an eighth aspect, there is provided a computer-readable storage medium, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the gateway apparatus upgrading method according to any one of the second aspect and the optional embodiments of the second aspect of the embodiments of the present invention.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the related art, when upgrading a gateway device to another version, if the master gateway device and the slave gateway device are upgraded independently, the master gateway device and the slave gateway device may be upgraded to different versions, thereby causing a problem that part of communication between the master gateway device and the slave gateway device, or between different slave gateway devices fails or has an abnormal function, in this application, after the master gateway device receives a first upgrade request message, a second upgrade request message is sent to the slave gateway device through the master gateway device, wherein both the first upgrade request message and the second upgrade request message include target version numbers, the master gateway device upgrades to the target version numbers according to the first upgrade request message, the slave gateway device upgrades to the target version numbers according to the second upgrade request message, and the version numbers of the master gateway device and the slave gateway device after upgrading are ensured to be consistent, therefore, normal communication and operation of the master gateway and the slave gateway can be ensured after upgrading.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an intelligent home multi-gateway system according to an exemplary embodiment of the present invention;
fig. 2 is a flowchart of a gateway device upgrade method provided by an exemplary embodiment of the present invention;
fig. 3 is a flowchart of a gateway device upgrade method according to another exemplary embodiment of the present invention;
fig. 4 is a flowchart of a gateway device upgrade method according to another exemplary embodiment of the present invention;
fig. 5 is a block diagram of a gateway device upgrade apparatus according to another exemplary embodiment of the present invention;
fig. 6 is a block diagram of a gateway device upgrade apparatus according to another exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of a gateway device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an intelligent home multi-gateway system according to an exemplary embodiment of the present invention. As shown in fig. 1, the smart home system includes: the system comprises a server 11, a gateway device 12, a communication network 13, an intelligent household device 14 and a terminal 15;
the server 11 is configured to receive the information of the smart home devices 14 sent by the gateway device 12, and send the received information of the smart home devices 14 to the terminal 15. Optionally, the server 11 may be a physical server or a cloud server, that is, a virtual server disposed in the cloud, and the server 11 may be one server or a group of servers composed of multiple servers.
The server 11 and the gateway device 12 are connected through a communication network 13, and the communication network 13 may be a wired network or a wireless network. Alternatively, the communication network 13 may be at least one of a local area network, a metropolitan area network, and a wide area network.
The gateway device 12 is a device for controlling the smart home devices 14, and optionally, the gateway device 12 controls the smart home devices 14 through a communication technology, where the communication technology may be a wireless communication technology or a wired communication technology. The wireless Communication technology may also be a Near Field Communication (NFC) technology, a ZigBee (ZigBee protocol), a Bluetooth technology, a WiFi (wireless local area network) technology, or the like.
Optionally, the gateway device 12 includes a master gateway device and a slave gateway device. Optionally, the gateway device 12 includes a master gateway device and at least one slave gateway device. Wherein, the number of the slave gateway devices may be within a preset number range, such as: the number of slave gateway devices must not exceed 10. Illustratively, the smart home multi-gateway system shown in fig. 1 includes a master gateway device 121, a slave gateway device 122, and a slave gateway device 123.
The main gateway device 121 is configured to control the smart home devices 14 corresponding to the main gateway device 121, optionally, the smart home devices 14 may also be a smart home device group, as shown in fig. 1, the main gateway device 121 is configured to control the smart home device group 141 corresponding to the main gateway device 121, where the smart home device group 141 includes smart home devices 1411 and smart home devices 1412, for example: the main gateway device 121 is configured to control a corresponding smart home device group 141, where the smart home device group 141 includes an air conditioner and a television. Optionally, the main gateway device 121 is further configured to manage devices in the smart home multi-gateway system, such as: the corresponding relationship between the gateway device 12 and the smart home device 14 in the smart home multi-gateway system is stored, and illustratively, the corresponding relationship between the slave gateway device 122 and the smart home device 142, and the corresponding relationship between the gateway device 123 and the smart home device 143 are also stored in the master gateway device 121. Optionally, in this embodiment of the application, the main gateway device 121 is further configured to manage upgrading of the gateway device 12 in the smart home multi-gateway system.
The slave gateway device is configured to control the corresponding smart home devices 14, as shown in fig. 1, the slave gateway device 122 is configured to control the corresponding smart home devices 142, and the slave gateway device 123 is configured to control the corresponding smart home devices 143.
Optionally, each gateway device 12 includes an application version number, which is used to indicate the version applied by the gateway device 12, and when the version number between two gateway devices 12 is different, the problem that part of communication fails or part of function is abnormal may be caused between the two gateway devices 12. Alternatively, when the gateway device 12 performs the upgrade, the upgrade package may be acquired from the server 11 and installed, thereby performing the upgrade.
Optionally, the number of the smart home devices 14 controlled by each gateway device 12 is within a preset number range, and one smart home device 14 may be controlled by only one gateway device 12, that is, one smart home device 14 may be bound to only one gateway device 12.
The smart home devices 14 may be devices that can be registered in the gateway device 12, and optionally, the smart home devices 14 may include one or more devices, illustratively, as shown in fig. 1, the smart home devices 14 include smart home devices 141, smart home devices 142, and smart home devices 143, where the smart home devices 141 are devices controlled by the gateway device 121, and the smart home devices 141 further include smart home devices 1411 and smart home devices 1412. Optionally, the smart home device 14 may be at least one of an air conditioner, a television, a water heater, an air purifier, a sweeping robot, and a monitoring device.
The terminal 15 is a terminal device for interacting with a user. Optionally, the terminal 15 is configured to display the state of the smart home device 14 on a user interface, and control the smart home device 14 through the user interface, such as: the method includes the steps of starting the intelligent household equipment 14, closing the intelligent household equipment 14, changing parameters of the intelligent household equipment 14 and the like. Optionally, when the smart home device 14 is a smart home device group, the smart home device group includes a plurality of smart home devices, and the smart home devices in the smart home device group may be respectively displayed or controlled through the user interface. Optionally, the terminal 15 is a terminal device associated with the gateway device 12, that is, the terminal 15 and the gateway device 12 establish a binding relationship. Alternatively, the terminal 15 may be a mobile terminal, such as: at least one of a mobile phone, a tablet, an entrance guard interphone and a portable notebook computer.
When the gateway device is upgraded to another version, if the master gateway device and the slave gateway device are upgraded independently, the master gateway device and the slave gateway device may be upgraded to different versions, so as to cause a problem that part of communication between the master gateway device and the slave gateway device or between different slave gateway devices fails or functions are abnormal.
In view of the foregoing, the present invention provides a gateway device upgrading method, which is capable of sending a corresponding upgrade request message to a slave gateway device through a master gateway device when the master gateway device receives the upgrade request message, so as to achieve an effect that versions of the master gateway device and the slave gateway device after being upgraded are consistent.
Referring to fig. 1 and fig. 2 in combination, fig. 2 is a flowchart of a gateway device upgrading method according to an exemplary embodiment of the present invention, and taking an example that the gateway device upgrading method is applied to the smart home multi-gateway system shown in fig. 1, the gateway device upgrading method includes:
in step 201, the primary gateway device receives a first upgrade request message sent by a server.
Optionally, the first upgrade request message includes a target version number, where the first upgrade request message is used to indicate that the main gateway device is upgraded to the target version number, and the target version number is used to indicate a version number of the upgraded main gateway device.
Optionally, the server may actively send a first upgrade request message to the primary gateway device at preset time intervals, or the primary gateway device may send version information to the server before receiving the first upgrade request message sent by the server, and the server determines whether the primary gateway device needs to be upgraded according to the version information, and sends the first upgrade request message to the primary gateway device when the primary gateway device needs to be upgraded. The time when the primary gateway device sends the version information to the server may be determined by at least one of the following methods:
firstly, the main gateway device sends version information to a server at preset time intervals;
second, the primary gateway device sends version information to the server after each boot.
Step 202, the master gateway device sends a second upgrade request message to the slave gateway device according to the first upgrade request message.
Optionally, the second upgrade request message includes the target version number, where the second upgrade request message is used to indicate that the gateway device is upgraded to the target version number, that is, the target version number is also used to indicate a version number of the gateway device after being upgraded.
Optionally, the smart home multi-gateway system may include a master gateway device and at least one slave gateway device, and when the smart home multi-gateway system includes a plurality of slave gateway devices, the master gateway device sends a second upgrade request message to all the slave gateway devices in the smart home multi-gateway system according to the first upgrade request message.
Optionally, the master gateway device stores a receiving address of each slave gateway device, and sends the second upgrade request message to each slave gateway device according to the receiving address.
Step 203, the slave gateway device receives the second upgrade request message sent by the master gateway device.
And step 204, the main gateway device performs upgrading operation according to the first upgrading request message.
Optionally, the upgrade operation is to upgrade the application version of the primary gateway device to a target version number.
Optionally, the first upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the primary gateway device may download the upgrade package corresponding to the target version number according to the upgrade address information, and upgrade the upgrade package to the target version number by installing the upgrade package.
And step 205, the slave gateway device performs upgrading operation according to the second upgrading request message.
Optionally, the upgrade operation is to upgrade an application version of the slave gateway device to a target version number.
Optionally, the second upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the slave gateway device may download the upgrade package corresponding to the target version number according to the upgrade address information, and upgrade the target version number by installing the upgrade package.
It is noted that the steps 202 and 204 may be performed first after the step 202 and then the step 204, or the step 204 may be performed first and then the step 202, or the steps 202 and 204 may be performed simultaneously, and the step 203 is performed after the step 202, and the step 205 is performed after the step 203.
In summary, in the gateway device upgrading method provided in this embodiment, after receiving the first upgrade request message, the master gateway device sends the second upgrade request message to the slave gateway device through the master gateway device, where the first upgrade request message and the second upgrade request message both include a target version number, the master gateway device upgrades to the target version number according to the first upgrade request message, and the slave gateway device upgrades to the target version number according to the second upgrade request message, so that version numbers of the master gateway device and the slave gateway device after upgrading are ensured to be consistent, thereby ensuring that the master gateway and the slave gateway can communicate and operate normally after upgrading.
In an optional embodiment, when the primary gateway device performs an upgrade according to the first upgrade request message, the primary gateway device may fail to perform an upgrade operation again by determining whether an currently applied version number is consistent with a target version number, and the gateway device upgrade method provided in the embodiment of the present invention is described with reference to the smart home multi-gateway system shown in fig. 1, where fig. 3 is a flowchart of the gateway device upgrade method provided in an exemplary embodiment of the present invention, and taking an example that the gateway device upgrade method is applied to the smart home multi-gateway system shown in fig. 1, the gateway device upgrade method includes:
step 301, the primary gateway device sends version information to the server at preset intervals.
Optionally, the version information includes an original application version number of the primary gateway device before the upgrade, and the version information is used to instruct the server to send the first upgrade request message to the primary gateway device when the original application version number is inconsistent with the target version number. Illustratively, the version information is in the form: "Version": "2.0".
Optionally, the server stores multiple version numbers, where the target version number may be a version number of a latest version, the primary gateway device sends version information including an original application version number to the server, where the version information is used to indicate a version number that the primary gateway device is applying, and the server compares the original application version number with the target version number after obtaining the original application version number in the version information.
Illustratively, the version numbers stored in the server include: version 1.0, version 2.0 and version 3.0, wherein version 3.0 is the latest version, when the original application version number received by the server is version 1.0, the version 1.0 is compared with the version 3.0, the version 1.0 is inconsistent with the version 3.0, and the server sends a first upgrade request message to the primary gateway device.
Optionally, the server may further search, according to the original application version number, in a pre-stored version number, whether a next version of the original application version number exists, and if so, determine the version number of the next version as the target version number.
Illustratively, the version numbers stored in the server include: version 1.0, version 2.0, and version 3.0, where version 2.0 is the next version of version 1.0, and when the original application version number received by the server is version 1.0, the version 2.0 is determined as the target version number, and a first upgrade request message is sent to the primary gateway device.
Optionally, the server may further store a corresponding relationship between the server and the server before and after upgrading different version numbers, such as: the version 1.0 before upgrading corresponds to the version 2.0 after upgrading, the version 1.1 before upgrading corresponds to the version 2.1 after upgrading, the version 3.0 before upgrading corresponds to the version 3.1 after upgrading, and after the server receives the original application version number sent by the main gateway equipment, whether the target version number after upgrading corresponding to the original application version number before upgrading is included is searched in the prestored corresponding relation.
Illustratively, when the original application version number received by the server is version 1.0, the server determines version 2.0 as the target version number according to the preset corresponding relationship, and sends a first upgrade request message to the primary gateway device.
Step 302, the primary gateway device receives a first upgrade request message sent by the server.
Optionally, the first upgrade request message includes a target version number, where the first upgrade request message is used to indicate that the main gateway device is upgraded to the target version number, and the target version number is used to indicate a version number of the upgraded main gateway device.
Optionally, the first upgrade request message further includes the original application version number and upgrade address information. Optionally, the first upgrade request message is a JSON (JavaScript Object notification) format message, and illustratively, the first upgrade request message is in the following form: { "msgtype": "upgrade", "target": "2.0", "source": "1.0", "url": "http:// www.download.cn" }, where "msgtype": "upgrade" is used to indicate that the request type is an upgrade request type, "target": "2.0" is used to denote a target version number, "source": "1.0" is used to denote the original application version number, "url": http:// www.download.cn is used to indicate upgrade address information.
Step 303, the master gateway device sends a second upgrade request message to the slave gateway device according to the first upgrade request message.
Optionally, the second upgrade request message includes the target version number, where the second upgrade request message is used to indicate that the gateway device is upgraded to the target version number, that is, the target version number is also used to indicate a version number of the gateway device after being upgraded.
Optionally, the second upgrade request message further includes the original application version number and upgrade address information, and the second upgrade request message is further configured to indicate that the slave gateway device is upgraded to a target version number when the version number of the application version of the slave gateway device is consistent with the original application version number.
Illustratively, the second upgrade request message is in the form: { "msgtype": "upgrade", "target": "2.0", "source": "1.0", "url": "http:// www.download.cn" }, where "msgtype": "upgrade" is used to indicate that the request type is an upgrade request type, "target": "2.0" is used to denote a target version number, "source": "1.0" is used to denote the original application version number, "url": http:// www.download.cn is used to indicate upgrade address information.
Optionally, the smart home multi-gateway system may include a master gateway device and at least one slave gateway device, and when the smart home multi-gateway system includes a plurality of slave gateway devices, the master gateway device sends a second upgrade request message to all the slave gateway devices in the smart home multi-gateway system according to the first upgrade request message.
Optionally, the master gateway device stores a receiving address of each slave gateway device, and the master gateway device sends the second upgrade request message to each slave gateway device according to the receiving address.
Step 304, the slave gateway device receives the second upgrade request message sent by the master gateway device.
Step 305, the primary gateway device performs an upgrade operation according to the first upgrade request message.
Optionally, the upgrade operation is to upgrade the application version of the primary gateway device to a target version number.
Optionally, the first upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the main gateway device may access the download address according to the upgrade address information, download the upgrade package corresponding to the target version number, and install the upgrade package to upgrade to the target version number.
And step 306, the slave gateway device performs upgrading operation according to the second upgrading request message.
Optionally, the upgrade operation is to upgrade an application version of the slave gateway device to a target version number.
Optionally, the second upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the slave gateway device may download the upgrade package corresponding to the target version number according to the upgrade address information, and upgrade the target version number by installing the upgrade package.
Optionally, the second upgrade request message further includes an original application version number of the master gateway device, and the slave gateway device may compare the original application version number with a version number of an application version of the slave gateway device, and upgrade to the target version number when the version number of the application version of the slave gateway device is identical to the original application version number.
Step 307, the primary gateway device detects whether the upgraded first application version number is consistent with the target version number.
Optionally, the first application version number is used to indicate the application version being used by the primary gateway device, i.e. the application version being used by the primary gateway device after upgrade.
Optionally, the primary gateway device may detect whether the first application version number and the target version number are consistent at a preset time interval after the operation, or may detect whether the first application version number and the target version number are consistent when the primary gateway device is restarted.
Optionally, after receiving the first upgrade request message, the primary gateway device stores the original application version number, the target version number, and the upgrade address information in the first upgrade request message, where the first upgrade request message includes: and correspondingly storing the original application version number, the target version number and the upgrade address information in the first upgrade request message into a database, and acquiring the first application version number in use and the target version number in the latest piece of data in the database from the database when the main gateway device detects whether the first application version number and the target version number are consistent.
Illustratively, the data stored in the database is as shown in the following table one:
watch 1
Serial number Original application version number Target version number Upgrading address information
1 1.0 2.0 http://www.download1.cn
2 2.0 2.1 http://www.download2.cn
3 2.1 3.0 http://www.download3.cn
4 3.0 3.1 http://www.download4.cn
5 3.1 4.0 http://www.download5.cn
As can be seen from the above table, if the original application version number in the next piece of data in the database is the target version number in the previous piece of data, the 5 th piece of data "3.1, 4.0, http:// www.download5.cn" is the latest piece of data in the database, and 4.0 is the target version number in the latest piece of data.
And 308, when the first application version number is not consistent with the target version number, determining that the upgrade fails, and performing upgrade operation again.
Optionally, after the main gateway device is successfully upgraded, the first application version number used after upgrading should be consistent with the target version number in the first upgrade request message, and when the first application version number is inconsistent with the target version number, it is determined that the upgrade is failed, and then the main gateway device performs the upgrade operation again.
Optionally, when the primary gateway device performs the upgrade operation again, the upgrade address information corresponding to the target version number may be acquired from the database, the upgrade address information accesses the download address, the upgrade package corresponding to the target version number is downloaded, and the upgrade package is installed to be upgraded to the target version number.
In summary, in the gateway device upgrading method provided in this embodiment, after receiving the first upgrade request message, the master gateway device sends the second upgrade request message to the slave gateway device through the master gateway device, where the first upgrade request message and the second upgrade request message both include a target version number, the master gateway device upgrades to the target version number according to the first upgrade request message, and the slave gateway device upgrades to the target version number according to the second upgrade request message, so that version numbers of the master gateway device and the slave gateway device after upgrading are ensured to be consistent, thereby ensuring that the master gateway and the slave gateway can communicate and operate normally after upgrading.
In the gateway device upgrading method provided in this embodiment, after the main gateway device fails to be upgraded, by judging whether the version number of the application is consistent with the target version number again, the main gateway device is upgraded again, so that it is ensured that the main gateway device can be upgraded successfully.
In an optional embodiment, the slave gateway device may actively upgrade by obtaining a version number of the master gateway device after being started, and the method for upgrading a gateway device according to the embodiment of the present invention is described with reference to the smart home multi-gateway system shown in fig. 1, where fig. 4 is a flowchart of a method for upgrading a gateway device according to an exemplary embodiment of the present invention, and taking an example that the method for upgrading a gateway device is applied to the smart home multi-gateway system shown in fig. 1, the method for upgrading a gateway device includes:
step 401, the primary gateway device sends version information to the server at preset intervals.
Optionally, the version information includes an original application version number of the primary gateway device before the upgrade, and the version information is used to instruct the server to send the first upgrade request message to the primary gateway device when the original application version number is inconsistent with the target version number. Illustratively, the version information is in the form: "Version": "2.0".
In step 402, the primary gateway device receives a first upgrade request message sent by a server.
Optionally, the first upgrade request message includes a target version number, where the first upgrade request message is used to indicate that the main gateway device is upgraded to the target version number, and the target version number is used to indicate a version number of the upgraded main gateway device.
Optionally, the first upgrade request message further includes the original application version number and upgrade address information. Illustratively, the first upgrade request message is in the form: { "msgtype": "upgrade", "target": "2.0", "source": "1.0", "url": "http:// www.download.cn" }, where "msgtype": "upgrade" is used to indicate that the request type is an upgrade request type, "target": "2.0" is used to denote a target version number, "source": "1.0" is used to denote the original application version number, "url": http:// www.download.cn is used to indicate upgrade address information.
Step 403, the master gateway device sends a second upgrade request message to the slave gateway device according to the first upgrade request message.
Optionally, the second upgrade request message includes the target version number, where the second upgrade request message is used to indicate that the gateway device is upgraded to the target version number, that is, the target version number is also used to indicate a version number of the gateway device after being upgraded.
Optionally, the second upgrade request message further includes the original application version number and upgrade address information, and the second upgrade request message is further configured to indicate that the slave gateway device is upgraded to a target version number when the version number of the application version of the slave gateway device is consistent with the original application version number.
Illustratively, the second upgrade request message is in the form: { "msgtype": "upgrade", "target": "2.0", "source": "1.0", "url": "http:// www.download.cn" }, where "msgtype": "upgrade" is used to indicate that the request type is an upgrade request type, "target": "2.0" is used to denote a target version number, "source": "1.0" is used to denote the original application version number, "url": http:// www.download.cn is used to indicate upgrade address information.
Optionally, the smart home multi-gateway system may include a master gateway device and at least one slave gateway device, and when the smart home multi-gateway system includes a plurality of slave gateway devices, the master gateway device sends a second upgrade request message to all the slave gateway devices in the smart home multi-gateway system according to the first upgrade request message.
Optionally, the master gateway device stores a receiving address of each slave gateway device, and the master gateway device sends the second upgrade request message to each slave gateway device according to the receiving address.
Step 404 receives a second upgrade request message sent by the primary gateway device from the gateway device.
Step 405, the primary gateway device performs an upgrade operation according to the first upgrade request message.
Optionally, the upgrade operation is to upgrade the application version of the primary gateway device to a target version number.
Optionally, the first upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the main gateway device may access the download address according to the upgrade address information, download the upgrade package corresponding to the target version number, and install the upgrade package to upgrade to the target version number.
And 406, the slave gateway device performs an upgrade operation according to the second upgrade request message.
Optionally, the upgrade operation is to upgrade an application version of the slave gateway device to a target version number.
Optionally, the second upgrade request message further includes upgrade address information, where the upgrade address information is used to indicate a download address of an upgrade package corresponding to the target version number, and the slave gateway device may download the upgrade package corresponding to the target version number according to the upgrade address information, and upgrade the target version number by installing the upgrade package.
Optionally, the second upgrade request message further includes an original application version number of the master gateway device, and the slave gateway device may compare the original application version number with a version number of an application version of the slave gateway device, and upgrade to the target version number when the version number of the application version of the slave gateway device is identical to the original application version number.
Step 407, the slave gateway device sends a version number query message to the master gateway device.
Optionally, the slave gateway device may send the version number query message to the master gateway device at preset time intervals, or send the version number query message to the master gateway device after each startup and connection relationship establishment with the master gateway device.
Optionally, the version number query message is used to query the application version being used by the primary gateway device. Illustratively, the version number query message form is as follows: "request": "version".
In step 408, the master gateway device receives the version number query message sent from the gateway device.
Step 409, the master gateway device sends an inquiry feedback message to the slave gateway device according to the version number inquiry message.
The query feedback message includes the upgraded first application version number, that is, the first application version number being used after the master gateway is upgraded, and the query feedback message is used to indicate that the second application version number of the slave gateway device is different from the first application version number for performing the upgrade operation, where the second application version number is used to indicate the application version being used by the slave gateway device.
Step 410, receiving the query feedback message sent by the master gateway device from the gateway device.
Step 411, when the second application version number is different from the first application version number, performing an upgrade operation.
Optionally, the query feedback message further includes upgrade address information corresponding to the first application version number, and the slave gateway device may download an upgrade package corresponding to the first application version number according to the upgrade address information, and upgrade to the first application version number by installing the upgrade package.
In summary, in the gateway device upgrading method provided in this embodiment, after receiving the first upgrade request message, the master gateway device sends the second upgrade request message to the slave gateway device through the master gateway device, where the first upgrade request message and the second upgrade request message both include a target version number, the master gateway device upgrades to the target version number according to the first upgrade request message, and the slave gateway device upgrades to the target version number according to the second upgrade request message, so that version numbers of the master gateway device and the slave gateway device after upgrading are ensured to be consistent, thereby ensuring that the master gateway and the slave gateway can communicate and operate normally after upgrading.
In the method for upgrading gateway device provided in this embodiment, the slave gateway device sends the version number query message to the master gateway device, and upgrades the slave gateway device when the first application version number is different from the second application version number, so that even if the slave gateway device does not receive the upgrade request message sent by the master gateway device, the slave gateway device can be upgraded by actively sending the version number query message, thereby ensuring that the slave gateway device can be upgraded successfully.
It should be noted that: in the gateway device upgrading apparatus provided in the foregoing embodiment, when the gateway device is upgraded, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the gateway device upgrading method and the gateway device upgrading apparatus provided in the above embodiments belong to the same concept, and the device embodiments of the gateway device upgrading method and the gateway device upgrading apparatus belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and will not be described herein again.
Fig. 5 is a block diagram of a gateway device upgrade apparatus according to an exemplary embodiment of the present invention, which is applied to a main gateway device, and as shown in fig. 5, the gateway device upgrade apparatus includes: a first receiving module 51, a first transmitting module 52 and a first upgrade module 53;
a first receiving module 51, configured to receive a first upgrade request message sent by a server, where the first upgrade request message includes a target version number;
a first sending module 52, configured to send a second upgrade request message to the slave gateway device according to the first upgrade request message, where the second upgrade request message includes a target version number, and the second upgrade request message is used to indicate that the slave gateway device is upgraded to the target version number;
and the first upgrading module 53 is configured to perform an upgrading operation according to the first upgrade request message, where the upgrading operation is used to upgrade the application version of the main gateway device to the target version number.
In an optional embodiment, the apparatus further comprises:
the detection module is used for detecting whether the upgraded first application version number is consistent with the target version number or not, and the first application version number is used for indicating the application version used by the main gateway equipment;
and the determining module is used for determining that the upgrading fails and carrying out upgrading operation again when the first application version number is inconsistent with the target version number.
In an optional embodiment, the first receiving module 51 is further configured to receive a version number query message sent from the gateway device;
the first sending module 52 is further configured to send an inquiry feedback message to the slave gateway device according to the version number inquiry message, where the inquiry feedback message includes the upgraded first application version number, the inquiry feedback message is used to indicate that the second application version number of the slave gateway device is different from the first application version number for performing an upgrade operation, and the second application version number is used to indicate an application version being used by the slave gateway device.
In an optional embodiment, the first upgrade request message and the second upgrade request message further include: upgrading address information, wherein the upgrading address information is used for indicating a download address of an upgrading packet corresponding to the target version number;
the device also includes: and the first downloading module is used for downloading the upgrading package corresponding to the target version number according to the upgrading address information.
In an optional embodiment, the first sending module 52 is further configured to send version information to the server at preset time intervals, where the version information includes an original application version number of the primary gateway device before being upgraded, and the version information is used to instruct the server to send the first upgrade request message to the primary gateway device when the original application version number is inconsistent with the target version number.
In summary, in the gateway device upgrade apparatus provided in this embodiment, after the master gateway device receives the first upgrade request message, the master gateway device sends the second upgrade request message to the slave gateway device, where the first upgrade request message and the second upgrade request message both include the target version number, the master gateway device upgrades to the target version number according to the first upgrade request message, and the slave gateway device upgrades to the target version number according to the second upgrade request message, which ensures that the version numbers of the master gateway device and the slave gateway device after upgrading are consistent, thereby ensuring that the master gateway and the slave gateway can also communicate and operate normally after upgrading.
In the gateway device upgrading apparatus provided in this embodiment, the slave gateway device sends the version number query message to the master gateway device, and upgrades the slave gateway device when the first application version number is different from the second application version number, so that even if the slave gateway device does not receive the upgrade request message sent by the master gateway device, the slave gateway device can be upgraded by actively sending the version number query message, thereby ensuring that the slave gateway device can be upgraded successfully.
Fig. 6 is a block diagram of a gateway device upgrading apparatus according to another exemplary embodiment of the present invention, and as shown in fig. 6, the gateway device upgrading apparatus includes: a second receiving module 61 and a second upgrade module 62;
a second receiving module 61, configured to receive a second upgrade request message sent by the main gateway device, where the second upgrade request message includes a target version number, and the second upgrade request message is sent by the main gateway device according to the received first upgrade request message; the first upgrading request message comprises a target version number, and the first upgrading request message is used for indicating the main gateway equipment to be upgraded to the target version number;
and a second upgrade module 62, configured to perform an upgrade operation according to the second upgrade request message, where the upgrade operation is used to upgrade the application version of the slave gateway device to a target version number.
In an optional embodiment, the apparatus further comprises:
the second sending module is used for sending a version number query message to the main gateway equipment;
the second receiving module 61 is further configured to receive an inquiry feedback message sent by the primary gateway device, where the inquiry feedback message includes a first application version number after the primary gateway device is upgraded, and the first application version number is used to indicate an application version being used by the primary gateway device;
and the second upgrading module 62 is further configured to perform upgrading operation when a second application version number is different from the first application version number, where the second application version number is used to indicate an application version being used by the slave gateway device.
In an optional embodiment, the second upgrade request message further includes: upgrading address information, wherein the upgrading address information is used for indicating a download address of an upgrading packet corresponding to the target version number;
the device also includes:
and the second downloading module is used for downloading the upgrading package corresponding to the target version number according to the upgrading address information.
The application also provides a gateway device, which includes a processor and a memory, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the gateway device upgrading method provided by the above method embodiments. It should be noted that the gateway device may be a gateway device as provided in fig. 7 below.
Referring to fig. 7, a schematic structural diagram of a gateway device according to an exemplary embodiment of the present application is shown. Specifically, the method comprises the following steps: the gateway device includes a processor 710, a memory 720, and a communication interface 730.
Processor 710 is coupled to memory 720 and communication interface 730, respectively, via a bus.
Communication interface 730 is used for communicating with other network elements.
Processor 710 includes one or more processing cores. The processor 710 executes an operating system or an application program module to implement the functions of the gateway device in the above-described method embodiments.
Optionally, memory 720 may store an operating system 722, and application modules 724 necessary for at least one function. Optionally, the application module 724 includes: a receiving unit 724a, a processing unit 724b and a transmitting unit 724 c. Wherein, the receiving unit 724a is used for implementing the steps related to receiving; the processing unit 724b is used to implement steps related to calculations or processing; the transmitting unit 724c is used to implement the steps related to the transmission.
Further, the memory 720 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Optionally, the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the gateway device upgrading method described in any one of fig. 1 to fig. 4.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the gateway device described above, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The memory also comprises one or more programs, the one or more programs are stored in the memory, and the one or more programs comprise a method for upgrading the gateway device provided by the embodiment of the invention.
An embodiment of the present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor 710 to implement the gateway device upgrading method described in any one of fig. 1 to fig. 4.
The present application further provides a computer program product, which when running on a computer, causes the computer to execute the method for upgrading a gateway device provided in the above method embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may be a computer readable storage medium contained in a memory of the above embodiments; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium has at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by the processor to implement the gateway device upgrade method as described in any one of fig. 1 to 4.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A gateway device upgrade method, for use in a primary gateway device, the method comprising:
receiving a first upgrade request message sent by a server, wherein the first upgrade request message comprises a target version number and upgrade address information, and the upgrade address information is used for indicating a download address of an upgrade package corresponding to the target version number;
sending a second upgrade request message to a slave gateway device according to the first upgrade request message, where the second upgrade request message includes the target version number, the upgrade address information, and the original application version number of the master gateway device, and is used to instruct the slave gateway device to download an upgrade package corresponding to the target version number according to the upgrade address information when it is determined that the version number of the application version of the slave gateway device is consistent with the original application version number, and upgrade the application version of the slave gateway device to the target version number according to the upgrade package corresponding to the target version number;
and downloading an upgrade package corresponding to the target version number according to the upgrade address information, and performing upgrade operation according to the upgrade package corresponding to the target version number, wherein the upgrade operation is used for upgrading the application version of the main gateway device to the target version number.
2. The method according to claim 1, wherein after performing an upgrade operation according to the upgrade package corresponding to the target version number, the method further includes:
detecting whether the upgraded first application version number is consistent with the target version number, wherein the first application version number is used for indicating the application version used by the main gateway equipment;
and when the first application version number is not consistent with the target version number, determining that the upgrade fails, and performing the upgrade operation again.
3. The method according to claim 1, wherein after performing an upgrade operation according to the upgrade package corresponding to the target version number, the method further includes:
receiving the version number query message sent by the slave gateway equipment;
and sending an inquiry feedback message to the slave gateway device according to the version number inquiry message, wherein the inquiry feedback message comprises an upgraded first application version number, the inquiry feedback message is used for indicating that a second application version number of the slave gateway device is different from the first application version number to carry out the upgrading operation, and the second application version number is used for indicating the application version being used by the slave gateway device.
4. The method according to any one of claims 1 to 3, wherein before receiving the first upgrade request message sent by the server, the method further comprises:
and sending version information to the server at preset time intervals, wherein the version information comprises an original application version number of the main gateway device before upgrading, and the version information is used for indicating the server to send the first upgrading request message to the main gateway device when the original application version number is inconsistent with the target version number.
5. A gateway device upgrading method, used in a slave gateway device, the method comprising:
receiving a second upgrade request message sent by a main gateway device, wherein the second upgrade request message includes a target version number, upgrade address information and an original application version number of the main gateway device, the second upgrade request message is sent by the main gateway device according to the received first upgrade request message, and the upgrade address information is used for indicating a download address of an upgrade packet corresponding to the target version number; the first upgrade request message includes the target version number and the upgrade address information, and is used to instruct the main gateway device to download an upgrade packet corresponding to the target version number according to the upgrade address information, and upgrade the application version of the main gateway device to the target version number according to the upgrade packet corresponding to the target version number;
and when the version number of the application version of the slave gateway equipment is consistent with the original application version number, downloading an upgrade package corresponding to the target version number according to the upgrade address information, and performing upgrade operation according to the upgrade package corresponding to the target version number, wherein the upgrade operation is used for upgrading the application version of the slave gateway equipment to the target version number.
6. The method of claim 5, further comprising:
sending a version number query message to the main gateway device;
receiving an inquiry feedback message sent by the main gateway device, wherein the inquiry feedback message comprises a first application version number after the main gateway device is upgraded, and the first application version number is used for indicating an application version used by the main gateway device;
and when the second application version number is different from the first application version number, performing the upgrading operation, wherein the second application version number is used for indicating the application version in use by the slave gateway equipment.
7. A gateway device, comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the gateway device upgrade method according to any one of claims 1 to 6.
8. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the gateway device upgrade method according to any one of claims 1 to 6.
CN201810258199.6A 2018-03-27 2018-03-27 Gateway equipment upgrading method and device, gateway equipment and storage medium Active CN108491222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810258199.6A CN108491222B (en) 2018-03-27 2018-03-27 Gateway equipment upgrading method and device, gateway equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810258199.6A CN108491222B (en) 2018-03-27 2018-03-27 Gateway equipment upgrading method and device, gateway equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108491222A CN108491222A (en) 2018-09-04
CN108491222B true CN108491222B (en) 2021-09-17

Family

ID=63337781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810258199.6A Active CN108491222B (en) 2018-03-27 2018-03-27 Gateway equipment upgrading method and device, gateway equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108491222B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124445B (en) * 2018-11-01 2023-08-15 中移(杭州)信息技术有限公司 Home gateway upgrading method and home gateway
CN112068855B (en) * 2019-06-10 2024-03-26 海信视像科技股份有限公司 Method and system for upgrading application under dual systems
CN112860286A (en) * 2019-11-27 2021-05-28 佛山市云米电器科技有限公司 Application model updating method, intelligent household equipment, system and storage medium
CN111431788B (en) * 2020-03-26 2021-08-10 郑州信大捷安信息技术股份有限公司 High-reliability network communication system and method
CN111885114B (en) * 2020-06-29 2023-03-24 百度在线网络技术(北京)有限公司 Method, device and storage medium for upgrading application program interface module in gateway
CN112289431A (en) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 Home care terminal upgrading method and device, computer equipment and storage medium
CN112423322B (en) * 2020-11-18 2022-09-06 青岛海尔科技有限公司 Model information sending method, device, storage medium and electronic device
CN112636986A (en) * 2020-12-29 2021-04-09 苏州思必驰信息科技有限公司 Gateway plug-in updating method and device
CN113656053A (en) * 2021-08-17 2021-11-16 生迪智慧科技有限公司 Processor upgrading method, device, equipment, storage medium and product
CN114338256B (en) * 2021-11-29 2023-10-03 广州河东科技有限公司 Intelligent home gateway configuration method, device, terminal equipment and storage medium
CN114531322B (en) * 2022-01-06 2023-09-29 南京博联智能科技有限公司 Method, system, device and medium for synchronizing multi-gateway data of Internet of things
CN114449554B (en) * 2022-01-28 2024-01-19 深圳Tcl新技术有限公司 Equipment upgrading method, device, equipment and storage medium
CN116634310A (en) * 2022-02-10 2023-08-22 中兴通讯股份有限公司 Household all-optical network gateway version upgrading method, electronic equipment and storage medium
CN115225494B (en) * 2022-07-26 2023-08-15 烽火通信科技股份有限公司 Method and device for carrying out composite image upgrading on gateway equipment
CN115348172A (en) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 Method, device and medium for upgrading versions of different parts of edge network device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281373A (en) * 2013-05-30 2013-09-04 烽火通信科技股份有限公司 Home gateway intelligent upgrading device and upgrading method
CN107453931A (en) * 2017-09-28 2017-12-08 美的智慧家居科技有限公司 Lan device upgrade method, device and its equipment
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9112891B2 (en) * 2007-02-02 2015-08-18 Sharp Laboratories Of America, Inc. Remote firmware management for electronic devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281373A (en) * 2013-05-30 2013-09-04 烽火通信科技股份有限公司 Home gateway intelligent upgrading device and upgrading method
CN107453931A (en) * 2017-09-28 2017-12-08 美的智慧家居科技有限公司 Lan device upgrade method, device and its equipment
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment

Also Published As

Publication number Publication date
CN108491222A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108491222B (en) Gateway equipment upgrading method and device, gateway equipment and storage medium
CN105683845B (en) System and method for device detection and APP configuration
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
US9015694B2 (en) Cloud-based firmware distribution service
EP2456257B1 (en) Method and system for upgrading wireless data card
EP2878140B1 (en) Wireless firmware upgrades to an alarm security panel
US20130325939A1 (en) Terminal management system and method for managing a terminal
CN103380415A (en) Method and device for updating firmware based on device management command
CN105517015A (en) Upgrading method, device of wifi product by over the air OTA and terminal
CN104717282A (en) Method, device and system for controlling intelligent terminals with Android operating system
CN104836848A (en) Method for remotely upgrading intelligent household electrical appliances
CN111273924B (en) Software updating method and device
CN110865819B (en) OS installation method, server and system
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
US20130283255A1 (en) Method, Device and System for Installing Terminal Software
CN112764803A (en) Version upgrading method and device, storage medium and electronic device
KR101672868B1 (en) Method and system for provisioning software in internet of thing(IOT) device
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN110493644B (en) Television application upgrading method, television terminal and server
CN115335803A (en) Equipment upgrading method, intelligent equipment and computer readable storage medium
KR20180050001A (en) Firmware upgrade system and method for IoT
US10445192B2 (en) Efficient backup and restore of controller code in industrial control network
CN114510248A (en) Application program installation method and device, storage medium and terminal equipment
US20240103838A1 (en) Container-based operating system for cellular user equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No.399, Songling Road, Laoshan District, Qingdao City, Shandong Province 266010

Applicant after: Qingdao Hisense Smart Life Technology Co.,Ltd.

Address before: No.399, Songling Road, Laoshan District, Qingdao City, Shandong Province 266010

Applicant before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant