WO2023206235A1 - Data communication method and apparatus, electronic device and data communication system - Google Patents

Data communication method and apparatus, electronic device and data communication system Download PDF

Info

Publication number
WO2023206235A1
WO2023206235A1 PCT/CN2022/089903 CN2022089903W WO2023206235A1 WO 2023206235 A1 WO2023206235 A1 WO 2023206235A1 CN 2022089903 W CN2022089903 W CN 2022089903W WO 2023206235 A1 WO2023206235 A1 WO 2023206235A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
terminal
wireless communication
communication method
target data
Prior art date
Application number
PCT/CN2022/089903
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 北京小米移动软件有限公司
Priority to PCT/CN2022/089903 priority Critical patent/WO2023206235A1/en
Priority to CN202280001399.8A priority patent/CN117581624A/en
Publication of WO2023206235A1 publication Critical patent/WO2023206235A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management

Definitions

  • the present disclosure relates to the field of electronic communication technology, and specifically to a data communication method, device, electronic equipment and data communication system.
  • wireless communication technology With the development of wireless communication technology, most current types of electronic devices can establish wireless communication connections with external devices through wireless communication. Common wireless communication methods include WiFi (wireless fidelity), Bluetooth, and NFC. (Near Field Communication, near field communication), etc.
  • WiFi wireless fidelity
  • Bluetooth Bluetooth
  • NFC Near Field Communication
  • wireless data communication between electronic devices and external devices is not effective, resulting in high delays or freezes in data communication.
  • embodiments of the present disclosure provide a data communication method, device, electronic equipment, data communication system and storage medium.
  • embodiments of the present disclosure provide a data communication method, applied to a first terminal, and the method includes:
  • the key data is sent to the second terminal through a second wireless communication method; the delay of the second wireless communication method is smaller than that of the first wireless communication method.
  • the target data includes video stream data; determining key data included in the target data based on data characteristics of the target data includes:
  • the image data corresponding to the key frame image is determined as the key data.
  • the target data includes control instruction data; and determining the key data included in the target data based on the data characteristics of the target data includes:
  • the control instruction data included in the target data is determined as the key data.
  • the method described in the present disclosure further includes:
  • Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
  • the method described in the present disclosure further includes:
  • a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
  • the sub-data is sent to the second terminal through a second wireless communication method.
  • the method described in the present disclosure further includes:
  • the first wireless communication method includes WiFi communication method
  • the second wireless communication method includes UWB communication method.
  • embodiments of the present disclosure provide a data communication device, applied to a first terminal, and the device includes:
  • a key data determination module configured to respond to the first terminal sending the target data to the second terminal through the first wireless communication method, and determine the key data included in the target data based on the data characteristics of the target data;
  • the sending module is configured to send the key data to the second terminal through a second wireless communication method; the delay of the second wireless communication method is less than the first wireless communication method.
  • the target data includes video stream data; the key data determination module is configured to:
  • the image data corresponding to the key frame image is determined as the key data.
  • the target data includes control instruction data; the key data determination module is configured to:
  • the control instruction data included in the target data is determined as the key data.
  • the sending module is configured as:
  • Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
  • the sending module is configured as:
  • a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
  • the sub-data is sent to the second terminal through a second wireless communication method.
  • the first wireless communication method includes WiFi communication method
  • the second wireless communication method includes UWB communication method
  • an electronic device including:
  • a first communication module configured to establish a communicable connection in the first wireless communication mode with an external device
  • a second communication module configured to establish a communicable connection in the second wireless communication mode with an external device
  • a memory stores computer instructions for causing the processor to execute the method according to any implementation manner of the first aspect.
  • embodiments of the present disclosure provide a data communication system, including:
  • the first terminal is an electronic device according to any implementation manner of the third aspect.
  • the second terminal establishes a communicable connection with the first terminal through the first wireless communication method and the second wireless communication method.
  • the first terminal includes a mobile terminal
  • the second terminal includes a virtual reality device.
  • the first terminal includes an imaging device and the second terminal includes a mobile terminal.
  • an embodiment of the present disclosure provides a storage medium that stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
  • the data communication method in the embodiment of the present disclosure includes: in response to the first terminal sending target data to the second terminal through the first wireless communication method, determining the key data included in the target data based on the data characteristics of the target data, and sending the target data to the second terminal through the second wireless communication method.
  • the second terminal sends key data, and the delay of the second wireless communication method is smaller than that of the first wireless communication method.
  • a second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, thereby improving the data communication effect and ensuring the stability and reliability of data transmission.
  • Figure 1 is a schematic diagram of a data communications system in accordance with some embodiments of the present disclosure.
  • Figure 2 is a schematic diagram of a data communications system in accordance with some embodiments of the present disclosure.
  • Figure 3 is a flowchart of a data communication method according to some embodiments of the present disclosure.
  • Figure 4 is a structural block diagram of a data communication system according to some embodiments of the present disclosure.
  • Figure 5 is a flowchart of a data communication method according to some embodiments of the present disclosure.
  • Figure 6 is a flowchart of a data communication method according to some embodiments of the present disclosure.
  • Figure 7 is a structural block diagram of a data communication device according to some embodiments of the present disclosure.
  • Figure 8 is a structural block diagram of an electronic device according to some embodiments of the present disclosure.
  • Figure 9 is a structural block diagram of an electronic device according to some embodiments of the present disclosure.
  • smartphones can establish wireless communication connections with wearable devices such as headphones and watches through Bluetooth connections; for example, smartphones can establish wireless communication connections with tablets, laptops and other devices through Wireless Fidelity connections. Communication connection.
  • a smartphone and an external device establish a wireless communication connection through a WiFi connection.
  • relevant data is transmitted through the WiFi working frequency band, such as 2.4GHz.
  • the WiFi communication method has poor anti-interference ability.
  • the communication delay between electronic devices and external devices through WiFi is high, resulting in data transmission lags and even crashes in severe cases.
  • the external device is a virtual reality device worn by the user on the head, such as an AR (Augmented Reality, augmented reality) or VR (Virtual Reality, virtual reality) device.
  • the virtual reality device establishes a communication connection with the smartphone through WiFi communication.
  • the virtual reality device receives the image data sent by the smartphone and displays the virtual image on its own display screen.
  • WiFi channels are easily occupied by interfering signals, resulting in high image data transmission delays.
  • the images viewed by users are significantly delayed or even stuck, resulting in poor user experience.
  • the external device is a small camera
  • the camera establishes a communication connection with the smartphone through WiFi communication.
  • the image data collected by the camera through the image sensor is sent to the smartphone frame by frame.
  • the smartphone processes the image data based on the imaging algorithm, it returns control data to the camera so that the camera can adjust the relevant parameters for imaging.
  • WiFi channels are easily occupied by interfering signals, resulting in high data transmission delays.
  • the shooting images seen by users on the camera are significantly delayed or even stuck, resulting in a poor user experience.
  • embodiments of the present disclosure provide a data communication method, device, electronic equipment, data communication system and storage medium, aiming to improve the wireless communication effect and meet the application needs of various scenarios.
  • inventions of the present disclosure provide a data communication method, which method can be applied to a first terminal.
  • the first terminal can be any device type suitable for implementation, such as a mobile terminal such as a smart phone or a tablet computer.
  • a mobile terminal such as a smart phone or a tablet computer.
  • Wearable devices such as smart watches and head-mounted devices; and terminal devices such as personal computers, are not limited by this disclosure.
  • first terminal and the second terminal described in the embodiments of the present disclosure are only used to make a descriptive distinction between the two electronic devices, and do not specifically limit the difference in the types of the two electronic devices.
  • the same electronic device can be a "first terminal” when it is a data sender, and it can be a "second terminal” when it is a data receiver. This disclosure does not limit this.
  • Figure 1 shows an example scenario of the disclosed data communication system.
  • the first terminal 100 is a mobile terminal, such as a smartphone;
  • the second terminal 200 is a virtual reality device, such as AR glasses.
  • the basic process of communication between the first terminal 100 and the second terminal 200 is: AR glasses collect pose data in real time and send the pose data to the smartphone; the smartphone performs the following operations based on the pose data and the image data of the virtual object.
  • the imaging data is obtained through fusion processing, and the imaging data is sent to the AR glasses frame by frame; the AR glasses display virtual objects on the glasses in real time based on the imaging data.
  • Figure 2 shows another example scenario of the disclosed data communication system.
  • the first terminal 100 is an imaging device, such as a camera
  • the second terminal 200 is a mobile terminal, such as a smartphone.
  • the basic process of communication between the first terminal 100 and the second terminal 200 is: the camera collects image data in real time and sends the image data to the smartphone frame by frame; the smartphone analyzes the image data frame by frame based on the imaging algorithm (such as the 3A algorithm).
  • the frames are processed to obtain the control instruction data, and the control instruction data is sent to the camera; the camera adjusts the camera parameters corresponding to each frame of image in real time based on the control instruction data, and displays the shooting image on the display screen in real time.
  • the smartphone can serve as either the first terminal or the second terminal, and this disclosure does not limit this.
  • the first terminal 100 and the second terminal 200 can generally use WiFi communication to realize data interaction. This is because the video stream data often has a large amount of data, especially for high-resolution video stream data. , and WiFi communication has high data throughput, which can meet the needs of the above example scenarios.
  • WiFi communication has poor anti-interference ability and high latency.
  • the first terminal 100 uses WiFi communication to send image data frame by frame to the second terminal 200, if there is a lag, the virtual object on the AR glasses will not be able to follow the human body posture in real time, or even Completely stuck.
  • the first terminal 100 uses WiFi communication to send image data frame by frame to the second terminal 200, if there is a freeze, the picture presented on the camera will be greatly delayed, or even completely freeze. .
  • the second wireless communication method is used to assist the first wireless communication method to achieve low latency of key data. transmission to ensure the reliability of data communication in complex communication scenarios. The following description will be made with reference to the embodiment of FIG. 3 .
  • the data communication method of the present disclosure includes:
  • the first terminal 100 includes a first communication module 110 and a second communication module 120
  • the second terminal 200 includes a first communication module 210 and a second communication module 220 .
  • the first terminal 100 establishes a first wireless communication connection with the first communication module 210 of the second terminal 200 through the first communication module 110 .
  • the first terminal 100 establishes a second wireless communication connection with the second communication module 220 of the second terminal 200 through the second communication module 120.
  • the communication delay of the second wireless communication connection is smaller than the first wireless communication method.
  • the first wireless communication connection may be a WiFi communication connection
  • the second wireless communication connection may be an ultra-wideband UWB (Ultra Wideband) communication connection.
  • WiFi communication has the advantage of high data throughput, but its anti-interference ability is poor. In scenarios with complex communication environments, data transmission delays are high.
  • UWB Ultra Wideband
  • UWB Ultra Wideband
  • UWB communication module data currently on the market The throughput and bandwidth are limited, making it difficult to implement in scenarios with large amounts of data such as video streaming. Therefore, in the example of the present disclosure, the second wireless communication method with low delay can be used to assist the first wireless communication method with higher delay in data transmission.
  • the key data included in the target data can be determined based on the data characteristics of the target data.
  • the target data refers to relevant data that the first terminal 100 desires to send to the second terminal 200, such as video stream data.
  • the data characteristics of the target data refer to characteristic signals that can identify the target data type, such as timing signals of video stream data (frame start signal, frame end signal, etc.).
  • the target data is divided into key data and non-key data.
  • Key data is a part of the target data with higher priority.
  • the target data takes video stream data as an example.
  • the video stream data includes image data frame by frame.
  • Some images in the video stream data can be defined as key frame images, and the image data corresponding to the key frame images is Key data, and the data corresponding to other non-key frame images is non-key data.
  • the target data is data containing control instructions.
  • the control instruction data is used to control the device, and therefore has a higher priority than other non-control data.
  • the target data sent by the mobile terminal to the smart home includes control instruction data and image data.
  • the control instruction data is used to control the smart home, while the image data is used to present animation effects on the smart home.
  • the control instruction data has a higher priority than the image data, so the control instruction data is critical data and the image data is non-critical data.
  • key data included in the target data can be determined based on the data characteristics of the target data. This disclosure will be described in detail below and will not be described in detail here.
  • the key data represents data with a higher priority
  • the second wireless communication method is a communication method with a lower delay
  • the key data can be sent using the second wireless communication method. That is, the first terminal 100 sends key data to the second terminal 200 through the second wireless communication method. In addition, for non-critical data, the first terminal 100 can send it to the second terminal 200 through the first wireless communication method.
  • the smartphone sends video stream data to the AR glasses.
  • Some images in the video stream data can be used as key frame images.
  • every fifth frame image can be used as a key frame image.
  • the corresponding image Data is key data. That is to say, in the process of sending video stream data frame by frame, the smartphone sends the key frame data of every 5 frames to the AR glasses using the UWB method with low latency, and sends other non-key frame data to the AR glasses using the WiFi method. AR glasses.
  • the WiFi communication method is interfered with and freezes or even completely freezes, it can at least ensure that the key frame data can be transmitted reliably, and the AR effect viewed by the user can be maintained at basic fluency, improving the data communication effect.
  • the second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, improve the data communication effect, and ensure the stability and reliability of data transmission.
  • the first wireless communication method and the second wireless communication method can be any wireless communication method suitable for implementation, as long as the communication of the second wireless communication method is ensured. It suffices that the delay is less than the first wireless communication method.
  • the first wireless communication method can be any one of WiFi, Bluetooth, UWB, and cellular networks
  • the second wireless communication method can also be any one of WiFi, Bluetooth, UWB, and cellular networks, as long as It is sufficient to ensure that the communication delay of the second wireless communication method is smaller than the first wireless communication method.
  • the first wireless communication method is WiFi communication and the second wireless communication method is UWB communication as an example for description.
  • WiFi communication has the advantage of high data throughput, but is susceptible to interference and has high delay.
  • UWB communication has the advantages of strong anti-interference ability and low delay, but the data throughput is low. Therefore, in the following embodiments of the present disclosure, UWB communication is used to assist WiFi communication, key data with a small amount of data is transmitted through UWB communication, and non-critical data with a large amount of data is transmitted using WiFi communication. This combines the advantages of both to ensure low-latency and highly reliable transmission of key data and is suitable for communication scenarios with large amounts of data.
  • the target data takes video stream data as an example to describe the data communication method in the embodiments of the present disclosure.
  • the process of determining key data in the target data includes:
  • the video stream data includes frame image data arranged in time series, and each frame image corresponds to one piece of image data.
  • the frame image sequence included in the video stream data can be determined by detecting image sequence features in the video stream data.
  • the image sequence feature represents the temporal characteristics of the frame image.
  • the image data of each frame image includes a frame start signal, a frame end signal, etc. These signals can reflect the temporal continuity of each frame image. Therefore, in the embodiment of the present disclosure, the image data of each frame of image can be divided by detecting the timing signal included in the image data of each frame of image, thereby determining the sequence of frame images included in the video stream data.
  • some frame images can be determined as key frame images from the frame image sequence based on preset key frame rules.
  • the key frame rule can be a key frame extraction rule set according to specific scene requirements.
  • the key frame rule is "extract an image every n frames as a key frame.” Therefore, each frame of the frame image sequence can be The images are counted. When the corresponding serial numbers of the images are 1, n, 2n, 3n..., these frame images are determined as key frame images.
  • the image data corresponding to these key frame images is the key data. For frame images other than key frame images, they are non-key frame images, and their corresponding image data is non-key frame data.
  • the video stream data collected by the camera in real time is the target data.
  • the camera needs to send the video stream data to the mobile phone frame by frame through WiFi communication.
  • the camera can determine the frame image sequence by detecting timing signals (such as frame start signals) in the video stream data, and then count the image data of the currently sent frame image in real time.
  • the current frame image is determined to be a key frame image, and its corresponding image data is the key data, so that the UWB communication method is used to send the image data of the frame image.
  • the value of the currently sent frame image does not comply with the key frame rules, it is determined that the current frame image is not a key frame image, that is, it is enough to keep sending in the WiFi communication mode.
  • the WiFi communication method is interfered with, and the data transmission of non-key frame images may be delayed or stuck.
  • the UWB communication method will not be interfered, at least the key frames can be guaranteed.
  • Image data is sent to the mobile phone in real time. As a result, the video stream seen by the user can maintain basic smoothness and alleviate the problems of delays, freezes, or even complete freezes.
  • the target data takes transmission data including control instruction data as an example to describe the data communication method in the embodiments of the present disclosure.
  • the data communication method of the present disclosure example and the process of determining key data in the target data include:
  • control instruction data included in the target data is determined as key data.
  • the first terminal 100 is a smartphone and the second terminal 200 is a smart home.
  • the target data sent by the mobile phone to the smart home includes: control instruction data and image data.
  • the control instruction data is data related to controlling the work of the smart home, while the image data is the animation effect data displayed on the smart home.
  • real-time control of smart homes has a higher priority than animation effect display, that is, the transmission of control instruction data has higher delay requirements than the transmission of image data.
  • the mobile phone when the mobile phone sends target data to the smart home through WiFi communication, the mobile phone can detect the data characteristics of the target data, such as detecting the instruction signal in the target data, and determine the detected control instruction data as the key data, thereby using UWB communication method to send the control instruction data to the smart home. For image data, just continue to send it via WiFi communication.
  • the WiFi communication method is interfered with, and image data transmission may be delayed or stuck.
  • the UWB communication method since the UWB communication method will not be interfered, it can at least ensure that the control command data is sent to in real time. Smart home, thereby realizing real-time control of smart home and alleviating the problems of delay, lag, and even control failure.
  • the target data sent by the first terminal 100 includes both video stream data and control instruction data, so that the key frame image data and the control instruction data can be combined.
  • the control command data are all determined as key data and sent using UWB communication method.
  • the receiver device when the sender device sends data to the receiver device, the receiver device will return the response signal ACK (Acknowledge character) to the sender device after successfully receiving the data. , indicating that the sent data has been successfully received.
  • the sender device can determine whether a certain data is successfully sent by detecting the response signal ACK. If the response signal is not received, the data needs to be sent to the receiver device again.
  • the second wireless communication method when the first terminal 100 sends data through the first wireless communication method, if a certain sub-data does not receive a response signal returned by the second terminal 200 after sending it, the second wireless communication method can be used to send the sub-data again. subdata.
  • the data communication method of the present disclosure also includes:
  • the target data when the target data is sent, the sub-data are sent one by one in time sequence, that is, the target data includes multiple sub-data.
  • the first terminal 100 sends sub-data one by one to the second terminal 200 through WiFi communication.
  • the second terminal 200 will send the sub-data to the first terminal 100 after successfully receiving the sub-data.
  • a response signal ACK is returned, which indicates that the second terminal 200 successfully receives the feedback signal of the sub-data.
  • the UWB communication method can be used to send the sub-data again, and the WiFi communication method can continue to send the next sub-data.
  • the WiFi data communication process can be kept uninterrupted and the communication efficiency can be improved.
  • UWB can be used to send it again to improve the success rate and further ensure the high reliability of communication.
  • inventions of the present disclosure provide a data communication device, which can be applied to a first terminal.
  • the first terminal can be any device type suitable for implementation, such as a mobile terminal such as a smart phone or a tablet computer.
  • a mobile terminal such as a smart phone or a tablet computer.
  • Wearable devices such as smart watches and head-mounted devices; and terminal devices such as personal computers, are not limited by this disclosure.
  • the data communication device of the present disclosure includes:
  • the key data determination module 10 is configured to respond to the first terminal sending target data to the second terminal through the first wireless communication method, and determine the key data included in the target data based on the data characteristics of the target data;
  • the sending module 20 is configured to send the key data to the second terminal through a second wireless communication method; the time delay of the second wireless communication method is smaller than that of the first wireless communication method.
  • the second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, improve the data communication effect, and ensure the stability and reliability of data transmission.
  • the target data includes video stream data; the key data determination module 10 is configured to:
  • the image data corresponding to the key frame image is determined as the key data.
  • the target data includes control instruction data; the key data determination module 10 is configured to:
  • the control instruction data included in the target data is determined as the key data.
  • the sending module 20 is configured to:
  • Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
  • the sending module 20 is configured to:
  • a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
  • the sub-data is sent to the second terminal through a second wireless communication method.
  • an electronic device including:
  • a first communication module configured to establish a communicable connection in the first wireless communication mode with an external device
  • a second communication module configured to establish a communicable connection in the second wireless communication mode with an external device
  • a memory stores computer instructions for causing the processor to execute the method according to any implementation manner of the first aspect.
  • the electronic device may be the first terminal 100 described in any of the foregoing embodiments. Those skilled in the art can understand and fully implement it by referring to the foregoing embodiments, and will not be described again.
  • the first communication module is a WiFi communication module and the second communication module is a UWB communication module as an example. Considering that some electronic devices do not have UWB communication modules, especially some older devices that were launched earlier, There is no built-in UWB communication module.
  • the second communication module can be configured as a plug-in structure, that is, the second communication module can be pluggably connected through the data interface on the electronic device.
  • the electronic device of the present disclosure can also be implemented. Equipment and data communications methods.
  • the second communication module has an independent hardware structure, that is, it is installed separately from the electronic device.
  • the second communication module can establish a communicable connection with the electronic device through a data interface on the electronic device.
  • the data interface of the electronic device is a USB-C data interface, so the second communication module can be provided with a USB-C data plug accordingly, that is, the two establish a data communication connection through the USB-C protocol.
  • the plug-in second communication module is used to connect to the electronic device, so that the disclosed method can be implemented on, for example, a mobile terminal without a UWB module, thereby improving the scalability of the disclosed method.
  • embodiments of the present disclosure provide a data communication system, including:
  • the first terminal is an electronic device according to any implementation manner of the third aspect.
  • the second terminal establishes a communicable connection with the first terminal through the first wireless communication method and the second wireless communication method.
  • the first terminal includes a mobile terminal
  • the second terminal includes a virtual reality device.
  • the first terminal includes an imaging device and the second terminal includes a mobile terminal.
  • an embodiment of the present disclosure provides a storage medium that stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
  • Figure 9 shows a structural block diagram of a mobile terminal in some embodiments of the present disclosure. The relevant principles of the mobile terminal and storage media in some embodiments of the present disclosure will be described below with reference to Figure 9 .
  • the mobile terminal 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1816, and communications component 1818.
  • a processing component 1802 a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1816, and communications component 1818.
  • the processing component 1802 generally controls the overall operations of the mobile terminal 1800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • Processing component 1802 may include one or more processors 1820 to execute instructions.
  • processing component 1802 may include one or more modules that facilitate interaction between processing component 1802 and other components.
  • processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802.
  • the processing component 1802 can read executable instructions from the memory to implement mobile terminal related functions.
  • the memory 1804 is configured to store various types of data to support operations at the mobile terminal 1800 . Examples of these data include instructions for any application or method operating on the mobile terminal 1800, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 1804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory
  • flash memory magnetic or optical disk.
  • Power supply component 1806 provides power to various components of mobile terminal 1800.
  • Power supply component 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to mobile terminal 1800.
  • Multimedia component 1808 includes a display screen that provides an output interface between the mobile terminal 1800 and the user.
  • multimedia component 1808 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 1810 is configured to output and/or input audio signals.
  • the audio component 1810 includes a microphone (MIC) configured to receive external audio signals when the mobile terminal 1800 is in operating modes, such as call mode, recording mode, and voice recognition mode.
  • the received audio signals may be further stored in memory 1804 or sent via communications component 1818 .
  • audio component 1810 includes a speaker for outputting audio signals.
  • the I/O interface 1812 provides an interface between the processing component 1802 and a peripheral interface module.
  • the peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 1816 includes one or more sensors for providing various aspects of status assessment for mobile terminal 1800 .
  • the sensor component 1816 can detect the open/closed state of the mobile terminal 1800 and the relative positioning of components, such as the display and keypad of the mobile terminal 1800.
  • the sensor component 1816 can detect the mobile terminal 1800 or a component of the mobile terminal 1800.
  • the position changes, the presence or absence of user contact with the mobile terminal 1800, the orientation or acceleration/deceleration of the mobile terminal 1800 and the temperature change of the mobile terminal 1800.
  • Sensor component 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor component 1816 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1816 may include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 1818 is configured to facilitate wired or wireless communication between the mobile terminal 1800 and other devices.
  • the mobile terminal 1800 can access a wireless network based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G or 6G, or a combination thereof.
  • communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
  • the communications component 1818 includes a near field communications (NFC) module to facilitate short-range communications.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the mobile terminal 1800 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Programmed gate array
  • controller microcontroller, microprocessor or other electronic component implementation.

Landscapes

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

Abstract

The present disclosure relates to the technical field of electronic communication, and in particular provides a data communication method and apparatus, an electronic device and a data communication system. A data communication method is applied to a first terminal and comprises: in response to the first terminal sending target data to a second terminal by means of first wireless communication, determining key data comprised in the target data on the basis of data features of the target data; and sending the key data to the second terminal by means of second wireless communication, wherein a delay during the second wireless communication is less than a delay during the first wireless communication. In embodiments of the present disclosure, the second wireless communication having a relatively low delay is used to assist the first wireless communication so as to realize data communication, so that the data communication effect is improved, and the stability and reliability of data transmission are ensured.

Description

数据通信方法、装置、电子设备以及数据通信系统Data communication method, device, electronic equipment and data communication system 技术领域Technical field
本公开涉及电子通信技术领域,具体涉及一种数据通信方法、装置、电子设备以及数据通信系统。The present disclosure relates to the field of electronic communication technology, and specifically to a data communication method, device, electronic equipment and data communication system.
背景技术Background technique
随着无线通信技术的发展,目前各类型的电子设备大多可以通过无线通信的方式与外部设备建立无线通信连接,常见的无线通信方式例如可包括WiFi(wireless fidelity,无线保真)、蓝牙、NFC(Near Field Communication,近场通信)等。但是,相关技术中,电子设备与外部设备的无线数据通信效果不佳,导致数据通信出现高延时或卡顿。With the development of wireless communication technology, most current types of electronic devices can establish wireless communication connections with external devices through wireless communication. Common wireless communication methods include WiFi (wireless fidelity), Bluetooth, and NFC. (Near Field Communication, near field communication), etc. However, in related technologies, wireless data communication between electronic devices and external devices is not effective, resulting in high delays or freezes in data communication.
发明内容Contents of the invention
为提高无线通信效果,本公开实施方式提供了一种数据通信方法、装置、电子设备、数据通信系统以及存储介质。In order to improve the wireless communication effect, embodiments of the present disclosure provide a data communication method, device, electronic equipment, data communication system and storage medium.
第一方面,本公开实施方式提供了一种数据通信方法,应用于第一终端,所述方法包括:In a first aspect, embodiments of the present disclosure provide a data communication method, applied to a first terminal, and the method includes:
响应于所述第一终端通过第一无线通信方式向第二终端发送目标数据,基于所述目标数据的数据特征,确定所述目标数据包括的关键数据;In response to the first terminal sending target data to the second terminal through the first wireless communication method, determining key data included in the target data based on data characteristics of the target data;
通过第二无线通信方式向所述第二终端发送所述关键数据;所述第二无线通信方式的时延小于所述第一无线通信方式。The key data is sent to the second terminal through a second wireless communication method; the delay of the second wireless communication method is smaller than that of the first wireless communication method.
在一些实施方式中,所述目标数据包括视频流数据;所述基于所述目标数据的数据特征,确定所述目标数据包括的关键数据,包括:In some implementations, the target data includes video stream data; determining key data included in the target data based on data characteristics of the target data includes:
基于所述视频流数据的图像序列特征,确定所述视频流数据的帧图像序列;Based on the image sequence characteristics of the video stream data, determine the frame image sequence of the video stream data;
基于预设的关键帧规则,确定所述帧图像序列中的关键帧图像;Determine key frame images in the frame image sequence based on preset key frame rules;
将所述关键帧图像对应的图像数据,确定为所述关键数据。The image data corresponding to the key frame image is determined as the key data.
在一些实施方式中,所述目标数据包括控制指令数据;所述基于所述目标数据的数据特征,确定所述目标数据包括的关键数据,包括:In some embodiments, the target data includes control instruction data; and determining the key data included in the target data based on the data characteristics of the target data includes:
基于所述目标数据的数据特征,将所述目标数据包括的所述控制指令数据确定为所述关键数据。Based on the data characteristics of the target data, the control instruction data included in the target data is determined as the key data.
在一些实施方式中,本公开所述的方法,还包括:In some embodiments, the method described in the present disclosure further includes:
通过所述第一无线通信方式向所述第二终端发送非关键数据,所述非关键数据是所述目标数据中除所述关键数据之外的数据。Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
在一些实施方式中,本公开所述的方法,还包括:In some embodiments, the method described in the present disclosure further includes:
在通过所述第一无线通信方式向所述第二终端发送所述目标数据的过程中,检测所述目标数据的每个子数据对应的响应信号;所述响应信号是表示所述第二终端成功接收到所述子数据的反馈信号;In the process of sending the target data to the second terminal through the first wireless communication method, a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
响应于未检测到所述子数据的响应信号,通过第二无线通信方式向所述第二终端发送所述子数据。In response to a response signal that the sub-data is not detected, the sub-data is sent to the second terminal through a second wireless communication method.
在一些实施方式中,本公开所述的方法,还包括:In some embodiments, the method described in the present disclosure further includes:
所述第一无线通信方式包括WiFi通信方式,所述第二无线通信方式包括UWB通信方式。The first wireless communication method includes WiFi communication method, and the second wireless communication method includes UWB communication method.
第二方面,本公开实施方式提供了一种数据通信装置,应用于第一终端,所述装置包括:In a second aspect, embodiments of the present disclosure provide a data communication device, applied to a first terminal, and the device includes:
关键数据确定模块,被配置为响应于所述第一终端通过第一无线通信方式向第二终端发送目标数据,基于所述目标数据的数据特征,确定所述目标数据包括的关键数据;A key data determination module configured to respond to the first terminal sending the target data to the second terminal through the first wireless communication method, and determine the key data included in the target data based on the data characteristics of the target data;
发送模块,被配置为通过第二无线通信方式向所述第二终端发送所述关键数据;所述第二无线通信方式的时延小于所述第一无线通信方式。The sending module is configured to send the key data to the second terminal through a second wireless communication method; the delay of the second wireless communication method is less than the first wireless communication method.
在一些实施方式中,所述目标数据包括视频流数据;所述关键数据确定模块,被配置为:In some implementations, the target data includes video stream data; the key data determination module is configured to:
基于所述视频流数据的图像序列特征,确定所述视频流数据的帧图像序列;Based on the image sequence characteristics of the video stream data, determine the frame image sequence of the video stream data;
基于预设的关键帧规则,确定所述帧图像序列中的关键帧图像;Determine key frame images in the frame image sequence based on preset key frame rules;
将所述关键帧图像对应的图像数据,确定为所述关键数据。The image data corresponding to the key frame image is determined as the key data.
在一些实施方式中,所述目标数据包括控制指令数据;所述关键数据 确定模块,被配置为:In some implementations, the target data includes control instruction data; the key data determination module is configured to:
基于所述目标数据的数据特征,将所述目标数据包括的所述控制指令数据确定为所述关键数据。Based on the data characteristics of the target data, the control instruction data included in the target data is determined as the key data.
在一些实施方式中,所述发送模块,被配置为:In some implementations, the sending module is configured as:
通过所述第一无线通信方式向所述第二终端发送非关键数据,所述非关键数据是所述目标数据中除所述关键数据之外的数据。Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
在一些实施方式中,所述发送模块,被配置为:In some implementations, the sending module is configured as:
在通过所述第一无线通信方式向所述第二终端发送所述目标数据的过程中,检测所述目标数据的每个子数据对应的响应信号;所述响应信号是表示所述第二终端成功接收到所述子数据的反馈信号;In the process of sending the target data to the second terminal through the first wireless communication method, a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
响应于未检测到所述子数据的响应信号,通过第二无线通信方式向所述第二终端发送所述子数据。In response to a response signal that the sub-data is not detected, the sub-data is sent to the second terminal through a second wireless communication method.
在一些实施方式中,所述第一无线通信方式包括WiFi通信方式,所述第二无线通信方式包括UWB通信方式。In some implementations, the first wireless communication method includes WiFi communication method, and the second wireless communication method includes UWB communication method.
第三方面,本公开实施方式提供了一种电子设备,包括:In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
第一通信模块,用于与外部设备建立第一无线通信方式的可通信连接;A first communication module, configured to establish a communicable connection in the first wireless communication mode with an external device;
第二通信模块,用于与外部设备建立第二无线通信方式的可通信连接;a second communication module, configured to establish a communicable connection in the second wireless communication mode with an external device;
处理器;以及processor; and
存储器,存储有计算机指令,所述计算机指令用于使所述处理器执行根据第一方面任意实施方式所述的方法。A memory stores computer instructions for causing the processor to execute the method according to any implementation manner of the first aspect.
第四方面,本公开实施方式提供了一种数据通信系统,包括:In a fourth aspect, embodiments of the present disclosure provide a data communication system, including:
第一终端,为根据第三方面任意实施方式所述的电子设备;和The first terminal is an electronic device according to any implementation manner of the third aspect; and
第二终端,通过第一无线通信方式和第二无线通信方式与所述第一终端建立可通信连接。The second terminal establishes a communicable connection with the first terminal through the first wireless communication method and the second wireless communication method.
在一些实施方式中,所述第一终端包括移动终端,所述第二终端包括虚拟现实设备。In some implementations, the first terminal includes a mobile terminal, and the second terminal includes a virtual reality device.
在一些实施方式中,所述第一终端包括成像设备,所述第二终端包括移动终端。In some embodiments, the first terminal includes an imaging device and the second terminal includes a mobile terminal.
第五方面,本公开实施方式提供了一种存储介质,存储有计算机指令,所述计算机指令用于使计算机执行根据第一方面任意实施方式所述的方法。In a fifth aspect, an embodiment of the present disclosure provides a storage medium that stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
本公开实施方式的数据通信方法,包括响应于第一终端通过第一无线通信方式向第二终端发送目标数据,基于目标数据的数据特征确定目标数据包括的关键数据,通过第二无线通信方式向第二终端发送关键数据,第二无线通信方式的时延小于第一无线通信方式。本公开实施方式中,利用较低延时的第二无线通信方式辅助第一无线通信方式实现数据通信,提高数据通信效果,保证数据传输的稳定性和可靠性。The data communication method in the embodiment of the present disclosure includes: in response to the first terminal sending target data to the second terminal through the first wireless communication method, determining the key data included in the target data based on the data characteristics of the target data, and sending the target data to the second terminal through the second wireless communication method. The second terminal sends key data, and the delay of the second wireless communication method is smaller than that of the first wireless communication method. In the embodiment of the present disclosure, a second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, thereby improving the data communication effect and ensuring the stability and reliability of data transmission.
附图说明Description of the drawings
为了更清楚地说明本公开具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description The drawings illustrate some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1是根据本公开一些实施方式中数据通信系统的示意图。Figure 1 is a schematic diagram of a data communications system in accordance with some embodiments of the present disclosure.
图2是根据本公开一些实施方式中数据通信系统的示意图。Figure 2 is a schematic diagram of a data communications system in accordance with some embodiments of the present disclosure.
图3是根据本公开一些实施方式中数据通信方法的流程图。Figure 3 is a flowchart of a data communication method according to some embodiments of the present disclosure.
图4是根据本公开一些实施方式中数据通信系统的结构框图。Figure 4 is a structural block diagram of a data communication system according to some embodiments of the present disclosure.
图5是根据本公开一些实施方式中数据通信方法的流程图。Figure 5 is a flowchart of a data communication method according to some embodiments of the present disclosure.
图6是根据本公开一些实施方式中数据通信方法的流程图。Figure 6 is a flowchart of a data communication method according to some embodiments of the present disclosure.
图7是根据本公开一些实施方式中数据通信装置的结构框图。Figure 7 is a structural block diagram of a data communication device according to some embodiments of the present disclosure.
图8是根据本公开一些实施方式中电子设备的结构框图。Figure 8 is a structural block diagram of an electronic device according to some embodiments of the present disclosure.
图9是根据本公开一些实施方式中电子设备的结构框图。Figure 9 is a structural block diagram of an electronic device according to some embodiments of the present disclosure.
具体实施方式Detailed ways
下面将结合附图对本公开的技术方案进行清楚、完整地描述,显然,所描述的实施方式是本公开一部分实施方式,而不是全部的实施方式。基于本公开中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都属于本公开保护的范围。此外,下面所描述的本 公开不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。The technical solution of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, but not all of them. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this disclosure. In addition, the technical features involved in different embodiments of the present disclosure described below can be combined with each other as long as they do not conflict with each other.
目前,大多数电子设备可以通过无线通信的方式与其他电子设备建立无线通信连接,实现数据的无线通信。例如,智能手机可通过蓝牙连接的方式与耳机、手表等穿戴设备建立无线通信连接;又例如,智能手机可通过无线保真WiFi(Wireless Fidelity)连接的方式与平板电脑、笔记本电脑等设备建立无线通信连接。Currently, most electronic devices can establish wireless communication connections with other electronic devices through wireless communication to achieve wireless communication of data. For example, smartphones can establish wireless communication connections with wearable devices such as headphones and watches through Bluetooth connections; for example, smartphones can establish wireless communication connections with tablets, laptops and other devices through Wireless Fidelity connections. Communication connection.
相关技术中,电子设备与外部设备进行无线数据通信时,往往只能利用同一种通信方式进行数据传输。例如,智能手机与外部设备通过WiFi连接方式建立无线通信连接,从而手机与外部设备进行数据传输时,通过WiFi的工作频段例如2.4GHz传输相关数据。In related technologies, when electronic devices communicate with external devices wirelessly, they often can only use the same communication method for data transmission. For example, a smartphone and an external device establish a wireless communication connection through a WiFi connection. When the mobile phone and the external device transmit data, relevant data is transmitted through the WiFi working frequency band, such as 2.4GHz.
但是,WiFi通信方式抗干扰能力较差,在通信环境复杂的场景中,电子设备与外部设备通过WiFi通信延时较高,导致数据传输出现卡顿,严重时甚至导致死机。However, the WiFi communication method has poor anti-interference ability. In scenarios with complex communication environments, the communication delay between electronic devices and external devices through WiFi is high, resulting in data transmission lags and even crashes in severe cases.
例如一个示例场景中,外部设备为用户佩戴于头部的虚拟现实设备,例如AR(Augmented Reality,增强现实)或VR(Virtual Reality,虚拟现实)设备。虚拟现实设备通过WiFi通信方式与智能手机建立通信连接,虚拟现实设备接收智能手机发送的图像数据从而在自身的显示屏上展示虚拟图像。在WiFi通信环境复杂的场景,WiFi信道容易被干扰信号占用,导致图像数据传输延时较高,从而用户观看到的画面存在明显延时甚至卡顿,用户体验较差。For example, in an example scenario, the external device is a virtual reality device worn by the user on the head, such as an AR (Augmented Reality, augmented reality) or VR (Virtual Reality, virtual reality) device. The virtual reality device establishes a communication connection with the smartphone through WiFi communication. The virtual reality device receives the image data sent by the smartphone and displays the virtual image on its own display screen. In scenarios with complex WiFi communication environments, WiFi channels are easily occupied by interfering signals, resulting in high image data transmission delays. As a result, the images viewed by users are significantly delayed or even stuck, resulting in poor user experience.
例如另一个示例场景中,外部设备为小型相机,相机通过WiFi通信方式与智能手机建立通信连接。相机通过图像传感器采集的图像数据逐帧发送至智能手机,智能手机基于成像算法对图像数据进行处理之后,向相机返回控制数据,以使相机对调整相关参数成像。在WiFi通信环境复杂的场景,WiFi信道容易被干扰信号占用,导致数据传输延时较高,从而用户在相机上看到的拍摄画面存在明显延时甚至卡顿,用户体验较差。For example, in another example scenario, the external device is a small camera, and the camera establishes a communication connection with the smartphone through WiFi communication. The image data collected by the camera through the image sensor is sent to the smartphone frame by frame. After the smartphone processes the image data based on the imaging algorithm, it returns control data to the camera so that the camera can adjust the relevant parameters for imaging. In scenarios with complex WiFi communication environments, WiFi channels are easily occupied by interfering signals, resulting in high data transmission delays. As a result, the shooting images seen by users on the camera are significantly delayed or even stuck, resulting in a poor user experience.
通过上述示例可知,相关技术中的无线通信系统,数据通信的延时较高,导致应用效果较差,难以满足使用要求。It can be seen from the above examples that wireless communication systems in related technologies have high data communication delays, resulting in poor application effects and difficulty in meeting usage requirements.
基于上述相关技术中存在的缺陷,本公开实施方式提供了一种数据通信方法、装置、电子设备、数据通信系统以及存储介质,旨在提高无线通信效 果,满足各种场景的应用需求。Based on the deficiencies in the above related technologies, embodiments of the present disclosure provide a data communication method, device, electronic equipment, data communication system and storage medium, aiming to improve the wireless communication effect and meet the application needs of various scenarios.
第一方面,本公开实施方式提供了一种数据通信方法,该方法可应用于第一终端,第一终端可以是任何适于实施的设备类型,例如智能手机、平板电脑等移动终端,又例如智能手表、头戴设备等穿戴式设备;再例如个人电脑等终端设备,本公开对此不作限制。In a first aspect, embodiments of the present disclosure provide a data communication method, which method can be applied to a first terminal. The first terminal can be any device type suitable for implementation, such as a mobile terminal such as a smart phone or a tablet computer. For example, Wearable devices such as smart watches and head-mounted devices; and terminal devices such as personal computers, are not limited by this disclosure.
可以理解,本公开实施方式所述的第一终端和第二终端,仅用于对两个电子设备作表述上的区分,并不具体限制两者设备类型上的区别。例如,对于同一个电子设备,其作为数据发送方时可以是“第一终端”,而作为数据接收方时可以是“第二终端”,本公开对此不作限制。It can be understood that the first terminal and the second terminal described in the embodiments of the present disclosure are only used to make a descriptive distinction between the two electronic devices, and do not specifically limit the difference in the types of the two electronic devices. For example, the same electronic device can be a "first terminal" when it is a data sender, and it can be a "second terminal" when it is a data receiver. This disclosure does not limit this.
图1示出了本公开数据通信系统的一种示例场景。如图1所示,第一终端100为移动终端,例如智能手机;第二终端200为虚拟现实设备,例如AR眼镜。在本示例中,第一终端100与第二终端200通信的基本流程为:AR眼镜实时采集位姿数据,将位姿数据发送至智能手机;智能手机根据位姿数据和虚拟对象的图像数据进行融合处理得到成像数据,并将成像数据逐帧发送至AR眼镜;AR眼镜根据成像数据在眼镜上实时展示虚拟对象。Figure 1 shows an example scenario of the disclosed data communication system. As shown in Figure 1, the first terminal 100 is a mobile terminal, such as a smartphone; the second terminal 200 is a virtual reality device, such as AR glasses. In this example, the basic process of communication between the first terminal 100 and the second terminal 200 is: AR glasses collect pose data in real time and send the pose data to the smartphone; the smartphone performs the following operations based on the pose data and the image data of the virtual object. The imaging data is obtained through fusion processing, and the imaging data is sent to the AR glasses frame by frame; the AR glasses display virtual objects on the glasses in real time based on the imaging data.
图2示出了本公开数据通信系统的另一种示例场景。如图2所示,第一终端100为成像设备,例如相机;第二终端200为移动终端,例如智能手机。在本示例中,第一终端100与第二终端200通信的基本流程为:相机实时采集图像数据,将图像数据逐帧发送至智能手机;智能手机基于成像算法(例如3A算法)对图像数据逐帧进行处理,得到控制指令数据,并将控制指令数据发送至相机;相机基于控制指令数据实时调整每帧图像对应的相机参数,并在显示屏上实时展示拍摄画面。Figure 2 shows another example scenario of the disclosed data communication system. As shown in Figure 2, the first terminal 100 is an imaging device, such as a camera; the second terminal 200 is a mobile terminal, such as a smartphone. In this example, the basic process of communication between the first terminal 100 and the second terminal 200 is: the camera collects image data in real time and sends the image data to the smartphone frame by frame; the smartphone analyzes the image data frame by frame based on the imaging algorithm (such as the 3A algorithm). The frames are processed to obtain the control instruction data, and the control instruction data is sent to the camera; the camera adjusts the camera parameters corresponding to each frame of image in real time based on the control instruction data, and displays the shooting image on the display screen in real time.
可以理解,在上述两种示例场景中,智能手机既可以作为第一终端也可以作为第二终端,本公开对此不作限制。It can be understood that in the above two example scenarios, the smartphone can serve as either the first terminal or the second terminal, and this disclosure does not limit this.
传统技术中,对于上述示例场景,第一终端100与第二终端200一般可采用WiFi通信方式实现数据的交互,这是由于视频流数据往往数据量较大,尤其对于高分辨率的视频流数据,而WiFi通信具有很高的数据吞吐量,可以满足上述示例场景需求。In traditional technology, for the above example scenario, the first terminal 100 and the second terminal 200 can generally use WiFi communication to realize data interaction. This is because the video stream data often has a large amount of data, especially for high-resolution video stream data. , and WiFi communication has high data throughput, which can meet the needs of the above example scenarios.
但是,WiFi通信抗干扰能力较差,延时高。例如对于图1所示的场景,若第一终端100利用WiFi通信向第二终端200逐帧发送图像数据的过程中出 现卡顿,会使得AR眼镜上的虚拟对象无法实时跟随人体位姿,甚至完全卡死。例如对于图2所示的场景,若第一终端100利用WiFi通信向第二终端200逐帧发送图像数据的过程中出现卡顿,会使得相机上呈现的画面较大延时,甚至完全卡死。However, WiFi communication has poor anti-interference ability and high latency. For example, in the scene shown in Figure 1, if the first terminal 100 uses WiFi communication to send image data frame by frame to the second terminal 200, if there is a lag, the virtual object on the AR glasses will not be able to follow the human body posture in real time, or even Completely stuck. For example, in the scene shown in Figure 2, if the first terminal 100 uses WiFi communication to send image data frame by frame to the second terminal 200, if there is a freeze, the picture presented on the camera will be greatly delayed, or even completely freeze. .
从而,在本公开实施方式中,在第一终端100与第二终端200通过第一无线通信方式进行数据通信时,利用第二无线通信方式辅助第一无线通信方式,实现关键数据的低延时传输,保证复杂通信场景下数据通信的可靠性。下面结合图3实施方式进行说明。Therefore, in the embodiment of the present disclosure, when the first terminal 100 and the second terminal 200 perform data communication through the first wireless communication method, the second wireless communication method is used to assist the first wireless communication method to achieve low latency of key data. transmission to ensure the reliability of data communication in complex communication scenarios. The following description will be made with reference to the embodiment of FIG. 3 .
如图3所示,在一些实施方式中,本公开示例的数据通信方法,包括:As shown in Figure 3, in some implementations, the data communication method of the present disclosure includes:
S310、响应于第一终端通过第一无线通信方式向第二终端发送目标数据,基于目标数据的数据特征,确定目标数据包括的关键数据。S310. In response to the first terminal sending the target data to the second terminal through the first wireless communication method, determine the key data included in the target data based on the data characteristics of the target data.
S320、通过第二无线通信方式向第二终端发送关键数据。S320. Send key data to the second terminal through the second wireless communication method.
如图4所示,本公开一些实施方式中,第一终端100包括第一通信模块110和第二通信模块120,第二终端200包括第一通信模块210和第二通信模块220。第一终端100通过第一通信模块110与第二终端200的第一通信模块210建立第一无线通信连接。第一终端100通过第二通信模块120与第二终端200的第二通信模块220建立第二无线通信连接。As shown in FIG. 4 , in some embodiments of the present disclosure, the first terminal 100 includes a first communication module 110 and a second communication module 120 , and the second terminal 200 includes a first communication module 210 and a second communication module 220 . The first terminal 100 establishes a first wireless communication connection with the first communication module 210 of the second terminal 200 through the first communication module 110 . The first terminal 100 establishes a second wireless communication connection with the second communication module 220 of the second terminal 200 through the second communication module 120.
本公开实施方式中,第二无线通信连接的通信时延小于第一无线通信方式。In the embodiment of the present disclosure, the communication delay of the second wireless communication connection is smaller than the first wireless communication method.
例如一个示例中,第一无线通信连接可以是WiFi通信连接,第二无线通信连接可以是超宽带UWB(Ultra Wideband)通信连接。WiFi通信具有数据高吞吐量的优点,但是抗干扰能力差,在通信环境复杂的场景下,数据传输延时较高。而UWB(Ultra Wideband,超宽带)是一种具有超宽频谱范围的近场通讯技术,其具有低延时、低功耗、抗干扰能力强的优点,但是,目前市面上的UWB通信模块数据吞吐量和带宽有限,对于视频流等数据量较大的场景,难以落地应用。因此本公开示例中,可以利用低延时的第二无线通信方式,来辅助较高延时的第一无线通信方式进行数据传输。For example, in one example, the first wireless communication connection may be a WiFi communication connection, and the second wireless communication connection may be an ultra-wideband UWB (Ultra Wideband) communication connection. WiFi communication has the advantage of high data throughput, but its anti-interference ability is poor. In scenarios with complex communication environments, data transmission delays are high. UWB (Ultra Wideband) is a near-field communication technology with an ultra-wide spectrum range. It has the advantages of low latency, low power consumption, and strong anti-interference ability. However, the UWB communication module data currently on the market The throughput and bandwidth are limited, making it difficult to implement in scenarios with large amounts of data such as video streaming. Therefore, in the example of the present disclosure, the second wireless communication method with low delay can be used to assist the first wireless communication method with higher delay in data transmission.
本公开实施方式中,在第一终端100通过第一无线通信方式向第二终端200发送目标数据时,可基于目标数据的数据特征,确定目标数据包括的关键数据。In the embodiment of the present disclosure, when the first terminal 100 sends the target data to the second terminal 200 through the first wireless communication method, the key data included in the target data can be determined based on the data characteristics of the target data.
具体而言,目标数据是指第一终端100期望向第二终端200发送的相关数据,例如视频流数据等。而目标数据的数据特征,是指可以标识目标数据类型的特征信号,例如视频流数据的时序信号(帧开始信号、帧结束信号等)等。Specifically, the target data refers to relevant data that the first terminal 100 desires to send to the second terminal 200, such as video stream data. The data characteristics of the target data refer to characteristic signals that can identify the target data type, such as timing signals of video stream data (frame start signal, frame end signal, etc.).
本公开实施方式中,将目标数据分为关键数据和非关键数据,关键数据是目标数据中的一部分优先级较高的数据。In the embodiment of the present disclosure, the target data is divided into key data and non-key data. Key data is a part of the target data with higher priority.
例如一些实施方式中,目标数据以视频流数据为例,视频流数据包括一帧一帧的图像数据,可以定义视频流数据中的部分图像为关键帧图像,关键帧图像对应的图像数据即为关键数据,而其他非关键帧图像对应的数据即为非关键数据。For example, in some embodiments, the target data takes video stream data as an example. The video stream data includes image data frame by frame. Some images in the video stream data can be defined as key frame images, and the image data corresponding to the key frame images is Key data, and the data corresponding to other non-key frame images is non-key data.
例如另一些实施方式中,目标数据以包含控制指令的数据为例,控制指令数据用于实现对设备的控制,因此优先级高于其他非控制数据。例如一个示例场景中,移动终端向智能家居发送的目标数据包括控制指令数据和图像数据,控制指令数据用于实现对智能家居的控制,而图像数据用于在智能家居上呈现动画效果。在此示例中,控制指令数据的优先级高于图像数据,从而控制指令数据即为关键数据,而图像数据即为非关键数据。For example, in other embodiments, the target data is data containing control instructions. The control instruction data is used to control the device, and therefore has a higher priority than other non-control data. For example, in an example scenario, the target data sent by the mobile terminal to the smart home includes control instruction data and image data. The control instruction data is used to control the smart home, while the image data is used to present animation effects on the smart home. In this example, the control instruction data has a higher priority than the image data, so the control instruction data is critical data and the image data is non-critical data.
本公开实施方式中,基于目标数据的数据特征,即可确定目标数据中包括的关键数据。本公开下文中具体进行说明,在此暂不详述。In the embodiment of the present disclosure, key data included in the target data can be determined based on the data characteristics of the target data. This disclosure will be described in detail below and will not be described in detail here.
可以理解,关键数据表示的是优先级较高的数据,而第二无线通信方式为延时较低的通信方式,从而即可将关键数据利用第二无线通信方式发送。也即,第一终端100将关键数据通过第二无线通信方式发送至第二终端200,另外,对于非关键数据,第一终端100可通过第一无线通信方式发送至第二终端200。It can be understood that the key data represents data with a higher priority, and the second wireless communication method is a communication method with a lower delay, so the key data can be sent using the second wireless communication method. That is, the first terminal 100 sends key data to the second terminal 200 through the second wireless communication method. In addition, for non-critical data, the first terminal 100 can send it to the second terminal 200 through the first wireless communication method.
例如图1所示的场景中,智能手机向AR眼镜发送视频流数据,可以将视频流数据中的部分图像作为关键帧图像,例如将每隔5帧的图像作为关键帧图像,其对应的图像数据即为关键数据。也就是说,智能手机在逐帧发送视频流数据的过程中,将每隔5帧的关键帧数据利用时延较低的UWB方式发送至AR眼镜,将其他非关键帧数据利用WiFi方式发送至AR眼镜。这样,即使WiFi通信方式受到干扰出现卡顿甚至完全卡死,至少可以保证关键帧数据可以被可靠传输,用户观看到的AR效果可以维持在基本的流畅度,提高数据 通信效果。For example, in the scene shown in Figure 1, the smartphone sends video stream data to the AR glasses. Some images in the video stream data can be used as key frame images. For example, every fifth frame image can be used as a key frame image. The corresponding image Data is key data. That is to say, in the process of sending video stream data frame by frame, the smartphone sends the key frame data of every 5 frames to the AR glasses using the UWB method with low latency, and sends other non-key frame data to the AR glasses using the WiFi method. AR glasses. In this way, even if the WiFi communication method is interfered with and freezes or even completely freezes, it can at least ensure that the key frame data can be transmitted reliably, and the AR effect viewed by the user can be maintained at basic fluency, improving the data communication effect.
通过上述可知,本公开实施方式中,利用较低延时的第二无线通信方式辅助第一无线通信方式实现数据通信,提高数据通信效果,保证数据传输的稳定性和可靠性。From the above, it can be seen that in the embodiments of the present disclosure, the second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, improve the data communication effect, and ensure the stability and reliability of data transmission.
值得说明的是,本公开实施方式中,对于第一无线通信方式和第二无线通信方式的具体类型不作限制,其可以是任何适于实施的无线通信方式,只要保证第二无线通信方式的通信时延小于第一无线通信方式即可。例如一些实施方式中,第一无线通信方式可以是WiFi、蓝牙、UWB、蜂窝网络中的任意一种,第二无线通信方式同样可以是WiFi、蓝牙、UWB、蜂窝网络中的任意一种,只要保证第二无线通信方式的通信时延小于第一无线通信方式即可。It is worth noting that in the embodiments of the present disclosure, there is no restriction on the specific types of the first wireless communication method and the second wireless communication method. They can be any wireless communication method suitable for implementation, as long as the communication of the second wireless communication method is ensured. It suffices that the delay is less than the first wireless communication method. For example, in some implementations, the first wireless communication method can be any one of WiFi, Bluetooth, UWB, and cellular networks, and the second wireless communication method can also be any one of WiFi, Bluetooth, UWB, and cellular networks, as long as It is sufficient to ensure that the communication delay of the second wireless communication method is smaller than the first wireless communication method.
本公开下文所有实施方式中,将以第一无线通信方式为WiFi通信,第二无线通信方式为UWB通信为例进行说明。In all the following embodiments of the present disclosure, the first wireless communication method is WiFi communication and the second wireless communication method is UWB communication as an example for description.
基于前述可知,WiFi通信具有高数据吞吐量的优点,但是易受干扰、延时较高。而UWB通信具有抗干扰能力强、延时低的优点,但是数据吞吐量较低。因此,本公开下文实施方式中,利用UWB通信辅助WiFi通信,将数据量较少的关键数据通过UWB通信方式传输,将数据量较大的非关键数据利用WiFi通信方式传输。从而综合两者的优点,即保证关键数据的低延时、高可靠传输,同时适用于大数据量的通信场景。Based on the above, it can be seen that WiFi communication has the advantage of high data throughput, but is susceptible to interference and has high delay. UWB communication has the advantages of strong anti-interference ability and low delay, but the data throughput is low. Therefore, in the following embodiments of the present disclosure, UWB communication is used to assist WiFi communication, key data with a small amount of data is transmitted through UWB communication, and non-critical data with a large amount of data is transmitted using WiFi communication. This combines the advantages of both to ensure low-latency and highly reliable transmission of key data and is suitable for communication scenarios with large amounts of data.
在一些实施方式中,目标数据以视频流数据为例,对本公开实施方式的数据通信方法进行说明。In some embodiments, the target data takes video stream data as an example to describe the data communication method in the embodiments of the present disclosure.
如图5所示,在一些实施方式中,本公开示例的数据通信方法,确定目标数据中的关键数据的过程包括:As shown in Figure 5, in some implementations, according to the data communication method of the present disclosure, the process of determining key data in the target data includes:
S510、基于视频流数据的图像序列特征,确定视频流数据的帧图像序列。S510. Based on the image sequence characteristics of the video stream data, determine the frame image sequence of the video stream data.
S520、基于预设的关键帧规则,确定帧图像序列中的关键帧图像。S520. Based on the preset key frame rules, determine the key frame images in the frame image sequence.
S530、将关键帧图像对应的图像数据,确定为关键数据。S530. Determine the image data corresponding to the key frame image as key data.
可以理解,视频流数据包括按照时序排列的帧图像数据,每一帧图像对应一个图像数据。本公开实施方式中,可以通过检测视频流数据中的图像序列特征,确定视频流数据所包括的帧图像序列。It can be understood that the video stream data includes frame image data arranged in time series, and each frame image corresponds to one piece of image data. In the embodiment of the present disclosure, the frame image sequence included in the video stream data can be determined by detecting image sequence features in the video stream data.
图像序列特征表示的是帧图像的时序特征,例如,每一帧图像的图像数据包括有帧开始信号、帧结束信号等,这些信号可以反映每一帧图像在时序 上的连续性。从而本公开实施方式中,可以通过检测每一帧图像的图像数据所包括的时序信号,对每一帧图像的图像数据进行划分,从而确定视频流数据中包括的帧图像序列。The image sequence feature represents the temporal characteristics of the frame image. For example, the image data of each frame image includes a frame start signal, a frame end signal, etc. These signals can reflect the temporal continuity of each frame image. Therefore, in the embodiment of the present disclosure, the image data of each frame of image can be divided by detecting the timing signal included in the image data of each frame of image, thereby determining the sequence of frame images included in the video stream data.
在得到帧图像序列之后,可以基于预先设置的关键帧规则,从帧图像序列中确定部分帧图像作为关键帧图像。After the frame image sequence is obtained, some frame images can be determined as key frame images from the frame image sequence based on preset key frame rules.
关键帧规则可以是根据具体的场景需求设置的关键帧提取规则,例如一个示例中,关键帧规则为“每隔n帧提取一帧图像作为关键帧”,从而,可以对帧图像序列的每帧图像进行计数,当图像对应的序号为1、n、2n、3n……时,将这些帧图像确定为关键帧图像,这些关键帧图像对应的图像数据,即为关键数据。对于除关键帧图像之外的其他帧图像,即为非关键帧图像,其对应的图像数据即为非关键帧数据。The key frame rule can be a key frame extraction rule set according to specific scene requirements. For example, in one example, the key frame rule is "extract an image every n frames as a key frame." Therefore, each frame of the frame image sequence can be The images are counted. When the corresponding serial numbers of the images are 1, n, 2n, 3n..., these frame images are determined as key frame images. The image data corresponding to these key frame images is the key data. For frame images other than key frame images, they are non-key frame images, and their corresponding image data is non-key frame data.
以图2所示的相机与手机通信场景为例,相机实时采集的视频流数据即为目标数据,相机需要将视频流数据通过WiFi通信方式逐帧发送至手机。在发送视频流数据时,相机可以通过检测视频流数据中的时序信号(例如帧开始信号)确定帧图像序列,然后实时对当前发送的帧图像的图像数据进行计数。在当前发送的帧图像的数值符合关键帧规则时,确定当前帧图像为关键帧图像,其对应的图像数据即为关键数据,从而利用UWB通信方式来发送该帧图像的图像数据。反之,在当前发送的帧图像的数值不符合关键帧规则时,确定当前帧图像不是关键帧图像,即保持WiFi通信方式发送即可。Taking the communication scenario between a camera and a mobile phone shown in Figure 2 as an example, the video stream data collected by the camera in real time is the target data. The camera needs to send the video stream data to the mobile phone frame by frame through WiFi communication. When sending video stream data, the camera can determine the frame image sequence by detecting timing signals (such as frame start signals) in the video stream data, and then count the image data of the currently sent frame image in real time. When the value of the currently sent frame image conforms to the key frame rule, the current frame image is determined to be a key frame image, and its corresponding image data is the key data, so that the UWB communication method is used to send the image data of the frame image. On the contrary, when the value of the currently sent frame image does not comply with the key frame rules, it is determined that the current frame image is not a key frame image, that is, it is enough to keep sending in the WiFi communication mode.
在当前无线通信环境恶化的情况下,WiFi通信方式受到干扰,可能出现非关键帧图像的数据发送延时或卡顿的情况,但是由于UWB通信方式不会受到干扰,从而至少可以保证关键帧的图像数据被实时发送至手机端。从而,用户看到的视频流可以保持基本的流畅度,缓解延时或卡顿、甚至完全卡死的问题。As the current wireless communication environment deteriorates, the WiFi communication method is interfered with, and the data transmission of non-key frame images may be delayed or stuck. However, since the UWB communication method will not be interfered, at least the key frames can be guaranteed. Image data is sent to the mobile phone in real time. As a result, the video stream seen by the user can maintain basic smoothness and alleviate the problems of delays, freezes, or even complete freezes.
通过上述可知,本公开实施方式中,实现视频流关键帧的数据低延时传输,从而保证视频流畅度,提高视频数据的通信效果和实时性,缓解延时和卡顿问题,提高用户体验。From the above, it can be seen that in the embodiments of the present disclosure, low-latency transmission of data of key frames of the video stream is achieved, thereby ensuring video fluency, improving the communication effect and real-time performance of video data, alleviating delays and stuck problems, and improving user experience.
在另一些实施方式中,目标数据以包括控制指令数据的传输数据为例,对本公开实施方式的数据通信方法进行说明。在一些实施方式中,本公开示例的数据通信方法,确定目标数据中的关键数据的过程,包括:In other embodiments, the target data takes transmission data including control instruction data as an example to describe the data communication method in the embodiments of the present disclosure. In some embodiments, the data communication method of the present disclosure example and the process of determining key data in the target data include:
基于目标数据的数据特征,将目标数据包括的控制指令数据确定为关键数据。Based on the data characteristics of the target data, the control instruction data included in the target data is determined as key data.
例如在一个示例场景中,第一终端100为智能手机,第二终端200为智能家居,手机向智能家居发送的目标数据中包括:控制指令数据和图像数据。控制指令数据是控制智能家居进行工作的相关数据,而图像数据是在智能家居上展示的动画效果数据。For example, in an example scenario, the first terminal 100 is a smartphone and the second terminal 200 is a smart home. The target data sent by the mobile phone to the smart home includes: control instruction data and image data. The control instruction data is data related to controlling the work of the smart home, while the image data is the animation effect data displayed on the smart home.
在此示例场景下,对智能家居的实时控制相较于动画效果展示具有更高的优先级,也即,对控制指令数据的发送相较于图像数据的发送具有更高的延时要求。In this example scenario, real-time control of smart homes has a higher priority than animation effect display, that is, the transmission of control instruction data has higher delay requirements than the transmission of image data.
因此,本公开实施方式中,在手机通过WiFi通信方式向智能家居发送目标数据时,手机可检测目标数据的数据特征,例如检测目标数据中的指令信号,将检测到的控制指令数据确定为关键数据,从而利用UWB通信方式向智能家居发送该控制指令数据。而对于图像数据,继续保持WiFi通信方式发送即可。Therefore, in the embodiment of the present disclosure, when the mobile phone sends target data to the smart home through WiFi communication, the mobile phone can detect the data characteristics of the target data, such as detecting the instruction signal in the target data, and determine the detected control instruction data as the key data, thereby using UWB communication method to send the control instruction data to the smart home. For image data, just continue to send it via WiFi communication.
在当前无线通信环境恶化的情况下,WiFi通信方式受到干扰,可能出现图像数据发送延时或者卡顿的情况,但是由于UWB通信方式不会受到干扰,从而至少可以保证控制指令数据被实时发送至智能家居,从而实现对智能家居的实时控制,缓解延时或卡顿、甚至控制失灵的问题。In the current deteriorating wireless communication environment, the WiFi communication method is interfered with, and image data transmission may be delayed or stuck. However, since the UWB communication method will not be interfered, it can at least ensure that the control command data is sent to in real time. Smart home, thereby realizing real-time control of smart home and alleviating the problems of delay, lag, and even control failure.
通过上述可知,本公开实施方式中,实现控制指令数据的低延时传输,从而保证控制命令实时响应,提高数据的通信效果,缓解延时或卡顿、甚至控制失灵的问题,提高用户体验。From the above, it can be seen that in the embodiments of the present disclosure, low-latency transmission of control command data is achieved, thereby ensuring real-time response to control commands, improving data communication effects, alleviating problems of delays, freezes, and even control failures, and improving user experience.
值得说明的是,上述两种实施方式也可以进行结合进行,例如一个示例中,第一终端100发送的目标数据既包括视频流数据,同时也包括控制指令数据,从而可以将关键帧图像数据和控制指令数据均确定为关键数据,利用UWB通信方式进行发送。本领域技术人员参照前述毫无疑问可以理解并充分实施,本公开对此不再赘述。It is worth noting that the above two embodiments can also be combined. For example, in one example, the target data sent by the first terminal 100 includes both video stream data and control instruction data, so that the key frame image data and the control instruction data can be combined. The control command data are all determined as key data and sent using UWB communication method. Those skilled in the art can undoubtedly understand and fully implement it by referring to the foregoing, and this will not be described again in this disclosure.
在一些数据通信协议中,例如TCP/IP、I2C等通信协议,发送方设备向接收方设备发送数据时,接收方设备在成功接收数据之后,会向发送方设备返回响应信号ACK(Acknowledge character),表示发送的数据已被成功接收。发送方设备即可通过检测该响应信号ACK,确定某个数据是否发送成功,若 未接收到响应信号,则需要再次向接收方设备发送该数据。In some data communication protocols, such as TCP/IP, I2C and other communication protocols, when the sender device sends data to the receiver device, the receiver device will return the response signal ACK (Acknowledge character) to the sender device after successfully receiving the data. , indicating that the sent data has been successfully received. The sender device can determine whether a certain data is successfully sent by detecting the response signal ACK. If the response signal is not received, the data needs to be sent to the receiver device again.
本公开实施方式中,第一终端100在通过第一无线通信方式发送数据时,若某个子数据发送后未接收到第二终端200返回的响应信号,则可以利用第二无线通信方式再次发送该子数据。下面结合图6实施方式进行说明。In the embodiment of the present disclosure, when the first terminal 100 sends data through the first wireless communication method, if a certain sub-data does not receive a response signal returned by the second terminal 200 after sending it, the second wireless communication method can be used to send the sub-data again. subdata. The following description will be made with reference to the embodiment of FIG. 6 .
如图6所示,在一些实施方式中,本公开示例的数据通信方法,还包括:As shown in Figure 6, in some implementations, the data communication method of the present disclosure also includes:
S610、在通过第一无线通信方式向第二终端发送目标数据的过程中,检测目标数据的每个子数据对应的响应信号。S610. In the process of sending the target data to the second terminal through the first wireless communication method, detect the response signal corresponding to each sub-data of the target data.
S620、响应于未检测到子数据的响应信号,通过第二无线通信方式向第二终端发送子数据。S620. In response to the response signal that the sub-data is not detected, send the sub-data to the second terminal through the second wireless communication method.
可以理解,目标数据在发送时,是按照时序顺序逐个发送子数据,也即目标数据包括多个子数据。It can be understood that when the target data is sent, the sub-data are sent one by one in time sequence, that is, the target data includes multiple sub-data.
本公开示例中,第一终端100通过WiFi通信方式逐个发送子数据至第二终端200,对于每个子数据的发送过程,第二终端200在成功接收到该子数据之后,会向第一终端100返回响应信号ACK,该响应信号ACK即表示第二终端200成功接收到该子数据的反馈信号。In this disclosed example, the first terminal 100 sends sub-data one by one to the second terminal 200 through WiFi communication. For each sub-data sending process, the second terminal 200 will send the sub-data to the first terminal 100 after successfully receiving the sub-data. A response signal ACK is returned, which indicates that the second terminal 200 successfully receives the feedback signal of the sub-data.
当第一终端100未接收到响应信号时,表示该子数据未发送成功,需要再次发送。从而,本公开实施方式中,即可利用UWB通信方式再次发送该子数据,WiFi通信方式继续发送下一个子数据即可。这样,可以保持WiFi数据通信过程不被中断,提高通信效率,并且对于WiFi发送失败的数据,利用UWB再次发送提高成功率,进一步保证通信的高可靠性。When the first terminal 100 does not receive the response signal, it means that the sub-data has not been sent successfully and needs to be sent again. Therefore, in the embodiment of the present disclosure, the UWB communication method can be used to send the sub-data again, and the WiFi communication method can continue to send the next sub-data. In this way, the WiFi data communication process can be kept uninterrupted and the communication efficiency can be improved. For data that fails to be sent via WiFi, UWB can be used to send it again to improve the success rate and further ensure the high reliability of communication.
通过上述可知,本公开实施方式中,通过第二无线通信方式对第一无线通信方式发送失败的数据进行再次发送,提高数据通信效率和可靠性。It can be seen from the above that in the embodiments of the present disclosure, data that fails to be sent by the first wireless communication method is re-transmitted through the second wireless communication method, thereby improving data communication efficiency and reliability.
第二方面,本公开实施方式提供了一种数据通信装置,该装置可应用于第一终端,第一终端可以是任何适于实施的设备类型,例如智能手机、平板电脑等移动终端,又例如智能手表、头戴设备等穿戴式设备;再例如个人电脑等终端设备,本公开对此不作限制。In the second aspect, embodiments of the present disclosure provide a data communication device, which can be applied to a first terminal. The first terminal can be any device type suitable for implementation, such as a mobile terminal such as a smart phone or a tablet computer. For example, Wearable devices such as smart watches and head-mounted devices; and terminal devices such as personal computers, are not limited by this disclosure.
如图7所示,在一些实施方式中,本公开示例的数据通信装置,包括:As shown in Figure 7, in some implementations, the data communication device of the present disclosure includes:
关键数据确定模块10,被配置为响应于所述第一终端通过第一无线通信方式向第二终端发送目标数据,基于所述目标数据的数据特征,确定所述目标数据包括的关键数据;The key data determination module 10 is configured to respond to the first terminal sending target data to the second terminal through the first wireless communication method, and determine the key data included in the target data based on the data characteristics of the target data;
发送模块20,被配置为通过第二无线通信方式向所述第二终端发送所述关键数据;所述第二无线通信方式的时延小于所述第一无线通信方式。The sending module 20 is configured to send the key data to the second terminal through a second wireless communication method; the time delay of the second wireless communication method is smaller than that of the first wireless communication method.
通过上述可知,本公开实施方式中,利用较低延时的第二无线通信方式辅助第一无线通信方式实现数据通信,提高数据通信效果,保证数据传输的稳定性和可靠性。From the above, it can be seen that in the embodiments of the present disclosure, the second wireless communication method with lower delay is used to assist the first wireless communication method to achieve data communication, improve the data communication effect, and ensure the stability and reliability of data transmission.
在一些实施方式中,所述目标数据包括视频流数据;所述关键数据确定模块10,被配置为:In some implementations, the target data includes video stream data; the key data determination module 10 is configured to:
基于所述视频流数据的图像序列特征,确定所述视频流数据的帧图像序列;Based on the image sequence characteristics of the video stream data, determine the frame image sequence of the video stream data;
基于预设的关键帧规则,确定所述帧图像序列中的关键帧图像;Determine key frame images in the frame image sequence based on preset key frame rules;
将所述关键帧图像对应的图像数据,确定为所述关键数据。The image data corresponding to the key frame image is determined as the key data.
通过上述可知,本公开实施方式中,实现视频流关键帧的数据低延时传输,从而保证视频流畅度,提高视频数据的通信效果和实时性,缓解延时和卡顿问题,提高用户体验。From the above, it can be seen that in the embodiments of the present disclosure, low-latency transmission of data of key frames of the video stream is achieved, thereby ensuring video fluency, improving the communication effect and real-time performance of video data, alleviating delays and stuck problems, and improving user experience.
在一些实施方式中,所述目标数据包括控制指令数据;所述关键数据确定模块10,被配置为:In some embodiments, the target data includes control instruction data; the key data determination module 10 is configured to:
基于所述目标数据的数据特征,将所述目标数据包括的所述控制指令数据确定为所述关键数据。Based on the data characteristics of the target data, the control instruction data included in the target data is determined as the key data.
通过上述可知,本公开实施方式中,实现控制指令数据的低延时传输,从而保证控制命令实时响应,提高数据的通信效果,缓解延时或卡顿、甚至控制失灵的问题,提高用户体验。From the above, it can be seen that in the embodiments of the present disclosure, low-latency transmission of control command data is achieved, thereby ensuring real-time response to control commands, improving data communication effects, alleviating problems of delays, freezes, and even control failures, and improving user experience.
在一些实施方式中,所述发送模块20被配置为:In some embodiments, the sending module 20 is configured to:
通过所述第一无线通信方式向所述第二终端发送非关键数据,所述非关键数据是所述目标数据中除所述关键数据之外的数据。Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
在一些实施方式中,所述发送模块20被配置为:In some embodiments, the sending module 20 is configured to:
在通过所述第一无线通信方式向所述第二终端发送所述目标数据的过程中,检测所述目标数据的每个子数据对应的响应信号;所述响应信号是表示所述第二终端成功接收到所述子数据的反馈信号;In the process of sending the target data to the second terminal through the first wireless communication method, a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
响应于未检测到所述子数据的响应信号,通过第二无线通信方式向所述第二终端发送所述子数据。In response to a response signal that the sub-data is not detected, the sub-data is sent to the second terminal through a second wireless communication method.
通过上述可知,本公开实施方式中,通过第二无线通信方式对第一无线通信方式发送失败的数据进行再次发送,提高数据通信效率和可靠性。It can be seen from the above that in the embodiments of the present disclosure, data that fails to be sent by the first wireless communication method is re-transmitted through the second wireless communication method, thereby improving data communication efficiency and reliability.
第三方面,本公开实施方式提供了一种电子设备,包括:In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
第一通信模块,用于与外部设备建立第一无线通信方式的可通信连接;A first communication module, configured to establish a communicable connection in the first wireless communication mode with an external device;
第二通信模块,用于与外部设备建立第二无线通信方式的可通信连接;a second communication module, configured to establish a communicable connection in the second wireless communication mode with an external device;
处理器;以及processor; and
存储器,存储有计算机指令,所述计算机指令用于使所述处理器执行根据第一方面任意实施方式所述的方法。A memory stores computer instructions for causing the processor to execute the method according to any implementation manner of the first aspect.
具体而言,电子设备可以是前述任意实施方式中所述的第一终端100,本领域技术人员参照前述实施方式所述即可理解并充分实施,对此不再赘述。Specifically, the electronic device may be the first terminal 100 described in any of the foregoing embodiments. Those skilled in the art can understand and fully implement it by referring to the foregoing embodiments, and will not be described again.
在一些实施方式中,仍以第一通信模块为WiFi通信模块、第二通信模块为UWB通信模块为例,考虑到部分电子设备中不具有UWB通信模块,尤其部分上市较早的老款设备,并未内置UWB通信模块。In some embodiments, the first communication module is a WiFi communication module and the second communication module is a UWB communication module as an example. Considering that some electronic devices do not have UWB communication modules, especially some older devices that were launched earlier, There is no built-in UWB communication module.
因此,如图8所示,在一些实施方式中,可设置第二通信模块为外挂式结构,也即第二通信模块可通过电子设备上的数据接口可拔插连接,同样可以实现本公开电子设备以及数据通信方法。Therefore, as shown in FIG. 8 , in some embodiments, the second communication module can be configured as a plug-in structure, that is, the second communication module can be pluggably connected through the data interface on the electronic device. The electronic device of the present disclosure can also be implemented. Equipment and data communications methods.
在图8示例中,第二通信模块为独立的硬件结构,也即与电子设备为分体式设置。在一些实施方式中,第二通信模块可以通过电子设备上的数据接口,与电子设备建立可通信连接。例如一个示例中,电子设备的数据接口为USB-C数据接口,从而第二通信模块可相应设置有USB-C的数据插头,也即两者通过USB-C协议建立数据通信连接。In the example of FIG. 8 , the second communication module has an independent hardware structure, that is, it is installed separately from the electronic device. In some implementations, the second communication module can establish a communicable connection with the electronic device through a data interface on the electronic device. For example, in one example, the data interface of the electronic device is a USB-C data interface, so the second communication module can be provided with a USB-C data plug accordingly, that is, the two establish a data communication connection through the USB-C protocol.
本公开实施方式中,对于电子设备与外部设备的数据通信过程,参照前述实施方式即可,本公开对此不再赘述。In the embodiments of the disclosure, for the data communication process between the electronic device and the external device, reference may be made to the foregoing embodiments, which will not be described again in the disclosure.
通过上述可知,本公开实施方式中,利用外挂式的第二通信模块与电子设备连接,可以在例如没有UWB模块的移动终端上实现本公开方法,提高本公开方法的拓展性。It can be seen from the above that in the embodiments of the present disclosure, the plug-in second communication module is used to connect to the electronic device, so that the disclosed method can be implemented on, for example, a mobile terminal without a UWB module, thereby improving the scalability of the disclosed method.
第四方面,本公开实施方式提供了一种数据通信系统,包括:In a fourth aspect, embodiments of the present disclosure provide a data communication system, including:
第一终端,为根据第三方面任意实施方式所述的电子设备;和The first terminal is an electronic device according to any implementation manner of the third aspect; and
第二终端,通过第一无线通信方式和第二无线通信方式与所述第一终 端建立可通信连接。The second terminal establishes a communicable connection with the first terminal through the first wireless communication method and the second wireless communication method.
在一些实施方式中,所述第一终端包括移动终端,所述第二终端包括虚拟现实设备。In some implementations, the first terminal includes a mobile terminal, and the second terminal includes a virtual reality device.
在一些实施方式中,所述第一终端包括成像设备,所述第二终端包括移动终端。In some embodiments, the first terminal includes an imaging device and the second terminal includes a mobile terminal.
对于数据通信系统的具体结构及工作原理,本领域技术人员参照前述实施方式所述即可理解并充分实施,对此不再赘述。For the specific structure and working principle of the data communication system, those skilled in the art can understand and fully implement it by referring to the foregoing embodiments, and will not be described again.
第五方面,本公开实施方式提供了一种存储介质,存储有计算机指令,所述计算机指令用于使计算机执行根据第一方面任意实施方式所述的方法。In a fifth aspect, an embodiment of the present disclosure provides a storage medium that stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
图9中示出了本公开一些实施方式中的移动终端的结构框图,下面结合图9对本公开一些实施方式的移动终端及存储介质相关原理进行说明。Figure 9 shows a structural block diagram of a mobile terminal in some embodiments of the present disclosure. The relevant principles of the mobile terminal and storage media in some embodiments of the present disclosure will be described below with reference to Figure 9 .
参照图9,移动终端1800可以包括以下一个或多个组件:处理组件1802,存储器1804,电源组件1806,多媒体组件1808,音频组件1810,输入/输出(I/O)接口1812,传感器组件1816,以及通信组件1818。Referring to Figure 9, the mobile terminal 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1816, and communications component 1818.
处理组件1802通常控制移动终端1800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1802可以包括一个或多个处理器1820来执行指令。此外,处理组件1802可以包括一个或多个模块,便于处理组件1802和其他组件之间的交互。例如,处理组件1802可以包括多媒体模块,以方便多媒体组件1808和处理组件1802之间的交互。又如,处理组件1802可以从存储器读取可执行指令,以实现移动终端相关功能。The processing component 1802 generally controls the overall operations of the mobile terminal 1800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Processing component 1802 may include one or more processors 1820 to execute instructions. Additionally, processing component 1802 may include one or more modules that facilitate interaction between processing component 1802 and other components. For example, processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802. As another example, the processing component 1802 can read executable instructions from the memory to implement mobile terminal related functions.
存储器1804被配置为存储各种类型的数据以支持在移动终端1800的操作。这些数据的示例包括用于在移动终端1800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1804 is configured to store various types of data to support operations at the mobile terminal 1800 . Examples of these data include instructions for any application or method operating on the mobile terminal 1800, contact data, phonebook data, messages, pictures, videos, etc. Memory 1804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件1806为移动终端1800的各种组件提供电力。电源组件1806可以包括电源管理系统,一个或多个电源,及其他与为移动终端1800生成、管 理和分配电力相关联的组件。 Power supply component 1806 provides power to various components of mobile terminal 1800. Power supply component 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to mobile terminal 1800.
多媒体组件1808包括在所述移动终端1800和用户之间的提供一个输出接口的显示屏。在一些实施例中,多媒体组件1808包括一个前置摄像头和/或后置摄像头。当移动终端1800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 1808 includes a display screen that provides an output interface between the mobile terminal 1800 and the user. In some embodiments, multimedia component 1808 includes a front-facing camera and/or a rear-facing camera. When the mobile terminal 1800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件1810被配置为输出和/或输入音频信号。例如,音频组件1810包括一个麦克风(MIC),当移动终端1800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1804或经由通信组件1818发送。在一些实施例中,音频组件1810包括一个扬声器,用于输出音频信号。 Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a microphone (MIC) configured to receive external audio signals when the mobile terminal 1800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1804 or sent via communications component 1818 . In some embodiments, audio component 1810 includes a speaker for outputting audio signals.
I/O接口1812为处理组件1802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1812 provides an interface between the processing component 1802 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件1816包括一个或多个传感器,用于为移动终端1800提供各个方面的状态评估。例如,传感器组件1816可以检测到移动终端1800的打开/关闭状态,组件的相对定位,例如所述组件为移动终端1800的显示器和小键盘,传感器组件1816可以检测移动终端1800或移动终端1800一个组件的位置改变,用户与移动终端1800接触的存在或不存在,移动终端1800方位或加速/减速和移动终端1800的温度变化。传感器组件1816可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1816可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1816可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 1816 includes one or more sensors for providing various aspects of status assessment for mobile terminal 1800 . For example, the sensor component 1816 can detect the open/closed state of the mobile terminal 1800 and the relative positioning of components, such as the display and keypad of the mobile terminal 1800. The sensor component 1816 can detect the mobile terminal 1800 or a component of the mobile terminal 1800. The position changes, the presence or absence of user contact with the mobile terminal 1800, the orientation or acceleration/deceleration of the mobile terminal 1800 and the temperature change of the mobile terminal 1800. Sensor component 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor component 1816 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1816 may include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1818被配置为便于移动终端1800和其他设备之间有线或无线方式的通信。移动终端1800可以接入基于通信标准的无线网络,如Wi-Fi,2G,3G,4G,5G或6G,或它们的组合。在一个示例性实施例中,通信组件1818经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1818包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据 协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1818 is configured to facilitate wired or wireless communication between the mobile terminal 1800 and other devices. The mobile terminal 1800 can access a wireless network based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G or 6G, or a combination thereof. In one exemplary embodiment, communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 1818 includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,移动终端1800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现。In an exemplary embodiment, the mobile terminal 1800 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation.
显然,上述实施方式仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本公开创造的保护范围之中。Obviously, the above-mentioned embodiments are only examples for clear explanation and are not limitations of the embodiments. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. An exhaustive list of all implementations is neither necessary nor possible. The obvious changes or modifications derived therefrom are still within the protection scope of the present invention.

Claims (11)

  1. 一种数据通信方法,其特征在于,应用于第一终端,所述方法包括:A data communication method, characterized in that it is applied to a first terminal, and the method includes:
    响应于所述第一终端通过第一无线通信方式向第二终端发送目标数据,基于所述目标数据的数据特征,确定所述目标数据包括的关键数据;In response to the first terminal sending target data to the second terminal through the first wireless communication method, determining key data included in the target data based on data characteristics of the target data;
    通过第二无线通信方式向所述第二终端发送所述关键数据;所述第二无线通信方式的时延小于所述第一无线通信方式。The key data is sent to the second terminal through a second wireless communication method; the delay of the second wireless communication method is smaller than that of the first wireless communication method.
  2. 根据权利要求1所述的方法,其特征在于,所述目标数据包括视频流数据;所述基于所述目标数据的数据特征,确定所述目标数据包括的关键数据,包括:The method according to claim 1, wherein the target data includes video stream data; and determining the key data included in the target data based on the data characteristics of the target data includes:
    基于所述视频流数据的图像序列特征,确定所述视频流数据的帧图像序列;Based on the image sequence characteristics of the video stream data, determine the frame image sequence of the video stream data;
    基于预设的关键帧规则,确定所述帧图像序列中的关键帧图像;Determine key frame images in the frame image sequence based on preset key frame rules;
    将所述关键帧图像对应的图像数据,确定为所述关键数据。The image data corresponding to the key frame image is determined as the key data.
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标数据包括控制指令数据;所述基于所述目标数据的数据特征,确定所述目标数据包括的关键数据,包括:The method according to claim 1 or 2, characterized in that the target data includes control instruction data; and determining the key data included in the target data based on the data characteristics of the target data includes:
    基于所述目标数据的数据特征,将所述目标数据包括的所述控制指令数据确定为所述关键数据。Based on the data characteristics of the target data, the control instruction data included in the target data is determined as the key data.
  4. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    通过所述第一无线通信方式向所述第二终端发送非关键数据,所述非关键数据是所述目标数据中除所述关键数据之外的数据。Non-critical data is sent to the second terminal through the first wireless communication method, where the non-critical data is data in the target data other than the critical data.
  5. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    在通过所述第一无线通信方式向所述第二终端发送所述目标数据的过程中,检测所述目标数据的每个子数据对应的响应信号;所述响应信号是表示所述第二终端成功接收到所述子数据的反馈信号;In the process of sending the target data to the second terminal through the first wireless communication method, a response signal corresponding to each sub-data of the target data is detected; the response signal indicates that the second terminal is successful. receiving a feedback signal of the sub-data;
    响应于未检测到所述子数据的响应信号,通过第二无线通信方式向所述第二终端发送所述子数据。In response to a response signal that the sub-data is not detected, the sub-data is sent to the second terminal through a second wireless communication method.
  6. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that:
    所述第一无线通信方式包括WiFi通信方式,所述第二无线通信方式包括UWB通信方式。The first wireless communication method includes WiFi communication method, and the second wireless communication method includes UWB communication method.
  7. 一种数据通信装置,其特征在于,应用于第一终端,所述装置包括:A data communication device, characterized in that it is applied to a first terminal, and the device includes:
    关键数据确定模块,被配置为响应于所述第一终端通过第一无线通信方式向第二终端发送目标数据,基于所述目标数据的数据特征,确定所述目标数据包括的关键数据;A key data determination module configured to respond to the first terminal sending the target data to the second terminal through the first wireless communication method, and determine the key data included in the target data based on the data characteristics of the target data;
    发送模块,被配置为通过第二无线通信方式向所述第二终端发送所述关键数据;所述第二无线通信方式的时延小于所述第一无线通信方式。The sending module is configured to send the key data to the second terminal through a second wireless communication method; the delay of the second wireless communication method is less than the first wireless communication method.
  8. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    第一通信模块,用于与外部设备建立第一无线通信方式的可通信连接;A first communication module, configured to establish a communicable connection in the first wireless communication mode with an external device;
    第二通信模块,用于与外部设备建立第二无线通信方式的可通信连接;a second communication module, configured to establish a communicable connection in the second wireless communication mode with an external device;
    处理器;以及processor; and
    存储器,存储有计算机指令,所述计算机指令用于使所述处理器执行根据权利要求1至6任一项所述的方法。A memory storing computer instructions for causing the processor to execute the method according to any one of claims 1 to 6.
  9. 一种数据通信系统,其特征在于,包括:A data communication system, characterized by including:
    第一终端,为根据权利要求8所述的电子设备;和The first terminal is the electronic device according to claim 8; and
    第二终端,通过第一无线通信方式和第二无线通信方式与所述第一终端建立可通信连接。The second terminal establishes a communicable connection with the first terminal through the first wireless communication method and the second wireless communication method.
  10. 根据权利要求9所述的数据通信系统,其特征在于,The data communication system according to claim 9, characterized in that:
    所述第一终端包括移动终端,所述第二终端包括虚拟现实设备;或者,所述第一终端包括成像设备,所述第二终端包括移动终端。The first terminal includes a mobile terminal, and the second terminal includes a virtual reality device; or the first terminal includes an imaging device, and the second terminal includes a mobile terminal.
  11. 一种存储介质,其特征在于,存储有计算机指令,所述计算机指令用于使计算机执行根据权利要求1至6任一项所述的方法。A storage medium, characterized in that computer instructions are stored, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 6.
PCT/CN2022/089903 2022-04-28 2022-04-28 Data communication method and apparatus, electronic device and data communication system WO2023206235A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/089903 WO2023206235A1 (en) 2022-04-28 2022-04-28 Data communication method and apparatus, electronic device and data communication system
CN202280001399.8A CN117581624A (en) 2022-04-28 2022-04-28 Data communication method, device, electronic equipment and data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/089903 WO2023206235A1 (en) 2022-04-28 2022-04-28 Data communication method and apparatus, electronic device and data communication system

Publications (1)

Publication Number Publication Date
WO2023206235A1 true WO2023206235A1 (en) 2023-11-02

Family

ID=88516792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089903 WO2023206235A1 (en) 2022-04-28 2022-04-28 Data communication method and apparatus, electronic device and data communication system

Country Status (2)

Country Link
CN (1) CN117581624A (en)
WO (1) WO2023206235A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255230A (en) * 2016-07-29 2016-12-21 广东美的厨房电器制造有限公司 Data transmission method and data transmission device
CN107018554A (en) * 2017-03-07 2017-08-04 广东欧珀移动通信有限公司 A kind of data transmission method, device and intelligent terminal
US11146612B1 (en) * 2019-09-25 2021-10-12 Motionray, Inc. System, device and method for streaming and receiving content in real-time from wearable cameras with latency control and quality of content control
CN113676269A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255230A (en) * 2016-07-29 2016-12-21 广东美的厨房电器制造有限公司 Data transmission method and data transmission device
CN107018554A (en) * 2017-03-07 2017-08-04 广东欧珀移动通信有限公司 A kind of data transmission method, device and intelligent terminal
US11146612B1 (en) * 2019-09-25 2021-10-12 Motionray, Inc. System, device and method for streaming and receiving content in real-time from wearable cameras with latency control and quality of content control
CN113676269A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device

Also Published As

Publication number Publication date
CN117581624A (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US20220312049A1 (en) Method for processing live-streaming interaction video and server
WO2020133614A1 (en) Wireless communication method, terminal, audio component, apparatus, and storage medium
WO2020244623A1 (en) Air-mouse mode implementation method and related device
WO2021018187A1 (en) Screen projection method and device
WO2019109339A1 (en) Data transmission method and apparatus, and unmanned aerial vehicle
US20230004406A1 (en) Energy-Efficient Display Processing Method and Device
WO2022121775A1 (en) Screen projection method, and device
CN112835549A (en) Method and device for switching audio output device
WO2021043219A1 (en) Bluetooth reconnection method and related apparatus
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
JP7494313B2 (en) Method for resuming playback of multimedia content between devices - Patents.com
WO2020253566A1 (en) Audio playing method, device and storage medium
EP2986020B1 (en) Method and apparatus for adjusting video quality based on network environment
US11146854B2 (en) Method for playing videos and electronic device
WO2019100259A1 (en) Data transmission method, apparatus, and unmanned aerial vehicle
EP3917181A1 (en) Method and device for data transmission, and storage medium
WO2022007944A1 (en) Device control method, and related apparatus
WO2022166618A1 (en) Screen projection method and electronic device
EP4180944A1 (en) Screen mirroring abnormality processing method and electronic device
CN111315038B (en) Data transmission method and device, electronic equipment and storage medium
CN105978663A (en) Data transmission method and device
WO2023206235A1 (en) Data communication method and apparatus, electronic device and data communication system
WO2024012345A1 (en) Mirroring picture processing method and related apparatus
WO2024059979A1 (en) Sub-band configuration method and device
WO2017031900A1 (en) Time delay control method and apparatus

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280001399.8

Country of ref document: CN

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

Ref document number: 22939087

Country of ref document: EP

Kind code of ref document: A1