CN112968792A - Internet of things equipment upgrade control method and device - Google Patents

Internet of things equipment upgrade control method and device Download PDF

Info

Publication number
CN112968792A
CN112968792A CN202110077595.0A CN202110077595A CN112968792A CN 112968792 A CN112968792 A CN 112968792A CN 202110077595 A CN202110077595 A CN 202110077595A CN 112968792 A CN112968792 A CN 112968792A
Authority
CN
China
Prior art keywords
internet
things
equipment
upgrading
upgrade
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.)
Granted
Application number
CN202110077595.0A
Other languages
Chinese (zh)
Other versions
CN112968792B (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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang 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 Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202110077595.0A priority Critical patent/CN112968792B/en
Publication of CN112968792A publication Critical patent/CN112968792A/en
Application granted granted Critical
Publication of CN112968792B publication Critical patent/CN112968792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses an Internet of things equipment upgrade control method and device. According to the technical scheme, when the upgrade data packet is updated on line, the internet of things network corresponding to each internet of things control terminal needing equipment upgrade is determined, the upgrade data packet is sent to one internet of things control terminal in each internet of things network, the upgrade data packet is sent to other internet of things control terminals in the same internet of things network by the corresponding internet of things control terminal, so that each internet of things control terminal carries out equipment upgrade on corresponding community internet of things equipment based on the upgrade data packet, only the upgrade data packet needs to be sent to one internet of things control terminal in each internet of things network, the data volume needing to be transmitted to the internet of things control terminals is greatly reduced, the data transmission pressure of a cloud server is reduced, and the equipment upgrade efficiency is effectively improved.

Description

Internet of things equipment upgrade control method and device
Technical Field
The embodiment of the application relates to the technical field of Internet of things, in particular to an Internet of things equipment upgrade control method and device.
Background
Along with the rapid development of the internet of things, a large number of community internet of things devices appear in schedule life, the community internet of things devices are generally connected with an internet of things gateway through a wireless channel provided by the internet of things gateway and are accessed into an internet of things network through the internet of things gateway, so that the community internet of things devices communicate with all internet of things nodes in the internet of things network, a cloud server providing a service platform is in communication connection with the internet of things gateway through the internet, and communication between the cloud server and the community internet of things devices is achieved.
In the using process of the community internet of things equipment, the community internet of things equipment often needs to be upgraded, and an upgrading data packet required by upgrading is generally issued to each internet of things gateway by a cloud server and then issued to the corresponding community internet of things equipment by the internet of things gateway. However, the data transmission amount for sending the upgrade data packet is large, which easily causes the situation that the data transmission pressure of the cloud server is too large.
Disclosure of Invention
The embodiment of the application provides an Internet of things equipment upgrade control method and device, so that data transmission pressure of a cloud server is reduced.
In a first aspect, an embodiment of the present application provides an internet of things device upgrade control method, including:
responding to online updating operation of an updating data packet, generating equipment updating instructions based on the updating equipment type corresponding to the updating data packet, and sending the equipment updating instructions to the Internet of things control terminals, so that the Internet of things control terminals determine whether to update the equipment of the community Internet of things equipment based on the equipment updating instructions, and return corresponding updating feedback information;
determining an Internet of things control terminal needing equipment upgrading based on upgrading feedback information returned by each Internet of things control terminal, and determining an Internet of things network corresponding to the Internet of things control terminal;
and sending the upgrading data packet to one of the Internet of things networks, and informing the Internet of things control terminal to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that each Internet of things control terminal carries out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
Further, each internet of things control terminal determines whether to upgrade the community internet of things equipment based on the equipment upgrading indication, and returns corresponding upgrading feedback information, including:
each Internet of things control terminal responds to the equipment upgrading indication to acquire the type of the Internet of things equipment of each connected community Internet of things equipment;
and each Internet of things control terminal determines whether community Internet of things equipment needing equipment upgrading exists or not based on the updated equipment type corresponding to the equipment upgrading indication and the information corresponding condition of the Internet of things equipment type, and generates and returns corresponding upgrading feedback information.
Further, each internet of things control terminal responds to the device upgrade indication to acquire the type of the internet of things device of each connected community, and the method includes the following steps:
and each Internet of things control terminal responds to the equipment upgrading indication to acquire the type and version information of the Internet of things equipment of each connected community.
Further, the determining, based on the upgrade feedback information returned by each internet of things control terminal, an internet of things control terminal that needs to perform equipment upgrade, and determining an internet of things network corresponding to the internet of things control terminal includes:
determining whether each Internet of things control terminal needs equipment upgrading or not based on upgrading feedback information returned by each Internet of things control terminal, and screening out the Internet of things control terminals needing equipment upgrading;
and determining the selected Internet of things network where the Internet of things control terminal is located based on a terminal network record table, wherein the terminal network record table records the Internet of things network corresponding to each Internet of things control terminal.
Further, the sending the upgrade data packet to one of the internet of things control terminals in each of the internet of things networks includes:
determining the Internet of things control terminal which needs equipment upgrading in each Internet of things network, and determining one Internet of things control terminal for receiving the upgrading data packet in each Internet of things network;
and sending the upgrading data packet to the determined Internet of things control terminal in each Internet of things network.
Further, after notifying the internet of things control terminal to send the upgrade data packet to other internet of things control terminals in the corresponding internet of things network that need to perform device upgrade, the method further includes:
responding to an upgrade packet acquisition overtime notice sent by the Internet of things control terminal, and notifying other Internet of things control terminals in the corresponding Internet of things network to send the upgrade data packet to the Internet of things control terminal.
Further, after the notification corresponds to other internet of things control terminals in the internet of things network and sends the upgrade data packet to the internet of things control terminal, the method further includes:
and responding to an upgrade packet re-sent by the Internet of things control terminal to obtain an overtime notice, and directly sending the upgrade data packet to the Internet of things control terminal.
In a second aspect, an embodiment of the present application provides an internet of things device upgrade control apparatus, including an upgrade response module, a terminal detection module, and a data sending module, where:
the upgrading response module is used for responding to online updating operation of an upgrading data packet, generating equipment upgrading instructions based on the updating equipment type corresponding to the upgrading data packet, and sending the equipment upgrading instructions to the Internet of things control terminals, so that the Internet of things control terminals determine whether to upgrade the community Internet of things equipment based on the equipment upgrading instructions, and return corresponding upgrading feedback information;
the terminal detection module is used for determining the Internet of things control terminal needing equipment upgrading based on the upgrading feedback information returned by each Internet of things control terminal and determining the Internet of things network corresponding to the Internet of things control terminal;
the data sending module is used for sending the upgrading data packet to one of the Internet of things networks and informing the Internet of things control terminals to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that the Internet of things control terminals can carry out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
In a third aspect, an embodiment of the present application provides an internet of things device upgrade control device, including: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method for upgrading and controlling the internet of things device according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for controlling upgrade of internet of things devices according to the first aspect.
In the embodiment of the application, when the upgrading data packet is updated on line, the equipment upgrading instruction is sent to each Internet of things control terminal according to the corresponding updating equipment type, so that each Internet of things control terminal determines whether to upgrade the community Internet of things equipment or not based on the equipment upgrading instruction, determines the Internet of things network corresponding to each Internet of things control terminal needing equipment upgrading, sends the upgrading data packet to one Internet of things control terminal in each Internet of things network, sends the upgrading data packet to other Internet of things control terminals in the same Internet of things network by the corresponding Internet of things control terminal, so that each Internet of things control terminal upgrades the corresponding community Internet of things equipment based on the upgrading data packet, only the upgrading data packet needs to be sent to one Internet of things control terminal in each Internet of things network, and the data quantity needing to be transmitted to the Internet of things control terminals is greatly reduced, the data transmission pressure of the cloud server is reduced, and the equipment upgrading efficiency is effectively improved.
Drawings
Fig. 1 is a flowchart of an internet of things device upgrade control method provided in an embodiment of the present application;
fig. 2 is a flowchart of another method for controlling upgrade of internet of things devices according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an internet of things device upgrade control apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an internet of things device upgrade control device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an internet of things device upgrade control method provided in an embodiment of the present application, where the internet of things device upgrade control method provided in the embodiment of the present application may be executed by an internet of things device upgrade control device, and the internet of things device upgrade control device may be implemented in a hardware and/or software manner and integrated in an internet of things device upgrade control device (e.g., a cloud server).
The following description will be given by taking as an example a method for the internet-of-things equipment upgrade control device to execute the internet-of-things equipment upgrade control. Referring to fig. 1, the method for controlling upgrading of internet of things equipment includes:
s101: and responding to online updating operation of an updating data packet, generating an equipment updating instruction based on the updating equipment type corresponding to the updating data packet, and sending the equipment updating instruction to each Internet of things control terminal, so that each Internet of things control terminal determines whether to update the community Internet of things equipment based on the equipment updating instruction, and returns corresponding updating feedback information.
The embodiment provides a plurality of internet of things networks, each internet of things network is provided with a plurality of internet of things control terminals (such as internet of things gateways or internet of things base stations), and the internet of things control terminals are connected with an internet of things equipment upgrade control device (hereinafter referred to as an upgrade control device) provided by the embodiment through internet communication. Each internet of things control terminal in the same internet of things network can communicate with each other through the internet of things network, and each internet of things control terminal is connected with one or more community internet of things devices (such as sensing devices, intelligent household devices, community intelligent access controls, community security devices and the like).
Illustratively, when an upgrade data packet for the community internet of things device is updated online, in response to an online update operation on the upgrade data packet, an update device class corresponding to the upgrade data packet is determined to be new, and a device upgrade instruction pointing to the update device class is generated. And after the equipment upgrading instruction is generated, pushing the equipment upgrading instruction to each Internet of things control terminal.
After receiving the equipment upgrading instruction, each Internet of things control terminal determines the type of the updated equipment pointed by the equipment upgrading instruction, judges whether community Internet of things equipment matched with the type of the updated equipment exists in the connected community Internet of things equipment, and determines the community Internet of things equipment matched with the type of the updated equipment as the community Internet of things equipment needing equipment upgrading.
Furthermore, each internet of things control terminal generates corresponding upgrade feedback information according to whether community internet of things equipment needing equipment upgrade is connected with the internet of things control terminal, and sends the upgrade feedback information to the upgrade control device.
S102: and determining the Internet of things control terminal needing equipment upgrading based on the upgrading feedback information returned by each Internet of things control terminal, and determining the Internet of things network corresponding to the Internet of things control terminal.
Illustratively, after upgrade feedback information returned by each internet of things control terminal is received, internet of things control terminals connected with community internet of things equipment needing equipment upgrade are determined according to the upgrade feedback information, and an internet of things network where the internet of things control terminals are located is determined.
It can be understood that one internet of things network may correspond to one or more internet of things control terminals. For example, when only one internet of things control terminal in one internet of things network is connected with community internet of things equipment corresponding to the updated equipment type, the internet of things network only corresponds to one internet of things control terminal; when a plurality of internet of things control terminals in one internet of things network are connected with community internet of things equipment corresponding to the updated equipment type, the internet of things network corresponds to the plurality of internet of things control terminals. When all the internet of things control terminals in one internet of things network are not connected with community internet of things equipment corresponding to the updated equipment type, the upgrading feedback information returned by the internet of things control terminals reflects that the community internet of things equipment needing equipment upgrading does not exist, and an upgrading data packet does not need to be sent to any internet of things control terminal of the internet of things network.
S103: and sending the upgrading data packet to one of the Internet of things networks, and informing the Internet of things control terminal to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that each Internet of things control terminal carries out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
For example, after determining each internet of things network corresponding to the internet of things control terminal connected with the community internet of things device needing device upgrading, for each determined internet of things network, determining an internet of things control terminal used for receiving an upgrading data packet from the internet of things control terminals of each internet of things network needing device upgrading.
Further, the internet of things control terminals which are determined to be used for receiving the upgrading data packets are determined to send the upgrading data packets, and meanwhile, the internet of things control terminals are informed to send the upgrading data packets to other internet of things control terminals which need equipment upgrading in the corresponding internet of things network.
And after receiving the upgrading data packet sent by the upgrading control device, the Internet of things control terminal sends the upgrading data packet to the community Internet of things equipment needing equipment upgrading so as to enable the community Internet of things equipment to upgrade the equipment based on the upgrading data packet. And simultaneously, sending the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the same Internet of things network. After receiving the upgrading data packet sent by the internet of things control terminal in the same internet of things network, other internet of things terminals send the upgrading data packet to the community internet of things equipment which is connected with the terminals and needs equipment upgrading, so that the community internet of things equipment can upgrade the equipment based on the upgrading data packet.
In the above, when the upgrade data packet is updated online, a device upgrade instruction is sent to each internet of things control terminal according to the corresponding update device type, so that each internet of things control terminal determines whether to upgrade the community internet of things device based on the device upgrade instruction, determines the internet of things network corresponding to each internet of things control terminal needing device upgrade, sends the upgrade data packet to one internet of things control terminal in each internet of things network, and sends the upgrade data packet to other internet of things control terminals in the same internet of things network by the corresponding internet of things control terminal, so that each internet of things control terminal upgrades the corresponding community internet of things device based on the upgrade data packet, only the upgrade data packet needs to be sent to one internet of things control terminal in each internet of things network, and the data amount needing to be transmitted to the internet of things control terminals is greatly reduced, the data transmission pressure of the cloud server is reduced, and the equipment upgrading efficiency is effectively improved.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another method for controlling upgrading of an internet of things device according to an embodiment of the present application, where the method for controlling upgrading of an internet of things device is a concrete implementation of the method for controlling upgrading of an internet of things device. Referring to fig. 2, the upgrade control method for the internet of things device includes:
s201: and responding to online updating operation of an updating data packet, generating an equipment updating instruction based on the updating equipment type corresponding to the updating data packet, and sending the equipment updating instruction to each Internet of things control terminal, so that each Internet of things control terminal determines whether to update the community Internet of things equipment based on the equipment updating instruction, and returns corresponding updating feedback information.
Specifically, in this embodiment, when each internet of things control terminal determines whether to perform device upgrade on the community internet of things device based on the device upgrade indication, and returns corresponding upgrade feedback information, the method specifically includes steps S2011 to S2012:
s2011: and each Internet of things control terminal responds to the equipment upgrading indication to acquire the type of the Internet of things equipment of each connected community.
S2012: and each Internet of things control terminal determines whether community Internet of things equipment needing equipment upgrading exists or not based on the updated equipment type corresponding to the equipment upgrading indication and the information corresponding condition of the Internet of things equipment type, and generates and returns corresponding upgrading feedback information.
In a possible embodiment, when each of the internet of things control terminals responds to the device upgrade indication to obtain the types of the internet of things devices of each of the connected communities, the method specifically includes: and each Internet of things control terminal responds to the equipment upgrading indication to acquire the type and version information of the Internet of things equipment of each connected community.
The device upgrade instruction sent by the upgrade control apparatus according to this embodiment records the updated device type and the updated version information corresponding to the upgrade data packet. Specifically, when each internet of things terminal receives an equipment upgrading instruction, the internet of things terminal acquires the equipment types and equipment version information of all community internet of things equipment connected currently. Further, community internet of things equipment with the type matched with the updating equipment type corresponding to the equipment upgrading indication is screened out, equipment version information corresponding to the community internet of things equipment is compared with updating version information corresponding to the equipment upgrading indication, and when the equipment version information lags behind the updating version information, the corresponding community internet of things equipment is considered to need equipment upgrading.
After determining community Internet of things equipment needing equipment upgrading, each Internet of things control terminal generates upgrading feedback information according to whether the community Internet of things equipment needing equipment upgrading is connected with the Internet of things control terminal, and returns corresponding upgrading feedback information to the upgrading control device.
S202: and determining whether each Internet of things control terminal needs equipment upgrading or not based on upgrading feedback information returned by each Internet of things control terminal, and screening out the Internet of things control terminals needing equipment upgrading.
Specifically, after upgrade feedback information returned by the internet of things control terminal is received, whether equipment upgrading is needed to be performed on the corresponding internet of things control terminal is determined according to the upgrade feedback information (namely whether community internet of things equipment needing equipment upgrading is connected), and the internet of things control terminal needing equipment upgrading is screened out.
S203: and determining the selected Internet of things network where the Internet of things control terminal is located based on a terminal network record table, wherein the terminal network record table records the Internet of things network corresponding to each Internet of things control terminal.
The upgrade control device provided by this embodiment stores a terminal network record table, where the terminal network record table records the internet of things networks corresponding to the internet of things control terminals, and when the internet of things control terminals join the internet of things networks, the internet of things control terminals send online registration to the upgrade control device, so that the upgrade control device updates the terminal network record table according to the internet of things networks corresponding to the internet of things control terminals.
Specifically, after the internet of things control terminals needing equipment upgrading are screened out, the internet of things networks corresponding to the internet of things control terminals are determined according to the terminal network record table.
S204: and determining the Internet of things control terminal which needs equipment upgrading in each Internet of things network, and determining one Internet of things control terminal for receiving the upgrading data packet in each Internet of things network.
Specifically, for each internet of things network determined in step S203, internet of things control terminals that need device upgrade in the internet of things networks are determined, and one internet of things control terminal for receiving an upgrade data packet is determined in each internet of things network.
If only one Internet of things control terminal needing equipment upgrading is in the Internet of things network, the Internet of things control terminal is directly determined to be the Internet of things control terminal used for receiving the upgrading data packet in the Internet of things network. If a plurality of internet of things control terminals needing equipment upgrading exist in the internet of things network, randomly appointing one internet of things control terminal for receiving the upgrading data packet.
S205: and sending the upgrading data packet to the determined Internet of things control terminals in each Internet of things network, and informing the Internet of things control terminals to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things network, so that each Internet of things control terminal carries out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
Specifically, an upgrade data packet is sent to each determined internet of things control terminal, and the internet of things control terminals are notified to send the upgrade data packet to other internet of things control terminals needing equipment upgrade in the corresponding internet of things network.
And after receiving the upgrading data packet sent by the upgrading control device, the Internet of things control terminal sends the upgrading data packet to the community Internet of things equipment needing equipment upgrading so as to enable the community Internet of things equipment to upgrade the equipment based on the upgrading data packet. And simultaneously, sending the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the same Internet of things network. After receiving the upgrading data packet sent by the Internet of things control terminal in the same Internet of things network, other Internet of things terminals send the upgrading data packet to the community Internet of things equipment which is connected with the terminals and needs equipment upgrading, so that the community Internet of things equipment can upgrade the equipment based on the upgrading data packet
S206: responding to an upgrade packet acquisition overtime notice sent by the Internet of things control terminal, and notifying other Internet of things control terminals in the corresponding Internet of things network to send the upgrade data packet to the Internet of things control terminal.
Specifically, after each internet of things control terminal which is determined to be connected with the equipment to be upgraded sends upgrade feedback information, if a corresponding upgrade data packet is not received within a set waiting time, an upgrade packet acquisition timeout notification is sent to the upgrade control device.
The upgrading control device determines the Internet of things network corresponding to the Internet of things control terminal after receiving the overtime notification of the upgrading packet sent by the Internet of things control terminal, notifies other Internet of things control terminals in the Internet of things network to send corresponding upgrading data packets to the Internet of things control terminal, and the Internet of things control terminal receives the upgrading data packets from the first Internet of things control terminal sending the upgrading data packets and carries out equipment upgrading on corresponding community Internet of things equipment based on the received upgrading data packets.
S207: and responding to an upgrade packet re-sent by the Internet of things control terminal to obtain an overtime notice, and directly sending the upgrade data packet to the Internet of things control terminal.
Specifically, after each internet of things control terminal which is determined to be connected with the device to be upgraded sends an upgrade package acquisition timeout notification, if the corresponding upgrade data package is not received after the set waiting time period again, the upgrade package acquisition timeout notification is sent to the upgrade control device again.
When the upgrade control device receives the upgrade package acquisition overtime notification again, the corresponding upgrade data package is directly sent to the Internet of things control terminal, so that the Internet of things control terminal can upgrade the corresponding community Internet of things equipment based on the upgrade data package.
In the above, when the upgrade data packet is updated online, a device upgrade instruction is sent to each internet of things control terminal according to the corresponding update device type, so that each internet of things control terminal determines whether to upgrade the community internet of things device based on the device upgrade instruction, determines the internet of things network corresponding to each internet of things control terminal needing device upgrade, sends the upgrade data packet to one internet of things control terminal in each internet of things network, and sends the upgrade data packet to other internet of things control terminals in the same internet of things network by the corresponding internet of things control terminal, so that each internet of things control terminal upgrades the corresponding community internet of things device based on the upgrade data packet, only the upgrade data packet needs to be sent to one internet of things control terminal in each internet of things network, and the data amount needing to be transmitted to the internet of things control terminals is greatly reduced, the data transmission pressure of the cloud server is reduced, and the equipment upgrading efficiency is effectively improved. Meanwhile, when the internet of things control terminal does not receive the upgrading data packet, each internet of things control terminal in the same internet of things network is informed to send the upgrading data packet to the internet of things control terminal, the internet of things control terminal is guaranteed to receive the upgrading data packet in time, and equipment upgrading efficiency is guaranteed.
Fig. 3 is a schematic structural diagram of an internet of things device upgrade control device according to an embodiment of the present application. Referring to fig. 3, the internet of things device upgrade control apparatus includes an upgrade response module 31, a terminal detection module 32, and a data transmission module 33.
The upgrade response module 31 is configured to, in response to an online update operation on an upgrade data packet, generate an equipment upgrade instruction based on an update equipment type corresponding to the upgrade data packet, and send the equipment upgrade instruction to each internet of things control terminal, so that each internet of things control terminal determines whether to perform equipment upgrade on the community internet of things equipment based on the equipment upgrade instruction, and returns corresponding upgrade feedback information; the terminal detection module 32 is configured to determine an internet of things control terminal that needs to be upgraded based on upgrade feedback information returned by each internet of things control terminal, and determine an internet of things network corresponding to the internet of things control terminal; the data sending module 33 is configured to send the upgrade data packet to one of the internet of things networks, and notify the internet of things control terminal to send the upgrade data packet to other internet of things control terminals that need to perform device upgrade in a corresponding internet of things network, so that each internet of things control terminal performs device upgrade on corresponding community internet of things devices based on the upgrade data packet.
In the above, when the upgrade data packet is updated online, a device upgrade instruction is sent to each internet of things control terminal according to the corresponding update device type, so that each internet of things control terminal determines whether to upgrade the community internet of things device based on the device upgrade instruction, determines the internet of things network corresponding to each internet of things control terminal needing device upgrade, sends the upgrade data packet to one internet of things control terminal in each internet of things network, and sends the upgrade data packet to other internet of things control terminals in the same internet of things network by the corresponding internet of things control terminal, so that each internet of things control terminal upgrades the corresponding community internet of things device based on the upgrade data packet, only the upgrade data packet needs to be sent to one internet of things control terminal in each internet of things network, and the data amount needing to be transmitted to the internet of things control terminals is greatly reduced, the data transmission pressure of the cloud server is reduced, and the equipment upgrading efficiency is effectively improved.
The embodiment of the application also provides equipment upgrading control equipment for the Internet of things, and the equipment upgrading control equipment for the Internet of things can be integrated with the equipment upgrading control device for the Internet of things provided by the embodiment of the application. Fig. 4 is a schematic structural diagram of an internet of things device upgrade control device provided in an embodiment of the present application. Referring to fig. 4, the internet of things device upgrade control device includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 are enabled to implement the method for controlling upgrade of the internet-of-things device provided in the above embodiment. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 4.
The memory 42 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for controlling upgrading of the internet of things device according to any embodiment of the present application (for example, the upgrade response module 31, the terminal detection module 32, and the data transmission module 33 in the apparatus upgrading control device for internet of things). The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen.
The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 42, so as to implement the above-mentioned upgrade control method for the internet of things device.
The internet of things equipment upgrading control device, the equipment and the computer which are provided by the above embodiments can be used for executing the internet of things equipment upgrading control method provided by any of the above embodiments, and have corresponding functions and beneficial effects.
An embodiment of the present application further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform the method for controlling upgrading of an internet of things device according to the embodiment, where the method for controlling upgrading of an internet of things device includes: responding to online updating operation of an updating data packet, generating equipment updating instructions based on the updating equipment type corresponding to the updating data packet, and sending the equipment updating instructions to the Internet of things control terminals, so that the Internet of things control terminals determine whether to update the equipment of the community Internet of things equipment based on the equipment updating instructions, and return corresponding updating feedback information; determining an Internet of things control terminal needing equipment upgrading based on upgrading feedback information returned by each Internet of things control terminal, and determining an Internet of things network corresponding to the Internet of things control terminal; and sending the upgrading data packet to one of the Internet of things networks, and informing the Internet of things control terminal to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that each Internet of things control terminal carries out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for controlling upgrading of the internet of things device described above, and may also perform related operations in the method for controlling upgrading of the internet of things device provided in any embodiments of the present application.
The device, the apparatus, and the storage medium for controlling upgrading of the internet of things device provided in the foregoing embodiments may execute the method for controlling upgrading of the internet of things device provided in any embodiments of the present application, and reference may be made to the method for controlling upgrading of the internet of things device provided in any embodiments of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. An Internet of things equipment upgrade control method is characterized by comprising the following steps:
responding to online updating operation of an updating data packet, generating equipment updating instructions based on the updating equipment type corresponding to the updating data packet, and sending the equipment updating instructions to the Internet of things control terminals, so that the Internet of things control terminals determine whether to update the equipment of the community Internet of things equipment based on the equipment updating instructions, and return corresponding updating feedback information;
determining an Internet of things control terminal needing equipment upgrading based on upgrading feedback information returned by each Internet of things control terminal, and determining an Internet of things network corresponding to the Internet of things control terminal;
and sending the upgrading data packet to one of the Internet of things networks, and informing the Internet of things control terminal to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that each Internet of things control terminal carries out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
2. The internet of things equipment upgrade control method according to claim 1, wherein the determining, by each internet of things control terminal, whether to perform equipment upgrade on the community internet of things equipment based on the equipment upgrade indication and returning corresponding upgrade feedback information includes:
each Internet of things control terminal responds to the equipment upgrading indication to acquire the type of the Internet of things equipment of each connected community Internet of things equipment;
and each Internet of things control terminal determines whether community Internet of things equipment needing equipment upgrading exists or not based on the updated equipment type corresponding to the equipment upgrading indication and the information corresponding condition of the Internet of things equipment type, and generates and returns corresponding upgrading feedback information.
3. The internet of things equipment upgrade control method according to claim 2, wherein the obtaining, by each internet of things control terminal, the type of the internet of things equipment of each connected community in response to the equipment upgrade instruction includes:
and each Internet of things control terminal responds to the equipment upgrading indication to acquire the type and version information of the Internet of things equipment of each connected community.
4. The internet of things equipment upgrade control method according to claim 1, wherein the determining, based on upgrade feedback information returned by each internet of things control terminal, an internet of things control terminal that needs equipment upgrade and an internet of things network corresponding to the internet of things control terminal includes:
determining whether each Internet of things control terminal needs equipment upgrading or not based on upgrading feedback information returned by each Internet of things control terminal, and screening out the Internet of things control terminals needing equipment upgrading;
and determining the selected Internet of things network where the Internet of things control terminal is located based on a terminal network record table, wherein the terminal network record table records the Internet of things network corresponding to each Internet of things control terminal.
5. The internet of things equipment upgrade control method according to claim 1, wherein the sending the upgrade data packet to one of the internet of things control terminals in each of the internet of things networks includes:
determining the Internet of things control terminal which needs equipment upgrading in each Internet of things network, and determining one Internet of things control terminal for receiving the upgrading data packet in each Internet of things network;
and sending the upgrading data packet to the determined Internet of things control terminal in each Internet of things network.
6. The internet of things equipment upgrade control method according to claim 1, wherein after notifying the internet of things control terminal to send the upgrade data packet to other internet of things control terminals in the corresponding internet of things network that need equipment upgrade, the method further includes:
responding to an upgrade packet acquisition overtime notice sent by the Internet of things control terminal, and notifying other Internet of things control terminals in the corresponding Internet of things network to send the upgrade data packet to the Internet of things control terminal.
7. The internet of things equipment upgrade control method according to claim 6, wherein after the notification corresponding to each other internet of things control terminal in the internet of things network sends the upgrade data packet to the internet of things control terminal, the method further includes:
and responding to an upgrade packet re-sent by the Internet of things control terminal to obtain an overtime notice, and directly sending the upgrade data packet to the Internet of things control terminal.
8. The utility model provides a thing networking equipment upgrading controlling means which characterized in that, includes upgrading response module, terminal detection module and data transmission module, wherein:
the upgrading response module is used for responding to online updating operation of an upgrading data packet, generating equipment upgrading instructions based on the updating equipment type corresponding to the upgrading data packet, and sending the equipment upgrading instructions to the Internet of things control terminals, so that the Internet of things control terminals determine whether to upgrade the community Internet of things equipment based on the equipment upgrading instructions, and return corresponding upgrading feedback information;
the terminal detection module is used for determining the Internet of things control terminal needing equipment upgrading based on the upgrading feedback information returned by each Internet of things control terminal and determining the Internet of things network corresponding to the Internet of things control terminal;
the data sending module is used for sending the upgrading data packet to one of the Internet of things networks and informing the Internet of things control terminals to send the upgrading data packet to other Internet of things control terminals needing equipment upgrading in the corresponding Internet of things networks, so that the Internet of things control terminals can carry out equipment upgrading on corresponding community Internet of things equipment based on the upgrading data packet.
9. The utility model provides a thing networking equipment upgrading controlgear which characterized in that includes: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the internet of things device upgrade control method as claimed in any one of claims 1-7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, perform the internet of things device upgrade control method according to any one of claims 1 to 7.
CN202110077595.0A 2021-01-20 2021-01-20 Method and device for controlling upgrading of equipment of Internet of things Active CN112968792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110077595.0A CN112968792B (en) 2021-01-20 2021-01-20 Method and device for controlling upgrading of equipment of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110077595.0A CN112968792B (en) 2021-01-20 2021-01-20 Method and device for controlling upgrading of equipment of Internet of things

Publications (2)

Publication Number Publication Date
CN112968792A true CN112968792A (en) 2021-06-15
CN112968792B CN112968792B (en) 2023-05-02

Family

ID=76271585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110077595.0A Active CN112968792B (en) 2021-01-20 2021-01-20 Method and device for controlling upgrading of equipment of Internet of things

Country Status (1)

Country Link
CN (1) CN112968792B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506595A (en) * 2016-10-08 2017-03-15 深圳广田智能科技有限公司 Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment
CN109803178A (en) * 2019-01-03 2019-05-24 视联动力信息技术股份有限公司 A kind of terminal staging method and device
CN110768817A (en) * 2018-07-27 2020-02-07 视联动力信息技术股份有限公司 Upgrading method and device for video networking terminal
CN111628884A (en) * 2020-03-31 2020-09-04 新华三技术有限公司 Terminal upgrading method, gateway and intelligent terminal equipment
CN111917583A (en) * 2020-07-31 2020-11-10 中国联合网络通信集团有限公司 Internet of things terminal, software upgrading method thereof and Internet of things platform
CN112148324A (en) * 2019-06-28 2020-12-29 施耐德电气(澳大利亚)有限公司 Method, apparatus and computer-readable storage medium for upgrading electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506595A (en) * 2016-10-08 2017-03-15 深圳广田智能科技有限公司 Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment
CN110768817A (en) * 2018-07-27 2020-02-07 视联动力信息技术股份有限公司 Upgrading method and device for video networking terminal
CN109803178A (en) * 2019-01-03 2019-05-24 视联动力信息技术股份有限公司 A kind of terminal staging method and device
CN112148324A (en) * 2019-06-28 2020-12-29 施耐德电气(澳大利亚)有限公司 Method, apparatus and computer-readable storage medium for upgrading electronic device
CN111628884A (en) * 2020-03-31 2020-09-04 新华三技术有限公司 Terminal upgrading method, gateway and intelligent terminal equipment
CN111917583A (en) * 2020-07-31 2020-11-10 中国联合网络通信集团有限公司 Internet of things terminal, software upgrading method thereof and Internet of things platform

Also Published As

Publication number Publication date
CN112968792B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
EP4020252A1 (en) Data analysis method and device, apparatus, and storage medium
CN103209439B (en) The method of a kind of data traffic monitoring, device and equipment
CN108011935B (en) Program upgrading method of NB-IOT (network node B-IOT) equipment, server and NB-IOT equipment
CN100527080C (en) Method for software program synchronization
CN101405993B (en) Network interface routing using computational context
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
CN103380415A (en) Method and device for updating firmware based on device management command
CN110457154B (en) Abnormal service processing method and device, storage medium and communication terminal
CN109788027A (en) Method of data synchronization, device, server and computer storage medium
US20200327001A1 (en) Message processing method and system, storage medium and electronic device
CN103595566A (en) Method and device for detecting idle IP addresses
CN112968793B (en) Equipment upgrading method, device, equipment and storage medium based on Internet of things
CN112995239A (en) Data processing method and device
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN105763616A (en) Resource-downloading method and device
CN113141267B (en) Firmware upgrading and information processing method, device and equipment
CN106293814B (en) Upgrading method and device
CN112788153B (en) Internet of things equipment upgrading management method, device, equipment and storage medium
CN112968792B (en) Method and device for controlling upgrading of equipment of Internet of things
CN111511041B (en) Remote connection method and device
CN108228880B (en) Method, device, equipment and medium for database management system to call external function
CN112367412B (en) Equipment connection management method and device based on Internet of things
CN102904739A (en) Method for realizing event transmission and common information model (CIM) server
CN104219258A (en) Method and system of real-time query of number attribution as well as terminal and server
CN114185804A (en) Interface testing method and device and terminal 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
GR01 Patent grant
GR01 Patent grant