WO2024114307A1 - Device communication method and apparatus, device, and storage medium - Google Patents

Device communication method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2024114307A1
WO2024114307A1 PCT/CN2023/129944 CN2023129944W WO2024114307A1 WO 2024114307 A1 WO2024114307 A1 WO 2024114307A1 CN 2023129944 W CN2023129944 W CN 2023129944W WO 2024114307 A1 WO2024114307 A1 WO 2024114307A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
uwb
communication
data packet
information
Prior art date
Application number
PCT/CN2023/129944
Other languages
French (fr)
Chinese (zh)
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 WO2024114307A1 publication Critical patent/WO2024114307A1/en

Links

Classifications

    • 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 invention relates to the field of communication technology, and in particular to a device communication method, apparatus, device and storage medium.
  • the main purpose of the present invention is to provide a device communication method, apparatus, device and storage medium, aiming to solve the technical problem in the prior art that smart terminals cannot communicate with each other without a network.
  • the present invention provides a device communication method, the method comprising the following steps:
  • a communication connection is established with the target UWB device according to the target device information.
  • establishing a communication connection with the target UWB device according to the target device information includes:
  • the communication connection is established with the target UWB device.
  • generating a verification data packet according to the target device information and sending the verification data packet to the target UWB device includes:
  • the verification data packet is broadcasted to the target UWB device via UWB technology.
  • broadcasting the verification data packet to the target UWB device by using UWB technology includes:
  • the verification data packet When the verification data packet is generated, the verification data packet is continuously broadcasted for a first preset duration through UWB technology to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
  • generating and displaying a device radar map according to the device information obtained by scanning includes:
  • a device radar map is generated and displayed according to the device location, the device distance and the device identity information.
  • the method further includes:
  • the full-duplex mode is switched to, and data communication in the duplex mode is performed with the target UWB device based on the communication connection.
  • the method further includes switching to full-duplex mode and performing data communication in duplex mode based on the communication connection:
  • At the end of data communication it enters standby mode and sends an end command to the target UWB device, so that the target UWB device enters the standby mode when receiving the end instruction.
  • the present invention also provides a device communication apparatus, the apparatus comprising:
  • a scanning module used to scan UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information
  • a generating module used to generate and display a device radar map according to the device information obtained by scanning
  • a determination module used to determine a target UWB device selected by a user based on the device radar map, and read target device information of the target UWB device;
  • a communication connection establishing module is used to establish a communication connection with the target UWB device according to the target device information.
  • the present invention also proposes a device, which includes: a memory, a processor, and a device communication program stored in the memory and executable on the processor, wherein the device communication program is configured to implement the steps of the device communication method described above.
  • the present invention further proposes a storage medium, on which a device communication program is stored, and when the device communication program is executed by a processor, the steps of the device communication method described above are implemented.
  • the present invention scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by scanning; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information.
  • the present invention generates and displays a device radar map using the data transmission and positioning functions of UWB technology, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
  • FIG. 1 is a schematic diagram of the structure of a device communication device in a hardware operating environment involved in an embodiment of the present invention
  • FIG2 is a schematic diagram of a flow chart of a first embodiment of a device communication method according to the present invention.
  • FIG3 is a schematic diagram of a device radar map in an embodiment of a device communication method of the present invention.
  • FIG4 is a schematic diagram of a flow chart of a second embodiment of a device communication method according to the present invention.
  • FIG. 5 is a schematic diagram of a flow chart of a third embodiment of a device communication method according to the present invention.
  • FIG6 is a structural block diagram of a first embodiment of a device communication apparatus according to the present invention.
  • FIG. 1 is a schematic diagram of the structure of a device communication device in a hardware operating environment involved in an embodiment of the present invention.
  • the device communication device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface).
  • the memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • FIG. 1 does not constitute a limitation on the device communication device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
  • the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a device communication program.
  • the network interface 1004 is mainly used to communicate with the network server.
  • the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the device communication device of the present invention can be set in the device communication device, and the device communication device calls the device communication program stored in the memory 1005 through the processor 1001, and executes the device communication method provided in the embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a first embodiment of the device communication method of the present invention.
  • the device communication method includes the following steps:
  • Step S10 Scanning UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information.
  • the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a smart watch, a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc.
  • a smart watch as an example to illustrate this embodiment and the following embodiments.
  • Ultra Wide Band (UWB) technology is a wireless carrier communication technology. It does not use a sinusoidal carrier, but instead uses nanosecond non-sinusoidal narrow pulses to transmit data. Therefore, it occupies a wide spectrum range. UWB has data transmission and positioning functions.
  • the smart watch periodically scans UWB devices within a preset range; a UWB module is provided in the smart watch, and the smart watch can realize data transmission and positioning functions through the UWB module.
  • the preset range may be the data transmission range of the UWB module.
  • the data transmission range of the UWB module is a meters, and the corresponding preset range may be a range with a meter as a radius;
  • the UWB device may be a device provided with a UWB module, and the UWB device may be a smart terminal such as a smart watch and a smart phone;
  • the device information may be information that can characterize the characteristics of the device, and the device information includes the device location information and the device identity information.
  • Step S20 Generate and display a device radar map based on the device information obtained by scanning.
  • the device radar map can be a map marked with device location information and device identity information.
  • the smart watch scans the device information within a preset range according to a preset period, reads the device location information and device identity information from the device information, maps the device identity information to a blank radar map according to the device location information, and obtains the device radar map.
  • the smart watch updates the device radar map according to the scanned device information at a preset interval; for example: a blank radar map is pre-set, and the smart watch The watch maps the device location information and device identity information to a blank radar map based on the device information obtained through scanning to obtain a device radar map.
  • the smart watch periodically scans UWB devices within a preset range, and can update the device radar map according to the device information currently obtained by the scan, and update the device radar map in real time according to the device information obtained by the scan; in order to reduce energy consumption, the device radar map can also be updated according to a preset scanning period. For example, if the preset scanning period is a, the device radar map is updated every a scanning period; the update method can be set according to the specific scenario, for example, the device radar map is refreshed every 500ms to ensure the accuracy of the scanned UWB devices; this embodiment is not limited here.
  • Step S30 determining a target UWB device selected by the user based on the device radar map, and reading target device information of the target UWB device.
  • the target UWB device can be a UWB device that the user selects on the device radar map and needs to communicate data.
  • the device radar map will visually display the device identity and device location of the UWB device, and the user can select the target UWB device based on the device identity and device location; after the user selects the target UWB device, the smart watch reads the target device information corresponding to the target UWB device.
  • Step S40 establishing a communication connection with the target UWB device according to the target device information.
  • the smart watch performs communication verification with the target UWB device according to the target device information, and establishes a communication connection with the target UWB device when the communication verification passes.
  • the scanning duration of the smart watch within the scanning cycle is set to be greater than the interval duration of the UWB device transmitting device information.
  • the interval duration of the UWB device transmitting device information is 101ms
  • the scanning duration within the scanning cycle of the smart watch can be set to 120ms.
  • the smart watch scans the UWB device once every 500ms, and the scanning duration each time is 120ms, so that the scanning duration of the smart watch covers at least one transmission cycle of the UWB device.
  • This embodiment uses a low-power mode to scan UWB devices and establish a communication connection based on the target device information of the target UWB device.
  • the information channel is established only when needed, which reduces the device power consumption while realizing data communication in a small range without a network. Power consumption.
  • a UWB module is provided in a smart watch, and the data communication range of the UWB module is 15 meters.
  • the smart watch scans UWB devices within a radius of 15 meters to receive device information transmitted by the UWB devices.
  • the smart watch determines the device identity information and device location information of the UWB device based on the device information obtained by the scan, maps the device identity information and the device location information to a blank radar map to generate a device radar map, and displays the device radar map.
  • the displayed device radar map is updated at preset scanning period intervals.
  • the target device information of the target UWB device is read, and communication verification is performed with the target UWB device based on the target device information.
  • the communication verification passes, a communication connection is established with the target UWB device.
  • the step S40 includes: determining the device location, device distance and device identity information of each UWB device according to the device information obtained by scanning; generating and displaying the device radar map according to the device location, the device distance and the device identity information.
  • UWB itself has a positioning function.
  • the UWB device When transmitting device information, the UWB device will also transmit its own device location.
  • the device distance can be determined based on the device location and its own device location; the device identity information can be information that can identify the device identity, such as device identity information including device ID, device number, device identity identification number, etc.
  • the UWB device generates device information based on the device identity information and a preset data format, and periodically transmits the device information.
  • the smart watch determines the relative position and distance of the device based on its own device position and the scanned device position, and maps the device identity information to a blank radar map based on the relative position and distance of the device to obtain a device radar map.
  • the present embodiment adopts UWB technology and utilizes the positioning function of UWB to display the device ID of the UWB device on the smart watch in the form of a device radar map. Since UWB positioning has centimeter-level positioning accuracy, the user can determine the correspondence between the device ID on the device radar map and the person within a preset range based on the device ID, device location and device distance displayed on the device radar map. The user can select the target UWB device on the device radar map through the correspondence. The smart watch establishes a communication connection with the target UWB device based on the target device information of the target UWB device to exchange data and files.
  • Figure 3 is a schematic diagram of the device radar map.
  • the preset data format can refer to Table 1, in which "HEAD” is a field representing the data header, and the stored data "0x5A” is used to represent the data header, and the storage space of "0x5A” is 1 byte;
  • “LENGTH” is a field representing the length of the ID segment, and the stored data "ID segment length N” is used to represent that the byte length occupied by the device ID is N, and the storage space of "ID segment length N” is 1 byte;
  • ID is a field representing the device ID, and the stored data "device ID” is used to represent the device identification number, and the storage space of "device identification number” is N bytes, for example, the device identification number can be Jack, Jim, etc.;
  • CRC Cyclic Redundancy "CRC” is a field representing the cyclic redundancy check, and
  • the device IDs read from the device information are: Jack, Jim, Tom and Lucy, respectively.
  • the azimuth and device distance of each UWB device relative to the device are determined according to the device position of each UWB device, and the device ID is mapped to a blank radar map according to the azimuth and device distance to obtain a device radar map.
  • This embodiment scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by scanning; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information.
  • the present invention generates and displays a device radar map using the data transmission and positioning functions of UWB technology, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
  • FIG. 4 is a flow chart of a second embodiment of a device communication method according to the present invention.
  • step S40 includes:
  • Step S401 Generate a verification data packet based on the target device information and send the verification data The packet is sent to the target UWB device.
  • the verification data packet may be a data packet for identity authentication during the process of establishing a communication connection, and the verification data packet is broadcast within a preset range so that the target UWB device can scan the verification data packet.
  • Step S402 upon receiving a response data packet fed back by the target UWB device based on the verification data packet, establishing a communication connection with the target UWB device is completed.
  • the response data packet can be a data packet generated by the target UWB device based on the target device ID and a preset data format.
  • the target UWB device can parse its own device ID from the verification data packet.
  • the target UWB device sends a response data packet containing its own device ID.
  • the smart watch completes the establishment of a communication connection with the target UWB device.
  • the smart watch generates a verification data packet based on the target device information and broadcasts the verification data packet within a preset range so that the target UWB device can scan and obtain the verification data packet.
  • the smart watch receives a response data packet fed back by the target UWB device based on the verification data packet.
  • the smart watch receives the response data packet fed back by the target UWB device, it completes the establishment of a communication connection with the target UWB device.
  • a verification data packet is generated according to the target device information and the verification data packet is sent to the target UWB device, including: reading the target device identity information from the target device information, and generating a verification data packet according to the target device identity information and a preset data format; and broadcasting the verification data packet to the target UWB device through UWB technology.
  • the smart watch reads the device ID from the device information, generates a verification data packet according to the device ID and a preset data format, and when the verification data packet is generated, broadcasts the verification data packet within a preset range so that the target UWB device can scan the verification data packet.
  • the verification data packet is broadcast to the target UWB device through UWB technology, including: when the verification data packet is generated, the verification data packet is continuously broadcast for a first preset duration through UWB technology to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
  • the first preset time can be set to 10ms.
  • the user selects the target UWB device based on the device radar map.
  • the smart watch obtains the target device information of the target UWB device, reads the target device ID from the target device information, generates a verification data packet according to the preset data format and the target device ID, and broadcasts the verification data packet within a preset range for 10ms.
  • the target UWB device After receiving the verification data packet, transmits a response data packet containing its own device ID.
  • the smart watch receives the response data packet, it completes the establishment of the communication connection.
  • This embodiment generates a verification data packet according to the target device information, and sends the verification data packet to the target UWB device; when receiving a response data packet fed back by the target UWB device based on the verification data packet, the communication connection is established with the target UWB device.
  • This embodiment broadcasts the verification data generated according to the target device information of the target UWB device to the target UWB device, and the target UWB device transmits a response data packet based on the verification data packet.
  • the communication connection is established, realizing short-distance communication without a network.
  • FIG. 5 is a flowchart of a third embodiment of a device communication method according to the present invention.
  • step S40 the method further includes:
  • Step S50 When the communication connection is established, switching to full-duplex mode, and performing data communication in duplex mode with the target UWB device based on the communication connection.
  • the data transmission mode of the smart watch is half-duplex mode before establishing a communication connection with the target UWB device, and switches to full-duplex mode when the communication connection with the target UWB device is established.
  • the method further includes: when data communication ends, entering standby mode, and sending an end instruction to the target UWB device, so that the target UWB device enters standby mode upon receiving the end instruction.
  • the smart watch when data communication ends, the smart watch enters standby mode and sends an end instruction to the target UWB device.
  • the target UWB device receives the end instruction, it displays data communication end information and enters standby mode.
  • This embodiment switches to full-duplex mode when the communication connection is established, and performs duplex mode data communication with the target UWB device based on the communication connection.
  • This embodiment switches to full-duplex mode when the communication connection with the target UWB device is established, while ensuring the quality of data communication At the same time, it reduces the energy consumption of the equipment.
  • an embodiment of the present invention further provides a storage medium, on which a device communication program is stored.
  • the device communication program is executed by a processor, the steps of the device communication method described above are implemented.
  • FIG. 6 is a structural block diagram of a first embodiment of a device communication apparatus according to the present invention.
  • the device communication apparatus includes: a scanning module 10 , a generating module 20 , a determining module 30 and a communication connection establishing module 40 .
  • the scanning module is used to scan UWB devices within a preset range, and the UWB devices periodically broadcast their own device information;
  • the generating module 20 is used to generate and display a device radar map according to the device information obtained by scanning;
  • the determination module 30 is used to determine the target UWB device selected by the user based on the device radar map, and read the target device information of the target UWB device;
  • the communication connection establishing module 40 is used to establish a communication connection with the target UWB device according to the target device information.
  • This embodiment scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by the scan; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information.
  • This embodiment uses the data transmission and positioning functions of UWB technology to generate and display a device radar map, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
  • the communication connection establishing module 40 is further used to generate a verification data packet according to the target device information, and send the verification data packet to the target UWB device; When a response data packet fed back by the target UWB device based on the verification data packet is received, the communication connection with the target UWB device is established.
  • the communication connection establishing module 40 is further used to read the target device identity information from the target device information, and generate a verification data packet according to the target device identity information and a preset data format; and broadcast the verification data packet to the target UWB device through UWB technology.
  • the communication connection establishing module 40 is also used to continuously broadcast the verification data packet for a first preset duration through UWB technology when the verification data packet is generated, so as to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
  • the generating module 20 is further used to determine the device location, device distance and device identity information of each UWB device according to the device information obtained by scanning; and to generate and display a device radar map according to the device location, the device distance and the device identity information.
  • the communication connection establishing module 40 is further configured to switch to full-duplex mode when the communication connection is established, and perform data communication in duplex mode with the target UWB device based on the communication connection.
  • the communication connection establishing module 40 is further configured to enter the standby mode when the data communication ends, and send an end instruction to the target UWB device, so that the target UWB device enters the standby mode upon receiving the end instruction.
  • the technical solution of the present invention can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory/random access memory, a disk, or an optical disk), and includes several instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
  • a storage medium such as a read-only memory/random access memory, a disk, or an optical disk
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

Disclosed in some embodiments of the present application are a device communication method and apparatus, a device, and a storage medium. The method comprises: scanning UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information; generating and displaying a device radar map according to the device information obtained by means of scanning; determining a target UWB device selected by a user on the basis of the device radar map, and reading target device information of the target UWB device; and establishing a communication connection with the target UWB device according to the target device information. In the present invention, a device radar map is generated and displayed by using data transmission and positioning functions in a UWB technique, target device information is determined according to a target UWB device selected by a user on the device radar map, and a communication connection is established with the target UWB device according to the target device information, thereby realizing data communication between intelligent terminals when there is no network.

Description

设备通信方法、装置、设备及存储介质Device communication method, device, equipment and storage medium
本申请要求于2022年11月28日提交中国专利局、申请号为202211513146.7、发明名称为“设备通信方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on November 28, 2022, with application number 202211513146.7 and invention name “Device Communication Method, Device, Equipment and Storage Medium”, all contents of which are incorporated by reference in this application.
技术领域Technical Field
本发明涉及通信技术领域,尤其涉及一种设备通信方法、装置、设备及存储介质。The present invention relates to the field of communication technology, and in particular to a device communication method, apparatus, device and storage medium.
背景技术Background technique
智能终端之间的通信需要网络支持,而且通信双方需要通过认证且建立一对一的通信通道才能相互识别并进行通信,若智能终端之间未建立通信通道或处于无网络的情况下,即使智能终端之间的距离很近也无法直接通信,因此如何解决无网络情况下智能终端的通信成为亟待解决的技术问题。上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。Communication between smart terminals requires network support, and both parties need to be authenticated and establish a one-to-one communication channel to identify each other and communicate. If no communication channel is established between smart terminals or there is no network, even if the distance between smart terminals is very close, they cannot communicate directly. Therefore, how to solve the communication of smart terminals without a network has become a technical problem that needs to be solved urgently. The above content is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is recognized as prior art.
发明内容Summary of the invention
本发明的主要目的在于提供了一种设备通信方法、装置、设备及存储介质,旨在解决现有技术中智能终端在无网络情况下无法相互通信的技术问题。The main purpose of the present invention is to provide a device communication method, apparatus, device and storage medium, aiming to solve the technical problem in the prior art that smart terminals cannot communicate with each other without a network.
为实现上述目的,本发明提供了一种设备通信方法,所述方法包括以下步骤:To achieve the above object, the present invention provides a device communication method, the method comprising the following steps:
对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;Scanning UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information;
根据扫描获得的所述设备信息生成并显示设备雷达地图;Generate and display a device radar map based on the device information obtained by scanning;
确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息; Determine a target UWB device selected by a user based on the device radar map, and read target device information of the target UWB device;
根据所述目标设备信息与所述目标UWB设备建立通信连接。A communication connection is established with the target UWB device according to the target device information.
可选地,所述根据所述目标设备信息与所述目标UWB设备建立通信连接,包括:Optionally, establishing a communication connection with the target UWB device according to the target device information includes:
根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备;Generate a verification data packet according to the target device information, and send the verification data packet to the target UWB device;
在接收到所述目标UWB设备基于所述验证数据包反馈的应答数据包时,与所述目标UWB设备之间完成通信连接的建立。When the response data packet fed back by the target UWB device based on the verification data packet is received, the communication connection is established with the target UWB device.
可选地,所述根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备,包括:Optionally, generating a verification data packet according to the target device information and sending the verification data packet to the target UWB device includes:
从所述目标设备信息中读取目标设备身份信息,并根据所述目标设备身份信息和预设数据格式生成验证数据包;Reading target device identity information from the target device information, and generating a verification data packet according to the target device identity information and a preset data format;
通过UWB技术将所述验证数据包广播至所述目标UWB设备。The verification data packet is broadcasted to the target UWB device via UWB technology.
可选地,所述通过UWB技术将所述验证数据包广播至所述目标UWB设备,包括:Optionally, broadcasting the verification data packet to the target UWB device by using UWB technology includes:
在所述验证数据包生成时,通过UWB技术以第一预设时长持续广播所述验证数据包,以将所述验证数据包发送至所述目标UWB设备,所述第一预设时长大于所述目标UWB设备的扫描间隔时长。When the verification data packet is generated, the verification data packet is continuously broadcasted for a first preset duration through UWB technology to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
可选地,所述根据扫描获得的所述设备信息生成并显示设备雷达地图,包括:Optionally, generating and displaying a device radar map according to the device information obtained by scanning includes:
根据扫描获得的设备信息确定各UWB设备的设备位置、设备距离和设备身份信息;Determine the device location, device distance and device identity information of each UWB device based on the device information obtained by scanning;
根据所述设备位置、所述设备距离和所述设备身份信息生成并显示设备雷达地图。A device radar map is generated and displayed according to the device location, the device distance and the device identity information.
可选地,所述根据所述目标设备信息与所述目标UWB设备建立通信连接之后,还包括:Optionally, after establishing a communication connection with the target UWB device according to the target device information, the method further includes:
在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接与所述目标UWB设备进行双工模式的数据通信。When the communication connection is established, the full-duplex mode is switched to, and data communication in the duplex mode is performed with the target UWB device based on the communication connection.
可选地,所述在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接进行双工模式的数据通信之后,还包括:Optionally, when the communication connection is established, the method further includes switching to full-duplex mode and performing data communication in duplex mode based on the communication connection:
在数据通信结束时,进入待机模式,并发送结束指令至所述目标UWB 设备,以使所述目标UWB设备在接收到所述结束指令时进入待机模式。At the end of data communication, it enters standby mode and sends an end command to the target UWB device, so that the target UWB device enters the standby mode when receiving the end instruction.
此外,为实现上述目的,本发明还提出一种设备通信装置,所述装置包括:In addition, to achieve the above object, the present invention also provides a device communication apparatus, the apparatus comprising:
扫描模块,用于对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;A scanning module, used to scan UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information;
生成模块,用于根据扫描获得的所述设备信息生成并显示设备雷达地图;A generating module, used to generate and display a device radar map according to the device information obtained by scanning;
确定模块,用于确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;A determination module, used to determine a target UWB device selected by a user based on the device radar map, and read target device information of the target UWB device;
通信连接建立模块,用于根据所述目标设备信息与所述目标UWB设备建立通信连接。A communication connection establishing module is used to establish a communication connection with the target UWB device according to the target device information.
此外,为实现上述目的,本发明还提出一种设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的设备通信程序,所述设备通信程序配置为实现如上文所述的设备通信方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also proposes a device, which includes: a memory, a processor, and a device communication program stored in the memory and executable on the processor, wherein the device communication program is configured to implement the steps of the device communication method described above.
此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有设备通信程序,所述设备通信程序被处理器执行时实现如上文所述的设备通信方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a device communication program is stored, and when the device communication program is executed by a processor, the steps of the device communication method described above are implemented.
本发明对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;根据扫描获得的所述设备信息生成并显示设备雷达地图;确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;根据所述目标设备信息与所述目标UWB设备建立通信连接。本发明利用UWB技术的数据传输和定位功能生成并显示设备雷达地图,根据用户在设备雷达地图上选取的目标WUB设备确定目标设备信息,根据目标设备信息与目标UWB设备建立通信连接,实现了无网络情况下智能终端之间的数据通信。The present invention scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by scanning; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information. The present invention generates and displays a device radar map using the data transmission and positioning functions of UWB technology, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面 描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. The drawings described are only part of the drawings of this application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
图1是本发明实施例方案涉及的硬件运行环境的设备通信设备的结构示意图;1 is a schematic diagram of the structure of a device communication device in a hardware operating environment involved in an embodiment of the present invention;
图2为本发明设备通信方法第一实施例的流程示意图;FIG2 is a schematic diagram of a flow chart of a first embodiment of a device communication method according to the present invention;
图3为本发明设备通信方法一实施例中设备雷达地图示意图;FIG3 is a schematic diagram of a device radar map in an embodiment of a device communication method of the present invention;
图4为本发明设备通信方法第二实施例的流程示意图;FIG4 is a schematic diagram of a flow chart of a second embodiment of a device communication method according to the present invention;
图5为本发明设备通信方法第三实施例的流程示意图;5 is a schematic diagram of a flow chart of a third embodiment of a device communication method according to the present invention;
图6为本发明设备通信装置第一实施例的结构框图。FIG6 is a structural block diagram of a first embodiment of a device communication apparatus according to the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的设备通信设备结构示意图。Refer to FIG. 1 , which is a schematic diagram of the structure of a device communication device in a hardware operating environment involved in an embodiment of the present invention.
如图1所示,该设备通信设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,WI-FI)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM),也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG1 , the device communication device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的结构并不构成对设备通信设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the structure shown in FIG. 1 does not constitute a limitation on the device communication device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及设备通信程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a device communication program.
在图1所示的设备通信设备中,网络接口1004主要用于与网络服务器进 行数据通信;用户接口1003主要用于与用户进行数据交互;本发明设备通信设备中的处理器1001、存储器1005可以设置在设备通信设备中,所述设备通信设备通过处理器1001调用存储器1005中存储的设备通信程序,并执行本发明实施例提供的设备通信方法。In the device communication device shown in FIG1 , the network interface 1004 is mainly used to communicate with the network server. The user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the device communication device of the present invention can be set in the device communication device, and the device communication device calls the device communication program stored in the memory 1005 through the processor 1001, and executes the device communication method provided in the embodiment of the present invention.
本发明实施例提供了一种设备通信方法,参照图2,图2为本发明设备通信方法第一实施例的流程示意图。An embodiment of the present invention provides a device communication method. Referring to FIG. 2 , FIG. 2 is a schematic flow chart of a first embodiment of the device communication method of the present invention.
本实施例中,所述设备通信方法包括以下步骤:In this embodiment, the device communication method includes the following steps:
步骤S10:对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息。Step S10: Scanning UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information.
需要说明的是,本实施例的执行主体可以是一种具有数据处理、网络通信以及程序运行功能的计算服务设备,例如智能手表、平板电脑、个人电脑、手机等,或者是一种能够实现上述功能的电子设备等。以下以智能手表为例,对本实施例及下述各实施例进行举例说明。It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a smart watch, a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc. The following takes a smart watch as an example to illustrate this embodiment and the following embodiments.
可以理解的是,超宽带(Ultra Wide Band,UWB)技术是一种无线载波通信技术,它不采用正弦载波,而是利用纳秒级的非正弦波窄脉冲传输数据,因此其所占的频谱范围很宽,UWB具有数据传输和定位功能。It can be understood that Ultra Wide Band (UWB) technology is a wireless carrier communication technology. It does not use a sinusoidal carrier, but instead uses nanosecond non-sinusoidal narrow pulses to transmit data. Therefore, it occupies a wide spectrum range. UWB has data transmission and positioning functions.
在本实施例中,智能手表周期性地对预设范围内的UWB设备进行扫描;智能手表内设置有UWB模块,智能手表可通过该UWB模块实现数据传输和定位功能,预设范围可以是UWB模块的数据传输范围,例如UWB模块的数据传输范围为a米,相应的预设范围可以是以a米为半径的范围;UWB设备可以是设置有WUB模块的设备,UWB设备可以是智能手表、智能手机等智能终端;设备信息可以是能够表征设备特征的信息,设备信息包括设备位置信息和设备身份信息。In this embodiment, the smart watch periodically scans UWB devices within a preset range; a UWB module is provided in the smart watch, and the smart watch can realize data transmission and positioning functions through the UWB module. The preset range may be the data transmission range of the UWB module. For example, the data transmission range of the UWB module is a meters, and the corresponding preset range may be a range with a meter as a radius; the UWB device may be a device provided with a UWB module, and the UWB device may be a smart terminal such as a smart watch and a smart phone; the device information may be information that can characterize the characteristics of the device, and the device information includes the device location information and the device identity information.
步骤S20:根据扫描获得的所述设备信息生成并显示设备雷达地图。Step S20: Generate and display a device radar map based on the device information obtained by scanning.
可以理解的是,设备雷达地图可以是标识有设备位置信息和设备身份信息的地图,智能手表按照预设周期在预设范围内扫描设备信息,从设备信息中读取设备位置信息和设备身份信息,根据设备位置信息将设备身份信息映射至空白雷达地图,获得设备雷达地图,智能手表间隔预设时长根据扫描到的设备信息对设备雷达地图进行更新;例如:预先设置空白雷达地图,智能 手表根据扫描获得的设备信息将设备位置信息和设备身份信息映射至空白雷达地图,获得设备雷达地图。It can be understood that the device radar map can be a map marked with device location information and device identity information. The smart watch scans the device information within a preset range according to a preset period, reads the device location information and device identity information from the device information, maps the device identity information to a blank radar map according to the device location information, and obtains the device radar map. The smart watch updates the device radar map according to the scanned device information at a preset interval; for example: a blank radar map is pre-set, and the smart watch The watch maps the device location information and device identity information to a blank radar map based on the device information obtained through scanning to obtain a device radar map.
在本实施例中,智能手表周期性地扫描预设范围内的UWB设备,可根据当前扫描获得的设备信息更新设备雷达地图,实时根据扫描获得的设备信息更新设备雷达地图;为了降低能耗,也可按照预设扫描周期更新设备雷达地图,例如预设扫描周期为a,则间隔a个扫描周期更新一次设备雷达地图;可根据具体场景设定更新方式,例如每隔500ms刷新一次设备雷达地图,以保证被扫描到的UWB设备的准确性;本实施例在此不作限制。In this embodiment, the smart watch periodically scans UWB devices within a preset range, and can update the device radar map according to the device information currently obtained by the scan, and update the device radar map in real time according to the device information obtained by the scan; in order to reduce energy consumption, the device radar map can also be updated according to a preset scanning period. For example, if the preset scanning period is a, the device radar map is updated every a scanning period; the update method can be set according to the specific scenario, for example, the device radar map is refreshed every 500ms to ensure the accuracy of the scanned UWB devices; this embodiment is not limited here.
步骤S30:确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息。Step S30: determining a target UWB device selected by the user based on the device radar map, and reading target device information of the target UWB device.
可以理解的是,目标UWB设备可以是用户在设备雷达地图上选取的需要进行数据通信的UWB设备,设备雷达地图上会可视化展示UWB设备的设备身份和设备方位,用户可基于设备身份和设备方位来选取目标UWB设备;用户在选取目标UWB设备后,智能手表读取与目标UWB设备对应的目标设备信息。It can be understood that the target UWB device can be a UWB device that the user selects on the device radar map and needs to communicate data. The device radar map will visually display the device identity and device location of the UWB device, and the user can select the target UWB device based on the device identity and device location; after the user selects the target UWB device, the smart watch reads the target device information corresponding to the target UWB device.
步骤S40:根据所述目标设备信息与所述目标UWB设备建立通信连接。Step S40: establishing a communication connection with the target UWB device according to the target device information.
在本实施例中,智能手表根据目标设备信息与目标UWB设备进行通信验证,在通信验证通过时与目标UWB设备之间建立通信连接。In this embodiment, the smart watch performs communication verification with the target UWB device according to the target device information, and establishes a communication connection with the target UWB device when the communication verification passes.
应该理解的是,由于UWB设备周期性地发射自身设备信息,智能手表若在UWB设备停止发射期间进行扫描,可能无法扫描到设备信息,为了能够及时扫描到UWB设备发射的设备信息,设置智能手表在扫描周期内的扫描时长大于UWB设备发射设备信息的间隔时长,例如:UWB设备发射设备信息的间隔时长为101ms,可将智能手表扫描周期内的扫描时长设置为120ms,智能手表间隔500ms扫描一次UWB设备,每次的扫描时长为120ms,使得智能手表的扫描时长至少覆盖UWB设备的一个发射周期。It should be understood that since UWB devices periodically transmit their own device information, if the smart watch scans during the period when the UWB device stops transmitting, it may not be able to scan the device information. In order to be able to scan the device information transmitted by the UWB device in time, the scanning duration of the smart watch within the scanning cycle is set to be greater than the interval duration of the UWB device transmitting device information. For example: the interval duration of the UWB device transmitting device information is 101ms, the scanning duration within the scanning cycle of the smart watch can be set to 120ms. The smart watch scans the UWB device once every 500ms, and the scanning duration each time is 120ms, so that the scanning duration of the smart watch covers at least one transmission cycle of the UWB device.
需要说明的是,传统的基于UWB的数据传输方式,交互双方要互相知道对方的存在,数据接收端需要始终处于接收模式,数据发送端需要始终处于发送模式,导致设备功耗大,本实施例采用低功耗模式扫描UWB设备,并根据目标UWB设备的目标设备信息建立通信连接,信息通道只有在需要的时候才会建立,在实现小范围无网络情况下数据通信的同时,降低了设备 功耗。It should be noted that in the traditional UWB-based data transmission method, the two interacting parties need to know each other's existence, the data receiving end needs to be in the receiving mode all the time, and the data sending end needs to be in the sending mode all the time, resulting in high power consumption of the devices. This embodiment uses a low-power mode to scan UWB devices and establish a communication connection based on the target device information of the target UWB device. The information channel is established only when needed, which reduces the device power consumption while realizing data communication in a small range without a network. Power consumption.
在具体实施中,例如:智能手表中设置有UWB模块,该UWB模块的数据通信范围为15米,智能手表对半径15米范围内的UWB设备进行扫描,以接收UWB设备发射的设备信息,智能手表根据扫描获得的设备信息确定UWB设备的设备身份信息和设备位置信息,将设备身份信息和设备位置信息对应映射至空白雷达地图生成设备雷达地图,并对设备雷达地图进行显示,间隔预设扫描周期更新显示的设备雷达地图,若用户在设备雷达地图上选取目标UWB设备,则读取目标UWB设备的目标设备信息,根据目标设备信息与目标UWB设备进行通信验证,并在通信验证通过时,与目标UWB设备之间建立通信连接。In a specific implementation, for example: a UWB module is provided in a smart watch, and the data communication range of the UWB module is 15 meters. The smart watch scans UWB devices within a radius of 15 meters to receive device information transmitted by the UWB devices. The smart watch determines the device identity information and device location information of the UWB device based on the device information obtained by the scan, maps the device identity information and the device location information to a blank radar map to generate a device radar map, and displays the device radar map. The displayed device radar map is updated at preset scanning period intervals. If the user selects a target UWB device on the device radar map, the target device information of the target UWB device is read, and communication verification is performed with the target UWB device based on the target device information. When the communication verification passes, a communication connection is established with the target UWB device.
进一步地,为了基于扫描到的设备信息生成设备雷达地图,所述步骤S40,包括:根据扫描获得的设备信息确定各UWB设备的设备位置、设备距离和设备身份信息;根据所述设备位置、所述设备距离和所述设备身份信息生成并显示设备雷达地图。Furthermore, in order to generate a device radar map based on the scanned device information, the step S40 includes: determining the device location, device distance and device identity information of each UWB device according to the device information obtained by scanning; generating and displaying the device radar map according to the device location, the device distance and the device identity information.
可以理解的是,UWB本身具备定位功能,UWB设备在发射设备信息时,会将自身的设备位置一同发射,根据设备位置和自身设备位置可确定设备距离;设备身份信息可以是能够标识设备身份的信息,例如设备身份信息包括设备ID、设备编号、设备身份识别号等。It is understandable that UWB itself has a positioning function. When transmitting device information, the UWB device will also transmit its own device location. The device distance can be determined based on the device location and its own device location; the device identity information can be information that can identify the device identity, such as device identity information including device ID, device number, device identity identification number, etc.
在本实施例中,UWB设备根据设备身份信息和预设数据格式生成设备信息,并周期性发射设备信息,智能手表根据自身设备位置和扫描到的设备位置确定设备相对位置和设备距离,根据设备相对位置和设备距离将设备身份信息映射至空白雷达地图,获得设备雷达地图。In this embodiment, the UWB device generates device information based on the device identity information and a preset data format, and periodically transmits the device information. The smart watch determines the relative position and distance of the device based on its own device position and the scanned device position, and maps the device identity information to a blank radar map based on the relative position and distance of the device to obtain a device radar map.
需要说明的是,本实施例采用UWB技术,利用UWB的定位功能,将UWB设备的设备ID通过设备雷达地图的方式在智能手表上显示,由于UWB定位具有厘米级的定位精确度,用户可基于设备雷达地图上显示的设备ID、设备位置和设备距离,判断设备雷达地图上的设备ID与预设范围内的人的对应关系,用户可以通过该对应关系在设备雷达地图上选择目标UWB设备,智能手表根据目标UWB设备的目标设备信息与目标UWB设备建立通信连接,进行数据和文件的交换。It should be noted that the present embodiment adopts UWB technology and utilizes the positioning function of UWB to display the device ID of the UWB device on the smart watch in the form of a device radar map. Since UWB positioning has centimeter-level positioning accuracy, the user can determine the correspondence between the device ID on the device radar map and the person within a preset range based on the device ID, device location and device distance displayed on the device radar map. The user can select the target UWB device on the device radar map through the correspondence. The smart watch establishes a communication connection with the target UWB device based on the target device information of the target UWB device to exchange data and files.
在具体实施中,可参照图3,图3为设备雷达地图示意图,UWB设备根 据预设数据格式和用户定义的设备ID生成设备信息,其中预设数据格式可参照表1,表中“HEAD”为表征数据头的字段,存储数据“0x5A”用于表征数据头,“0x5A”的存储空间为1字节(1byte);“LENGTH”为表征ID段长度的字段,存储数据“ID段长度N”用于表征设备ID占用的字节长度为N,“ID段长度N”的存储空间为1字节(1byte);“ID”为表征设备ID的字段,存储数据“设备ID”用于表征设备身份标识号,“设备身份标识号”的存储空间为N字节(N byte),例如设备身份标识号可以是Jack、Jim等;CRC(Cyclic Redundancy Check),即循环冗余校核,“CRC”为表征循环冗余校核的字段,存储的数据“ID段的校验”用于表征循环冗余校验码,循环冗余校验码的存储空间为2字节(2byte);例如智能手表在预范围内扫描UWB设备,扫描到4个UWB设备发射的设备信息,从设备信息中读取到的设备ID分别为:Jack、Jim、Tom和Lucy,根据各UWB设备的设备位置确定各UWB设备相对于本设备的方位角和设备距离,根据方位角和设备距离将设备ID映射至空白雷达地图,获得设备雷达地图。In the specific implementation, please refer to Figure 3, which is a schematic diagram of the device radar map. Generate device information according to the preset data format and the device ID defined by the user, wherein the preset data format can refer to Table 1, in which "HEAD" is a field representing the data header, and the stored data "0x5A" is used to represent the data header, and the storage space of "0x5A" is 1 byte; "LENGTH" is a field representing the length of the ID segment, and the stored data "ID segment length N" is used to represent that the byte length occupied by the device ID is N, and the storage space of "ID segment length N" is 1 byte; "ID" is a field representing the device ID, and the stored data "device ID" is used to represent the device identification number, and the storage space of "device identification number" is N bytes, for example, the device identification number can be Jack, Jim, etc.; CRC (Cyclic Redundancy "CRC" is a field representing the cyclic redundancy check, and the stored data "check of ID segment" is used to represent the cyclic redundancy check code, and the storage space of the cyclic redundancy check code is 2 bytes; for example, a smart watch scans UWB devices within a pre-range, and scans device information transmitted by 4 UWB devices. The device IDs read from the device information are: Jack, Jim, Tom and Lucy, respectively. The azimuth and device distance of each UWB device relative to the device are determined according to the device position of each UWB device, and the device ID is mapped to a blank radar map according to the azimuth and device distance to obtain a device radar map.
表1
Table 1
本实施例对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;根据扫描获得的所述设备信息生成并显示设备雷达地图;确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;根据所述目标设备信息与所述目标UWB设备建立通信连接。本发明利用UWB技术的数据传输和定位功能生成并显示设备雷达地图,根据用户在设备雷达地图上选取的目标WUB设备确定目标设备信息,根据目标设备信息与目标UWB设备建立通信连接,实现了无网络情况下智能终端之间的数据通信。This embodiment scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by scanning; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information. The present invention generates and displays a device radar map using the data transmission and positioning functions of UWB technology, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
参考图4,图4为本发明设备通信方法第二实施例的流程示意图。Refer to FIG. 4 , which is a flow chart of a second embodiment of a device communication method according to the present invention.
基于上述第一实施例,在本实施例中,所述步骤S40包括:Based on the above first embodiment, in this embodiment, step S40 includes:
步骤S401:根据所述目标设备信息生成验证数据包,并将所述验证数据 包发送至所述目标UWB设备。Step S401: Generate a verification data packet based on the target device information and send the verification data The packet is sent to the target UWB device.
可以理解的是,验证数据包可以是在建立通信连接的过程中进行身份验证的数据包,并在预设范围内广播验证数据包,以使目标UWB设备扫描到该验证数据包。It is understandable that the verification data packet may be a data packet for identity authentication during the process of establishing a communication connection, and the verification data packet is broadcast within a preset range so that the target UWB device can scan the verification data packet.
步骤S402:在接收到所述目标UWB设备基于所述验证数据包反馈的应答数据包时,与所述目标UWB设备之间完成通信连接的建立。Step S402: upon receiving a response data packet fed back by the target UWB device based on the verification data packet, establishing a communication connection with the target UWB device is completed.
可以理解的是,应答数据包可以是目标UWB设备根据目标设备ID和预设数据格式生成的数据包,目标UWB设备接收到验证数据包后,可从验证数据包中解析出自身的设备ID,目标UWB设备发送包含自身设备ID的应答数据包,智能手表在接收到应答数据包后,完成与目标UWB设备之间通信连接的建立。It can be understood that the response data packet can be a data packet generated by the target UWB device based on the target device ID and a preset data format. After receiving the verification data packet, the target UWB device can parse its own device ID from the verification data packet. The target UWB device sends a response data packet containing its own device ID. After receiving the response data packet, the smart watch completes the establishment of a communication connection with the target UWB device.
在具体实施中,智能手表根据目标设备信息生成验证数据包,并在预设范围内广播该验证数据包,以使目标UWB设备扫描获得该验证数据包,智能手表接收目标UWB设备基于验证数据包反馈的应答数据包,智能手表在接收到目标UWB设备反馈的应答数据包时,完成与目标UWB设备之间通信连接的建立。In a specific implementation, the smart watch generates a verification data packet based on the target device information and broadcasts the verification data packet within a preset range so that the target UWB device can scan and obtain the verification data packet. The smart watch receives a response data packet fed back by the target UWB device based on the verification data packet. When the smart watch receives the response data packet fed back by the target UWB device, it completes the establishment of a communication connection with the target UWB device.
进一步地,为了与目标UWB设备之间建立通信连接,所述根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备,包括:从所述目标设备信息中读取目标设备身份信息,并根据所述目标设备身份信息和预设数据格式生成验证数据包;通过UWB技术将所述验证数据包广播至所述目标UWB设备。Furthermore, in order to establish a communication connection with a target UWB device, a verification data packet is generated according to the target device information and the verification data packet is sent to the target UWB device, including: reading the target device identity information from the target device information, and generating a verification data packet according to the target device identity information and a preset data format; and broadcasting the verification data packet to the target UWB device through UWB technology.
在具体实施中,例如目标身份信息为设备ID,智能手表从设备信息中读取设备ID,根据设备ID和预设数据格式生成验证数据包,并在验证数据包生成时,向预设范围内广播验证数据包,以使目标UWB设备扫描到所述验证数据包。In a specific implementation, for example, if the target identity information is a device ID, the smart watch reads the device ID from the device information, generates a verification data packet according to the device ID and a preset data format, and when the verification data packet is generated, broadcasts the verification data packet within a preset range so that the target UWB device can scan the verification data packet.
进一步地,为了使目标UWB设备能够接收到广播的验证数据,所述通过UWB技术将所述验证数据包广播至所述目标UWB设备,包括:在所述验证数据包生成时,通过UWB技术以第一预设时长持续广播所述验证数据包,以将所述验证数据包发送至所述目标UWB设备,所述第一预设时长大于所述目标UWB设备的扫描间隔时长。 Furthermore, in order to enable the target UWB device to receive the broadcast verification data, the verification data packet is broadcast to the target UWB device through UWB technology, including: when the verification data packet is generated, the verification data packet is continuously broadcast for a first preset duration through UWB technology to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
在具体实施中,例如目标UWB设备的扫描间隔时长为5ms,可将第一预设时长为10ms,用户基于设备雷达地图选取目标UWB设备,智能手表获取目标UWB设备的目标设备信息,从目标设备信息中读取目标设备ID,根据预设数据格式和目标设备ID生成验证数据包,并持续10ms在预设范围内广播验证数据包,目标UWB设备接收到该验证数据包后,发射包含自身设备ID的应答数据包,智能手表在接收到应答数据包时,完成通信连接的建立。In a specific implementation, for example, if the scanning interval of the target UWB device is 5ms, the first preset time can be set to 10ms. The user selects the target UWB device based on the device radar map. The smart watch obtains the target device information of the target UWB device, reads the target device ID from the target device information, generates a verification data packet according to the preset data format and the target device ID, and broadcasts the verification data packet within a preset range for 10ms. After receiving the verification data packet, the target UWB device transmits a response data packet containing its own device ID. When the smart watch receives the response data packet, it completes the establishment of the communication connection.
本实施例根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备;在接收到所述目标UWB设备基于所述验证数据包反馈的应答数据包时,与所述目标UWB设备之间完成通信连接的建立。本实施例将根据目标UWB设备的目标设备信息生成的验证数据广播至目标UWB设备,目标UWB设备基于验证数据包发射应答数据包,在扫描到该应答数据包时,完成通信连接的建立,实现了无网络情况下的短距离通信。This embodiment generates a verification data packet according to the target device information, and sends the verification data packet to the target UWB device; when receiving a response data packet fed back by the target UWB device based on the verification data packet, the communication connection is established with the target UWB device. This embodiment broadcasts the verification data generated according to the target device information of the target UWB device to the target UWB device, and the target UWB device transmits a response data packet based on the verification data packet. When the response data packet is scanned, the communication connection is established, realizing short-distance communication without a network.
参考图5,图5为本发明设备通信方法第三实施例的流程示意图。Refer to FIG. 5 , which is a flowchart of a third embodiment of a device communication method according to the present invention.
基于上述各实施例,在本实施例中,所述步骤S40之后,所述方法还包括:Based on the above embodiments, in this embodiment, after step S40, the method further includes:
步骤S50:在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接与所述目标UWB设备进行双工模式的数据通信。Step S50: When the communication connection is established, switching to full-duplex mode, and performing data communication in duplex mode with the target UWB device based on the communication connection.
在本实施例中,为了降低能耗,智能手表在与目标UWB设备建立通信连接之前的数据传输模式为半双工模式,在与目标UWB设备之间的通信连接建立完成时,切换至全双工模式。In this embodiment, in order to reduce energy consumption, the data transmission mode of the smart watch is half-duplex mode before establishing a communication connection with the target UWB device, and switches to full-duplex mode when the communication connection with the target UWB device is established.
进一步地,为了降低设备能耗,所述步骤S50之后,还包括:在数据通信结束时,进入待机模式,并发送结束指令至所述目标UWB设备,以使所述目标UWB设备在接收到所述结束指令时进入待机模式。Furthermore, in order to reduce device energy consumption, after step S50, the method further includes: when data communication ends, entering standby mode, and sending an end instruction to the target UWB device, so that the target UWB device enters standby mode upon receiving the end instruction.
在具体实施中,智能手表在数据通信结束时,进入待机模式,并发送结束指令至目标UWB设备,目标UWB设备接收到结束指令时,显示数据通信结束信息并进入待机模式。In a specific implementation, when data communication ends, the smart watch enters standby mode and sends an end instruction to the target UWB device. When the target UWB device receives the end instruction, it displays data communication end information and enters standby mode.
本实施例在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接与所述目标UWB设备进行双工模式的数据通信。本实施例在与目标UWB设备之间的通信连接建立完成时转入全双工模式,在保证数据通信质量 的同时降低了设备能耗。This embodiment switches to full-duplex mode when the communication connection is established, and performs duplex mode data communication with the target UWB device based on the communication connection. This embodiment switches to full-duplex mode when the communication connection with the target UWB device is established, while ensuring the quality of data communication At the same time, it reduces the energy consumption of the equipment.
此外,本发明实施例还提出一种存储介质,所述存储介质上存储有设备通信程序,所述设备通信程序被处理器执行时实现如上文所述的设备通信方法的步骤。In addition, an embodiment of the present invention further provides a storage medium, on which a device communication program is stored. When the device communication program is executed by a processor, the steps of the device communication method described above are implemented.
参照图6,图6为本发明设备通信装置第一实施例的结构框图。Refer to FIG. 6 , which is a structural block diagram of a first embodiment of a device communication apparatus according to the present invention.
如图6所示,本发明实施例提出的设备通信装置包括:扫描模块10、生成模块20、确定模块30和通信连接建立模块40。As shown in FIG. 6 , the device communication apparatus provided in the embodiment of the present invention includes: a scanning module 10 , a generating module 20 , a determining module 30 and a communication connection establishing module 40 .
所述扫描模块,用于对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;The scanning module is used to scan UWB devices within a preset range, and the UWB devices periodically broadcast their own device information;
所述生成模块20,用于根据扫描获得的所述设备信息生成并显示设备雷达地图;The generating module 20 is used to generate and display a device radar map according to the device information obtained by scanning;
所述确定模块30,用于确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;The determination module 30 is used to determine the target UWB device selected by the user based on the device radar map, and read the target device information of the target UWB device;
所述通信连接建立模块40,用于根据所述目标设备信息与所述目标UWB设备建立通信连接。The communication connection establishing module 40 is used to establish a communication connection with the target UWB device according to the target device information.
本实施例对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;根据扫描获得的所述设备信息生成并显示设备雷达地图;确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;根据所述目标设备信息与所述目标UWB设备建立通信连接。本实施例利用UWB技术的数据传输和定位功能生成并显示设备雷达地图,根据用户在设备雷达地图上选取的目标WUB设备确定目标设备信息,根据目标设备信息与目标UWB设备建立通信连接,实现了无网络情况下智能终端之间的数据通信。This embodiment scans UWB devices within a preset range, and the UWB devices periodically broadcast their own device information; generates and displays a device radar map based on the device information obtained by the scan; determines the target UWB device selected by the user based on the device radar map, and reads the target device information of the target UWB device; and establishes a communication connection with the target UWB device based on the target device information. This embodiment uses the data transmission and positioning functions of UWB technology to generate and display a device radar map, determines the target device information based on the target UWB device selected by the user on the device radar map, and establishes a communication connection with the target UWB device based on the target device information, thereby realizing data communication between smart terminals without a network.
基于本发明上述设备通信装置第一实施例,提出本发明设备通信装置的第二实施例。Based on the above-mentioned first embodiment of the device communication apparatus of the present invention, a second embodiment of the device communication apparatus of the present invention is proposed.
在本实施例中,所述通信连接建立模块40,还用于根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备;在接 收到所述目标UWB设备基于所述验证数据包反馈的应答数据包时,与所述目标UWB设备之间完成通信连接的建立。In this embodiment, the communication connection establishing module 40 is further used to generate a verification data packet according to the target device information, and send the verification data packet to the target UWB device; When a response data packet fed back by the target UWB device based on the verification data packet is received, the communication connection with the target UWB device is established.
所述通信连接建立模块40,还用于从所述目标设备信息中读取目标设备身份信息,并根据所述目标设备身份信息和预设数据格式生成验证数据包;通过UWB技术将所述验证数据包广播至所述目标UWB设备。The communication connection establishing module 40 is further used to read the target device identity information from the target device information, and generate a verification data packet according to the target device identity information and a preset data format; and broadcast the verification data packet to the target UWB device through UWB technology.
所述通信连接建立模块40,还用于在所述验证数据包生成时,通过UWB技术以第一预设时长持续广播所述验证数据包,以将所述验证数据包发送至所述目标UWB设备,所述第一预设时长大于所述目标UWB设备的扫描间隔时长。The communication connection establishing module 40 is also used to continuously broadcast the verification data packet for a first preset duration through UWB technology when the verification data packet is generated, so as to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
所述生成模块20,还用于根据扫描获得的设备信息确定各UWB设备的设备位置、设备距离和设备身份信息;根据所述设备位置、所述设备距离和所述设备身份信息生成并显示设备雷达地图。The generating module 20 is further used to determine the device location, device distance and device identity information of each UWB device according to the device information obtained by scanning; and to generate and display a device radar map according to the device location, the device distance and the device identity information.
所述通信连接建立模块40,还用于在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接与所述目标UWB设备进行双工模式的数据通信。The communication connection establishing module 40 is further configured to switch to full-duplex mode when the communication connection is established, and perform data communication in duplex mode with the target UWB device based on the communication connection.
所述通信连接建立模块40,还用于在数据通信结束时,进入待机模式,并发送结束指令至所述目标UWB设备,以使所述目标UWB设备在接收到所述结束指令时进入待机模式。The communication connection establishing module 40 is further configured to enter the standby mode when the data communication ends, and send an end instruction to the target UWB device, so that the target UWB device enters the standby mode upon receiving the end instruction.
本发明设备通信装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。Other embodiments or specific implementations of the device communication apparatus of the present invention may refer to the above-mentioned method embodiments and will not be described in detail here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器/随机存取存储器、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the implementation mode, those skilled in the art can clearly understand that the above embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by means of Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory/random access memory, a disk, or an optical disk), and includes several instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims (10)

  1. 一种设备通信方法,其特征在于,所述方法包括:A device communication method, characterized in that the method comprises:
    对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;Scanning UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information;
    根据扫描获得的所述设备信息生成并显示设备雷达地图;Generate and display a device radar map based on the device information obtained by scanning;
    确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;Determine a target UWB device selected by a user based on the device radar map, and read target device information of the target UWB device;
    根据所述目标设备信息与所述目标UWB设备建立通信连接。A communication connection is established with the target UWB device according to the target device information.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述目标设备信息与所述目标UWB设备建立通信连接,包括:The method according to claim 1, wherein establishing a communication connection with the target UWB device according to the target device information comprises:
    根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备;Generate a verification data packet according to the target device information, and send the verification data packet to the target UWB device;
    在接收到所述目标UWB设备基于所述验证数据包反馈的应答数据包时,与所述目标UWB设备之间完成通信连接的建立。When the response data packet fed back by the target UWB device based on the verification data packet is received, the communication connection is established with the target UWB device.
  3. 如权利要求2所述的方法,其特征在于,所述根据所述目标设备信息生成验证数据包,并将所述验证数据包发送至所述目标UWB设备,包括:The method according to claim 2, wherein generating a verification data packet according to the target device information and sending the verification data packet to the target UWB device comprises:
    从所述目标设备信息中读取目标设备身份信息,并根据所述目标设备身份信息和预设数据格式生成验证数据包;Reading target device identity information from the target device information, and generating a verification data packet according to the target device identity information and a preset data format;
    通过UWB技术将所述验证数据包广播至所述目标UWB设备。The verification data packet is broadcasted to the target UWB device via UWB technology.
  4. 如权利要求3所述的方法,其特征在于,所述通过UWB技术将所述验证数据包广播至所述目标UWB设备,包括:The method according to claim 3, characterized in that broadcasting the verification data packet to the target UWB device through UWB technology comprises:
    在所述验证数据包生成时,通过UWB技术以第一预设时长持续广播所述验证数据包,以将所述验证数据包发送至所述目标UWB设备,所述第一预设时长大于所述目标UWB设备的扫描间隔时长。When the verification data packet is generated, the verification data packet is continuously broadcasted for a first preset duration through UWB technology to send the verification data packet to the target UWB device, and the first preset duration is greater than the scanning interval duration of the target UWB device.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述根据扫描获得的所述设备信息生成并显示设备雷达地图,包括: The method according to any one of claims 1 to 4, characterized in that generating and displaying a device radar map based on the device information obtained by scanning comprises:
    根据扫描获得的设备信息确定各UWB设备的设备位置、设备距离和设备身份信息;Determine the device location, device distance and device identity information of each UWB device based on the device information obtained by scanning;
    根据所述设备位置、所述设备距离和所述设备身份信息生成并显示设备雷达地图。A device radar map is generated and displayed according to the device location, the device distance and the device identity information.
  6. 如权利要求1-4任一项所述的方法,其特征在于,所述根据所述目标设备信息与所述目标UWB设备建立通信连接之后,还包括:The method according to any one of claims 1 to 4, characterized in that after establishing a communication connection with the target UWB device according to the target device information, the method further comprises:
    在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接与所述目标UWB设备进行双工模式的数据通信。When the communication connection is established, the full-duplex mode is switched to, and data communication in the duplex mode is performed with the target UWB device based on the communication connection.
  7. 如权利要求6所述的方法,其特征在于,所述在所述通信连接建立完成时,转入全双工模式,并基于所述通信连接进行双工模式的数据通信之后,还包括:The method according to claim 6, characterized in that after the communication connection is established, the full-duplex mode is switched to and data communication in a duplex mode is performed based on the communication connection, the method further comprises:
    在数据通信结束时,进入待机模式,并发送结束指令至所述目标UWB设备,以使所述目标UWB设备在接收到所述结束指令时进入待机模式。When the data communication ends, the device enters the standby mode and sends an end instruction to the target UWB device, so that the target UWB device enters the standby mode upon receiving the end instruction.
  8. 一种设备通信装置,其特征在于,所述装置包括:A device communication apparatus, characterized in that the apparatus comprises:
    扫描模块,用于对预设范围内的UWB设备进行扫描,所述UWB设备周期性广播自身的设备信息;A scanning module, used to scan UWB devices within a preset range, wherein the UWB devices periodically broadcast their own device information;
    生成模块,用于根据扫描获得的所述设备信息生成并显示设备雷达地图;A generating module, used to generate and display a device radar map according to the device information obtained by scanning;
    确定模块,用于确定用户基于所述设备雷达地图选取的目标UWB设备,并读取所述目标UWB设备的目标设备信息;A determination module, used to determine a target UWB device selected by a user based on the device radar map, and read target device information of the target UWB device;
    通信连接建立模块,用于根据所述目标设备信息与所述目标UWB设备建立通信连接。A communication connection establishing module is used to establish a communication connection with the target UWB device according to the target device information.
  9. 一种设备,其特征在于,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的设备通信程序,所述设备通信程序配置为实现如权利要求1至7中任一项所述的设备通信方法的步骤。A device, characterized in that the device comprises: a memory, a processor, and a device communication program stored in the memory and executable on the processor, wherein the device communication program is configured to implement the steps of the device communication method as described in any one of claims 1 to 7.
  10. 一种存储介质,其特征在于,所述存储介质上存储有设备通信程序, 所述设备通信程序被处理器执行时实现如权利要求1至7任一项所述的设备通信方法的步骤。 A storage medium, characterized in that a device communication program is stored on the storage medium. When the device communication program is executed by a processor, the steps of the device communication method according to any one of claims 1 to 7 are implemented.
PCT/CN2023/129944 2022-11-28 2023-11-06 Device communication method and apparatus, device, and storage medium WO2024114307A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211513146.7 2022-11-28
CN202211513146.7A CN116017766A (en) 2022-11-28 2022-11-28 Device communication method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2024114307A1 true WO2024114307A1 (en) 2024-06-06

Family

ID=86027350

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/129944 WO2024114307A1 (en) 2022-11-28 2023-11-06 Device communication method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN116017766A (en)
WO (1) WO2024114307A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116017766A (en) * 2022-11-28 2023-04-25 歌尔科技有限公司 Device communication method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810866A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connect the method, apparatus and storage medium of smart machine
CN112261572A (en) * 2020-10-14 2021-01-22 北京小米移动软件有限公司 Information interaction method and device and storage medium
WO2021143650A1 (en) * 2020-01-13 2021-07-22 华为技术有限公司 Method for sharing data and electronic device
KR20220018874A (en) * 2020-08-07 2022-02-15 삼성전자주식회사 Method and apparatus for managing wireless connections of electronic device
CN114679761A (en) * 2020-04-14 2022-06-28 支付宝(杭州)信息技术有限公司 UWB-based equipment interaction method, device and equipment
CN114783435A (en) * 2022-04-25 2022-07-22 歌尔科技有限公司 Equipment control method and device, sound box equipment and storage medium
CN116017766A (en) * 2022-11-28 2023-04-25 歌尔科技有限公司 Device communication method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810866A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connect the method, apparatus and storage medium of smart machine
WO2021143650A1 (en) * 2020-01-13 2021-07-22 华为技术有限公司 Method for sharing data and electronic device
CN114679761A (en) * 2020-04-14 2022-06-28 支付宝(杭州)信息技术有限公司 UWB-based equipment interaction method, device and equipment
KR20220018874A (en) * 2020-08-07 2022-02-15 삼성전자주식회사 Method and apparatus for managing wireless connections of electronic device
CN112261572A (en) * 2020-10-14 2021-01-22 北京小米移动软件有限公司 Information interaction method and device and storage medium
CN114783435A (en) * 2022-04-25 2022-07-22 歌尔科技有限公司 Equipment control method and device, sound box equipment and storage medium
CN116017766A (en) * 2022-11-28 2023-04-25 歌尔科技有限公司 Device communication method, device and storage medium

Also Published As

Publication number Publication date
CN116017766A (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US11297666B2 (en) Electronic device and method for forming Wi-Fi direct group thereof
JP5897137B2 (en) Wireless local area network authentication method and mobile terminal
CN112020048B (en) Bluetooth device pairing method, device and storage medium
US20180310157A1 (en) Near field communication method and mobile terminal
WO2024114307A1 (en) Device communication method and apparatus, device, and storage medium
JP7204792B2 (en) WI-FI hotspot connection method and terminal
US20130178160A1 (en) Systems for facilitating wireless communication and related methods
US10887745B2 (en) Method and device for sharing file between different terminals
TW201330566A (en) System and method for facilitating wireless communication
US9923939B2 (en) Electronic share server, screen sharing method, and program for electronic share server
CN109996260B (en) Configuration system, client device, embedded device configuration method and storage medium
CN110113250B (en) Method for sharing wireless access point through instant messaging software
CN105681542A (en) Information processing method and system and terminal
US11991517B2 (en) Bluetooth communication system capable of increasing generation efficiency of cypher keys required for data transmission between bluetooth host device and bluetooth device set, and related bluetooth device set
WO2021138914A1 (en) Method and apparatus for indicating data transmission, communication device and storage medium
US20160021674A1 (en) Electronic device and method for processing packet in internet protocol-based network
US20220217776A1 (en) Information indicating method, device and system
US8170480B1 (en) Bypassing bluetooth discovery for devices in a special list
CN111356209A (en) Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
KR100864479B1 (en) Method for Pairing between Mobile Communication Terminal and Bluetooth Device, Mobile Communication Terminal and System for the Same
CN113098902A (en) Method and device for managing vulnerability of network equipment, management terminal equipment and storage medium
WO2024087815A1 (en) Screen sharing device pairing method and pairing apparatus, electronic device, and medium
EP2007109A1 (en) Method of connecting computer to mobile internet service by using mobile terminal
CN104754766B (en) Information transferring method and device
KR102267492B1 (en) METHOD FOR SETTING NETWORK OF WIRELESS ROUTER FOR ACQUIRING SMART FARM IMAGE, IoT CAMERA AND IoT SYSTEM