Nothing Special   »   [go: up one dir, main page]

CN117278525A - Internet of things equipment group control method and device based on orthogonal address codes - Google Patents

Internet of things equipment group control method and device based on orthogonal address codes Download PDF

Info

Publication number
CN117278525A
CN117278525A CN202311348646.4A CN202311348646A CN117278525A CN 117278525 A CN117278525 A CN 117278525A CN 202311348646 A CN202311348646 A CN 202311348646A CN 117278525 A CN117278525 A CN 117278525A
Authority
CN
China
Prior art keywords
internet
address
orthogonal
control instruction
things
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
CN202311348646.4A
Other languages
Chinese (zh)
Other versions
CN117278525B (en
Inventor
董志宇
王魁
初旭阳
张波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Siteshun Technology Co ltd
Original Assignee
Shenzhen Siteshun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siteshun Technology Co ltd filed Critical Shenzhen Siteshun Technology Co ltd
Priority to CN202311348646.4A priority Critical patent/CN117278525B/en
Publication of CN117278525A publication Critical patent/CN117278525A/en
Application granted granted Critical
Publication of CN117278525B publication Critical patent/CN117278525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an Internet of things equipment group control method and device based on orthogonal address codes, which comprises the following steps: networking equipment; an orthogonal code allocation, comprising: allocating orthogonal address codes conforming to an orthogonal code specification to the equipment based on a preset nonspecific orthogonal code generation algorithm; a multi-address control instruction generation, comprising: the control center generates a multi-address control instruction based on the addresses of a plurality of Internet of things devices to be controlled, and the multi-address control instruction is sent in groups; an instruction identification and execution determination, comprising: the internet of things equipment of the corresponding equipment group recognizes the multi-address control instruction, judges whether the relation between the multi-address control instruction and the orthogonal address code of the internet of things equipment meets the preset condition, and if so, the internet of things equipment executes the action corresponding to the multi-address control instruction; if not, the Internet of things equipment does not execute the action corresponding to the multi-address control instruction. The method and the device have the effect of improving the real-time performance of multi-Internet of things equipment control.

Description

Internet of things equipment group control method and device based on orthogonal address codes
Technical Field
The application relates to the technical field of Internet of things equipment control, in particular to an Internet of things equipment group control method and device based on orthogonal address codes.
Background
With the increasingly wide application of the internet of things technology, the internet of things equipment is increasingly increased, so that the following conditions are also increasingly increased:
at present, when a plurality of internet of things devices need to execute the same control action, the internet of things platform is generally required to send control instructions to the devices one by one to realize control, and the links of waiting for the devices to execute confirmation and the like are also required to be controlled one by sending the instructions, so that when the number of the internet of things devices is large, long time loss is often caused, and the real-time performance of the device control is affected.
Aiming at the problems, the application provides a new technical scheme.
Disclosure of Invention
In order to improve the real-time performance of multi-Internet-of-things equipment control, the application provides an Internet-of-things equipment group control method and device based on orthogonal address codes.
In a first aspect, the present application provides a method for controlling an internet of things device group based on orthogonal address codes, which adopts the following technical scheme:
an Internet of things equipment group control method based on orthogonal address codes comprises the following steps:
a device networking, comprising: networking a plurality of Internet of things devices, and grouping according to grouping conditions predefined by a user to obtain a plurality of device groups;
an orthogonal code allocation, comprising: allocating orthogonal address codes conforming to an orthogonal code specification to the equipment based on a preset nonspecific orthogonal code generation algorithm;
a multi-address control instruction generation, comprising: the control center generates a multi-address control instruction based on the addresses of a plurality of Internet of things devices to be controlled, and the multi-address control instruction is sent in groups;
an instruction identification and execution determination, comprising: the internet of things equipment of the corresponding equipment group recognizes the multi-address control instruction, judges whether the relation between the multi-address control instruction and the orthogonal address code of the internet of things equipment meets the preset condition, and if so, the internet of things equipment executes the action corresponding to the multi-address control instruction; if not, the Internet of things equipment does not execute the action corresponding to the multi-address control instruction.
Optionally, the nonspecific orthogonal code generation algorithm includes: the device address is processed by a walsh algorithm or an orthogonal code construction method and converted into a binary code.
Optionally, the orthogonal address code conforming to the orthogonal code specification includes: the result of AND logic operation of the orthogonal address codes of any two or more devices in the same device group is not equal to the whole 1 sequence, and the number of 1 in the orthogonal address codes is equal.
Optionally, the control center generates a multi-address control instruction based on addresses of a plurality of internet of things devices to be controlled, which includes: and performing AND logic operation on the plurality of Internet of things devices to generate a new address code, attaching instruction data to be sent to the address code, and taking the formed data packet as a multi-address control instruction.
Optionally, the multi-address control instruction performs group sending, which includes: and the system is distributed to the whole equipment in a broadcast or multicast mode.
Optionally, the determining whether the relation between the multiple address control instruction and the orthogonal address code of the multiple address control instruction meets a preset condition includes: and performing OR logic operation on the orthogonal address code of the local Internet of things equipment and the address code in the multi-address control instruction, and judging whether the result is the same as the orthogonal address code of the local Internet of things equipment.
In a second aspect, the present application provides an internet of things device group control apparatus based on orthogonal address codes, which adopts the following technical scheme:
an internet of things device group control device based on orthogonal address codes comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and execute any one of the internet of things device group control methods based on the orthogonal address codes.
In summary, the present application includes at least one of the following beneficial technical effects: the method has the characteristics of simple principle, small operand, high operation speed and the like, multiple access communication is performed through orthogonal address coding, simultaneous issuing of multiple equipment control instructions can be realized through a single control instruction, and because the communication transmission time is often far longer than the binary calculation time performed by a computer, compared with the existing point-to-point communication mode, the method can greatly improve the issuing efficiency of the control instructions, reduce redundant communication instructions and improve the control instantaneity of group equipment.
Drawings
FIG. 1 is a schematic of the main flow of the method of the present application.
Detailed Description
The present application is described in further detail below in conjunction with fig. 1.
The embodiment of the application discloses an Internet of things equipment group control method based on orthogonal address codes.
Referring to fig. 1, the method for controlling the group of the internet of things devices based on the orthogonal address codes includes:
1) Networking equipment;
2) Orthogonal code allocation;
3) Generating a multi-address control instruction; the method comprises the steps of,
4) Instruction identification and execution determination.
It should be noted that both of the above 2) and 3) are not strictly sequential steps, but 2) may be included in the process of 3).
With respect to 1), device networking, comprising: and networking a plurality of Internet of things devices, and grouping according to grouping conditions predefined by a user to obtain a plurality of device groups.
It can be understood that the implementation of the application comprises an internet of things control platform (control center) and internet of things equipment, and the internet of things control platform can perform network communication with the internet of things equipment in a broadcast or multicast mode; the communication modes of the Internet of things equipment and the Internet of things control platform include, but are not limited to, various communication modes such as TCP/IP network, message queue and the like.
With respect to 2), orthogonal code allocation, comprising: and allocating orthogonal address codes conforming to an orthogonal code specification to the equipment based on a preset nonspecific orthogonal code generation algorithm.
Specifically:
an unspecified orthogonal code generation algorithm, comprising: the device address is processed by a walsh algorithm or an orthogonal code construction method (refer to the patent of CN 200710090508) and converted into a binary code.
An orthogonal address code conforming to an orthogonal code specification, comprising: the result of AND logic operation of the orthogonal address codes of any two or more devices in the same device group is not equal to the whole 1 sequence, and the number of 1 in the orthogonal address codes is equal.
Encoded with the orthogonal address of device a as: 1101, the orthogonal address code for device B is: 1011 as an example; the result of the AND relation operation of the two is: 1001.
it should be noted that binary bit operations include a variety of operations, and the main binary operations referred to herein are binary operations, that is, comparing and operating two binary data bit by bit, and common rules include:
1. AND (3) AND operation: the numbers on the same digit of both numbers are 1 and result in 1, otherwise 0, for example: 10 AND 11=10, again as: 10 AND 01=00.
2. OR operation OR: the numbers on the same digit of two numbers will result in 1 if any 1 is 1 and 0 if both are 0, for example: 10 OR 11=11, and further as: 10 AND 01=11.
With respect to 3), multi-address control instruction generation, comprising: and enabling the control center to generate a multi-address control instruction based on the addresses of the plurality of Internet of things devices to be controlled, and carrying out mass transmission on the multi-address control instruction.
Specifically:
the control center is enabled to generate a multi-address control instruction based on the addresses of a plurality of internet of things devices to be controlled, and the multi-address control instruction comprises: and performing AND logic operation on the plurality of Internet of things devices to generate a new address code, attaching instruction data to be sent to the address code, and taking the formed data packet as a multi-address control instruction.
A multi-address control instruction for group sending, comprising: and the system is distributed to the whole equipment in a broadcast or multicast mode.
Regarding 4), instruction recognition and execution determination, which includes:
the internet of things equipment of the corresponding equipment group is enabled to recognize the multi-address control instruction (namely, in the analysis process, the data packet is re-split into address and instruction data);
judging whether the relation between the multi-address control instruction and the orthogonal address code of the multi-address control instruction accords with a preset condition, and if so, executing actions corresponding to the multi-address control instruction by the internet of things equipment; if not, the Internet of things equipment does not execute the action corresponding to the multi-address control instruction.
The conditions for the above determination are defined by the staff: the results of the exclusive or operation and the or operation may be compared and specifically defined.
In one implementation of the method, taking an or as an example:
judging whether the relation between the multi-address control instruction and the orthogonal address code of the multi-address control instruction accords with a preset condition or not, comprising the following steps: and performing OR logic operation on the orthogonal address code of the local Internet of things equipment and the address code in the multi-address control instruction, and judging whether the result is the same as the orthogonal address code of the local Internet of things equipment.
If the same, the command is sent to the equipment, and then the action is executed, otherwise, the command is judged not to be sent to the equipment, and the equipment does not execute the action.
In summary, the method comprises the following steps: the method has the characteristics of simple principle, small operand, high operation speed and the like, multiple access communication is performed through orthogonal address coding, simultaneous issuing of multiple equipment control instructions can be realized through a single control instruction, and because the communication transmission time is often far longer than the binary calculation time performed by a computer, compared with the existing point-to-point communication mode, the method can greatly improve the issuing efficiency of the control instructions, reduce redundant communication instructions and improve the control instantaneity of group equipment.
The embodiment of the application also discloses an Internet of things equipment group control device based on the orthogonal address codes.
The Internet of things equipment group control device based on the orthogonal address codes comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and execute any one of the Internet of things equipment group control methods based on the orthogonal address codes.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (7)

1. The group control method of the Internet of things equipment based on the orthogonal address codes is characterized by comprising the following steps of:
a device networking, comprising: networking a plurality of Internet of things devices, and grouping according to grouping conditions predefined by a user to obtain a plurality of device groups;
an orthogonal code allocation, comprising: allocating orthogonal address codes conforming to an orthogonal code specification to the equipment based on a preset nonspecific orthogonal code generation algorithm;
a multi-address control instruction generation, comprising: the control center generates a multi-address control instruction based on the addresses of a plurality of Internet of things devices to be controlled, and the multi-address control instruction is sent in groups;
an instruction identification and execution determination, comprising: the internet of things equipment of the corresponding equipment group recognizes the multi-address control instruction, judges whether the relation between the multi-address control instruction and the orthogonal address code of the internet of things equipment meets the preset condition, and if so, the internet of things equipment executes the action corresponding to the multi-address control instruction; if not, the Internet of things equipment does not execute the action corresponding to the multi-address control instruction.
2. The method for controlling the group of the internet of things devices based on the orthogonal address codes according to claim 1, wherein the method is characterized by comprising the following steps of: the unspecified orthogonal code generation algorithm includes: the device address is processed by a walsh algorithm or an orthogonal code construction method and converted into a binary code.
3. The method for controlling the group of the internet of things devices based on the orthogonal address codes according to claim 1, wherein the method is characterized by comprising the following steps of: the orthogonal address coding conforming to the orthogonal coding specification comprises: the result of AND logic operation of the orthogonal address codes of any two or more devices in the same device group is not equal to the whole 1 sequence, and the number of 1 in the orthogonal address codes is equal.
4. The method for controlling the group of the internet of things devices based on the orthogonal address codes according to claim 1, wherein the method is characterized by comprising the following steps of: the control center generates a multi-address control instruction based on addresses of a plurality of internet of things devices to be controlled, and the multi-address control instruction comprises: and performing AND logic operation on the plurality of Internet of things devices to generate a new address code, attaching instruction data to be sent to the address code, and taking the formed data packet as a multi-address control instruction.
5. The method for controlling the group of the internet of things devices based on the orthogonal address codes according to claim 1, wherein the method is characterized by comprising the following steps of: the multi-address control instruction performs group sending, which comprises: and the system is distributed to the whole equipment in a broadcast or multicast mode.
6. The method for controlling the group of the internet of things devices based on the orthogonal address codes according to claim 1, wherein the method is characterized by comprising the following steps of: the determining whether the relation between the multi-address control instruction and the orthogonal address code accords with a preset condition comprises the following steps: and performing OR logic operation on the orthogonal address code of the local Internet of things equipment and the address code in the multi-address control instruction, and judging whether the result is the same as the orthogonal address code of the local Internet of things equipment.
7. An internet of things device group control apparatus based on orthogonal address codes, comprising a memory and a processor, wherein the memory stores a computer program capable of being loaded by the processor and executing the internet of things device group control method based on orthogonal address codes as claimed in any one of claims 1 to 6.
CN202311348646.4A 2023-10-18 2023-10-18 Internet of things equipment group control method and device based on orthogonal address codes Active CN117278525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311348646.4A CN117278525B (en) 2023-10-18 2023-10-18 Internet of things equipment group control method and device based on orthogonal address codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311348646.4A CN117278525B (en) 2023-10-18 2023-10-18 Internet of things equipment group control method and device based on orthogonal address codes

Publications (2)

Publication Number Publication Date
CN117278525A true CN117278525A (en) 2023-12-22
CN117278525B CN117278525B (en) 2024-10-22

Family

ID=89214290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311348646.4A Active CN117278525B (en) 2023-10-18 2023-10-18 Internet of things equipment group control method and device based on orthogonal address codes

Country Status (1)

Country Link
CN (1) CN117278525B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031823A1 (en) * 1998-01-23 2001-05-03 Nortel Networks Corporation Broadband wireless access based on code division parallel access
US20020031167A1 (en) * 2000-07-05 2002-03-14 Sanyo Electric Co., Ltd. Orthogonal code generation apparatus, scrambling code generation apparatus and portable radio terminal using such apparatus
US20140192912A1 (en) * 2013-01-07 2014-07-10 Qualcomm Incorporated Device triggered wake up of powerline communication devices
CN112905528A (en) * 2021-02-09 2021-06-04 深圳市众芯诺科技有限公司 Intelligent household chip based on Internet of things
CN114173222A (en) * 2022-02-11 2022-03-11 上海英哈科技有限公司 Internet of things equipment, internet of things data server and corresponding operation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031823A1 (en) * 1998-01-23 2001-05-03 Nortel Networks Corporation Broadband wireless access based on code division parallel access
US20020031167A1 (en) * 2000-07-05 2002-03-14 Sanyo Electric Co., Ltd. Orthogonal code generation apparatus, scrambling code generation apparatus and portable radio terminal using such apparatus
US20140192912A1 (en) * 2013-01-07 2014-07-10 Qualcomm Incorporated Device triggered wake up of powerline communication devices
CN112905528A (en) * 2021-02-09 2021-06-04 深圳市众芯诺科技有限公司 Intelligent household chip based on Internet of things
CN114173222A (en) * 2022-02-11 2022-03-11 上海英哈科技有限公司 Internet of things equipment, internet of things data server and corresponding operation method

Also Published As

Publication number Publication date
CN117278525B (en) 2024-10-22

Similar Documents

Publication Publication Date Title
CN112558948B (en) Method and device for identifying messages under mass flow
CN111447155A (en) Data transmission method, device, equipment and storage medium
EP1561163A2 (en) A communication method with reduced response time in a distributed data processing system
CN117278525B (en) Internet of things equipment group control method and device based on orthogonal address codes
CN113132471B (en) Cloud service budget optimization scheduling method, device, equipment and storage medium
US20060274762A1 (en) Method and system for supporting efficient and cache-friendly TCP session lookup operations based on canonicalization tags
CN115639762A (en) Intelligent robot scheduling method and device, computing equipment and computer storage medium
CN103299298A (en) Service processing method and system
CN116723143A (en) Network target range resource allocation method and system based on traffic affinity
AU2014217773A1 (en) Method, processing modules and system for executing an executable code
CN116744364A (en) DQN-based multi-edge node system joint calculation unloading and resource allocation method
CN115499889A (en) VPP-based UPF forwarding plane implementation method, device, system and related equipment
CN114565098A (en) Quantum computation simulation multi-node task scheduling method and equipment
CN111240867B (en) Information communication system and method
CN115456188A (en) Quantum computing task optimization processing method and device and quantum computer
CN112860391A (en) Dynamic cluster rendering resource management system and method
CN116401071B (en) Resource allocation method and system for edge calculation
CN112596893B (en) Monitoring method and system for multi-node edge computing device
CN115499512B (en) Efficient resource allocation method and system based on super-fusion cloud virtualization
CN115766030B (en) Data sharing method and equipment based on trusted exchange sharing comprehensive service platform
CN116382854B (en) Programmable virtual network card, code running method and cloud system
CN113419777B (en) Instruction block conversion execution method and system of programmable switch
EP4141675A1 (en) Coordinating data packet processing between kernel space and user space
US20240243969A1 (en) Serverless computing method and apparatus based on mutual monitoring between network edges
CN111367875B (en) Ticket file processing method, system, equipment and medium

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