CN117640279B - Internet of things-based distributed intelligent home control method and system - Google Patents

Internet of things-based distributed intelligent home control method and system Download PDF

Info

Publication number
CN117640279B
CN117640279B CN202410107738.1A CN202410107738A CN117640279B CN 117640279 B CN117640279 B CN 117640279B CN 202410107738 A CN202410107738 A CN 202410107738A CN 117640279 B CN117640279 B CN 117640279B
Authority
CN
China
Prior art keywords
equipment
internet
things
target
data
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
CN202410107738.1A
Other languages
Chinese (zh)
Other versions
CN117640279A (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.)
SHENZHEN MTN ELECTRONIC CO Ltd
Original Assignee
SHENZHEN MTN ELECTRONIC 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 SHENZHEN MTN ELECTRONIC CO Ltd filed Critical SHENZHEN MTN ELECTRONIC CO Ltd
Priority to CN202410107738.1A priority Critical patent/CN117640279B/en
Publication of CN117640279A publication Critical patent/CN117640279A/en
Application granted granted Critical
Publication of CN117640279B publication Critical patent/CN117640279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a distributed intelligent home control method based on the Internet of things, which belongs to the technical field of control, and comprises the following steps: determining a target device, wherein the target device is one of a plurality of internet of things devices; determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the target device is one or more of a plurality of Internet of things; acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value with the target equipment from the plurality of pieces of internet of things equipment; causing the forwarding device to acquire first target data from the acquisition device; the target equipment performs data processing on the first target data to obtain second target data; the target device is caused to obtain second target data from the forwarding device. The invention further provides a distributed intelligent home control system based on the Internet of things.

Description

Internet of things-based distributed intelligent home control method and system
Technical Field
The invention relates to the technical field of distributed intelligent home control method and system based on the Internet of things.
Background
Distributed smart home is typically a plurality of home devices connected based on the internet of things. When the program in the equipment needs to be upgraded, the complete upgrade program is usually acquired and stored in the equipment, the acquisition mode is generally that the program is acquired from a server or mobile speed equipment directly or according to a fixed serial route, the efficiency is low, and when the mobile equipment is far away from the equipment being upgraded, the signal is easy to lose, and upgrade errors occur.
Disclosure of Invention
The embodiment of the invention provides a distributed intelligent home control method and system based on the Internet of things, which are used for solving the problems
In a first aspect, an embodiment of the present invention provides a distributed smart home control method based on the internet of things, including:
determining a target device, wherein the target device is one of a plurality of internet of things devices;
determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the target device is one or more of a plurality of Internet of things;
Acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value between the plurality of pieces of internet of things equipment and the target equipment;
Causing the forwarding device to acquire the first target data from the acquisition device;
the target equipment performs data processing on the first target data to obtain second target data;
And enabling the target device to acquire the second target data from the forwarding device.
With reference to the first aspect, in some possible implementations, the determining the target device, where the target device is one of a plurality of internet of things devices includes:
each piece of Internet of things equipment acquires a current firmware version and other firmware versions of the Internet of things equipment, compares the current firmware version with the firmware version, and acquires a comparison result;
And carrying out data processing on the comparison result, and if one of the firmware versions of the Internet of things equipment is the lowest version, determining that the Internet of things equipment is the target equipment.
With reference to the first aspect, in some possible implementations, the determining the target device, where the target device is one of a plurality of internet of things devices, further includes:
if the firmware versions of a plurality of the Internet of things devices are the lowest versions, determining that one Internet of things device with the higher firmware version is a primary device;
and determining one of the Internet of things devices with the highest signal connection strength value with the primary device as the target device according to the signal connection strength value.
With reference to the first aspect, in some possible implementations, determining an acquiring device, where the acquiring device is configured to acquire first target data, and the target device is one or more of a plurality of the internet of things, includes:
Determining the acquisition speed of the first target data acquired by the Internet of things equipment;
And determining at least one Internet of things device with the fastest speed as the acquisition device based on the acquisition speed.
With reference to the first aspect, in some possible implementations, the determining, based on the acquiring speed, that at least one of the devices of the internet of things having the fastest speed is the acquiring device includes:
based on the acquisition speed, determining two pieces of Internet of things equipment as acquisition equipment, namely first acquisition equipment and second acquisition equipment;
carrying out data processing on the first target data to obtain a plurality of data packets, wherein the data packets have corresponding data identifiers, and the collection of the data identifiers is a data table;
and enabling the first acquisition equipment and the second acquisition equipment to acquire a plurality of data packets at the same time, and correspondingly eliminating the corresponding data identifier in the data table when any one equipment acquires one data packet.
With reference to the first aspect, in some possible implementations, the plurality of data packets includes at least one test data packet, and the forwarding device obtains the first target data from the obtaining device, including:
Traversing the Internet of things equipment by taking the first acquisition equipment as a starting point and the forwarding equipment as an ending point to form a plurality of first Euler paths, wherein the number of nodes traversed by each Euler path is n1, and n1 is more than or equal to 2;
Traversing the Internet of things equipment by taking the second acquisition equipment as a starting point and the forwarding equipment as an ending point to form a plurality of second Euler paths, wherein the number of nodes traversed by each Euler path is n2, and n2 is more than or equal to 2;
determining the transmission time of the test data packet in each of the first Euler path and the second Euler path;
determining the transmission path according to the transmission time, so that the forwarding device acquires the data packet from the first acquisition device and the second acquisition device along the transmission path;
and enabling the forwarding equipment to conduct data processing on the data packet to obtain the first target data.
With reference to the first aspect, in some possible embodiments, the method further includes:
confirming that the Internet of things equipment, the acquisition equipment, the forwarding equipment and the target equipment which are positioned on the transmission path are active equipment, and the rest of the Internet of things equipment is dormant equipment;
And enabling the dormant equipment to enter a low data mode, wherein the low data mode is a mode with smaller bandwidth occupation.
With reference to the first aspect, in some possible implementations, the method further includes, in the step of causing the target device to obtain the second target data from the forwarding device,:
Enabling the target equipment to enter an upgrade mode;
And enabling the forwarding device to write the second target data into the target device.
The second aspect of the embodiment of the invention provides a distributed intelligent home control system based on the internet of things, which is characterized by comprising the following steps:
The system comprises a first confirmation module, a second confirmation module and a third confirmation module, wherein the first confirmation module is used for determining target equipment, and the target equipment is one of a plurality of internet of things equipment;
the second confirmation module is used for determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the target device is one or more of the plurality of Internet of things;
the first acquisition module is used for acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value between the plurality of pieces of internet of things equipment and the target equipment;
the first processing module is used for enabling the forwarding device to acquire the first target data from the acquisition device;
the second processing module is used for enabling the target device to conduct data processing on the first target data to obtain second target data;
And the third processing module is used for enabling the target equipment to acquire the second target data from the forwarding equipment.
A third aspect of the embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
And the processor is used for realizing the method steps provided by the first aspect of the embodiment of the invention when executing the program stored in the memory.
A fourth aspect of the embodiments of the present invention proposes a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as proposed in the first aspect of the embodiments of the present invention.
The embodiment of the invention has the following technical effects:
The embodiment of the application provides a distributed intelligent home control method based on the Internet of things, which comprises the steps of firstly, determining target equipment; and then determining an acquisition device, acquiring a signal connection strength value between each Internet of things device and other Internet of things devices, and determining a forwarding device based on the signal connection strength value, wherein the forwarding device is one of the Internet of things devices with the highest signal connection strength value with the target device, and then enabling the forwarding device to acquire the first target data from the acquisition device, then enabling the target device to perform data processing on the first target data to acquire second target data, and finally enabling the target device to acquire the second target data from the forwarding device. According to the distributed intelligent home control method based on the Internet of things, the forwarding equipment is determined through the signal connection strength value, the forwarding equipment upgrades the target equipment in an F2OTA mode, the process of acquiring upgrade data and the process of upgrading the system are fast, and the process of upgrading the target equipment by the forwarding equipment is not easy to be influenced by signal loss and the like caused by movement.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a distributed intelligent home control method based on the internet of things in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the application provides a distributed intelligent home control method based on the Internet of things, referring to FIG. 1, comprising the following steps:
s101, determining target equipment, wherein the target equipment is one of a plurality of Internet of things equipment.
It can be understood that in this embodiment, the target device is a device that needs to perform system upgrade among multiple devices of the internet of things. Based on the relevant device upgrade policy, the target device also instantiates the lowest version number device. By detecting the version number, a device which needs to be upgraded, namely a target device, can be determined.
Specifically, in this embodiment, by making each of the internet of things devices obtain a current firmware version and other firmware versions of the internet of things devices, comparing the current firmware version with the firmware version, and obtaining a comparison result, a situation that version numbers are different in a distributed network, that is, performing data processing on the comparison result, a specific data processing process is not described herein, and the internet of things device with the lowest firmware version can be obtained through data processing.
That is, if there is one of the internet of things devices with the firmware version being the lowest version, the internet of things device is determined to be the target device.
In another embodiment, if there are a plurality of devices of the internet of things with the firmware version being the lowest version, for example, a device in the entire distributed network is already upgraded, and another device is not upgraded, it may first determine that one device of the internet of things with the higher firmware version is the primary device, and then determine, according to the signal connection strength value, that one device of the internet of things with the highest signal connection strength value with the primary device is the target device. It can be appreciated that in this embodiment, the upgrading is performed by adopting a serial port manner, that is, in the distributed internet of things device, after one device is upgraded, the next device is upgraded. Thus, when multiple devices need to be upgraded, each device is selected as the target device in turn. Therefore, the device with the highest connection strength value is sequentially connected, so that the upgrading rate can be improved.
S102, determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the target device is one or more of a plurality of Internet of things.
It is understood that in the present embodiment, the acquisition device is a device that directly acquires the upgrade data. The acquiring device may acquire data from a server, or may acquire data from a device such as a mobile phone, which is not limited herein. In this embodiment, upgrade data is taken as an example from a mobile phone. That is, in the present embodiment, the first target data includes a firmware upgrade program of the target device. It should be noted that the acquisition device in the distributed network may be one or more. Multiple acquisition devices can acquire the upgrade program from the handset or server faster.
When the acquiring device is acquired from the mobile phone, because the mobile phone may move with the user under the condition of the home network, the acquiring speed of the first target data acquired by the internet of things device may be determined first when the first data including the upgrade program is acquired from the mobile phone, and then at least one internet of things device with the fastest speed is determined as the acquiring device based on the acquiring speed, so that the acquiring device is switched at any time when the mobile phone moves within the area covered by the network, so that the transmission rate is kept high.
When the number of the acquisition devices is multiple, the multiple devices can acquire the upgrade program from the mobile phone at the same time so as to ensure the stability of the transmission process and acquire a higher transmission rate. For example, in this embodiment, the upgrade program may be acquired from the mobile phone simultaneously by two acquiring devices. Specifically, first, based on the acquisition speed, it may be determined that two pieces of the internet of things equipment are the acquisition equipment, which are respectively a first acquisition equipment and a second acquisition equipment. That is, the communication condition between the first acquiring device and the mobile phone and the communication condition between the second acquiring device and the mobile phone are better than those of other Internet of things devices.
When two devices acquire one data at the same time, in order to avoid acquiring overlapped data, the first target data can be subjected to data processing and split to obtain a plurality of data packets, wherein the data packets have corresponding data identifiers, and a set of the data identifiers is a data table. It can be understood that one data packet is a sending unit, so that the first acquiring device and the second acquiring device acquire a plurality of data packets at the same time, and when any device acquires one data packet, the corresponding data identifier is removed from the data table correspondingly. It will be appreciated that the first acquisition device and the second acquisition device are only capable of acquiring data packets having corresponding identifications present in the data table. In this way, the upgrades are downloaded faster into the distributed network. And then, restoring the plurality of data packets according to the original identification through the original data table to obtain complete first target data.
S103, obtaining a signal connection strength value between each piece of Internet of things equipment and other pieces of Internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of Internet of things equipment with the highest signal connection strength value between the plurality of pieces of Internet of things equipment and the target equipment.
In this embodiment, the process of upgrading the target device is performed by using the F2OTA, so a device is required to write an upgrade program into the target device, and this device is defined as a forwarding device in this embodiment, that is, is used to process the first target data into second target data that can be directly written into the target device after the first target data is acquired. It can be understood that, because the transmission speed of the signal is very important in this way, one of the devices of the internet of things with the highest signal connection strength value between the target devices can be selected as the forwarding device.
S104, enabling the forwarding device to acquire the first target data from the acquisition device.
Alternatively, in a distributed smarthome, when the device network is complex, there may be multiple devices spaced between the forwarding device and the acquisition device rather than being directly connected. Thus, for linear programming of the transmission process, a plurality of said data packets may comprise at least one test data packet for speed testing. In this embodiment, there may be two lines with two acquisition devices, i.e. the last line to be transmitted to the forwarding device. In order to select a transmission line that is the fastest, for the first acquiring device, the first acquiring device may be taken as a starting point, the forwarding device may be taken as an end point, the internet of things device is traversed and a plurality of first euler paths are formed, where the node number traversed by each euler path is n1, n1 is greater than or equal to 2, and it may be understood that when n1=2, that is, the forwarding device is directly connected with the first acquiring device. And for the second acquisition equipment, the second acquisition equipment is the same as the first acquisition equipment, the forwarding equipment is the end point, the Internet of things equipment is traversed, and a plurality of second Euler paths are formed, wherein the number of nodes traversed by each Euler path is n2, and n2 is more than or equal to 2. And then, determining the transmission time of the test data packet in each of the first Euler path and the second Euler path, selecting the path with the highest transmission speed as the transmission path according to the transmission time, and determining the transmission path to enable the forwarding device to acquire the data packet from the first acquisition device and the second acquisition device along the transmission path.
And S105, enabling the target equipment to conduct data processing on the first target data to obtain second target data.
And finally, enabling the forwarding equipment to perform data processing on the data packet to obtain the first target data. In this way, the upgrade program can be transmitted in a faster manner.
S106, enabling the target device to acquire the second target data from the forwarding device.
It may be appreciated that the upgrade is performed by means of F2OTA, first, the target device is put into an upgrade mode, and then the forwarding device writes the second target data into the target device. In this way, the target device is upgraded.
Optionally, in other embodiments, it may further be confirmed that the internet of things device, the acquiring device, the forwarding device, and the target device located on the transmission path are active devices, and the rest of the internet of things devices are dormant devices; and enabling the dormant equipment to enter a low data mode, wherein the low data mode is a mode with smaller bandwidth occupation. The dormant device has lower bandwidth occupation, and avoids the condition of network occupation in the upgrading process.
The embodiment of the application provides a distributed intelligent home control method based on the Internet of things, which comprises the steps of firstly, determining target equipment; and then determining an acquisition device, acquiring a signal connection strength value between each Internet of things device and other Internet of things devices, and determining a forwarding device based on the signal connection strength value, wherein the forwarding device is one of the Internet of things devices with the highest signal connection strength value with the target device, and then enabling the forwarding device to acquire the first target data from the acquisition device, then enabling the target device to perform data processing on the first target data to acquire second target data, and finally enabling the target device to acquire the second target data from the forwarding device. According to the distributed intelligent home control method based on the Internet of things, the forwarding equipment is determined through the signal connection strength value, the forwarding equipment upgrades the target equipment in an F2OTA mode, the process of acquiring upgrade data and the process of upgrading the system are fast, and the process of upgrading the target equipment by the forwarding equipment is not easy to be influenced by signal loss and the like caused by movement.
Based on the same inventive concept, a distributed intelligent home control system based on the Internet of things is provided, comprising:
The system comprises a first confirmation module, a second confirmation module and a third confirmation module, wherein the first confirmation module is used for determining target equipment, and the target equipment is one of a plurality of internet of things equipment;
the second confirmation module is used for determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the target device is one or more of the plurality of Internet of things;
the first acquisition module is used for acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value between the plurality of pieces of internet of things equipment and the target equipment;
the first processing module is used for enabling the forwarding device to acquire the first target data from the acquisition device;
the second processing module is used for enabling the target device to conduct data processing on the first target data to obtain second target data;
And the third processing module is used for enabling the target equipment to acquire the second target data from the forwarding equipment.
The distributed intelligent home control system based on the Internet of things provided by the embodiment of the application has the following technical effects: according to the distributed intelligent home control system based on the Internet of things, the forwarding equipment is determined through the signal connection strength value, the forwarding equipment upgrades the target equipment in an F2OTA mode, and the process of acquiring upgrade data and the process of upgrading the system are faster.
Based on the same inventive concept, the embodiment of the application also provides an electronic device, which comprises:
at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the distributed intelligent home control method based on the Internet of things.
In addition, in order to achieve the above objective, the embodiment of the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the distributed smart home control method based on the internet of things according to the embodiment of the present application.
The following describes each component of the electronic device in detail:
The processor is a control center of the electronic device, and may be one processor or a collective name of a plurality of processing elements. For example, a processor is one or more central processing units (central processing unit, CPU), but may also be an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the invention, such as: one or more microprocessors (DIGITAL SIGNAL processors, DSPs), or one or more field programmable gate arrays (field programmable GATE ARRAY, FPGAs).
In the alternative, the processor may perform various functions of the electronic device by executing or executing software programs stored in memory, and invoking data stored in memory.
The memory is configured to store a software program for executing the scheme of the present invention, and the processor is used to control the execution of the software program, and the specific implementation manner may refer to the above method embodiment, which is not described herein again.
Alternatively, the memory may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-only memory, EEPROM), compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, without limitation. The memory may be integral with the processor or may exist separately and be coupled to the processor through interface circuitry of the electronic device, as the embodiments of the invention are not limited in detail.
A transceiver for communicating with a network device or with a terminal device.
Alternatively, the transceiver may include a receiver and a transmitter. The receiver is used for realizing the receiving function, and the transmitter is used for realizing the transmitting function.
Alternatively, the transceiver may be integrated with the processor, or may exist separately, and be coupled to the processor through an interface circuit of the router, which is not specifically limited by the embodiment of the present invention.
In addition, the technical effects of the electronic device may refer to the technical effects of the data transmission method described in the foregoing method embodiment, which is not described herein again.
It should be appreciated that the processor in embodiments of the invention may be a central processing unit (central processing unit, CPU), which may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (field programmable GATE ARRAY, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an erasable programmable ROM (erasable PROM), an electrically erasable programmable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as external cache memory. By way of example, and not limitation, many forms of random access memory (random access memory, RAM) are available, such as static random access memory (STATIC RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double DATA RATE SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCHLINK DRAM, SLDRAM), and direct memory bus random access memory (direct rambus RAM, DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware (e.g., circuitry), firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present invention are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
In the present invention, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. The distributed intelligent home control method based on the Internet of things is characterized by comprising the following steps of:
determining a target device, wherein the target device is one of a plurality of internet of things devices;
Determining an acquisition device, wherein the acquisition device is used for acquiring first target data, and the acquisition device is one or more of a plurality of internet of things devices;
Determining the acquisition speed of the first target data acquired by the Internet of things equipment;
Determining at least one internet of things device with the fastest speed as the acquisition device based on the acquisition speed;
based on the acquisition speed, determining two pieces of Internet of things equipment as acquisition equipment, namely first acquisition equipment and second acquisition equipment;
carrying out data processing on the first target data to obtain a plurality of data packets, wherein the data packets have corresponding data identifiers, and the collection of the data identifiers is a data table;
The first acquisition equipment and the second acquisition equipment acquire a plurality of data packets at the same time, and when any one equipment acquires one data packet, the corresponding data identifier is correspondingly removed from the data table; acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value between the plurality of pieces of internet of things equipment and the target equipment;
Causing the forwarding device to acquire the first target data from the acquisition device;
After the forwarding device acquires the first target data, the first target data is processed into second target data which is directly written into the target device;
And enabling the target device to acquire the second target data from the forwarding device.
2. The internet of things-based distributed intelligent home control method of claim 1, wherein the determining a target device is one of a plurality of internet of things devices, and comprises:
each piece of Internet of things equipment acquires a current firmware version and other firmware versions of the Internet of things equipment, compares the current firmware version with the firmware version, and acquires a comparison result;
And carrying out data processing on the comparison result, and if one of the firmware versions of the Internet of things equipment is the lowest version, determining that the Internet of things equipment is the target equipment.
3. The internet of things-based distributed intelligent home control method of claim 2, wherein the determining the target device is one of a plurality of internet of things devices, and further comprising:
if the firmware versions of a plurality of the Internet of things devices are the lowest versions, determining that one Internet of things device with the higher firmware version is a primary device;
and determining one of the Internet of things devices with the highest signal connection strength value with the primary device as the target device according to the signal connection strength value.
4. The distributed intelligent home control method based on the Internet of things according to claim 1, wherein,
The plurality of data packets includes at least one test data packet, causing the forwarding device to acquire the first target data from the acquisition device, including:
Traversing the Internet of things equipment by taking the first acquisition equipment as a starting point and the forwarding equipment as an ending point to form a plurality of first Euler paths, wherein the number of nodes traversed by each Euler path is n1, and n1 is more than or equal to 2;
Traversing the Internet of things equipment by taking the second acquisition equipment as a starting point and the forwarding equipment as an ending point to form a plurality of second Euler paths, wherein the number of nodes traversed by each Euler path is n2, and n2 is more than or equal to 2;
determining the transmission time of the test data packet in each of the first Euler path and the second Euler path;
determining a transmission path according to the transmission time, so that the forwarding device acquires the data packet from the first acquisition device and the second acquisition device along the transmission path;
and enabling the forwarding equipment to conduct data processing on the data packet to obtain the first target data.
5. The distributed intelligent home control method based on the internet of things according to claim 4, wherein the method further comprises:
confirming that the acquisition equipment, the forwarding equipment and the target equipment which are positioned in the transmission path are active equipment, and the rest of the internet of things equipment is dormant equipment;
And enabling the dormant equipment to enter a low data mode, wherein the low data mode is a mode with smaller bandwidth occupation.
6. The method according to any one of claims 1-5, wherein causing the target device to obtain the second target data from the forwarding device comprises:
Enabling the target equipment to enter an upgrade mode;
And enabling the forwarding device to write the second target data into the target device.
7. A distributed smart home control system based on the internet of things, adapted to perform the method of any one of claims 1-5, comprising:
The system comprises a first confirmation module, a second confirmation module and a third confirmation module, wherein the first confirmation module is used for determining target equipment, and the target equipment is one of a plurality of internet of things equipment;
The second confirmation module is used for determining an acquisition device, the acquisition device is used for acquiring first target data, and the acquisition device is one or more of the plurality of Internet of things devices;
the first acquisition module is used for acquiring a signal connection strength value between each piece of internet of things equipment and other pieces of internet of things equipment, and determining forwarding equipment based on the signal connection strength value, wherein the forwarding equipment is one piece of internet of things equipment with the highest signal connection strength value between the plurality of pieces of internet of things equipment and the target equipment;
the first processing module is used for enabling the forwarding device to acquire the first target data from the acquisition device;
the second processing module is used for enabling the forwarding device to conduct data processing on the first target data to obtain second target data;
And the third processing module is used for enabling the target equipment to acquire the second target data from the forwarding equipment.
8. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are in communication with each other through the communication bus;
The memory is used for storing a computer program;
The processor is arranged to implement the method steps as set forth in any one of claims 1-6 when executing a program stored on the memory.
CN202410107738.1A 2024-01-26 2024-01-26 Internet of things-based distributed intelligent home control method and system Active CN117640279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410107738.1A CN117640279B (en) 2024-01-26 2024-01-26 Internet of things-based distributed intelligent home control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410107738.1A CN117640279B (en) 2024-01-26 2024-01-26 Internet of things-based distributed intelligent home control method and system

Publications (2)

Publication Number Publication Date
CN117640279A CN117640279A (en) 2024-03-01
CN117640279B true CN117640279B (en) 2024-05-07

Family

ID=90038030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410107738.1A Active CN117640279B (en) 2024-01-26 2024-01-26 Internet of things-based distributed intelligent home control method and system

Country Status (1)

Country Link
CN (1) CN117640279B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417691A (en) * 2018-09-17 2019-03-01 深圳市汇顶科技股份有限公司 A kind of blue tooth cluster online upgrading method and device
CN111163442A (en) * 2019-12-27 2020-05-15 咻享智能(深圳)有限公司 Route planning method and related device for wireless Internet of things
CN111865692A (en) * 2020-07-22 2020-10-30 中国联合网络通信集团有限公司 Terminal firmware upgrading method and device
CN113055216A (en) * 2019-12-27 2021-06-29 广东博智林机器人有限公司 Mesh network upgrading method and system, computer device and storage medium
CN114115939A (en) * 2021-11-10 2022-03-01 广州易而达科技股份有限公司 Firmware upgrading method and device, electronic equipment and storage medium
CN114363874A (en) * 2021-12-28 2022-04-15 公牛集团股份有限公司 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system
CN115209403A (en) * 2022-07-15 2022-10-18 宁波亿林节水科技股份有限公司 Firmware upgrading method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417691A (en) * 2018-09-17 2019-03-01 深圳市汇顶科技股份有限公司 A kind of blue tooth cluster online upgrading method and device
CN111163442A (en) * 2019-12-27 2020-05-15 咻享智能(深圳)有限公司 Route planning method and related device for wireless Internet of things
CN113055216A (en) * 2019-12-27 2021-06-29 广东博智林机器人有限公司 Mesh network upgrading method and system, computer device and storage medium
CN111865692A (en) * 2020-07-22 2020-10-30 中国联合网络通信集团有限公司 Terminal firmware upgrading method and device
CN114115939A (en) * 2021-11-10 2022-03-01 广州易而达科技股份有限公司 Firmware upgrading method and device, electronic equipment and storage medium
CN114363874A (en) * 2021-12-28 2022-04-15 公牛集团股份有限公司 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system
CN115209403A (en) * 2022-07-15 2022-10-18 宁波亿林节水科技股份有限公司 Firmware upgrading method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN117640279A (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN109417691B (en) Bluetooth cluster online upgrading method and device
US10609537B2 (en) Proximity platform
US10645568B2 (en) Carrier configuration processing method, device and system, and computer storage medium
CN103619054A (en) Method and device for selecting network frequency band and router
CN110474977B (en) Firmware upgrading method and system for intelligent door lock and intelligent door lock
JP6597935B2 (en) Wireless sensor system, management apparatus, communication control method, and communication control program
CN102915249A (en) Method and device for remotely realizing firmware updating
CN113434293A (en) Method and apparatus for processing repeat request, storage medium, and electronic apparatus
US20190243830A1 (en) Method and apparatus for acquiring information
CN114785685A (en) Software differential upgrading method and device, electronic equipment and readable storage medium
CN117640279B (en) Internet of things-based distributed intelligent home control method and system
CN106664637B (en) Routing information configuration method and device
CN112437462A (en) Quality determination method and device for WIFI module, storage medium and electronic device
CN101197959B (en) Terminal control method, system and equipment
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
CN112445504A (en) Equipment firmware upgrading method, device and system
US10979287B2 (en) Method and apparatus for receiving a solution when configuration function verification fails in a terminal
CN110580172B (en) Configuration rule verification method and device, storage medium and electronic device
CN114817218A (en) Data verification method and system, electronic device and readable storage medium
CN114911515A (en) Configuration management method, device, equipment and medium
CN103067053A (en) Method and device for Bluetooth node processing
US10171213B2 (en) Communication device and method for performing radio communication
US20210110053A1 (en) Exclusive control system and exclusive control method
CN110597517A (en) Method and device for dynamically analyzing mat file
KR102395292B1 (en) Apparatus for collecting vehicle data and method thereof

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