CN117319108A - Method for transmitting equipment data and networking system - Google Patents

Method for transmitting equipment data and networking system Download PDF

Info

Publication number
CN117319108A
CN117319108A CN202210707312.0A CN202210707312A CN117319108A CN 117319108 A CN117319108 A CN 117319108A CN 202210707312 A CN202210707312 A CN 202210707312A CN 117319108 A CN117319108 A CN 117319108A
Authority
CN
China
Prior art keywords
equipment
control command
intelligent
intelligent home
smart home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210707312.0A
Other languages
Chinese (zh)
Inventor
覃广志
李喜林
刘洪钊
徐洪伟
温睿增
晏章章
陈志扬
刘旭阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202210707312.0A priority Critical patent/CN117319108A/en
Publication of CN117319108A publication Critical patent/CN117319108A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2838Distribution of signals within a home automation network, e.g. involving splitting/multiplexing signals to/from different paths
    • 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

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a method for transmitting equipment data and a networking system, wherein the method comprises the following steps: the method comprises the steps that a preset intelligent household device receives a control command packet sent by a server, and broadcasts an address and a control command packet of the preset intelligent household device under the condition that a target control command is not executed and the preset intelligent household device is not the intelligent household device to be controlled; constructing a current address link, wherein the current address link is a link for transmitting a control command packet from preset intelligent household equipment to current non-preset intelligent household equipment; the current non-scheduled intelligent home equipment broadcasts the address information of the current address link so that other intelligent home equipment does not broadcast control command packets to the intelligent home equipment on the current address link, and the address information of the current address link is the address information of each intelligent home equipment on the current address link, so that the repeated forwarding problem of invalid data can be reduced as far as possible.

Description

Method for transmitting equipment data and networking system
Technical Field
The application relates to the technical field of communication, in particular to a method for transmitting equipment data, a networking system and an intelligent home equipment cluster.
Background
Most intelligent home devices cannot automatically form network topology to communicate, and the transmission range and the effectiveness of data transmission cannot be guaranteed by the most intelligent home devices, so that repeated forwarding of invalid data is caused, the information processing amount is increased, and loading delay and other effects are caused.
Disclosure of Invention
The main objective of the present application is to provide a method for transmitting device data, a networking system and an intelligent home device cluster, so as to reduce the repeated forwarding problem of invalid data as much as possible.
According to an aspect of the embodiment of the present invention, there is provided a method for transmitting data of devices, applied to an intelligent home device in a data transmission system, where the data transmission system includes a server and a plurality of intelligent home devices, one of the plurality of intelligent home devices is a predetermined intelligent home device, the predetermined intelligent home device communicates directly with the server, and the plurality of intelligent home devices communicate with each other, the method includes: the preset intelligent home equipment receives a control command packet sent by the server, wherein the control command packet comprises a target control command; in the case that the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, broadcasting an address of the predetermined smart home device and the control command packet by the predetermined smart home device; after the current non-scheduled intelligent home equipment receives the address of the scheduled intelligent home equipment and the control command packet, a current address link is constructed, wherein the current address link is a link for transmitting the control command packet from the scheduled intelligent home equipment to the current non-scheduled intelligent home equipment; the current non-scheduled intelligent home equipment broadcasts the address information of the current address link so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, and the address information of the current address link is the address information of each intelligent home equipment on the current address link.
Optionally, after the current non-predetermined smart home device broadcasts the current address link, the method further comprises: broadcasting the target control command to target equipment by the current non-preset intelligent home equipment under the condition that the current non-preset intelligent home equipment is not the intelligent home equipment to be controlled, wherein the target equipment is not equipment on the address information of the current address link; and under the condition that the current non-scheduled intelligent home equipment is the intelligent home equipment to be controlled, the current non-scheduled intelligent home equipment executes corresponding operation according to the target control command, and modifies the state of the target control command into the executed state.
Optionally, after modifying the state of the target control command to the state that has been executed, the method further comprises: the current non-scheduled intelligent home equipment generates a command completion instruction and multicasts the command completion instruction to all equipment on a current address link; and the predetermined intelligent home equipment receives the command completion instruction and sends the command completion instruction to the server.
Optionally, after the current non-predetermined smart home device broadcasts the target control command and the state of the target control command to the target device, the method further comprises: the target equipment stores the address of the target equipment into the address link to obtain an updated address link; the target device broadcasts the address information of the updated address link.
Optionally, in the case that the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, broadcasting, by the predetermined smart home device, an address of the predetermined smart home device and the control command packet includes: storing the target control command by the preset intelligent household equipment and broadcasting the address of the preset intelligent household equipment and the control command packet when the target control command is not executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment; and broadcasting an address of the predetermined smart home device and the control command packet in the case that the target control command is not executed and the same control command as the target control command exists in the predetermined smart home device.
Optionally, the control command packet further includes an identifier of the smart home device to be controlled, and the method further includes: if the target control command is executed and the same control command as the target control command exists in the preset intelligent household equipment, the preset intelligent household equipment stops broadcasting the control command packet; and under the condition that the target control command is executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment, the preset intelligent household equipment determines whether the preset intelligent household equipment is the intelligent household equipment to be controlled according to the identification of the intelligent household equipment to be controlled.
Optionally, after the predetermined smart home device receives the control command packet sent by the server, the method further includes: and the predetermined intelligent home equipment stores the control command packet.
According to another aspect of the embodiment of the present invention, there is further provided a networking system, where the networking system includes a server, a routing device, and a plurality of smart home devices, one of the plurality of smart home devices communicates with the server through the routing device, the plurality of smart home devices communicate with each other, one of the plurality of smart home devices is a smart home device to be controlled, a wireless communication module is installed in each of the smart home devices, the server communicates with the routing device, and the smart home devices are configured to execute a method for transmitting data of any one of the foregoing devices.
Optionally, the wireless communication module is a BLE communication module, or a WIFI communication module.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program performs the method of data transmission of any one of the above-described devices.
According to another aspect of the embodiments of the present invention, there is also provided a smart home device cluster including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a method for performing any of the above-described device data transmissions.
In the embodiment of the invention, the current address link is constructed, and the address information of the current address link is broadcasted, so that other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of the broadcast data are ensured, and the problems of resolving and repeated forwarding of the invalid data are reduced by increasing the autonomous learning capability in the process of rapidly responding and completing the broadcast transmission of the data under the condition of not additionally generating a network topology diagram.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 illustrates a flow chart of a method of device data transmission according to an embodiment of the present application;
fig. 2 shows a schematic diagram of a predetermined smart home device according to an embodiment of the present application;
FIG. 3 illustrates a schematic diagram of a current non-predetermined smart home device according to an embodiment of the present application;
FIG. 4 shows a schematic diagram of a target device according to an embodiment of the present application;
fig. 5 shows a schematic diagram of a networking system according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or smart home device that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or smart home device.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Furthermore, in the description and in the claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As described in the background art, most intelligent home devices in the prior art cannot automatically form a network topology to communicate, and most intelligent home devices cannot guarantee the transmission range and the effectiveness of data transmission, so that repeated forwarding of invalid data is caused, the information processing capacity is increased, loading delay and other effects are caused, and in order to reduce the repeated forwarding problem of the invalid data as much as possible, in a typical implementation manner of the method, the networking system and the intelligent home device cluster for transmitting the device data are provided.
According to an embodiment of the present application, a method for transmitting data of a device is provided, where the method is applied to an intelligent home device in a data transmission system, where the data transmission system includes a server and a plurality of intelligent home devices, one of the plurality of intelligent home devices is a predetermined intelligent home device, the predetermined intelligent home device directly communicates with the server, and the plurality of intelligent home devices communicate with each other, where the intelligent home device may be an air conditioner, a washing machine, a refrigerator, an electric cooker, a humidifier, etc., and when the server needs to issue a command to a certain device, effective data is packaged and encrypted, and at the same time, an external loading response device id (may be MAC), a command id (a mixed component of a timestamp and a device MAC), and a command status (an execution condition of the command is not executed by default, and only may be changed by a controlled terminal).
Fig. 1 is a flow chart of a method of device data transmission according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, the predetermined intelligent home equipment receives a control command packet sent by the server, wherein the control command packet comprises a target control command;
step S102, broadcasting the address of the preset intelligent home equipment and the control command packet by the preset intelligent home equipment under the condition that the target control command is not executed and the preset intelligent home equipment is not the intelligent home equipment to be controlled;
step S103, after the current non-scheduled intelligent home equipment receives the address of the scheduled intelligent home equipment and the control command packet, a current address link is constructed, wherein the current address link is a link for transmitting the control command packet from the scheduled intelligent home equipment to the current non-scheduled intelligent home equipment;
step S104, the current non-predetermined smart home device broadcasts the address information of the current address link, so that other smart home devices no longer broadcast the control command packet to the smart home devices on the current address link, where the address information of the current address link is the address information of each smart home device on the current address link.
In the above steps, by constructing the current address link and broadcasting the address information of the current address link, the other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, so that the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of the broadcast data are ensured, and the autonomous learning capability is increased and the analysis and repeated forwarding problems of the invalid data are reduced in the process of rapidly responding and completing the broadcast transmission of the data under the condition that a network topological diagram is not additionally generated.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
In one embodiment of the present application, after the current non-predetermined smart home device broadcasts the current address link, the method further includes: broadcasting the target control command to target equipment by the current non-preset intelligent home equipment under the condition that the current non-preset intelligent home equipment is not the intelligent home equipment to be controlled, wherein the target equipment is not equipment on the address information of the current address link; and when the current non-scheduled smart home device is the smart home device to be controlled, the current non-scheduled smart home device executes corresponding operation according to the target control command, and modifies the state of the target control command to be executed, and by broadcasting the target control command to devices on the address information of the current address link, the repeated forwarding problem of subsequent invalid data is reduced, for example, the scheduled device sends the address of the scheduled device to the first device, the first device constructs the address of the first device and the address of the scheduled device into an address link, and sends the address information of the address link to the second device, and the second device constructs the address of the first device, the address of the scheduled device and the address of the second device into an updated address link, so as to push.
In one embodiment of the present application, after modifying the state of the target control command to the executed state, the method further includes: the current non-scheduled intelligent home equipment generates a command completion instruction and multicasts the command completion instruction to all equipment on a current address link so as to enable the equipment on the address information of the current address link to stop broadcasting information; and the predetermined intelligent home equipment receives the command completion instruction and sends the command completion instruction to the server side so that the server knows that the target control command is executed.
In one embodiment of the present application, after the current non-predetermined smart home device broadcasts the target control command and the state of the target control command to the target device, the method further includes: the target equipment stores the address of the target equipment into the address link to obtain an updated address link; the target device broadcasts the address information of the updated address link, and the address link is updated continuously, so that the subsequent device can not repeatedly broadcast the target control command to the same device, and the repeated forwarding problem of subsequent invalid data is further reduced.
In an embodiment of the present application, the predetermined smart home device includes a predetermined processing unit, where after modifying a state of a target control command to a state that has been executed, the predetermined processing unit is configured to receive a command completion instruction, and send the command completion instruction to the server, so that the server knows that the target control command has been executed.
In an embodiment of the present application, in a case where the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, broadcasting, by the predetermined smart home device, an address of the predetermined smart home device and the control command packet includes: when the target control command is not executed and the same control command as the target control command does not exist in the predetermined smart home device, the predetermined smart home device stores the target control command and broadcasts the address of the predetermined smart home device and the control command packet; and broadcasting the address of the preset intelligent home equipment and the control command packet under the condition that the target control command is not executed and the same control command as the target control command exists in the preset intelligent home equipment, so that the intelligent home equipment is ensured to store the target control command, and the follow-up judging work is facilitated.
In an embodiment of the present application, the control command packet further includes an identifier of the smart home device to be controlled, and the method further includes: if the target control command is executed and the same control command as the target control command exists in the predetermined smart home device, the predetermined smart home device stops broadcasting the control command packet; and under the condition that the target control command is executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment, the preset intelligent household equipment determines whether the preset intelligent household equipment is the intelligent household equipment to be controlled according to the identification of the intelligent household equipment to be controlled, and the situation that the preset intelligent household equipment broadcasts a control command packet and repeated forwarding of follow-up meaningless data occurs under the condition that the preset intelligent household equipment is the intelligent household equipment to be controlled is prevented.
In an embodiment of the present application, after the predetermined smart home device receives the control command packet sent by the server, the method further includes: the predetermined intelligent home equipment stores the control command packet, so that the intelligent home equipment can conveniently judge whether the control command packet is analyzed or not.
The embodiment of the application also provides an intelligent home equipment cluster, and it is noted that the intelligent home equipment cluster of the embodiment of the application can be used for executing the method for equipment data transmission provided by the embodiment of the application. The following describes an intelligent home device cluster provided in the embodiment of the present application.
The intelligent home equipment cluster comprises preset intelligent home equipment and current non-preset intelligent home equipment; fig. 2 is a schematic diagram of a predetermined smart home device according to an embodiment of the present application. As shown in fig. 2, the predetermined smart home device includes a first receiving unit 21 and a first broadcasting unit 22, where the first receiving unit 21 is configured to receive a control command packet sent by the server, where the control command packet includes a target control command; the first broadcasting unit 22 is configured to broadcast an address of the predetermined smart home device and the control command packet when the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled; fig. 3 is a schematic diagram of a current non-predetermined smart home device according to an embodiment of the present application. As shown in fig. 3, the current non-predetermined smart home device includes a construction unit 31 and a second broadcasting unit 32; after the current non-predetermined smart home device receives the address of the predetermined smart home device and the control command packet, the construction unit 31 is configured to construct a current address link, where the current address link is a link where the control command packet is transmitted from the predetermined smart home device to the current non-predetermined smart home device; the second broadcasting unit 32 is configured to broadcast the address information of the current address link, so that the other smart home devices no longer broadcast the control command packet to the smart home devices on the current address link, where the address information of the current address link is the address information of each smart home device on the current address link, thereby ensuring accuracy and effectiveness of broadcast data, and increasing autonomous learning capability and reducing problems of resolving and repeating invalid data in a process of rapidly responding and completing data broadcast transmission without generating a network topology map.
In the intelligent home equipment cluster, the current address link is constructed, and the address information of the current address link is broadcasted, so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, and the repeated forwarding problem of invalid data can be reduced as far as possible.
In an embodiment of the present application, the current non-predetermined smart home device further includes a third broadcasting unit and an executing unit, where, after the current non-predetermined smart home device broadcasts the current address link, the third broadcasting unit is configured to broadcast the target control command to a target device, where the target device is not a device on address information of the current address link, where the current non-predetermined smart home device is not the smart home device to be controlled; and the execution unit is used for executing corresponding operation according to the target control command and modifying the state of the target control command into the executed state under the condition that the current non-scheduled intelligent home equipment is the intelligent home equipment to be controlled, and the repeated forwarding problem of subsequent invalid data is reduced by broadcasting the target control command to equipment on address information which is not the current address link.
In an embodiment of the present application, the smart home device cluster further includes a target device, and fig. 4 is a schematic diagram of the target device according to an embodiment of the present application. As shown in fig. 4, the target device includes an updating unit 41 and a fourth broadcasting unit 42, where after the current non-predetermined smart home device broadcasts the target control command and the state of the target control command to the target device, the updating unit 41 is configured to store the address of the target device into the address link, so as to obtain an updated address link; the fourth broadcasting unit 42 is configured to broadcast the address information of the updated address link, so that the subsequent device does not repeatedly broadcast the target control command to the same device by continuously updating the address link, thereby reducing the repeated forwarding problem of the subsequent invalid data.
In an embodiment of the present application, the first broadcasting unit includes a first processing module and a second processing module, where the target control command is not executed, and if the same control command as the target control command does not exist in the predetermined smart home device, the first processing module is configured to store the target control command, and broadcast an address of the predetermined smart home device and the control command packet; and when the target control command is not executed and the same control command as the target control command exists in the preset intelligent home equipment, the second processing module is used for broadcasting the address of the preset intelligent home equipment and the control command packet, so that the intelligent home equipment is ensured to store the target control command, and the follow-up judging work is facilitated.
In an embodiment of the present application, the current non-predetermined smart home device includes a non-predetermined processing unit, where after modifying a state of a target control command to a state that has been executed, the non-predetermined processing unit is configured to generate a command completion instruction, and multicast the command completion instruction to all devices on a current address link, so that the devices on address information of the current address link stop broadcasting information.
In an embodiment of the present application, the control command packet further includes an identifier of a smart home device to be controlled, and the predetermined smart home device further includes a first processing unit and a second processing unit, where the target control command is executed, and if there is a control command in the predetermined smart home device that is the same as the target control command, the first processing unit is configured to stop broadcasting the control command packet; and the second processing unit is used for determining whether the preset intelligent household equipment is the intelligent household equipment to be controlled according to the identification of the intelligent household equipment to be controlled under the condition that the target control command is executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment, so that the preset intelligent household equipment is prevented from broadcasting a control command packet and the situation of repeated forwarding of follow-up meaningless data occurs under the condition that the preset intelligent household equipment is the intelligent household equipment to be controlled.
In an embodiment of the present application, the predetermined smart home device further includes a storage unit, where after the predetermined smart home device receives the control command packet sent by the server, the storage unit is configured to store the control command packet, so that the smart home device is convenient to determine whether the control command packet has been parsed.
The smart home device cluster includes a processor and a memory, wherein the first receiving unit, the first broadcasting unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the repeated forwarding problem of invalid data is reduced as much as possible by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the method for data transmission of a device described above.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the method for transmitting the data of the equipment.
The embodiment of the invention provides intelligent household equipment, which comprises a processor, a memory and a program which is stored in the memory and can run on the processor, wherein the processor realizes at least the following steps when executing the program: the preset intelligent home equipment receives a control command packet sent by the server, wherein the control command packet comprises a target control command; when the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, the predetermined smart home device broadcasts an address of the predetermined smart home device and the control command packet; after the current non-scheduled intelligent home equipment receives the address of the scheduled intelligent home equipment and the control command packet, a current address link is constructed, wherein the current address link is a link for transmitting the control command packet from the scheduled intelligent home equipment to the current non-scheduled intelligent home equipment; the current non-scheduled intelligent home equipment broadcasts the address information of the current address link so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, and the address information of the current address link is the address information of each intelligent home equipment on the current address link. The smart home devices herein may be servers, PCs, PADs, mobile phones, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing smart home device, a program initialized with at least the following method steps: the preset intelligent home equipment receives a control command packet sent by the server, wherein the control command packet comprises a target control command; when the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, the predetermined smart home device broadcasts an address of the predetermined smart home device and the control command packet; after the current non-scheduled intelligent home equipment receives the address of the scheduled intelligent home equipment and the control command packet, a current address link is constructed, wherein the current address link is a link for transmitting the control command packet from the scheduled intelligent home equipment to the current non-scheduled intelligent home equipment; the current non-scheduled intelligent home equipment broadcasts the address information of the current address link so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, and the address information of the current address link is the address information of each intelligent home equipment on the current address link.
The application also provides a networking system, and fig. 5 is a schematic diagram of the networking system according to an embodiment of the application. As shown in fig. 5, the networking system includes a server, a routing device, and a plurality of intelligent home devices, one of the plurality of intelligent home devices communicates with the server through the routing device, the plurality of intelligent home devices communicate with each other, one of the plurality of intelligent home devices is an intelligent home device to be controlled, a wireless communication module is installed in each of the plurality of intelligent home devices, the server communicates with the routing device, the intelligent home devices are used for executing any one of the above methods for transmitting device data, and by constructing a current address link and broadcasting address information of the current address link, the other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, so that repeated forwarding of invalid data can be reduced as much as possible, accuracy and validity of broadcast data can be guaranteed, autonomous learning capability can be increased in a broadcast transmission process of the data can be rapidly responded and the invalid data can be reduced without generating a network topology map additionally.
In an embodiment of the present application, the wireless communication module is a BLE communication module, or a WIFI communication module.
The application also provides a smart home device cluster comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise a method for performing any of the above device data transmissions. By constructing the current address link and broadcasting the address information of the current address link, other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, so that the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of broadcast data are ensured, and the autonomous learning capability is improved and the problems of resolving and repeated forwarding of the invalid data are reduced in the process of rapidly responding and completing the broadcast transmission of the data under the condition that a network topological diagram is not additionally generated.
In order that those skilled in the art can more clearly understand the technical solutions of the present application, the technical solutions and technical effects of the present application will be described below with reference to specific embodiments.
Examples
The application also proposes a scheme for data transmission of a device, comprising the steps of:
step 1: the first node equipment (namely the preset intelligent home equipment) receives the data sent by the server, analyzes the command id and the equipment id in the data, compares the equipment id, if not a controlled object, transmits the address of the data superposition node equipment to other equipment through Bluetooth broadcasting, and stores the command id into a rebroadcast command table of the first node equipment;
step 2: after receiving data broadcast by the Bluetooth of the device of the first node, the second device (namely the current non-scheduled intelligent home device) identifies a command id and a device id, compares the device id, if not a controlled object, the device id is consistent with the method of the first node device to become the second node, adds the address of the second device on the basis of the address of the first device, transmits the data to other devices through Bluetooth broadcast, and writes a rebroadcast command table;
step 3: taking the data as transmission logic, until the broadcasted data is transmitted to one section of the controlled device, comparing the device ids, reading the controlled command table when the controlled object is judged, if the command id does not exist in the table, analyzing the encrypted data, executing the corresponding instruction, and writing the command id into the controlled command table. Preventing repeated reception of the broadcasted data;
Step 4: the device after executing the instruction broadcasts a data packet with a command id and a command state of successful execution, other devices write the command id into a response table when receiving the data packet with the command state of successful execution, and subsequently when repeatedly receiving the control packet, if the control packet is judged to have been responded, the device directly replies that the instruction has been responded, so that other devices write the id into the response table for updating;
step 5: the device after executing the instruction synchronously analyzes the node device addresses superimposed in the data packet, records the node device addresses in the information table of the device, gathers the node device addresses in the information table, each device gradually obtains the information addresses of all devices in the network through continuous data transmission and reception, in the subsequent device data interaction, the device judges by utilizing the device address table, after filtering the node address information contained in the data packet, the rest device addresses in the device address table are the devices which receive the data broadcast packet, and the device can actively push the response packet, so that the accuracy of the controlled response packet is improved, and the data quantity of unnecessary interaction is reduced.
When the server issues an instruction, the server is used as a first node device (namely a preset intelligent home device) in a local network, data of the server can be received, meanwhile, the server is compared, each device uses the server as a node core to carry out outward diffusion forwarding, in order to avoid repeated forwarding of the data caused by diffusion, a forwarding table, a controlled table and a response table of command id with a certain period number are cached in each device, the forwarding device uses the forwarding table and the response table as comparison cores to judge whether the data transmission forwarding is needed, and the controlled device uses the controlled command id table as a reference to judge whether the data response is needed.
After the intelligent home equipment executes, the intelligent home equipment returns an id of a response command, other equipment stores the id in a response command table when receiving the id, compares the id with the id response command preferentially when receiving the id subsequently, and does not forward the control data which is responded and controlled by the controlled terminal when finding that the equipment has completed the response.
Based on the data interaction logic, each device (i.e. the intelligent home device) also has an address table for recording addresses of other devices in the network, and by the superimposed node device addresses when each node in the data packet forwards, how many devices in the network do not forward can be rapidly distinguished, so that the directional sending of the response packet is controlled, other devices which do not participate in the forwarding of the command packet temporarily can directly filter when receiving the command packet, and unnecessary data interaction is less.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units may be a logic function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be 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 through some interfaces, units or modules, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of 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 integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer smart home device (which may be a personal computer, a server or a network smart home device, etc.) to perform all or part of the steps of the above-mentioned method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the method for transmitting the device data, the current address link is constructed, and the address information of the current address link is broadcast, so that other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of the broadcast data are guaranteed, and the autonomous learning capability is improved, and the analysis and the repeated forwarding problem of the invalid data are reduced in the process of rapidly responding and completing the broadcast transmission of the data under the condition that a network topological graph is not additionally generated.
2) According to the intelligent home equipment cluster, the current address link is constructed, and the address information of the current address link is broadcast, so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of broadcast data are guaranteed, and the autonomous learning capacity is improved, and the analysis and repeated forwarding problems of the invalid data are reduced in the process of rapidly responding and completing the broadcast transmission of the data under the condition that a network topological graph is not additionally generated.
3) According to the networking system, the current address link is constructed, and the address information of the current address link is broadcasted, so that other intelligent home devices do not broadcast the control command packet to the intelligent home devices on the current address link, the repeated forwarding problem of invalid data can be reduced as much as possible, the accuracy and the effectiveness of the broadcast data are guaranteed, and under the condition that a network topological graph is not additionally generated, the autonomous learning capacity is improved in the process of rapidly responding and completing the broadcast transmission of the data, and the problems of analysis and repeated forwarding of the invalid data are reduced.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. The utility model provides a method of equipment data transmission, its characterized in that is applied to intelligent house equipment in the data transmission system, the data transmission system includes server and a plurality of intelligent house equipment, a plurality of in the intelligent house equipment is predetermined intelligent house equipment, predetermined intelligent house equipment is direct with the server communicates, a plurality of communication between the intelligent house equipment includes:
The preset intelligent home equipment receives a control command packet sent by the server, wherein the control command packet comprises a target control command;
in the case that the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, broadcasting an address of the predetermined smart home device and the control command packet by the predetermined smart home device;
after the current non-scheduled intelligent home equipment receives the address of the scheduled intelligent home equipment and the control command packet, a current address link is constructed, wherein the current address link is a link for transmitting the control command packet from the scheduled intelligent home equipment to the current non-scheduled intelligent home equipment;
the current non-scheduled intelligent home equipment broadcasts the address information of the current address link so that other intelligent home equipment does not broadcast the control command packet to the intelligent home equipment on the current address link, and the address information of the current address link is the address information of each intelligent home equipment on the current address link.
2. The method of claim 1, wherein after the current non-predetermined smart home device broadcasts the current address link, the method further comprises:
Broadcasting the target control command to target equipment by the current non-preset intelligent home equipment under the condition that the current non-preset intelligent home equipment is not the intelligent home equipment to be controlled, wherein the target equipment is not equipment on the address information of the current address link;
and under the condition that the current non-scheduled intelligent home equipment is the intelligent home equipment to be controlled, the current non-scheduled intelligent home equipment executes corresponding operation according to the target control command, and modifies the state of the target control command into the executed state.
3. The method of claim 2, wherein after modifying the state of the target control command to the state that has been executed, the method further comprises:
the current non-scheduled intelligent home equipment generates a command completion instruction and multicasts the command completion instruction to all equipment on a current address link;
and the predetermined intelligent home equipment receives the command completion instruction and sends the command completion instruction to the server.
4. The method of claim 2, wherein after the current non-predetermined smart home device broadcasts the target control command and the status of the target control command to a target device, the method further comprises:
The target equipment stores the address of the target equipment into the address link to obtain an updated address link;
the target device broadcasts the address information of the updated address link.
5. The method of claim 1, wherein, in the case where the target control command is not executed and the predetermined smart home device is not the smart home device to be controlled, the predetermined smart home device broadcasts an address of the predetermined smart home device and the control command packet, comprising:
storing the target control command by the preset intelligent household equipment and broadcasting the address of the preset intelligent household equipment and the control command packet when the target control command is not executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment;
and broadcasting an address of the predetermined smart home device and the control command packet in the case that the target control command is not executed and the same control command as the target control command exists in the predetermined smart home device.
6. The method of claim 4, wherein the control command packet further includes an identifier of the smart home device to be controlled, and the method further includes:
If the target control command is executed and the same control command as the target control command exists in the preset intelligent household equipment, the preset intelligent household equipment stops broadcasting the control command packet;
and under the condition that the target control command is executed and the control command which is the same as the target control command does not exist in the preset intelligent household equipment, the preset intelligent household equipment determines whether the preset intelligent household equipment is the intelligent household equipment to be controlled according to the identification of the intelligent household equipment to be controlled.
7. The method according to any one of claims 1 to 5, wherein after the predetermined smart home device receives the control command packet sent by the server, the method further comprises:
and the predetermined intelligent home equipment stores the control command packet.
8. A networking system, comprising: the intelligent household equipment comprises a server side, routing equipment and a plurality of intelligent household equipment, wherein one of the intelligent household equipment is communicated with the server side through the routing equipment, the intelligent household equipment is communicated with the server side, one of the intelligent household equipment is the intelligent household equipment to be controlled, a wireless communication module is arranged in each intelligent household equipment, the server side is communicated with the routing equipment, the routing equipment is communicated with each intelligent household equipment, and the intelligent household equipment is used for executing the equipment data transmission method of any one of claims 1 to 7.
9. The system of claim 8, wherein the wireless communication module is a BLE communication module, or a WIFI communication module.
10. An intelligent home device cluster, comprising: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising a method for performing the device data transfer of any of claims 1-7.
CN202210707312.0A 2022-06-21 2022-06-21 Method for transmitting equipment data and networking system Pending CN117319108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210707312.0A CN117319108A (en) 2022-06-21 2022-06-21 Method for transmitting equipment data and networking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210707312.0A CN117319108A (en) 2022-06-21 2022-06-21 Method for transmitting equipment data and networking system

Publications (1)

Publication Number Publication Date
CN117319108A true CN117319108A (en) 2023-12-29

Family

ID=89287187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210707312.0A Pending CN117319108A (en) 2022-06-21 2022-06-21 Method for transmitting equipment data and networking system

Country Status (1)

Country Link
CN (1) CN117319108A (en)

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
US11445039B2 (en) Method and apparatus for providing edge computing services
CN108401037B (en) Binding method, device and system of user terminal and equipment
JP7249720B2 (en) Allocation and Reuse of Network Addresses for Hierarchy-Based RPL Networks
CN108777722B (en) Multi-system networking communication method and device, mobile terminal and storage medium
US11083004B2 (en) Data transmission method and apparatus
CN104426680A (en) Data transmission method, device and system
US20130173835A1 (en) Controlling HDMI Devices Via Intelligent Emulation of Consumer Electronics Control (CEC) Protocol
US20210289343A1 (en) Subscription message processing method and apparatus, and computer device and storage medium
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN109982152A (en) P2P CDN method for processing business, intelligent gateway and CDN platform
CN114710549B (en) Dynamic management method, system and service node for network card in container platform
CN112437454A (en) Data transmission method and device, storage medium and electronic device
CN117319108A (en) Method for transmitting equipment data and networking system
CN116614858A (en) Data transmission method and device, storage medium and electronic equipment
CN111511041B (en) Remote connection method and device
CN111163463A (en) Method, device, equipment and storage medium for accessing wireless equipment to router
CN114157631B (en) Method and device for acquiring terminal information, expansion equipment and storage medium
CN117319943A (en) Method for transmitting equipment data, networking system and equipment cluster
CN112218352B (en) Address management method and device of mesh network node, and route creation and maintenance method
CN109151086A (en) A kind of message forwarding method and the network equipment
CN110611589A (en) Control method and device of regional control system and air conditioning system
CN114745339B (en) Multi-packet message data transmission method, transmission device and transmission system
CN117319971A (en) Data packet processing method, server and wireless communication system
CN117319944A (en) Data packet processing method, server and networking system

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