CN112738783A - Equipment networking method and device and electronic equipment - Google Patents

Equipment networking method and device and electronic equipment Download PDF

Info

Publication number
CN112738783A
CN112738783A CN202011595723.2A CN202011595723A CN112738783A CN 112738783 A CN112738783 A CN 112738783A CN 202011595723 A CN202011595723 A CN 202011595723A CN 112738783 A CN112738783 A CN 112738783A
Authority
CN
China
Prior art keywords
distribution network
equipment
control
controlled
network 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.)
Granted
Application number
CN202011595723.2A
Other languages
Chinese (zh)
Other versions
CN112738783B (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.)
RDA Microelectronics Shanghai Co Ltd
Original Assignee
RDA Microelectronics Shanghai 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 RDA Microelectronics Shanghai Co Ltd filed Critical RDA Microelectronics Shanghai Co Ltd
Priority to CN202011595723.2A priority Critical patent/CN112738783B/en
Publication of CN112738783A publication Critical patent/CN112738783A/en
Priority to PCT/CN2021/131242 priority patent/WO2022142825A1/en
Application granted granted Critical
Publication of CN112738783B publication Critical patent/CN112738783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The embodiment of the application provides a device networking method and device, an electronic chip and electronic equipment. The method comprises the following steps: starting distribution network signal scanning when equipment network access operation of current equipment is triggered, wherein the current equipment is controlled equipment, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by control equipment; and when the distribution network data is received, carrying out distribution network credit authorization on the current equipment for the control equipment according to the distribution network data so as to access an equipment network to which the control equipment belongs. According to the method of the embodiment of the application, networking between the control equipment and the controlled equipment can be simply and quickly realized.

Description

Equipment networking method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a device networking method and apparatus, an electronic chip, and an electronic device.
Background
In a Bluetooth Low Energy (Ble) wireless Mesh network (Mesh) network, there are two main classes of devices: provider (provider) equipment and Node (Node) equipment. The Provisioner is used for configuring the network and distributing control instructions to each Node device in the network, and only one Provisioner is allowed to exist in one blade Mesh network; node is each sub-device in the network that is used to execute the corresponding control command from the provider.
Generally, a Node device accesses a Mesh network, and needs to perform a complex configuration interaction process with a provider, and the process mainly provides Node device authentication and performs security protection on Node device data. The Node equipment after completing the configuration process becomes a legal equipment in the Mesh network and can receive the control from the provider.
In the application scenario of the prior art, the complexity of the Ble Mesh protocol stack determines the development difficulty and the chip resource occupation amount thereof. And the method is not suitable for the development of networking application scene products with low cost from the aspects of usability and development.
Disclosure of Invention
Aiming at the problem that the Ble Mesh is not suitable for the development of networking application scene products with low cost in the prior art, the application provides a device networking method, a device and electronic equipment, and the application also provides a computer readable storage medium.
The embodiment of the application adopts the following technical scheme:
in a first aspect, the present application provides a device networking method, including:
starting distribution network signal scanning when equipment network access operation of current equipment is triggered, wherein the current equipment is controlled equipment, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by control equipment;
and when the distribution network data is received, carrying out distribution network credit authorization on the current equipment for the control equipment according to the distribution network data so as to access an equipment network to which the control equipment belongs.
In a feasible implementation manner of the first aspect, when the distribution network data is received, performing distribution network trust on the current device for the control device according to the distribution network data includes:
counting the times of the distribution network data received in a preset time length after the distribution network signal scanning starts;
and when the times of receiving the distribution network data in the preset time length are larger than a preset threshold value, listing the control equipment into legal control equipment.
In a possible implementation manner of the first aspect, the method further includes:
and when the distribution network data is not received in the preset time after the distribution network signal scanning starts, or the number of times of receiving the distribution network data in the preset time after the distribution network signal scanning starts is less than or equal to the preset threshold value, the network access operation of the equipment fails.
In a feasible implementation manner of the first aspect, the distribution network data is broadcast code matching data;
when the distribution network data is received, according to the distribution network data, distribution network credit is given to the control equipment on the current equipment, and the method comprises the following steps:
and judging whether the broadcast code matching data is valid, and listing the control equipment into legal control equipment when the broadcast code matching data is valid.
In a feasible implementation manner of the first aspect, the device network access operation of the current device is triggered when the current device is powered on.
In a second aspect, the present application further provides a device networking method, including:
and broadcasting and releasing distribution network data when the access operation of the new equipment is triggered, wherein the current equipment is control equipment, and the distribution network data is used for enabling the controlled equipment receiving the distribution network data to carry out distribution network signaling on the current equipment according to the distribution network data.
In a feasible implementation manner of the second aspect, the broadcasting distribution network data when a new device access operation is triggered includes:
and broadcasting and releasing the distribution network data for a preset duration after the access operation of the new equipment is triggered.
In a third aspect, the present application further provides an apparatus for networking devices, including:
the device comprises a signal scanning module, a network switching module and a network switching module, wherein the signal scanning module is used for controlling the current device to start distribution network signal scanning when the device network access operation of the current device is triggered, the current device is a controlled device, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by the control device;
and the network access module is used for carrying out network distribution signaling on the current equipment for the control equipment according to the network distribution data when the current equipment receives the network distribution data so as to enable the current equipment to access the equipment network to which the control equipment belongs.
In a fourth aspect, the present application further provides an apparatus for networking devices, including:
and the broadcasting module is used for controlling the current equipment to broadcast and release distribution network data when the access operation of the new equipment is triggered, wherein the current equipment is control equipment, and the distribution network data is used for enabling the controlled equipment receiving the distribution network data to carry out distribution network signaling on the current equipment according to the distribution network data.
In a fifth aspect, the present application further provides a communication chip, including:
a processor for executing computer program instructions stored in a memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control the controlled device to perform the method steps as described in the above first aspect.
In a sixth aspect, the present application further provides a communication chip, including:
a processor for executing computer program instructions stored in the memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control the control device to perform the method steps as described in the second aspect above.
In a seventh aspect, the present application further provides an electronic device, which is a controlled device, and which comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps as described in the first aspect above.
In an eighth aspect, the present application further provides an electronic device, which is a control device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps as described in the second aspect above.
In a ninth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program, which, when run on a computer, causes the computer to perform the method of an embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, at least the following technical effects can be realized:
according to the method of the embodiment of the application, networking between the control equipment and the controlled equipment can be simply and quickly realized; compared with the prior art, the equipment networking method is simple in process, high in usability and easy to develop and suitable for low-cost networking application scene product development.
Drawings
Fig. 1 is a flow chart illustrating a method for networking devices according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for networking devices according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for networking devices according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method for networking devices according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
Aiming at the problem that the Ble Mesh is not suitable for the development of networking application scene products with low cost in the prior art, the application provides an equipment networking method. In the method of the embodiment of the application, devices participating in device networking and controlling other devices in the device networking after networking are called control devices (for example, a remote controller, a mobile phone capable of remotely controlling a refrigerator); the devices participating in device networking and receiving control of the control device in the device networking after networking are called controlled devices (for example, a smart television which can be remotely controlled by a remote controller, and a refrigerator which can be remotely controlled by a mobile phone). In the equipment networking stage, the control equipment broadcasts and sends the distribution network data for the distribution network. Meanwhile, in the equipment networking stage, the controlled equipment starts wireless signal scanning, searches and receives the distribution network data broadcast and sent by the control equipment. And after the controlled equipment receives the distribution network data, the controlled equipment performs distribution network credit granting on the control equipment broadcasting the distribution network data according to the distribution network data. After the controlled device performs network distribution trust on the controlled device for the control device, the controlled device may receive control of the control device (i.e., if the control device sends a control instruction to the controlled device later, the controlled device makes a corresponding response), and at this time, it is determined that the controlled device has accessed the device network to which the control device belongs.
After the controlled device is accessed to the device network to which the control device belongs (after the controlled device completes distribution network credit to the control device), the control device broadcasts and sends a control instruction, and when the controlled device receives the control instruction and judges that a sender of the control instruction is legal control device, the controlled device executes the control instruction.
For example, the control device may broadcast a control instruction including an operation instruction, and when the controlled device receives the operation instruction and determines that a sender of the operation instruction is a legal control device, the controlled device executes a device operation corresponding to the operation instruction. For another example, the control device may broadcast a control instruction including a status query instruction (e.g., a task currently being executed by the query device, or whether the query device is currently controlled by another device), and when the controlled device receives the status query instruction and determines that a sender of the status query instruction is a legal control device, the controlled device issues device status information of itself in a broadcast manner (e.g., whether the smart television is idle or not, or which video the smart television is playing) to feed back the status of the controlled device to the control device.
Further, after the device networking, if the control device wants to remove the controlled device from the device networking, the control device only needs to broadcast and issue unbinding broadcast data for the controlled device, and the controlled device moves the control device out of the legal control device after receiving the unbinding broadcast data, so that the controlled device moving out of the device networking is completed.
Further, in order to ensure data security, the distribution network data, the control instructions, the device state information and the unbinding broadcast data broadcast by the control device and the controlled device are encrypted by a predetermined encryption algorithm.
In the above process, after the controlled device performs network distribution and trust on the controlled device, the controlled device is regarded as the controlled device has accessed to the device network to which the controlled device belongs, and in this process, the controlled device does not need to perform data interaction with the control device, so that the networking process is greatly simplified, the networking difficulty is reduced, the usability and the easy development of the networking scheme are greatly enhanced, and the networking scheme is suitable for the development of low-cost networking application scene products.
Specifically, the application provides a device networking method, which is executed by a controlled device. Fig. 1 is a flowchart of a device networking method according to an embodiment of the present application, and as shown in fig. 1, in a device networking stage, a controlled device executes the following processes:
step 110, judging whether the device network access operation is triggered;
when the device network access operation is not triggered, returning to the step 110;
when the device network access operation is triggered, executing step 120;
step 120, starting distribution network signal scanning, wherein the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by the control equipment;
step 130, judging whether distribution network data are received;
if receiving the distribution network data PBStep 140 is executed;
and 140, according to the distribution network data, performing distribution network credit on the current equipment (controlled equipment) for the control equipment which broadcasts and releases the distribution network data so as to access the equipment network to which the control equipment belongs, finishing distribution network signal scanning, and successfully performing network access operation on the equipment.
Further, when it is determined in step 130 that the distribution network data is not received, step 150 is executed;
step 150, determining whether the device network access operation is finished (for example, setting the duration of the device network access operation to 10 seconds, and determining whether the start time of the distribution network signal scanning lasts 10 seconds);
when the device network access operation is finished, executing step 160;
step 160, finishing the distribution network signal scanning, wherein the network access operation of the equipment fails;
and when the network access operation of the device is not finished, returning to the step 130.
Corresponding to the embodiment shown in fig. 1, the present application further provides a device networking method, which is executed by a control device. Fig. 2 is a flowchart of a device networking method according to an embodiment of the present application, and as shown in fig. 2, in a device networking stage, a control device executes the following processes:
step 210, judging whether the access operation of the new equipment is triggered;
when the access operation of the new device is not triggered, returning to step 210;
when the new device access operation is triggered, step 220 is executed;
and step 220, broadcasting and releasing distribution network data, wherein the distribution network data is used for enabling the controlled equipment receiving the distribution network data to perform distribution network authorization signaling for the current equipment (control equipment) according to the distribution network data.
Specifically, in an embodiment of the present application, powering on the controlled device is used as a trigger time for the network access operation of the device, that is, when the controlled device is powered on, the network access operation of the controlled device is triggered. Specifically, in an actual application scenario, when the device networking is required, the controlled device is started or restarted, and the control device is instructed to start a new device access operation. And after the controlled equipment is powered on, starting distribution network signal scanning. Meanwhile, the control equipment starts to broadcast and release the distribution network data.
Further, in an embodiment of the present application, the control device is powered on as a trigger time for the access operation of the new device. Specifically, in an actual application scenario, when device networking is required, the controlled device and the control device are started or restarted. And after the controlled equipment is powered on, starting distribution network signal scanning. Meanwhile, the control equipment is powered on, and the control equipment broadcasts and releases the distribution network data.
Further, the controlled device may also trigger the device to access the network in other manners, for example, manually or in a timed trigger mode. Further, the control device may also trigger the new device access operation in other manners, for example, manual operation or a timed trigger mode.
Furthermore, in an actual application scenario, a person skilled in the art may implement distribution network data by using a plurality of different data formats, and may correspondingly implement distribution network trust based on the distribution network data by using a plurality of different judgment logics and distribution network trust manners to implement device network access.
For example, in an embodiment of the present application, to simplify a networking process, a control device in which a time window of a new device access operation matches a time window of a device access operation is set as a legal control device of a controlled device. That is, in the process of the controlled device performing the device network access operation, the control device that synchronously performs the new device access operation is the legal control device of the controlled device. That is, in the process of the controlled device performing the distribution network signal scanning, if the control device broadcasts distribution network data, the control device is a legal control device of the controlled device.
For example, after the controlled device a starts the distribution network signal scanning, if the controlled device a is in the duration of the device network access operation, the distribution network data of the control device B may be received, that is, the control device B broadcasting the distribution network data is listed as the legal control device of the controlled device a. After the device network access operation is finished, if the controlled device a receives the control instruction of the control device B, the controlled device a responds to the control instruction.
On the contrary, after the controlled device a starts the distribution network signal scanning, if the controlled device a does not receive any distribution network data during the device network access operation duration, it indicates that the device network access operation of the controlled device a fails this time. After the device network access operation of the controlled device a is finished, even if the controlled device a receives the control instruction of the control device B, the controlled device a does not respond to the control instruction.
According to the method of an embodiment of the present application, all devices to be networked (controlled) are in the distribution network signal scanning state during the device networking operation, and this state lasts only in the device networking operation state (for example, for 10 seconds). By limiting the duration time window of the distribution network signal scanning state, the distribution network information broadcast by the control equipment matched with the duration time window of the new equipment access operation can be screened, so that the networking safety is improved.
Further, according to the method shown in the embodiments of fig. 1 and fig. 2, when the controlled device receives the distribution network data, the controlled device performs distribution network trust for the control device according to the distribution network data, without performing data interaction (passive network access) with the control device.
The passive network access method based on the embodiment of the application is used as a network access device (controlled device) and only needs to approve legal control devices, so that multiple controlled devices and multiple control devices can be arranged in the same device networking.
For different control devices, the distribution network data control field broadcasted in the device networking stage can be distinguished. For example, the distribution network data broadcasted by the control device includes its own device address information. And when the controlled equipment receives the distribution network data, determining which control equipment needs to be subjected to distribution network credit granting according to the equipment address information of the control equipment in the distribution network data. In the control phase after networking, different control devices can be distinguished in the control field of the broadcasted control instruction. For example, the control command broadcast by the control device includes its own device address information. When the controlled equipment receives the control instruction, whether the control equipment is the legal control equipment of the controlled equipment is determined according to the equipment address information of the control equipment in the control instruction.
Further, for different controlled devices, the control phase after networking can be distinguished in the control field of the broadcasted control instruction. For example, after networking, the control command broadcast by the control device includes address information of the controlled device to which the control command is directed. When the controlled device receives the control instruction, whether the control instruction is the control instruction for the controlled device is judged according to the address information of the controlled device contained in the control instruction.
The passive network access method based on the embodiment of the application can complete grouping network access of multiple control devices and multiple controlled devices at one time, so that repeated operation of accessing a large number of devices one by one can be avoided.
For example, after the controlled device a starts the distribution network signal scanning, if the controlled device a continues the device network access operation, the distribution network data P of the control device B is receivedBAnd distribution network data P of control device CC(ii) a The controlled device A includes a control device B and a control device C in the controlled device AThereby completing the device networking of the controlled device a, the control device B and the control device C.
After the device network access operation is finished, if the controlled device a receives a control instruction of the control device B or the control device C, the controlled device a responds to the control instruction. Further, when the controlled device a receives the control instructions of the control device B or the control device C in sequence, the controlled device a responds to the control instructions in sequence according to the sequence of receiving the control instructions.
Or, after the controlled device a starts the distribution network signal scanning, if the controlled device a continues the device network access operation, the distribution network data P of the control device B may be receivedBHowever, the distribution network data P of the control device C is not receivedC(ii) a The controlled device a lists the controlling device B as the legal controlling device of the controlled device a. After the device network access operation is finished, if the controlled device a receives the control instruction of the control device B, the controlled device a responds to the control instruction. If the controlled apparatus a receives the control instruction of the control apparatus C, the controlled apparatus a does not respond to the control instruction.
For another example, when the controlled device a starts the distribution network signal scanning, the controlled device D also starts the distribution network signal scanning. If the controlled equipment A and the controlled equipment D both receive the distribution network data P of the control equipment B during the continuous period of the network access operation of the equipmentBAnd distribution network data P of control device CC(ii) a The controlled device A lists the control device B and the control device C into legal control devices of the controlled device A; the controlled device D includes the control device B and the control device C as legal control devices of the controlled device a, thereby completing device networking of the controlled device a, the controlled device D, the control device B, and the control device C.
Further, in an embodiment of the present application, to simplify a networking process, in a process that a controlled device performs a device access operation, a control device that synchronously performs a new device access operation is set as a legal control device of the controlled device. And, in order to ensure that the device network access operation and the new device access operation are indeed executed synchronously (ensure that the time window of the device network access operation of the controlled device matches the time window of the new device access operation of the control device), the controlled device performs the receiving times verification on the distribution network data received in the process of the device network access operation.
Specifically, in the network access operation of the equipment, the controlled equipment continuously scans the distribution network signals; in the new device access operation, the control device continuously broadcasts the distribution network data (broadcasts the distribution network data for a plurality of times in a circulating way). Then, if the device network access operation and the new device access operation are executed synchronously and the duration of the device network access operation and the duration of the new device access operation are the same, the controlled device receives all the distribution network data broadcasted by the control device in a circulating manner (further, in an actual application scenario, the controlled device receives most of the distribution network data broadcasted by the control device in the new device access operation in a circulating manner, considering that there is an error between the device network access operation and the new device access operation in a trigger time). Then, if the number of times of the distribution network data received by the controlled device during the execution of the device network access operation is counted, and when the number of times is consistent with the number of times of the distribution network data cyclically broadcasted by the control device during the new device access operation, it can be said that the device network access operation and the new device access operation are executed synchronously and the duration of the device network access operation and the duration of the new device access operation are the same.
Therefore, in an embodiment of the present application, after a new device access operation of the control device is triggered, the control device broadcasts and issues the broadcast pairing data for a preset duration. And after the equipment network access operation of the controlled equipment is triggered, the controlled equipment continuously scans the distribution network signal for a preset time.
Counting the times of distribution network data received by the controlled equipment in the process of executing the equipment network access operation, and when the times is greater than a preset threshold n (the preset threshold n is determined according to the times m of circularly broadcasting the distribution network data in the new equipment access operation of the control equipment, generally, n is less than m), judging that the control equipment broadcasting the distribution network data is legal control equipment of the controlled equipment.
Specifically, fig. 3 is a flowchart of an apparatus networking method according to an embodiment of the present application, and as shown in fig. 3, in an apparatus networking stage for a control apparatus B, a controlled apparatus a executes the following processes:
step 310, judging whether the device network access operation is triggered;
when the device network access operation is not triggered, returning to the step 310;
when the device network access operation is triggered, executing step 320;
step 320, starting distribution network signal scanning, wherein the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by the control equipment;
step 330, counting the received distribution network data PBThe number of times of (c);
step 340, judging whether the network access operation of the device is finished (for example, setting the duration of the network access operation of the device to be 10 seconds, and judging whether the starting time of the signal scanning of the distribution network lasts 10 seconds);
when the device network access operation is finished, executing step 350;
step 350, finishing the distribution network signal scanning;
step 360, judging that the distribution network data P is receivedBWhether the number of times is greater than a preset threshold n;
when receiving distribution network data PBIf the number of times is greater than the preset threshold n, go to step 370;
in step 370, control device B is listed as a legal control device.
Fig. 4 is a flowchart of a device networking method according to an embodiment of the present application, and as shown in fig. 4, in a device networking stage, a control device B executes the following processes:
step 410, judging whether the access operation of the new equipment is triggered;
when the access operation of the new device is not triggered, returning to step 210;
when the new device access operation is triggered, step 220 is executed;
step 420, broadcasting and releasing distribution network data;
step 430, judging whether the access operation of the new device is finished (for example, setting the duration of the access operation of the new device to be 10 seconds, and judging whether the broadcast distribution network data lasts for 10 seconds);
when the access operation of the new device is not finished, returning to the step 420;
when the new device access operation is finished, executing step 440;
step 440, stopping broadcasting and distributing the distribution network data.
Further, in the process of scanning the distribution network signals, if distribution network data from a plurality of different control devices exist, the distribution network data of each control device is respectively counted; respectively judging whether the number of times of receiving the distribution network data of each control device is greater than a preset threshold value n; and listing the control equipment corresponding to the distribution network data with the distribution network data receiving times larger than n into legal control equipment.
According to the method provided by the embodiment of the application, the matching performance of the time window of the new equipment access operation of the control equipment and the time window of the equipment access operation of the controlled equipment can be verified by counting the distribution network data of the control equipment, so that the networking safety is further improved.
Further, in an embodiment of the present application, after the device is networked, the control device in the device networking may add a new control device to the device networking through the control instruction. For example, when the controlled device a starts the distribution network signal scanning, the controlled device D also starts the distribution network signal scanning. If the controlled equipment A and the controlled equipment D both receive the distribution network data P of the control equipment B during the continuous period of the network access operation of the equipmentB(ii) a The controlled equipment A lists the control equipment B into legal control equipment of the controlled equipment A; and the controlled equipment D lists the control equipment B into legal control equipment of the controlled equipment A, so that equipment networking of the controlled equipment A, the controlled equipment D and the control equipment B is completed. After networking is finished, the control equipment B sends a control instruction Z to the controlled equipment A and the controlled equipment DBControl instruction ZBFor instructing the controlled device to list the controlling device C as a legitimate controlling device. Since the controlled device a and the controlled device D of the control device B are listed as legal control devices, the controlled device a and the controlled device D execute the control instruction ZBThe controlled device a and the controlled device D list the control device C as the legal control device.
Further, in an actual application scenario, after the controlled device and the control device are networked, the controlled device is not within the broadcast range of the control device. For example, the position of the controlled device or the control device is changed, or a barrier is added between the controlled device and the control device. For such situations, in an embodiment of the present application, a signal forwarding strategy is adopted. That is, when receiving broadcast data that the receiving party is not the controlled device in the device networking, the controlled device in the device networking forwards the received broadcast data in a broadcast mode, so that the broadcast data beyond the point-to-point broadcast range can be spread through the relay of one or more controlled devices.
Fig. 5 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application. As shown in fig. 5, the controlled device 501, the controlled device 502, and the controlled device 503 are powered on at time t, and the controlled device 501, the controlled device 502, and the controlled device 503 start distribution network signal scanning after being powered on. Meanwhile, the control device 511 starts broadcasting the broadcast pair code data at a frequency of 5 times/second at time t, and the broadcast range 521 of the control device 511 at time t covers the controlled device 501, the controlled device 502, and the controlled device 503.
The control device 511 continuously broadcasts and issues the broadcast pairing code data for 5 seconds, one of the broadcast pairing code data broadcasts and issues 25 times, and the preset threshold n is set to be 20.
And the controlled device 501, the controlled device 502 and the controlled device 503 start the distribution network signal scanning for 5 seconds after being powered on. For the controlled device 501, the controlled device 502, and the controlled device 503, the broadcast pair code data broadcast by the control device 511 is valid pair code data, and the number of times that the controlled device 501, the controlled device 502, and the controlled device 503 receive the broadcast pair code data exceeds 20 times in the process of starting the distribution network signal scanning for 5 seconds, so that the controlled device 501, the controlled device 502, and the controlled device 503 all list the control device 511 as a legal control device.
The control device 511 broadcasts and issues a control instruction Z for the controlled device 501501
The controlled device 501 receives the control instruction Z501Due to control command Z501Sender control ofThe device 511 is a legal control device of the controlled device 501, and the control instruction Z501Is the controlled device 501, and therefore, the controlled device 501 executes the control instruction Z501
The controlled device 502 receives the control instruction Z501Due to control command Z501Is a legal control device of the controlled device 502, and the control instruction Z501Is not the controlled device 502, therefore, the controlled device 502 forwards the control instruction Z501The controlled device 502 broadcasts the control instruction Z501
The controlled device 503 receives the control instruction Z501Due to control command Z501Is a legal control device of the controlled device 503, and the control instruction Z501Is not the controlled device 503, therefore, the controlled device 503 forwards the control instruction Z501The controlled device 503 broadcasts the control command Z501
Further, to avoid repeated forwarding of control commands, in an embodiment of the present application, the same control command can be forwarded only once for a single controlled device.
Specifically, the controlled device 502 broadcasts (forwards) the control instruction Z501Thereafter, the controlled device 503 receives the control instruction Z broadcast (forwarded) by the controlled device 502501. At this time, since the controlled device 503 is receiving the control instruction Z broadcast by the control device 511501Control instruction Z having been forwarded once501Therefore, the controlled apparatus 503 receives the control instruction Z broadcast (forwarded) by the controlled apparatus 502501Thereafter, the control command Z is not broadcast (forwarded) again501
Likewise, the controlled device 503 broadcasts (forwards) the control instruction Z501Thereafter, the controlled device 502 receives the control instruction Z broadcast (forwarded) by the controlled device 503501. At this time, since the controlled device 502 is receiving the control instruction Z broadcast by the control device 511501Control instruction Z having been forwarded once501Therefore, the controlled apparatus 502 receives the control instruction broadcasted (forwarded) by the controlled apparatus 503Z501Thereafter, the control command Z is not broadcast (forwarded) again501
Further, to avoid repeated execution of control instructions, the same control instruction is executed only once for a single controlled device.
Specifically, the controlled device 501 receives the control instruction Z broadcast by the control device 511501Then, the control instruction Z broadcasted (forwarded) by the controlled device 502 is received501And the controlled device 503 broadcasts (forwards) the control instruction Z501. At this time, the controlled apparatus 501 executes the control instruction Z only once501
Further, the controlled device also forwards data broadcast by other controlled devices. For example, assume control instruction Z501A status query instruction. As shown in fig. 6, the controlled device 501 receives the control instruction Z501Post-broadcast publishing of its own device state information S501
The controlled device 502 receives the device state information S501Due to device status information S501Is a legal control device of the controlled device 502, and therefore, the controlled device 502 forwards the device state information S501The controlled device 502 broadcasts device status information S501
The controlled device 503 receives the device state information S501Due to device status information S501Is a legal control device of the controlled device 503, and therefore, the controlled device 503 forwards the device state information S501The controlled device 503 broadcasts the device status information S501
The control device 511 receives the device state information S501Since the control device 511 may receive the device state information S broadcast by the controlled device 501501And device status information S forwarded by the controlled devices 502, 503501To avoid repetitive operations, the control device 511 responds only to the device status information S received first501Discarding the device status information S received subsequently501
Further, after the controlled device 501, the controlled device 502, and the controlled device 503 list the control device 511 as a legal control device, assuming that the location of the control device 511 has changed, as shown in fig. 7, the broadcast range of the control device 511 after the location change is a broadcast range 522, and the broadcast range 522 covers the controlled device 502 and the controlled device 503.
The control device 511 broadcasts and issues a control instruction Z for the controlled device 501502
The controlled device 502 receives the control instruction Z502Due to control command Z502Is a legal control device of the controlled device 502, and the control instruction Z502Is not the controlled device 502, therefore, the controlled device 502 forwards the control instruction Z502The controlled device 502 broadcasts the control instruction Z502
The controlled device 503 receives the control instruction Z502Due to control command Z502Is a legal control device of the controlled device 503, and the control instruction Z502Is not the controlled device 503, therefore, the controlled device 503 forwards the control instruction Z502The controlled device 503 broadcasts the control command Z502
The controlled device 501 cannot receive the control instruction Z broadcast by the control device 511502However, the controlled device 501 may receive the control instruction Z forwarded (broadcast) by the controlled devices 502, 503502Due to control command Z502Is a legal control device of the controlled device 501, and the control instruction Z502Is the controlled device 501, and therefore, the controlled device 501 executes the control instruction Z502
Suppose control instruction Z502A status query instruction. As shown in fig. 8, the controlled device 501 broadcasts the distribution device status information S502
The controlled device 502 receives the device state information S502Due to device status information S502Is a legal control device of the controlled device 502, and therefore, the controlled device 502 forwards the device state information S502Is controlled byDevice 502 broadcasts device status information S502
The controlled device 503 receives the device state information S502Due to device status information S502Is a legal control device of the controlled device 503, and therefore, the controlled device 503 forwards the device state information S502The controlled device 503 broadcasts the device status information S502
The control device 511 cannot receive the device state information S broadcast by the controlled device 501502However, the control device 511 may receive the device state information S forwarded by the controlled devices 502, 503502
Fig. 9 is a schematic diagram illustrating an application scenario of device networking according to an embodiment of the present application. As shown in fig. 9, the controlled device 601, the controlled device 602, and the controlled device 603 are powered on at time t, and the controlled device 601, the controlled device 602, and the controlled device 603 start the distribution network signal scanning after being powered on. Meanwhile, the control apparatus 611 broadcasts the broadcast pair code data at a frequency of 5 times/second starting at time t, and the broadcast range 621 of the control apparatus 611 at time t covers the controlled apparatus 601, the controlled apparatus 602, and the controlled apparatus 603.
The control device 611 continuously broadcasts and issues the broadcast pairing code data for 5 seconds, wherein the broadcast pairing code data is broadcasted and issued 25 times in total, and the preset threshold n is set to be 20.
The controlled device 601, the controlled device 602 and the controlled device 603 start the distribution network signal scanning for 5 seconds after being powered on. For the controlled device 601, the controlled device 602, and the controlled device 603, the broadcast pair code data broadcast and issued by the control device 611 is valid pair code data, and the number of times that the controlled device 601, the controlled device 602, and the controlled device 603 receive the broadcast pair code data exceeds 20 times in the process of starting the distribution network signal scanning for 5 seconds, so that the controlled device 601, the controlled device 602, and the controlled device 603 all list the control device 611 as a legal control device.
The control device 611 broadcasts and issues a control instruction Z for the control device 612601(control instruction Z)601For instructing the controlled device to authorize the control device 612 to credit):
the controlled device 601 receives the control instruction Z601Due to control command Z601The sender controlling device 611 is a legal controlling device of the controlled device 601, and therefore, the controlled device 601 lists the controlling device 612 as a legal controlling device;
the controlled device 602 receives the control instruction Z601Due to control command Z601The sender controlling device 611 is a legal controlling device of the controlled device 602, and therefore, the controlled device 602 lists the controlling device 612 as a legal controlling device;
the controlled device 603 receives the control instruction Z601Due to control command Z601The sender controlling device 611 is a legal controlling device of the controlled device 603, and therefore, the controlled device 603 lists the controlling device 612 as a legal controlling device.
The broadcast range 622 of the control device 612 covers the controlled device 602 as well as the controlled device 603. Broadcasting the issue control command Z at the control device 611601Thereafter, the control device 612 broadcasts and issues a control instruction Z for the controlled device 601602
The controlled device 602 receives the control instruction Z602Due to control command Z602Is a legal control device of the controlled device 602, and the control instruction Z602Is not the controlled device 602, therefore, the controlled device 602 forwards the control instruction Z602The controlled device 602 broadcasts the control instruction Z602
The controlled device 603 receives the control instruction Z602Due to control command Z602Is a legal control device of the controlled device 603, and the control instruction Z602Is not the controlled device 603, therefore, the controlled device 603 forwards the control instruction Z602The controlled device 603 broadcasts a control instruction Z602
The controlled device 601 cannot receive the control instruction Z broadcast by the control device 612602However, the controlled device 601 may receive the control instruction Z forwarded (broadcast) by the controlled devices 602 and 603602Due to control of the fingerLet Z602Is a legal control device of the controlled device 601, and the control instruction Z602Is the controlled device 601, and therefore, the controlled device 601 executes the control instruction Z602
Suppose control instruction Z602A status query instruction. As shown in fig. 10, the controlled device 601 broadcasts distribution device status information S602
The controlled device 602 receives the device status information S602Due to device status information S602Is a legal control device of the controlled device 602, and therefore, the controlled device 602 forwards the device state information S602The controlled device 602 broadcasts device status information S602
The controlled device 603 receives the device status information S602Due to device status information S602Is a legal control device of the controlled device 603, and therefore, the controlled device 603 forwards the device state information S602The controlled device 603 broadcasts device status information S602
The controlling device 611 cannot receive the device status information S broadcast by the controlled device 601602However, the control device 612 may receive the device status information S forwarded by the controlled devices 502, 503602
Further, in an embodiment of the present application, in order to improve the security of the network configuration, the network configuration data includes verification information, the controlled device verifies the verification information in the network configuration data after receiving the network configuration data, and performs network configuration authorization on the control device after the verification is passed.
For example, in an embodiment of the present application, the distribution network data includes an authorization code, the authorization code in the distribution network data is analyzed after the controlled device receives the distribution network data, and when the authorization code in the distribution network data is consistent with the authorization code pre-stored in the controlled device, it is stated that the control device broadcasting and issuing the distribution network data is a legal control device of the controlled device, and at this time, the controlled device lists the control device broadcasting and issuing the distribution network data into the legal control device of the controlled device.
For another example, in an embodiment of the present application, the distribution network data is broadcast pairing code data, after the controlled device receives the broadcast pairing code data, it is determined whether the broadcast pairing code data is valid, if the broadcast pairing code data is valid, the number of times of receiving the broadcast pairing code data in a preset time period is counted, if the number of times is greater than n, it is stated that the control device which broadcasts and issues the distribution network data is a legal control device of the controlled device, and at this time, the controlled device lists the control device which broadcasts and issues the distribution network data into the legal control device of the controlled device.
Further, in an embodiment of the present application, to implement stable networking, the distribution network data further includes network setting parameters, and after the controlled device lists the control device broadcasting and issuing the distribution network data into a legal control device of the controlled device, the controlled device sets a network according to the network setting parameters in the distribution network data to receive a control instruction subsequently sent by the control device.
Further, according to the method of the embodiment of the application, the controlled device and the control device can realize device networking and device control after device networking based on wireless data broadcasting. In an embodiment of the present application, data broadcasting and receiving of broadcast data of a control device and a controlled device are implemented based on a Bluetooth Low Energy (BLE) technology. Further, in an embodiment of the application, the data plane of the BLE protocol is redefined, the maximum length of each data packet is 31 bytes, and no segmented data packet exists, so that long packet data in the original BLE protocol is sacrificed, but control response instruction sending of corresponding equipment is not affected, control instruction data is intensively simplified, and application functions can be rapidly developed in a simple application scene.
Specifically, in an embodiment of the present application, a load (payload) data structure of a BLE broadcast protocol of a device networking is shown in the following table:
Figure BDA0002870266960000121
TABLE 1
In table 1, vendor, group, and param are encrypted fields, and other fields are plaintext.
Further, in the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by an accessing party. A digital device is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Therefore, according to the method of the present application, the present application also proposes an apparatus for device networking, the apparatus being built in a controlled device, the apparatus comprising:
the signal scanning module is used for controlling the current equipment to start distribution network signal scanning when equipment network access operation of the current equipment is triggered, wherein the current equipment is controlled equipment, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by the control equipment;
and the network access module is used for performing network distribution signaling on the current equipment for the control equipment according to the network distribution data when the current equipment receives the network distribution data so as to enable the current equipment to access the equipment network to which the control equipment belongs.
Correspondingly, the present application also provides an apparatus for networking devices, where the apparatus is built in a control device, and the apparatus includes:
and the broadcasting module is used for controlling the current equipment to broadcast and release the distribution network data when the access operation of the new equipment is triggered, wherein the current equipment is control equipment, and the distribution network data is used for enabling the controlled equipment receiving the distribution network data to perform distribution network signaling for the current equipment according to the distribution network data.
In the description of the embodiments of the present application, for convenience of description, the device is described as being divided into various modules by functions, the division of each module is only a division of logic functions, and the functions of each module may be implemented in one or more pieces of software and/or hardware when the embodiments of the present application are implemented.
Specifically, the apparatuses proposed in the embodiments of the present application may be wholly or partially integrated into one physical entity or may be physically separated when actually implemented. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling by the processing element in software, and part of the modules can be realized in the form of hardware. For example, the detection module may be a separate processing element, or may be integrated into a chip of the electronic device. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these modules may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
An embodiment of the present application further provides a communication chip, where the communication chip is installed on a controlled device, and the communication chip includes:
a processor for executing computer program instructions stored in the memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control the controlled device to perform the method steps of the embodiments of the present application.
An embodiment of the present application further provides a communication chip, where the communication chip is installed on the control device, and the communication chip includes:
a processor for executing computer program instructions stored in the memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control the control device to perform the method steps as described in embodiments of the present application.
An embodiment of the present application also proposes an electronic device, which is a controlled device, the electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps as described in the embodiments of the present application.
An embodiment of the present application also proposes an electronic device, which is a control device, the electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps as described in the embodiments of the present application.
Specifically, in an embodiment of the present application, the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the apparatus, cause the apparatus to perform the method steps described in the embodiment of the present application.
Specifically, in an embodiment of the present application, a processor of the electronic device may be an on-chip device SOC, and the processor may include a Central Processing Unit (CPU), and may further include other types of processors. Specifically, in an embodiment of the present application, the processor of the electronic device may be a PWM control chip.
Specifically, in an embodiment of the present application, the processors may include, for example, a CPU, a DSP, a microcontroller, or a digital Signal processor, and may further include a GPU, an embedded Neural-Network Processor (NPU), and an Image Signal Processing (ISP), and the processors may further include necessary hardware accelerators or logic Processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program according to the present application. Further, the processor may have the functionality to operate one or more software programs, which may be stored in the storage medium.
Specifically, in an embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), another type of static storage device capable of storing static information and instructions, a Random Access Memory (RAM), or another type of dynamic storage device capable of storing information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or another optical disc storage, an optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a blu-ray disc, etc.), a magnetic disc storage medium, or another magnetic storage device, or any computer readable 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.
In particular, in an embodiment of the present application, the processor and the memory may be combined into a processing device, and more generally, independent components, and the processor is configured to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In particular implementations, the memory may be integrated within the processor or may be separate from the processor.
Further, the apparatuses, devices, and modules described in the embodiments of the present application may be implemented by a computer chip or an entity, or by a product with certain functions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application.
Specifically, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided by the embodiment of the present application.
An embodiment of the present application further provides a computer program product, which includes a computer program, when it runs on a computer, causes the computer to execute the method provided by the embodiment of the present application.
The embodiments herein are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments herein. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the embodiments of the present application, "at least one" means one or more, "and" a plurality "means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
In the embodiments of the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of electronic hardware and computer software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for networking devices, comprising:
starting distribution network signal scanning when equipment network access operation of current equipment is triggered, wherein the current equipment is controlled equipment, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by control equipment;
and when the distribution network data is received, carrying out distribution network credit authorization on the current equipment for the control equipment according to the distribution network data so as to access an equipment network to which the control equipment belongs.
2. The method of claim 1, wherein when the distribution network data is received, performing distribution network trust for the control device on the current device according to the distribution network data comprises:
counting the times of the distribution network data received in a preset time length after the distribution network signal scanning starts;
and when the times of receiving the distribution network data in the preset time length are larger than a preset threshold value, listing the control equipment into legal control equipment.
3. The method of claim 2, further comprising:
and when the distribution network data is not received in the preset time after the distribution network signal scanning starts, or the number of times of receiving the distribution network data in the preset time after the distribution network signal scanning starts is less than or equal to the preset threshold value, the network access operation of the equipment fails.
4. The method of claim 1, wherein the distribution network data is broadcast pairing code data;
when the distribution network data is received, according to the distribution network data, distribution network credit is given to the control equipment on the current equipment, and the method comprises the following steps:
and judging whether the broadcast code matching data is valid, and listing the control equipment into legal control equipment when the broadcast code matching data is valid.
5. The method according to any one of claims 1 to 4, wherein the device network access operation of the current device is triggered when the current device is powered on.
6. A method for networking devices, comprising:
and broadcasting and releasing distribution network data when the access operation of the new equipment is triggered, wherein the current equipment is control equipment, and the distribution network data is used for enabling the controlled equipment receiving the distribution network data to carry out distribution network signaling on the current equipment according to the distribution network data.
7. The method of claim 6, wherein broadcasting the distribution network data when the new device access operation is triggered comprises:
and broadcasting and releasing the distribution network data for a preset duration after the access operation of the new equipment is triggered.
8. An apparatus for networking a device, comprising:
the device comprises a signal scanning module, a network switching module and a network switching module, wherein the signal scanning module is used for controlling the current device to start distribution network signal scanning when the device network access operation of the current device is triggered, the current device is a controlled device, and the distribution network signal scanning is used for searching and receiving distribution network data broadcast and sent by the control device;
and the network access module is used for carrying out network distribution signaling on the current equipment for the control equipment according to the network distribution data when the current equipment receives the network distribution data so as to enable the current equipment to access the equipment network to which the control equipment belongs.
9. An apparatus for networking a device, comprising:
and the broadcasting module is used for controlling the current equipment to broadcast and release distribution network data when the access operation of the new equipment is triggered, wherein the current equipment is control equipment, and the distribution network data is used for enabling the controlled equipment receiving the distribution network data to carry out distribution network signaling on the current equipment according to the distribution network data.
10. A communication chip, wherein the communication chip comprises:
a processor for executing computer program instructions stored in a memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control a controlled device to perform the method steps of any of claims 1-5.
11. A communication chip, wherein the communication chip comprises:
a processor for executing computer program instructions stored in a memory, wherein the computer program instructions, when executed by the processor, trigger the communication chip to control the control device to perform the method steps of claim 6 or 7.
12. An electronic device, characterized in that the electronic device is a controlled device, the electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps of any of claims 1-5.
13. An electronic device, characterized in that the electronic device is a control device, the electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to carry out the method steps of claim 6 or 7.
14. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1-7.
CN202011595723.2A 2020-12-29 2020-12-29 Equipment networking method and device and electronic equipment Active CN112738783B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011595723.2A CN112738783B (en) 2020-12-29 2020-12-29 Equipment networking method and device and electronic equipment
PCT/CN2021/131242 WO2022142825A1 (en) 2020-12-29 2021-11-17 Device networking method and apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011595723.2A CN112738783B (en) 2020-12-29 2020-12-29 Equipment networking method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112738783A true CN112738783A (en) 2021-04-30
CN112738783B CN112738783B (en) 2023-09-15

Family

ID=75610630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011595723.2A Active CN112738783B (en) 2020-12-29 2020-12-29 Equipment networking method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112738783B (en)
WO (1) WO2022142825A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660127A (en) * 2021-08-19 2021-11-16 广东九联科技股份有限公司 Networking control method, device and equipment in networking based on easy mesh
WO2022142825A1 (en) * 2020-12-29 2022-07-07 锐迪科微电子科技(上海)有限公司 Device networking method and apparatus and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396921B (en) * 2022-08-23 2023-08-04 深圳市慎勇科技有限公司 Method for rapidly distributing network through digital display remote controller

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2164021A1 (en) * 2008-08-25 2010-03-17 SEARCHTEQ GmbH Method for recognising unwanted access and network server device
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
CN103532803A (en) * 2013-10-12 2014-01-22 广东美的制冷设备有限公司 Networking method and system for Internet of Things
CN105446148A (en) * 2015-12-04 2016-03-30 美的集团股份有限公司 Network distribution method for household electrical appliance, household electrical appliance and mobile terminal
US20160149930A1 (en) * 2014-11-21 2016-05-26 Symantec Corporation Systems and methods for protecting against unauthorized network intrusions
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN107071793A (en) * 2017-06-21 2017-08-18 广东美的制冷设备有限公司 WiFi equipment match somebody with somebody network method and relevant device
CN109191801A (en) * 2018-11-02 2019-01-11 北京首钢股份有限公司 A kind of limiting condition monitoring method and device
CN110099374A (en) * 2019-04-29 2019-08-06 广州力控智电信息科技有限公司 The network-building method of a kind of electronic equipment
CN110402564A (en) * 2019-05-08 2019-11-01 调调(北京)科技有限公司 Network-building method and device and lamp light control system
JP2020022009A (en) * 2018-07-30 2020-02-06 カシオ計算機株式会社 Communication device, scanner terminal, communication system, communication method, and program
CN110768842A (en) * 2019-10-30 2020-02-07 吴新胜 Intelligent home communication safety management and control method, system and storage medium
CN110856121A (en) * 2019-11-14 2020-02-28 深圳和而泰家居在线网络科技有限公司 Internet of things network distribution method and system, network distribution equipment and Internet of things equipment
CN111787540A (en) * 2020-06-29 2020-10-16 百度在线网络技术(北京)有限公司 Method and device for accessing Internet of things, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587290B1 (en) * 2004-04-16 2013-07-10 Broadcom Corporation Providing automatic format conversion via an access gateway in a home
WO2013162196A1 (en) * 2012-04-27 2013-10-31 Lg Electronics Inc. Method and apparatus for establishing device-to-device connection in wireless communication system
CN108391238A (en) * 2018-02-01 2018-08-10 乐鑫信息科技(上海)有限公司 Wireless MESH network matches network method
CN112738783B (en) * 2020-12-29 2023-09-15 锐迪科微电子科技(上海)有限公司 Equipment networking method and device and electronic equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2164021A1 (en) * 2008-08-25 2010-03-17 SEARCHTEQ GmbH Method for recognising unwanted access and network server device
CN103248543A (en) * 2013-04-24 2013-08-14 华为技术有限公司 Code verification method, code verification control equipment and code verification equipment
CN103532803A (en) * 2013-10-12 2014-01-22 广东美的制冷设备有限公司 Networking method and system for Internet of Things
US20160149930A1 (en) * 2014-11-21 2016-05-26 Symantec Corporation Systems and methods for protecting against unauthorized network intrusions
CN105446148A (en) * 2015-12-04 2016-03-30 美的集团股份有限公司 Network distribution method for household electrical appliance, household electrical appliance and mobile terminal
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method
CN107071793A (en) * 2017-06-21 2017-08-18 广东美的制冷设备有限公司 WiFi equipment match somebody with somebody network method and relevant device
JP2020022009A (en) * 2018-07-30 2020-02-06 カシオ計算機株式会社 Communication device, scanner terminal, communication system, communication method, and program
CN109191801A (en) * 2018-11-02 2019-01-11 北京首钢股份有限公司 A kind of limiting condition monitoring method and device
CN110099374A (en) * 2019-04-29 2019-08-06 广州力控智电信息科技有限公司 The network-building method of a kind of electronic equipment
CN110402564A (en) * 2019-05-08 2019-11-01 调调(北京)科技有限公司 Network-building method and device and lamp light control system
CN110768842A (en) * 2019-10-30 2020-02-07 吴新胜 Intelligent home communication safety management and control method, system and storage medium
CN110856121A (en) * 2019-11-14 2020-02-28 深圳和而泰家居在线网络科技有限公司 Internet of things network distribution method and system, network distribution equipment and Internet of things equipment
CN111787540A (en) * 2020-06-29 2020-10-16 百度在线网络技术(北京)有限公司 Method and device for accessing Internet of things, electronic equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘伟;姜童;寇登峰;: "一种新型的信息网络安全接入认证模型", 火力与指挥控制, no. 06 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022142825A1 (en) * 2020-12-29 2022-07-07 锐迪科微电子科技(上海)有限公司 Device networking method and apparatus and electronic device
CN113660127A (en) * 2021-08-19 2021-11-16 广东九联科技股份有限公司 Networking control method, device and equipment in networking based on easy mesh
CN113660127B (en) * 2021-08-19 2024-02-20 广东九联科技股份有限公司 Networking control method, device and equipment based on easy mesh networking

Also Published As

Publication number Publication date
CN112738783B (en) 2023-09-15
WO2022142825A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
CN112738783A (en) Equipment networking method and device and electronic equipment
KR20090053811A (en) Remote feature control of a mobile device
Oka et al. Survey of vehicle IoT bluetooth devices
CN109639692B (en) Offline login method, device, equipment, system and storage medium
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
US10776474B2 (en) Token execution system for access control
CN108183843A (en) Sharing method, server and the computer readable storage medium of intelligent scene pattern
KR20140129149A (en) Methods and apparatus for secure updates to persistent data in a near field communication controller
WO2014100981A1 (en) Lookup table creation method and query method, and controller, forwarding device and system therefor
CN109219028B (en) Equivalent device Bluetooth communication method and device based on cloud
US8989380B1 (en) Controlling communication of a wireless communication device
CN109218994B (en) Equivalent equipment Bluetooth communication method and device based on gateway
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
CN113132958B (en) Fusion networking method, device, system and computer readable storage medium
WO2021027436A1 (en) Method for controlling device, and server
CN109151787B (en) Bluetooth communication method and device based on cloud scheduling
US11533228B2 (en) Method for information configuration, apparatus, electronic device, storage medium and program product
JP2020009144A (en) Information processor, mobile object, information processing method, and program
CN109151786B (en) Bluetooth communication method and device based on gateway scheduling connection
CN109089250B (en) Bluetooth communication method and device based on gateway scheduling
CN115002780A (en) Method and device for connecting somatosensory device and terminal and computer-readable storage medium
CN109597641B (en) Object behavior control method, device, terminal and storage medium
CN109309965B (en) Bluetooth communication method and device based on shared channel controlled by cloud
CN112188486A (en) Household appliance and networking method thereof, local area network system and storage medium
CN111836339B (en) Network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant