CN115038051B - Information reporting method, receiving method, device, equipment and medium based on Bluetooth - Google Patents

Information reporting method, receiving method, device, equipment and medium based on Bluetooth Download PDF

Info

Publication number
CN115038051B
CN115038051B CN202210964548.2A CN202210964548A CN115038051B CN 115038051 B CN115038051 B CN 115038051B CN 202210964548 A CN202210964548 A CN 202210964548A CN 115038051 B CN115038051 B CN 115038051B
Authority
CN
China
Prior art keywords
networking
channel
terminal
bluetooth
information
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
CN202210964548.2A
Other languages
Chinese (zh)
Other versions
CN115038051A (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.)
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics 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 Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202210964548.2A priority Critical patent/CN115038051B/en
Publication of CN115038051A publication Critical patent/CN115038051A/en
Application granted granted Critical
Publication of CN115038051B publication Critical patent/CN115038051B/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/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • 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)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure provides a method, a device and a medium for reporting information based on bluetooth, wherein the method for reporting information based on bluetooth comprises the following steps: polling a broadcast channel of said Bluetooth, polling a non-broadcast channel of said Bluetooth when no stand-alone beacon frame is received on said broadcast channel; when a networking beacon frame sent by a base station is received on a first channel in the non-broadcast channels, determining that the first channel is a networking channel; sending an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receiving an association summary confirmation frame sent by the base station when a superframe is finished to finish networking; after receiving an information request frame sent by a base station, reporting information in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism until receiving a stop command sent by the base station, so as to solve the technical problem that when the information reporting is realized based on Bluetooth at present, collision is easy to occur when the number of concurrent transmissions is large.

Description

Information reporting method, receiving method, device, equipment and medium based on Bluetooth
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, a device, an apparatus, and a medium for reporting information based on bluetooth.
Background
Bluetooth Low Energy (BLE) technology has advantages of Low cost, low power consumption, and being capable of realizing local direct connection with mobile devices such as mobile phones, and is widely applied to interconnection between intelligent devices, for example, control and data upload of intelligent devices in an intelligent home system, or data upload and terminal control in an intelligent monitoring system.
When the bluetooth low energy BLE technology is applied to high concurrency scenes such as information or data reported by a plurality of terminals at the same time, the system needs to acquire the information or data reported by the plurality of terminals at the same time based on the bluetooth low energy BLE protocol. The current solution scheme is generally based on BLE broadcasting to respectively acquire information or data reported by each terminal, and the scheme has high data real-time performance, but network data collision is easily caused when the quantity of concurrent data is large, the system reliability is poor, and information reported by the terminals or equipment is easily lost.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide an information reporting method, an information receiving method, an apparatus, a device, and a medium based on bluetooth.
In a first aspect, an embodiment of the present disclosure provides a bluetooth-based information reporting method.
Specifically, the information reporting method based on bluetooth is applied to a terminal, and includes:
polling a broadcast channel of said Bluetooth, polling a non-broadcast channel of said Bluetooth when no stand-alone beacon frame is received on said broadcast channel;
when a networking beacon frame sent by a base station is received on a first channel in the non-broadcast channels, determining that the first channel is a networking channel;
sending an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receiving an association summary confirmation frame sent by the base station when a superframe is finished to finish networking;
after receiving an information request frame sent by a base station, reporting information at a preset time slot based on a Time Division Multiple Access (TDMA) mechanism until receiving a stop command sent by the base station, wherein the preset time slot is determined according to a networking network.
According to an embodiment of the present disclosure, further comprising:
when no stand-alone beacon frame is received on the broadcast channel, determining that the terminal is in a networking mode, and then polling a non-broadcast channel of the Bluetooth.
According to an embodiment of the present disclosure, the sending an association request to a base station with a carrier sense multiple access CSMA mechanism on the networking channel includes:
when the networking channel is determined to be idle, the association request is sent;
when the association request collides with association requests sent by other terminals, the association request is sent again after a first random time length is withdrawn until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
According to an embodiment of the present disclosure, the preset time slot is determined according to a networking network, and includes:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
According to an embodiment of the present disclosure, further comprising:
determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel;
and reporting information to a convergence terminal through a broadcast channel receiving the single beacon frame until a stop command sent by the convergence terminal is received, wherein the single beacon frame is sent by the convergence terminal.
According to the embodiment of the disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
In a second aspect, an embodiment of the present disclosure provides a bluetooth-based information receiving method, which is applied to a base station, and includes:
polling non-broadcast channels of the Bluetooth, and determining an idle first channel in the non-broadcast channels as a networking channel;
sending networking beacon frames on the networking channel;
receiving an association request sent by each terminal on the networking channel by a Carrier Sense Multiple Access (CSMA) mechanism, and sending an association summary confirmation frame to each terminal when a superframe is finished to finish networking;
the method comprises the steps of sending an information request frame to each terminal, receiving information reported by each terminal in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism, and sending a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network.
According to an embodiment of the present disclosure, the polling the non-broadcast channels of the bluetooth, and determining that an idle first channel in the non-broadcast channels is a networking channel, includes:
polling the non-broadcast channels of the Bluetooth and detecting whether data is received on each non-broadcast channel;
and when determining that no data is received on the first channel in the non-broadcast channels, considering the first channel to be idle, and determining that the idle first channel is a networking channel.
According to an embodiment of the present disclosure, the preset time slot is determined according to a networking network, and includes:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
According to an embodiment of the present disclosure, the first preset condition includes at least one of:
the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
According to an embodiment of the present disclosure, further comprising:
and sending the information reported by each terminal to the convergence terminal so that the convergence terminal processes and/or displays the information reported by each terminal.
According to an embodiment of the present disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
In a third aspect, an embodiment of the present disclosure provides an information reporting apparatus based on bluetooth.
Specifically, the information reporting apparatus based on bluetooth is located at a terminal, and includes:
a mode determination module configured to poll a broadcast channel of the Bluetooth, polling a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel;
a first networking channel determining module configured to determine that a first channel is a networking channel when a networking beacon frame transmitted by a base station is received on the first channel of the non-broadcast channels;
the first networking module is configured to send an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receive an association summary confirmation frame sent by the base station when a superframe is finished so as to complete networking;
the first reporting module is configured to report information at a preset time slot based on a Time Division Multiple Access (TDMA) mechanism after receiving an information request frame sent by a base station until receiving a stop command sent by the base station, wherein the preset time slot is determined according to a networking network.
According to an embodiment of the disclosure, the mode determination module is further configured to:
when no stand-alone beacon frame is received on the broadcast channel, determining that the terminal is in a networking mode, and then polling a non-broadcast channel of the Bluetooth.
According to an embodiment of the present disclosure, said sending an association request to a base station with a carrier sense multiple access, CSMA, mechanism on said networking channel comprises:
when the networking channel is determined to be idle, the association request is sent;
when the association request collides with association requests sent by other terminals, the association request is sent again after the first random time length is backed off until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
According to an embodiment of the present disclosure, the preset time slot is determined according to a networking network, and includes:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
In accordance with an embodiment of the present disclosure,
the mode determination module is further configured to:
determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel;
the device further comprises:
and the second reporting module is configured to, when it is determined that the terminal is in the standalone mode, report information to the aggregation terminal through a broadcast channel receiving the standalone beacon frame until a stop command sent by the aggregation terminal is received, wherein the standalone beacon frame is sent by the aggregation terminal.
According to an embodiment of the present disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
In a fourth aspect, an embodiment of the present disclosure provides a bluetooth-based information receiving apparatus, located in a base station, including:
the second determining module is configured to poll non-broadcast channels of the Bluetooth and determine an idle first channel in the non-broadcast channels as a networking channel;
a first transmitting module configured to transmit a networking beacon frame on the networking channel;
the second networking module is configured to receive the association request sent by each terminal on the networking channel by using a Carrier Sense Multiple Access (CSMA) mechanism, and send an association summary confirmation frame to each terminal when a superframe is finished so as to complete networking;
and the second sending module is configured to send an information request frame to each terminal, receive information reported by each terminal based on a Time Division Multiple Access (TDMA) mechanism in a preset time slot, and send a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network.
In accordance with an embodiment of the present disclosure,
the polling the non-broadcast channels of the bluetooth and determining that an idle first channel in the non-broadcast channels is a networking channel includes:
polling the non-broadcast channels of the Bluetooth and detecting whether data is received on each non-broadcast channel;
and when determining that no data is received on a first channel in the non-broadcast channels, considering the first channel to be idle, and determining the idle first channel as a networking channel.
According to an embodiment of the present disclosure, the preset time slot is determined according to a networking network, and includes:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
According to an embodiment of the present disclosure, the first preset condition includes at least one of:
the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
According to an embodiment of the present disclosure, further comprising:
and the third sending module is configured to send the information reported by each terminal to the convergence terminal so that the convergence terminal processes and/or displays the information reported by each terminal.
According to the embodiment of the disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
In a fifth aspect, embodiments of the present disclosure provide a chip including the apparatus according to any one of the third and fourth aspects.
In a sixth aspect, the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of the first and second aspects.
In a seventh aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, implement the method as described in the first and second aspects.
According to the technical scheme provided by the embodiment of the disclosure, an information reporting method based on Bluetooth is provided, which comprises the following steps:
polling a broadcast channel of the Bluetooth, polling a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel; when a networking beacon frame sent by a base station is received on a first channel in the non-broadcast channels, determining that the first channel is a networking channel; sending an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receiving an association summary confirmation frame sent by the base station when a superframe is finished to finish networking; based on a networking network, after receiving an information request frame sent by a base station, reporting information in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism until a stop command sent by the base station is received. By adopting the technical scheme of the embodiment of the disclosure, the CSMA mechanism is combined with the mode of summarizing the confirmation frame to realize the rapid networking of the terminals in the non-broadcast channel of the Bluetooth, and the TDMA mechanism is combined to realize the information reporting, thereby avoiding the information collision possibly caused by the fact that all the terminals report information through the broadcast channel in the current high-concurrency scene, improving the reliability of information transmission, simultaneously reducing the receiving/transmitting switching time of the base station and improving the information transmission efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings.
Fig. 1 is a flowchart illustrating a bluetooth-based information reporting method according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating another method for reporting information based on bluetooth according to an embodiment of the present disclosure.
Fig. 3 illustrates a flowchart of a bluetooth-based information receiving method according to an embodiment of the present disclosure.
Fig. 4 is a schematic diagram illustrating an application of a bluetooth-based information reporting method and an information receiving method in a bluetooth-based high-concurrency data reporting and receiving scenario according to an embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating a structure of a bluetooth-based information reporting apparatus according to an embodiment of the present disclosure.
Fig. 6 illustrates a block diagram of a structure of a bluetooth-based information receiving apparatus according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
FIG. 8 shows a schematic block diagram of a computer system suitable for use in implementing a method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numerals, steps, actions, components, parts, or combinations thereof in the specification, and are not intended to preclude the possibility that one or more other features, numerals, steps, actions, components, parts, or combinations thereof are present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In the present disclosure, the acquisition of the user information or the user data is an operation that is authorized, confirmed, or actively selected by the user.
As mentioned above, the Bluetooth Low Energy (BLE) technology has advantages of Low cost, low power consumption, and capability of implementing local direct connection with mobile devices such as mobile phones, and is currently widely applied to interconnection between intelligent devices, for example, control and data upload of intelligent devices in an intelligent home system, or data upload and terminal control in an intelligent monitoring system. When the bluetooth low energy BLE technology is applied to high concurrency scenes such as information or data reported by a plurality of terminals at the same time, the system needs to acquire the information or data reported by the plurality of terminals at the same time based on the bluetooth low energy BLE protocol. The current solution scheme is generally based on BLE broadcasting to respectively acquire information or data reported by each terminal, and the scheme has high data real-time performance, but network data collision is easily caused when the quantity of concurrent data is large, the system reliability is poor, and information reported by the terminals or equipment is easily lost.
In view of this, the present disclosure provides an information reporting method based on bluetooth, which implements fast networking by combining a CSMA mechanism with a summary acknowledgement frame, reduces the receiving/transmitting switching time of a base station, and reports information by using a TDMA mechanism, thereby avoiding collision of information reported by different terminals, and improving system reliability
Fig. 1 to 3 are flowcharts illustrating a bluetooth-based information reporting method according to an embodiment of the present disclosure. As shown in fig. 1 to fig. 3, the method for reporting information based on bluetooth includes the following steps S101 to S104:
polling a broadcast channel of the bluetooth, and polling a non-broadcast channel of the bluetooth when a standalone beacon frame is not received on the broadcast channel in step S101;
in step S102, when a networking beacon frame sent by a base station is received on a first channel of the non-broadcast channels, determining that the first channel is a networking channel;
in step S103, a carrier sense multiple access CSMA mechanism is used to send an association request to the base station on the networking channel, and an association summary confirmation frame sent by the base station is received when the superframe is finished, thereby completing networking;
in step S104, after receiving the information request frame sent by the base station based on the networking network, the information is reported in the preset time slot based on the time division multiple access TDMA mechanism until receiving the stop command sent by the base station.
In the embodiment of the present disclosure, the information reporting method based on bluetooth is applied to a terminal, where the bluetooth may be 2.4G bluetooth low energy BLE, and the terminal may be a device including a bluetooth communication module, for example, a household device such as a sound box and a fan, a personal health device such as an intelligent bracelet, an intelligent device such as a sensor, or other devices, which is not limited herein. The terminal may be a simple terminal having only information acquisition and transceiving capabilities but not information processing capabilities, or may be an intelligent terminal having both information acquisition and transceiving capabilities and information processing capabilities, which is not limited herein. The terminal can report information to the base station, and can also directly report information to the convergence terminal. The base station may be a micro mobile base station, and may also be other types of base stations, which are not limited herein. The convergence terminal can be a portable terminal such as a mobile phone, a tablet computer PAD, a Personal Digital Assistant (PDA) and the like, or a large-scale terminal such as a computer, a server and the like, and has information transceiving capability, information processing capability and information display capability. The base station and the aggregation terminal may be connected through a wired connection, such as a USB connection, or may be connected through a wireless connection, which is not limited herein.
In the embodiment of the present disclosure, when the terminal needs to report information, the terminal initializes a system of the terminal, scans a broadcast channel of bluetooth, and determines whether the terminal is in a standalone mode. And when the terminal confirms that the terminal is not in the stand-alone mode, switching to the networking mode, polling the non-broadcast channel of the Bluetooth, and detecting whether a networking beacon frame sent by the base station is received or not on the non-broadcast channel of the Bluetooth. When a networking beacon frame sent by the base station is received on a first channel in the non-broadcast channels, the polling is stopped, and it is determined that the first channel is a networking channel, where the non-broadcast channel may be a data channel or other channels, which is not limited herein.
In the embodiment of the disclosure, after the networking channel is determined, the terminal sends an association request to the base station on the networking channel by using a Carrier Sense Multiple Access (CSMA) mechanism. Specifically, the sending of the association request to the base station by using the carrier sense multiple access CSMA mechanism on the networking channel may be implemented in the following manner: the terminal firstly determines whether the networking channel is idle before reporting information, and when the networking channel is determined to be idle, the terminal sends the association request to the base station; when the association request sent by the terminal collides with association requests sent by other terminals, the terminal may resend the association request after the backoff is performed for the first random time period until the number of resending times exceeds a first threshold; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer. When determining that the networking channel is not idle, the terminal may determine whether the networking channel is idle again after a second random time period, where the second random time period is less than or equal to the time period of the superframe.
In the embodiment of the disclosure, after sending the association request to the base station, the terminal waits until the end of the superframe, and if the association summary confirmation frame sent by the base station is received when the superframe is ended, it indicates that the networking is successful, so that the networking step of this information reporting is completed, and information reporting can be performed subsequently based on a networking network. And if the association summary confirmation frame sent by the base station is not received at the end of the superframe, indicating that the networking is unsuccessful, waiting for the base station to send the networking beacon frame again, and sending an association request to the base station again for networking after receiving the retransmitted networking beacon frame.
In the embodiment of the present disclosure, after successfully completing networking, the terminal receives an information request frame sent by a base station, and after receiving the information request frame sent by the base station, reports information in a preset Time slot based on a Time Division Multiple Access (TDMA) mechanism until receiving a stop command sent by the base station, where the preset Time slot is determined according to a networking network.
In this disclosure, the preset time slot is determined according to a networking network, and includes: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
According to the technical scheme of the embodiment of the disclosure, the CSMA mechanism is combined with the mode of summarizing the confirmation frame to realize the rapid networking of the terminals in the non-broadcast channel of the Bluetooth, and the TDMA mechanism is combined to realize the information reporting, so that the information collision possibly caused by the fact that all the terminals report information through the broadcast channel in the current high-concurrency scene is avoided, the reliability of information transmission is improved, meanwhile, the receiving/transmitting switching time of the base station is reduced, and the information transmission efficiency is improved.
In the embodiment of the present disclosure, the information reporting method based on bluetooth may also be used in a standalone mode, that is, only a single terminal reports information, and a scenario in which multiple terminals report information at the same time is not required. At this time, because networking of a plurality of terminals is not needed, a base station is not needed to be set, and the terminals can directly report the information to the convergence terminal. As shown in fig. 2, in the standalone mode, the method for reporting information based on bluetooth includes: polling a broadcast channel of the Bluetooth, and determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel; after the terminal is determined to work in the single machine mode, the terminal can report information to the convergence terminal through a broadcast channel which receives the single machine beacon frame until a stop command sent by the convergence terminal is received, wherein the single machine beacon frame is sent by the convergence terminal. The convergence terminal may send the stop command when the time length for receiving the information is greater than or equal to a second preset time length, the received information is greater than or equal to a second preset number, and/or preset specific information is received.
According to the technical scheme of the embodiment of the disclosure, different beacon frames (networking beacon frames and single machine beacon frames) are set in different Bluetooth channels (non-broadcast channels and broadcast channels) to distinguish modes (networking reporting and single machine reporting) of information reported by the terminal, so that the configuration is simple and efficient, and the application range of the scheme is further expanded.
Fig. 3 illustrates a flowchart of a bluetooth-based information receiving method according to an embodiment of the present disclosure. As shown in fig. 4, the method for reporting information based on bluetooth includes the following steps S301 to S304:
in step S301, polling the non-broadcast channels of the bluetooth, and determining an idle first channel in the non-broadcast channels as a networking channel;
in step S302, a networking beacon frame is transmitted on the networking channel;
in step S303, receiving an association request sent by each terminal on the networking channel by using a carrier sense multiple access CSMA mechanism, and sending an association summary confirmation frame to each terminal when a superframe is finished, thereby completing networking;
in step S304, an information request frame is sent to each terminal, information reported by each terminal in a preset time slot based on a TDMA mechanism is received, and a stop command is sent to each terminal when a first preset condition is met, where the preset time slot is determined according to a networking network.
In this embodiment of the present disclosure, the information reporting method based on bluetooth is applied to a base station, where the bluetooth may be 2.4G bluetooth low energy BLE, and the base station may be a micro mobile base station or other types of base stations, and is not limited herein. The base station can receive the information reported by the terminal and can send the received information to the convergence terminal. The terminal may be a device including a bluetooth communication module, such as a sound box, a fan, and other household devices, a smart band, and other personal health devices, a sensor, and other smart devices, which are not limited herein. The terminal may be a simple terminal having only information acquisition and transceiving capabilities but not information processing capabilities, or may be an intelligent terminal having both information acquisition and transceiving capabilities and information processing capabilities, which is not limited herein. The convergence terminal can be a portable terminal such as a mobile phone, a tablet computer PAD, a Personal Digital Assistant (PDA) and the like, or a large-scale terminal such as a computer, a server and the like, and has information transceiving capability, information processing capability and information display capability. The base station and the aggregation terminal may be connected through a wired connection, such as a USB connection, or may be connected through a wireless connection, which is not limited herein.
In the embodiment of the disclosure, when the base station needs to receive information, the base station initializes a system of the base station, polls the non-broadcast channel of the bluetooth, and determines that an idle first channel in the non-broadcast channel is a networking channel. Specifically, the base station may poll the non-broadcast channels of the bluetooth, and detect whether data is received on each non-broadcast channel; and when determining that no data is received on the first channel in the non-broadcast channels, considering the first channel to be idle, and determining that the idle first channel is a networking channel. After determining the networking channel, the base station may send a networking beacon frame to the terminal on the networking channel, so that the terminal reports information after receiving the networking beacon frame.
In the embodiment of the present disclosure, after the base station sends the networking beacon frame, the base station receives an association request sent by each terminal on the networking channel by using a carrier sense multiple access CSMA mechanism, and sends an association summary confirmation frame to each terminal when a superframe is finished, thereby completing networking. Wherein, the association request sent by each terminal on the networking channel by the carrier sense multiple access CSMA mechanism can be implemented in the following manner: the terminal firstly determines whether the networking channel is idle before reporting information, and when the networking channel is determined to be idle, the terminal sends the association request to the base station; when the association request sent by the terminal collides with association requests sent by other terminals, the terminal may send the association request again after the backoff for the first random duration until the number of times of resending exceeds a first threshold; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer. When determining that the networking channel is not idle, the terminal may determine whether the networking channel is idle again after a second random duration, where the second random duration is less than or equal to the duration of the superframe.
In the embodiment of the disclosure, after completing networking, a base station sends an information request frame to each terminal, receives information reported by each terminal based on a time division multiple access TDMA mechanism in a preset time slot, and sends a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network. Wherein, the preset time slot is determined according to a networking network, and comprises the following steps: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network. The first preset condition comprises at least one of: the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
According to the technical scheme of the embodiment of the disclosure, a CSMA mechanism is adopted to combine with a summary confirmation frame mode to realize rapid networking of the terminals in a non-broadcast channel of the Bluetooth, and a TDMA mechanism is combined to realize information reporting, so that information collision possibly caused by reporting information through the broadcast channel by each terminal in a current high-concurrency scene is avoided, the reliability of information transmission is improved, meanwhile, the receiving/transmitting switching time of a base station is reduced, and the information transmission efficiency is improved.
In this embodiment, the base station may further send the information reported by each terminal to the aggregation terminal, so that the aggregation terminal processes and/or displays the information reported by each terminal.
Fig. 4 is a schematic diagram illustrating an application of the bluetooth-based information reporting method and the information receiving method in a bluetooth-based high-concurrency data reporting and receiving scenario according to an embodiment of the disclosure. As shown in fig. 4, in the application scenario, the terminal, the base station, and the PAD of the tablet pc are included, bluetooth low energy BLE may be used for communication between the terminal and the base station, and between the terminal and the PAD of the tablet pc, and the base station and the PAD of the tablet pc may be in wired communication based on USB. The terminal acquires information or data to be reported and sends the information or data to be reported to the base station or the panel computer PAD, the base station collects the information or data reported by a plurality of terminals and sends the information or data reported by the plurality of terminals to the panel computer PAD, the panel computer PAD receives the information or data sent by the terminals or the base station, the information or data is stored, counted, sorted and the like, and processing results can be displayed.
In the application, the transmission of information and/or data is performed at a physical layer (PHY layer), a network protocol is implemented by a data link layer (MAC layer), including channel scanning, beacons, association requests, association acknowledgements, and the like, and the interaction of user data and system data is implemented at an application layer (APP layer). It should be noted that, when reporting and receiving information, only the physical layer of the bluetooth low energy BLE chip is used to implement transceiving of information and/or data, and the chip does not use any program of the BLE protocol stack. The physical layer can adopt different synchronous words to realize two information reporting modes: when the synchronous word 1 is adopted, the terminal works in a single machine mode, directly communicates with a PAD (PAD access point) of the tablet personal computer, and receives and transmits PHY (physical layer) information and data of BLE standard broadcasting; when the synchronous word 2 is adopted, the system works in a networking mode, a plurality of terminals report information and/or data to a PAD (PAD application PAD) of a tablet computer through a base station, at the moment, the base station needs to perform networking in a non-broadcast channel of BLE based on a private protocol frame, then data communication is realized according to a PHY (physical layer) format of BLE extended broadcast, and 255Byte data can be sent during communication. The frame format of the MAC layer may include a frame control field, a network field, an address field, and a data field, and the frame types of the MAC layer may include a beacon frame, an association request frame, an association summary acknowledgement frame, a data request frame, and a data frame. By adopting the technical scheme of the embodiment of the disclosure, 60 terminals can be supported to report information or data at the same time.
Fig. 5 is a block diagram illustrating a structure of a bluetooth-based information reporting apparatus according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of both.
As shown in fig. 5, the bluetooth-based information reporting apparatus 500 includes a mode determining module 510, a first networking channel determining module 520, a first networking module 530, and a first reporting module 540.
Wherein the mode determination module 510 is configured to poll a broadcast channel of the Bluetooth, and to poll a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel;
the first networking channel determining module 520 is configured to determine that a first channel is a networking channel when a networking beacon frame transmitted by a base station is received on the first channel in the non-broadcast channels;
the first networking module 530 is configured to send an association request to a base station by using a carrier sense multiple access CSMA mechanism on the networking channel, and receive an association summary confirmation frame sent by the base station at the end of a superframe to complete networking;
the first reporting module 540 is configured to, after receiving an information request frame sent by a base station, report information at a preset time slot based on a time division multiple access TDMA mechanism until receiving a stop command sent by the base station, where the preset time slot is determined according to a networking network.
In the disclosed embodiment, the mode determination module 510 is further configured to determine that the terminal is in a networking mode when no standalone beacon frame is received on the broadcast channel, and then poll the non-broadcast channel of the bluetooth.
In an embodiment of the present disclosure, the sending, by a carrier sense multiple access with CSMA mechanism, an association request to a base station on the networking channel includes: when the networking channel is determined to be idle, the association request is sent; when the association request collides with association requests sent by other terminals, the association request is sent again after the first random time length is backed off until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
In this disclosure, the preset time slot is determined according to a networking network, and includes: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
In an embodiment of the disclosure, the mode determination module is further configured to: determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel. The apparatus 500 for reporting bluetooth-based information further comprises: a second reporting module 550, where the second reporting module 550 is configured to, when it is determined that the terminal is in a standalone mode, report information to a convergence terminal through a broadcast channel that receives the standalone beacon frame until receiving a stop command sent by the convergence terminal, where the standalone beacon frame is sent by the convergence terminal.
In an embodiment of the present disclosure, the bluetooth may be 2.4G bluetooth low energy BLE.
According to the technical scheme of the embodiment of the disclosure, the CSMA mechanism is combined with the mode of summarizing the confirmation frame to realize the rapid networking of the terminals in the non-broadcast channel of the Bluetooth, and the TDMA mechanism is combined to realize the information reporting, so that the information collision possibly caused by the fact that all the terminals report information through the broadcast channel in the current high-concurrency scene is avoided, the reliability of information transmission is improved, meanwhile, the receiving/transmitting switching time of the base station is reduced, and the information transmission efficiency is improved.
Fig. 6 illustrates a block diagram of a structure of a bluetooth-based information receiving apparatus according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of both.
As shown in fig. 6, the bluetooth-based information reporting apparatus 600 includes a second networking channel determining module 610, a first sending module 620, a second networking module 630, and a second sending module 640.
Wherein the second networking channel determining module 610 is configured to poll the non-broadcast channels of the bluetooth, and determine an idle first channel of the non-broadcast channels as a networking channel;
the first transmitting module 620 is configured to transmit a networking beacon frame on the networking channel;
the second networking module 630 is configured to receive an association request sent by each terminal on the networking channel by using a carrier sense multiple access CSMA mechanism, and send an association summary acknowledgement frame to each terminal when a superframe is finished, thereby completing networking;
the second sending module 640 is configured to send an information request frame to each terminal, receive information reported by each terminal based on a time division multiple access TDMA mechanism in a preset time slot, and send a stop command to each terminal when a first preset condition is met, where the preset time slot is determined according to a networking network.
In this embodiment of the disclosure, the polling the broadcast channels of the non-bluetooth and determining that an idle first channel in the non-broadcast channels is a networking channel includes: polling the non-broadcast channels of the Bluetooth to detect whether data is received on each non-broadcast channel; and when determining that no data is received on a first channel in the non-broadcast channels, considering the first channel to be idle, and determining the idle first channel as a networking channel.
In this disclosure, the preset time slot is determined according to a networking network, and includes: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
In an embodiment of the present disclosure, the first preset condition includes at least one of: the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
In this embodiment, the bluetooth-based information reporting apparatus 600 further includes a third sending module 650 configured to send the information reported by each terminal to the aggregation terminal, so that the aggregation terminal processes and/or displays the information reported by each terminal.
In an embodiment of the present disclosure, the bluetooth may be 2.4G bluetooth low energy BLE.
According to the technical scheme of the embodiment of the disclosure, a CSMA mechanism is adopted to combine with a mode of collecting the confirmation frame to realize rapid networking, so that the receiving/transmitting switching time of the base station is reduced, and a TDMA mechanism is adopted to report information, so that the collision of information reported by different terminals is avoided, and the system reliability is improved.
The embodiment of the present disclosure further provides a chip, where the chip includes the information reporting device and the information receiving device based on bluetooth, the chip may be any chip capable of implementing information reporting and information receiving, and the device may be implemented as part or all of the chip through software, hardware, or a combination of the two.
The present disclosure also discloses an electronic device, and fig. 7 shows a block diagram of the electronic device according to an embodiment of the present disclosure.
As shown in fig. 7, the electronic device includes a memory and a processor, where the memory is to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement a method according to an embodiment of the disclosure.
In an embodiment of the present disclosure, the processor executes a bluetooth-based information reporting method, which is applied to a terminal, and the method includes: polling a broadcast channel of the Bluetooth, polling a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel; when a networking beacon frame sent by a base station is received on a first channel in the non-broadcast channels, determining that the first channel is a networking channel; sending an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receiving an association summary confirmation frame sent by the base station when a superframe is finished to finish networking; after receiving an information request frame sent by a base station, reporting information at a preset time slot based on a Time Division Multiple Access (TDMA) mechanism until receiving a stop command sent by the base station, wherein the preset time slot is determined according to a networking network.
In the embodiment of the present disclosure, the method further includes: when a standalone beacon frame is not received on the broadcast channel, determining that the terminal is in a networking mode, and then polling a non-broadcast channel of the Bluetooth.
In this embodiment of the present disclosure, the sending an association request to a base station by using a carrier sense multiple access CSMA mechanism on the networking channel includes: when the networking channel is determined to be idle, the association request is sent; when the association request collides with association requests sent by other terminals, the association request is sent again after the first random time length is backed off until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
In this disclosure, the preset time slot is determined according to a networking network, and includes: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
In the embodiment of the present disclosure, the method further includes: determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel; and reporting information to a convergence terminal through a broadcast channel receiving the single beacon frame until a stop command sent by the convergence terminal is received, wherein the single beacon frame is sent by the convergence terminal.
In the embodiment of the present disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
In an embodiment of the present disclosure, the processor executes a bluetooth-based information receiving method, which is applied to a base station, and includes: polling non-broadcast channels of the Bluetooth, and determining an idle first channel in the non-broadcast channels as a networking channel; sending networking beacon frames on the networking channel; receiving an association request sent by each terminal on the networking channel by a Carrier Sense Multiple Access (CSMA) mechanism, and sending an association summary confirmation frame to each terminal when a superframe is finished to finish networking; the method comprises the steps of sending an information request frame to each terminal, receiving information reported by each terminal in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism, and sending a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network.
In this disclosure, the polling the non-broadcast channels of the bluetooth and determining that an idle first channel in the non-broadcast channels is a networking channel includes: polling the non-broadcast channels of the Bluetooth and detecting whether data is received on each non-broadcast channel; and when determining that no data is received on the first channel in the non-broadcast channels, considering the first channel to be idle, and determining that the idle first channel is a networking channel.
In this disclosure, the preset time slot is determined according to a networking network, and includes: and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
In an embodiment of the present disclosure, the first preset condition includes at least one of: the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
In the embodiment of the present disclosure, the method further includes: and sending the information reported by each terminal to the convergence terminal so that the convergence terminal processes and/or displays the information reported by each terminal.
In an embodiment of the present disclosure, the bluetooth is 2.4G bluetooth low energy BLE.
FIG. 8 shows a schematic block diagram of a computer system suitable for use in implementing a method according to an embodiment of the present disclosure.
As shown in fig. 8, the computer system includes a processing unit that can execute the various methods in the above-described embodiments according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the computer system are also stored. The processing unit, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface: an input section including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section including a hard disk and the like; and a communication section including a network interface card such as a LAN card, a modem, or the like. The communication section performs a communication process via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary. The processing unit can be realized as a CPU, a GPU, a TPU, an FPGA, an NPU and other processing units.
In particular, the above described methods may be implemented as computer software programs according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the above-described method. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or by programmable hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the electronic device or the computer system in the above embodiments; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (27)

1. A method for reporting information based on Bluetooth is applied to a terminal, and is characterized by comprising the following steps:
polling a broadcast channel of the Bluetooth, polling a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel;
when a networking beacon frame sent by a base station is received on a first channel in the non-broadcast channels, determining that the first channel is a networking channel;
sending an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receiving an association summary confirmation frame sent by the base station when a superframe is finished to finish networking;
after receiving an information request frame sent by a base station, reporting information at a preset time slot based on a Time Division Multiple Access (TDMA) mechanism until receiving a stop command sent by the base station, wherein the preset time slot is determined according to a networking network.
2. The method of claim 1, further comprising:
when no stand-alone beacon frame is received on the broadcast channel, determining that the terminal is in a networking mode, and then polling a non-broadcast channel of the Bluetooth.
3. The method of claim 1, wherein sending an association request to a base station with a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel comprises:
when the networking channel is determined to be idle, the association request is sent;
when the association request collides with association requests sent by other terminals, the association request is sent again after the first random time length is backed off until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
4. The method of claim 1, wherein the predetermined time slot is determined according to a networking network, and comprises:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
5. The method of claim 1, further comprising:
determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel;
and reporting information to a convergence terminal through a broadcast channel receiving the single beacon frame until a stop command sent by the convergence terminal is received, wherein the single beacon frame is sent by the convergence terminal.
6. The method according to claim 1, wherein the Bluetooth is 2.4G Bluetooth Low Energy (BLE).
7. A method for receiving information based on Bluetooth is applied to a base station, and is characterized by comprising the following steps:
polling non-broadcast channels of the Bluetooth, and determining an idle first channel in the non-broadcast channels as a networking channel;
sending networking beacon frames on the networking channel;
receiving an association request sent by each terminal on the networking channel by a Carrier Sense Multiple Access (CSMA) mechanism, and sending an association summary confirmation frame to each terminal when a superframe is finished to finish networking;
the method comprises the steps of sending an information request frame to each terminal, receiving information reported by each terminal in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism, and sending a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network.
8. The method of claim 7, wherein polling the non-broadcast channels of the Bluetooth to determine that a first channel of the non-broadcast channels that is idle is a networking channel comprises:
polling the non-broadcast channels of the Bluetooth and detecting whether data is received on each non-broadcast channel;
and when determining that no data is received on a first channel in the non-broadcast channels, considering the first channel to be idle, and determining the idle first channel as a networking channel.
9. The method of claim 7, wherein the predetermined time slot is determined according to a networking network, and comprises:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
10. The method according to claim 7, characterized in that said first preset condition comprises at least one of the following:
the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
11. The method of claim 7, further comprising:
and sending the information reported by each terminal to the convergence terminal so that the convergence terminal processes and/or displays the information reported by each terminal.
12. The method according to claim 7, wherein the Bluetooth is 2.4G Bluetooth Low Energy (BLE).
13. The utility model provides an information reporting device based on bluetooth, is located the terminal, its characterized in that includes:
a mode determination module configured to poll a broadcast channel of the Bluetooth, poll a non-broadcast channel of the Bluetooth when no stand-alone beacon frame is received on the broadcast channel;
a first networking channel determining module configured to determine that a first channel is a networking channel when a networking beacon frame transmitted by a base station is received on the first channel in the non-broadcast channels;
the first networking module is configured to send an association request to a base station by a Carrier Sense Multiple Access (CSMA) mechanism on the networking channel, and receive an association summary confirmation frame sent by the base station when a superframe is finished so as to complete networking;
the first reporting module is configured to report information in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism after receiving an information request frame sent by a base station until receiving a stop command sent by the base station, wherein the preset time slot is determined according to a networking network.
14. The apparatus of claim 13, wherein the mode determination module is further configured to:
when no stand-alone beacon frame is received on the broadcast channel, determining that the terminal is in a networking mode, and then polling a non-broadcast channel of the Bluetooth.
15. The apparatus of claim 13, wherein the sending an association request to a base station on the networking channel with a Carrier Sense Multiple Access (CSMA) mechanism comprises:
when the networking channel is determined to be idle, the association request is sent;
when the association request collides with association requests sent by other terminals, the association request is sent again after the first random time length is backed off until the number of times of sending again exceeds a first threshold value; the first random duration is less than or equal to the duration of the superframe, and the first threshold is a positive integer.
16. The apparatus of claim 13, wherein the predetermined time slot is determined according to a networking network, comprising:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
17. The apparatus of claim 13, wherein the mode determination module is further configured to:
determining that the terminal is in a standalone mode when a standalone beacon frame is received on the broadcast channel;
the device further comprises:
and the second reporting module is configured to, when it is determined that the terminal is in the standalone mode, report information to the aggregation terminal through a broadcast channel receiving the standalone beacon frame until a stop command sent by the aggregation terminal is received, wherein the standalone beacon frame is sent by the aggregation terminal.
18. The apparatus according to claim 13, wherein the Bluetooth is 2.4G Bluetooth Low Energy (BLE).
19. An information receiving device based on Bluetooth, which is located in a base station, comprising:
the second determining module is configured to poll non-broadcast channels of the Bluetooth and determine an idle first channel in the non-broadcast channels as a networking channel;
a first transmitting module configured to transmit a networking beacon frame on the networking channel;
the second networking module is configured to receive the association request sent by each terminal on the networking channel by using a Carrier Sense Multiple Access (CSMA) mechanism, and send an association summary confirmation frame to each terminal when the superframe is finished so as to complete networking;
and the second sending module is configured to send the information request frame to each terminal, receive information reported by each terminal in a preset time slot based on a Time Division Multiple Access (TDMA) mechanism, and send a stop command to each terminal when a first preset condition is met, wherein the preset time slot is determined according to a networking network.
20. The apparatus of claim 19, wherein the polling the non-broadcast channels of the bluetooth to determine a first free channel of the non-broadcast channels as a networking channel comprises:
polling the non-broadcast channels of the Bluetooth and detecting whether data is received on each non-broadcast channel;
and when determining that no data is received on a first channel in the non-broadcast channels, considering the first channel to be idle, and determining the idle first channel as a networking channel.
21. The apparatus of claim 19, wherein the predetermined time slot is determined according to a networking network, and comprises:
and the preset time slot is determined according to any one of the number of the terminals in the networking network, the identity identification of the terminals in the networking network and the weight identification of the terminals in the networking network.
22. The apparatus of claim 19, wherein the first preset condition comprises at least one of:
the time length of the received information is greater than or equal to a first preset time length, the received information is greater than or equal to a first preset number, and preset specific information is received.
23. The apparatus of claim 19, further comprising:
and the third sending module is configured to send the information reported by each terminal to the convergence terminal, so that the convergence terminal processes and/or displays the information reported by each terminal.
24. The apparatus according to claim 19, wherein the Bluetooth is 2.4G Bluetooth Low Energy (BLE).
25. A chip, characterized in that,
the chip comprising the device of any one of claims 13-24.
26. An electronic device comprising a memory and a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions are to be executed by the processor to implement the method steps of any of claims 1-12.
27. A readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the method steps of any one of claims 1-12.
CN202210964548.2A 2022-08-12 2022-08-12 Information reporting method, receiving method, device, equipment and medium based on Bluetooth Active CN115038051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210964548.2A CN115038051B (en) 2022-08-12 2022-08-12 Information reporting method, receiving method, device, equipment and medium based on Bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210964548.2A CN115038051B (en) 2022-08-12 2022-08-12 Information reporting method, receiving method, device, equipment and medium based on Bluetooth

Publications (2)

Publication Number Publication Date
CN115038051A CN115038051A (en) 2022-09-09
CN115038051B true CN115038051B (en) 2022-11-08

Family

ID=83130877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210964548.2A Active CN115038051B (en) 2022-08-12 2022-08-12 Information reporting method, receiving method, device, equipment and medium based on Bluetooth

Country Status (1)

Country Link
CN (1) CN115038051B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539324B (en) * 2014-12-25 2017-04-12 惠州Tcl移动通信有限公司 Bluetooth low-power-consumption networking interconnecting method and system
CN104780499B (en) * 2015-04-01 2018-05-08 惠州Tcl移动通信有限公司 A kind of more device intelligence interconnecting methods and system based on bluetooth
CN109462662A (en) * 2018-12-20 2019-03-12 深圳市银河风云网络系统股份有限公司 A kind of gateway, Internet of Things net equipment, Internet of things system and control method
CN113906773B (en) * 2019-06-20 2023-11-28 华为技术有限公司 Channel selection method and device for low-power consumption Bluetooth equipment
CN114449491B (en) * 2020-10-30 2024-06-04 华为技术有限公司 Communication method and device and electronic equipment
CN113645603A (en) * 2021-09-14 2021-11-12 四川长虹网络科技有限责任公司 BLE Bluetooth gateway communication method, system and computer equipment
CN114286456A (en) * 2021-12-03 2022-04-05 深圳市华信天线技术有限公司 Method for reporting many-to-one data of wireless ad hoc network and networking system

Also Published As

Publication number Publication date
CN115038051A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US9295074B2 (en) Acknowledgement, error recovery and backoff operation of uplink multi-user multiple-input-multiple-output communication in wireless networks
CN104471987B (en) For the system and method that the AP of FILS beacons is used to find
WO2022057901A1 (en) Channel access method in wireless local area network, and related apparatus
CN101690360B (en) Ranging method and bandwidth request ranging method
EP2982208B1 (en) Mechanism for group polling without precise timing
CN113114430B (en) Method for determining receiving state of data frame and communication device
CN102067515A (en) Collision mitigation for multicast transmission in wireless local area networks
GB2501898A (en) Simultaneous transmission of uplink and downlink data in a wireless network
US9693389B2 (en) Gateway apparatus and communication method for connecting a machine type communications terminal to a base station
JP6069858B2 (en) Wireless communication method and wireless communication system
US10869218B2 (en) Information processing devices and communication system for controlling transmission of acknowledgement and data
CN113644995A (en) Signal strength measurement method and device
US20240357656A1 (en) Method and apparatus for wireless communication, and communication device
CN115038051B (en) Information reporting method, receiving method, device, equipment and medium based on Bluetooth
TW202029820A (en) Communication device and communication method
EP3048856B1 (en) Station access management device and method for wireless local area network
CN111343707B (en) Doorbell system and communication method
JP6436144B2 (en) Wireless communication method, wireless communication system, and program
CN107113872B (en) Device and method for adjusting competition window, network equipment, terminal and network system
CN103248462B (en) Method, equipment and the system that data retransmit in WLAN
WO2023083023A1 (en) Data transmission method and apparatus, storage medium, and program product
US11202261B2 (en) Apparatus and method for communications
JP4223891B2 (en) Method for synchronizing shared data and wireless module in wireless terminal
CN108365923B (en) Data transmission method and wireless terminal equipment
WO2020164138A1 (en) Monitoring 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