CN111818493A - Data transmission method, wireless network system, node and readable storage medium - Google Patents

Data transmission method, wireless network system, node and readable storage medium Download PDF

Info

Publication number
CN111818493A
CN111818493A CN202010434793.3A CN202010434793A CN111818493A CN 111818493 A CN111818493 A CN 111818493A CN 202010434793 A CN202010434793 A CN 202010434793A CN 111818493 A CN111818493 A CN 111818493A
Authority
CN
China
Prior art keywords
private
event
packet
data transmission
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010434793.3A
Other languages
Chinese (zh)
Other versions
CN111818493B (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.)
Yingpu Lai Usa Co ltd
Original Assignee
Shanghai Orange Group Microelectronics 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 Shanghai Orange Group Microelectronics Co ltd filed Critical Shanghai Orange Group Microelectronics Co ltd
Priority to CN202010434793.3A priority Critical patent/CN111818493B/en
Publication of CN111818493A publication Critical patent/CN111818493A/en
Application granted granted Critical
Publication of CN111818493B publication Critical patent/CN111818493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • 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)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data transmission method, a wireless network system, a node and a readable storage medium. The nodes support coexistence of the low-power-consumption Bluetooth protocol and the private protocol, not only has high and wide support of the low-power-consumption Bluetooth protocol, but also can make up for the defects of the low-power-consumption Bluetooth protocol, the private protocol carries out data interaction through the private packet and the response packet, the private packet is provided with the source address and the destination address, the response packet is provided with the destination address but not provided with the source address, response control is carried out between the nodes through the response packet, the same information does not need to be transmitted for multiple times, the throughput is favorably improved, in addition, the bidirectional interaction of data can be carried out without establishing connection between the nodes, the response time is fast, parameters related to the connection do not need to be stored in a memory, and therefore more slave devices can be.

Description

Data transmission method, wireless network system, node and readable storage medium
Technical Field
The invention relates to the technical field of wireless communication, in particular to a data transmission method, a wireless network system, a node and a readable storage medium.
Background
In recent years, wireless communication technology is widely applied to various industries and daily lives of people, and one of the wireless communication technology is the field of internet of things. Common wireless communication technologies in the field of internet of things include bluetooth, Wi-Fi, ZigBee, narrowband internet of things (NB-IoT), LoRa, mobile cellular networks, and the like. Among the more popular technologies are Wi-Fi, Zigbee and Bluetooth Low Energy (BLE). Wi-Fi has high power consumption, high system cost, and a limited number of nodes supported within a network. Although Zigbee can support many nodes, it is not flexible enough and has high development cost and system cost. The low power consumption Bluetooth has low power consumption and low system cost, but has poor networking capability. For this reason, the industry has developed bluetooth Mesh technology for networking, which is networking through broadcast and scan modes.
In order to be reliably spread, the same information in the broadcast-based bluetooth Mesh technology needs to be continuously broadcast for multiple times, so that the throughput rate is reduced, and the spectrum pollution is caused. In addition, a connection must be established between nodes that need data interaction in the bluetooth Mesh technology based on connection, which results in poor expansibility of the technology, time consumption for establishing connection will prolong the overall data transmission time, i.e. the response time is long, and the number of nodes for establishing connection supported by any node is limited, i.e. the number of slave devices capable of establishing connection with a master device is limited, and generally, one master device establishes connection with no more than 25 slave devices at most.
Disclosure of Invention
In view of the above, the present invention provides a data transmission method, a wireless network system, a node, and a readable storage medium, so as to solve the problems caused by a single bluetooth low energy protocol supported in the prior art, such as multiple transmissions of the same information, a long response time, and a small number of slave devices capable of establishing a connection with a master device.
The invention provides a data transmission method, which comprises the following steps:
determining a Bluetooth Low energy event and a private protocol event assigned to a node;
the node executes a low-power-consumption Bluetooth event and a private protocol event according to preset information, the private protocol limits the node to transmit a private packet or a response packet, the private packet is provided with a source address and a destination address, and the response packet is provided with the destination address but not provided with the source address.
Optionally, the node executes the bluetooth low energy event and the private protocol event according to preset information, including:
acquiring the priority, the starting time and the ending time of a low-power-consumption Bluetooth event and a private protocol event;
and determining time-overlapped Bluetooth low energy events and private protocol events according to the starting time and the ending time, wherein the node executes the Bluetooth low energy event with higher priority or the private protocol event with the prior starting time.
Optionally, after the node executes one of the nodes with a higher priority, the data transmission method further includes:
cancelling or delaying execution of one of the Bluetooth Low energy event and the private protocol event having a lower priority.
Optionally, after the node executes one of the preceding start times, the data transmission method further includes: canceling or delaying execution of the one of the Bluetooth Low energy event and the private protocol event having a later start time, or increasing a priority of the one of the Bluetooth Low energy event and the private protocol event when executed next time.
Optionally, the node executes the private-protocol event, including:
the method comprises the steps that a main device sends a broadcast packet, wherein the broadcast packet is provided with an access code;
all slaves having the same access code as the master receive the broadcast packet and do not reply to the master.
Optionally, the node executes the private-protocol event, including:
the master device sends a private packet;
receiving the private packet from a slave device having a destination address of the private packet;
the slave device sends a reply packet to the master device.
Optionally, the private packet or the response packet further includes a preamble, an access code, a control code, a payload, and a cyclic redundancy check code.
The invention provides a wireless network system which comprises a plurality of nodes, wherein the nodes are distributed with low-power-consumption Bluetooth events and private protocol events and execute the low-power-consumption Bluetooth events and the private protocol events according to preset information, the private protocol limits the nodes to transmit private packets or response packets, the private packets are provided with source addresses and destination addresses, and the response packets are provided with the destination addresses but not provided with the source addresses.
The invention provides a wireless network node, comprising a memory and a processor, wherein the memory stores programs, and the programs are used for being executed by the processor to execute one or more steps of the data transmission method.
The invention provides a readable storage medium storing a program for execution by a processor to perform one or more steps of any of the above-described data transmission methods.
The data transmission method, the wireless network system, the nodes and the readable storage medium provided by the invention have the advantages that the nodes support the coexistence of the low-power-consumption Bluetooth protocol and the private protocol, the protocols are various, the high-wide support of the low-power-consumption Bluetooth protocol is realized, the defects of the low-power-consumption Bluetooth protocol can be overcome, the private protocol carries out data interaction through the private packet and the response packet, the private packet is provided with a source address and a destination address, the response packet is provided with the destination address but not provided with the source address, the response packet enables the nodes to have response control, the same information does not need to be transmitted for multiple times, the throughput is favorably improved, in addition, the nodes can carry out bidirectional interaction of data without establishing connection, the response time is fast, and parameters related to the connection do not need to be stored in a memory, so that more.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flow chart illustrating a data transmission method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a network environment according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of event scheduling according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless network system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of three basic star networks of the wireless network system shown in fig. 4;
fig. 6 is a frame structure diagram of a wireless packet according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of data interaction between a master device and a slave device;
fig. 8 is a schematic structural diagram of a wireless network node according to an embodiment of the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention are clearly and completely described below with reference to the accompanying drawings, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step, based on the following individual embodiments, fall within the scope of protection of the present invention. The following embodiments and their technical features may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the invention. Referring to fig. 1, the data transmission method may include the following steps S11-S12.
S11: a bluetooth low energy event and a private protocol event assigned to the node are determined.
S12: the node executes a low-power-consumption Bluetooth event and a private protocol event according to preset information, the private protocol limits the node to transmit a private packet or a response packet, the private packet is provided with a source address and a destination address, and the response packet is provided with the destination address but not provided with the source address.
By bluetooth low energy event is understood a data transmission event supporting the bluetooth low energy protocol and by a private protocol event is understood a data transmission event supporting the private protocol. The specific contents of the private protocol and the process of data interaction are described below.
The nodes supporting the bluetooth low energy protocol can perform bidirectional interaction of data only by establishing connection with other nodes, and the nodes supporting the private protocol event can perform bidirectional interaction of data without establishing connection, so that data interaction based on the private protocol event can be called connectionless data interaction. The nodes support the coexistence of the Bluetooth protocol with low power consumption and the private protocol, the protocols are various, the high and wide support of the Bluetooth protocol with low power consumption is realized, the defects of the Bluetooth protocol with low power consumption can be overcome, the private protocol performs data interaction through the private packet and the response packet, the private packet is provided with the source address and the destination address, the response packet is provided with the destination address but not the source address, the response packet enables response control between the nodes, the same information does not need to be transmitted for multiple times, the throughput is improved, in addition, connection does not need to be established between the nodes, the response time is short, parameters related to the connection do not need to be stored in a memory, and therefore more slave devices can be supported to perform data interaction.
Currently, many devices and platforms support bluetooth low energy protocols, such as smart phones, tablet computers, and the like. Through coexistence of the two protocols, the network can be expanded, and in addition, coexistence nodes can be conveniently configured through the platforms (such as a smart phone and a tablet computer).
Referring to fig. 2, nodes E, F, G, and H support a private protocol, the first device 11 supports coexistence of a bluetooth low energy protocol and the private protocol, the first device 11 and the nodes E, F, G, and H perform data interaction by using the bluetooth low energy protocol or the private protocol, and the second device 12 is a cloud access device and is configured to upload data of the first device 11 to the cloud 13. In the data interaction service, the first device 11 may also be regarded as a node, and different from the nodes E, F, G, and H, the first device 11 is further connected to the cloud access device.
Referring to fig. 2 (b), the second device 12 and the first device 11 may be connected wirelessly. Alternatively, as shown in fig. 2 (a), the second device 12 and the first device 11 may be connected by wire or interface, and both may belong to the same network access device 14, such as a gateway. The embodiment of the present invention does not limit the types of each node, the first device 11, the second device 12, and the network access device 14, the network protocol and the networking structure used by the access cloud 13, and the specific implementation manner of the server.
The nodes E, F, G, H, the first device 11, the second device 12, and the network access device 14 may be electronic devices in an actual application scenario, and the specific representation form of the electronic device may be mobile devices such as a smart phone and a PDA (personal digital Assistant or tablet computer), and may also be wearable devices that can be worn on limbs or embedded in clothing, jewelry, accessories, and the like and have corresponding functions.
In the data interaction service, the reference condition of which event is scheduled to be executed, namely the preset information, may be the start time, the end time and the priority of the event. This is used as an example to describe how bluetooth low energy events and private protocol events are scheduled.
In step S12, the arbiter of the wireless network first obtains the priority, the start time and the end time of the bluetooth low energy event and the private protocol event, and then determines the bluetooth low energy event and the private protocol event overlapping in time according to the start time and the end time, and further, for the bluetooth low energy event and the private protocol event overlapping in time, the arbiter schedules the node to execute one of the events with the higher priority or the one with the previous start time, i.e. the time with the earlier start time is executed.
If the priority of the bluetooth low energy event and the private protocol event are different, the arbiter may cancel or delay execution of an event of which priority is low after execution of an event of which priority is high when there is time overlap between the bluetooth low energy event and the private protocol event. After executing the event with the prior start time, the arbiter may execute the event with the subsequent start time, or directly cancel the event with the subsequent start time.
If the priority of the bluetooth low energy event and the priority of the private protocol event are the same, the arbiter may execute the event with the first start time when there is time overlap between the bluetooth low energy event and the private protocol event, and the event with the second start time may be cancelled or delayed to be executed. Of course, if an event is executing, the arbiter may also interrupt the current event and execute the new event immediately upon receiving the new event.
Fig. 3 is a diagram illustrating event scheduling according to an embodiment of the present invention. Referring to fig. 3, the private protocol scheduler outputs 6 private protocol events, which are private protocol events 1,2,3,4,5,6, and the bluetooth low energy scheduler outputs 3 BLE events, according to the time sequence, the start time of the first BLE event is the same as the start time of the private protocol event 1, and the end time of the first BLE event is earlier than that of the private protocol event 1, and the two events have time overlap; the second BLE event is the same as private protocol event 3 at the start time, and the second BLE event ends earlier than private protocol event 3, with a time overlap; the third BLE event is the same as private protocol event 5 starting time and the third BLE event ends earlier than private protocol event 5 with time overlap. Finally, the events output by the arbiter may be, in turn: a first BLE event, private protocol event B, a second BLE event, private protocol event D, a third BLE event, private protocol event 6.
Wherein the first BLE event may have a higher priority than private protocol event 1, the second BLE event may have a higher priority than private protocol event 3, and the third BLE event may have a higher priority than private protocol event 5.
With continued reference to fig. 4 and fig. 5, a plurality of nodes according to the embodiment of the present invention may be configured to form a wireless network, and for convenience of description, the nodes are identified as a, B, C, D, E, F, G, H, L, K, and N. It should be understood that the number of nodes shown in fig. 4 is 11, which is merely an exemplary illustration, and other embodiments of the present invention may limit the wireless network to include other numbers of nodes.
In each wireless network, different data exchange services, and the role attribute of each node can be switched, specifically, the same node can be used as a master device or a slave device. The master device may be understood as a slave device that performs data interaction while taking a role of data deployment and management in a data interaction service, and correspondingly, the master device may be understood as a slave device that performs data interaction while taking a role of deployment and management in the data interaction service.
For example, in the current data interaction service, as shown in (a) of fig. 5, the node a is a master device, and the nodes B, C, and D are all slave devices, while in other data interaction services, as shown in (B) of fig. 5, the master device is the node H, and the node a and the other nodes B, E, F, and G are all slave devices.
Each node that forms a wireless network is assigned a unique address, wherein the addresses assigned to the same node may be different in different data traffic. The address is used in the transmitted and received wireless packets (also called wireless data packets or wireless frames).
As shown in fig. 6 (a), a wireless packet with a basic format may include seven parts, which are a Preamble (Preamble), an Access code (Access Address), a Control code (Frame Control), a source Address, a destination Address, a payload (PDU (Protocol Data Unit), and a Cyclic Redundancy Check code (CRC).
The preamble is used to inform the receiver of receiving the wireless packet and to identify whether the wireless packet is a useful signal or an interfering signal, and is decoded if the wireless packet is useful information, and ignored if the wireless packet is an interfering signal, and it can also be used as a preliminary frequency and signal strength synchronization. The access code is used for authenticating each node in the wireless network so as to determine whether the node is associated with the wireless network. The control code is used to ensure the reliability of data transmission between nodes. The source address is the address of the device sending the wireless packet, and the destination address is the address of the device receiving the wireless packet. The payload is the payload data portion of the wireless packet transmission. The cyclic redundancy check code is used for detecting or checking whether the load transmission is wrong.
The specific format of the wireless packet used for data exchange between the nodes is obtained by converting the wireless packet with the basic format. Please refer to fig. 6, specifically:
as shown in (b) of fig. 6, the broadcast packet has neither a source address indicating an address of the master device nor a destination address indicating an address of the slave device, and includes a preamble, an access code, a control code, a payload, and a cyclic redundancy check code. The broadcast packet can only be sent by the master device.
As shown in (c) of fig. 6, the format of the private packet is the same as the basic format, which includes a preamble, an access code, a control code, a source address, a destination address, a payload, a cyclic redundancy check code. The source address is the address allocated to the master device by the data interaction service, and the destination address is the address allocated to the slave device by the data interaction service. The private packet can only be sent by the master device.
As shown in (d) of fig. 6, the response packet is transmitted by the slave device after receiving the private packet of the master device, which contains data transmitted from the slave device to the master device. The response packet is not provided with a source address, but comprises a preamble, an access code, a control code, a destination address, a payload, a cyclic redundancy check code. The destination address is an address allocated to the master device by the data interaction service.
In a wireless network, there are two data interaction modes between nodes, but in any mode, any two nodes must choose from the three types of wireless packets for data interaction. This is explained in detail in the following examples of the present invention.
The first data interaction mode among the nodes is as follows: and the master device and the slave device perform data interaction through the broadcast packet. Taking (a) in fig. 5 as an example, the master a transmits a broadcast packet, and the slaves B, C, D have the same access code as the master a, so that the slaves B, C, D can all receive the broadcast packet. However, the slave devices B, C, D may not transmit the response radio packet after receiving the broadcast packet, that is, the slave devices B, C, D may not respond to the master device a.
The second data interaction mode between the nodes is as follows: and the master device and the slave device perform data interaction through the private packet and the response packet. As shown in fig. 7, the master device transmits a wireless packet and waits for reception after transmission, and "i" indicates a time gap between two adjacent wireless packets, that is, a time gap between a wireless packet transmitted by a certain device and a received wireless packet. A wireless packet sent out by a master device is called a private packet, and the private packet contains the address of the master device (i.e., source address) and the address of a slave device (i.e., destination address). A wireless packet sent from a slave device is called an acknowledgement packet, which has no source address but a destination address (i.e., the address of the master device). The wireless packet for data exchange between the master device and the slave device has an Acknowledgement (ACK) control.
In the embodiment of the invention, the private protocol (and the private protocol event) limits bidirectional data interaction between the nodes through the private packet or the response packet, and does not adopt the broadcast packet. The broadcast packet may be used for bi-directional data interaction between nodes in a bluetooth low energy event.
With continued reference to fig. 7, the primary data exchange service of the master and slave devices may allow the exchange of multiple wireless packets. After receiving each wireless packet, the node (whether the node is a master device or a slave device) acquires a cyclic redundancy check code in the wireless packet, and performs redundancy check according to the cyclic redundancy check code, when the redundancy check in the wireless packet received by one party fails, the node quits the data exchange, and stops the data exchange with the other party.
In addition, when one party does not receive the effective access code for more than the preset time or the address is not correct, the equipment quits the data exchange, and the equipment and the other party stop the data exchange. Here, the address mismatch indicates that: the slave device receives the private packet, and acquires an address in the private packet, any one of the addresses (source address and destination address) in the private packet being different from the setting of the slave device. At this point, the slave drops the private packet and continues to receive snoops.
Of course, when both parties do not have a wireless packet to be exchanged, both parties exit the data exchange.
Based on the foregoing, the nodes in the embodiment of the present invention can perform bidirectional interaction of data without establishing a connection. In the same data exchange event, a plurality of wireless packets can be exchanged between two nodes, the data exchange is bidirectional and has response control, the same information does not need to be transmitted for multiple times, the throughput is favorably improved, and the spectrum pollution is favorably avoided.
Compared with the prior art that the nodes are connected with each other in the low-power-consumption Bluetooth technology, the method and the device for establishing the connection between the nodes do not need to establish the connection, so that the time for establishing the connection is saved, the response time is fast, and parameters related to the connection establishment do not need to be stored in a memory of any node, so that a single master device can support more slave devices to perform data interaction. For example, the destination address and the source address support 16-bit addressing in a default state, so that one master device can support data interaction with 65535 slave devices, which is far higher than that in the prior art, one master device can only perform data interaction with 25 slave devices at most.
The embodiment of the present invention further provides a wireless network system, which is composed of a plurality of nodes, as shown in fig. 5, where the nodes are respectively identified as a, B, C, D, E, F, G, H, L, K, and N. A wireless network system may be composed of a plurality of basic star networks, and a basic star network itself is a wireless network system. In a basic star network, all nodes use the same access code and different nodes are assigned different addresses.
Basic star networks can be divided into two types: one is a 1-to-M (i.e., one-to-many) basic star network, where M is a positive integer greater than or equal to 2. Fig. 6 (a) shows a 1-to-3 basic star network, where node a is a master device, and nodes B, C, and D are all slave devices of node a. Fig. 6 (B) shows 1 to 5 basic star networks, where node H is the master device, and nodes a, B, E, F, and G are all slave devices of node H. The other is an M-to-1 (i.e., many-to-one) basic star network. Fig. 6 (c) shows that the three nodes K, J, and M are all master devices, and the node a is a slave device of the three master devices, i.e., a 3-to-1 basic star network.
A more complex wireless network system, i.e., a multipoint mesh (mesh) network, can be formed using the 1-to-M and M-to-1 basic star networks, as shown in fig. 5, which is formed of three basic star networks shown in (a), (b), (c) of fig. 6.
A master device in one basic star network may act as a slave device in another basic star network. One master device in one basic star network may act as a master device in another basic star network. A slave device in one basic star network may act as a master device in another basic star network. One slave device in one basic star network may act as a slave device in another basic star network.
The master device may send broadcast packets to all slave devices. When a slave device receives a broadcast packet, the slave device does not respond, i.e., does not send any response packet.
When the master device sends a private packet to a slave device, the source address in the private packet is the address of the master device, and the destination address is the address of the corresponding slave device. When the slave device receives a private packet, the source address of the private packet is analyzed, and a response packet corresponding to the source address is sent, wherein the destination address in the response packet is the address of the corresponding master device.
When a slave device receives a private packet in which any one of a source address and a destination address is different from the settings of the slave device, the slave device discards the wireless packet and continues to receive snoops.
In the wireless network system according to the embodiment of the present invention, the deployment of the low power consumption bluetooth event and the private protocol event, and the data interaction process between the master device and the slave device may refer to the foregoing description, and details are not described herein again. In addition, connection does not need to be established between the devices, not only is response time fast, but also parameters related to connection do not need to be stored in a memory, and therefore more slave devices can be supported to carry out data interaction.
Fig. 8 is a schematic structural diagram of a wireless network node according to an embodiment of the present invention. Referring to fig. 8, the wireless network node 60 is the aforementioned node, and may be a master device or a slave device. The radio network node 60 comprises a processor 61 and a memory 62, the processor 61 and the memory 62 being connectable for data or signal transmission via a communication bus 63.
The processor 61 is a control center of the radio network node 60, connects various parts of the entire radio network node 60 using various interfaces and lines, and performs various functions of the radio network node 60 and processes data by running or loading a program stored in the memory 62 and calling data stored in the memory 62, thereby performing overall monitoring of the radio network node 60.
The processor 61 loads instructions corresponding to one or more processes of the program into the memory 62 according to the following steps, and the processor 61 runs the program stored in the memory 62, so as to implement one or more of the following functions:
determining a Bluetooth Low energy event and a private protocol event assigned to a node;
the node schedules a low-power-consumption Bluetooth event and a private protocol event according to preset information, the private protocol limits the node to transmit a private packet or a response packet, the private packet is provided with a source address and a destination address, and the response packet is provided with the destination address but not provided with the source address.
For the data interaction manner between the nodes, the specific content of the steps executed by the processor 61 calling the program can refer to the foregoing embodiments, and will not be described in detail here.
It should be understood that, when implemented in a practical application scenario, the execution bodies of the above steps may not be the processor 61 and the memory 62, but implemented by other modules and units respectively, according to the type of the device to which the wireless network node 60 belongs.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by related hardware controlled by the instructions, which may be stored in a readable storage medium and loaded and executed by a processor. To this end, the present invention provides a readable storage medium, where a plurality of instructions are stored, where the instructions can be loaded by a processor to execute one or more steps of any one of the data transmission methods provided by the present invention.
The readable storage medium may include a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
Since the instructions stored in the readable storage medium can execute the steps in any data transmission method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any data transmission method can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
Although the invention has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present invention includes all such modifications and variations, and is supported by the technical solutions of the foregoing embodiments. In particular regard to the various functions performed by the above described components, the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the specification.
That is, the above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structural changes made by using the contents of the present specification and the drawings, such as the combination of technical features between the embodiments, or the direct or indirect application to other related technical fields, are included in the scope of the present invention.
In addition, in the description of the foregoing embodiments, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Further, although the respective steps in the flowcharts of the above-described embodiments are sequentially displayed as indicated by arrows, the steps are not necessarily sequentially executed in the order indicated by the arrows. The steps are not performed in a strict order unless explicitly stated herein, but may be performed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed in turn or alternating with at least some of the other steps or sub-steps of the other steps.

Claims (10)

1. A data transmission method, characterized in that the data transmission method comprises:
determining a Bluetooth Low energy event and a private protocol event assigned to a node;
the node schedules a low-power-consumption Bluetooth event and a private protocol event according to preset information, the private protocol limits the node to transmit a private packet or a response packet, the private packet is provided with a source address and a destination address, and the response packet is provided with the destination address but not provided with the source address.
2. The data transmission method according to claim 1, wherein the node executes the bluetooth low energy event and the private protocol event according to preset information, comprising:
acquiring the priority, the starting time and the ending time of a low-power-consumption Bluetooth event and a private protocol event;
and determining time-overlapped Bluetooth low energy events and private protocol events according to the starting time and the ending time, wherein the node executes the Bluetooth low energy event with higher priority or the private protocol event with the prior starting time.
3. The data transmission method according to claim 2, wherein after the node performs one of them having a higher priority, the data transmission method further comprises:
cancelling or delaying execution of one of the Bluetooth Low energy event and the private protocol event having a lower priority.
4. The data transmission method according to claim 2, wherein the node performs one of the preceding start times later, the data transmission method further comprising:
canceling or delaying execution of the one of the Bluetooth Low energy event and the private protocol event having a later start time, or increasing a priority of the one of the Bluetooth Low energy event and the private protocol event when executed next time.
5. The data transmission method of claim 1, wherein a node executes the private protocol event, comprising:
the method comprises the steps that a main device sends a broadcast packet, wherein the broadcast packet is provided with an access code;
all slaves having the same access code as the master receive the broadcast packet and do not reply to the master.
6. The data transmission method of claim 1, wherein a node executes the private protocol event, comprising:
the master device sends a private packet;
receiving the private packet from a slave device having a destination address of the private packet;
the slave device sends a reply packet to the master device.
7. The data transmission method according to claim 1, wherein the private packet or the response packet further comprises a preamble, an access code, a control code, a payload, and a cyclic redundancy check code.
8. A wireless network system is characterized by comprising a plurality of nodes, wherein the nodes are distributed with low-power-consumption Bluetooth events and private protocol events and execute the low-power-consumption Bluetooth events and the private protocol events according to preset information, the private protocol limits the nodes to transmit private packets or response packets, the private packets are provided with source addresses and destination addresses, and the response packets are provided with the destination addresses but not provided with the source addresses.
9. A wireless network node, comprising a memory and a processor, the memory storing a program for execution by the processor to perform one or more steps of the data transmission method of any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores a program for execution by a processor to perform one or more steps of the data transmission method according to any one of claims 1 to 7.
CN202010434793.3A 2020-05-21 2020-05-21 Data transmission method, wireless network system, node, and readable storage medium Active CN111818493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434793.3A CN111818493B (en) 2020-05-21 2020-05-21 Data transmission method, wireless network system, node, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434793.3A CN111818493B (en) 2020-05-21 2020-05-21 Data transmission method, wireless network system, node, and readable storage medium

Publications (2)

Publication Number Publication Date
CN111818493A true CN111818493A (en) 2020-10-23
CN111818493B CN111818493B (en) 2023-11-07

Family

ID=72848057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434793.3A Active CN111818493B (en) 2020-05-21 2020-05-21 Data transmission method, wireless network system, node, and readable storage medium

Country Status (1)

Country Link
CN (1) CN111818493B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383907A (en) * 2020-11-10 2021-02-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN113242204A (en) * 2021-03-11 2021-08-10 上海兆煊微电子有限公司 Processing device supporting BLE standard protocol or private protocol
CN113438633A (en) * 2021-06-18 2021-09-24 深圳松诺技术有限公司 Communication data processing method, terminal and computer readable storage medium
CN113498049A (en) * 2021-04-28 2021-10-12 广州芯之联科技有限公司 Bluetooth data transmission event scheduling method and device and Bluetooth equipment
CN113660353A (en) * 2021-08-11 2021-11-16 珠海市晶讯物联技术有限公司 Method, device, equipment and medium for managing Provisioner address based on Bluetooth Mesh
CN114727248A (en) * 2020-12-22 2022-07-08 中国石油化工股份有限公司 High-risk operation gas monitoring method, terminal and system, alarm method and alarm instrument

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100120362A1 (en) * 2008-11-10 2010-05-13 Walley John S Method and system for quick bluetooth low energy (ble) protocol signal presence detection for coexistence
CN105050034A (en) * 2015-08-25 2015-11-11 百度在线网络技术(北京)有限公司 Method, device and system for implementing voice service based on Bluetooth connection
CN105873023A (en) * 2016-05-09 2016-08-17 深圳市天工测控技术有限公司 Indoor positioning system and method based on BLE mesh networking
CN105939167A (en) * 2016-03-15 2016-09-14 天地融科技股份有限公司 Data transmission method and system, terminal, electronic signature device
WO2017003337A1 (en) * 2015-07-02 2017-01-05 Telefonaktiebolaget Lm Ericsson (Publ) Bluetooth low energy address resolving
CN108064036A (en) * 2017-12-04 2018-05-22 重庆信络威科技有限公司 Bluetooth Low Energy protocol architecture and network dispatching method
CN108430038A (en) * 2018-01-29 2018-08-21 盾钰(上海)互联网科技有限公司 The method and system that multiterminal are communicated based on bluetooth multiterminal
CN108712737A (en) * 2018-05-04 2018-10-26 北京洛克家智能科技有限责任公司 A kind of method and system of information exchange
CN109495870A (en) * 2018-07-24 2019-03-19 华为机器有限公司 The method and apparatus of bluetooth test
CN110177363A (en) * 2019-05-28 2019-08-27 百度在线网络技术(北京)有限公司 Bluetooth data transfer method, apparatus, Bluetooth chip and storage medium
CN110730440A (en) * 2019-09-03 2020-01-24 深圳市昇润科技有限公司 Bluetooth networking system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100120362A1 (en) * 2008-11-10 2010-05-13 Walley John S Method and system for quick bluetooth low energy (ble) protocol signal presence detection for coexistence
WO2017003337A1 (en) * 2015-07-02 2017-01-05 Telefonaktiebolaget Lm Ericsson (Publ) Bluetooth low energy address resolving
CN105050034A (en) * 2015-08-25 2015-11-11 百度在线网络技术(北京)有限公司 Method, device and system for implementing voice service based on Bluetooth connection
CN105939167A (en) * 2016-03-15 2016-09-14 天地融科技股份有限公司 Data transmission method and system, terminal, electronic signature device
CN105873023A (en) * 2016-05-09 2016-08-17 深圳市天工测控技术有限公司 Indoor positioning system and method based on BLE mesh networking
CN108064036A (en) * 2017-12-04 2018-05-22 重庆信络威科技有限公司 Bluetooth Low Energy protocol architecture and network dispatching method
CN108430038A (en) * 2018-01-29 2018-08-21 盾钰(上海)互联网科技有限公司 The method and system that multiterminal are communicated based on bluetooth multiterminal
CN108712737A (en) * 2018-05-04 2018-10-26 北京洛克家智能科技有限责任公司 A kind of method and system of information exchange
CN109495870A (en) * 2018-07-24 2019-03-19 华为机器有限公司 The method and apparatus of bluetooth test
CN110177363A (en) * 2019-05-28 2019-08-27 百度在线网络技术(北京)有限公司 Bluetooth data transfer method, apparatus, Bluetooth chip and storage medium
CN110730440A (en) * 2019-09-03 2020-01-24 深圳市昇润科技有限公司 Bluetooth networking system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
师敬旭: "《用于物联网通信的蓝牙网关设计》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
张皓伦: "《基于低功耗蓝牙MESH的组网系统的研究与设计》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
徐加伟: "《基于低功耗蓝牙通讯技术的交通数据检测方法研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN112383907A (en) * 2020-11-10 2021-02-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN112383907B (en) * 2020-11-10 2023-12-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN114727248A (en) * 2020-12-22 2022-07-08 中国石油化工股份有限公司 High-risk operation gas monitoring method, terminal and system, alarm method and alarm instrument
CN113242204A (en) * 2021-03-11 2021-08-10 上海兆煊微电子有限公司 Processing device supporting BLE standard protocol or private protocol
CN113498049A (en) * 2021-04-28 2021-10-12 广州芯之联科技有限公司 Bluetooth data transmission event scheduling method and device and Bluetooth equipment
CN113498049B (en) * 2021-04-28 2023-11-14 广州芯之联科技有限公司 Bluetooth data transmission event scheduling method and device and Bluetooth equipment
CN113438633A (en) * 2021-06-18 2021-09-24 深圳松诺技术有限公司 Communication data processing method, terminal and computer readable storage medium
CN113438633B (en) * 2021-06-18 2023-03-31 深圳松诺技术有限公司 Communication data processing method, terminal and computer readable storage medium
CN113660353A (en) * 2021-08-11 2021-11-16 珠海市晶讯物联技术有限公司 Method, device, equipment and medium for managing Provisioner address based on Bluetooth Mesh

Also Published As

Publication number Publication date
CN111818493B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN111818493B (en) Data transmission method, wireless network system, node, and readable storage medium
JP6637198B2 (en) Technology for assigning short addresses to network devices
CN105578553B (en) data communication initiating, relaying and receiving method and device thereof
JP2016506172A (en) Device discovery method, apparatus and system
CN111615196B (en) Resource allocation method, data receiving method and related equipment
CN111264079B (en) Data transmission method, electronic device, system and storage medium
CN111817824B (en) Information transmission method, terminal equipment and control node
WO2020147081A1 (en) Data transmission method, related device, and computer storage medium
WO2022151420A1 (en) Method, apparatus, and system for transmitting data packet
US8774719B2 (en) System and method for WLAN and SCO bluetooth coexistence
US20190116597A1 (en) Mobile device and uplink data transmission method thereof
US11516798B2 (en) Method and system for communicating using a default channel during unused periods of timeslots
CN113727453B (en) Method, device, system and storage medium for resource scheduling
CN111818515B (en) Wireless network construction method, wireless network system, node, and readable storage medium
CN116034593A (en) Data transmission method and communication device applied to short-distance wireless communication
CN116073872A (en) CSI transmission method, method for triggering CSI transmission and related equipment
US10123273B2 (en) Facilitating power conservation for local area transmissions
CN112291757A (en) Data transmission method, device, storage medium and electronic equipment
CN112672386A (en) Selective transmission in a wireless device
CN114503467A (en) Data transmission method and device
CN115499932B (en) Communication method and device
CN113645646B (en) Communication optimization method, device, equipment, server and communication system for low-power-consumption equipment
WO2024067189A1 (en) Communication method and apparatus
WO2023030052A1 (en) Communication method and device
WO2023279359A1 (en) Communication method and apparatus

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
TR01 Transfer of patent right

Effective date of registration: 20240522

Address after: Suite J728, 1 Tech Road, Irvine, California, USA

Patentee after: Yingpu Lai USA Co.,Ltd.

Country or region after: U.S.A.

Address before: Room 733, building a, 888 Huanhu West 2nd Road, Nanhui new town, Pudong New Area, Shanghai, 201306

Patentee before: Shanghai orange group Microelectronics Co.,Ltd.

Country or region before: China