WO2022057559A1 - 一种设备的发现方法和装置 - Google Patents

一种设备的发现方法和装置 Download PDF

Info

Publication number
WO2022057559A1
WO2022057559A1 PCT/CN2021/113291 CN2021113291W WO2022057559A1 WO 2022057559 A1 WO2022057559 A1 WO 2022057559A1 CN 2021113291 W CN2021113291 W CN 2021113291W WO 2022057559 A1 WO2022057559 A1 WO 2022057559A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
broadcast
message
short
range communication
Prior art date
Application number
PCT/CN2021/113291
Other languages
English (en)
French (fr)
Inventor
黄中帅
蓝县辉
王洋
蒋钟寅
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022057559A1 publication Critical patent/WO2022057559A1/zh

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Definitions

  • the present application relates to the technical field of short-distance communication, and in particular, to a method and apparatus for discovering a device.
  • the user equipment needs to enable short-range communication and scanning to obtain the list of surrounding devices, which has poor real-time performance; when the bright-screen device finds a dormant device, the dormant device needs to wake up the AP in real time to reply to Bluetooth Low Energy (English: Bluetooth Low Energy, hereinafter abbreviated as "Bluetooth Low Energy”).
  • BLE Bluetooth Low Energy
  • BLE broadcast, which leads to high power consumption and affects the user experience; when the device status changes, it broadcasts synchronization through low-power Bluetooth communication, and it also frequently wakes up the AP, resulting in high power consumption.
  • embodiments of the present application provide a device discovery method, apparatus, and system.
  • the method solves the problem of increased power consumption caused by frequently waking up the processing module AP to perform short-distance communication when the processing module AP sleeps by performing the short-distance communication through the intelligent sensing device.
  • an embodiment of the present application provides a device discovery method, which is applied to an intelligent sensing device inside a first user equipment, where a processor and a short-range communication device are further provided inside the first user equipment.
  • the short-range communication parameters include scanning parameters; during the sleep period of the processor, instructing the short-range communication device according to the scanning parameters scanning; acquiring a first message received by scanning, the first message being broadcast by the second user equipment and including at least a second user equipment identification, wherein the second user equipment identification is the identification of the second user equipment; saving the identifier of the second user equipment, so that the processor can discover the second user equipment according to the identifier of the second user equipment after being woken up.
  • the first user equipment can maintain an online state through the intelligent sensing module when the processing module is dormant, and perform short-range communication broadcasting and/or scanning, thereby discovering surrounding the second user equipment, and obtains the link establishment information of the second user equipment, thereby effectively reducing the power consumption of the device.
  • the short-range communication parameters include broadcast parameters; the method further includes: instructing the short-range communication device to broadcast a second message according to the broadcast parameters; the second message is a response to the first message
  • the second message includes at least the first user equipment identification and the second user equipment identification; the first user equipment identification is the identification of the first user equipment.
  • the first user equipment does not need to wake up the processing module in the dormant state, and maintains the online state through the intelligent sensing module, thereby discovering the detection of the surrounding second user equipment and performing the detection. Accordingly, realizing mutual discovery between user devices can improve the speed of discovery and link establishment between user devices, thereby optimizing user experience.
  • the power consumption of the user equipment in the online state in the dormant state will be greatly reduced, and the power consumption of the whole machine will also be reduced accordingly.
  • the short-range communication parameters include broadcast parameters; the method further includes: prior to acquiring the first message received through scanning, instructing the short-range communication device to broadcast a third message according to the broadcast parameters message; the third message includes at least the first user equipment identification, wherein the first user equipment identification is the identification of the first user equipment; the first message is a reply to the third message .
  • the online state can be maintained during the dormant period, so that the dormant first user equipment can actively detect other second user equipments with bright screens.
  • the method further includes: after acquiring the first message received through scanning, instructing the short-range communication device to broadcast a fourth message according to the broadcast parameter; the fourth message is used to indicate The second user equipment stops broadcasting the first message; the fourth message includes at least the first user equipment identification and the second user equipment identification.
  • the reply to the detection can be stopped, thereby further reducing power consumption.
  • the method further includes: before instructing the short-range communication device to broadcast the second message according to the broadcast parameter, acquiring a fifth message received through scanning, the fifth message being sent by the at least one The third user equipment broadcasts; the fifth message includes at least one third user equipment identification, wherein the at least one third user equipment identification is the identification of the at least one third user equipment; the second message is to all the replies to the first message and the fifth message; the second message further includes the at least one third user equipment identifier.
  • the intelligent sensing module adopts an aggregation processing method to broadcast a message including two or more user equipment identifiers, Simultaneously reply to the online query requests of the two or more user equipments, so that the user equipment can obtain the list of online user equipments in each reachable range during the sleep period, obtain the link establishment information, and mutually discover and communicate with multiple online user equipments.
  • Staying online can effectively reduce the broadcast power consumption of dormant devices and avoid downtime caused by pan-broadcasting.
  • the short-range communication parameters include broadcast parameters; the broadcast parameters further include a second broadcast weight, a second broadcast time, and a second timing duration; wherein the second broadcast time and the second timing duration are corresponding to the second broadcast weight; the first message further includes a first broadcast weight, a first broadcast time and a first timing duration; wherein, the first broadcast time and the first timing duration correspond to the first broadcast weight; the The method further includes: acquiring a fifth message broadcast by at least one third user equipment received through scanning; the fifth message includes a third user equipment identifier, a third broadcast weight, a third broadcast time and a third timing duration; wherein , the third user equipment identifier is the identifier of the third user equipment, the third broadcast time and the third timing duration correspond to the third broadcast weight; compare the first broadcast weight, the second broadcast weight and the third broadcast weight The value of three broadcast weights is obtained to obtain the maximum broadcast weight; according to the broadcast parameters, the short-distance communication device is instructed to broadcast the first broadcast during the time interval corresponding to the broadcast time
  • the sixth message includes the maximum broadcast weight, broadcast time, timing duration and the identifier of the target device; wherein the broadcast time and timing duration are the values of the broadcast time and timing duration corresponding to the maximum broadcast weight, and the target device
  • the identifier includes the second user equipment identifier and/or at least one third user equipment identifier; the sixth message is a reply to the first message and/or the fifth message, which is used to spread the maximum broadcast weight. , so that the frequency and timing of the short-distance communication of the at least one third user equipment can be synchronized.
  • the second user equipment with a bright screen and the third user equipment discover each other through the dormant first user equipment, and can maintain a short distance from each other with the dormant first user equipment communication.
  • the first user equipment After the first user equipment wakes up, it can obtain the list of online user equipment at the first time, which improves the efficiency of short-distance communication; a message packet M6 broadcast by the first user equipment can simultaneously respond to short-distance communication requests of multiple bright-screen devices, To achieve the purpose of reducing power consumption and improving the efficiency of short-distance communication; the first user equipment broadcasts message packet M6 for maximum broadcast weight dissemination and normalization, and synchronizes the frequency and timing of broadcasts by multiple bright-screen devices to quickly discover online After the second user equipment or the third user equipment is disconnected, the maximum broadcast weight is still retained, and the communication status of other user equipments in the cluster can continue to be synchronized and ordered.
  • the method further includes: instructing the short-range communication apparatus to broadcast a seventh message in a discovery window according to the broadcast parameter, where the seventh message is used to discover at least one fourth user equipment outside the cluster; wherein , the discovery window is a time interval other than the communication/synchronization window; the communication/synchronization window is a time interval in which the start time is the first broadcast time and the duration is the first timing duration; the seventh message at least includes The first user equipment identification, the maximum broadcast weight, the timing duration and the broadcast time; wherein the broadcast time and the timing duration are the values of the broadcast time and timing duration corresponding to the maximum broadcast weight; the cluster is a number of simultaneous broadcast and A network of scanned user devices.
  • the communication/synchronization windows of the first user equipment and the fourth user equipment are aligned.
  • User equipments that are not in the same cluster realize mutual discovery, and after the communication/synchronization windows of each user equipment are synchronized, each user equipment can work at the same time, so as to achieve the maximum efficiency of keeping the user equipment online.
  • the first message includes the second user equipment identifier
  • the method further includes: acquiring and saving the second user equipment identifier by parsing the first message.
  • the identifier of the second user equipment can be obtained in a dormant state, so as to realize discovery and increase the speed of link establishment with the second user equipment.
  • the second user equipment identification and the first user equipment identification are obtained, wherein the first user equipment identification is the target device of the first message replying. logo.
  • the device discovery method provided by this embodiment of the present application, it is possible to obtain the second user equipment identifier and the first user equipment identifier by parsing the first message in a dormant state, so as to realize the discovery between user equipments and improve the link establishment speed .
  • the short-range communication includes at least one of Bluetooth communication and Bluetooth low energy communication; the method further includes receiving a Bluetooth driver from the processor before the processor sleeps, Run the bluetooth driver.
  • an embodiment of the present application provides a method for discovering a device, which is applied to a processor inside a first user equipment.
  • the method includes: delivering short-range communication parameters to an intelligent sensing device before hibernation, and the short-range communication parameters
  • the distance communication parameters include scanning parameters, so that the intelligent sensing device instructs the short-range communication module to scan according to the scanning parameters during the sleep period; after waking up, obtain at least one second user equipment identifier saved by the intelligent sensing device, and find the at least one second user equipment identifier.
  • a second user equipment wherein, the at least one second user equipment identifier is the identifier of the at least one second user equipment respectively, and the at least one second user equipment identifier is the identifier of the smart sensing device generated by the Obtained from a message broadcast by at least one second user equipment.
  • the short-range communication parameters further include broadcast parameters
  • the method further includes: downlinking the Bluetooth access protocol and the broadcast parameters to the smart sensing device before dormancy.
  • the processing module runs an application program, and can discover the second user equipment according to the reported second user equipment identifier.
  • an embodiment of the present application provides an apparatus for discovering a device, which is located in a first user equipment, and the first user equipment is further provided with a processor and a short-range communication device, and the device includes a communication filtering unit, a built-in Integrated circuit drive unit and communication analysis unit;
  • the communication filtering unit is configured to receive short-range communication parameters from the processor before the processor sleeps, where the short-range communication parameters include scan parameters;
  • the built-in integrated circuit driving unit instructs the short-range communication device to scan according to the scanning parameters during the sleep period of the processor; the relationship with the short-range communication device and the user equipment
  • the communication analysis unit is configured to acquire a first message received through scanning, the first message is broadcast by the second user equipment and includes at least a second user equipment identification, wherein the second user equipment identification is the second user equipment
  • the identifier of the second user equipment is stored, so that the processor can discover the second user equipment according to the second user equipment identifier after being woken up.
  • an embodiment of the present application provides an intelligent sensing device, where the intelligent sensing device includes a second memory and a data processor; the data processor is configured to execute computer-executed instructions stored in the second memory, so The data processor executes the computer-executed instruction to execute the device discovery method according to any one of the foregoing embodiments, and keeps the first user equipment online for short-distance communication in a sleep state.
  • an embodiment of the present application provides a device for discovering a device, which is located in a first user equipment, where an intelligent sensing device and a short-range communication device are further provided inside the first user equipment, and the device includes a sleep preparation unit and wake up the get message unit;
  • the dormancy preparation unit is used to send short-range communication parameters to the smart sensing device before dormancy, and the short-range communication parameters include scanning parameters, so that the smart sensing device instructs the short-range communication module to perform the scanning parameters according to the scanning parameters during the dormancy period. scanning;
  • the wake-up acquisition message unit is configured to acquire at least one second user equipment identifier saved by the smart sensing device after waking up, and discover the at least one second user equipment; wherein, the second user equipment identifier is the identifier of the second user equipment, The second user equipment identifier is obtained by the intelligent sensing apparatus from a message broadcast by the second user equipment.
  • an embodiment of the present application provides a processing device, which is set inside a first user equipment, the processing device includes a processor and a first memory, and the processor is configured to execute an application program stored in the first memory, so The processor runs the application program to execute a device discovery method described in any one of the above embodiments, and instructs the smart sensing device to receive short-range communication parameters before the dormant state, so as to keep the short-range communication online during the dormant state.
  • an embodiment of the present application provides a user equipment capable of maintaining short-range communication in a dormant state, the user equipment at least includes a processor, an intelligent sensing device, and a short-range communication device; the processor is configured to execute storage The application program in the first memory, the processor runs the application program to execute a device discovery method according to any one of the above embodiments, and instructs the intelligent sensing device to receive short-range communication parameters before the sleep state, so as to Keep the short-distance communication online during the sleep state;
  • the smart sensing device includes at least a second memory and a data processor; the data processor is configured to execute computer-executed instructions stored in the second memory, and the data processor executes the computer-executed instructions to execute any of the foregoing embodiments.
  • the short-range communication device is kept online in a dormant state.
  • the user equipment can perform short-range communication broadcasting and/or short-range communication scanning through the intelligent sensing device when the processor is in sleep, so as to discover other user equipment and obtain Device link building information, synchronizing device status, and can effectively reduce device power consumption.
  • the user equipment does not need to wake up the processor in the sleep state to achieve the purpose of mutual discovery between devices, which can improve the speed of device discovery, device link establishment and data synchronization.
  • the operation speed can be improved, and the user experience can be optimized.
  • FIG. 1 is a device architecture diagram of a device wake-up solution in a distributed scenario provided by solution 1;
  • Scheme 2 is a flowchart of waking up a dormant device through short-range communication in a distributed scenario provided by Scheme 1;
  • Fig. 3 is the short-range communication two-way broadcast flow chart that scheme 2 provides;
  • FIG. 4 is a structural diagram of a device provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of a sleep device being discovered by a screen-bright device in a device discovery method provided by an embodiment of the present application;
  • FIG. 6 is a flowchart of a dormant device actively discovering other devices in a device discovery method provided by an embodiment of the present application
  • FIG. 7(a) is a schematic diagram of a device discovery method provided by an embodiment of the present application applied to a mobile phone A and a television TV;
  • FIG. 7(b) is a schematic diagram of applying a device discovery method provided by an embodiment of the application to one mobile phone A and two televisions;
  • FIG. 8 is a schematic diagram of an online user equipment communication/synchronization window and a discovery window in a device discovery method provided by an embodiment of the present application;
  • FIG. 9 is a schematic diagram of mutual discovery and synchronous communication between multiple bright-screen devices and sleep devices in a device discovery method provided by an embodiment of the present application.
  • FIG. 10 is an effect diagram of device communication/synchronization window alignment in a device discovery method provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of rapid discovery in a discovery window of two devices out of sync in a device discovery method provided by an embodiment of the present application;
  • FIG. 12(a) is a schematic diagram of the format of a heartbeat detection packet in a device discovery method provided by an embodiment of the present application;
  • FIG. 12(b) is a schematic diagram of the format of a heartbeat reply packet in a device discovery method provided by an embodiment of the present application;
  • Figure 12(c) is a schematic diagram of the format of a quick discovery packet in a device discovery method provided by an embodiment of the present application.
  • FIG. 12(d) is a schematic diagram of the format of an end packet in a device discovery method provided by an embodiment of the present application.
  • Fig. 13(a) is a schematic diagram of an intelligent sensing device according to an embodiment of the present application.
  • Fig. 13(b) is a schematic diagram of a processing device provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a user equipment according to an embodiment of the present application.
  • FIG. 1 is a device architecture diagram of a device wake-up solution in a distributed scenario provided by solution 1.
  • a user equipment may include one or more (only one is shown in the figure) processors and a communication device.
  • the processor can run the operating system of the user device, for example, Android, iOS, WindowsOS, Linux, and Hongmeng operating system.
  • a processor can run specific applications.
  • the processor is configured with a processing module AP, and the processor executes a device wake-up solution in a distributed scenario by running an application program APP of the processing module AP.
  • the communication device is configured with a short-range communication module BT for Bluetooth low power communication.
  • the processing module AP can be divided into several modules by adopting a layered architecture, and each module has a clear role and division of labor. Modules communicate with each other through a software interface.
  • the processor runs the Android system, and the Android system is divided into four modules, from top to bottom, the application module APP, the software architecture module FW, the protocol stack module HAL (hardware abstract layer, referred to as HAL), and the kernel.
  • Module KEL Kernel, referred to as KEL).
  • the application module APP includes a series of application units such as setting, sharing, connecting, and waking up, and provides data interfaces for publishing tasks and subscription services.
  • the software framework module FW provides an application programming interface and a programming framework for the application unit of the application module APP.
  • the software architecture module FW includes the Bluetooth architecture and the architecture manager, etc.
  • the Bluetooth architecture includes some predefined short-range communication functions, such as the BLE broadcast function and the BLE scan function.
  • the protocol stack module HAL provides a unified access interface for different hardware devices.
  • the protocol stack module HAL includes the Bluetooth protocol stack and other protocol services.
  • the kernel module KEL is the layer between hardware and software.
  • the kernel module includes at least various drivers, for example, a Universal Asynchronous Receiver Transmitter (UART for short).
  • UART Universal Asynchronous Receiver Transmitter
  • the short-distance communication module BT performs asynchronous transmission and reception of data with the processing module AP through the UART interface, so as to realize the short-distance communication function.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus, which converts the data to be transmitted between serial communication and parallel communication. Short-range communications, including at least any of the various implementations of the existing Bluetooth standard, including Bluetooth Low Energy, future implementations of the Bluetooth standard, and the like.
  • the short-range communication module BT includes a channel switching module and an internal logic module.
  • the channel switching module scans and transmits data asynchronously through the UART interface, and transmits data over a short distance.
  • the internal logic module includes a plurality of filters, the filters are used to filter the scan results of short-range communication, and transmit the broadcast parameters that meet the requirements in the scan results to the processing module AP through the channel switching module; or downlink the processing module AP received by the channel switching module. Broadcast parameter filtering, and broadcast the data that meets the requirements.
  • the data transmission path is to start the data interface in the application program module APP, the data interface calls the Bluetooth architecture, and calls the Bluetooth driver of the kernel module KEL through the Bluetooth protocol of the protocol stack.
  • the UART interface starts the short-range communication module BT, and the short-range communication module BT performs BLE broadcast according to the broadcast parameters, and publishes the BLE communication service; the short-range communication module BT performs BLE scanning to receive the BLE subscription service of other user equipment.
  • FIG. 2 is a flowchart of waking up a dormant device through short-range communication in a distributed scenario.
  • device A and at least one device B are automatically networked before a service request, and device A can directly obtain a list of at least one device B trusted by the same online account when making a service request.
  • Device A periodically refreshes the list to learn the online status of online device B in the list.
  • the processing module AP1 of the device A with the bright screen executes the start broadcast instruction of the application program APP1, and performs BLE broadcast through the short-range communication module BT1; the processing module AP2 of at least one device B is executing the start scan instruction of the application program APP2.
  • the broadcast message of the device A is scanned by the short-range communication module BT2, and the broadcast message is reported to the processing module AP2, and the online scanning result is processed by the application program APP2.
  • Device A sends a message packet to at least one device B every 5 minutes, and then at least one device B needs to respond to the message whether it is sleeping or not, indicating that it is online (nearby).
  • device A will always broadcast BLE communication
  • device B will perform BLE scan
  • device B will respond and reply to the message broadcast by device A, indicating that device B is online and confirming that device A has discovered the device B.
  • the user manually starts device B to scan for BLE communication all the time.
  • device B scans the broadcast message of device A and replies to the broadcast message, indicating that device B is online and confirms that device A has discovered device B.
  • the short-range communication module BT2 in the dormant state can reply to the device A after waking up the processing module AP2.
  • the solution can realize user discovery and connection between user equipments trusted by the same account, and the short-range communication module BT performs short-range communication according to the short-range communication task issued by the processing module AP.
  • At least the disadvantage of the above solution is that the communication tasks performed by the device B and the subscription services need to be processed and executed by the processing module AP, which leads to the periodic wake-up of the processing module AP, resulting in a certain increase in power consumption.
  • the increase of the surrounding online devices also leads to a doubling of the power consumption of the whole machine.
  • FIG. 3 is a flow chart of the two-way broadcast of short-distance communication provided by solution 2.
  • This solution realizes mutual discovery between devices through bidirectional broadcasting between device A and device B.
  • device A when device A needs to discover device B, device A initiates a short-range communication broadcast and scans. Device B is always in scan mode. After device B scans and finds the broadcast of device A, it responds to device A by issuing broadcast information through short-range communication.
  • the broadcast information responded by device B includes the device name, user nickname, phone number and security summary of the device.
  • Device A scans through short-distance communication to obtain broadcast information responded by device B, and displays the device name, user nickname and phone number of device B.
  • Device A searches for device B's avatar locally or on the cloud through the logo of device B, and displays it to the device B. user.
  • Device A connects to device B through short-distance communication to provide a data path for subsequent services.
  • At least the disadvantage of the short-range communication bidirectional broadcast provided in FIG. 3 is that after device A discovers device B, device B does not perceive the occurrence of this situation, so device B will continue to broadcast, resulting in increased power consumption of device B. If there are more devices around that want to discover device B, the power consumption of device B will increase exponentially as the number of surrounding devices increases. If device A or device B in this solution is a dormant device, it also needs to wake up the processing module AP to achieve the purpose of mutual discovery between devices, so the problem of increased power consumption by periodically waking up the processor AP also exists.
  • the discovery mechanism based on scheme 1 and scheme 2 has the defect of causing large power consumption of the device.
  • An embodiment of the present application provides a user equipment, which can drive a short-range communication device through an intelligent sensing device to execute when the processor sleeps. short-range communication tasks. Based on the device architecture provided in Figure 1, the device adds an intelligent sensing device.
  • the smart sensor device is a smart sensor hub (Sensorhub) or co-processor for connecting and processing data from various sensor devices.
  • the intelligent sensing device may include, but is not limited to, a low-power application processor (Application Processor), a microprocessor MCU (Micro-programmed Control Unit) and other low-power processing modules or processing circuits.
  • Sensorhub is a software and hardware combination solution based on low-power MCU and lightweight RTOS operating system. Its main function is to connect and process data from various sensor devices.
  • the SensorHub+ short-distance communication scheme is used to realize online device discovery, exchange of device link building information, and synchronization of device status information, etc., wherein the intelligent sensing device can process the short-range downstream of the processor. Distance communication parameters, analyzing the upstream message packets of the short-range communication device.
  • FIG. 4 is a structural diagram of a device provided by an embodiment of the present application.
  • the device includes a processor, an intelligent sensing device and a short-range communication device; in the embodiment of the present application, the processor is configured with a processing module AP, and the processor executes the application program APP of the processing module AP to realize
  • the method described in one or more embodiments below instructs the smart sensing device to maintain the short-range communication function of the device in the sleep state before the sleep state.
  • the intelligent sensing device is configured with an intelligent sensing module SH, and the intelligent sensing device executes the application program of the intelligent sensing module SH, implements the method described in one or more embodiments below, and maintains a short distance of the device in a dormant state
  • the communication is online, and the link establishment information of the devices in the same cluster is obtained, and the communication status of the devices is synchronized.
  • the short-range communication device is configured with a short-range communication module BT, and the short-range communication device executes a program of the short-range communication module BT to implement the method described in one or more embodiments below to perform short-range communication.
  • the smart sensing module SH and the short-range communication module BT perform data transmission through the I3C interface, so as to realize the short-range communication function.
  • the I3C interface is an extended built-in integrated circuit interface (Improved InterIntegrated Circuit, referred to as I3C), and the I3C interface is an extended bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line ( derailclockline, SCL).
  • I3C can support more sensors on the same main line without adding additional logic signals to support interrupt or sleep modes.
  • the processing module AP runs an application program module, a software architecture module, a protocol stack module and a kernel module.
  • the application module includes a series of application units, which are used for short-distance communication for device discovery and keeping online in the dormant state, and message data is transmitted between Android and IOS devices when connected to the Internet.
  • the application unit may include a setting unit, a sharing unit, a connection unit, a wake-up unit, and a data interface unit, which is the same as that of scheme 1.
  • the setting unit sets the bluetooth communication mode; the sharing unit publishes the bluetooth communication sharing protocol; the connecting unit connects the bluetooth device; the wake-up unit wakes up the dormant bluetooth device; ; Provide basic software and hardware configuration and drivers for this application.
  • the software architecture module FW also includes a sensor architecture unit 401 and the like. Among them, the sensor architecture unit 401 provides an application program oriented to the smart sensor module SH for the application program.
  • the protocol stack module HAL also includes a sensor protocol unit 402 .
  • the sensor protocol unit 402 provides a unified access protocol for the smart sensor module SH, and downlinks the access protocol to the smart sensor module SH.
  • the kernel module KEL also includes a sensor sharing drive unit 403 .
  • the sensor sharing drive unit 403 stores the Bluetooth driver for the smart sensing module SH, and provides a common storage space for the downlink short-range communication parameters of the sensor protocol unit 402 and the uplink short-range communication parameters of the smart sensing module SH.
  • the sensor architecture unit 401, the sensor protocol unit 402 and the sensor sharing drive unit 403 are new functional units added to the processing module AP in the device architecture shown in Scheme 1, and they form a new data path, so that the processing module AP can sleep in Before downloading the Bluetooth driver and short-range communication parameters to the smart sensor module SH, instruct the smart sensor module SH to keep the short-range communication online during the sleep period, and obtain the data related to the short-range communication during the sleep period after waking up.
  • the smart sensor module SH includes a communication filtering unit 421 , a communication analyzing unit 422 and an integrated integrated circuit driver 423 .
  • the communication filtering unit 421 performs screening processing on the downlink broadcast parameters, and edits and generates message packets; the communication analysis unit 422 parses the received message packets to obtain the broadcast parameters of the peer device; the built-in integrated circuit driver 423 runs the Bluetooth driver The program, and the built-in control unit 414 of the short-distance communication module BT perform data transmission of message packets through the I3C interface.
  • the control unit 414 provides the communication control of the I3C interface for the short-distance communication module BT, and performs asynchronous transmission and reception of data with the short-distance communication module BT to realize the short-distance communication function.
  • the difference between the device shown in FIG. 4 and the device shown in FIG. 1 lies in the improvement of the processing module AP and the addition of the smart sensor module SH.
  • the Bluetooth driver and the short-range communication broadcast parameters are sent down to the sensor sharing drive unit 403 through the sensor architecture unit 401 and the sensor protocol unit 402 in sequence; during the sleep period of the processing module AP, the smart sensor
  • the module SH executes the Bluetooth driver and applications related to short-range communication such as broadcasting, scanning and synchronization.
  • the communication filtering unit 421 filters the downlink broadcasting parameters.
  • the interface performs message packet transmission, and transmits the message packet to the short-distance communication module BT.
  • the messages obtained by the short-range communication module BT scanning are uplinked according to the reverse direction of the above-mentioned downlink transmission path. It should be noted that when the processing module AP sleeps, the short-range communication module BT scans The obtained message is transmitted to the communication analysis unit 422 through the I3C interface, the parsed broadcast parameters are filtered by the communication filter unit 421, and the filtered useful data is stored in the sensor sharing drive unit 403 for reading immediately after the processing module AP wakes up.
  • An embodiment of the present application provides a device discovery method, which is applied to the smart sensing device of the first user equipment shown in FIG.
  • the short-range communication parameters include scanning parameters; during the sleep period of the processor, the intelligent sensing device instructs the short-range communication module to scan according to the scanning parameters; obtains the message broadcast by the second user equipment received by scanning Package M1, the message package M1 includes at least the identification of the second user equipment, wherein the second user equipment identification is the identification of the second user equipment; save the second user equipment identification, so that after the processor is woken up, according to the second user equipment identification The identification discovers the second user equipment.
  • FIG. 5 is a flowchart of a sleeping device being discovered by a screen-bright device in a device discovery method provided by an embodiment of the present application.
  • the first user equipment receives the short-range communication parameters from the application program APP1, and the short-range communication parameters include scanning parameters; instructing the short-range communication module BT1 to perform Scanning for short-range communications.
  • the short-range communication may be BLE communication, the short-range communication parameters may further include broadcast parameters, and the first user equipment may perform the following steps S5011-S5013.
  • the processing module AP1 executes the application program APP1, and pre-downlinks the short-range communication parameters to the intelligent sensing module SH1, and the short-range communication parameters include scanning parameters.
  • the intelligent sensing module SH1 obtains the scanning parameters, and then starts the I3C interface to transmit the scanning task, and the scanning task is transmitted to the short-distance communication module BT1.
  • the short-range communication module BT1 starts BLE communication scanning, so that the first user equipment performs BLE communication scanning through the smart sensing module SH1 in the background.
  • the second user equipment is always in a bright screen state, and the processing module AP2 works.
  • the second user equipment needs to find out which user equipments are around, it runs the application program module APP2 and starts broadcasting and scanning.
  • the second user equipment may perform the following steps S5021-S5023.
  • the application program APP2 downlinks the short-range communication parameters to the processing module AP2, and the short-range communication parameters include scanning parameters and message packets M1.
  • the processing module AP2 downlinks scan parameters and message packet M1 to the short-range communication module BT2,
  • the short-distance communication module BT2 performs short-distance communication and broadcasts the message packet M1.
  • the message package M1 may be marked as a first message, and the first message includes at least the identifier of the second user equipment.
  • the first user equipment executes step S5031, and the short-range communication module BT1 uploads the scanned message packet M1 to the smart sensor module SH1 through the I3C interface.
  • the intelligent sensing module SH1 parses the message packet M1, and the parsing result at least includes the identifier of the second user equipment.
  • the smart sensing module SH1 stores the identifier of the second user equipment. Specifically, the smart sensing module SH1 stores the identifier of the second user equipment obtained by parsing the message packet M1 in the sensor sharing drive unit 403 .
  • the smart sensing module SH1 instructs the short-range communication module BT1 to broadcast a message package M2 according to the short-range communication broadcast parameters, and the message package M2 at least includes the identifier of the first user equipment and the identifier of the second user equipment.
  • the message package M2 is recorded as the second message, and the message package M2 is a reply to the discovery of the message package M1.
  • the first user equipment may perform the following steps S5041-S5042.
  • the smart sensing module SH1 reads the broadcast parameters from the sensor sharing drive unit 403, and the broadcast parameters at least include the identifier of the first user equipment and the identifier of the second user equipment, and the communication filtering unit 421 edits the broadcast parameters to generate Message packet M2.
  • the identifier of the first user equipment is used to indicate the source of the message package M2; the identifier of the second user equipment is used to indicate the reply destination of the message package M2.
  • the smart sensor module SH1 starts the I3C interface to instruct the short-range communication module BT1 to broadcast the message packet M2.
  • the short-distance communication module BT1 broadcasts the message packet M2.
  • the second user equipment executes S505, and the short-range communication module BT2 reports the scanned message packet M2 to the processing module AP2.
  • the processing module AP1 After the dormant first user equipment processor is awakened, the processing module AP1 immediately executes the application program APP1 to read the identifier of the online second user equipment in the sensor sharing drive unit 403, and push subscription data and services to the second user equipment.
  • the smart sensing module SH1 parses the multiple message packets broadcast by the multiple online devices respectively, and saves the device identifier in each parsing result. to get a list of multiple online device IDs.
  • the application program APP1 is executed as soon as possible to obtain a list of device identifiers online around, and pushes services or data one by one according to the device identifiers in the list.
  • the first user equipment can maintain an online state through the intelligent sensing module SH1 when the processing module AP1 is dormant, and perform short-range communication broadcasting and/or scanning, thereby discovering
  • the surrounding second user equipment obtains the link establishment information of the second user equipment, which effectively reduces the power consumption of the device.
  • the first user equipment does not need to wake up the processing module AP1 in the sleep state, and the intelligent sensing module SH1 maintains the online state to realize mutual discovery between user equipments, which can improve the performance of the first user equipment.
  • the speed of discovery and link establishment between user devices can optimize the user experience.
  • the power consumption of the user equipment in the online state in the sleep state will be greatly reduced, and the power consumption of the whole machine will also be reduced accordingly.
  • An embodiment of the present application provides a device discovery method, which is used for a dormant first user equipment to actively discover other second user equipments with bright screens, wherein the smart sensing module SH1 also performs during the sleep period of the processing module AP1: Describe the short-range communication parameters of APP1, and the short-range communication parameters include broadcast parameters; before acquiring the message package M1 broadcast by the second user equipment received by scanning, instruct the short-range communication module BT1 to broadcast the message package M3 according to the broadcast parameters; the message package M3 at least includes the identifier of the first user equipment; after receiving the message package M3, the second user equipment replies to the first user equipment with a message package M1, indicating that it is online.
  • FIG. 6 is a flowchart of a device discovery method provided by an embodiment of the present application for a dormant device to actively discover other devices. The specific process is shown in FIG. 6 .
  • the processing module AP1 executes the application program APP1 to deliver the scan parameters and executes steps S6011-S6013.
  • the processing module AP1 sends the short-range communication broadcast parameters to the intelligent sensing module SH1, and instructs the intelligent sensing module SH1 to start broadcasting and scanning.
  • the smart sensing module SH1 sends the edited message package M3 to the short-range communication module BT1 according to the broadcast parameters, and instructs the short-range communication module BT to start BLE broadcasting and scanning.
  • the message package M3 may be recorded as a third message, which is used to discover at least one second user equipment that is online around.
  • the short-range communication module BT broadcasts the message packet M3.
  • the smart sensing module SH1 reads the short-range communication broadcast parameters from the sensor sharing drive unit 403 , and the broadcast parameters include at least the first user equipment identifier, which is the identifier of the first user equipment.
  • the communication filtering unit 421 edits the broadcast parameters, generates a message packet M3, and then activates the I3C interface to transmit the message packet M3 to the short-range communication module BT1, and activates the BLE communication to broadcast the message packet M3.
  • the second user equipment is always in a bright screen state, and the application program APP2 of the processing module AP2 starts scanning and executes steps S6021-S6023.
  • the short-range communication module BT2 scans and receives the message packet M3, the processing module AP2 executes the application program APP2 and reports the scan result to the processing module AP2, and the processing module AP2 reports the scan result to the application program APP2.
  • the application program APP2 sends an instruction to start broadcasting to the processing module AP2, and the processing module AP2 instructs the short-range communication module BT2 to start BLE broadcasting.
  • the short-distance communication module BT2 broadcasts the message packet M1.
  • the target device information carried in the message packet M1 includes the second user equipment identification and the first user equipment identification.
  • the message package M1 is used to reply to the message package M3.
  • the smart sensing module SH1 executes S6031-S6032.
  • Parse the message packet M1, and the parsing result at least includes the identifier of the second user equipment and the identifier of the first user equipment.
  • the smart sensing module SH1 confirms that the target device of the message package M1 is the first user equipment according to the analysis result, and sets the identifier of the second user equipment that broadcasts the message package M1 to online.
  • the intelligent sensing module SH1 After the intelligent sensing module SH1 receives the message package M1, it generates a message package M4 according to the broadcast parameters, and the broadcast parameters of the message package M4 at least include the identifier of the second user equipment, which is used to instruct the second device to stop broadcasting the message package M1 to the first user equipment. .
  • the first user equipment performs S6041-S6042.
  • the smart sensor module SH1 instructs the short-range communication module BT1 to broadcast the message packet M4, and records the message packet M4 as the fourth message.
  • the short-distance communication module BT1 broadcasts the BLE message packet M4.
  • the second user equipment that receives the message packet M4 executes S605, reports the scan result, and the processor AP2 responds to the message packet M4 and stops broadcasting the message packet M1 to the first user equipment.
  • the first user equipment executes S606, and the smart sensing module SH1 reports the identification of the second user equipment to the application program APP1.
  • the processor runs the application program APP1 to discover the second user equipment according to the reported second user equipment identifier.
  • the first user equipment performs short-range communication broadcasting and/or scanning through the smart sensing module SH1 during the sleep period, and can respond to the broadcast detection of the bright screen second user equipment, during the sleep period Stay online.
  • the first user equipment performs short-range communication broadcasting and/or scanning through the smart sensing module SH1 during the sleep period, and can actively detect surrounding online user equipments in the sleep state.
  • the smart sensing module SH1 performs short-range communication broadcast and/or scans the message package M4, and the device that receives the message package M4 indicates that it has been discovered by the peer end, and can stop replying to the detection to further reduce power consumption.
  • the message package M4 can also be applied to the device in the bright screen state in the embodiment shown in FIG. 5 .
  • the device discovery method provided by the embodiment of the present application can sink the Bluetooth driver and the short-range communication stack and services to the intelligent sensing module SH, and realize the rapid discovery of online devices when the processing module AP sleeps, fast handshake, and The dormant period remains linear.
  • the intelligent sensing device instructs the short-range communication device to perform a short-range communication task, thereby discovering other online user equipment, which can effectively reduce the power consumption of the device.
  • the user equipment does not need to wake up the processor in the sleep state to realize mutual discovery between the devices.
  • the speed can be improved, so as to optimize the user's use experience.
  • FIG. 7( a ) is a schematic diagram of applying a device discovery method according to an embodiment of the present application to a mobile phone A and a television TV.
  • a dormant mobile phone A around the TV TV, wherein the mobile phone A has the architecture and functions as shown in Figure 4, including a processing module AP, an intelligent sensing module SH and a short-range communication module BT.
  • the processing module AP of the mobile phone A is in a dormant state
  • the short-range communication module BT and the smart sensing module SH of the mobile phone A are always in a running state.
  • the TV needs to find a device that can communicate with a short distance around it, it can be achieved through the following steps:
  • the TV TV initiates an online detection, broadcasts a message packet M1, and inquires whether the mobile phone A is around.
  • the broadcast parameters carried by the message packet M1 at least include the local device ID, the timing duration and the broadcast time.
  • the short-range communication module BT of the mobile phone A in the dormant state reports the received message packet M1 to the smart sensor module SH.
  • the smart sensor module SH responds online; it replies to the message package M1 by broadcasting the message package M2 through short-range communication, wherein the broadcast parameters of the message package M2 at least include the local device ID and the target device 1 .
  • the target device 1 is a TV ID.
  • the intelligent sensing module SH sends the message packet M2 to the short-range communication module BT; saves the TV TV identifier, so that after the processor is woken up, the processor runs the processing module AP to discover the TV TV according to the TV TV identifier.
  • the short-distance communication module BT starts short-distance communication to broadcast the heartbeat reply packet M2.
  • an aggregation processing method may also be adopted to broadcast a message packet including the identifiers of two or more user equipments, and simultaneously reply to online query requests of two or more user equipments.
  • the smart sensing module SH acquires at least one message packet M5 received through scanning, and the at least one message packet M5 is respectively sent by at least one third user Equipment broadcast; each message packet M5 includes an identifier of the user equipment.
  • the intelligent sensing module SH After receiving the message package M5, the intelligent sensing module SH replies to the second user equipment and at least one third user equipment together, and replies to a message package M2, in which the identifier of each third user equipment in the message package M2 is represented by each The third user equipment serves as the target device for the reply.
  • FIG. 7(b) is a schematic diagram of applying a device discovery method according to an embodiment of the present application to a mobile phone A and multiple TVs.
  • the third user equipment takes the second TV TV2 with Bluetooth as an example.
  • the second TV TV2 with Bluetooth needs to find a nearby device that can perform short-distance communication. equipment, which is implemented through the following steps:
  • two televisions TV1 and TV2 with Bluetooth respectively initiate an online inquiry, wherein the television TV1 broadcasts the message packet M1 through short-distance communication to inquire whether the mobile phone A is around; the TV TV2 broadcasts the message packet M5 through the short-distance communication, and the message packet M5 At least one second television TV logo is included.
  • the message packet M5 is recorded as the fifth message.
  • the short-range communication module BT of the mobile phone A in the dormant state reports the received message package M1 and the message package M5 to the smart sensing module SH, and the smart sensing module SH parses the message package M1 and the message package M5 respectively , and saves the logo of TV1 and the logo of TV2.
  • the intelligent sensor module SH adopts an aggregation processing method to edit a message package M2, and downlink the message package M2 to the short-distance communication module BT.
  • the message package M2 carries the television TV1 identifier and the television TV2 identifier at the same time.
  • the short-distance communication module BT broadcasts the message packet M2, and responds to the TV TV1 and TV2 at the same time.
  • the processing method of the aggregated message package M2 is to read the parsed broadcast parameters of the message package M1 and the message package M5 from the sensor sharing drive unit 403, including the identifier of the television TV1 and the identifier of the television TV2, and the communication filtering unit 421 has this
  • the identification of the television TV1 and the identification of the television TV2 are aggregated to generate a message package M2.
  • the broadcast parameters of the message package M2 at least include the message type, the local device ID, the target device 1 and the target device 2.
  • the target device 1 and the target device 2 are the identification of the television TV1 and the identification of the television TV2, respectively.
  • the intelligent sensing module SH sends a message packet M2 to the short-distance communication module BT, and the short-distance communication module BT broadcasts the message packet M2, and simultaneously responds to the TV TV1 and the TV TV2.
  • the same aggregation processing method can be adopted, and one message packet M2 can reply to more than two user equipments at the same time.
  • the method for discovering dormant devices is applied to discover dormant devices.
  • the smart sensor module SH adopts an aggregation processing method, and broadcasts a message that includes two or more users.
  • the message of the device identification, the online query requests of the two or more user equipments are replied at the same time, so that the user equipment can obtain the list of online user equipments in each reachable range during the sleep period, obtain the link establishment information, and communicate with multiple online users.
  • User equipment discovers each other and keeps online status. This solution can effectively reduce the broadcast power consumption of dormant equipment and avoid downtime caused by pan-broadcasting.
  • the time of short-distance communication between different user equipments with a bright screen around a dormant device is not synchronized. The time increases irregularly, and the power consumption increases.
  • the short-distance communication time interval is the communication/synchronization window.
  • FIG. 8 is a schematic diagram of a task sequence window for short-range communication division performed by the user equipment.
  • the task of short-range communication of the user equipment is divided into a communication/synchronization window and a discovery window according to the time sequence.
  • the communication/synchronization window is used for user equipments in the cluster to perform broadcast and scan within this time interval, perform short-distance communication handshake, and complete the task of mutual discovery.
  • the time interval between the end of the current communication/synchronization window and the start of the next communication/synchronization window is set as the discovery window.
  • the discovery window is used to randomly broadcast query messages to discover user equipments that are out-of-cluster inconsistency.
  • the TV is often connected to an external power supply, and its power can be taken as needed, and the sensitivity to power consumption is relatively low.
  • the short-distance communication frequency of the TV can be set to scan/broadcast every 1 minute.
  • the battery power of the mobile phone is limited, and the sensitivity to power consumption is relatively high, so the broadcast frequency of the short-distance communication broadcast of the mobile phone is low, and it can be set to scan/broadcast every 5 minutes; the sensitivity of the PAD to power consumption requirements Between mobile phone and TV TV, it can scan/broadcast every 3 minutes.
  • the address of the user equipment is related to the distance of the short-distance communication, and also affects the power consumption, frequency and timing of the short-distance communication.
  • a value of a device weight is set for each user equipment, and the device weight DW is defined as follows:
  • dT is the set value of the user equipment model, for example, the dT value of a mobile phone is 1, the dT value of a TV is 2, and the dT value of a PAD is 3.
  • Pcons is the value of power consumption sensitivity, which is related to the user equipment model. For example, the Pcons value of a mobile phone is 0.7, the Pcons value of a TV is 0.2, and the Pcons value of a PAD is 0.4.
  • RF is a set random factor.
  • MAC is the device address, which is 6-bit data
  • MAC[0] is the first digit of the device address
  • MAC[1] is the second digit of the device address.
  • a broadcast weight can be set for each user equipment, and the value of the broadcast weight defaults to The value of the device weight for the local device.
  • each user equipment will broadcast the maximum value of the broadcast weights of the surrounding user equipments that it knows along with the message packet M6, and the user equipment in the bright screen state will receive the message packet M6 Then, follow the device with the largest broadcast weight to adjust the frequency and timing of broadcasting/scanning, so that the communication/synchronization window is aligned with the time interval of the communication/synchronization window of the device with the largest broadcast weight, and perform short-distance communication within the aligned communication/synchronization window. , in order to achieve synchronous communication, shorten the mutual discovery time with the dormant device, and reduce power consumption.
  • the message package M6 may be recorded as the sixth message, and the sixth message is used to agree on the frequency and timing of the short-distance communication.
  • an embodiment of the present application proposes a device discovery method. After multiple bright-screen devices discover sleeping devices and other online user equipments within reach, synchronize multiple bright-screen devices to first How often and when messages are sent.
  • the short-range communication parameters received from the APP by the first user equipment during the sleep period of the processing module AP also include the second broadcast weight, the second broadcast time, and the second broadcast time.
  • Timing duration wherein the second broadcasting time and the second timing duration are corresponding to the second broadcasting weight
  • the first message also includes the first broadcasting weight, the first broadcasting time and the first timing duration; wherein, the first broadcasting time and the first timing duration corresponds to the first broadcast weight.
  • the smart sensing module SH1 also executes: acquiring a fifth message broadcast by at least one third user equipment received through scanning; the fifth message further includes a third broadcast weight, a third broadcast time and a third timing duration; wherein, the third The broadcast time and the third timing duration are corresponding to the third broadcast weight; compare the values of the first broadcast weight, the second broadcast weight and the third broadcast weight to obtain the maximum broadcast weight; when the maximum broadcast weight is the first broadcast weight In the case of instructing the short-distance communication device to broadcast the sixth message within the time range of the first timing duration at the first broadcast time according to the short-distance communication broadcast parameters; in the case of the maximum broadcast weight being the third broadcast weight, indicating the short-range communication The distance communication device broadcasts the sixth message within the time range of the third timing duration at the third broadcast time according to the short-distance communication broadcast parameter; the sixth message includes the maximum broadcast weight, the synchronous broadcast time and the synchronous timing duration; wherein the synchronous broadcast time and the same timing duration is the value of the broadcast time and timing duration
  • FIG. 9 is a schematic diagram of mutual discovery and synchronous communication between multiple bright-screen devices and sleep devices in a device discovery method provided by an embodiment of the present application.
  • the first user equipment is in a dormant state
  • the second user equipment and the third user equipment are in a bright screen state, wherein the second user equipment and the first user equipment can discover each other through short-range communication
  • the third user equipment The user equipment and the first user equipment can discover each other through short-range communication, while the second user equipment and the third user equipment cannot directly discover each other through short-range communication.
  • the first user equipment, the second user equipment and the at least one third user equipment realize mutual discovery and synchronous communication by performing the following steps.
  • the second user equipment with a bright screen actively initiates broadcasting and scanning, and broadcasts a message packet M1, where the message packet M1 at least includes the second user equipment identifier, the first broadcast weight W 1 , the first broadcast time NT 1 and the first timing duration T 1 .
  • the first broadcast time and the first timing duration correspond to the first broadcast weight.
  • the dormant first user equipment initiates a short-range communication scan to receive the message packet M1, and at the same time replies the message packet M2 to the second user equipment.
  • the message package M2 includes at least a first user equipment identifier, a device weight DW, a second broadcast weight W 2 , a second broadcast time NT 2 , a second timing duration T 2 and a second user equipment identifier; the second broadcast weight W 2 is by default: The value of the device weight DW of the first user equipment.
  • the dormant first user equipment When the dormant first user equipment scans and receives the message package M1, it parses the message package M1, and saves the parsing result. In some possible implementations, when the dormant first user equipment scans and receives the message packet M1, it parses and saves the values of each broadcast parameter carried in the message packet M1, and the parsing result at least includes the identifier of the second user equipment, the first Broadcast weight W 1 , first timing duration T 1 and first broadcast time NT 1 .
  • the third user equipment in the bright screen state actively initiates broadcasting and scanning, and broadcasts a message packet M5, which is recorded as the fifth message, and the fifth message includes the third user equipment identifier, the third broadcast weight, and the third broadcast time. and the third timing duration; wherein the third user equipment identifier is the identifier of the third user equipment, and the third broadcast time and the third timing duration correspond to the third broadcast weight.
  • the first user equipment receives the message package M5 message, parses the message package M5 message, obtains and saves the third user equipment identifier of the third user equipment, the third broadcast weight W 3 , the third timing duration T 3 and the third broadcast Time NT 3 ; compare the values of the first broadcast weight W 1 , the second broadcast weight W 2 and the received third broadcast weight W 3 , update the maximum broadcast weight, timing time and broadcast time received by the local device.
  • the short-distance communication module BT1 is instructed to broadcast the message packet M6 during the first broadcast time NT1 within the time range of the first timing duration T1.
  • the sixth message includes the maximum broadcast weight W, the broadcast time T and the timing duration NT; wherein the broadcast time T and the timing duration NT are the values of the broadcast time and timing duration of the device corresponding to the maximum broadcast weight W.
  • the short - distance communication module BT1 is instructed to broadcast the message packet M6 during the third broadcast time NT3 within the time range of the third timing duration T3.
  • the third user equipment performs scanning to receive the message packet M6, parses the message packet M6, and obtains the broadcast weight W, the broadcast time T, and the timing duration NT.
  • the third user equipment Comparing the local broadcast weight W 3 and the broadcast weight W, when the local broadcast weight W 3 is less than the broadcast weight W, the third user equipment broadcasts the message packet M5 within the time range of the timing duration T at the broadcast time NT; When the local broadcast weight W3 is greater than or equal to the broadcast weight W, the third user equipment broadcasts the message packet M5 at the time of the broadcast time NT3 within the time range of the timing duration T3 according to the original broadcast parameters.
  • the second user equipment scans and receives the message packet M2, compares the local broadcast weight W 1 with the broadcast weight W 2 obtained by parsing the message, and in the case that the local broadcast weight W 1 is smaller than the broadcast weight W 2 , the second user equipment The device broadcasts the next message packet M1 within the time range of the timing duration T2 at the time of the broadcast time NT2 . If the broadcast weight W1 is greater than or equal to the broadcast weight W2, the second user equipment broadcasts the message packet M1 at the broadcast time NT within the time range of the timing duration T according to the original broadcast parameters.
  • the dormant first user equipment scans and receives the message package M1 and the message package M5 in the same time period, and broadcasts the same message package M6 to the second user equipment and the third user equipment.
  • the message package M6 may It includes a second user equipment identification and a third user equipment identification, wherein the second user equipment identification and the third user equipment identification are identifications of the target device.
  • the timing and frequency of the broadcast message packet M1 of the second user equipment and the broadcast message packet M5 of the third user equipment can finally be synchronized, and the second user equipment and the third user equipment can synchronously scan and receive the first user equipment. Broadcast reply message packet M6.
  • the above embodiment is also applicable to multiple third user equipments in the bright screen state simultaneously query the dormant first user equipment, and the dormant first user equipment broadcasts the same message packet M6 to each user equipment, and each user equipment is aggregated in the message packet M6.
  • Device ID each user device ID is the ID of each target device of the broadcast reply.
  • the first user equipment scans different message packets M1 sent by n-1 user equipments, and the communication analysis unit 422 parses each message packet M1 respectively, and obtains the identification and broadcast of the respective device carried in each message packet M1.
  • Weight, timing duration and broadcast time, the identification, broadcast weight, timing duration and broadcast time of each user equipment obtained by parsing each message packet M1 are processed and sent to the sensor sharing drive unit 403 for storage, and the communication filtering unit 421 compares The sensor shares the n broadcast weights stored in the drive unit 403, determines the maximum broadcast weight, and edits the corresponding message package M6 according to the maximum broadcast weight.
  • the value of the maximum broadcast weight W in the message package M6 is the largest among the n broadcast weights.
  • the timing duration is the timing duration of the device corresponding to the maximum broadcast weight
  • the broadcast time is the broadcast time of the device corresponding to the maximum broadcast weight
  • the target device includes the identifiers of n-1 target devices.
  • a network composed of a plurality of third user equipments that broadcast and scan simultaneously is a cluster.
  • the maximum broadcast weight is still retained in the sensor sharing drive unit 403, and the maximum broadcast weight will not be modified due to the offline of the device. , the synchronization status of other devices in the cluster will not change.
  • the second user equipment with a bright screen and the third user equipment discover each other through the dormant first user equipment, and can maintain short-distance communication with the dormant first user equipment.
  • the first user equipment wakes up, it can obtain the list of online user equipment at the first time, which improves the efficiency of short-distance communication;
  • a message packet M6 broadcast by the first user equipment can simultaneously respond to short-distance communication requests of multiple bright-screen devices, To achieve the purpose of reducing power consumption and improving the efficiency of short-distance communication; the first user equipment broadcasts message packet M6 for maximum broadcast weight dissemination and normalization, and synchronizes the frequency and timing of broadcasts by multiple bright-screen devices to quickly discover online
  • the maximum broadcast weight is still retained, and the communication status of other user equipments in the cluster can continue to be synchronized and ordered.
  • a possible implementation of synchronous broadcasting and scanning performed by each user equipment in a cluster is based on the solution provided in the above-mentioned embodiment, the communication duration and communication time are agreed through the timing duration and broadcast time of the message packet M6, and each bright screen is aligned.
  • the communication/synchronization window is a time interval in which the start time is the broadcast time, and the duration is the fixed duration.
  • the communication/synchronization windows of all devices in a cluster are aligned to different degrees based on the communication/synchronization window of the device where the maximum broadcast weight is located, and each online user equipment broadcasts and scans synchronously within the aligned communication window.
  • the alignment process of the communication/synchronization window of each user equipment in the same cluster (Cluster) may adopt all or part of the processes of S901-S907 in the foregoing embodiment.
  • FIG. 10 is an effect diagram of communication/synchronization window alignment in a user equipment discovery method provided by an embodiment of the present application. As shown in Figure 10, the mobile phone and the TV have discovered each other; the communication/synchronization window of the mobile phone and the communication/synchronization window of the TV have been aligned. distance communication exchange information.
  • FIG. 11 is a schematic diagram of rapidly discovering two devices out of synchronization in a discovery window in a device discovery method provided by an embodiment of the present application.
  • the initial stage of the fourth user equipment startup is inconsistent with the first user equipment in the cluster, and the first user equipment in the dormant state broadcasts the message packet M1 at the communication/synchronization window of the fourth user equipment.
  • the first user equipment receives the message packet M1' broadcast by the fourth user equipment outside its communication/synchronization window, and neither the first user equipment nor the fourth user equipment obtains a reply within its communication window.
  • the first user equipment instructs the short-range communication module according to the short-range communication
  • the broadcast parameter randomly broadcasts the message packet M7, and detects and queries at least one fourth user equipment outside the cluster (Cluster) that is inconsistent with the time range of the local communication/synchronization window.
  • the first user equipment and the fourth user equipment respectively perform the following steps to realize the first mutual discovery:
  • the first user equipment broadcasts a message packet M7 in its discovery window.
  • the message packet M7 may be recorded as a seventh message, and the seventh message at least includes the first user equipment identifier, broadcast weight W, timing duration T and broadcast time NT.
  • the broadcast weight W is the maximum value among the broadcast weights of each user equipment in the cluster where the first user equipment is located, and the timing duration and broadcast time correspond to the maximum broadcast weight.
  • the fourth user equipment broadcasts a message packet M7'
  • the message packet M7' includes at least the device ID 4 of the fourth user equipment, the broadcast weight W 4 , the timing duration T 4 and the broadcast time NT 4 .
  • the first user equipment scans and receives the message packet M7' broadcast by the fourth user equipment in the discovery window, parses the message packet M7', and obtains the fourth user equipment identifier, broadcast weight W4, timing duration T4 and broadcast time NT 4 , wherein the fourth user equipment identifier is the identifier of the fourth user equipment.
  • the broadcast weight W 4 and the broadcast weight W the larger value is taken as the largest broadcast weight, and the communication/synchronization window of the first user equipment is aligned with the communication/synchronization window of the device with the largest broadcast weight.
  • the fourth user equipment receives the message packet M7 broadcasted by the first user equipment; parses the message packet M7 to obtain the device identification ID 1 , broadcast weight W 2 , timing duration T 2 and broadcast time NT 2 of the first user equipment. By comparing the values of the broadcast weights W 4 and W 2 , taking the larger value as the maximum weight, the communication/synchronization window of the fourth user equipment is aligned with the communication/synchronization window of the device with the largest broadcast weight.
  • the communication/synchronization window of the first user equipment is aligned with the communication/synchronization window of the device with the largest broadcast weight, or the communication/synchronization window of the fourth user equipment is aligned with the communication/synchronization window of the device with the largest broadcast weight.
  • the specific steps may refer to the methods of S904-S907, which will not be repeated here.
  • the first user equipment broadcasts the message packet M1, and then receives the message packet M2 replied by the fourth user equipment, and the fourth user equipment joins the cluster where the first user equipment is located, so that the available And user equipment in the bright screen state within the range can quickly join the cluster to realize the synchronization of short-distance communication.
  • the message packet M7 including key information is broadcasted in the random window, thereby increasing the speed of the first discovery.
  • the communication/synchronization windows of the first user equipment and the fourth user equipment are aligned.
  • User equipments that are not in the same cluster realize mutual discovery, and after the communication/synchronization windows of each user equipment are synchronized, each user equipment can work at the same time, so as to achieve the maximum efficiency of keeping the user equipment online.
  • the message package M1 and the message package M3 can be heartbeat detection packages
  • the message packages M2, M5 and M6 can be heartbeat reply packages
  • the message package M7 can be a quick discovery package
  • the message package M4 can be an end package.
  • the heartbeat detection packet is a detection message broadcast by a device in a bright screen state or a dormant state
  • the broadcast parameters of the heartbeat detection packet include message type, sequence number, local device, broadcast weight, local weight, timing duration, and broadcast time.
  • the specific message format is shown in Figure 12(a).
  • the heartbeat reply packet is the reply message broadcast by the user equipment that scans the heartbeat detection packet.
  • the broadcast parameters of the heartbeat reply packet include the message type, sequence number, maximum broadcast weight, local device, timing duration and broadcast time.
  • Target device 1 to target device n The specific message format is shown in Figure 12(b).
  • the corresponding user equipment can synchronize the frequency and timing of the short-distance communication.
  • the quick discovery packet is the detection information broadcast by the user equipment at random times outside the communication/synchronization window, which can quickly discover other user equipments that need to join the cluster at different paces;
  • the broadcast parameters of the quick discovery packet include message type, sequence number, local device, Broadcast weight, timing duration time and broadcast time.
  • the specific message format is shown in Figure 12(c).
  • the end packet is a reply message broadcast by the user equipment that scans the heartbeat reply packet, indicating that the heartbeat reply packet of the peer end user equipment has been received, and the reply to the broadcast of the device can be stopped.
  • the message parameters of the end packet include at least message type, sequence number, local device, one or a combination of target device 1 to target device n.
  • the specific message format is shown in Figure 12(d).
  • the main broadcast parameters in the above message packets are defined as follows:
  • the message type is the type identifier of the message packet: for example, the value of the message type is 1, the message packet is a heartbeat detection packet; the value of the message type is 2, the message packet is a heartbeat reply packet; the value of the message type is 3, the message
  • the packet is a quick discovery packet; the type of the message packet can be determined according to the value of the message type.
  • the sequence number is the sequence identifier of the message packet of this broadcast.
  • the local device is the identifier of the local device.
  • the broadcast weight defaults to the value of the device weight of the local device. If a value greater than the device weight of the local device is detected, the broadcast weight value will be the value of the larger device weight.
  • the device weight is the value of the weight preset by the local device.
  • the maximum broadcast weight is the value with the largest broadcast weight in the message packets of the surrounding online devices scanned by the local device.
  • the timing duration is the time interval set by the communication/synchronization window of the local device.
  • the broadcast time is the set time when the next broadcast arrives.
  • the target device is the identifier of the target device that broadcasts the heartbeat reply packet. Multiple target device identifiers are aggregated into a target device list.
  • the target device identifier list contains the target device identifier of the broadcast heartbeat reply packet. The device that scans the heartbeat reply packet will check it. Whether the self-identification is in the target list, if it is in the target list, it means that the heartbeat reply packet is replying to itself.
  • the present application also provides a device discovery device correspondingly, as shown in FIG. 4 , including a communication filter unit, a communication analysis unit and a built-in integrated circuit drive unit; the communication filter unit is used to Receive short-range communication parameters from the processor, and the short-range communication parameters include scanning parameters; the built-in integrated circuit drive unit is used to instruct the short-range communication device to scan according to the scanning parameters during the sleep period of the processor; the communication analysis unit is used to obtain the scanning parameters.
  • the received first message broadcast by the second user equipment, the first message includes at least the second user equipment identifier; save the second user equipment identifier, so that after the processor is woken up, the APP discovers the second user equipment according to the second user equipment identifier .
  • the present application also provides a corresponding intelligent sensing device.
  • the intelligent sensing device 1300 includes a data processor 1301 and a second memory 1302 ; the second memory 1302 may be The sensor shares the drive unit 403, the data processor 1301 is configured to execute the computer-executed instructions stored in the second memory, and the data processor 1301 executes the computer-executed instructions to execute the device discovery method described in any of the above embodiments, in a sleep state Keeping the first user equipment online for short-distance communication.
  • the processing device 1310 includes a processor 1311 and a first memory 1312.
  • the processor 1311 executes computer execution instructions stored in the first memory 1312.
  • the processor 1311 executes a computer-executed instruction to execute a device discovery method described in any one of the above embodiments, delivers short-range communication parameters before the sleep state, and the first user equipment keeps the short-range communication online during the sleep state.
  • the present application provides a user equipment capable of maintaining short-range communication in a dormant state.
  • the user equipment includes a processing device 1310, an intelligent sensing device 1300, and a short-range communication device 1401; processing
  • the device 1310 includes a processor 1311 and a first memory 1312, the processor 1311 executes the computer-executed instructions stored in the first memory 1312, and the processor 1311 executes the computer-executed instructions to perform the discovery of a device described in any one of the above embodiments
  • the short-range communication parameters are delivered before the sleep state, and the short-range communication device keeps the short-range communication online during the sleep state.
  • the smart sensing device 1300 includes a data processor 1301 and a second memory 1302; the second memory 1302 may be the sensor shared drive unit 403, the data processor 1301 is used to execute the computer-executed instructions stored in the second memory, and the data processor 1301 Run the computer to execute the instruction to execute the device discovery method described in any of the above embodiments, and keep the short-distance communication device online for short-distance communication in a sleep state.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例提出一种设备的发现方法,应用于第一用户设备内部的智能传感装置,第一用户设备的内部还设置处理器和短距离通信装置,该方法包括:于处理器休眠前,接收来自处理器的短距离通信参数,短距离通信参数包括扫描参数;于处理器休眠期间,指示短距离通信装置根据扫描参数进行扫描;获取通过扫描接收到的第一消息,第一消息由第二用户设备广播并且至少包括第二用户设备标识,其中第二用户设备标识是第二用户设备的标识;保存第二用户设备标识,以便于处理器被唤醒后根据第二用户设备标识发现第二用户设备。应用本申请实施例提供的一种设备的发现方法,用户设备可以在处理器休眠的情况下,发现其他用户设备,并且能够有效地降低设备的功耗。

Description

一种设备的发现方法和装置
本申请要求于2020年09月21日提交中国国家知识产权局、申请号为202010996238.X、申请名称为“一种设备的发现方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及短距离通讯技术领域,尤其涉及一种设备的发现方法和装置。
背景技术
随着用户设备如手机、平板、TV、PC、音箱、手表和车机等种类和数量的增加,智能化设备已经覆盖在人们多个场景内,家庭、办公、社交、运动健康、汽车等。紧接而来的是用户对于设备智慧化的诉求,例如实时的获取周围设备列表,快速完成多设备的建链,能够在应用处理器(英文:Application Processor,以下文中缩写为AP)休眠的情况下低功耗的完成设备状态信息和服务信息的同步,接续同一账号的不同设备的操作,不同设备之间的文件共享等。
目前,用户设备获取周围设备列表需要开启短距离通信和扫描,实时性较差;在亮屏设备发现休眠设备时,休眠设备需要实时唤醒AP回复低功耗蓝牙(英文:BluetoothLowEnergy,以下文中缩写为BLE)广播,导致功耗过高,影响用户体验;设备状态发生变化的时候通过低功耗蓝牙通信广播同步,也会频繁唤醒AP导致功耗过高。
发明内容
为了解决上述的问题,本申请实施例提供一种设备的发现方法、装置和系统。所述方法通过智能传感装置执行短距离通信解决了在处理模块AP休眠的情况下频繁唤醒处理模块AP执行短距离通信导致功耗增大的问题。
第一方面,本申请实施例提供一种设备的发现方法,应用于第一用户设备内部的智能传感装置,所述第一用户设备内部还设置有处理器和短距离通信装置,所述方法包括:于所述处理器休眠前,接收来自所述处理器的短距离通信参数,所述短距离通信参数包括扫描参数;于所述处理器休眠期间,指示短距离通信装置根据所述扫描参数进行扫描;获取通过扫描接收到的第一消息,所述第一消息由第二用户设备广播并且至少包括第二用户设备标识,其中所述第二用户设备标识是第二用户设备的标识;保存所述第二用户设备标识,以便于所述处理器被唤醒后根据所述第二用户设备标识发现第二用户设备。
应用本申请该实施例提供的一种设备的发现方法,第一用户设备可以在处理模块休眠的情况下,通过智能传感模块保持在线状态,执行短距离通信广播和/或扫描,从而发现周围的第二用户设备,并获取第二用户设备的建链信息,有效地降低设备的功耗。
在一种实施方式中,所述短距离通信参数包括广播参数;所述方法还包括:指示短距离通信装置根据所述广播参数广播第二消息;所述第二消息是对所述第一消息的回复;所述第二消息至少包括所述第一用户设备标识和所述第二用户设备标识;所述第一用户设备标识是所述第一用户设备的标识。
应用本申请该实施例提供的一种设备的发现方法,第一用户设备在休眠状态下不需要唤醒处理模块,通过智能传感模块保持在线状态,从而发现周围的第二用户设备的探测并进行相应,实现用户设备之间的相互发现,能够提升用户设备之间发现和建链速度,从而优化用户的使用感受。
应用本申请该实施例提供的一种设备的发现方法,用户设备在休眠状态下保持在线状态的功耗会大幅度的减小,所引起的整机功耗也会随之降低。
在一种实施方式中,所述短距离通信参数包括广播参数;所述方法还包括:在获取通过扫描接收到的所述第一消息之前,指示短距离通信装置根据所述广播参数广播第三消息;所述第三消息至少包括所述第一用户设备标识,其中,所述第一用户设备标识是所述第一用户设备的标识;所述第一消息是对所述第三消息的回复。
应用本申请该实施例提供的一种设备的发现方法,能够在休眠期间保持在线状态,实现休眠的第一用户设备主动探测其他亮屏的第二用户设备。
在一种实施方式中,所述方法还包括:在获取通过扫描接收到的所述第一消息之后,指示短距离通信装置根据所述广播参数广播第四消息;所述第四消息用于指示第二用户设备停止广播第一消息;所述第四消息至少包括所述第一用户设备标识和所述第二用户设备标识。
应用本申请该实施例提供的一种设备的发现方法,在被对端设备发现后并获得响应后,可以停止对探测的回复,进一步减少功耗。
在一种实施方式中,所述方法还包括:在指示短距离通信装置根据所述广播参数广播第二消息之前,获取通过扫描接收到的第五消息,所述第五消息由所述至少一个第三用户设备广播;所述第五消息包括至少一个第三用户设备标识,其中所述至少一个第三用户设备标识是所述至少一个第三用户设备的标识;所述第二消息是对所述第一消息和第五消息的回复;所述第二消息还包括所述至少一个第三用户设备标识。
应用本申请该实施例提供的一种设备的发现方法,在第一用户设备休眠的状态下,智能传感模块采用聚合的处理方式,广播一个包括两个或两个以上用户设备标识的消息,对该两路或两路以上用户设备的在线查询请求同时回复,能够实现用户设备在休眠期间获取各个可及范围内在线用户设备的列表、获得建链信息,与多个在线用户设备互相发现和保持在线状态,能够有效地降低休眠设备的广播功耗,同时避免泛广播造成的宕机。
在一种实施方式中,所述短距离通信参数包括广播参数;所述广播参数还包括第二广播权重、第二广播时间和第二定时时长;其中,第二广播时间和第二定时时长是和第二广播权重对应的;所述第一消息还包括第一广播权重,第一广播时间和第一定时时长;其中,第一广播时间和第一定时时长与第一广播权重对应;所述方法还包括:获取通过扫描接收到的至少一个第三用户设备广播的第五消息;所述第五消息包括第三用户设备标识、第三广播权重,第三广播时间和第三定时时长;其中,所述第三用户设备标识是所述第三用户设备的标识,第三广播时间和第三定时时长与所述第三广播权重对应;比较所述第一广播权重、第二广播权重和第三广播权重的值,获得最大的广播权重;根据所述广播参数指示短距离通信装置在所述最大广播权重所对应的广播时间在所述最大广播权重所对应的定时时长的时间区间内广播第六消息;所述第六消息中包括最大的广播权重、广播时间、定时时长和目标设备的标识;其中广播时间和定时时长为与最大的广播权重对应的广播时间和定时时长的值,目标设备的标识包括所述第二用户设备标识和/或至少一个第三 用户设备标识;所述第六消息是对第一消息和/或第五消息的回复,用于将最大的广播权重的传播出去,使至少一个第三用户设备的短距离通信的频率和时机能够同步。
应用本申请该实施例提供的一种设备的发现方法,亮屏的第二用户设备和第三用户设备通过休眠的第一用户设备互相发现,并且能够与休眠的第一用户设备相互保持短距离通信。第一用户设备在唤醒之后,能够第一时间获取到在线用户设备列表,提高短距离通信效率;第一用户设备广播的一个消息包M6中可以同时回应多个亮屏设备的短距离通信请求,达到降低功耗、提高短距离通信效率的目的;第一用户设备广播消息包M6以进行最大的广播权重的传播和归一化,同步多个亮屏设备广播的频率和时机,以快速发现在线的用户设备,减少功率消耗;第二用户设备或第三用户设备掉线之后,最大广播权重依旧保留,集群内其他用户设备的通信状态能够继续保持同步和有序。
在一种实施方式中,所述方法还包括:指示短距离通信装置根据所述广播参数在发现窗口广播第七消息,所述第七消息用于发现集群外的至少一个第四用户设备;其中,所述发现窗口为通信/同步窗口之外的时间区间;所述通信/同步窗口为起始时刻是第一广播时间、持续时间是第一定时时长的时间区间;所述第七消息至少包括所述第一用户设备标识、最大的广播权重、定时时长和广播时间;其中广播时间和定时时长为与最大的广播权重对应的广播时间和定时时长的值;所述集群为若干个同步广播和扫描的用户设备组成的网络。
应用本申请该实施例提供的一种设备的发现方法,经过几次的碰撞调整之后,第一用户设备和第四用户设备的通信/同步窗口实现对齐。不在同一集群内的用户设备实现了相互发现,各个用户设备的通信/同步窗口实现同步后,各个用户设备可以在同一时刻工作,以达到用户设备保持在线状态的最大效率。
在一种实施方式中,所述第一消息包括所述第二用户设备标识,所述方法还包括:通过解析所述第一消息,获取并且保存所述第二用户设备标识。
应用本申请该实施例提供的一种设备的发现方法,能够在休眠状态下获得第二用户设备标识,实现与第二用户设备之间发现和提升建链速度。
在一种实施方式中,通过解析所述第一消息,至少获得所述第二用户设备标识和第一用户设备标识,其中所述第一用户设备标识为所述第一消息回复的目标设备的标识。
应用本申请该实施例提供的一种设备的发现方法,能够在休眠状态下,通过解析第一消息获得第二用户设备标识和第一用户设备标识,实现用户设备之间发现和提升建链速度。
在一种实施方式中,所述短距离通信包括蓝牙通信和蓝牙低功耗通信中的至少一个;所述方法还包括于所述处理器休眠前,接收来自所述处理器的蓝牙驱动程序,运行所述蓝牙驱动程序。
应用本申请该实施例提供的一种设备的发现方法,能够在休眠状态下,保持蓝牙通信在线。
第二方面,本申请实施例提供一种设备的发现方法,应用于第一用户设备内部的处理器,所述方法包括:于休眠前向智能传感装置下发短距离通信参数,所述短距离通信参数包括扫描参数,以便智能传感装置于休眠期间指示短距离通信模块根据所述扫描参数进行扫描;于唤醒后获取智能传感装置保存的至少一个第二用户设备标识,发现所述至少一个第二用户设备;其中,所述至少一个第二用户设备标识分别是所述至少一个第二用户设备的标识,所述至少一个第二用户设备标识分别是所述智能传感装置由所述至少一个第二用户设备广播的消息中获取。
在一种实施方式中,所述短距离通信参数还包括广播参数,所述方法还包括:于休眠前将蓝牙访问协议和所述广播参数下行到所述智能传感装置。
应用本申请该实施例提供的一种设备的发现方法,在某个时刻之后,处理模块被唤醒,处理器运行应用程序,能够根据上报的第二用户设备标识发现第二用户设备。
第三方面,本申请实施例提供一种设备的发现装置,位于第一用户设备内,所述第一用户设备内部还设置有处理器和短距离通信装置,所述装置包括通信过滤单元、内置集成电路驱动单元和通信分析单元;
所述通信过滤单元用于于所述处理器休眠前,接收来自所述处理器的短距离通信参数,所述短距离通信参数包括扫描参数;
所述内置集成电路驱动单元于所述处理器休眠期间,指示短距离通信装置根据所述扫描参数进行扫描;和短距离通信装置、用户设备的关系
所述通信分析单元用于获取通过扫描接收到的第一消息,所述第一消息由第二用户设备广播并且至少包括第二用户设备标识,其中所述第二用户设备标识是第二用户设备的标识;保存所述第二用户设备标识,以便于所述处理器被唤醒后根据所述第二用户设备标识发现第二用户设备。
第四方面,本申请实施例提供一种智能传感装置,所述智能传感装置包括第二存储器和数据处理器;所述数据处理器用于执行所述第二存储器存储的计算机执行指令,所述数据处理器运行所述计算机执行指令执行上述实施例任一项所述的设备的发现方法,于休眠状态下保持所述第一用户设备短距离通信在线。
第五方面,本申请实施例提供一种设备的发现装置,位于第一用户设备内,所述第一用户设备内部还设置有智能传感装置和短距离通信装置,所述装置包括休眠准备单元和唤醒获取消息单元;
所述休眠准备单元用于休眠前向智能传感装置下发短距离通信参数,所述短距离通信参数包括扫描参数,以便智能传感装置于休眠期间指示短距离通信模块根据所述扫描参数进行扫描;
唤醒获取消息单元用于唤醒后获取智能传感装置保存的至少一个第二用户设备标识,发现所述至少一个第二用户设备;其中,所述第二用户设备标识是第二用户设备的标识,所述第二用户设备标识是所述智能传感装置由第二用户设备广播的消息中获取。
第五方面,本申请实施例提供一种处理设备,设置于第一用户设备内部,所述处理设备包括处理器和第一存储器,所述处理器用于执行存储于第一存储器的应用程序,所述处理器运行所述应用程序执行上述实施例任一项所述的一种设备的发现方法,指示智能传感装置于休眠状态前接收短距离通信参数,以保持于休眠状态期间短距离通信在线。
第六方面,本申请实施例提供一种用户设备,能够于休眠状态下保持短距离通信,所述用户设备至少包括处理器、智能传感装置和短距离通信装置;所述处理器用于执行存储于第一存储器的应用程序,所述处理器运行所述应用程序执行上述实施例任一项所述的一种设备的发现方法,指示智能传感装置于休眠状态前接收短距离通信参数,以保持于休眠状态期间短距离通信在线;
所述智能传感装置至少包括第二存储器和数据处理器;所述数据处理器用于执行所述第二存储器存储的计算机执行指令,所述数据处理器运行所述计算机执行指令执行上述实施例任一项所述的设备的发现方法,于休眠状态下保持所述短距离通信装置在线。
应用本申请实施例提供的一种设备的发现方法,用户设备可以在处理器休眠的情况下,通过智能传感装置执行短距离通信广播和/或短距离通信扫描,从而发现其他用户设备,获取设备建链信息,同步设备状态,并且能够有效地降低设备的功耗。用户设备在休眠状态下不需要唤醒处理器来达到设备之间相互发现的目的,能够提升设备发现、设备建链和数据同步的速度,此外,在一个或多个实施方式中,在用户使用该方法时,可以使操作速度获得提升,优化用户的使用感受。
附图说明
为了更清楚地说明本申请披露的多个实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请披露的多个实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为方案1提供的分布式场景下设备唤醒方案的设备构架图;
图2为方案1提供的分布式场景下通过短距离通信唤醒休眠设备的流程图;
图3为方案2提供的短距离通信双向广播流程图;
图4为本申请实施例提供的一种设备的构架图;
图5为本申请实施例提供的一种设备的发现方法中休眠设备被亮屏设备发现的流程图;
图6为本申请实施例提供的一种设备的发现方法中休眠设备主动发现其他设备的流程图;
图7(a)为本申请实施例提供的一种设备的发现方法应用于一个手机A和一个电视TV的示意图;
图7(b)为本申请实施例提供的一种设备的发现方法应用于一个手机A和两个电视TV示意图;
图8为本申请实施例提供的一种设备的发现方法中在线的用户设备通信/同步窗口和发现窗口示意图;
图9为本申请实施例提供的一种设备的发现方法中多个亮屏设备与休眠设备之间互相发现和同步通信示意图;
图10为本申请实施例提供的一种设备的发现方法中设备通信/同步窗口对齐效果图;
图11为本申请实施例提供的一种设备的发现方法中不同步调的两个设备在发现窗口内快速发现的示意图;
图12(a)为本申请实施例提供的一种设备的发现方法中心跳探测包的格式示意图;
图12(b)为本申请实施例提供的一种设备的发现方法中心跳回复包的格式示意图;
图12(c)为本申请实施例提供的一种设备的发现方法中快速发现包的格式示意图;
图12(d)为本申请实施例提供的一种设备的发现方法中结束包的格式示意图;
图13(a)为本申请实施例提供的一种智能传感装置示意图;
图13(b)为本申请实施例提供的一种处理设备示意图;
图14为本申请实施例提供的一种用户设备示意图。
具体实施方式
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理 解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
在以下的描述中,所涉及的术语“第一\第二\第三等”或模块A、模块B、模块C等,仅用于区别类似的对象,不代表针对对象的特定排序,可以理解地,在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
在以下的描述中,所涉及的表示步骤的标号,如S110、S120……等,并不表示一定会按此步骤执行,在允许的情况下可以互换前后步骤的顺序,或同时执行。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
图1为方案1提供的分布式场景下设备唤醒方案的设备构架图,如图1所示,用户设备可以包括一个或多个(图中仅示出一个)处理器和通信装置。
处理器可以运行用户设备的操作系统,例如,Android、iOS、WindowsOS、Liunix和鸿蒙操作系统等。处理器可以运行特定的应用程序。在方案1中,处理器被配置有处理模块AP,处理器通过运行处理模块AP的应用程序APP,执行分布式场景下的设备唤醒方案。通信装置被配置有短距离通信模块BT,短距离通信模块BT用于经进行蓝牙低功率通信。
采用分层架构的方式可以将处理模块AP分成若干个模块,每一模块都有清晰的角色和分工。模块与模块之间通过软件接口通信。在方案1中,处理器运行Android系统,Android系统分为四个模块,从上至下分别为应用程序模块APP、软件架构模块FW、协议栈模块HAL(hardware abstract layer,简称HAL)、以及内核模块KEL(Kernel,简称KEL)。
应用程序模块APP包括设置、共享、连接、唤醒等一系列应用程序单元,并提供发布任务和订阅服务的数据接口。
软件架构模块FW为应用程序模块APP的应用程序单元提供应用编程接口和编程架构。软件架构模块FW包括蓝牙架构和架构管理器等,蓝牙架构包括一些预先定义的短距离通信函数,如BLE广播函数和BLE扫描函数。
协议栈模块HAL为不同硬件设备提供统一的访问接口。协议栈模块HAL包括蓝牙协议栈和其他协议服务。
内核模块KEL是硬件和软件之间的层。内核模块至少包括各种驱动器,例如,通用异步收发传输驱动器(Universal Asynchronous Receiver Transmitter,简称UART)。
短距离通信模块BT通过UART接口与处理模块AP进行数据异步收发传输,实现短距离通信功能。UART接口为一种通用串行数据总线,用于异步通信,该总线可以为双向通信总线,它将要传输的数据在串行通信与并行通信之间转换。短距离通信,至少包括现有蓝牙标准的各种实施中的任一种,包括蓝牙低功耗、蓝牙标准的未来实施等。
短距离通信模块BT包括通道切换模块和在内部逻辑模块。通道切换模块通过UART接口进行数据异步扫描和发送,进行短距离传输数据。内部逻辑模块包括多个过滤器,过滤器用于过滤短距离通信扫描结果,将扫描结果中符合要求的广播参数通过通道切换模块传输给处理模块AP;或将通道切换模块接收的处理模块AP下行的广播参数过滤,将符合要求的数据广播发布。
在图1所示的设备架构中,其数据传输路径是,在应用程序模块APP启动数据接口,数据接口调用蓝牙架构,通过协议栈的蓝牙协议调用内核模块KEL的蓝牙驱动程序,蓝牙驱动程序通过UART接口启动短距离通信模块BT,短距离通信模块BT根据广播参数进行BLE广播,发布BLE通信服务;短距离通信模块BT进行BLE扫描接收其它用户设备的BLE订阅服务。
图2为分布式场景下通过短距离通信唤醒休眠设备的流程图。根据EMUI10.1版本,在分布式场景下,设备A和至少一个设备B在业务请求之前自动组网,设备A在进行业务请求时可以直接获取到在线同账号信任的至少一个设备B的列表。设备A对列表进行周期性刷新,以获知列表中在线设备B的在线状态。
在图2中,亮屏的设备A的处理模块AP1执行应用程序APP1的开始广播指令,通过短距离通信模块BT1进行BLE广播;至少一个设备B的处理模块AP2在执行应用程序APP2的开始扫描指令过程中,通过短距离通信模块BT2扫描到设备A的广播消息,将该广播消息上报至处理模块AP2,由应用程序APP2处理在线扫描结果。
设备A每5min发消息包到至少一个设备B,然后至少一个设备B无论是否休眠,均需要响应回复该消息表明在线(在附近),超时不响应表示不在线。在该方案中,如果需要设备A发现设备B,则使设备A一直进行BLE通信广播,设备B进行BLE扫描,设备B响应并回复设备A广播的消息,表明设备B在线,确认设备A发现设备B。或者,用户手动启动设备B一直进行BLE通信扫描,设备A进行BLE通信广播的时候,设备B扫描到设备A的广播消息,回复该广播的消息,表明设备B在线,确认设备A发现设备B。
在休眠状态下的短距离通信模块BT2唤醒处理模块AP2后可实现回复设备A。
该方案能实现同账号信任的用户设备之间的用户发现与连接,短距离通信模块BT根据处理模块AP发布短距离通信任务进行短距离通信。
在上述方案中至少存在的缺点是设备B执行的通信任务和接受订阅服务都需经过处理模块AP处理执行,导致周期性的唤醒处理模块AP,引起功耗一定程度的增加,整机功耗随之增加,周围在线设备的增加也导致整机功耗加倍增加。
图3为方案2提供的短距离通信双向广播流程图。该方案通过设备A与设备B之间进行双向广播实现设备之间相互发现。如图3所示,当设备A需要发现设备B时,设备A发起短距离通信广播并进行扫描。设备B一直处于扫描模式。设备B通过扫描,发现设备A的广播之后,通过短距离通信发布广播信息回应设备A。设备B回应的广播信息包含本机设备名、用户昵称、本机电话号码和安全摘要等。设备A通过短距离通信扫描,得到设备B回应的广播信息,显示设备B的设备名,用户昵称和电话号码,设备A通过设备B的标示,在本地或云上搜索设备B的头像,显示给用户。设备A通过短距离通信连接设备B,为后续业务的进行提供数据通路。
在图3提供的短距离通信双向广播中至少存在的缺点是,设备A在发现设备B之后,设备B没有感知到这一状况的发生,因此设备B会一直广播,导致设备B功耗增加。如果周围有更多的设备想要发现设备B,那设备B的功耗会随着周围设备的增加而成倍的增加。该方案的设备A或设备B如果为休眠设备,同样需要唤醒处理模块AP来达到设备之间相互发现的目的,因而周期性唤醒处理器AP的功耗增加问题一并存在。
基于方案1和方案2的发现机制存在导致设备功率消耗较大的缺陷,本申请的一个实施例提供一种用户设备,可以在处理器休眠的情况下通过智能传感装置驱动短距离通信装置执行短距离通信任务。该设备在图1提供的设备架构的基础上,增加了智能传感装 置。
智能传感装置为智能传感集线器(Sensorhub)或协处理器,用于连接并处理来自各种传感器设备的数据。智能传感装置可以包括但不限于低功耗的应用处理器(Application Processor)、微处理器MCU(Micro-programmed Control Unit)等低功耗的处理模块或处理电路。其中,智能传感集线器(Sensorhub)是一种基于低功耗MCU和轻量级RTOS操作系统之上的软硬件结合的解决方案,其主要功能是连接并处理来自各种传感器设备的数据。
在本申请的下述实施例中,利用SensorHub+短距离通信的方案来实现在线的设备发现,设备建链信息的交换以及设备状态信息的同步等,其中智能传感装置可以处理处理器下行的短距离通信参数,解析短距离通信装置上行的消息包。
图4为本申请的一个实施例提供的一种设备的构架图。如图4所示,该设备包括处理器、智能传感装置和短距离通信装置;在本申请的实施例中,处理器被配置有处理模块AP,处理器执行处理模块AP的应用程序APP实现下文一个或多个实施例描述的方法,于休眠状态之前指示智能传感装置在休眠状态下保持设备短距离通信功能。
智能传感装置被配置有智能传感模块SH,智能传感装置执行智能传感模块SH的应用程序,实现下文一个或多个实施例描述的方法,于休眠状态下保持所述设备的短距离通信在线,并获取同一集群内设备建链信息,同步设备通信状态。
短距离通信装置被配置有短距离通信模块BT,短距离通信装置执行短距离通信模块BT的程序,实现下文一个或多个实施例描述的方法,进行短距离通信。
本申请的实施例提供的一种设备在处理器休眠的情况下,通过智能传感模块SH与短距离通信模块BT通过I3C接口进行数据传输,实现短距离通信功能。其中,I3C接口为扩展内置集成电路接口(ImprovedInterIntegratedCircuit,简称I3C),I3C接口是一种扩展的双向同步串行总线,包括一根串行数据线(serialdataline,SDA)和一根串行时钟线(derailclockline,SCL)。I3C可以在同一根主线上支持更多的传感器,而且不会因为要支持中断或睡眠模式而增加额外的逻辑信号。
具体地,处理模块AP运行应用程序模块、软件架构模块、协议栈模块和内核模块。
应用程序模块包括一系列应用程序单元,针对设备于休眠状态下的发现和保持在线进行短距离通信,在连接互联网的情况下Android和IOS设备之间传递消息数据。应用程序单元可以包括设置单元、共享单元、连接单元、唤醒单元和数据接口单元与方案1的配置相同。其中,设置单元设置蓝牙通信模式;共享单元发布蓝牙通信共享协议;连接单元连接蓝牙设备;唤醒单元唤醒休眠的蓝牙设备;数据接口单元提供发布蓝牙任务和订阅服务的应用数据接口等应用程序的接口;为本申请提供基本的软硬件配置和驱动。
软件架构模块FW还包括传感器架构单元401等。其中,传感器架构单元401为应用程序提供面向智能传感模块SH的应用程序。
协议栈模块HAL还包括传感器协议单元402。其中,传感器协议单元402为智能传感模块SH提供统一的访问协议,将访问协议下行到智能传感模块SH。
内核模块KEL还包括传感器共享驱动单元403。传感器共享驱动单元403为智能传感模块SH保存蓝牙驱动程序,并为传感器协议单元402下行的短距离通信参数和智能传感模块SH上行的短距离通信参数提供公共的存储空间。
传感器架构单元401、传感器协议单元402和传感器共享驱动单元403是在方案1所示的设备架构中处理模块AP增加的新的功能单元,它们组成了新的数据通路,使得处理模块AP能 够于休眠前将蓝牙驱动程序和短距离通信参数下行至智能传感模块SH,指示智能传感模块SH于休眠期间保持短距离通信在线,于唤醒后获取休眠期间与短距离通信相关的数据。
如图4所示,智能传感模块SH包括通信过滤单元421、通信分析单元422和内置集成电路驱动器423。具体来说,通信过滤单元421对下行的广播参数进行筛选处理,编辑生成消息包;通信分析单元422对接收的消息包进行解析,获得对端设备的广播参数;内置集成电路驱动器423运行蓝牙驱动程序,与短距离通信模块BT内置的控制单元414通过I3C接口进行消息包的数据传输。其中控制单元414为短距离通信模块BT提供I3C接口的通信控制,与短距离通信模块BT进行数据异步收发传输,实现短距离通信功能。
图4所示的设备与图1所示的设备的不同之处在于处理模块AP的改进和增加的智能传感模块SH。具体地,处理模块AP在休眠之前,将蓝牙驱动程序和短距离通信广播参数下行依次通过传感器架构单元401和传感器协议单元402发送至传感器共享驱动单元403;在处理模块AP休眠期间,智能传感模块SH执行蓝牙驱动程序和与短距离通信相关的例如广播、扫描和同步的应用程序,智能传感模块SH读取传感器共享驱动单元403中的广播参数后,通信过滤单元421对下行的广播参数进行过滤处理,过滤后有用数据生成消息包,根据消息包中携带业务信息,确定执行的应用及业务,例如消息类型、设备ID、通信的频率和时机等,然后调用内置集成电路驱动器423启动I3C接口进行消息包传输,将消息包传输到短距离通信模块BT。
在本申请的一些实施例中,短距离通信模块BT扫描获得的消息按照上述下行传输路径的反向进行上行传输,需要说明的是,在处理模块AP休眠的状态下,短距离通信模块BT扫描得到的消息通过I3C接口传输到通信分析单元422,解析后的广播参数经通信过滤单元421进行过滤处理,过滤后有用数据存储至传感器共享驱动单元403,供处理模块AP唤醒后立刻读取。
本申请的一个实施例提供一种设备的发现方法,应用于图4所示的第一用户设备的智能传感装置,该方法包括:智能传感装置于处理模块AP休眠前,接收来自处理器的短距离通信参数,短距离通信参数包括扫描参数;于所述处理器休眠期间,智能传感装置指示短距离通信模块根据扫描参数进行扫描;获取通过扫描接收到的第二用户设备广播的消息包M1,该消息包M1至少包括第二用户设备的标识,其中第二用户设备标识是第二用户设备的标识;保存第二用户设备标识,以便于处理器被唤醒后根据第二用户设备的标识发现第二用户设备。
图5为本申请的一个实施例提供的一种设备的发现方法中休眠设备被亮屏设备发现的流程图。如图5所示,第一用户设备于所述处理模块AP1休眠期间,接收来自应用程序APP1的短距离通信参数,所述短距离通信参数包括扫描参数;指示短距离通信模块BT1根据扫描参数进行短距离通信扫描。在一些实施例中,短距离通信可以为BLE通信,短距离通信参数还可以包括广播参数,第一用户设备可以执行如下步骤S5011-S5013。
S5011,第一用户设备进入休眠状态前,处理模块AP1执行应用程序APP1,预先将短距离通信参数下行到智能传感模块SH1,短距离通信参数包括扫描参数。
S5012,智能传感模块SH1获取扫描参数,然后启动I3C接口进行扫描任务传输,扫描任务传输到短距离通信模块BT1。
S5013,短距离通信模块BT1启动BLE通信扫描,实现第一用户设备在后台通过智能传感模块SH1执行BLE通信扫描。
第二用户设备一直处于亮屏状态,处理模块AP2工作。当第二用户设备需要发现周围有哪些用户设备时,运行应用程序模块APP2,开始广播和扫描。
具体地,第二用户设备可以执行如下步骤S5021-S5023。
S5021,应用程序APP2将短距离通信参数下行到处理模块AP2,短距离通信参数包括扫描参数和消息包M1。
S5022,处理模块AP2下行扫描参数和消息包M1到短距离通信模块BT2,
S5023,短距离通信模块BT2执行短距离通信,广播消息包M1。该消息包M1可以标记为第一消息,在第一消息中,至少包括第二用户设备的标识。
第一用户设备执行步骤S5031,短距离通信模块BT1通过I3C接口将扫描到的消息包M1上行至智能传感模块SH1。
执行S5032,智能传感模块SH1对消息包M1进行解析,解析的结果至少包括第二用户设备的标识。
智能传感模块SH1保存第二用户设备的标识。具体地,智能传感模块SH1将解析消息包M1得到的第二用户设备的标识保存在传感器共享驱动单元403中。
智能传感模块SH1指示短距离通信模块BT1根据短距离通信广播参数广播消息包M2,消息包M2至少包括第一用户设备的标识和第二用户设备的标识。将消息包M2记为第二消息,消息包M2是发现消息包M1的回复。
具体地,第一用户设备执行可以执行如下步骤S5041-S5042。
S5041,智能传感模块SH1从传感器共享驱动单元403中读取广播参数,广播参数中至少包括第一用户设备的标识和第二用户设备的标识,通信过滤单元421对该广播参数进行编辑,生成消息包M2。其中第一用户设备的标识用于指示消息包M2的来源;第二用户设备的标识用于指示消息包M2的回复目标。智能传感模块SH1启动I3C接口指示短距离通信模块BT1广播消息包M2。
S5042,短距离通信模块BT1广播消息包M2。
第二用户设备执行S505,短距离通信模块BT2将扫描到的消息包M2上报至处理模块AP2。
休眠的第一用户设备处理器被唤醒后,处理模块AP1立即执行应用程序APP1读取传感器共享驱动单元403中的在线第二用户设备的标识,将订阅数据和服务推送到该第二用户设备。
在一些实施例中,处于休眠状态的第一用户设备周围存在多个在线设备,智能传感模块SH1对多个在线设备广播的多个消息包分别解析,并保存每一个解析结果中的设备标识,得到多个在线设备标识的列表。处理器被唤醒后第一时间执行应用程序APP1获取到周围在线的设备标识的列表,根据列表中设备标识一一推送服务或数据。
应用本申请实施例提供的一种设备的发现方法,第一用户设备可以在处理模块AP1休眠的情况下,通过智能传感模块SH1保持在线状态,执行短距离通信广播和/或扫描,从而发现周围的第二用户设备,获取第二用户设备的建链信息,有效地降低设备的功耗。
应用本申请实施例提供的一种设备的发现方法,第一用户设备在休眠状态下不需要唤醒处理模块AP1,通过智能传感模块SH1保持在线状态,实现用户设备之间的相互发现,能够提升用户设备之间发现和建链速度,从而优化用户的使用感受。
应用本申请的一个实施例提供的一种设备的发现方法,用户设备在休眠状态下保持在线 状态的功耗会大幅度的减小,所引起的整机功耗也会随之降低。
本申请一个实施例提供一种设备的发现方法,用于休眠的第一用户设备主动发现其他亮屏的第二用户设备,其中智能传感模块SH1在处理模块AP1休眠期间还执行:接收来自所述APP1的短距离通信参数,短距离通信参数包括广播参数;在获取通过扫描接收到的第二用户设备广播的消息包M1之前,指示短距离通信模块BT1根据广播参数广播消息包M3;消息包M3至少包括第一用户设备标识;第二用户设备收到消息包M3后向第一用户设备回复消息包M1,表示自己在线。
图6为本申请的一个实施例提供的一种设备的发现方法的休眠设备主动发现其他设备的流程图,具体流程如图6所示。在第一用户设备进入休眠状态之前,处理模块AP1执行应用程序APP1下发扫描参数并执行步骤S6011-S6013。
S6011,处理模块AP1将短距离通信广播参数下发给智能传感模块SH1,指示智能传感模块SH1开始广播和扫描。
S6012,智能传感模块SH1根据广播参数将编辑好的消息包M3下发给短距离通信模块BT1,指示短距离通信模块BT开始BLE广播和扫描。消息包M3可以记为第三消息,用于发现周围在线的至少一个第二用户设备。
S6013,短距离通信模块BT广播消息包M3。
具体的,智能传感模块SH1从传感器共享驱动单元403中读取短距离通信广播参数,广播参数至少包括所述第一用户设备标识,第一用户设备标识为第一用户设备的标识。通信过滤单元421对该广播参数进行编辑处理,生成消息包M3,然后启动I3C接口将消息包M3传输到短距离通信模块BT1,启动BLE通信广播消息包M3。
第二用户设备一直处于亮屏状态,处理模块AP2的应用程序APP2开始扫描并执行步骤S6021-S6023。
S6021,短距离通信模块BT2扫描收到消息包M3,处理模块AP2执行应用程序APP2将扫描结果上报至处理模块AP2,处理模块AP2将扫描结果上报至应用程序APP2。
S6022,应用程序APP2下发开始广播指令至处理模块AP2,处理模块AP2指示短距离通信模块BT2开始BLE广播。
S6023,短距离通信模块BT2广播消息包M1。消息包M1中携带的目标设备信息包括第二用户设备标识和第一用户设备标识。消息包M1用于回复消息包M3。
第一用户设备的短距离通信模块BT1扫描得到的消息包M1,智能传感模块SH1执行S6031-S6032。
S6031,对消息包M1进行解析,解析结果至少包括第二用户设备标识和第一用户设备标识。智能传感模块SH1根据解析结果确认该消息包M1的目标设备为第一用户设备,则将广播该消息包M1的第二用户设备标识设置为在线。
S6032,保存第二用户设备标识。
智能传感模块SH1收到消息包M1后,根据广播参数生成消息包M4,消息包M4的广播参数至少包括第二用户设备标识,用于指示第二设备停止向第一用户设备广播消息包M1。第一用户设备执行S6041-S6042。
S6041,智能传感模块SH1指示短距离通信模块BT1广播消息包M4,将消息包M4记为第四消息。
S6042,短距离通信模块BT1进行BLE广播消息包M4。
收到消息包M4的第二用户设备执行S605,将扫描结果上报,处理器AP2响应消息包M4,停止向第一用户设备广播消息包M1。
第一用户设备执行S606,智能传感模块SH1将第二用户设备标识上报至应用程序APP1。
在某个时刻之后,如果处理模块AP1被唤醒,处理器运行应用程序APP1,根据上报的第二用户设备标识发现第二用户设备。
在图5所示的实施例中,第一用户设备在休眠期间,通过智能传感模块SH1执行短距离通信广播和/或扫描,能够响应亮屏的第二用户设备的广播探测,在休眠期间保持在线状态。
在图6所示的实施例中,第一用户设备在休眠期间,通过智能传感模块SH1执行短距离通信广播和/或扫描,能够在休眠状态下的主动探测周围在线的用户设备。智能传感模块SH1执行短距离通信广播和/或扫描消息包M4,收到消息包M4的设备表明已被对端发现,可以停止对探测的回复,进一步减少功耗。该消息包M4也可以应用于图5所示的实施例中处于亮屏状态的设备。
本申请实施例提供的设备发现方法可以将蓝牙驱动程序及短距离通信Stack和业务下沉到智能传感模块SH,在处理模块AP休眠的情况下实现在线设备的快速发现,快速握手,并于休眠期保持在线状。在处理器休眠的情况下,通过智能传感装置指示短距离通信装置执行短距离通信任务,从而发现其他在线用户设备,能够有效地降低设备的功耗。用户设备在休眠状态下不需要唤醒处理器来实现设备之间相互发现。此外,在下文一个或多个实施方式中,在用户使用用户设备时,可以得到速度的提升,从而优化用户的使用感受。
图7(a)为本申请的一个实施例提供的一种设备的发现方法应用于一个手机A和一个电视TV的示意图。如图7(a)所示,以手机A作为休眠状态的第一用户设备、以具有蓝牙的电视TV作为第二用户设备为例,在电视TV的周围存在一个休眠状态手机A,其中,手机A具有如图4所示的架构和功能,包括处理模块AP、智能传感模块SH和短距离通信模块BT。在手机A的处理模块AP处于休眠状态时,手机A的短距离通信模块BT及智能传感模块SH一直处于运行状态。当电视TV需要找到周围可以进行短距离通信的设备时,可以通过以下步骤实现:
S701,电视TV发起在线探测,广播消息包M1,查询手机A是否在周围。其中消息包M1携带的广播参数至少包括本地设备ID、定时时长和广播时间。其广播实施方式参考S6021-S6023,此处不再赘述。
S702,处于休眠状态的手机A的短距离通信模块BT将收到的消息包M1上报给智能传感模块SH。智能传感模块SH收到消息包M1后,进行在线应答;通过短距离通信广播消息包M2对消息包M1回复,其中消息包M2的广播参数至少包括本地设备ID、目标设备1。其中目标设备1为电视TV标识。
S703,智能传感模块SH将消息包M2送入短距离通信模块BT;保存电视TV标识,以便于处理器被唤醒后,处理器运行处理模块AP,根据电视TV标识发现该电视TV。
S704,短距离通信模块BT启动短距离通信广播该心跳回复包M2。
在一些实施例中,还可以采用聚合的处理方式,广播一个包括两个或两个以上用户设备标识的消息包,对两个或两个以上用户设备的在线查询请求同时回复。具体地,智能传感模块SH在指示短距离通信装置根据所述广播参数广播第二消息之前,获取通过扫描接收到的至少一个消息包M5,至少一个消息包M5是分别由至少一个第三用户设备广播的;每个 消息包M5包括一个用户设备的标识。智能传感模块SH收到消息包M5后,对第二用户设备和至少一个第三用户设备一起回复,回复一个消息包M2,在消息包M2中每个第三用户设备的标识,以每个第三用户设备作为回复的目标设备。
图7(b)为本申请的一个实施例提供的一种设备的发现方法应用于一个手机A和多个电视TV的示意图。如图7(b)所示,至少存在一个第三用户设备,第三用户设备以第二个具有蓝牙的电视TV2为例,第二个具有蓝牙的电视TV2需要找到周围可以进行短距离通信的设备,具体通过以下步骤实现:
S701′,两个具有蓝牙的电视TV1和TV2分别发起在线查询,其中电视TV1通过短距离通信广播消息包M1,查询手机A是否在周围;电视TV2通过短距离通信广播消息包M5,消息包M5包括至少一个第二电视TV标识。将消息包M5记为第五消息。
S702′,休眠状态的手机A的短距离通信模块BT将收到的消息包M1和消息包M5分别上报给智能传感模块SH,智能传感模块SH对于消息包M1和消息包M5分别进行解析,保存电视TV1的标识和电视TV2的标识。
S703′,对于消息包M1和消息包M5,智能传感模块SH采用聚合的处理方式,编辑一个消息包M2,将消息包M2下行至短距离通信模块BT。消息包M2中同时携带电视TV1标识和电视TV2标识。
S704′,短距离通信模块BT广播消息包M2,同时回应电视TV1和电视TV2。
具体地,聚合消息包M2的处理方式为从传感器共享驱动单元403中读取消息包M1和消息包M5解析后的广播参数,包括电视TV1的标识和电视TV2的标识,通信过滤单元421对该电视TV1的标识和电视TV2的标识进行聚合处理,生成一个消息包M2。消息包M2的广播参数至少包括消息类型、本地设备ID、目标设备1和目标设备2。其中目标设备1和目标设备2分别为电视TV1的标识和电视TV2的标识。智能传感模块SH将一个消息包M2送入短距离通信模块BT,短距离通信模块BT广播消息包M2,同时回应电视TV1和电视TV2。
对于两个以上用户设备的在线查询请求,在手机A处理器休眠的情况下,可以采用相同的聚合的处理方式,通过一个消息包M2同时回复两个以上用户设备。
应用图7(b)的实施例提供的休眠设备的发现方法进行休眠设备发现,在手机A休眠的状态下,智能传感模块SH采用聚合的处理方式,广播一个包括两个或两个以上用户设备标识的消息,对该两路或两路以上用户设备的在线查询请求同时回复,能够实现用户设备在休眠期间获取各个可及范围内在线用户设备的列表、获得建链信息,与多个在线用户设备互相发现和保持在线状态,该方案能够有效地降低休眠设备的广播功耗,同时避免泛广播造成的宕机。
在休眠设备的发现以及保持在线状态的过程中,一个休眠设备周围处于亮屏状态的不同的用户设备进行短距离通信的时间并不同步,时间轴的杂乱无序会致用户设备广播发现休眠设备的时间无规律地增加,功耗增大。在利用短距离通信广播进行休眠设备的发现和保持在线状态过程中需要在一个组网集群内,使休眠设备周围处于亮屏状态的各个用户设备约定短距离通信的频率和时机,在统一的短距离通信时间区间执行广播和扫描任务。该短距离通信时间区间为通信/同步窗口。
图8为用户设备进行短距离通信划分的任务时序窗口示意图。如图8所示,用户设备的短距离通信的任务按照时序划分为通信/同步窗口和发现窗口。通信/同步窗口用于集群内步调一致的的用户设备在此时间区间内执行广播和扫描,进行短距离通信握手,完成互 相发现的任务。本次通信/同步窗口结束到下一个通信/同步窗口开始之间的时间区间设置为发现窗口。发现窗口用于随机广播查询消息,发现集群外步调不一致的用户设备。
针对处于亮屏状态的不同的用户设备,要使其各自的通信/同步窗口对齐为统一的时间区间,还需考虑的是不同类型的用户设备其功耗的敏感度、广播的随机性和设备的地址不同,这些因素会影响短距离通信的频率和时机。比如在查询周围的用户设备时,电视TV常连接外部电源,其电量可以随用随取,对功耗敏感度要求比较低,电视TV的短距离通信频率可以设置为每1分钟扫描/广播一次;手机phone的电池电量有限,对功耗敏感度要求比较高,因此手机phone的短距离通信广播的广播频率较低,可以设置为每5分钟扫描/广播一次;PAD的对功耗敏感度要求介于手机phone和电视TV之间,可以每3分钟扫描/广播一次。同时用户设备的地址与短距离通信的距离相关,也会影响短距离通信的功耗、频率和时机。
考虑到上述影响短距离通信的频率和时机的因素,在本申请的一个实施例中,为每个用户设备设置设备权重的值,设备权重DW定义如下:
DW=dT*2 12+Pcons*2 9+RF*2 4+MAC[1]*2 2+MAC[0];
其中,dT为设定的用户设备型号的值,例如手机的dT值为1,电视的dT值为2,PAD的dT值为3等。Pcons为功耗敏感度的值,与用户设备型号有关,例如手机的Pcons的值为0.7,电视的Pcons值为0.2,PAD的Pcons的值为0.4等。RF为设定的随机因子。MAC为设备地址,为6位数据,MAC[0]为设备地址的第一位数字、MAC[1]为设备地址的第二位数字。
为了减少处于亮屏状态的用户设备查询过程中的功耗,对齐多个亮屏的用户设备的通信/同步窗口的时间区间,可以为每个用户设备设置一个广播权重,该广播权重的值默认为本地设备的设备权重的值。在一个可及的范围内内,每一台用户设备都会将自己知道的周围各个用户设备的广播权重中的最大值随着消息包M6广播出去,处于亮屏状态的用户设备收到消息包M6后,跟随广播权重最大的设备调整广播/扫描的频率和时机,使通信/同步窗口与广播权重最大的设备的通信/同步窗口的时间区间对齐,在对齐的通信/同步窗口内进行短距离通信,以达到同步通信,缩短与休眠设备相互发现的时间,减少功耗。消息包M6可以记为第六消息,第六消息用于约定短距离通信的频率和时机。
基于上述构思,本申请的一个实施例提出的一种设备的发现方法,于多个亮屏的设备发现可及范围内的休眠设备和其他在线的用户设备后,同步多个亮屏设备第一消息发送的频率和时机。
以两个亮屏设备为例,在前述实施例的基础上,第一用户设备于处理模块AP休眠期间,接收来自APP的短距离通信参数还包括第二广播权重、第二广播时间和第二定时时长,其中,第二广播时间和第二定时时长是和第二广播权重对应的;;第一消息还包括第一广播权重,第一广播时间和第一定时时长;其中,第一广播时间和第一定时时长是和第一广播权重对应的。智能传感模块SH1还执行:获取通过扫描接收到的至少一个第三用户设备广播的第五消息;第五消息还包括第三广播权重,第三广播时间和第三定时时长;其中,第三广播时间和第三定时时长是和第三广播权重对应的;比较第一广播权重、第二广播权重和第三广播权重的值,获得最大的广播权重;在最大的广播权重为第一广播权重的情况下,指示短距离通信装置根据短距离通信广播参数在第一广播时间在第一定时时长的时间范围内广播第六消息;在最大的广播权重为第三广播权重的情况下,指示短距离通信装置根据短距离通信广播参数在第三广播时间在第三定时时长的时间范围内广播第六消息;第六消息中包括最大的广播权重、同步广播时间和同步定时时长;其中同步广播 时间和同定时时长为与最大的广播权重对应的广播时间和定时时长的值;第六消息用于将最大的广播权重的传播出去,使三个用户设备的短距离通信的广播时间一致和定时时长一致,以实现同步短距离通信的频率和时机。下面通过图9进一步说明。
图9为本申请实施例提供的一种设备的发现方法中多个亮屏设备与休眠设备之间互相发现和同步通信示意图。如图9所示,第一用户设备为休眠的状态,第二用户设备和第三用户设备为亮屏状态,其中,第二用户设备和第一用户设备可以通过短距离通信相互发现,第三用户设备和第一用户设备可以通过短距离通信相互发现,第二用户设备和第三用户设备无法直接通过短距离通信相互发现。第一用户设备、第二用户设备和至少一个第三用户设备通过执行以下步骤实现互相发现和同步通信。
S901,亮屏的第二用户设备主动发起广播和扫描,广播消息包M1,消息包M1至少包括第二用户设备标识、第一广播权重W 1、第一广播时间NT 1和第一定时时长T 1。其中,第一广播时间和第一定时时长是和第一广播权重对应的。
S902,休眠的第一用户设备发起短距离通信扫描接收到消息包M1,同时给第二用户设备回复消息包M2。消息包M2至少包括第一用户设备标识、设备权重DW,第二广播权重W 2、第二广播时间NT 2、第二定时时长T 2和第二用户设备标识;第二广播权重W 2默认为第一用户设备的设备权重DW的值。
休眠的第一用户设备在扫描收到消息包M1时,解析消息包M1,保存解析结果。在一些可能的实施方式中,休眠的第一用户设备在扫描收到消息包M1时,解析并保存消息包M1中携带的各个广播参数的值,解析结果至少包括第二用户设备标识,第一广播权重W 1、第一定时时长T 1和第一广播时间NT 1
S903,处于亮屏状态的第三用户设备主动发起广播和扫描,广播消息包M5,消息包M5记为第五消息,第五消息包括第三用户设备标识、第三广播权重,第三广播时间和第三定时时长;其中第三用户设备标识是第三用户设备的标识,第三广播时间和第三定时时长是和第三广播权重对应的。
S904,第一用户设备收到消息包M5消息,解析消息包M5消息,获得并保存第三用户设备的第三用户设备标识、第三广播权重W 3、第三定时时长T 3和第三广播时间NT 3;对比第一广播权重W 1、第二广播权重W 2以及收到的第三广播权重W 3的值,更新本地设备收到的最大广播权重、定时时间和广播时间。
在本地设备收到的最大广播权重为W 1的情况下,指示短距离通信模块BT 1在第一广播时间NT 1在第一定时时长T 1的时间范围内广播消息包M6。第六消息中包括最大的广播权重W、广播时间T和定时时长NT;其中广播时间T和定时时长NT为与最大的广播权重W对应的设备的广播时间和定时时长的值。此时W=W 1,T=T 1,NT=NT 1
在本地设备收到的最大广播权重为W 3的情况下,指示短距离通信模块BT 1在第三广播时间NT 3在第三定时时长T 3的时间范围内广播消息包M6。此时第六消息中最大的广播权重W=W 3、广播时间T=T 3和定时时长NT=N T 3
S905,第三用户设备执行扫描收到消息包M6,解析该消息包M6,获得广播权重W、广播时间T和定时时长NT。
对比本地的广播权重W 3和广播权重W,在本地的广播权重W 3小于广播权重W的情况下,第三用户设备在广播时间NT时刻在定时时长T的时间范围内广播消息包M5;在本地的广播权重W 3大于或等于广播权重W的情况下,第三用户设备按照原有广播参数在广播时间NT 3时 刻在定时时长T 3的时间范围内广播消息包M5。
S906,第二用户设备扫描收到消息包M2,对比本地的广播权重W 1和解析该消息获得的广播权重W 2,在本地的广播权重W 1小于广播权重W 2的情况下,第二用户设备在广播时间NT 2时刻在定时时长T 2的时间范围内广播下一个消息包M1。如果广播权重W 1大于或等于广播权重W 2的情况,则第二用户设备按照原有广播参数在广播时间NT时刻在定时时长T的时间范围内进行广播消息包M1。
S907,休眠的第一用户设备在同一个时间段内扫描分别收到消息包M1和消息包M5后,广播同一个消息包M6给第二用户设备和第三用户设备,该消息包M6中可以包括第二用户设备标识和第三用户设备标识,其中第二用户设备标识和第三用户设备标识为目标设备的标识。
经过上述步骤S901-S907,第二用户设备广播消息包M1和第三用户设备广播消息包M5的时机和频率最终能够达到同步,第二用户设备和第三用户设备可以同步扫描接收第一用户设备广播回复的消息包M6。
上述实施例也适用于多个亮屏状态的第三用户设备同时查询休眠的第一用户设备,休眠的第一用户设备广播同一个消息包M6给各个用户设备,该消息包M6中聚合各个用户设备标识,每一个用户设备标识为广播回复的每一个目标设备的标识。
具体地,第一用户设备扫描到n-1个用户设备发送的不同的消息包M1,通信分析单元422分别解析每个消息包M1,获得每个消息包M1中携带的各自设备的标识、广播权重、定时时长和广播时间,将解析每个消息包M1得到的每个用户设备的标识、广播权重、定时时长和广播时间进行处理后发送至传感器共享驱动单元403内存储,通信过滤单元421对比传感器共享驱动单元403内存储的n个广播权重,确定最大的广播权重,根据最大的广播权重编辑对应的消息包M6,消息包M6中最大广播权重W的值为n个广播权重之中最大的值,定时时长为最大广播权重对应设备的定时时长,广播时间为最大广播权重对应设备的广播时间,目标设备包括n-1个目标设备的标识。
将消息包M6通过短距离通信模块进行广播,从而让广播权重小于最大的广播权重的第三用户设备获知具有最大的广播权重的用户设备的定时时长和广播时间,第三用户设备将广播的定时时长和广播时间与最大的广播权重对应的定时时长和广播时间对齐一致,从而达到多个处于亮屏状态的第三用户设备同步广播和扫描的目的。多个同步广播和扫描的第三用户设备组成的网络为一个集群。
如图9所示,在一个集群内,如果休眠的第一用户设备发现其中一个用户设备掉线,最大广播权重依旧保留在传感器共享驱动单元403,不会因为设备的下线而修改最大广播权重,集群内其他各个设备的同步状态不会改变。
通过上述实施例,亮屏的第二用户设备和第三用户设备通过休眠的第一用户设备互相发现,并且能够与休眠的第一用户设备相互保持短距离通信。第一用户设备在唤醒之后,能够第一时间获取到在线用户设备列表,提高短距离通信效率;第一用户设备广播的一个消息包M6中可以同时回应多个亮屏设备的短距离通信请求,达到降低功耗、提高短距离通信效率的目的;第一用户设备广播消息包M6以进行最大的广播权重的传播和归一化,同步多个亮屏设备广播的频率和时机,以快速发现在线的用户设备,减少功率消耗;第二用户设备或第三用户设备掉线之后,最大广播权重依旧保留,集群其他用户设备的通信状态能够继续保持同步和有序。
一个集群内各个用户设备进行同步广播和扫描的一个可能的实施方式为在上述实施例提供的方案的基础上,通过消息包M6的定时时长和广播时间约定通信时长和通信时间,对齐各个亮屏的在线用户设备的共享最大广播权重。其中,通信/同步窗口为起始时刻是广播时间、持续时间是定时时长的时间区间。一个集群内所有设备的通信/同步窗口以最大广播权重所在的设备的通信/同步窗口通信窗口为基准不同程度地进行对齐,各个在线的用户设备在对齐的通信窗口内同步进行广播和扫描。同一个集群(Cluster)内的各个用户设备的通信/同步窗口通信窗口的对齐过程可以采用上述实施例S901-S907的全部或部分流程。
图10为本申请实施例提供的一种用户设备发现方法中通信/同步窗口对齐效果图。如图10所示,手机phone和电视TV已经互相发现;手机phone的通信/同步窗口和电视TV的通信/同步窗口之间已经对齐,在对齐的通信/同步窗口内手机phone和电视TV进行短距离通信交互信息。
图11为本申请实施例提供的一种设备的发现方法中不同步调的两个设备在发现窗口内快速发现的示意图。
如图11所示,第四用户设备启动的初始阶段,与集群内的第一用户设备步调不一致,处于休眠状态的第一用户设备广播消息包M1的时间在第四用户设备的通信/同步窗口外,第一用户设备在其通信/同步窗口外收到第四用户设备广播的消息包M1′,第一用户设备和第四用户设备均没有在其通信窗口获得回复。
在发现窗口(Idle_Interval)时间范围内,即第一用户设备的通信/同步窗口和第四用户设备的通信/同步窗口之外时间区间,第一用户设备指示短距离通信模块根据所述短距离通信广播参数随机广播消息包M7,探测查询集群(Cluster)外与本地通信/同步窗口时间范围不一致的至少一个第四用户设备。第一用户设备和第四用户设备分别执行以下步骤实现首次相互发现:
S1101,第一用户设备在其发现窗口广播消息包M7,消息包M7可以记为第七消息,第七消息至少包括第一用户设备标识,广播权重W、定时时长T和广播时间NT。其中广播权重W为第一用户设备所在的集群内各个用户设备的广播权重中的最大值,定时时长和广播时间是与最大的广播权重对应的。
S1102,第四用户设备广播消息包M7′,消息包M7′至少包括第四用户设备的设备ID 4,广播权重W 4、定时时长T 4和广播时间NT 4
在发现窗口经过多次碰撞,第一用户设备和第四用户设备的短距离通信交互成功。执行S1103-S1104。
S1103,第一用户设备在发现窗口,扫描收到第四用户设备广播的消息包M7′,解析消息包M7′,获得第四用户设备标识,广播权重W 4、定时时长T 4和广播时间NT 4,其中第四用户设备标识为第四用户设备的标识。通过对比广播权重W 4和广播权重W的值,以较大的值作为最大的广播权重,将第一用户设备的通信/同步窗口以具有最大广播权重的设备的通信/同步窗口为基准对齐。
S1104,第四用户设备收到第一用户设备广播的消息包M7;对消息包M7解析,获得第一用户设备的设备标识ID 1,广播权重W 2、定时时长T 2和广播时间NT 2。通过对比广播权重W 4和W 2的值,以较大的值作为最大权重,将第四用户设备的通信/同步窗口以具有最大广播权重的设备的通信/同步窗口为基准对齐。
其中将第一用户设备的通信/同步窗口以具有最大广播权重的设备的通信/同步窗口为基准对齐,或将第四用户设备的通信/同步窗口以具有最大广播权重的设备的通信/同步窗口为基准对齐,具体步骤可以参考S904-S907的方法,此处不再赘述。
S1105,在对齐的通信/同步窗口内,第一用户设备广播消息包M1,之后收到第四用户设备回复的消息包M2,第四用户设备加入第一用户设备所在的集群,实现了在可及范围内处于亮屏状态的用户设备快速加入集群实现短距离通信的同步。
如图11所示,在发现窗口内,需要有多个随机窗口,在随机窗口将包括关键信息的消息包M7广播出去,从而增加首次发现的速度。
经过几次的碰撞调整之后,第一用户设备和第四用户设备的通信/同步窗口实现对齐。不在同一集群内的用户设备实现了相互发现,各个用户设备的通信/同步窗口实现同步后,各个用户设备可以在同一时刻工作,以达到用户设备保持在线状态的最大效率。
在上述任一实施例中,消息包M1和消息包M3可以为心跳探测包,消息包M2、M5和M6可以为心跳回复包,消息包M7可以为快速发现包,消息包M4可以为结束包。
具体地,心跳探测包为处于亮屏状态和处于休眠状态的设备广播的探测消息,心跳探测包的广播参数包括消息类型、序列号、本地设备、广播权重、本地权重、定时时长、广播时间,具体消息格式如图12(a)所示。
心跳回复包为扫描到心跳探测包的用户设备广播的回复消息,心跳回复包的广播参数包括消息类型、序列号、最大广播权重、本地设备、定时时长和广播时间,目标设备1~目标设备n。具体消息格式如图12(b)所示。
在一些实施例中,经过心跳探测包和心跳回复包的信息交互,对应的用户设备可以同步短距离通信的频率和时机。
快速发现包为用户设备在通信/同步窗口外的随机时间广播的探测信息,可以快速发现需要加入集群的步调不一致的其它用户设备;快速发现包的广播参数包括消息类型、序列号、本地设备、广播权重、定时时长time和广播时间。具体消息格式如图12(c)所示。
结束包为扫描到心跳回复包的用户设备广播的回复消息,指示对端的用户设备心跳回复包已经收到,可以停止对本设备广播的回复。结束包的消息参数至少包括消息类型、序列号、本地设备、目标设备1~目标设备n之一或组合。具体消息格式如图12(d)所示。
其中上述消息包中各主要广播参数定义如下:
消息类型为消息包的类型标识:例如,消息类型的值为1,该消息包为心跳探测包;消息类型的值为2,该消息包为心跳回复包;消息类型的值为3,该消息包为快速发现包;可以根据消息类型的值确定该消息包的类型。
序列号为本次广播的消息包排序标识。
本地设备为本地设备的标识。
广播权重默认为本地设备的设备权重的值,如果探测到比本地设备的设备权重大的值,将广播权重的值为该较大的设备权重的值。
设备权重为本地设备预先设定的权重的值。
最大广播权重为本地设备扫描到的周围在线设备消息包中广播权重最大的值。
定时时长为本地设备的通信/同步窗口设定的时间间隔。
广播时间为设定的下一次广播到来的时间。
目标设备为广播心跳回复包的目标设备的标识,多个目标设备标识聚合为目标设备列 表,目标设备标识列表中包含所述广播心跳回复包的目标设备标识,扫描到心跳回复包的设备都会检查自己标识是否在目标列表中,如果在目标列表中,说明是心跳回复包回复自己的。
第二方面,本申请还相应的提供了一种设备的发现装置,返回图4所示,包括通信过滤单元、通信分析单元和内置集成电路驱动单元;通信过滤单元用于于处理器休眠前,接收来自处理器的短距离通信参数,短距离通信参数包括扫描参数;内置集成电路驱动单元用于于处理器休眠期间,指示短距离通信装置根据扫描参数进行扫描;通信分析单元用于获取通过扫描接收到的第二用户设备广播的第一消息,第一消息至少包括第二用户设备标识;保存第二用户设备标识,以便于处理器被唤醒后APP根据第二用户设备标识发现第二用户设备。
该设备的发现装置所包含的各个模块的功能或用途的实现方式,以及有益效果,可参见一种设备的发现方法的各个实施例,故在介绍该设备的智能传感装置时不再赘述。
第三方面,本申请还相应的提供了一种智能传感装置,如图13(a)所示,智能传感装置1300包括数据处理器1301和第二存储器1302;该第二存储器1302可以为传感器共享驱动单元403,数据处理器1301用于执行所述第二存储器存储的计算机执行指令,数据处理器1301运行计算机执行指令执行上述任一实施例所述的设备的发现方法,于休眠状态下保持所述第一用户设备短距离通信在线。
本申请还相应的提供了一种处理设备,如图13(b)所示,处理设备1310包括处理器1311和第一存储器1312,处理器1311执行存储于第一存储器1312内的计算机执行指令,处理器1311运行计算机执行指令执行上述实施例任一项所述的一种设备的发现方法,于休眠状态前下发短距离通信参数,于休眠状态期间第一用户设备保持短距离通信在线。
第四方面,本申请提供了一种用户设备,能够于休眠状态下保持短距离通信,如图14所示,该用户设备包括处理设备1310、智能传感装置1300和短距离通信装置1401;处理设备1310包括处理器1311和第一存储器1312,处理器1311执行存储于第一存储器1312内的计算机执行指令,处理器1311运行计算机执行指令执行上述实施例任一项所述的一种设备的发现方法,于休眠状态前下发短距离通信参数,于休眠状态期间短距离通信装置保持短距离通信在线。智能传感装置1300包括数据处理器1301和第二存储器1302;该第二存储器1302可以为传感器共享驱动单元403,数据处理器1301用于执行所述第二存储器存储的计算机执行指令,数据处理器1301运行计算机执行指令执行上述任一实施例所述的设备的发现方法,于休眠状态下保持短距离通信装置短距离通信在线。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点, 所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(RandomAccessMemory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,均属于本申请保护范畴。

Claims (17)

  1. 一种设备的发现方法,应用于第一用户设备内部的智能传感装置,所述第一用户设备内部还设置有处理器和短距离通信装置,其特征在于,所述方法包括:
    于所述处理器休眠前,接收来自所述处理器的短距离通信参数,所述短距离通信参数包括扫描参数;
    于所述处理器休眠期间,指示短距离通信装置根据所述扫描参数进行扫描;获取通过扫描接收到的第一消息,所述第一消息由第二用户设备广播并且至少包括第二用户设备标识,其中所述第二用户设备标识是第二用户设备的标识;保存所述第二用户设备标识,以便于所述处理器被唤醒后根据所述第二用户设备标识发现第二用户设备。
  2. 根据权利要求1所述的方法,其特征在于,所述短距离通信参数包括广播参数;所述方法还包括:
    指示短距离通信装置根据所述广播参数广播第二消息;所述第二消息是对所述第一消息的回复;所述第二消息至少包括所述第一用户设备标识和所述第二用户设备标识;所述第一用户设备标识是所述第一用户设备的标识。
  3. 根据权利要求1所述的方法,其特征在于,所述短距离通信参数包括广播参数;所述方法还包括:
    在获取通过扫描接收到的所述第一消息之前,指示短距离通信装置根据所述广播参数广播第三消息;所述第三消息至少包括所述第一用户设备标识,其中,所述第一用户设备标识是所述第一用户设备的标识;
    所述第一消息是对所述第三消息的回复。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    在获取通过扫描接收到的所述第一消息之后,指示短距离通信装置根据所述广播参数广播第四消息;所述第四消息用于指示第二用户设备停止广播第一消息;所述第四消息至少包括所述第一用户设备标识和所述第二用户设备标识。
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    在指示短距离通信装置根据所述广播参数广播第二消息之前,获取通过扫描接收到的第五消息,所述第五消息由所述至少一个第三用户设备广播;
    所述第五消息包括至少一个第三用户设备标识,其中所述至少一个第三用户设备标识是所述至少一个第三用户设备的标识;
    所述第二消息是对所述第一消息和第五消息的回复;
    所述第二消息还包括所述至少一个第三用户设备标识。
  6. 根据权利要求1所述的方法,其特征在于,所述短距离通信参数包括广播参数;所述广播参数还包括第二广播权重、第二广播时间和第二定时时长;其中,第二广播时间和第二定时时长是和第二广播权重对应的;
    所述第一消息还包括第一广播权重,第一广播时间和第一定时时长;其中,第一广播时间和第一定时时长与第一广播权重对应;
    所述方法还包括:
    获取通过扫描接收到的至少一个第三用户设备广播的第五消息;
    所述第五消息包括第三用户设备标识、第三广播权重,第三广播时间和第三定时时 长;其中,所述第三用户设备标识是所述第三用户设备的标识,第三广播时间和第三定时时长与所述第三广播权重对应;
    比较所述第一广播权重、第二广播权重和第三广播权重的值,获得最大的广播权重;
    根据所述广播参数指示短距离通信装置在所述最大广播权重所对应的广播时间在所述最大广播权重所对应的定时时长的时间区间内广播第六消息;
    所述第六消息中包括最大的广播权重、广播时间、定时时长和目标设备的标识;其中广播时间和定时时长为与最大的广播权重对应的广播时间和定时时长的值,目标设备的标识包括所述第二用户设备标识和/或至少一个第三用户设备标识;
    所述第六消息是对第一消息和/或第五消息的回复,用于将最大的广播权重的传播出去,使至少一个第三用户设备的短距离通信的频率和时机能够同步。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    指示短距离通信装置根据所述广播参数在发现窗口广播第七消息,所述第七消息用于发现集群外的至少一个第四用户设备;其中,所述发现窗口为通信/同步窗口之外的时间区间;所述通信/同步窗口为起始时刻是第一广播时间、持续时间是第一定时时长的时间区间;所述第七消息至少包括所述第一用户设备标识、最大的广播权重、定时时长和广播时间;其中广播时间和定时时长为与最大的广播权重对应的广播时间和定时时长的值;所述集群为若干个同步广播和扫描的用户设备组成的网络。
  8. 根据权利要求1所述的方法,其特征在于,所述第一消息包括所述第二用户设备标识,所述方法还包括:通过解析所述第一消息,获取并且保存所述第二用户设备标识。
  9. 根据权利要求3所述的方法,其特征在于,所述方法还包括:通过解析所述第一消息,至少获得所述第二用户设备标识和第一用户设备标识,其中所述第一用户设备标识为所述第一消息回复的目标设备的标识。
  10. 根据权利要求1-7中任一项所述的方法,其特征在于,所述短距离通信包括蓝牙通信和蓝牙低功耗通信中的至少一个;所述方法还包括于所述处理器休眠前,接收来自所述处理器的蓝牙驱动程序,运行所述蓝牙驱动程序。
  11. 一种设备的发现方法,应用于第一用户设备内部的处理器,其特征在于,所述方法包括:
    于休眠前向智能传感装置下发短距离通信参数,所述短距离通信参数包括扫描参数,以便智能传感装置于休眠期间指示短距离通信模块根据所述扫描参数进行扫描;
    于唤醒后获取智能传感装置保存的至少一个第二用户设备标识,发现所述至少一个第二用户设备;其中,所述至少一个第二用户设备标识是所述至少一个第二用户设备的标识,所述至少一个第二用户设备标识是所述智能传感装置由所述至少一个第二用户设备广播的消息中获取的。
  12. 根据权利要求11所述的方法,其特征在于,所述短距离通信参数还包括广播参数,所述方法还包括:于休眠前将蓝牙访问协议和所述广播参数下行到所述智能传感装置。
  13. 一种设备的发现装置,位于第一用户设备内,所述第一用户设备内部还设置有处理器和短距离通信装置,其特征在于,所述设备的发现装置包括通信过滤单元、内置集成电路驱动单元和通信分析单元;
    所述通信过滤单元用于于所述处理器休眠前,接收来自所述处理器的短距离通信参数,所述短距离通信参数包括扫描参数;
    所述内置集成电路驱动单元于所述处理器休眠期间,指示短距离通信装置根据所述扫描参数进行扫描;
    所述通信分析单元用于获取通过扫描接收到的第一消息,所述第一消息由第二用户设备广播并且至少包括第二用户设备标识,其中所述第二用户设备标识是第二用户设备的标识;保存所述第二用户设备标识,以便于所述处理器被唤醒后根据所述第二用户设备标识发现第二用户设备。
  14. 一种智能传感装置,其特征在于,所述智能传感装置包括第二存储器和数据处理器;所述数据处理器用于执行所述第二存储器存储的计算机执行指令,所述数据处理器运行所述计算机执行指令执行权利要求1-12任一项所述的设备的发现方法,休眠状态下保持所述第一用户设备短距离通信在线。
  15. 一种设备的发现装置,位于第一用户设备内,所述第一用户设备内部还设置有智能传感装置和短距离通信装置,其特征在于,所述装置包括休眠准备单元和唤醒获取消息单元;
    所述休眠准备单元用于休眠前向智能传感装置下发短距离通信参数,所述短距离通信参数包括扫描参数,以便智能传感装置于休眠期间指示短距离通信模块根据所述扫描参数进行扫描;
    所述唤醒获取消息单元用于唤醒后获取智能传感装置保存的至少一个第二用户设备标识,发现所述至少一个第二用户设备;其中,所述第二用户设备标识是第二用户设备的标识,所述第二用户设备标识是所述智能传感装置由所述第二用户设备广播的消息中获取的。
  16. 一种处理设备,设置于第一用户设备内部,其特征在于,所述处理设备包括处理器和第一存储器,所述处理器用于执行存储于第一存储器的应用程序,所述处理器运行所述应用程序执行权利要求11-12任一项所述的一种设备的发现方法,指示智能传感装置于休眠状态前接收短距离通信参数,以保持于休眠状态期间短距离通信在线。
  17. 一种用户设备,能够于休眠状态下保持短距离通信,所述用户设备至少包括处理器、智能传感装置和短距离通信装置;其特征在于:
    所述处理器用于执行存储于第一存储器的应用程序,所述处理器运行所述应用程序执行权利要求11-12任一项所述的一种设备的发现方法,指示智能传感装置于休眠状态前接收短距离通信参数,以保持于休眠状态期间短距离通信在线;
    所述智能传感装置至少包括第二存储器和数据处理器;所述数据处理器用于执行所述第二存储器存储的计算机执行指令,所述数据处理器运行所述计算机执行指令执行权利要求1-12任一项所述的设备的发现方法,于休眠状态下保持所述短距离通信装置在线。
PCT/CN2021/113291 2020-09-21 2021-08-18 一种设备的发现方法和装置 WO2022057559A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010996238.X 2020-09-21
CN202010996238.XA CN114257996A (zh) 2020-09-21 2020-09-21 一种设备的发现方法和装置

Publications (1)

Publication Number Publication Date
WO2022057559A1 true WO2022057559A1 (zh) 2022-03-24

Family

ID=80776411

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113291 WO2022057559A1 (zh) 2020-09-21 2021-08-18 一种设备的发现方法和装置

Country Status (2)

Country Link
CN (1) CN114257996A (zh)
WO (1) WO2022057559A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115038147A (zh) * 2022-07-08 2022-09-09 海能达通信股份有限公司 信道扫描方法及相关装置
CN115529579A (zh) * 2022-04-12 2022-12-27 荣耀终端有限公司 设备发现方法及装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376887A (zh) * 2022-07-01 2024-01-09 华为技术有限公司 感知设备的方法、装置、芯片及设备
CN117528477A (zh) * 2022-07-27 2024-02-06 华为技术有限公司 一种设备间连接的管理方法、设备及系统
CN115514587B (zh) * 2022-09-20 2024-03-08 杭州萤石软件有限公司 一种通信设备、方法、电子设备及存储介质
CN117135385A (zh) * 2023-03-23 2023-11-28 荣耀终端有限公司 多设备协同录屏及分享的方法、电子设备及通信系统
CN117693001B (zh) * 2023-11-27 2024-05-17 青岛登云智谷科技有限公司 基于ble协议的低功耗配网与运行监控系统、方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070367A1 (en) * 2007-11-26 2009-06-04 Microsoft Corporation Low power operation of networked devices
CN103619056A (zh) * 2013-12-02 2014-03-05 华为终端有限公司 一种上报传感器数据的方法和终端
CN104284326A (zh) * 2014-10-31 2015-01-14 北京元心科技有限公司 移动终端的省电方法、系统、应用处理器和无线模块
CN111263339A (zh) * 2020-01-14 2020-06-09 华为技术有限公司 无线通信方法和具有无线通信功能的设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070367A1 (en) * 2007-11-26 2009-06-04 Microsoft Corporation Low power operation of networked devices
CN103619056A (zh) * 2013-12-02 2014-03-05 华为终端有限公司 一种上报传感器数据的方法和终端
CN104284326A (zh) * 2014-10-31 2015-01-14 北京元心科技有限公司 移动终端的省电方法、系统、应用处理器和无线模块
CN111263339A (zh) * 2020-01-14 2020-06-09 华为技术有限公司 无线通信方法和具有无线通信功能的设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529579A (zh) * 2022-04-12 2022-12-27 荣耀终端有限公司 设备发现方法及装置
CN115038147A (zh) * 2022-07-08 2022-09-09 海能达通信股份有限公司 信道扫描方法及相关装置

Also Published As

Publication number Publication date
CN114257996A (zh) 2022-03-29

Similar Documents

Publication Publication Date Title
WO2022057559A1 (zh) 一种设备的发现方法和装置
US8437275B2 (en) Remote wireless service invocation with efficient power use on target wireless device
JP7016340B2 (ja) 無線システム、無線機器、通信プログラム、および通信方法
US9706600B2 (en) Connectionless Wi-Fi mesh communication
US7987294B2 (en) Unification of multimedia devices
CN107809756B (zh) 蓝牙控制器、模块、终端、系统及蓝牙连接方法
CN112399211B (zh) 一种操作方法及融合网关
US10945207B2 (en) Beacon signal processing system and filtering method of reducing wake-up frequency
JP7093159B2 (ja) 通信装置、通信装置の制御方法、およびプログラム
CN112616176A (zh) 设备的唤醒方法及装置、控制方法及装置
CN111587591B (zh) 无线网络中的服务发现
CN111555969A (zh) 一种基于Sub-G星型网络和mesh网络的网关
WO2022083418A1 (zh) 一种节能信号传输方法及装置
US20200236180A1 (en) Apparatus and method for communication, and storage medium
WO2018051947A1 (ja) 通信装置、通信方法、及びプログラム
CN105792389A (zh) 一种双模式单信道共存下的扫描方法及系统
CN114786244B (zh) 软接入设备控制方法、装置、设备、存储介质及程序产品
CN111918381B (zh) 一种无线同步调制方法和装置
WO2023065813A1 (zh) 一种建立slb连接的方法、电子设备和通信系统
US20240073782A1 (en) Ble link cluster discovery, establishing, and termination
US20240073783A1 (en) Ble link cluster control and management
CN114205838B (zh) 网络接入方法、装置、电子设备及计算机可读存储介质
CN118139214B (zh) 一种用于设备的连接方法
JP6331354B2 (ja) 無線通信装置及び無線通信システム及び電力制御方法
WO2023216985A1 (zh) 信号监听方法、配置方法、装置、终端及网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21868387

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21868387

Country of ref document: EP

Kind code of ref document: A1