CN111918382B - Wireless synchronous group control method and device - Google Patents

Wireless synchronous group control method and device Download PDF

Info

Publication number
CN111918382B
CN111918382B CN202010809007.3A CN202010809007A CN111918382B CN 111918382 B CN111918382 B CN 111918382B CN 202010809007 A CN202010809007 A CN 202010809007A CN 111918382 B CN111918382 B CN 111918382B
Authority
CN
China
Prior art keywords
code
group control
wireless
state
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010809007.3A
Other languages
Chinese (zh)
Other versions
CN111918382A (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 Alm Technology Co ltd
Original Assignee
Shenzhen Alm 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 Alm Technology Co ltd filed Critical Shenzhen Alm Technology Co ltd
Priority to CN202010809007.3A priority Critical patent/CN111918382B/en
Publication of CN111918382A publication Critical patent/CN111918382A/en
Application granted granted Critical
Publication of CN111918382B publication Critical patent/CN111918382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless synchronization group control method.A wireless master end device sends synchronization group control codes to a plurality of wireless slave end devices in a synchronization matching state; the wireless slave end equipment identifies the synchronous group control code in a bit selection comparison identification mode; the wireless slave end equipment executes corresponding state control operation and updates a state verification code contained in the equipment state beacon; the wireless master end equipment collects the status check codes fed back and sent by all the wireless slave end equipment, checks and monitors the execution status of member status control operation of all the equipment in a multi-selection superposition comparison mode, and keeps or updates the sending process according to the status monitoring information. The invention solves the problems of group control code sending, execution state feedback, monitoring and data retransmission in a synchronous group control operation mode, improves the concurrent data processing efficiency of each link of group control sending, identification, monitoring and the like, and reduces the processing link and data redundancy of a group control service system, thereby improving the flexibility, the agility and the stability of the system.

Description

Wireless synchronous group control method and device
Technical Field
The invention relates to the technical field of wireless communication and intelligent control of a wireless Internet of things edge domain network, in particular to a wireless communication mode, a service mechanism and a flow between a network service node and target object equipment (and a group thereof), and particularly relates to a wireless synchronization group control method and a wireless synchronization group control device.
Background
The internet of things and related wireless communication technology thereof are one of important support technologies for rapid development of intelligent technologies, and rapid development of various intelligent hardware devices and intelligent service system product innovations oriented to individuals, households and different application industries is brought about. For different intelligent application scenes, an internet of things edge domain with dynamic information interaction characteristics, which is formed by an edge service node and a plurality of target object devices (namely network client devices) around the edge service node, is mainly oriented to solving the problems of wireless network communication and information interaction service mechanisms and processes of the target object domain and a perception control domain.
According to the topology and protocol architecture of wireless communication nodes, the network topology transmission mode of wireless multipoint communication between a network service node and a target object device (namely a network client device) can be summarized into several basic types of wireless directional broadcasting, wireless multipoint connection and wireless Mesh network according to the current short-distance and low-power-consumption Internet of things wireless technology standards (such as Bluetooth BLE, zigBee, Z-Wave and RFID).
The wireless network communication mode between the network service node and the target object device among the devices in the edge domain of the Internet of things is more important in the stability and interoperability of the edge network under many conditions, and large-data-volume broadband communication is not needed; when a network service node needs to perform concurrent service on a target object device as a client in a "one-to-many" or "many-to-many" manner, in addition to the interoperability problem of a dynamic access network, it is also necessary to pursue a balance between hardware resources, power consumption, and transient response efficiency, that is, one or more service node devices may simultaneously provide services of synchronous transient triggering and concurrent data transmission for several target object devices or device groups in a low-power standby state.
A plurality of cooperative agent nodes with the same or correlated equipment network attributes in the edge domain of the Internet of things and a plurality of peripheral proxied nodes form a cooperative agent network system through a cooperative distribution network. The cooperative agent nodes are managed by an upper cooperative agent node or a network system host (called a system host for short); the service node equipment can perform wireless scanning detection on wireless beacons sent by the target object equipment in different channels or time slots, and can monitor and collect state variable feedback of a plurality of peripheral target object equipment in one moment (extremely short time); typically, a wireless device is able to acquire wireless beacons in a wireless scanning probe fashion up to tens to hundreds of times per second. However, since the wireless scanning and detecting needs to occupy more power consumption and resources, the target device in the low-power standby state before the wireless connection is established cannot obtain the fast trigger response and the concurrent control from the serving node device in the same manner.
In the prior art, although the wireless directional broadcast has a simple topological structure, less wireless resource occupation, high synchronous data transmission efficiency, high trigger response speed, simple wireless protocol and good interoperability, the wireless directional broadcast has obvious defects: data transmission direction asymmetry; the asynchronous data transmission efficiency is low; the data receiving feedback monitoring efficiency is low and the power consumption of the wireless receiving end is high.
Although the wireless multi-point connection can perform multi-point bidirectional wireless data transmission, the wireless data transmission is stable, the asynchronous connection communication is convenient, and the security is relatively high, there are certain disadvantages: if the response time for establishing the connection is long, the connection is sensitive to environmental and resource factors, and the wireless channel resource occupies a large amount, especially when the number of the client devices is large, the wireless multipoint connection tends to be poor in stability, short in wireless transmission distance and high in wireless transmission power consumption.
Although the wireless Mesh network has simple installation and configuration, easy and rapid networking, flexible wireless transmission path, strong redundancy mechanism and communication load balance and lower wireless transmission power, the wireless Mesh network also has obvious defects: for example, the wireless interoperability compatibility is poor, the wireless communication delay is high, the cross coverage cooperativity of different wireless standards is poor, and especially for a relay node which is not suitable for a low-power-consumption client device, the balance problem of standby power consumption and trigger response time needs to be solved.
Therefore, how to solve the sending efficiency of the group control synchronous concurrent data, solve the fast identification and judgment of the synchronous group control members, solve the operation mode and execution state feedback of the synchronous group control, and solve the monitoring of the state feedback of the synchronous group control and the group control data retransmission become the technical problems to be solved urgently.
Disclosure of Invention
The technical problem to be solved by the invention is how to solve the sending efficiency of group control synchronous concurrent data, solve the rapid identification and judgment of synchronous group control members, solve the operation mode and execution state feedback of synchronous group control, and solve the monitoring of state feedback of synchronous group control and group control data retransmission.
Therefore, according to a first aspect, an embodiment of the present invention discloses a wireless synchronization group control method, including: the method comprises the steps that a wireless master end device sends a synchronous sequence beacon containing a synchronous group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode;
when the wireless slave-end equipment receives synchronous group control code information contained in the synchronous sequence beacon in a synchronous detection receiving time slot, identifying the synchronous group control code, and judging whether the wireless slave-end equipment belongs to a group member set selected by the synchronous group control code;
the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code, and places the updated state check code into an equipment state beacon;
the wireless master end equipment collects the state check codes contained in the equipment state beacons and fed back and sent by all the wireless slave end equipment in a wireless scanning and detecting mode, checks and monitors the equipment states of all the members in the group member set and the execution states of the state control operations of the members in the group member set in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacons according to state monitoring information.
Optionally, the wireless slave end device determines whether it belongs to the group member set selected by the group control multi-selection code through a bit selection comparison identification method;
the bit selection comparison identifies that the group sequential code of the wireless slave device is converted into a corresponding bit selection code, and then the corresponding bit selection code is compared with a corresponding bit in a group control multi-selection code contained in the synchronous group control code so as to judge whether the wireless slave device belongs to the group control multi-selection code.
Optionally, when the state check code fed back by the device member in the group member set received by the wireless master end device is consistent with the monitored target value, superimposing the bit selection code of the wireless slave end device on the group control monitoring multi-option code;
and comparing the group control monitoring multi-selection code with the group control multi-selection code, and if the group control monitoring multi-selection code is equal to the group control monitoring multi-selection code, judging that all members in the group member set finish the set operation task.
Optionally, when the wireless master end device receives, as a cooperative agent node, a device status beacon sent by the wireless slave end device in a directly matched state, superimposing, on the matching monitoring multi-option code, a bit-selection code corresponding to the group sequential code;
the cooperative agent node compares the matching monitoring multi-selection code with an agent matching multi-selection code based on a set matching monitoring period, and directly replaces the agent matching multi-selection code with the matching monitoring multi-selection code to update when the matching monitoring multi-selection code and the agent matching multi-selection code are not equal;
the agent matching multi-selection code is a multi-selection code formed by performing bit selection superposition operation on bit selection codes of all wireless slave end equipment which are currently established in a direct matching state by the cooperative agent node.
Optionally, when the same cooperative agent network system includes a plurality of wireless master end devices as cooperative agent nodes, and group control feedback monitoring is performed based on the multi-selection superposition comparison, a group control multi-selection code included in the synchronous group control code needs to be replaced with a matching group control multi-selection code obtained in the following manner;
the cooperative agent node transforms the group control multi-selection code G into a matched group control multi-selection code GA based on a 'bitwise AND' logical operation based on a current agent matching multi-selection code A: GA = G & a, and GA instead of G performs group-controlled feedback monitoring based on the multiple-choice superposition comparison.
Optionally, any wireless slave device in the device group receives the synchronization group control coding information included in the synchronization sequence beacon in its synchronization detection receiving timeslot, and if and only if the wireless slave device determines that its device network attribute matches with the group control coding information, performs a corresponding synchronization operation process by determining the synchronization beacon identification code.
Optionally, the wireless master device, as a cooperative agent node, adjusts, according to the bit-selective byte offset J and the single-byte bit-selective code E corresponding to each group sequence code of the wireless slave device that increases or decreases a direct matching state, the corresponding byte a [ J ] in the agent matching multi-selection code according to the following operation algorithm:
1) When a directly matched wireless slave end device is added, carrying out bit-based or bit-based superposition operation on the proxy matching multi-selection code and the single byte bit selection code E;
2) And when each direct-matching wireless slave end equipment is reduced, bitwise negation codes E of the agent matching multi-selection codes and the single byte bit selection codes E are acquired, and bitwise AND (sum of bitwise AND) bit selection shielding operation is performed.
Optionally, the group control multi-selection code is a code for performing multi-selection on all or part of members in one or more target device groups and forming a group member set;
the composite group control multi-option code is a synchronous group control code formed by compositing a plurality of group control multi-option codes, wherein different group control multi-option codes form different group member sets so as to carry out different group control operation modes and/or state operation parameters on different group member sets in the same target equipment group.
Optionally, when the wireless master device receives a "superimposable" synchronous group control code queue sent by the network system host in a short group control processing period, the latest group control multiple-choice code and the group control multiple-choice code executed by the current target may be superimposed according to "logical or", and the superimposed group control multiple-choice code is used as the group control multiple-choice code executed by the current target.
According to a second aspect, an embodiment of the present invention discloses a wireless synchronization group control apparatus, which includes a wireless master device and/or a wireless slave device role module, and is two physical devices or two device roles of a same physical device; the wireless master end device role module comprises a beacon sending processing module and a feedback monitoring processing module; the wireless slave end equipment role module comprises a detection recognition processing module and an execution feedback processing module;
the beacon transmission processing module includes: the beacon control unit is used for setting and updating synchronous sequence beacon information and beacon transmission association parameters and controlling the transmission process of the synchronous sequence beacon; the beacon transmitting unit is used for transmitting the synchronization sequence beacon containing the synchronization group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode;
the detection recognition processing module comprises: a beacon detection unit for receiving the synchronization sequence beacon containing synchronization group control code information in the synchronization detection receiving time slot; the identification judgment unit is used for identifying and judging the synchronous group control code in a bit selection comparison identification mode and judging whether the wireless slave end equipment belongs to the group member set selected by the synchronous group control code;
the execution feedback processing module comprises: an execution operation unit: executing corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code; a state feedback unit: the updated state check code is placed into a device state beacon, the information and the associated parameters of the device state beacon are set and updated, and the device state beacon is started to be sent;
the feedback monitoring processing module comprises: the feedback collection unit is used for collecting the state verification codes contained in the equipment state beacons, which are sent by all wireless slave-end equipment in a feedback mode in a wireless scanning detection mode; and the state monitoring unit checks and monitors the equipment states of all members in the group member set and the execution states of the state control operation thereof in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacon according to the state monitoring information.
The invention has the following beneficial effects: sending a synchronization group control code contained in a synchronization sequence beacon to a plurality of wireless slave end devices in a cooperative matching state through a wireless master end device; therefore, the problem of sending efficiency of the group control synchronous concurrent data is solved, network service resources are saved, and the resource efficiency of concurrent data transmission is greatly improved. Identifying the synchronous group control code by wireless slave end equipment in a bit selection comparison identification mode, and judging whether the wireless slave end equipment belongs to the group member set selected by the synchronous group control code; therefore, the problem of rapid identification and judgment of synchronous group control members is solved, the group control service identification efficiency is improved, and the data processing links of a service system are reduced. Executing corresponding state control operation according to the group control operation mode and/or the state operation parameters through the wireless slave end equipment, and updating a state verification code contained in the equipment state beacon; therefore, the problems of the operation mode and the execution state feedback of the synchronous group control are solved, and the flexibility and the compatibility of the group control mode execution feedback are improved. Collecting state check codes fed back and sent by all wireless slave end equipment through wireless master end equipment in a wireless scanning and detecting mode, and checking and monitoring the equipment states of all equipment members in the group member set and the execution states of the state control operation in a multi-selection superposition comparison mode; therefore, the problems of monitoring of state feedback of synchronous group control and retransmission of group control data are solved, the efficiency of state feedback monitoring and verification algorithm is improved, and the redundant transmission of invalid data of the main end is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a wireless synchronization group control method disclosed in the present embodiment;
fig. 2 is a schematic block diagram of a structure of a wireless synchronization group control device disclosed in this embodiment;
fig. 3 is a main flowchart of embedded software when the wireless synchronization group control apparatus disclosed in this embodiment is used as a wireless master device;
fig. 4 is a main flowchart of the embedded software when the wireless synchronization group control apparatus disclosed in this embodiment is used as a wireless slave device;
fig. 5 is a schematic flowchart illustrating a feedback monitoring processing module in a wireless synchronous group control device according to this embodiment;
fig. 6 is a schematic flowchart illustrating a detection, identification and processing module in a wireless synchronization group control device according to an embodiment of the disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention discloses a wireless synchronization group control method, as shown in figure 1, comprising the following steps:
step S10, the wireless master end equipment sends a synchronization sequence beacon containing a synchronization group control code to a plurality of wireless slave end equipment in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode;
step S20, when the wireless slave end equipment receives the synchronous group control code information contained in the synchronous sequence beacon in the synchronous detection receiving time slot, the wireless slave end equipment identifies the synchronous group control code and judges whether the wireless slave end equipment belongs to the group member set selected by the synchronous group control code;
step S30, the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code, and places the updated state check code into the equipment state beacon;
step S40, the wireless master end device collects the state check codes contained in the device state beacons and fed back and sent by all the wireless slave end devices in a wireless scanning and detecting mode, checks and monitors the device states of all the members in the group member set and the execution states of the state control operations in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacons according to the state monitoring information.
It should be noted that the embodiment of the present invention discloses a wireless synchronization group control method, device and network system, and the method includes: the wireless master end equipment sends synchronous group control codes to a plurality of wireless slave end equipment in a synchronous matching state; the wireless slave end equipment identifies the synchronous group control code in a bit selection comparison identification mode and judges whether the wireless slave end equipment belongs to the selected group member set; the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or the state operation parameters, and updates the state verification code contained in the equipment state beacon; the wireless master end equipment collects the status check codes fed back and sent by all the wireless slave end equipment, and checks and monitors the execution status of member status control operation of all the equipment in a multi-selection superposition comparison mode. The problem of sending efficiency of the group control synchronous concurrent data is solved, network service resources are saved, and the resource efficiency of concurrent data transmission is greatly improved; the problem of rapid identification and judgment of synchronous group control members is solved, group control service identification efficiency is improved, and data processing links of a service system are reduced; the problems of synchronous group control operation mode and execution state feedback are solved, and the flexibility and compatibility of group control mode execution feedback are improved; the problems of monitoring of state feedback of synchronous group control and retransmission of group control data are solved, the efficiency of state feedback monitoring and verification algorithm is improved, and the redundant transmission of invalid data of a main end is reduced.
The cooperative agent service is a plurality of service node devices with the same or associated device network attributes in a wireless edge domain, and provides cooperative services with consistent association for a plurality of target object devices and target device groups thereof based on device agent management. The cooperative agent network system is an edge network system formed by a plurality of service node devices serving as agent nodes in a wireless Internet of things edge domain and providing cooperative agent services for a plurality of peripheral target object devices serving as proxied nodes. The cooperative service node: the service node equipment provides network communication access and information interaction service for target object equipment through multi-node interconnection cooperative service in the edge domain network of the Internet of things.
The local area cooperative host is service node equipment which has the routing communication capacity (data access and access) of the Internet of things and is used for carrying information integration processing and task coordination management of the cooperative service in the edge domain of the Internet of things in a cooperative service period or process.
The cooperative agent node is a cooperative service node device which provides cooperative agent service for a plurality of commonly served target object devices (as proxied nodes) based on the role of the device responsibility of the cooperative agent node; the cooperative agent node provides cooperative data communication service for a plurality of peripheral target object devices cooperatively matched with the cooperative agent node based on device agent management; the cooperative agent node is a cooperative agent network system, and can provide replaceable and related cooperative services for target object equipment (as a proxied node) of the common services. The cooperative agent network system is a network topology structure formed by multi-stage cooperative agent nodes, wherein part or all of the cooperative agent nodes can be used as the proxied nodes of the superior agent nodes and can also provide cooperative agent service for subordinate cooperative agent nodes and/or target object equipment. The cooperative agent node transmits the synchronization sequence beacon by using different wireless communication channels based on the detection of other cooperative agent nodes adjacent to each other; the wireless communication channel includes a radio frequency modulation channel (e.g., frequency channel) and/or a synchronization phase time difference. When a plurality of adjacent cooperative agent nodes are judged based on the signal received strength (RSSI), the multi-channel avoidance principle comprises the following priority avoidance principle:
1) Preferentially avoiding the cooperative agent node with the maximum signal receiving intensity;
2) Adopting different avoidance modes of radio frequency modulation channels for the most-prior avoidance cooperative agent node;
3) And for the sub-optimal avoidance cooperative agent node, adopting an avoidance mode of synchronous phase time difference, wherein the synchronous phase time difference is at least larger than the maximum sending time slot width of the synchronous sequence beacon of the cooperative agent node.
The device state beacon is a wireless beacon which reflects the characteristic attributes and the current physical state of the device and the associated objects thereof and is fed back/sent by the wireless slave end device in a response mode. The device status beacon refers to a wireless signal sent by a wireless slave device, and the short message contained in the device status beacon relates to basic attribute of the device, a special status identifier, a variable parameter and message pushing information. The wireless master end equipment adjusts beacon broadcast parameters of the wireless slave end equipment in a state beacon mode by establishing synchronous matching or wireless connection, wherein the beacon broadcast parameters comprise beacon broadcast interval time, beacon broadcast duration time, beacon broadcast power level, beacon broadcast modulation parameters and the like.
The beacon broadcast interval time of the wireless master end equipment is adaptively adjusted based on the change of the beacon broadcast configuration information of the wireless master end equipment, and the method comprises the following steps:
1. when the beacon broadcast configuration information is unchanged, the beacon broadcast time interval takes the normal configuration parameters,
2. and accelerating the beacon broadcasting once the beacon broadcasting configuration information is changed (such as matching request calling, successful matching establishment and state control feedback) within N periods, namely shortening the beacon broadcasting interval time within a short period.
When the wireless slave end equipment is in a synchronization matching state, the wireless slave end equipment adjusts the beacon broadcast phase time of the wireless slave end equipment based on the group sequence code and/or the matching code of the equipment, so that a plurality of wireless slave end equipment in the same synchronization matching state keep a certain beacon broadcast phase time difference. The wireless slave end equipment calculates the beacon broadcast phase time delta T according to the appointed broadcast phase distribution code Ns:
△T=△T0+Ns*τ
where Δ T0 is the beacon broadcast phase time corresponding to the group sequence code as the starting sequence number (usually 0), and τ is the minimum (reference) time difference of the given beacon broadcast phase; the broadcast phase allocation code Ns is specified by the cooperative agent node; by default, the broadcast phase assignment code Ns is equal to the group sequence code of the device group to which it belongs; typically, let τ be greater than the beacon broadcast pulse width; optionally, τ is the allowed beacon broadcast slot width divided by the maximum group order code in a single cycle.
When the group sequential code of the cooperative matching parameter of the wireless slave device is contained in the group control multi-selection code of the synchronous group control code, the wireless slave device belongs to the group member set selected by the group control multi-selection code.
In the specific implementation process, the wireless slave end equipment judges whether the wireless slave end equipment belongs to the group member set selected by the group control multi-option code through a position selection comparison identification method;
the bit selection comparison is identified as converting the group sequence code of the wireless slave device into a corresponding bit selection code, and then comparing the corresponding bit selection code with the corresponding bit in the group control multi-selection code contained in the synchronous group control code to judge whether the wireless slave device belongs to the group control multi-selection code. The wireless slave end equipment operates the single byte bit code according to the corresponding byte of the group control multi-selection code pointed by the logical AND and bit byte selection byte offset according to the bit selection byte offset and the single byte bit code corresponding to the group sequence code, and confirms that the wireless slave end equipment belongs to the group control multi-selection code when the byte is judged not to be 0 after the operation.
In the specific implementation process, the synchronous group control code is a code for selecting group control equipment or equipment groups and identifying the group control type/mode;
the synchronous group control code comprises a group control multi-selection code, and the group control multi-selection code is a code for performing multi-selection on all or part of members in one or more equipment groups to form a group member set.
The synchronous group control code comprises any one or combination of a group control operation mode, a group control multi-selection code and a state operation parameter; the group control multi-selection code comprises a group multi-selection code and/or a device multi-selection code.
In the specific implementation process, when the state check code fed back by the equipment members in the group member set and received by the wireless master end equipment is consistent with the monitored target value, the bit selection code of the wireless slave end equipment is superposed in the group control monitoring multi-selection code;
and comparing the group control monitoring multi-selection code with the group control multi-selection code, and if the group control monitoring multi-selection code is equal to the group control monitoring multi-selection code, judging that all members in the group member set finish the set operation task.
When the given operation task comprises a plurality of subtasks, the wireless main terminal equipment monitors the execution state of all members to each subtask respectively according to the verification state corresponding to each subtask contained in the state verification code and a multi-selection superposition comparison method.
The state check code is a check identifier for checking whether the data packet reception is completed and whether the result state accords with the expectation; the state check code comprises a multi-packet check mark corresponding to a series of synchronous data packets; the multi-packet check mark is formed by superposition of a multi-packet bit selection code and/or a data check code; the multi-packet bit selection code is used for carrying out bit selection setting on receiving states in synchronous data packets of different sub-packet sequence codes so as to form a state superposition identifier; the data check code includes check information for the received current synchronization data packet and/or multiple synchronization data packets. When a wireless slave end device receives a series of synchronous data packets formed by splitting a complete data packet in a plurality of synchronous detection receiving time slots, one or a combination of the following identification information corresponding to the current synchronous data packet is contained in the synchronous data information (which refers to a synchronous sequence beacon and/or the synchronous data packet itself): 1) A start address offset; 2) And (5) packet sequencing codes. The byte length of the synchronization data packet is specified by a default value or a length identifier or an end character; optionally, the identification information item further includes a total packet number and/or a total length of the data packet split into the synchronization data packets.
The wireless master end equipment monitors and judges whether all the members in the group member set complete the state control operation or not in a multi-selection superposition comparison mode according to all the state check codes in the collected group member set;
if not, within the appointed limit time, continuously transmitting the synchronous sequence beacon containing the synchronous group control code;
if so, the sending of the sync sequence beacon containing the sync group control code is stopped. Retransmission permitted limit time (or retransmission permitted limit condition): when all or part of the group members in the group member set have not completed the predetermined operation task, the judgment condition for whether to continue retransmission or stop retransmission or the dynamic instruction (such as operation task parameter, status process query, sending task queue and its priority) from the system interface upper layer or system host. Such as: the dynamic adjustment of the above-mentioned limiting condition parameters (such as the allowed retransmission time, the allowed retransmission times, the allowed retransmission synchronous period) or the queue status of the transmission tasks that need to be executed currently.
In the specific implementation process, the state check code is a check identifier for checking whether the data packet reception is completed and whether the result state meets the expectation; the state check code comprises a multi-packet check mark corresponding to a series of synchronous data packets; the multi-packet check mark is formed by overlapping a multi-packet bit selection code and/or a data check code; the multi-packet bit selection code is used for carrying out bit selection setting on receiving states in synchronous data packets of different sub-packet sequence codes so as to form a state superposition identifier; the data check code comprises check information of the received current synchronous data packet and/or a plurality of synchronous data packets.
The synchronization sequence beacons are a series of wireless beacons which are sent in a wireless directional broadcast mode, serve a designated target device group and contain synchronization information; the synchronization sequence beacon is a periodic wireless beacon sent based on synchronization timing trigger given by a synchronization time parameter, and at least one or one group of wireless beacons containing synchronization information is sent in one synchronization time period; multiple radio beacons are typically transmitted within a synchronized time period. Typically, the synchronization sequence beacons are transmitted based on beacon timer interrupt triggers, the values of the beacon timers being derived based on the relative time characteristic information correlation; and at any time before the wireless beacon is sent at this time, implanting the corresponding synchronous time identifier into a sending buffer area of the wireless beacon.
The synchronization sequence beacon comprises a synchronization beacon identification code; the synchronous beacon identification code is information used for indicating the current synchronous data transmission ID or synchronous data packet ID; the isochronous data transfer ID is an irreversible code (e.g., a cyclic sequence code or a clock correlation code) for a short period for wireless data transfers originating from any of the same network domain or higher level network nodes; therefore, the wireless slave end equipment can judge the redundancy and the effectiveness of the synchronous data transmission ID received this time only by comparing the synchronous data transmission ID received this time with the synchronous data transmission ID which has been processed in response last time (namely last time).
A packet synchronization sequence beacon, i.e., a subset of the synchronization sequence beacons included therein that serves different or multiple groups of target devices; distinguishing whether the synchronization beacons are affiliated with different packet synchronization sequence beacons by any one or a combination of the following: 1) Different device group IDs (enumeration); 2) Different synchronization time periods or their magnifications; 3) Different sync beacon slot phases, widths. Typically, when the synchronization packets transmitted to a plurality of target device groups are the same, the synchronization packets may be transmitted using the same synchronization beacon slot; when the synchronous data packets sent to a plurality of target equipment groups are different, different synchronous data packets need to be sent in different synchronous beacon time slots; therefore, the sending redundancy of the synchronous data packet is reduced, and the sending efficiency is improved.
In the specific implementation process, the wireless master end equipment carries out sending process management on a series of synchronous data packets formed by splitting a complete data packet or a data block through a sending task queue, wherein the sending process management comprises a priority sequencing mode and parameters for sending the synchronous data packets; the allowed retransmission limit time is for all transmission tasks in the completion transmission task queue. When the wireless master end equipment monitors and judges that all members in the group member set complete the synchronous data packet receiving task according to a multi-selection superposition comparison method for a synchronous data packet of a certain packet sequence code, the synchronous data packet is removed from the sending task queue until the sending task queue is emptied.
The state check code fed back by the wireless slave end equipment comprises a multi-packet check identifier corresponding to each sub-packet sequence code of the series synchronous data packets. Once the wireless slave end equipment successfully receives the synchronous data packet of each packet sequence code, the wireless slave end equipment can perform mode adjustment on the wireless mode parameter of the wireless slave end equipment according to the received synchronous modulation identifier in a preset mode so as to reduce the intermittent power consumption which can wait for other slave machines to receive the data packet. Prioritization includes any or a combination of the following modes and parameters: 1) A circular queue; 2) The transmission rotation condition: such as specifying a transmission time/number limit and/or slave receiving feedback success rate/number; 3) The success rate of the current slave receiving feedback is ranked (typically lower priority). The technical effect of the sending process management is to improve the sending efficiency and success rate of the complete data packet.
In the specific implementation process, when the wireless master end equipment serving as a cooperative agent node receives an equipment state beacon sent by the wireless slave end equipment in a direct matching state, the bit selection code corresponding to the group sequence code is superposed in the matching monitoring multi-selection code;
the cooperative agent node compares the matching monitoring multi-selection code with the agent matching multi-selection code based on the set matching monitoring period, and directly replaces the agent matching multi-selection code with the matching monitoring multi-selection code to update the agent matching multi-selection code when the matching monitoring multi-selection code and the agent matching multi-selection code are not equal;
the agent matching multi-selection code is a multi-selection code formed by bit selection and superposition operations of the cooperative agent node and bit selection codes of all wireless slave end equipment currently establishing a direct matching state; when finding that any wireless slave end equipment generates cooperative matching agent switching, the cooperative agent node needs to update and modify the agent matching multi-selection code immediately and correspondingly.
When the wireless master end equipment serving as a cooperative agent node receives an equipment state beacon sent by the wireless slave end equipment in a direct matching state, the bit selection code corresponding to the group sequence code is superposed in the matching monitoring multi-selection code; the cooperative agent node compares the matching monitoring multi-selection code with the agent matching multi-selection code based on the set matching monitoring period, and directly replaces the agent matching multi-selection code with the matching monitoring multi-selection code to update the agent matching multi-selection code when the matching monitoring multi-selection code and the agent matching multi-selection code are not equal; equivalently, carrying out logical OR operation on the single-byte bit selection code E of the wireless slave end equipment and the corresponding byte S [ J ] of the matching monitoring multi-selection code pointed by the bit selection byte offset J, and assigning the operation to the matching monitoring multi-selection code: s [ J ] = S [ J ] OR E, namely, a bit selection code in the equipment status beacon is superposed in a matching monitoring multi-selection code; the cooperative agent node judges whether the wireless slave end equipment and the cooperative agent node are in a direct matching state or a non-direct matching state (namely, in the direct matching state of other agent nodes in the same cooperative agent network system) according to the matching check identifier in the equipment state beacon. The data types of the matching monitoring multi-selection codes and the agent matching multi-selection codes are completely the same, and if the byte length of the agent matching multi-selection codes is set to be N, the maximum number of the wireless slave end devices which are allowed to be matched in a coordinated mode is 8N; in the matching monitoring period, the initial value of each byte in the matching monitoring multi-selection code is set to be 0; optionally, when the bit selection code in the device status beacon received by the cooperative agent node is included in the agent matching multi-selection code but is in the indirect matching state, immediately updating the agent matching multi-selection code by performing a logical and bit selection masking operation on the agent matching multi-selection code; typically, upon any change in the agent matching multi-option code, the cooperating agent node uploads the updated agent matching multi-option code to the network system host.
In a specific implementation process, when the same cooperative agent network system comprises a plurality of wireless master end devices as cooperative agent nodes and group control feedback monitoring is carried out based on multi-selection superposition comparison, a group control multi-selection code contained in a synchronous group control code needs to be replaced by a matching group control multi-selection code obtained in the following mode;
the cooperative agent node transforms the group control multi-selection code G into a matched group control multi-selection code GA based on the logical operation of 'bitwise AND' based on the current agent matched multi-selection code A: GA = G & a (equivalent to GAND a), and group control feedback monitoring was performed by GA instead of G based on multiple-choice superposition comparison. The group control multi-option codes sent by different cooperative agent nodes in the same cooperative agent network system are the same, which is beneficial to:
1) The wireless slave end equipment can increase and obtain effective group control information with consistency sent by different cooperative agent nodes through multipoint matching or matching switching;
2) The client control end (such as a mobile phone APP) and the network system host (such as a system server or a local area cooperative host) do not need to split and distribute the group control multi-option codes corresponding to the group member set, so that system data processing in the group control process is simplified, and the group control efficiency is improved.
In the specific implementation process, any wireless slave end device in the device group receives the synchronization group control code information contained in the synchronization sequence beacon in the synchronization detection receiving time slot, and if and only if the wireless slave end device judges that the network attribute of the wireless slave end device and the group control code information accord with the correlation matching, the corresponding synchronization operation processing is executed by judging the identification code of the synchronization beacon.
In the specific implementation process, the wireless master device, as a cooperative proxy node, adjusts the corresponding byte a [ J ] (or expressed as (a + J) by a C pointer) in the proxy matching multi-selection code according to the bit selection byte offset J and the single-byte bit selection code E corresponding to the group sequence code of each wireless slave device which increases or decreases a direct matching state according to the following operation algorithm:
1) When each directly matched wireless slave end device is added, bit-by-bit or bit-by-bit superposition operation is carried out on the proxy matching multi-selection code and the single-byte bit selection code E (C can be expressed as: a [ J ] = a [ J ] | E, equivalent to logical operation of a (J) OR E);
2) When each direct-matching wireless slave end device is reduced, bit-wise negation codes E of the agent matching multi-selection codes and the single byte bit selection codes E are acquired, and bit-wise and bit selection shielding operation is carried out (C can be expressed as: a [ J ] = a [ J ] & -E, equivalent to a logical operation of a (J) AND (NOT E). The data types of the agent matching multi-selection codes and the group control multi-selection codes are completely the same, and if the byte length of the agent matching multi-selection codes is set to be N, the maximum number of the wireless slave end devices which are allowed to be matched in a coordinated mode is 8N; when the cooperative agent node is in an initial state without any cooperative matching established by the wireless slave end equipment, the initial value of each byte in the agent matching multi-selection code is set to be 0. Typically, upon any change in the agent matching multi-option code, the cooperating agent node uploads the updated agent matching multi-option code to the network system host.
In the specific implementation process, the group control multi-selection code is a code for performing multi-selection on all or part of members in one or more target equipment groups and forming a group member set;
the composite group control multi-selection code is a synchronous group control code formed by compounding a plurality of group control multi-selection codes, wherein different group control multi-selection codes form different group member sets so as to carry out different group control operation modes and/or state operation parameters on different group member sets in the same target equipment group.
Based on the group sequence code of the cooperative matching parameter, the wireless master end equipment converts the group sequence code into a bit selection code; the group control multi-selection code is a code that superposes the bit selection codes of all the device members included in the group member set according to logical or.
In the specific implementation process, when the wireless master device receives a superposable synchronous group control code queue sent by the network system host in a short group control processing period, the latest group control multi-selection code and the group control multi-selection code executed by the current target can be superposed according to logical or, and the superposed group control multi-selection code is used as the group control multi-selection code executed by the current target.
In the specific implementation process, when different group member sets in the device group are in different wireless mode states defined by wireless mode parameters, different group control operation modes are applied to the different group member sets in the same target device group according to the composite group control multi-selection code, that is, wireless mode parameter adjustment information is synchronously sent so as to synchronously perform multi-stage trigger control on different wireless slave-end devices or perform multi-stage trigger group control on the group member sets.
The cooperative matching parameters are a matching check code and a service identification code which are distributed to the wireless slave end equipment as the proxied node by a certain cooperative proxy node and belong to the cooperative proxy network system. From the co-match parameters at least the following parameters can be derived:
1) Matching the check codes: the related parameters of the currently matched cooperative agent network system, namely identifiable characteristic parameters such as domain address and group number of the same cooperative agent network system to which the plurality of cooperative agent nodes belong;
2) Service identification code: and the identification code information distributed to the wireless slave end equipment is different from the identification code information of other wireless slave end equipment. Typically, the service identifier is in the form of a group sequence code; the matching check code may also contain or be associated with an associated parameter of the currently matching cooperative agent node, such as a device ID or a MAC address; the cooperative matching parameters also comprise a network domain address, a matching check code and the like; when the synchronization matches, the collaborative matching parameters may also include a synchronization time parameter.
The group sequence code is a service identification code contained in the cooperative matching parameters, and is a member sequence number or an identification code distributed to different wireless slave end equipment for a specified equipment group; different device members in a designated device group are assigned to different group codes by a cooperative agent node in the cooperative agent network system. Typically, the group sequence code is a member sequence number or other form of recognizable short code; for example, if the maximum number of device members allowed for the same device group does not exceed 256, the group sequence code may be defined as a member number of 0 to 255 (i.e., 0 xff) for a single byte type.
In the specific implementation process, the group sequence code is expressed into another form more suitable for bit selection comparison identification and multi-selection superposition comparison through one-time conversion: the group sequence code is expressed into a bit selection code form, and the bit selection code of the wireless slave end equipment corresponds to the group sequence code and can be converted with each other;
the bit selection code of the wireless slave end equipment comprises a bit selection byte offset and a single byte bit selection code.
Bit-selective byte shifting is to convert the group sequence code into a multi-byte bit-selective code, wherein the byte sequence number of bit 1 is located;
the single byte bit selection code is a byte code in which the member serial number is converted into a multi-byte bit selection code, wherein bit 1 is located. Such as: the group sequence code is expressed in the form of a member number =60 (i.e., 0x3 c), then,
by bit selection (60 th bit, starting from bit 0), a multi-byte bit selection code is obtained (low byte preceding): <xnotran> 0,0,0,0,0,0,0,0x10; </xnotran>
A bit-select byte offset of 7 (7 th byte, starting from byte 0) is obtained by dividing the member sequence number by 8 in whole;
the remainder is taken by dividing the member number by 8 to obtain a single-byte bit number of 4 (bit 4, starting with bit 0) and a corresponding single-byte bit code of 0x10 (binary 00010000).
In the specific implementation process, when the same cooperative agent network system comprises a plurality of cooperative agent nodes, one of the following schemes is adopted for the distribution of the service identification code:
scheme one, single service identification code scheme: the service identification codes distributed by different cooperative agent nodes have the same identity, and when a certain wireless slave end device establishes cooperative matching with one cooperative agent node through a matching request to obtain a cooperative matching parameter comprising the service identification code, the wireless slave end device is regarded as establishing a cooperative matching state with the cooperative agent network system and all the cooperative agent nodes thereof;
scheme two, the multi-service identification code scheme: the service identification codes allocated to different cooperative agent nodes have independence, and when one wireless slave device is cooperatively matched with a plurality of cooperative agent nodes, the service identification codes allocated to the wireless slave device by the different cooperative agent nodes need to be obtained through matching response signals respectively. The first scheme has the advantages that: the wireless slave end equipment does not need to repeatedly establish cooperative matching (obtain and store different service identification codes) with a plurality of cooperative agent nodes, so that the cooperative matching process is simplified; the second scheme has the advantages that: the service identification codes distributed by different cooperative agent nodes have independence, so that the interval distribution management of the service identification codes is simplified, and the sequence code capacity is larger.
If a single service identification code scheme is adopted, the network system host of the cooperative agent network system performs unified distribution on the service identification codes based on any one or a combination of the following schemes:
1) Pre-applying for distribution: the cooperative agent node applies for obtaining the distribution authority of the designated interval of the service identification code in advance;
2) Dynamic pointer allocation: the network system host allocates the allocation authority of the service identification code to different cooperative agent nodes in a dynamic pointer mode according to the interval of the currently allocated service identification code;
3) Dynamic application allocation: and the cooperative agent node obtains the service identification code through dynamic application in the process of matching the response.
The dynamic balance is preferably a mechanism for balancing and optimizing a network path of the cooperative agent according to the transmission requirement of dynamic wireless data and the occupation condition of network resources, and the mechanism comprises any one of the following mechanisms and the combination of the following mechanisms:
1) The proxy preference mechanism: preferentially selecting the cooperative agent nodes which are directly matched currently; if the currently directly matched cooperative agent node is unavailable or the matching efficiency is low, processing according to cooperative matching agent switching;
2) A load balancing mechanism: preferentially selecting a cooperative agent node and a cooperative agent network path with smaller current data transmission load;
3) Concurrent redundancy mechanism: and under the condition that network node resources do not have higher priority occupation, if a plurality of matched cooperative agent nodes or selectable cooperative agent network paths exist, adopting a concurrent redundancy mode to provide wireless data transmission service for the target object equipment.
The cooperative agent network path refers to a network topology path which is formed by cooperative agent nodes and is provided for appointed wireless slave end equipment to carry out wireless data transmission; the cooperative agent network path comprises a directly matched cooperative agent node which is accessed by a single point or multiple points and is used as an access point of the appointed wireless slave end equipment and the cooperative agent network system; the cooperative proxy network path also includes a network topology path formed by single-level or multi-level cooperative proxy nodes. When the cooperative agent network system and the cooperative agent nodes and/or the wireless slave end equipment need to perform wireless data transmission and associated service, a reasonable cooperative matching agent path is selected based on a rule mechanism of dynamic balance optimization.
And (3) collaboratively matching agent switching: when the data transmission efficiency between the wireless slave end equipment and the currently directly matched cooperative agent node is low, comparing the data transmission efficiency with the recent detection value of the received signal quality of other non-matched cooperative agent nodes, reselecting the currently cooperatively matched cooperative agent node according to a cooperative agent matching preferred condition rule if necessary, and correspondingly changing the matching check mark in the equipment state beacon of the cooperative agent node. When the wireless slave end equipment carries out cooperative matching agent switching, the matching check code is calculated according to the cooperative matching parameters, the matching check identifier is directly changed, and compared with the process of initially establishing a cooperative matching state, the wireless slave end equipment does not need to send a matching request signal to a new optimized cooperative agent node and obtain matching response information; therefore, the wireless slave end device can actively and transiently complete cooperative agent matching switching.
For the wireless slave end equipment in the synchronous matching state, the cooperative matching agent switching also comprises synchronous matching switching; the synchronous matching switching comprises synchronous phase time adjustment and establishes a synchronous matching state with the new cooperative agent node; synchronous phase time adjustment is carried out according to the synchronous phase time difference between different cooperative agent nodes, so that synchronous matching switching can be completed transiently; the synchronization phase time difference is a pseudo-random value derived from the current synchronization time parameter and the co-proxy parameters of different co-proxy nodes that can be matched.
The cooperative agent matching is preferably a rule/mechanism for carrying out priority on the cooperative agent nodes and the cooperative agent network systems subordinate to the cooperative agent nodes on the premise of meeting the security association verification based on wireless signal optimization. After the wireless slave end equipment enters the optimized matching state, the matching priority of the wireless slave end equipment and the cooperative agent node is judged according to the received wireless directional broadcast signals sent by different cooperative agent nodes, and one or more cooperative agent nodes in a certain cooperative agent network system are selected according to the matching priority to establish the cooperative matching state.
The wireless slave device will enter the preferred match state in one or a combination of the following situations:
1. the wireless slave end equipment which is not matched (or the matching information is cleared) is in a preferred matching state for a long time or all the time after being started;
2. the wireless slave end equipment cannot establish a normal cooperative matching state with the cooperative agent node specified by the matching information when the matching information exists, and under the condition that the preset rule allows;
3. the established cooperative matching state is unstable (such as the synchronous matching expiration period is overtime), and other non-matching cooperative agent nodes with better potential matching priority are found under the condition allowed by the preset rule;
4. enters a preferred matching state through special key operation.
The security association verification includes:
1) Whether the cooperative agent parameters sent by the cooperative agent node meet the matching attribute conditions,
2) Whether the cooperative agent node and the matched user APP accord with the cooperative consistency and the additional safety verification condition or not.
When the wireless slave end equipment detects that the matched user APP exists on site as special wireless master end equipment, the wireless slave end equipment carries out security association check by judging the cooperative consistency between the received matched user APP and cooperative agent parameters sent by a plurality of cooperative agent nodes and additional security check conditions. The security verification condition comprises a distribution network verification code or a secret key set by an administrator user.
The wireless slave end equipment is subjected to pre-association matching with a matching user APP in a certain mode, or allows a user APP which is found on site and accords with cooperative association; if a plurality of user APPs which accord with the cooperative relevance exist on the spot, the closest user APP (based on the strongest average RSSI signal) in the relevance verification state is judged to be the matched user APP. When the matched user APP participates in management cooperative matching, a synchronous sequence beacon comprising cooperative agent parameters is sent like a cooperative agent node, and the synchronous sequence beacon is used as a special APP master end device role type to be recognized by the wireless slave end device.
And the target equipment groups receive the packet synchronization sequence beacons in the same or different synchronization time periods and perform group control identification judgment. Typically, different packet synchronization sequence beacons are configured with different synchronization beacon parameters, depending on the need for different target device group trigger-controllable response characteristics, such as: synchronization time period or its magnification, synchronization beacon slot phase, synchronization beacon slot width.
According to a second aspect, an embodiment of the present invention discloses a wireless synchronization group control apparatus, which includes a wireless master device and/or a wireless slave device role module, and is two physical devices or two device roles of a same physical device; the wireless master end equipment role module comprises a beacon sending processing module and a feedback monitoring processing module; the wireless slave end equipment role module comprises a detection recognition processing module and an execution feedback processing module;
the beacon transmission processing module 51 includes: a beacon control unit 511, which sets and updates synchronization sequence beacon information and beacon transmission association parameters, and controls the transmission process of the synchronization sequence beacon (e.g. start/stop based on a timer); a beacon transmitting unit 512, configured to transmit a synchronization sequence beacon including a synchronization group control code to a plurality of wireless slave devices in a cooperative matching state in a wireless directional broadcast manner in a specific wireless mode;
the detection recognition processing module 52 includes: a beacon detection unit 521, which receives the sync sequence beacon containing sync group control code information in the sync detection receiving timeslot; an identification judging unit 522, configured to perform identification judgment on the synchronous group control code in a bit selection comparison identification manner, and judge whether the wireless slave device belongs to the group member set selected by the synchronous group control code;
the execution feedback processing module 53 includes: the execution operation unit 531: executing corresponding state control operation according to the group control operation mode and/or the state operation parameters contained in the synchronous group control code; state feedback unit 532: the updated state check code is placed into the equipment state beacon, the information and the associated parameters of the equipment state beacon are set and updated, and the equipment state beacon is started to be sent;
the feedback monitoring processing module 54 includes: a feedback collection unit 541, configured to collect, in a wireless scanning and detecting manner, all status check codes included in the device status beacon sent by the wireless slave device in a feedback manner; the status monitoring unit 542 checks and monitors the device statuses of all members in the group member set and the execution statuses of the status control operations thereof in a multi-selection superposition comparison manner, and accordingly maintains or updates the sending process of the synchronization sequence beacon (specifically, the sending process of the synchronization sequence beacon is controlled by the beacon control module) according to the status monitoring information.
Fig. 3 is a main flowchart of embedded software when the wireless synchronization group control apparatus disclosed in this embodiment is used as a wireless master device; fig. 4 is a main flowchart of embedded software when the wireless synchronization group control apparatus disclosed in this embodiment is in a role as a wireless slave device; fig. 5 is a schematic flowchart illustrating a feedback monitoring processing module in a wireless synchronous group control device according to this embodiment; fig. 6 is a flowchart illustrating a detection, identification and processing module in a wireless synchronization group control device according to the present disclosure.
Selecting a wireless master end equipment mode through control end software (usually, user end APP software) to control wireless slave end equipment, and setting and adjusting state condition parameters according to user requirements and a target equipment state; the wireless connection mode refers to a wireless device role and an edge transmission path when the control end software performs wireless control on the wireless slave end device or the target device group thereof; the wireless connection mode is selected by user specification and/or automatically based on the pre-programmed profile requirements. The control end software comprises any one or combination of the following synergies: user side software (such as a computer side and a mobile user side APP), field host (such as a field intelligent host and an intelligent router) management software and remote host management software; examples of wireless device roles: the network management node is only used as a control end device, is used as a network management device and is used as a cooperative agent node.
Example of edge transmission path: point-to-point control (field): directly serving as a wireless master end device to control a wireless slave end device serving as a wireless single fire device or a target device group thereof; direct coordinated control (field): controlling a target equipment group by using one or a plurality of cooperative agent nodes as wireless master end equipment; access coordination control (field or remote): and accessing through a certain wireless router, and controlling the target equipment group through the cooperative agent network system.
And the control end software adjusts the dynamic value of the state condition parameters according to the wireless mode state of the current target equipment group and based on the requirement of multi-stage trigger control/group control.
The control end software carries out dynamic parameter adjustment on the state condition parameters based on default setting according to a user indication strategy and/or a self-adaptive adjustment strategy; the user indication policy is a policy for adjusting dynamic parameters according to a control policy mode option indicated or set by a user (for example, a user side APP performs a setting operation); the self-adaptive adjustment strategy is a strategy for carrying out self-adaptive optimization on a predetermined plan according to learning experience accumulation so as to adjust dynamic parameters; a control policy mode option to indicate a demand balancing orientation for operational response performance by a user; the policy mode option explicitly or implicitly includes the radio mode parameters or their tuning scheme parameters for a balancing mechanism of response time and power consumption. For example, the control policy mode options: example 1 includes: a low power consumption control mode and a quick response mode; example 2 even adjusts the demand in "advanced" or "improved": load power consumption: high ← default → low; response speed: fast ← default → slow. Learning experience accumulation is learning and experience accumulation based on perception of user control operational behavior, examples are as follows: controlling the success rate: the success rate is controlled once; user satisfaction degree: if the repeated operation of the user represents dissatisfaction with the previous operation; and (3) effect correction: if there is a line option: "accelerate", "flash", "error correction", "reset", "force control"; and (3) key pressing learning of a user: such as: a long key by the user indicates dissatisfaction with the response time/speed, and multiple repeated pressing of the light off by the user indicates dissatisfaction with the light off effect.
In addition, an embodiment of the present invention further provides a computer apparatus, where a processor executes computer instructions, so as to implement the following method:
the method comprises the steps that a wireless master end device sends a synchronization sequence beacon containing a synchronization group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode; when the wireless slave end equipment receives the synchronous group control code information contained in the synchronous sequence beacon in the synchronous detection receiving time slot, the synchronous group control code is identified, and whether the wireless slave end equipment belongs to the group member set selected by the synchronous group control code is judged; the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code, and places the updated state check code into the equipment state beacon; the wireless master end equipment collects the state check codes contained in the equipment state beacons, which are fed back and sent by all the wireless slave end equipment in a wireless scanning and detecting mode, checks and monitors the equipment states of all the members in the group member set and the execution states of the state control operations of the members in the group member set in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacons according to the state monitoring information.
Those skilled in the art will appreciate that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable storage medium and can include the processes of the embodiments of the methods described above when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a Random Access Memory (RAM). The computer processor is used to execute a computer program stored in a storage medium to implement the method of:
the method comprises the steps that a wireless master end device sends a synchronization sequence beacon containing a synchronization group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode; when the wireless slave-end equipment receives the synchronous group control code information contained in the synchronous sequence beacon in the synchronous detection receiving time slot, the synchronous group control code is identified, and whether the wireless slave-end equipment belongs to the group member set selected by the synchronous group control code is judged; the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code, and places the updated state check code into the equipment state beacon; the wireless master end equipment collects the state check codes contained in the equipment state beacons, which are fed back and sent by all the wireless slave end equipment in a wireless scanning and detecting mode, checks and monitors the equipment states of all the members in the group member set and the execution states of the state control operations of the members in the group member set in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacons according to the state monitoring information.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. These should also be construed as the scope of the present invention, and they should not be construed as affecting the effectiveness of the practice of the present invention or the applicability of the patent. This need not be, nor should it be exhaustive of all embodiments. The scope of the claims of the present application shall be defined by the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A wireless synchronization group control method, comprising:
the method comprises the steps that a wireless master end device sends a synchronization sequence beacon containing a synchronization group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode;
when the wireless slave-end equipment receives synchronous group control code information contained in the synchronous sequence beacon in a synchronous detection receiving time slot, identifying the synchronous group control code, and judging whether the wireless slave-end equipment belongs to a group member set selected by the synchronous group control code;
the wireless slave end equipment executes corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code, and places the updated state check code into an equipment state beacon; the state check code is a check identifier for checking whether the data packet reception is completed and whether the result state accords with the expectation;
the wireless master end equipment collects the state check codes contained in the equipment state beacons and fed back and sent by all the wireless slave end equipment in a wireless scanning and detecting mode, checks and monitors the equipment states of all the members in the group member set and the execution states of the state control operations of the members in the group member set in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacons according to state monitoring information;
when the wireless master end equipment receives that the state check code fed back by the equipment members in the group member set is consistent with a monitored target value, the bit selection code of the wireless slave end equipment is superposed in a group control monitoring multi-selection code; and comparing the group control monitoring multi-selection code with the group control multi-selection code, and if the group control monitoring multi-selection code is equal to the group control monitoring multi-selection code, judging that all members in the group member set finish the set operation task.
2. The wireless synchronous group control method according to claim 1, wherein the wireless slave device determines whether it belongs to the group member set selected by the group control multi-option code by bit selection comparison and identification;
the bit selection comparison identifies that the group sequence code of the wireless slave device is converted into a corresponding bit selection code, and then the corresponding bit selection code is compared with a corresponding bit in a group control multi-selection code contained in the synchronous group control code to judge whether the wireless slave device belongs to the group control multi-selection code.
3. The wireless synchronous group control method according to claim 1, wherein when the operation task includes a plurality of subtasks, the wireless master device monitors the execution states of all the members for each subtask respectively according to the multi-selection superposition comparison method according to the check state corresponding to each subtask included in the state check code.
4. The wireless synchronization group control method according to claim 1, wherein when the wireless master device receives a device status beacon sent by the wireless slave device in a direct matching state as a cooperative agent node, a bit selection code corresponding to a group sequence code is superimposed on a matching monitoring multi-selection code;
the cooperative agent node compares the matching monitoring multi-selection code with an agent matching multi-selection code based on a set matching monitoring period, and directly replaces the agent matching multi-selection code with the matching monitoring multi-selection code to update when the matching monitoring multi-selection code and the agent matching multi-selection code are not equal;
the agent matching multi-selection code is a multi-selection code formed by performing bit selection superposition operation on bit selection codes of all wireless slave end equipment which are currently established in a direct matching state by the cooperative agent node.
5. The wireless synchronization group control method according to claim 1, wherein when the same cooperative agent network system includes a plurality of wireless master end devices as cooperative agent nodes, and when performing group control feedback monitoring based on the multi-choice superposition comparison, it is necessary to replace a group control multi-choice code included in the synchronization group control code with a matching group control multi-choice code obtained in the following manner;
the cooperative agent node transforms the group control multi-selection code G into a matched group control multi-selection code GA based on a 'bitwise AND' logical operation based on a current agent matching multi-selection code A: GA = G & a, and GA instead of G performs group-controlled feedback monitoring based on the multiple-choice superposition comparison.
6. The wireless synchronization group control method according to claim 1, wherein any wireless slave device in the device group receives the synchronization group control code information included in the synchronization sequence beacon in its synchronization detection reception timeslot, and if and only if the wireless slave device determines that its device network attribute matches the group control code information, performs the corresponding synchronization operation processing by determining the synchronization beacon identification code.
7. The wireless synchronization group control method according to claim 1, wherein the wireless master device as a cooperative agent node adjusts the corresponding byte a [ J ] in the proxy matching multi-selection code according to the following operation algorithm according to the bit selection byte offset J and the single-byte bit selection code E corresponding to the group sequence code of each wireless slave device that increases or decreases a direct matching state:
1) When each directly matched wireless slave end device is added, bit-based or bit-based superposition operation is carried out on the agent matching multi-selection code and the single byte bit selection code E;
2) And when one directly matched wireless slave end device is reduced, bitwise negation codes E of the agent matching multi-selection codes and the single byte bitwise selection codes E are subjected to bitwise AND bit selection shielding operation.
8. The wireless synchronous group control method of claim 1, wherein the group control multi-selection code is a code for performing multi-selection on all or some of the members of one or more target device groups and forming a group member set;
the composite group control multi-selection code is a synchronous group control code formed by compounding a plurality of group control multi-selection codes, wherein different group control multi-selection codes form different group member sets so as to carry out different group control operation modes and/or state operation parameters on different group member sets in the same target equipment group.
9. The wireless synchronous group control method according to claim 1, wherein when the wireless master device receives a superposable synchronous group control code queue from the host of the network system within a short group control processing period, the latest group control multi-option code and the group control multi-option code executed by the current target are superposed according to "logical or", and the superposed group control multi-option code is used as the group control multi-option code executed by the current target.
10. A wireless synchronous group control device is characterized in that,
the wireless synchronization group control device comprises a wireless master end device role module and/or a wireless slave end device role module, and the wireless master end device role module and the wireless slave end device role module are two physical devices or two device roles of the same physical device; the wireless master end device role module comprises a beacon sending processing module and a feedback monitoring processing module; the wireless slave end equipment role module comprises a detection recognition processing module and an execution feedback processing module;
the beacon transmission processing module includes: the beacon control unit is used for setting and updating synchronous sequence beacon information and beacon transmission association parameters and controlling the transmission process of the synchronous sequence beacon; the beacon transmitting unit is used for transmitting the synchronization sequence beacon containing the synchronization group control code to a plurality of wireless slave end devices in a cooperative matching state in a wireless directional broadcast mode of a specific wireless mode;
the detection recognition processing module comprises: a beacon detection unit for receiving the synchronization sequence beacon containing synchronization group control coding information in the synchronization detection receiving time slot; the identification judgment unit is used for identifying and judging the synchronous group control code in a bit selection comparison identification mode and judging whether the wireless slave end equipment belongs to the group member set selected by the synchronous group control code;
the execution feedback processing module comprises: an execution operation unit: executing corresponding state control operation according to the group control operation mode and/or state operation parameters contained in the synchronous group control code; a state feedback unit: the updated state check code is placed into a device state beacon, the information and the associated parameters of the device state beacon are set and updated, and the device state beacon is started to be sent; the state check code is a check identifier for checking whether the data packet reception is completed and whether the result state accords with the expectation;
the feedback monitoring processing module comprises: the feedback collection unit is used for collecting the state verification codes contained in the equipment state beacons, which are sent by all wireless slave-end equipment in a feedback mode in a wireless scanning detection mode; the state monitoring unit checks and monitors the equipment states of all members in the group member set and the execution states of the state control operation thereof in a multi-selection superposition comparison mode, and correspondingly keeps or updates the sending process of the synchronous sequence beacon according to state monitoring information; when the wireless master end equipment receives that the state check code fed back by the equipment members in the group member set is consistent with a monitored target value, the bit selection code of the wireless slave end equipment is superposed in a group control monitoring multi-selection code; and comparing the group control monitoring multi-selection code with the group control multi-selection code, and judging that all members in the group member set finish the established operation tasks if the group control monitoring multi-selection code and the group control monitoring multi-selection code are equal to each other.
CN202010809007.3A 2020-08-12 2020-08-12 Wireless synchronous group control method and device Active CN111918382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010809007.3A CN111918382B (en) 2020-08-12 2020-08-12 Wireless synchronous group control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010809007.3A CN111918382B (en) 2020-08-12 2020-08-12 Wireless synchronous group control method and device

Publications (2)

Publication Number Publication Date
CN111918382A CN111918382A (en) 2020-11-10
CN111918382B true CN111918382B (en) 2023-01-24

Family

ID=73284647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010809007.3A Active CN111918382B (en) 2020-08-12 2020-08-12 Wireless synchronous group control method and device

Country Status (1)

Country Link
CN (1) CN111918382B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769916B (en) * 2020-12-30 2022-06-21 杭州雅观科技有限公司 High-synchronization concurrent group control method, system and storage medium for smart community
CN114205842B (en) * 2021-11-03 2024-02-02 深圳市九洲电器有限公司 Device cooperation synchronization method, system, device, terminal device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625428A (en) * 2012-04-24 2012-08-01 苏州摩多物联科技有限公司 Time synchronization method of wireless sensor networks
KR20130003321A (en) * 2011-06-30 2013-01-09 삼성전자주식회사 Method and apparatus of group paging in a wireless communication system and method and apparatus for performing random access using the same
CN106576317A (en) * 2015-07-29 2017-04-19 华为技术有限公司 Small base station and communication control method therefor
CN108419287A (en) * 2018-01-11 2018-08-17 浙江大学 A method of it is synchronized for wireless device meshed network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130003321A (en) * 2011-06-30 2013-01-09 삼성전자주식회사 Method and apparatus of group paging in a wireless communication system and method and apparatus for performing random access using the same
CN102625428A (en) * 2012-04-24 2012-08-01 苏州摩多物联科技有限公司 Time synchronization method of wireless sensor networks
CN106576317A (en) * 2015-07-29 2017-04-19 华为技术有限公司 Small base station and communication control method therefor
CN108419287A (en) * 2018-01-11 2018-08-17 浙江大学 A method of it is synchronized for wireless device meshed network

Also Published As

Publication number Publication date
CN111918382A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
EP1569419B1 (en) Method of assigning addresses to a plurality of devices on a network and a network system therefor
CN110856194B (en) Dual-mode fusion networking method and communication method
CN109561513B (en) Distributed conflict-free ad hoc network multiple access protocol
KR101145950B1 (en) Methods and apparatus for supporting broadcast communications in a peer to peer network
CN101971691B (en) Methods and apparatus for acquiring and using multiple connection identifiers
CN111918382B (en) Wireless synchronous group control method and device
US11528167B2 (en) Method and device for implementing gateway cooperation, IoT gateway and storage medium
JP2007028615A (en) Selection of central coordinator, handover, backup, and failure recovery
CN101192861B (en) Method, device and communication system for adjusting data rate in network
CN104885410B (en) Commission channel for reticular pattern network switches
US20100278127A1 (en) Wireless communication method, and a piconet coordinator, wireless local area network, and a mobile apparatus for wireless local area network using the method
CN111954194A (en) Wireless intelligent tag refreshing control method and device based on Internet of things
CN111954165B (en) Wireless synchronous data transmission method and device
CN108200652B (en) Communication method and device applied to unmanned aerial vehicle cluster
CN114338267B (en) Maintenance method, device, equipment, bus network and medium for multiple management nodes
CN112671904A (en) Method and device for transmitting equipment state information, storage medium and electronic device
JP5963689B2 (en) Method and client for managing network resources in a wireless network
CN112437454A (en) Data transmission method and device, storage medium and electronic device
CN111935691B (en) Wireless low-power consumption configuration method and device
CN111918338B (en) Wireless cooperative agent method, device and network system
JP5506651B2 (en) Wireless network having star topology and method for operating the wireless network
JP3812838B2 (en) Method for controlling the number of radio channels
WO2018025491A1 (en) Control network system and node device thereof
CN111918381B (en) Wireless synchronous modulation method and device
CN103313425A (en) Realization method, device and system for establishing service link

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