CN114531435B - Data sharing method and related device - Google Patents

Data sharing method and related device Download PDF

Info

Publication number
CN114531435B
CN114531435B CN202011198050.7A CN202011198050A CN114531435B CN 114531435 B CN114531435 B CN 114531435B CN 202011198050 A CN202011198050 A CN 202011198050A CN 114531435 B CN114531435 B CN 114531435B
Authority
CN
China
Prior art keywords
electronic device
file
electronic equipment
millimeter wave
wave radar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011198050.7A
Other languages
Chinese (zh)
Other versions
CN114531435A (en
Inventor
陈志凯
俞泉
黄腾飞
刘成
邹佶
范保民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011198050.7A priority Critical patent/CN114531435B/en
Priority to PCT/CN2021/126983 priority patent/WO2022089523A1/en
Publication of CN114531435A publication Critical patent/CN114531435A/en
Application granted granted Critical
Publication of CN114531435B publication Critical patent/CN114531435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Landscapes

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

Abstract

The application discloses a data sharing method, and when a first electronic device (for example, a tablet personal computer) can recognize that a motion action of a second electronic device (for example, a mobile phone) is a specific action through a millimeter wave radar, data sharing between the first electronic device and the second electronic device is triggered. Therefore, the operation steps of sharing data between the first electronic device and the second electronic device can be simplified, and the process of file transmission is shortened.

Description

Data sharing method and related device
Technical Field
The present application relates to the field of short-distance communications, and in particular, to a data sharing method and related apparatus.
Background
With the development of wireless communication technology, electronic devices such as smart phones and tablet computers start supporting users to share file data such as pictures, documents and videos to other devices, and therefore the office efficiency and the office experience of the users are improved. For example, a user may share file data such as pictures, documents, and videos on an electronic device such as a smartphone to other devices without using a data line.
At present, when a user wants to share file data such as pictures on electronic equipment such as a smart phone to other equipment, the user needs to manually select the file data to be sent, then open a Wi-Fi function, and search surrounding equipment with the Wi-Fi function opened. Then, the user needs to select the receiving device in the search device list to perform file transmission, which makes the user operation complicated.
In order to solve the above problems, two existing electronic devices with Near Field Communication (NFC) functions may implement Wi-Fi automatic connection and wireless data transmission through NFC sensing area contact. According to the technology, automatic data wireless transmission between the devices can be realized only by the NFC function of the two devices, if one device does not have the NFC function, the function cannot be realized, and therefore, the data cannot be rapidly shared for other devices for the electronic devices without the support of NFC hardware.
Disclosure of Invention
The application provides a data sharing method and a related device, and the data sharing between other equipment and electronic equipment can be triggered when the electronic equipment configured with a millimeter wave radar recognizes the movement of the other equipment as a specific action through the millimeter wave radar. In this way, the operation steps of sharing data between the electronic device and other devices can be simplified.
In a first aspect, the application provides a data sharing method for transmitting a file between a first electronic device and a second electronic device, where the first electronic device includes a millimeter wave radar module configured to receive an echo signal of an obstruction within a range. The first electronic device establishes a Bluetooth connection with the second electronic device. The second electronic device displays a first interface, wherein the first interface comprises a first file. After the millimeter wave radar module acquires an echo signal when the second electronic device performs a first motion, the first electronic device sends a first acquisition request through the bluetooth connection, wherein the first motion is a motion within the above range. And the second electronic equipment receives the first acquisition request and transmits the first motion data through Bluetooth connection. The first electronic equipment receives the first motion data, and when the first motion data meets a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment. The second electronic equipment receives the file acquisition request, and automatically sends the first file to the first electronic equipment.
According to the data sharing method provided by the application, when the first electronic device (such as a tablet personal computer) can recognize that the motion action of the second electronic device (such as a mobile phone) is a specific action through the millimeter wave radar, the data sharing between the first electronic device and the second electronic device is triggered. In this way, the operation steps of sharing data between the first electronic device and the second electronic device can be simplified. For example, a user may only pick up the mobile phone to move left, right, close to the tablet computer, or far away from the tablet computer in the millimeter wave radar detection area of the tablet computer, and may transmit the file displayed on the mobile phone to the tablet computer or transmit the file displayed on the tablet computer to the mobile phone. Therefore, the transmission between the two devices is realized through only one operation of the user, the operation steps are simplified, and the process of file transmission is shortened.
After receiving the first file, the first electronic device can directly open and display the first file. Therefore, operation steps of a user can be reduced, and the user can conveniently and quickly transmit the file on the second electronic equipment to the first electronic equipment for display.
In one possible implementation, the method further includes: the first electronic device displays a second interface, and the second interface comprises a second file. And after the millimeter wave radar module acquires an echo signal when the second electronic device performs a second motion, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second motion is a motion within the range. And the second electronic equipment receives the second acquisition request and sends second motion data through the Bluetooth connection. And the first electronic equipment receives the second motion data, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment. Therefore, when the first electronic device recognizes the movement of other devices as a specific action through the millimeter wave radar, the currently displayed file is sent to the other devices, and the operation steps of sharing file data on the electronic device by a user are simplified.
In a possible implementation manner, after the second electronic device receives the file acquisition request, the second electronic device may first establish a file transmission connection with the first electronic device, and then send the first file to the first electronic device through the file transmission connection.
In a possible implementation manner, when the second motion data meets the second condition, the first electronic device establishes a file transmission connection with the second electronic device, and then the first electronic device sends the second file to the second electronic device through the file transmission connection.
In a second aspect, the present application provides a data sharing method, which is applied to the first electronic device. The method comprises the following steps: the method comprises the steps that Bluetooth connection is established between first electronic equipment and second electronic equipment, wherein the first electronic equipment comprises a millimeter wave radar module, and the millimeter wave radar module is configured to receive echo signals of a shelter within a range; after the millimeter wave radar module acquires an echo signal of the second electronic equipment during first movement, the first electronic equipment sends a first acquisition request to the second electronic equipment through Bluetooth connection, wherein the first movement is movement within the range; the method comprises the steps that first electronic equipment receives first motion data sent by second electronic equipment, and when the first motion data meet a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment; the first electronic equipment receives a first file sent by the second electronic equipment.
And the first electronic equipment displays the first file after receiving the first file. Therefore, operation steps of a user can be reduced, and the user can conveniently and quickly transmit the file on the second electronic equipment to the first electronic equipment for display.
In one possible implementation, the first electronic device may display the second file. After the millimeter wave radar module acquires an echo signal when the second electronic device performs a second motion, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second motion is a motion within the range. And the first electronic equipment receives second motion data sent by the second electronic equipment through Bluetooth connection, and when the second motion data meet a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
In the data sharing method provided in any one of the above aspects of the present application, the second electronic device includes at least one of an acceleration sensor and a gyro sensor, and the first motion data includes at least one of acceleration sensor data and gyro sensor data.
The first motion data may include motion data for a first time period, the first time period being a time period during which the second electronic device performs the first motion.
The first condition comprises acceleration sensor data comprising the acceleration sensor data for instructing the second electronic device to make the first motion; alternatively, the gyroscope sensor data comprises instructions for instructing the second electronic device to perform the first motion.
The second condition comprises acceleration sensor data comprising the acceleration sensor data for instructing the second electronic device to make the second motion; alternatively, the gyroscope sensor data comprises instructions for instructing the second electronic device to perform the second motion.
The file types of the first file and the second file may include any one of the following: pictures, video, audio, documents, tables, folders, compressed packages.
The file transfer connection may include any one of: the system comprises a wireless high-fidelity Wi-Fi direct connection, a Wi-Fi softAP connection and an ultra-wideband UWB connection.
In the method, before the millimeter wave radar module acquires the echo signal of the second electronic device during the first movement, the first electronic device sends the millimeter wave signal in a first period through the millimeter wave radar module. After the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends the millimeter wave signal in a second period through the millimeter wave radar module, wherein the first period is greater than the second period. Therefore, the power consumption of the millimeter wave radar can be saved when no shielding object exists, and the accuracy of the millimeter wave radar for detecting the shielding object is improved when the shielding object exists.
In a third aspect, the present application provides another data sharing method for transmitting a file between a first device and a second device, where the first device includes a millimeter wave radar module configured to recognize a motion of the second device within a range, and the method includes: the second electronic equipment displays a first interface, wherein the first interface comprises a first file; after the millimeter wave radar module acquires an echo signal of second electronic equipment during first movement, the first electronic equipment sends a first message, wherein the first movement is movement within a range; and the second electronic equipment receives the first message and automatically sends the first file to the first electronic equipment.
The first electronic device may send the first message to the second electronic device through bluetooth, may send the first message to the second electronic device through an access point AP of a wireless local area network, and may send the first message to the second electronic device through a mobile communication network (e.g., a 4G network, a 5G network).
In a fourth aspect, the present application provides another data sharing method for transmitting a file between a first device and a second device, where the first device includes a millimeter wave radar module configured to recognize a motion of the second device within a range, and the method includes: the first electronic equipment displays a second interface, and the second interface comprises a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second motion, the first electronic device automatically sends the second file to the second electronic device, wherein the first motion is motion within a range.
In a fifth aspect, the present application provides an electronic device, which is a first electronic device, including: the display screen, the one or more processors, the one or more memories and the millimeter wave radar module; wherein the one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the first electronic device to perform the data sharing method of any one of the possible implementations of the above aspects.
In a sixth aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions, and when the computer instructions are run on an electronic device, a communication apparatus is caused to execute a data sharing method in any possible implementation manner of any one of the foregoing aspects.
In a seventh aspect, an embodiment of the present application provides a computer program product, which when run on a computer, causes the computer to execute the data sharing method in any one of the possible implementation manners of the foregoing aspects.
In an eighth aspect, an embodiment of the present application provides a processing system, including: the device comprises a processor, a millimeter wave radar module, a Bluetooth module and a wireless local area network WLAN module. Wherein the millimeter wave radar module is configured to receive echo signals of the obstruction within range; the Bluetooth module is used for the second electronic device to establish Bluetooth connection. The millimeter wave radar module is used for acquiring an echo signal of the second electronic device during the first movement; the processor is configured to instruct the bluetooth module to send a first acquisition request to the second electronic device through the bluetooth connection after acquiring an echo signal when the second electronic device performs a first motion, where the first motion is a motion within the range. The bluetooth module is further configured to receive first motion data sent by the second electronic device. The processing module is further configured to instruct the bluetooth module to send a file acquisition request to the second electronic device when the first motion data meets the first condition. The WLAN module is used for receiving the first file sent by the second electronic device.
Reference may be made, inter alia, to any one of the implementations of any one of the preceding aspects for the specific functionality of each module in the processing system.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data sharing system according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a data sharing scenario provided in an embodiment of the present application;
FIGS. 5A-5D are a set of schematic diagrams of interfaces provided by embodiments of the present application;
FIGS. 6A-6E are another set of schematic interfaces provided by embodiments of the present application;
fig. 7 illustrates a hardware system of an electronic device 200 according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating a software initialization process of a millimeter wave radar module according to an embodiment of the present application;
fig. 9 illustrates a data acquisition process of a millimeter wave radar module provided in an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a software architecture of a data sharing system according to an embodiment of the present application;
fig. 11 shows a schematic flowchart of a data sharing method according to an embodiment of the present application;
fig. 12 is a schematic flowchart illustrating a data sharing method according to another embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
The embodiment of the application provides a data sharing method, and when the electronic device 200 recognizes that a moving action of the electronic device 100 is a specific action through a millimeter wave radar, data sharing between the electronic device 100 and the electronic device 200 is triggered. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified. For example, a user may only pick up electronic device 100 to move to the left, to the right, to approach electronic device 200, or to move away from electronic device 200 within the millimeter wave radar detection area of electronic device 200, and may be able to transfer a file displayed on electronic device 100 to electronic device 200 or to transfer a file displayed on electronic device 200 to electronic device 100. Therefore, the transmission between the two devices can be realized through only one operation of the user, the operation steps are simplified, and the process of file transmission is shortened.
Fig. 1 shows a schematic structural diagram of an electronic device 100.
The following specifically describes an embodiment by taking the electronic device 100 as an example. It should be understood that the electronic device 100 shown in fig. 1 is merely an example, and that the electronic device 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
Wherein the controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193.
The camera 193 is used to capture still images or video. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video.
The NPU is a neural-network (NN) computing processor, and may implement applications of the electronic device 100, such as intelligent recognition, through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program required by at least one function (such as a file transfer function, a file playing or displaying function, and the like), and the like. The storage data area may store data (e.g., motion data, received file data, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense the ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is used to detect temperature. The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194. The bone conduction sensor 180M may acquire a vibration signal. The keys 190 include a power-on key, a volume key, and the like. The motor 191 may generate a vibration cue. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 195 is used to connect a SIM card.
The following describes a structure of an electronic device 200 provided in an embodiment of the present application.
Fig. 2 schematically illustrates a structural diagram of an electronic device 200 provided in an embodiment of the present application.
As shown in fig. 2, electronic device 200 may include a processor 201, a memory 202, a wireless communication processing module 203, an antenna 204, a display screen 205, power management 206, an audio module 207, and a millimeter wave radar module 208. Wherein:
the processor 201 is operable to read and execute computer readable instructions. In particular implementations, the processor 201 may mainly include a controller, an operator, and a register. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a specific implementation, the hardware architecture of the processor 201 may be an Application Specific Integrated Circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.
In some embodiments, processor 201 may be configured to interpret signals received by wireless communication module 203 and/or millimeter wave radar module 208, such as a probe request broadcast by electronic device 100, a received signal from millimeter wave radar module 208 that is reflected back by an obstruction, and so on. The processor 201 may be configured to perform corresponding processing operations according to the parsing result, such as generating a probe response, and the like.
In some embodiments, the processor 201 may also be configured to generate signals, such as bluetooth broadcast signals and beacon signals, which are transmitted by the wireless communication module 203.
A memory 202 is coupled to the processor 201 for storing various software programs and/or sets of instructions. In particular implementations, memory 202 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system, such as an embedded operating system like uCOS, vxWorks, RTLinux, etc. Memory 202 may also store communication programs that may be used to communicate with electronic device 100, or other devices.
The wireless communication module 203 may include one or more of a bluetooth communication module 203A, WLAN communication module 203B. It is possible that the bluetooth communication module 203A may be integrated with other communication modules (e.g., the WLAN communication module 203B).
In some embodiments, one or more of the bluetooth communication modules 203A, WLAN and the communication module 203B may listen to signals, such as measurement signals, scanning signals, and the like, transmitted by other devices (such as the electronic device 100) and may send response signals, such as measurement responses, scanning responses, and the like, so that the other devices (such as the electronic device 100) may discover the electronic device 200 and establish wireless communication connections with the other devices (such as the electronic device 100) through one or more of bluetooth, WLAN, or other short-range wireless communication technologies for data transmission.
In other embodiments, one or more of the bluetooth communication modules 203A, WLAN and the communication module 203B may also transmit signals, such as broadcast probe signals and beacon signals, so that other devices (e.g., the electronic device 100) may discover the electronic device 200 and establish a wireless communication connection with other devices (e.g., the electronic device 100) via one or more of bluetooth and WLAN or other short-range wireless communication technologies for data transmission.
Antenna 204 may be used to transmit and receive electromagnetic wave signals. The antennas of different communication modules can be multiplexed and can also be mutually independent so as to improve the utilization rate of the antennas. For example: the antenna of the bluetooth communication module 203A may be multiplexed as the antenna of the WLAN communication module 203B.
The display screen 205 may be used to display images, video, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display, an organic light emitting diode, an active matrix organic light emitting diode or an active matrix organic light emitting diode, a flexible light emitting diode, a quantum dot light emitting diode, or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments, the electronic device 200 may further include a touch sensor, which may be disposed with the display screen 205, and the touch sensor and the display screen 205 constitute a touch screen, also referred to as a "touch screen". The touch sensor may be configured to detect a touch operation applied thereto or thereabout, the touch operation being an operation of a user's hand, elbow, stylus, or the like contacting the display screen 205, and the touch sensor may communicate the detected touch operation to the processor 201 to determine the type of touch event. Visual output associated with the touch operation may be provided through the display screen 205. In other embodiments, the touch sensor may be located on a different surface of the electronic device 200 than the display screen 205.
The power management module 206 may be used to control the power of the power supply to the electronic device 200.
The audio module 207 is operable to output audio signals through the audio output interface, which enables the electronic device 200 to support audio playback. The audio module 207 may also be used to receive audio data through an audio input interface. When the voice wake-up function of the electronic device 200 is turned on, the audio module 207 may collect ambient sound in real time to obtain audio data. The audio module can also perform voice recognition on the audio data received by the audio module to obtain a voice instruction, and execute the operation corresponding to the voice instruction.
The millimeter wave radar module 208 may be configured to transmit an electromagnetic wave through the transmitting antenna 1 and receive an electromagnetic wave (i.e., an echo signal) reflected from the obstruction through at least one receiving antenna (e.g., the receiving antenna 1, the receiving antenna 2, and the receiving antenna 3). The millimeter wave radar module 208 measures distance, speed and direction of the shelter by sending and receiving parameters of electromagnetic waves. The millimeter wave radar module 208 can measure the distance, the speed, and the direction of a plurality of obstacles simultaneously through the outlines of the obstacles, and also can measure one or more of the distance, the speed, and the direction of the obstacles. The millimeter wave radar module 208 may measure the distance to the obstruction by the time difference between the transmission and reception of the electromagnetic wave. The millimeter wave radar module 208 may measure the speed of the obstruction by transmitting and receiving the doppler effect of the electromagnetic waves. The millimeter wave radar chip 208 can calculate the azimuth angle (including the horizontal angle and the vertical angle) of the shelter by the phase difference of the electromagnetic waves reflected by the same shelter and received by two or more receiving antennas. Wherein, the more receiving antennas, the more accurate the measurement result of the shielding object by the millimeter wave radar module 208.
The frequency band of the millimeter wave radar module 208 for emitting the electromagnetic wave through the transmitting antenna 1 may include 24GHz, 60GHz, 77GHz, 120GHz, and the like. The higher the frequency band is, the longer the effective detection distance of the millimeter wave radar module 208 to the obstruction is. Millimeter wave radar module 208 has certain detection area, and when the shelter was located the detection area, millimeter wave radar module 208 can receive the millimeter wave signal that the shelter reflected, and when the shelter was located outside the detection area, millimeter wave radar module 208 can't receive the millimeter wave signal that the shelter reflected. Thus, when the obstruction is movable within the detection area within which the millimeter wave radar module 208 may move, it may be recognized by the millimeter wave radar module 208.
In one possible implementation, the millimeter-wave radar antenna (including the transmit antenna and the receive antenna) may be packaged in one chip with the millimeter-wave radar module 208.
In one possible implementation, the millimeter-wave radar antenna (including the transmit antenna and the receive antenna) may be located off-chip from which the millimeter-wave radar module 208 is located. The antennas (including the transmitting antenna and the receiving antenna) of millimeter-wave radar module 208 may be located at different locations on electronic device 200 than millimeter-wave radar module 208. For example, the antenna of millimeter-wave radar module 208 may be disposed on a frame of a display screen of electronic device 200, and the chip on which millimeter-wave radar module 208 is disposed may be on a back surface of a System On Chip (SOC), a motherboard, or the display screen. Like this, separately arrange millimeter wave radar module 208 and millimeter wave radar antenna on electronic equipment 200, can practice thrift the millimeter wave radar area occupied on electronic equipment 200, be favorable to realizing the narrow frame of display screen.
In one possible implementation, the chip on which the millimeter wave radar module 208 is located may be packaged with other communication modules in one chip. For example, the millimeter wave radar module 208 may be packaged on the same chip as the bluetooth communication module 203A and the WLAN communication module 203B.
It should be understood that the electronic device 200 shown in fig. 2 is merely an example, and that the electronic device 200 may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. In some embodiments, electronic device 200 may include the hardware included in electronic device 100 shown in FIG. 1 described above, as well as millimeter wave radar module 208 described above. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A data sharing system provided in an embodiment of the present application is described below.
Fig. 3 shows an architecture diagram of a data sharing system provided in an embodiment of the present application.
As shown in fig. 3, the data sharing system 30 includes an electronic device 100 and an electronic device 200. The electronic device 100 may communicate with the electronic device 200 through bluetooth communication and/or Wi-Fi communication, and in other embodiments, the electronic device 100 may communicate with the electronic device 200 through a mobile technology such as 5G.
The electronic device 100 may be a portable device such as a mobile phone, a wearable device (e.g., a smart band), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like.
The electronic device 200 may be a portable device such as a mobile phone, a wearable device (e.g., a smart band), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, a smart television, a smart large screen, an ultra-mobile personal computer (UMPC), a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like.
Among them, the millimeter wave radar antenna (including the transmitting antenna and the receiving antenna) on the electronic device 200 is set at different positions based on the device type so as to transmit and receive the millimeter wave signal conveniently. For example, when the electronic device 200 is a tablet computer, a notebook computer, a smart television, or a smart large screen, the millimeter-wave radar antenna on the electronic device 200 may be disposed around a frame of the display screen 205, and the millimeter-wave radar antenna and the display screen 205 are disposed on the same side surface. When the electronic device 200 is a notebook computer, the electronic device 200 is further provided with a keyboard and a touch pad, and the millimeter wave radar antenna on the electronic device 200 may also be disposed around a frame of the keyboard, around the touch pad or inside the touch pad, or around a frame of the display screen. The millimeter wave radar antenna is arranged at the position, so that when the electronic equipment 200 is used, the position of the shielding object and/or the movement of the shielding object can be conveniently detected, and the intention of a user can be accurately judged. In some embodiments, a millimeter-wave radar antenna may be disposed within a housing of electronic device 200 through which millimeter-wave signals may pass for detection.
In the embodiment of the present application, the electronic device 100 is exemplarily used as a mobile phone, and the electronic device 200 is used as a tablet computer for description. Among them, the electronic device 200 may be referred to as a first electronic device in the embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in the embodiment of the present application.
A data sharing scenario provided by the embodiment of the present application is described below.
Fig. 4 shows a data sharing scenario provided in an embodiment of the present application.
As shown in fig. 4, the electronic device 200 may detect a movement of the obstacle (for example, a left movement, a right movement, a movement closer to the electronic device 200, a movement further away from the electronic device 200, or the like) by the millimeter wave radar module, and acquire motion data (including gyro sensor data and acceleration sensor data) of the electronic device 100 to which the bluetooth connection has been established. When the electronic device 200 determines that the movement of the electronic device 100 is consistent with the movement of the obstruction based on the motion data of the electronic device 100, the electronic device 200 may determine that the obstruction is the electronic device 200. Accordingly, the electronic device 200 may perform an operation corresponding to the moving direction, for example, the electronic device 200 transmits file data on the electronic device 200 to the electronic device 100, or the electronic device 200 instructs the electronic device 100 to transmit the file data to the electronic device 200. In this way, a user only needs to perform a specific movement operation on the electronic device 100 in the millimeter wave radar detection area of the electronic device 200 to complete the transmission of the file data (e.g., picture data, video data, audio data, document data, etc.) between the electronic device 100 and the electronic device 200, thereby simplifying the operation steps of sharing data between the electronic device 100 and the electronic device 200.
In a specific implementation manner, in order to improve the accuracy of the intention identification, the electronic device 100 triggers the file transmission only when moving in a partial area of the detection area, and the partial area can be understood as a reliable area for triggering the file transmission. When the electronic device 100 moves outside a partial area of the detection area, file transmission is not triggered to avoid erroneous transmission. For example, the detection area of the millimeter wave radar module may be a conical area, the center of the detection area is the position where the millimeter wave radar antenna is located, the central angle of the detection area is θ, and the radius is r1. In one possible implementation, the reliable region may be a conical region with a radius r2 and a central angle θ. In one possible implementation, the central angle of the reliable region may be smaller than the central angle θ of the detection region. In one possible implementation, the reliable region is a region parallel to the millimeter wave radar antenna.
In the following embodiments, the first motion is illustrated by swinging to the left, and the second motion is illustrated by swinging to the right, and in other embodiments, the first motion and the second motion may also represent other ways of moving.
In the following, with reference to the data sharing scenario shown in fig. 4, the data sharing process between the electronic device 100 and the electronic device 200 provided in this embodiment is described by taking picture data sharing as an example. Among them, the electronic device 200 may be referred to as a first electronic device in the embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in the embodiment of the present application.
In some application scenarios, the electronic device 100 may display a browsing interface including file data (e.g., picture data). When the electronic device 100 displays the browsing interface, the electronic device 100 may receive an operation of the user waving to the left within the detection area of the millimeter wave radar on the electronic device 200. The electronic device 200 may detect the moving direction of the blocking object through the millimeter wave radar, and acquire the motion data on the electronic device 100 through bluetooth. The electronic device 200 may determine whether the moving direction of the blocking object coincides with the moving direction of the electronic device 100 in the same time period based on the moving direction of the blocking object and the motion data of the electronic device 100. When the moving direction of the blocking object is consistent with the moving direction of the electronic device 100 in the same time period, the electronic device 200 may establish a file transfer connection with the electronic device 100 and request the electronic device 100 to send file data on the currently displayed interface to the electronic device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
As shown in fig. 5A, the electronic device 100 displays an interface 510 having a home screen (home screen), and a page in which application icons are placed is displayed in the interface 510, and the page includes a plurality of application icons (e.g., a weather application icon, a stock application icon, a calculator application icon, a setting application icon, a mail application icon, a music application icon, a video application icon, a browser application icon, a map application icon, a gallery application icon 511, and the like). Optionally, page indicators are further displayed below the application icons to indicate the total number of pages on the home screen and the position relationship between the currently displayed page and other pages. For example, the interface 510 of home screen may include three pages, and a white dot in the page indicator may indicate that the currently displayed page is the rightmost one of the three pages. Further optionally, there are a plurality of tray icons (e.g., a dialing application icon, an information application icon, a contacts application icon, a camera application icon) below the page indicator, which remain displayed upon page switching.
The electronic device 100 may receive an input operation (e.g., a single click) by the user with respect to the gallery application icon 511, and in response to the input operation, the electronic device 100 may display a gallery application interface 520 as shown in fig. 5B.
As shown in FIG. 5B, the gallery application interface 520 includes thumbnails (e.g., thumbnail 521) of one or more pictures.
The electronic apparatus 100 may receive an operation (e.g., a single click) of the user on the thumbnail 521, and in response to the operation, the electronic apparatus 100 may display a picture presentation interface 530 as shown in fig. 5C.
As shown in fig. 5C, the title of the picture presentation interface 530 may be "9/20/2020". The picture display interface 530 includes a picture 536 and a menu 537. The menu 537 includes a sharing control 531, a collection control 532, an editing control 533, a deletion control 534, and a plurality of controls 535. The sharing control 531 may be used to trigger opening of the file sharing interface and gradually guide the user to perform an input operation, so as to complete the sharing of the picture 536. Favorites control 532 may be used to trigger the favoring of the picture 536 to a picture favorites folder. The editing controls 533 may be used to trigger editing functions for rotating, cropping, adding filters, blurring, etc. the picture 536. The delete control 534 can be used to trigger the deletion of the picture 536. More controls 535 may be used to trigger the opening of more functions related to the picture 536.
In some embodiments, the menu 537 is optional. The menu 537 can be hidden in the picture presentation interface 530, for example, when the user clicks on the picture 536, the user can trigger the electronic device 100 to hide the menu 537. When the user clicks the menu 537 again, the electronic device 100 may be triggered to display the menu 537.
When the electronic device 100 displays the picture displaying interface 530, an operation of swinging the electronic device to the left by the user may be received. During a left swing of the electronic device 100 by the user, the electronic device 100 may record motion data during the user swing, wherein the motion data includes sensor data and acceleration data. The electronic device 200 may detect the movement direction of the blocking object by the millimeter wave radar, and acquire the movement data on the electronic device 100, which has established the bluetooth connection, by bluetooth. After the electronic device 200 acquires the motion data of the electronic device 100, it may be determined whether the moving direction of the electronic device 100 is consistent with the motion direction of the blocking object based on the motion data of the electronic device 100, if so, the electronic device 200 may interact file connection parameters (for example, wi-Fi connection parameters) with the electronic device 100, and the electronic device 200 may establish a file transfer connection with the electronic device 100 and request the electronic device 100 to send file data (i.e., the above-mentioned picture 536) currently displayed on the display screen of the electronic device 100 to the electronic device 200. The file transfer connection may be a Wi-Fi direct (e.g., a wireless fidelity peer to peer (Wi-Fi P2P)), wi-Fi softAP, ultra-wideband (UWB) or other communication technology connection.
As shown in fig. 5D, after receiving the picture data sent by the electronic device 100, the electronic device 200 may display a picture display interface 540. The picture display interface 540 may include a picture 541. The picture 541 is the same as the picture 536 displayed in the picture displaying interface 530 by the electronic device 100 in fig. 5C.
In a possible implementation manner, after the first file transfer is completed, the file transfer connection between the electronic device 200 and the electronic device 100 is disconnected, and the bluetooth connection between the electronic device 200 and the electronic device 100 maintains a connection state. The electronic device 200 and the electronic device 100 may again interact with parameters of the file transfer connection (e.g., wi-Fi connection parameters) through the maintained bluetooth connection to re-establish the file transfer connection and to re-transfer the file. After the file transmission is finished, the file transmission connection is disconnected, so that the power consumption can be saved; and the Bluetooth connection is kept, so that the file transmission connection can be quickly established in the next transmission, and the transmission speed is improved. And keeping the power consumption of the bluetooth connection low.
In some application scenarios, the electronic device 200 may display a browsing interface including file data (e.g., picture data). When the electronic apparatus 200 displays the browsing interface, the electronic apparatus 100 may receive an operation of the user waving to the right within a detection area of the millimeter wave radar on the electronic apparatus 200. The electronic device 200 may detect the moving direction of the blocking object through the millimeter wave radar, and acquire the motion data on the electronic device 100 through bluetooth. The electronic device 200 may determine whether the moving direction of the blocking object coincides with the moving direction of the electronic device 100 in the same time period based on the moving direction of the blocking object and the motion data of the electronic device 100. When the moving direction of the blocking object is consistent with the moving direction of the electronic device 100 in the same time period, the electronic device 200 may establish a file transfer connection with the electronic device 100, and send file data included in the interface displayed on the electronic device 200 to the electronic device 100. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
As shown in fig. 6A, the electronic apparatus 200 displays an interface 610 with a home screen. The interface 610 display includes a plurality of application icons (e.g., a weather application icon, a stock application icon, a calculator application icon, a settings application icon, a mail application icon, a music application icon, a video application icon, a browser application icon, a map application icon, a gallery application icon 611, etc.). For the text description of the interface 610, reference may be made to the text description of the interface 510 in fig. 5A, which is not repeated herein.
The electronic device 200 may receive an input operation (e.g., a single click) by the user with respect to the gallery application icon 611, and in response to the input operation, the electronic device 100 may display a gallery application interface 620 as shown in fig. 6B.
As shown in FIG. 6B, the gallery application interface 620 includes thumbnails of one or more pictures (e.g., thumbnail 621).
The electronic apparatus 200 may receive an operation (e.g., a single click) of the user on the thumbnail 621, and in response to the operation, the electronic apparatus 200 may display a picture presentation interface 630 as shown in fig. 6C.
As shown in fig. 6C, the title of the picture presentation interface 630 may be "9/22/2020". The picture display interface 630 includes a picture 636 and a menu 637. The menu 637 includes a sharing control 631, a collection control 632, an editing control 633, a deleting control 634, and a more control 635. For the text description of the menu 637, reference may be made to the menu 537 shown in fig. 5C, which is not described herein again.
In some embodiments, the menu 537 is optional. The menu 537 can be hidden in the picture presentation interface 530.
As shown in fig. 6D, when the electronic device 200 displays the picture presentation interface 630, the electronic device 100 may display the interface 640 of the home screen. For the text description of the interface 640, reference may be made to the text description of the interface 510 in fig. 5A, which is not repeated herein.
When the electronic device 100 receives an operation of swinging the user to the right, the electronic device 100 may record motion data during the swinging of the user while the user swings the electronic device 100 to the left, wherein the motion data includes sensor data and acceleration data. The electronic device 200 may detect the movement direction of the blocking object by the millimeter wave radar, and acquire the movement data on the electronic device 100, which has established the bluetooth connection, by bluetooth. After the electronic device 200 acquires the motion data of the electronic device 100, it may be determined whether the moving direction of the electronic device 100 is consistent with the motion direction of the blocking object based on the motion data of the electronic device 100, and if so, the electronic device 200 may establish a file transfer connection with the electronic device 100 and send file data (i.e., the picture 636) displayed on the electronic device 200 to the electronic device 100. The file transfer connection may be a Wi-Fi direct (e.g., wi-Fi P2P), wi-Fi softAP, UWB, or other communication technology connection.
As shown in fig. 6E, after receiving the picture data sent by the electronic device 200, the electronic device 100 may display a picture display interface 650. The picture display interface 640 may include a picture 651. The picture 651 is the same as the picture 636 displayed in the picture displaying interface 630 by the electronic device 200 in fig. 6C.
A hardware system of an electronic device 200 provided in the embodiment of the present application is described below.
Fig. 7 illustrates a hardware system of an electronic device 200 according to an embodiment of the present disclosure. The hardware system of electronic device 200 may include, but is not limited to, processor 701, millimeter wave radar module 702, power module 703, crystal module 704, one transmit antenna (transmit antenna 705), and three receive antennas (receive antenna 706, receive antenna 707, receive antenna 708).
Millimeter-wave radar module 702 may be configured to, among other things, transmit electromagnetic waves (i.e., millimeter waves) via transmit antenna 705 and receive electromagnetic waves (i.e., echo signals) reflected from an obstruction via at least one receive antenna (e.g., receive antenna 706, receive antenna 707, and receive antenna 708). The millimeter wave radar module 702 performs distance measurement, speed measurement, and orientation measurement on the obstruction by sending and receiving parameters of electromagnetic waves. Millimeter wave radar module 702 may measure distance, speed, and orientation for multiple obstacles. Millimeter wave radar module 702 may measure the distance to an obstruction by the time difference between the transmission and reception of electromagnetic waves. Millimeter-wave radar module 702 may measure the velocity of an obstruction by sending and receiving the doppler effect of electromagnetic waves. When millimeter-wave radar module 702 is configured with at least three receiving antennas, millimeter-wave radar module 702 may calculate an azimuth angle (including a horizontal angle and a vertical angle) of an obstacle by using phase differences of electromagnetic waves reflected by the same obstacle, which are received by at least three receiving antennas.
The millimeter wave radar module 702 may send millimeter wave data of an obstruction to the processor 701 after measuring the millimeter wave data (including the distance, the moving speed, and the azimuth angle of the obstruction) of the obstruction.
The processor 701 may be a Central Processing Unit (CPU) or an Application Processor (AP). When the processor 701 determines that the type of movement action of the obstacle is a specified type (for example, movement to the left direction of the electronic apparatus 200 or movement to the right direction of the electronic apparatus 200) based on the millimeter wave data of the obstacle, the processor 701 may acquire, through the bluetooth chip 709, motion data (including gyro sensor data and acceleration sensor data) on the electronic apparatus 100 to which the bluetooth connection with the electronic apparatus 200 has been established. When the processor 701 determines that the type of the movement action of the obstruction is consistent with the type of the movement action of the electronic device 100 based on the motion data of the electronic device 100 and the millimeter wave data of the obstruction, the processor 701 may instruct the WLAN chip 710 to establish a Wi-Fi direct (e.g., a wireless fidelity peer to peer (Wi-Fi P2P)) communication technology connection with the electronic device 100, such as Wi-Fi softAP.
The WLAN chip 710 may be used to transmit file data included in a current display interface on the display screen of the electronic device 200 to the electronic device 100.
In some embodiments, the WLAN chip 710 may receive the file data transmitted by the electronic device 100, which is included in the current display interface on the display screen of the electronic device 100. The WLAN chip 710 may transmit file data of the electronic device 100 to the processor 701. The processor 701 may instruct a display screen (not shown in fig. 7) of the electronic device 200 to display the file data of the electronic device 100.
In some embodiments, the hardware system of the electronic device 200 may further include a UWB chip (not shown in fig. 7) and a UWB antenna (not shown in fig. 7) coupled to the UWB chip. When the processor 701 of the electronic device 200 determines that the movement action type of the obstruction is consistent with the movement action type of the electronic device 100 based on the motion data of the electronic device 100 and the millimeter wave data of the obstruction, the processor 701 may instruct the UWB chip to establish a UWB connection with the electronic device 100. The UWB chip may transmit file data included in a current display interface on the display screen of the electronic device 200 to the electronic device 100. Alternatively, the UWB chip may receive file data transmitted by the electronic device 100 included in a current display interface on the display screen of the electronic device 100. The UWB chip may transmit the file data of the electronic device 100 to the processor 701. The processor 701 may instruct a display screen (not shown in fig. 7) of the electronic device 200 to display the file data of the electronic device 100.
Power module 703 may be used to power millimeter-wave radar module 702.
Crystal module 704 may be used to provide a clock signal for millimeter wave radar module 702. Millimeter-wave radar module 702 may transmit millimeter-wave signals through the transmit antenna at specified periods (e.g., every 10 ms) based on the clock signal.
In some embodiments, millimeter-wave radar module 702 is in a state of constant operation while electronic device 200 is operating. Millimeter-wave radar module 702 may be in an Idle (Idle) state when no obstruction is detected, in which Idle state (i.e., the first state) millimeter-wave radar module 702 may transmit millimeter-wave signals through the transmit antenna at a first period (e.g., every 100 ms). When millimeter-wave radar module 702 detects an obstruction, millimeter-wave radar module 702 may switch to an Active (Active) state in which millimeter-wave radar module 702 may transmit millimeter-wave signals through a transmit antenna at a second period (e.g., every 10 ms). The first period is greater than the second period, that is, the duty ratio of the millimeter wave signal in the active state is higher than that in the idle state. Therefore, the power consumption of the millimeter wave radar can be saved when no shielding object exists, and the accuracy of the millimeter wave radar for detecting the shielding object is improved when the shielding object exists.
In some particular embodiments, the state of millimeter wave radar module 702 may be controlled by processor 701. For example, when an obstruction (for example, electronic device 100) is in front of electronic device 200, millimeter wave radar module 702 receives a millimeter wave signal returned from the obstruction through a receiving antenna, millimeter wave radar module 702 sends the returned millimeter wave signal to processor 701, processor 701 determines that millimeter wave radar module 702 detects the obstruction, and processor 701 sends a first control instruction to millimeter wave radar module 702. After millimeter-wave radar module 702 receives the first control instruction, millimeter-wave radar module 702 adjusts the millimeter-wave signal to be transmitted at the second period.
In some specific embodiments, millimeter-wave radar module 702 includes a controller, which may be a control device such as an MCU, and a signal transceiver for transmitting and receiving millimeter-wave signals. When an obstruction (for example, the electronic device 100) is in front of the electronic device 200, the signal transceiver receives a millimeter wave signal returned from the obstruction through the receiving antenna, the signal transceiver sends the returned millimeter wave signal to the controller, the controller determines that the millimeter wave radar module 702 detects the obstruction, and the controller sends a second control instruction to the signal transceiver. And after the signal transceiver receives the second control instruction, the signal transceiver adjusts the millimeter wave signal to be transmitted in a second period.
The frequency band of the millimeter wave radar module 702 transmitting the electromagnetic wave through the transmitting antenna 1 may include 24GHz, 60GHz, 77GHz, 120GHz, and the like. The higher the frequency band is, the longer the effective detection distance of the millimeter wave radar module 702 to the obstruction is.
In one possible implementation, the millimeter-wave radar antenna (including the transmit antenna and the receive antenna) may be packaged in one chip with the millimeter-wave radar module 702.
In one possible implementation, millimeter-wave radar antennas (including transmit antennas and receive antennas) may be located off-chip from millimeter-wave radar module 702. The antennas of millimeter-wave radar module 702 (including the transmit antenna and the receive antenna), among other things, may be located at different locations on electronic device 200 than millimeter-wave radar module 702. For example, an antenna of millimeter-wave radar module 702 may be disposed on a bezel of a display screen of electronic device 200, and a chip on which millimeter-wave radar module 702 is located may be on a System On Chip (SOC). In this way, millimeter wave radar module 702 and the millimeter wave radar antenna are separately arranged on electronic device 200, and the occupied area of the millimeter wave radar on electronic device 200 can be saved.
In one possible implementation, the chip on which millimeter wave radar module 702 is located may be packaged in one chip with other communication modules. For example, the chip on which the millimeter-wave radar module 702 is located may be packaged as the same chip as the bluetooth chip 709 and the WLAN chip 710.
Next, a software-driven initialization process of the millimeter wave radar will be described based on the hardware system of the electronic device 200 shown in fig. 7 described above.
Fig. 8 shows a software-driven initialization process of the millimeter wave radar provided in the embodiment of the present application.
As shown in fig. 8, the software driver initialization process includes the following steps:
and S801, reading and analyzing the command issued by the upper layer by the millimeter wave radar driver.
And S802, configuring the pin functions of the chip where the millimeter wave radar module is located by the millimeter wave radar driver, wherein the pin functions comprise a pin for configuring an input function, a pin for outputting a function, a pin for interrupting a function and a pin for multiplexing the function.
S803, the millimeter wave radar driver may perform interrupt registration.
And S804, driving the millimeter wave radar to configure data for a chip where the millimeter wave radar module is located.
And S805, the millimeter wave radar driver can detect the chip where the millimeter wave radar module is located through the data interface, so that the chip where the millimeter wave radar module is located reads the data of the processor.
Next, a data acquisition flow of the millimeter wave radar will be described based on the hardware system of the electronic device 200 shown in fig. 7.
Fig. 9 shows a data acquisition flow of the millimeter wave radar module provided in the embodiment of the present application.
As shown in fig. 9, the data acquisition process of the millimeter wave radar may include the following steps:
and S901, issuing a data acquisition command by the HAL layer.
S902, the data buffer of the processor has no data, and the thread of the processor of the electronic device 200 enters the wait queue.
And S903 triggering interruption when a First In First Out (FIFO) buffer area of a chip where the millimeter wave radar module is located reaches a preset value.
And S904, the processor reads data from the FIFO buffer area of the chip where the millimeter wave radar module is located, enters the data buffer area, and wakes up the waiting thread.
S905 indicates that the processor is waiting for the thread to change to the running state, and reads the data in the data buffer for processing by the upper layers, such as the HAL layer and the application layer.
A software architecture of the data sharing system provided in the embodiment of the present application is described below.
Fig. 10 shows a software architecture diagram of the data sharing system provided in the embodiment of the present application.
As shown in fig. 10, the data sharing system includes an electronic device 100 and an electronic device 200. The software systems of the electronic device 100 and the electronic device 200 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application uses a layered architecture as an example to exemplarily illustrate software structures of the electronic device 100 and the electronic device 200.
The electronic device 100 and the electronic device 200 each include an application layer, an application framework layer, a hardware abstraction layer, and a kernel layer.
The application layer may include a series of application packages, such as data sharing applications, bluetooth applications, WLAN applications, camera applications, gallery applications, telephony applications, music applications, video applications, and the like.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
A Hardware Abstraction Layer (HAL) runs in the user space, which shields the implementation details of the hardware driver module downwards and provides hardware access services upwards.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In an embodiment of the present application, the application layer of the electronic device 100 may include a plurality of applications (e.g., a data sharing application 1011, a bluetooth application, a WLAN application, a camera, a gallery, a call, music, a video, and so on). The application framework layers of the electronic device 100 may include bluetooth services 1012, sensor services 1013, WLAN services (not shown in fig. 10), and so on. The core layer of the electronic device 100 may include a bluetooth chip driver 1014, an acceleration sensor driver 1015, a gyroscope sensor driver 1016, a WLAN chip driver 1017, a display driver (not shown in fig. 10), an audio driver (not shown in fig. 10), and the like.
The application layer of the electronic device 200 may include a plurality of applications (e.g., data sharing application 1021, bluetooth application), WLAN application, camera application, gallery application, talk application, music application, video application, and the like). The application framework layer of the electronic device 200 may include an action recognition module 1023, a bluetooth service 1022, a WLAN service (not shown in fig. 10), and so on. The core layer of electronic device 200 may include millimeter-wave radar module driver 1024, bluetooth chip driver 1025, WLAN chip driver 1026, a display driver (not shown in fig. 10), an audio driver (not shown in fig. 10), and so forth.
The following describes exemplary work flows of software and hardware of the data sharing system in conjunction with the data sharing scenarios in the embodiments shown in fig. 5A to 5D or fig. 6A to 6E.
The HAL layer on the electronic device 200 issues a millimeter wave data acquisition command to the millimeter wave radar driver 1024 of the electronic device 200. Millimeter wave radar driver 1024 may instruct millimeter wave radar module 702 (i.e., a millimeter wave radar chip in the figure) to transmit a millimeter wave signal after the millimeter wave data acquisition instruction. Millimeter-wave radar module 702 may transmit a millimeter-wave signal through transmitting antenna 705 at a certain period, and receive a millimeter-wave echo reflected by an obstacle through at least three receiving antennas (including receiving antenna 706, receiving antenna 707, and receiving antenna 708). After receiving the millimeter wave echo, the millimeter wave radar module 702 may obtain millimeter wave data (including the distance, the moving speed, and the azimuth angle of the obstacle) based on millimeter wave echo analysis. Millimeter wave radar chip driver 1024 may obtain millimeter wave data from millimeter wave radar module 702 and report the millimeter wave data to action recognition module 1023 via the HAL layer.
The motion recognition module 1023 can be used for recognizing the movement motion type of the obstruction based on the millimeter wave data, and when the movement motion type of the obstruction is a specified movement motion type (e.g. sliding left or sliding right), the motion recognition module 1023 can call the bluetooth service 1022 to acquire the motion data (including the gyroscope sensor data and the acceleration sensor data) of the device (e.g. the electronic device 100) with which the bluetooth connection is established.
Bluetooth service 1022 may instruct bluetooth chip driver 1025 to control bluetooth chip 709 to send motion data capture instructions to electronic device 100.
After acquiring the motion data acquisition command, the bluetooth chip driver 1014 on the electronic device 100 may report the motion data acquisition command to the bluetooth service 1012 through the HAL layer.
The bluetooth service 1012 may present the acquisition instruction of the motion data to the sensor service 1013. The obtaining instruction of the motion data includes a obtaining time period of the motion data, and in the obtaining time period, the electronic device 200 identifies the movement motion type of the obstruction. The sensor service 1013 may obtain acceleration sensor data from an acceleration sensor through the acceleration sensor drive 1015, obtain gyro sensor data from a gyro sensor through the gyro sensor drive 1016, and save the acceleration sensor data and the gyro sensor data in real time. After receiving the motion data acquisition instruction, the sensor service 1013 may call the bluetooth service 1012 to acquire the motion data (including the number of gyroscope sensors and the acceleration sensor data) of the electronic device 100 in the time period, and instruct the bluetooth chip to send the motion data to the bluetooth chip 709 of the electronic device 200 through the bluetooth chip driver 1014.
After receiving the motion data of the electronic device 100, the bluetooth chip 709 of the electronic device 200 may report the motion data to the bluetooth service 1022 through the bluetooth chip driver 1025. The bluetooth service 1022 presents the motion data of the electronic device 100 and the device identification of the electronic device 100 to the motion recognition module 1023. The motion recognition module 1023 may determine whether the type of the movement motion of the electronic device 100 is the same as the type of the movement motion of the obstruction based on the motion data of the electronic device 100. When the type of the movement action of the electronic device 100 is the same as the type of the movement action of the obstruction, the action recognition module 1023 can render the type of the movement action of the electronic device 100 and the device identification of the electronic device 100 to the data sharing application 1021.
The data sharing application 1021 may establish a file transfer connection with the electronic device 100 after receiving the mobile action type of the electronic device 100 and the device identifier of the electronic device 100. The file transfer connection may be a Wi-Fi direct (e.g., wi-Fi P2P), wi-Fi softAP, UWB, or other communication technology connection.
When the type of the movement action of the electronic device 100 is the first type (for example, left movement), the data sharing application 1021 may call the bluetooth service 1022 or a WLAN service (not shown in fig. 10) or a UWB service (not shown in fig. 10), and transmit a file data obtaining request to the electronic device 100, where the file data obtaining request is used for requesting the electronic device 100 to transmit file data included in the currently displayed interface to the electronic device 200.
When the movement action type of the electronic device 100 is the second type (for example, right movement), the data sharing application 1021 may identify whether the currently displayed interface of the electronic device 200 includes file data, and if so, the data sharing application 1021 may send the file data to the electronic device 200 through a file transmission connection.
The following describes a flow of a data sharing method provided in an embodiment of the present application.
Fig. 11 shows a flowchart of a data sharing method according to an embodiment of the present application.
As shown in fig. 11, the data sharing method may include the following steps:
s1101, the electronic device 100 establishes Bluetooth connection with the electronic device 100.
S1102, the electronic device 100 displays a first interface, where the first interface includes a first file.
The type of the first file may include, among others, pictures, video, audio, documents, tables, folders, compressed packages, and so on.
For example, the first interface may be the picture display interface 530 shown in fig. 5C, and the first file may be a picture 536 included in the picture display interface 530. For details, reference may be made to the foregoing embodiment shown in fig. 5C, which is not described herein again.
S1103, the electronic device 100 receives a waving operation of the electronic device 100 by the user.
S1104, in response to the user' S waving operation of the electronic device 100, the electronic device 100 may record the motion data (i.e., the first motion data) in the course of the waving operation. Wherein the motion data comprises gyroscope sensor data and acceleration sensor data.
S1105, the electronic device 200 may detect the motion type of the obstruction through the millimeter wave radar module, and determine whether the motion type of the obstruction is the first type (i.e. the first motion). If yes, step S1106 is executed, and the electronic device 200 sends a motion data acquisition request to the electronic device 100 through bluetooth.
The principle of the millimeter wave radar module detecting the motion type of the blocking object may refer to the embodiment shown in fig. 2 or fig. 8, and is not described herein again.
The first type may include moving to a first direction (e.g., left direction) and/or the moving speed satisfies a first preset speed condition. Wherein the first preset speed condition comprises: the moving speed is greater than a first speed value (e.g., 0.1 m/s). In one possible implementation, the preset speed condition includes: the moving speed is greater than a first speed value (e.g., 0.1 m/s) and less than a second speed value (e.g., 0.5 m/s)), wherein the first speed value is less than the second speed value.
The motion data acquisition request sent by the electronic device 200 through bluetooth includes time information when the electronic device 200 detects the obstruction through the millimeter wave radar module.
In the embodiment of the present application, the motion data acquisition request in step S1106 described above may be referred to as a first acquisition request.
In a possible implementation manner, before detecting the motion action type of the obstruction, the electronic device 200 may further detect a distance between the obstruction and the millimeter wave radar antenna, and if the distance between the obstruction and the millimeter wave radar antenna is less than a preset distance (for example, 0.2 m), the electronic device 200 may detect the motion action type of the obstruction. If the distance between the obstacle and the millimeter wave radar antenna is greater than or equal to a preset distance (e.g., 0.2 m), the electronic device 200 does not detect the motion type of the obstacle. Therefore, the file data sharing can be prevented from being started by the mistaken touch of the user.
In a possible implementation manner, before detecting the motion action type of the blocking object, the electronic device 200 may further detect an included angle of the blocking object with respect to a perpendicular line of the plane where the millimeter wave radar antenna is located, and if the included angle of the blocking object with respect to the perpendicular line of the plane where the millimeter wave radar antenna is located is smaller than a preset angle (for example, 30 degrees), the electronic device 200 may detect the motion action type of the blocking object. If the included angle of the shielding object with respect to the perpendicular to the plane where the millimeter wave radar antenna is located is greater than or equal to a preset angle (for example, 30 degrees), the electronic device 200 may not detect the motion type of the shielding object. Therefore, the file data sharing can be prevented from being started by the mistaken touch of the user.
S1107, the electronic device 100 sends the motion data of the electronic device 100 to the electronic device 200 via bluetooth in response to the motion data acquisition request.
Wherein the motion data of the electronic device 100 includes gyroscope sensor data and acceleration sensor data of the electronic device 100 during a period of time when the electronic device 200 detects the obstruction.
S1108, the electronic device 200 determines whether the motion action type of the electronic device 100 is the first type based on the motion data of the electronic device 100, that is, whether the first motion data satisfies the first condition, and if the first motion data satisfies the first condition, the motion action type of the electronic device 100 is the first type. In one implementation, the first condition includes: the acceleration sensor data is used to instruct a second electronic device (i.e., electronic device 100) to perform a first motion; and/or, the gyroscopic sensor data includes data for instructing a second electronic device (i.e., electronic device 100) to perform the first motion. In other ways, the first condition may also be whether the moving speed is greater than a first speed value.
If yes, step S1109 is executed, where the electronic device 200 sends a file acquisition request to the electronic device 100 through bluetooth. Specifically, when the first motion data satisfies the first condition, the electronic device 100 transmits a file acquisition request to the electronic device 200.
S1110, after receiving the file obtaining request, the electronic device 100 may establish a file transmission connection with the electronic device 200.
The file transfer connection may be a Wi-Fi direct (e.g., a wireless fidelity peer to peer (Wi-Fi P2P)), wi-Fi softAP, ultra-wideband (UWB), or other communication technology connection.
S1111, the electronic device 100 may transmit the first file to the electronic device 200.
After the electronic device 200 receives the first file transmitted by the electronic device 100, the electronic device 200 may directly display the content of the first file. For example, if the first file is a picture, the electronic device 200 directly displays the picture; if the first file is a video or an audio, the electronic device 200 plays the video or the audio. If the first file is a document or a form, the electronic device 200 may open and display the document or the form directly through a document application or a form application.
In one possible implementation manner, after the electronic device 200 receives the first file sent by the electronic device 100, the electronic device 200 may save the received first file to the local. The electronic device 200 may then receive and display the contents of the first file in response to the user input.
In one possible implementation, before detecting the type of motion action of the obstruction, the electronic device 200 may also detect a distance of the obstruction from the millimeter wave radar antenna to determine whether the electronic device 100 is within a reliable range. If the distance between the electronic device 100 and the millimeter wave radar antenna is smaller than the preset distance (e.g., 0.2 m), it may be considered that the electronic device 100 is within the reliable range, and then no file transmission is performed between the electronic device 200 and the electronic device 100. Specifically, the distance between the electronic device 100 and the millimeter wave radar antenna is less than the preset distance, the electronic device 200 may detect the motion action type of the obstruction, or the electronic device 200 may continue to acquire the motion data of the electronic device 100 (for example, send a motion data acquisition request). If the distance between the electronic device 100 and the millimeter wave radar antenna is greater than or equal to the preset distance (e.g., 0.2 m), it may be considered that the electronic device 100 is out of the reliable range, and then file transmission is performed between the electronic device 200 and the electronic device 100. Specifically, the distance between the obstruction and the millimeter wave radar antenna is greater than the preset distance, the electronic device 200 does not detect the motion action type of the obstruction, or the electronic device 200 may not continue to acquire the motion data of the electronic device 100 (e.g., does not send a motion data acquisition request). Therefore, file data sharing can be prevented from being started by mistaken touch of a user.
In one possible implementation, before detecting the motion action type of the obstruction, the electronic device 200 may further detect an angle of the obstruction with respect to a perpendicular to a plane in which the millimeter wave radar antenna is located to determine whether the electronic device 100 is within a reliable range. If the included angle of the blocking object with respect to the perpendicular to the plane where the millimeter wave radar antenna is located is smaller than a preset angle (for example, 30 degrees), it may be considered that whether the electronic device 100 is located within the reliable range, and then the electronic device 200 may detect the motion type of the blocking object. If the included angle of the shielding object with respect to the perpendicular to the plane where the millimeter wave radar antenna is located is greater than or equal to a preset angle (for example, 30 degrees), it may be considered that the electronic device 100 is located outside the reliable range, and the electronic device 200 may not detect the motion type of the shielding object. Therefore, file data sharing can be prevented from being started by mistaken touch of a user.
In some embodiments, millimeter-wave radar module 702 may transmit millimeter-wave signals through the transmit antenna at a second periodicity (e.g., every 10 ms) when electronic device 100 is within a reliable range. When electronic device 100 is outside the reliable range, millimeter-wave radar module 702 may transmit the millimeter-wave signal through the transmit antenna for a first period to better conserve power consumption.
In some embodiments, the electronic device 200 may connect to an Access Point (AP) of the same WLAN or to the same server (which may be the same physical server or the same cloud server) with the electronic device 100. The electronic device 200 and the electronic device 100 have the same account ID, or the account ID on the electronic device 200 and the account ID on the electronic device 100 are authorized accounts. After recognizing that the type of the motion action of the obstruction is the first type (for example, moving left) through the millimeter wave radar module, the electronic device 200 may send a motion data acquisition request, which may include an account ID of the electronic device 200, to the electronic device 100 through the AP or the server. After receiving the motion data acquisition request, the electronic device 100 may determine whether the account ID of the electronic device 200 is the same as or mutually authorized with the account ID of the electronic device 100, and if so, the electronic device 100 may send the motion data (including the gyroscope sensor data and the acceleration sensor data) of the electronic device 100 to the electronic device 200 through an AP or a server. When determining that the motion action type of the electronic device 100 is the first type based on the motion data of the electronic device 100, the electronic device 200 may send a file acquisition request to the electronic device 100 through the AP or the server. The electronic device 100 may transmit the currently displayed file data to the electronic device 200 through the AP or the server. In this way, the electronic device 100 verifies the account ID of the electronic device 200, so that file data sharing between two mutually trusted devices can be ensured, and the privacy of the user can be protected.
In a possible implementation manner, the electronic device 200 may connect to the same AP of the WLAN or to the same server (which may be the same physical server or the same cloud server) as the electronic device 100. After the electronic device 200 identifies that the motion action type of the blocking object is the first type through the millimeter wave radar module, the motion data acquisition request may be sent to other multiple devices through the AP. The other plurality of devices may transmit respective motion data (including gyro sensor data and acceleration sensor data) to the electronic device 200 upon receiving the motion data acquisition request. The electronic device 200 may determine that the motion action type of the electronic device 100 is the first type from the motion data of other devices. The electronic apparatus 200 may transmit a file acquisition request to the electronic apparatus 100 through the AP. The electronic apparatus 100 may transmit the currently displayed file data to the electronic apparatus 200 through the AP.
Through the data sharing method provided by the embodiment of the application, the electronic device 100 can display a browsing interface including file data (e.g., picture data). When the electronic device 100 displays the browsing interface, the electronic device 100 may receive an operation of the user waving to the left within the detection area of the millimeter wave radar on the electronic device 200. The electronic device 200 may detect the moving direction of the blocking object through the millimeter wave radar, and acquire the motion data on the electronic device 100 through bluetooth. The electronic device 200 may determine whether the moving direction of the blocking object coincides with the moving direction of the electronic device 100 in the same time period based on the moving direction of the blocking object and the motion data of the electronic device 100. When the moving direction of the blocking object is consistent with the moving direction of the electronic device 100 in the same time period, the electronic device 200 may establish a file transfer connection with the electronic device 100 and request the electronic device 100 to send file data on the currently displayed interface to the electronic device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
A flow of a data sharing method provided in another embodiment of the present application is described below.
Fig. 12 is a schematic flowchart illustrating a data sharing method according to another embodiment of the present application.
As shown in fig. 12, the data sharing method may include the following steps:
s1201, the electronic device 100 establishes Bluetooth connection with the electronic device 100.
S1202, the electronic device 200 displays a second interface, where the second interface includes a second file.
The type of the second file may include, among others, pictures, video, audio, documents, tables, folders, compressed packages, and so on.
For example, the second interface may be the picture display interface 530 shown in fig. 6C, and the first file may be a picture 636 included in the picture display interface 630. For details, reference may be made to the foregoing embodiment shown in fig. 6C, which is not described herein again.
S1203, the electronic device 100 receives a waving operation of the electronic device 100 by the user.
S1204, in response to the waving operation of the electronic device 100 by the user, recording the motion data (i.e., the second motion data) during the waving operation.
S1205, the electronic device 200 may detect the motion action type of the obstruction through the millimeter wave chip, and determine whether the motion action type of the obstruction is the second type (i.e., the second motion). If yes, step S1206 is executed, and the electronic device 200 sends a motion data obtaining request to the electronic device 100 through bluetooth.
The principle of the millimeter wave radar module detecting the motion type of the blocking object may refer to the embodiment shown in fig. 2 or fig. 8, and is not described herein again.
The second type may comprise moving to a second direction (e.g. right direction) and/or the speed of movement meets a second preset speed condition. Wherein the first preset speed condition comprises: the moving speed is greater than a first speed value (e.g., 0.1 m/s). In one possible implementation, the preset speed condition includes: the moving speed is greater than a first speed value (e.g., 0.1 m/s) and less than a second speed value (e.g., 0.5 m/s)), wherein the first speed value is less than the second speed value.
The motion data acquisition request sent by the electronic device 200 through bluetooth includes time information when the electronic device 200 detects the obstruction through the millimeter wave radar module.
In the embodiment of the present application, the motion data acquisition request in step S1206 described above may be referred to as a second acquisition request.
S1207, the electronic device 100 transmits the motion data of the electronic device 100 to the electronic device 200 via bluetooth.
Wherein the motion data of the electronic device 100 includes gyroscope sensor data and acceleration sensor data of the electronic device 100 during a time period when the electronic device 200 detects the obstruction.
S1208, the electronic device 200 determines whether the movement action type of the electronic device 100 is the second type based on the movement data of the electronic device 100, that is, whether the second movement data satisfies the second condition, and if the second movement data satisfies the second condition, the movement action type of the electronic device 100 is the second type. In one implementation, the second condition includes: acceleration sensor data for instructing the second electronic device (i.e., electronic device 100) to perform the second motion; and/or the gyroscopic sensor data includes data for instructing a second electronic device (i.e., electronic device 100) to perform a second motion. In other ways, the second condition may also be whether the moving speed is greater than a second speed value.
If yes, step S1209 is executed to enable the electronic device 200 to establish a file transfer connection with the electronic device 100. Specifically, when the second motion data satisfies the second condition, the electronic device 200 transmits a file acquisition request to the electronic device 100.
The file transfer connection may be a Wi-Fi direct (e.g., a wireless fidelity peer to peer (Wi-Fi P2P)), wi-Fi softAP, ultra-wideband (UWB), or other communication technology connection.
S1210, the electronic device 200 transmits the second file to the electronic device 100.
After the electronic device 100 receives the second file sent by the electronic device 200, the electronic device 100 may directly display the content of the second file. For example, if the second file is a picture, the electronic device 100 directly displays the picture; if the second file is a video or audio, the electronic device 100 plays the video or audio. If the second file is a document or a form, the electronic device 100 may open and display the document or the form directly through a document application or a form application.
In one possible implementation, after the electronic device 100 receives the second file sent by the electronic device 200, the electronic device 200 may save the received second file to the local. The electronic device 200 may then receive and display the contents of the second file in response to the user input.
In some embodiments, the electronic device 200 may connect to the same AP of the WLAN or to the same server (which may be the same physical server or the same cloud server) as the electronic device 100. The electronic device 200 and the electronic device 100 have the same account ID, or the account ID on the electronic device 200 and the account ID on the electronic device 100 are authorized accounts. After recognizing that the type of the motion action of the obstruction is the second type (for example, moving to the right) through the millimeter wave radar module, the electronic device 200 may send a motion data acquisition request, which may include an account ID of the electronic device 200, to the electronic device 100 through the AP or the server. After receiving the motion data acquisition request, the electronic device 100 may determine whether the account ID of the electronic device 200 is the same as the account ID of the electronic device 100 or is an authorized account for each other, and if so, the electronic device 100 may send the motion data (including the gyroscope sensor data and the acceleration sensor data) of the electronic device 100 to the electronic device 200 through the AP or the server. When the electronic device 200 determines that the motion action type of the electronic device 100 is the second type based on the motion data of the electronic device 100, the electronic device 200 may send the currently displayed file data to the electronic device 100 through an AP or a server. In this way, the electronic device 100 verifies the account ID of the electronic device 200, so that file data sharing between two mutually trusted devices can be ensured, and the privacy of the user can be protected.
In a possible implementation manner, the electronic device 200 may connect to the same AP of the WLAN or to the same server (which may be the same physical server or the same cloud server) as the electronic device 100. After recognizing that the motion action type of the obstruction is the second type (for example, moving to the right) through the millimeter wave radar module, the electronic device 200 may send a motion data acquisition request to other multiple devices through the AP. The other plurality of devices may transmit respective motion data (including gyro sensor data and acceleration sensor data) to the electronic device 200 upon receiving the motion data acquisition request. The electronic device 200 may determine that the motion action type of the electronic device 100 is the first type from the motion data of other devices. The electronic device 200 may transmit the currently displayed file data to the electronic device 100 through the AP or the server.
Through the data sharing method provided by the embodiment of the application, the electronic device 200 can display a browsing interface including file data (e.g., picture data). When the electronic apparatus 200 displays the browsing interface, the electronic apparatus 100 may receive an operation of the user waving to the right within a detection area of the millimeter wave radar on the electronic apparatus 200. The electronic device 200 may detect the moving direction of the blocking object through the millimeter wave radar, and acquire the motion data on the electronic device 100 through bluetooth. The electronic device 200 may determine whether the moving direction of the blocking object is consistent with the moving direction of the electronic device 100 in the same time period based on the moving direction of the blocking object and the motion data of the electronic device 100. When the moving direction of the blocking object is consistent with the moving direction of the electronic device 100 in the same time period, the electronic device 200 may establish a file transfer connection with the electronic device 100, and send file data included in the interface displayed on the electronic device 200 to the electronic device 100. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
Embodiment 1 and the present application provide a data sharing method, which is used for transmitting a file between first electronic equipment and second electronic equipment, where the first electronic equipment includes a millimeter wave radar module, and the millimeter wave radar module is configured to receive an echo signal of an obstruction in a range, and the method includes:
the first electronic equipment and the second electronic equipment establish Bluetooth connection;
the second electronic equipment displays a first interface, wherein the first interface comprises a first file;
the millimeter wave radar module acquires an echo signal of the second electronic device during first movement and sends a first acquisition request through the Bluetooth connection, wherein the first movement is movement within the range;
the second electronic equipment receives the first acquisition request and sends first motion data through the Bluetooth connection;
the first electronic equipment receives the first motion data, and when the first motion data meets a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment;
and the second electronic equipment receives the file acquisition request, and automatically sends the first file to the first electronic equipment.
Embodiment 2, according to the method of embodiment 1, the first electronic device displays the first file after receiving the first file.
Embodiment 3, the method of any of embodiments 1-2, further comprising: the first electronic equipment displays a second interface, wherein the second interface comprises a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second motion, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second motion is motion within the range; the second electronic equipment receives the second acquisition request and sends second motion data through the Bluetooth connection; and the first electronic equipment receives the second motion data, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
Embodiment 4 and according to the method described in any one of embodiments 1 to 3, when the second electronic device receives the file obtaining request, the second electronic device automatically sends the first file to the first electronic device, including: the second electronic equipment receives the file acquisition request; the second electronic equipment establishes file transmission connection with the first electronic equipment; and the second electronic equipment sends the first file to the first electronic equipment through the file transmission connection.
Embodiment 5, according to the method of embodiment 3, when the second motion data meets a second condition, the automatically sending, by the first electronic device, the second file to the second electronic device includes: when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
Embodiment 6, the method of any of embodiments 1-5, further comprising: before the millimeter wave radar module acquires an echo signal of the second electronic device during first motion, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module; after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
Embodiment 7 and the present application provide a data method, including establishing a bluetooth connection between a first electronic device and a second electronic device, where the first electronic device includes a millimeter wave radar module configured to receive an echo signal of an obstruction within a range; after the millimeter wave radar module acquires an echo signal of the second electronic device during first movement, the first electronic device sends a first acquisition request to the second electronic device through the Bluetooth connection, wherein the first movement is movement within the range; the first electronic equipment receives first motion data sent by the second electronic equipment, and when the first motion data meet a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment; and the first electronic equipment receives a first file sent by the second electronic equipment.
Embodiment 8, according to the method of embodiment 7, after receiving the first file, the first electronic device displays the first file.
Embodiment 9, the method of embodiment 7 or 8, further comprising: the first electronic equipment displays a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is movement within the range; and the first electronic equipment receives second motion data sent by the second electronic equipment through the Bluetooth connection, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
Embodiment 10, according to the method of any one of embodiments 7 to 9, where the receiving, by the first electronic device, the first file sent by the second electronic device includes: the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment receives a first file sent by the second electronic equipment through the file transmission connection.
Embodiment 11, the method of any of embodiments 7-10, wherein when the second motion data meets a second condition, the automatically sending, by the first electronic device, the second file to the second electronic device comprises: when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
Embodiment 12, the method according to any of claims 7-11, wherein the method further comprises: before the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module; after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
Embodiment 13 and the present application provide a data sharing method, where the method is used for transmitting a file between a first device and a second device, where the first device includes a millimeter wave radar module, and the millimeter wave radar module is configured to recognize a motion of the second device within a range, and the method includes: the second electronic equipment displays a first interface, wherein the first interface comprises a first file; after the millimeter wave radar module acquires an echo signal of a second electronic device during a first motion, the first electronic device sends a first message (the first message may be a first acquisition request, or the like), where the first motion is a motion within the range; and the second electronic equipment receives the first message, and automatically sends the first file to the first electronic equipment.
Embodiment 14, the method of embodiment 13, wherein the first electronic device displays the first file after receiving the first file.
Embodiment 15, the method of embodiment 13 or 14, further comprising: the first electronic equipment displays a second interface, and the second interface comprises a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is movement within the range; the second electronic equipment receives the second acquisition request and sends second motion data through the Bluetooth connection; and the first electronic equipment receives the second motion data, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
Embodiment 16 and according to the method of any of embodiments 13 to 15, where the second electronic device receives the file obtaining request, and the second electronic device automatically sends the first file to the first electronic device, including: the second electronic equipment receives the file acquisition request; the second electronic equipment establishes file transmission connection with the first electronic equipment; and the second electronic equipment sends the first file to the first electronic equipment through the file transmission connection.
Embodiment 17, according to the method of any of embodiments 13 to 16, when the second motion data meets a second condition, the automatically sending, by the first electronic device, the second file to the second electronic device includes: when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
Embodiment 18, the method of any of embodiments 13-17, further comprising: before the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module; after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
Embodiment 19 and the present application provide a data sharing method, where the method is used for transmitting a file between a first device and a second device, where the first device includes a millimeter wave radar module, and the millimeter wave radar module is configured to recognize a motion of the second device within a range, and the method includes: the first electronic equipment displays a second interface, and the second interface comprises a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second motion, the first electronic device automatically sends the second file to the second electronic device, wherein the first motion is motion within the range.
Embodiment 20, the method of embodiment 19, wherein the first electronic device displays the first file after receiving the first file.
Embodiment 21, the method of embodiment 19 or 20, further comprising: the first electronic equipment displays a second file; after the millimeter wave radar module acquires an echo signal of the second electronic device during second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is movement within the range; and the first electronic equipment receives second motion data sent by the second electronic equipment through the Bluetooth connection, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
Embodiment 22 and the method of any of embodiments 19 to 21, wherein the receiving, by the first electronic device, the first file sent by the second electronic device includes: the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment receives a first file sent by the second electronic equipment through the file transmission connection.
Embodiment 23, the method of any of embodiments 19-22, wherein automatically sending, by the first electronic device, the second file to the second electronic device when the second athletic data meets a second condition, comprises: when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection; and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
Embodiment 24, the method according to any of claims 19-23, further comprising: before the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module; after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
Example 25 the method of any one of claims 1-24,
the second electronic device includes at least one of an acceleration sensor and a gyro sensor, and the first motion data includes at least one of acceleration sensor data and gyro sensor data.
Example 26 the method of any one of claims 1-25,
the first motion data includes motion data within a first time period, and the first time period is a time period during which the second electronic device performs the first motion.
Example 27 the method of any one of claims 1-26,
the first condition comprises acceleration sensor data comprising the acceleration sensor data indicating that the second electronic device made the first motion; alternatively, the gyroscope sensor data comprises data for instructing the second electronic device to perform the first motion.
Example 28 the method of any one of claims 1-27,
the file transfer connection comprises any one of the following: wireless high fidelity Wi-Fi direct connection, wi-FisofToAP connection and ultra wide band UWB connection.
Embodiment 29 and an embodiment of the present application provide an electronic device, which is a first electronic device, and includes: the system comprises a display screen, one or more processors, one or more memories and a millimeter wave radar module; wherein the one or more memories are coupled to the one or more processors, the one or more memories storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the data sharing method as described in any of embodiments 1-28.
Embodiment 30 and this application provide a computer-readable storage medium, which includes instructions that, when executed on a first electronic device, cause the first electronic device to perform the data sharing method described in any one of embodiments 1 to 28.
Embodiment 31 and the present application provide a processing system, including: the device comprises a processor, a millimeter wave radar module, a Bluetooth module and a wireless local area network WLAN module; wherein the millimeter wave radar module is configured to receive echo signals of an obstruction within range; the Bluetooth module is used for establishing Bluetooth connection with the second electronic equipment; the millimeter wave radar module is used for acquiring an echo signal of the second electronic equipment during the first movement; the processor is configured to instruct the bluetooth module to send a first acquisition request to the second electronic device through the bluetooth connection after acquiring an echo signal of the second electronic device during a first motion, where the first motion is a motion within the range; the Bluetooth module is further used for receiving first motion data sent by the second electronic device; the processing module is further configured to instruct the bluetooth module to send a file acquisition request to the second electronic device when the first motion data meets a first condition; the WLAN module is used for receiving the first file sent by the second electronic device.
For specific functions of each module in the processing system, reference may be made to the data sharing method provided in any one of embodiments 1 to 28.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (28)

1. A data sharing method is used for transmitting files between first electronic equipment and second electronic equipment, wherein the first electronic equipment comprises a millimeter wave radar module, and the millimeter wave radar module is configured to receive echo signals of an obstruction in a range, and the method comprises the following steps:
the first electronic equipment and the second electronic equipment establish Bluetooth connection;
the second electronic equipment displays a first interface, wherein the first interface comprises a first file;
after the millimeter wave radar module acquires an echo signal of the second electronic device during first movement, the first electronic device sends a first acquisition request through the Bluetooth connection, wherein the first movement is movement within the range;
the second electronic equipment receives the first acquisition request and sends first motion data through the Bluetooth connection;
the first electronic equipment receives the first motion data, and when the first motion data meets a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment;
and the second electronic equipment receives the file acquisition request, and automatically sends the first file to the first electronic equipment.
2. The method of claim 1, wherein the first electronic device displays the first file after receiving the first file.
3. The method of claim 1 or 2, wherein the second electronic device comprises at least one of an acceleration sensor and a gyroscope sensor, and wherein the first motion data comprises at least one of acceleration sensor data and gyroscope sensor data.
4. The method of claim 3, wherein the first condition comprises:
the acceleration sensor data is used to instruct the second electronic device to perform the first motion; or
The gyroscope sensor data includes instructions for instructing the second electronic device to perform the first motion.
5. The method of claim 1 or 2, wherein the first motion data comprises motion data over a first time period, the first time period being a time period during which the second electronic device performs the first motion.
6. The method of claim 1, further comprising:
the first electronic equipment displays a second interface, wherein the second interface comprises a second file;
after the millimeter wave radar module acquires an echo signal of the second electronic device during second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is movement within the range;
the second electronic equipment receives the second acquisition request and sends second motion data through the Bluetooth connection;
and the first electronic equipment receives the second motion data, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
7. The method according to claim 1 or 2, wherein the file type of the first file comprises any one of: pictures, video, audio, documents, tables, folders, compressed packages.
8. The method of claim 1, wherein the second electronic device receives the file obtaining request, and the second electronic device automatically sends the first file to the first electronic device, and the method comprises:
the second electronic equipment receives the file acquisition request;
the second electronic equipment establishes file transmission connection with the first electronic equipment;
and the second electronic equipment sends the first file to the first electronic equipment through the file transmission connection.
9. The method of claim 6, wherein when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second electronic device, and wherein the method comprises:
when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection;
and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
10. The method according to claim 8 or 9, wherein the file transfer connection comprises any of: the system comprises a wireless high-fidelity Wi-Fi direct connection, a Wi-Fi softAP connection and an ultra-wideband UWB connection.
11. The method according to claim 1 or 2, characterized in that the method further comprises:
before the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module;
after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
12. The method according to claim 1 or 2, characterized in that the range is equal to or less than a detection area of the millimeter wave radar module.
13. A method for sharing data, comprising:
the method comprises the steps that Bluetooth connection is established between first electronic equipment and second electronic equipment, wherein the first electronic equipment comprises a millimeter wave radar module, and the millimeter wave radar module is configured to receive echo signals of a shelter in a range;
after the millimeter wave radar module acquires an echo signal of the second electronic device during first movement, the first electronic device sends a first acquisition request to the second electronic device through the Bluetooth connection, wherein the first movement is movement within the range;
the first electronic equipment receives first motion data sent by the second electronic equipment, and when the first motion data meet a first condition, the first electronic equipment sends a file acquisition request to the second electronic equipment;
and the first electronic equipment receives the first file sent by the second electronic equipment.
14. The method of claim 13, wherein the first electronic device displays the first file after receiving the first file.
15. The method of claim 13 or 14, wherein the first motion data comprises at least one of acceleration sensor data and gyroscope sensor data.
16. The method of claim 15, wherein the first condition comprises:
the acceleration sensor data is used to instruct the second electronic device to perform the first motion; or
The gyroscope sensor data includes instructions for instructing the second electronic device to perform the first motion.
17. The method of claim 13 or 14, wherein the first motion data comprises motion data for a first time period, and wherein the first time period is a time period during which the second electronic device performs the first motion.
18. The method of claim 13, further comprising:
the first electronic equipment displays a second file;
after the millimeter wave radar module acquires an echo signal of the second electronic device during second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is movement within the range;
and the first electronic equipment receives second motion data sent by the second electronic equipment through the Bluetooth connection, and when the second motion data meets a second condition, the first electronic equipment automatically sends the second file to the second electronic equipment.
19. The method according to claim 13 or 14, wherein the file type of the first file comprises any one of: pictures, video, audio, documents, tables, folders, compressed packages.
20. The method of claim 13, wherein the receiving, by the first electronic device, the first file sent by the second electronic device comprises:
the first electronic equipment and the second electronic equipment establish file transmission connection;
and the first electronic equipment receives a first file sent by the second electronic equipment through the file transmission connection.
21. The method of claim 18, wherein when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second electronic device, and wherein the method comprises:
when the second motion data meet the second condition, the first electronic equipment and the second electronic equipment establish file transmission connection;
and the first electronic equipment sends the second file to the second electronic equipment through the file transmission connection.
22. The method according to claim 20 or 21, wherein the file transfer connection comprises any of: the system comprises a wireless high-fidelity Wi-Fi direct connection, a Wi-Fi softAP connection and an ultra wide band UWB connection.
23. The method of claim 13, further comprising:
before the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal in a first period through the millimeter wave radar module;
after the millimeter wave radar module acquires an echo signal of the second electronic device during the first movement, the first electronic device sends a millimeter wave signal at a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
24. The method according to any one of claims 13 or 14, wherein the range is equal to or less than a detection area of the millimeter wave radar module.
25. An electronic device, being a first electronic device, comprising: the display screen, the one or more processors, the one or more memories and the millimeter wave radar module; wherein the one or more memories are coupled to the one or more processors for storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 13-24.
26. The electronic device of claim 25, further comprising:
a millimeter wave radar antenna coupled to the millimeter wave radar module, the millimeter wave radar antenna and the millimeter wave radar module being respectively disposed at different locations of the electronic device.
27. A computer-readable storage medium comprising instructions that, when executed on a first electronic device, cause the first electronic device to perform the method of any of claims 13-24.
28. A processing system, comprising: the device comprises a processor, a millimeter wave radar module, a Bluetooth module and a wireless local area network WLAN module; wherein the millimeter wave radar module is configured to receive echo signals of an obstruction within range;
the Bluetooth module is used for establishing Bluetooth connection with second electronic equipment;
the millimeter wave radar module is used for acquiring an echo signal of the second electronic equipment during the first movement;
the processor is configured to instruct the bluetooth module to send a first acquisition request to the second electronic device through the bluetooth connection after acquiring an echo signal of the second electronic device during a first motion, where the first motion is a motion within the range;
the Bluetooth module is further used for receiving first motion data sent by the second electronic device;
the processor is further configured to instruct the bluetooth module to send a file acquisition request to the second electronic device when the first motion data meets a first condition;
the WLAN module is used for receiving the first file sent by the second electronic device.
CN202011198050.7A 2020-10-31 2020-10-31 Data sharing method and related device Active CN114531435B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011198050.7A CN114531435B (en) 2020-10-31 2020-10-31 Data sharing method and related device
PCT/CN2021/126983 WO2022089523A1 (en) 2020-10-31 2021-10-28 Data sharing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011198050.7A CN114531435B (en) 2020-10-31 2020-10-31 Data sharing method and related device

Publications (2)

Publication Number Publication Date
CN114531435A CN114531435A (en) 2022-05-24
CN114531435B true CN114531435B (en) 2023-04-11

Family

ID=81383351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011198050.7A Active CN114531435B (en) 2020-10-31 2020-10-31 Data sharing method and related device

Country Status (2)

Country Link
CN (1) CN114531435B (en)
WO (1) WO2022089523A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101743739A (en) * 2007-07-13 2010-06-16 索尼爱立信移动通讯有限公司 System, device and method for transmitting a file by use of a throwing gesture to a mobile terminal
CN110719584A (en) * 2019-09-02 2020-01-21 华为技术有限公司 Method and electronic equipment for short-distance information transmission
CN111522438A (en) * 2020-03-25 2020-08-11 华为技术有限公司 Content transmission method, device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8457651B2 (en) * 2009-10-02 2013-06-04 Qualcomm Incorporated Device movement user interface gestures for file sharing functionality
KR20150103294A (en) * 2011-11-16 2015-09-09 퀄컴 인코포레이티드 System and method for wirelessly sharing data amongst user devices
CN103179168A (en) * 2011-12-26 2013-06-26 鸿富锦精密工业(深圳)有限公司 Electronic device and method for sharing data through Bluetooth
US10928499B2 (en) * 2016-01-26 2021-02-23 Novelic D.O.O. Millimeter-wave radar sensor system for gesture and movement analysis
AU2018443332B9 (en) * 2018-09-30 2022-12-08 Huawei Technologies Co., Ltd. Data transfer method and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101743739A (en) * 2007-07-13 2010-06-16 索尼爱立信移动通讯有限公司 System, device and method for transmitting a file by use of a throwing gesture to a mobile terminal
CN110719584A (en) * 2019-09-02 2020-01-21 华为技术有限公司 Method and electronic equipment for short-distance information transmission
CN111522438A (en) * 2020-03-25 2020-08-11 华为技术有限公司 Content transmission method, device and medium

Also Published As

Publication number Publication date
WO2022089523A1 (en) 2022-05-05
CN114531435A (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN112217923B (en) Display method of flexible screen and terminal
CN110506416B (en) Method for switching camera by terminal and terminal
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
WO2021185250A1 (en) Image processing method and apparatus
WO2021135618A1 (en) Interface display method and related apparatus
CN114466102B (en) Method for displaying application interface, related device and traffic information display system
CN112130788A (en) Content sharing method and device
WO2021238370A1 (en) Display control method, electronic device, and computer-readable storage medium
CN112615947B (en) Method for rapidly entering application and folding screen electronic equipment
US20230026812A1 (en) Device Positioning Method and Related Apparatus
CN114125130A (en) Method for controlling communication service state, terminal device and readable storage medium
CN114840280A (en) Display method and electronic equipment
CN116489268A (en) Equipment identification method and related device
CN114201738B (en) Unlocking method and electronic equipment
US20230350629A1 (en) Double-Channel Screen Mirroring Method and Electronic Device
WO2023179751A9 (en) Object searching method, system and electronic device
CN114185503A (en) Multi-screen interaction system, method, device and medium
CN114531435B (en) Data sharing method and related device
CN114079691B (en) Equipment identification method and related device
CN115134453A (en) Riding information display method and electronic equipment
WO2020228735A1 (en) Method for displaying application, and electronic device
CN114968145A (en) Content storage method, electronic equipment and system
CN115700463A (en) Screen projection method and system and electronic equipment
CN116257201A (en) Content collaboration method, electronic device, and computer-readable storage medium
CN116027886A (en) Display method of folding screen and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant