WO2022089523A1 - Data sharing method and related device - Google Patents
Data sharing method and related device Download PDFInfo
- Publication number
- WO2022089523A1 WO2022089523A1 PCT/CN2021/126983 CN2021126983W WO2022089523A1 WO 2022089523 A1 WO2022089523 A1 WO 2022089523A1 CN 2021126983 W CN2021126983 W CN 2021126983W WO 2022089523 A1 WO2022089523 A1 WO 2022089523A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- millimeter
- file
- wave radar
- movement
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 118
- 230000033001 locomotion Effects 0.000 claims abstract description 326
- 230000005540 biological transmission Effects 0.000 claims abstract description 41
- 238000012546 transfer Methods 0.000 claims description 46
- 230000001133 acceleration Effects 0.000 claims description 41
- 230000015654 memory Effects 0.000 claims description 31
- 238000001514 detection method Methods 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 23
- 230000000903 blocking effect Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 abstract description 19
- 230000001960 triggered effect Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 52
- 230000009471 action Effects 0.000 description 35
- 230000006870 function Effects 0.000 description 23
- 230000004044 response Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- 238000005259 measurement Methods 0.000 description 6
- 229920001621 AMOLED Polymers 0.000 description 5
- 230000003190 augmentative effect Effects 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 3
- 239000002096 quantum dot Substances 0.000 description 3
- 210000000988 bone and bone Anatomy 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 238000002592 echocardiography Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
Definitions
- the present application relates to the field of short-range communications, and in particular, to a data sharing method and related apparatus.
- NFC near field communication
- the present application provides a data sharing method and a related device, which realize that an electronic device equipped with a millimeter-wave radar can trigger the communication between other devices and the electronic device when the millimeter-wave radar recognizes that the movement of other devices is a specific action. data sharing. In this way, the operation steps of sharing data between the electronic device and other devices can be simplified.
- the present application provides a data sharing method for transferring files between a first electronic device and a second electronic device, where the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive blocking The echo signal of the object within the range.
- the first electronic device establishes a Bluetooth connection with the second electronic device.
- the second electronic device displays a first interface, and the first interface includes a first file.
- the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement
- the first electronic device sends the first acquisition request through the Bluetooth connection, where the first movement is the movement within the above-mentioned range.
- the second electronic device receives the first acquisition request, and sends the first motion data through the Bluetooth connection.
- the first electronic device receives the first motion data, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device.
- the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
- a first electronic device such as a tablet computer
- a second electronic device such as a mobile phone
- the operation steps of sharing data between the first electronic device and the second electronic device can be simplified.
- the user can transfer the files displayed on the mobile phone to the tablet simply by picking up the mobile phone and moving left, right, close to the tablet, or moving away from the tablet within the millimeter wave radar detection area of the tablet.
- computer or transfer files displayed on the tablet to the phone In this way, only one operation of the user is performed, that is, the transmission between the two devices is realized, the operation steps are simplified, and the process of file transmission is shortened.
- the first electronic device after receiving the first file, the first electronic device can directly open and display the first file. In this way, the user's operation steps can be reduced, and it is convenient for the user to quickly transfer the file on the second electronic device to the first electronic device for display.
- the method further includes: displaying, by the first electronic device, a second interface, and the second interface includes a second file.
- the first electronic device After the millimeter-wave radar module acquires the echo signal when the second electronic device performs a second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, where the second movement is movement within the stated range.
- the second electronic device receives the second acquisition request, and sends second motion data through the Bluetooth connection.
- the first electronic device receives the second movement data, and when the second movement data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
- the first electronic device recognizes the movement of other devices as a specific action through the millimeter-wave radar, it can send the currently displayed file to other devices, which simplifies the operation steps for users to share file data on the electronic device.
- 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. an electronic device.
- the first electronic device and the second electronic device when the second motion data meets the second condition, first electronic device and the second electronic device first establish a file transfer connection, and then the first electronic device transfers the second file to the second file through the file transfer connection. sent to the second electronic device.
- the present application provides a data sharing method, which is applied to the above-mentioned first electronic device.
- the method includes: establishing a Bluetooth connection between a first electronic device and a second electronic device, the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive echo signals from an obstruction within a range; After the module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the first acquisition request to the second electronic device through the Bluetooth connection, wherein the first movement is the movement within the range; the first The electronic device receives the first motion data sent by the second electronic device, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device; the first electronic device receives the data sent by the second electronic device the first document.
- the first electronic device displays the first file after receiving the first file. In this way, the user's operation steps can be reduced, and it is convenient for the user to quickly transfer the file on the second electronic device to the first electronic device for display.
- the first electronic device may display the second file.
- the first electronic device After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, where the second movement is within the range sports.
- the first electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
- the second electronic device includes at least one of an acceleration sensor and a gyro sensor
- the first motion data includes at least one of acceleration sensor data and gyro sensor data.
- the first motion data may include motion data within a first time period, where the first time period is a time period during which the second electronic device performs the first motion.
- the first condition includes the acceleration sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; or the gyro sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement sports.
- the second condition includes that the acceleration sensor data includes the acceleration sensor data for instructing the second electronic device to perform the second movement; or the gyro sensor data includes the acceleration sensor data for instructing the second electronic device to perform the second movement sports.
- the file types of the first file and the second file may include any of the following: picture, video, audio, document, table, folder, and compressed package.
- the above-mentioned file transfer connection may include any one of the following: wireless high-fidelity Wi-Fi direct connection, Wi-Fi softAP connection, and ultra-wideband UWB connection.
- the first electronic device before the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module. After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device transmits the millimeter-wave signal in a second period through the millimeter-wave radar module, wherein the first period is greater than the second period. In this way, the power consumption of the millimeter-wave radar can be saved when there is no obstruction, and when there is an obstruction, the accuracy of the detection of the obstruction by the millimeter-wave radar can be improved.
- the present application provides another data sharing method for transferring files 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 as Recognizing the movement of the second device within the range, the method includes: displaying a first interface by the second electronic device, the first interface including the first file; and acquiring, by the millimeter-wave radar module, a response when the second electronic device performs the first movement After the wave signal, the first electronic device sends a first message, wherein the first movement is a movement within a range; the second electronic device receives the first message, and the second electronic device automatically sends the first file to the first electronic device .
- the first electronic device can send the first message to the second electronic device through Bluetooth, can also send the first message to the second electronic device through the access point AP of the wireless local area network, and can also send the first message to the second electronic device through a mobile communication network (such as a 4G network) , 5G network) to send the first message to the second electronic device.
- a mobile communication network such as a 4G network
- 5G network 5G network
- the present application provides another data sharing method for transferring files 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 as Identifying the movement of the second device within the range, the method includes: the first electronic device displays a second interface, and the second interface includes a second file; when the millimeter wave radar module acquires the second electronic device to perform the second movement After echoing the signal, the first electronic device automatically sends the second file to the second electronic device, wherein the first motion is a motion within a range.
- the present application provides an electronic device, which is a first electronic device, comprising: a display screen, one or more processors, one or more memories, and a millimeter-wave radar module; wherein the one or more memories are associated with One or more processors are coupled, one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors are executing the computer instructions, cause the first electronic device to perform any of the above aspects
- the data sharing method in any possible implementation.
- the embodiments of the present application provide a computer storage medium, including computer instructions, when the computer instructions are run on an electronic device, the communication device is made to execute the data sharing method in any of the possible implementations of any of the above aspects .
- the embodiments of the present application provide a computer program product, which, when the computer program product runs on a computer, enables the computer to execute the data sharing method in any possible implementation manner of any one of the foregoing aspects.
- an embodiment of the present application provides a processing system, which is characterized by comprising: a processor, a millimeter-wave radar module, a Bluetooth module, and a wireless local area network (WLAN) module.
- the millimeter-wave radar module is configured to receive the echo signal of the obstruction within the range;
- the Bluetooth module is used for the second electronic device to establish a Bluetooth connection.
- the millimeter-wave radar module is used to acquire the echo signal when the second electronic device performs the first movement;
- the processor is used to instruct the second electronic device to perform the first movement after acquiring the echo signal when the second electronic device performs the first movement
- the Bluetooth module sends a first acquisition request to the second electronic device through the Bluetooth connection, wherein the first motion is motion within the range.
- the Bluetooth module is further configured to receive the 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 configured to receive the first file sent by the second electronic device.
- FIG. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
- FIG. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a data sharing system according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of a data sharing scenario provided by an embodiment of the present application.
- 5A-5D are schematic diagrams of a group of interfaces provided by an embodiment of the present application.
- 6A-6E are another set of interface schematic diagrams provided by the embodiments of the present application.
- FIG. 7 shows a hardware system of an electronic device 200 provided by an embodiment of the present application.
- FIG. 8 shows a schematic diagram of a software initialization process of a millimeter-wave radar module provided by an embodiment of the present application
- FIG. 9 shows a data acquisition process of a millimeter-wave radar module provided by an embodiment of the present application.
- FIG. 10 shows a schematic diagram of a software architecture of a data sharing system provided by an embodiment of the present application.
- FIG. 11 shows a schematic flowchart of a data sharing method provided by an embodiment of the present application.
- FIG. 12 shows a schematic flowchart of a data sharing method provided by another embodiment of the present application.
- first and second are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the “multiple” The meaning is two or more.
- the embodiment of the present application provides a method for data sharing.
- the electronic device 200 can trigger data sharing between the electronic device 100 and the electronic device 200 when the electronic device 200 recognizes that the movement of the electronic device 100 is a specific action through the millimeter wave radar.
- the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
- the user can simply pick up the electronic device 100 and move leftward, rightward, close to the electronic device 200, or move away from the electronic device 200 within the millimeter-wave radar detection area of the electronic device 200, and then the display on the electronic device 100 can be realized.
- the file displayed on the electronic device 200 is transferred to the electronic device 200 or the file displayed on the electronic device 200 is transferred to the electronic device 100 . In this way, only one operation of the user is performed, that is, the transmission between the two devices is realized, 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 electronic device 100 As an example, it should be understood that the electronic device 100 shown in FIG. 1 is only an example, and the electronic device 100 may have more or fewer components than those shown in FIG. 1 , two or more components may be combined, or Different component configurations are possible.
- 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: 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.
- Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
- SIM subscriber identification module
- 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
- the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
- the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
- application processor application processor, AP
- modem processor graphics processor
- graphics processor graphics processor
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- the controller may be the nerve center and command center of the electronic device 100 .
- the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100.
- the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142 , the electronic device 100 can also be powered by the power management module 141 .
- the power management module 141 is used for connecting 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 charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
- 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, the modulation and demodulation processor, the baseband processor, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- the antenna 1 can be multiplexed as a diversity antenna of the 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 wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
- the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
- WLAN wireless local area networks
- BT Bluetooth
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared technology
- 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- global positioning system global positioning system, GPS
- global navigation satellite system global navigation satellite system, GLONASS
- Beidou navigation satellite system beidou navigation satellite system, BDS
- quasi-zenith satellite system quadsi -zenith satellite system, QZSS
- SBAS satellite based augmentation systems
- the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
- the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
- Display screen 194 is used to display images, videos, and the like.
- Display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
- LED diode AMOLED
- flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
- the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
- the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
- the ISP is used to process the data fed back by the camera 193 .
- Camera 193 is used to capture still images or video.
- the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
- a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
- Video codecs are used to compress or decompress digital video.
- the NPU is a neural-network (NN) computing processor, and applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
- NN neural-network
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
- an external memory card such as a Micro SD card
- Internal memory 121 may be used to store computer executable program code, which includes instructions.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
- the internal memory 121 may include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required for at least one function (such as a file transfer function, a file playback or display function, etc.), and the like.
- the storage data area may store data (such as motion data, received file data, etc.) created during the use of the electronic device 100, and the like.
- the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
- the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
- the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
- the pressure sensor 180A may be provided on the display screen 194 .
- the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
- the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyroscope sensor 180B detects the shaking angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
- the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
- the air pressure sensor 180C is used to measure air pressure.
- the magnetic sensor 180D includes a Hall sensor.
- Distance sensor 180F for measuring distance.
- Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
- the ambient light sensor 180L is used to sense ambient light brightness.
- the fingerprint sensor 180H is used to collect fingerprints.
- the temperature sensor 180J is used to detect the temperature.
- Touch sensor 180K also called "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, also called a “touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to touch operations may be provided through display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
- the bone conduction sensor 180M can acquire vibration signals.
- the keys 190 include a power-on key, a volume key, and the like. Motor 191 can generate vibrating cues.
- the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
- the SIM card interface 195 is used to connect a SIM card.
- FIG. 2 exemplarily shows a schematic structural diagram of an electronic device 200 provided by an embodiment of the present application.
- the electronic device 200 may include a processor 201 , a memory 202 , a wireless communication processing module 203 , an antenna 204 , a display screen 205 , a power management 206 , an audio module 207 , and a millimeter wave radar module 208 . in:
- the processor 201 may be used to read and execute computer readable instructions.
- the processor 201 may mainly include a controller, an arithmetic unit, and a register.
- the controller is mainly responsible for instruction decoding, and sends out control signals for the operations corresponding to the instructions.
- the arithmetic unit is mainly responsible for saving the register operands and intermediate operation results temporarily stored during the execution of the instruction.
- the hardware architecture of the processor 201 may be an application specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, an NP architecture, or the like.
- ASIC application specific integrated circuit
- the processor 201 may be configured to parse the signals received by the wireless communication module 203 and/or the millimeter-wave radar module 208 , such as the detection request broadcast by the electronic device 100 , or the millimeter-wave emitted by the millimeter-wave radar module 208 . The received signal reflected back by the blocker 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.
- the processor 201 may also be configured to generate a signal sent by the wireless communication module 203 to the outside, such as a Bluetooth broadcast signal and a beacon signal.
- Memory 202 is coupled to processor 201 for storing various software programs and/or sets of instructions.
- 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 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, RTLinux, and the like.
- the memory 202 may also store communication programs that may be used to communicate with the electronic device 100, or other devices.
- the wireless communication module 203 may include one or more of a Bluetooth communication module 203A and a WLAN communication module 203B. Possibly, the Bluetooth communication module 203A can be integrated with other communication modules (eg, the WLAN communication module 203B).
- one or more of the Bluetooth communication module 203A and the WLAN communication module 203B can listen to signals transmitted by other devices (such as the electronic device 100 ), such as measurement signals, scan signals, etc., and can send a response Signals, such as measurement responses, scan responses, etc., allow other devices (such as electronic device 100) to discover electronic device 200 and communicate with other devices (such as electronic The device 100) establishes a wireless communication connection for data transmission.
- other devices such as the electronic device 100
- a response Signals such as measurement responses, scan responses, etc.
- one or more of the Bluetooth communication module 203A and the WLAN communication module 203B may also transmit signals, such as broadcast probe signals, beacon signals, so that other devices (such as the electronic device 100 ) can discover the electronic device 200, and establishes a wireless communication connection with other devices (such as the electronic device 100) through one or more of Bluetooth, WLAN, or other short-range wireless communication technologies to perform data transmission.
- signals such as broadcast probe signals, beacon signals, so that other devices (such as the electronic device 100 ) can discover the electronic device 200, and establishes a wireless communication connection with other devices (such as the electronic device 100) through one or more of Bluetooth, WLAN, or other short-range wireless communication technologies to perform data transmission.
- Antenna 204 may be used to transmit and receive electromagnetic wave signals.
- the antennas of different communication modules can be multiplexed or independent of each other to improve the utilization rate of the antennas.
- the antenna of the Bluetooth communication module 203A can be multiplexed as the antenna of the WLAN communication module 203B.
- Display screen 205 may be used to display images, video, and the like.
- Display screen 194 includes a display panel.
- the display panel may adopt a liquid crystal display, organic light emitting diodes, active matrix organic light emitting diodes or active matrix organic light emitting diodes, flexible light emitting diodes, quantum dot light emitting diodes, and the like.
- the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
- the electronic device 200 may further include a touch sensor, and the touch sensor may be arranged with the display screen 205, and the touch sensor and the display screen 205 form a touch screen, which is also referred to as a "touch screen".
- the touch sensor can be used to detect a touch operation acting on or near it.
- the touch operation refers to the operation of the user's hand, elbow, stylus, etc. touching the display screen 205.
- the touch sensor can transmit the detected touch operation to
- the processor 201 determines the touch event type.
- Visual output related to touch operations may be provided through display screen 205 .
- the touch sensor may also be disposed on the surface of the electronic device 200 at a different location than the display screen 205 .
- the power management module 206 may be used to control the supply of power to the electronic device 200 by a power source.
- the audio module 207 can be used to output audio signals through the audio output interface, so that the electronic device 200 can support audio playback.
- the audio module 207 can also be used to receive audio data through the audio input interface.
- the audio module 208 can 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, obtain a voice command, and execute an operation corresponding to the voice command.
- the millimeter wave radar module 208 can be used to transmit electromagnetic waves through the transmitting antenna 1, and receive electromagnetic waves (ie, echo signals) reflected from the obstruction through at least one receiving antenna (eg, receiving antenna 1, receiving antenna 2, and receiving antenna 3).
- the millimeter wave radar module 208 performs ranging, speed and azimuth measurements on the obstructions by transmitting and receiving parameters of electromagnetic waves.
- the millimeter wave radar module 208 can measure the distance, speed and azimuth of multiple occluders at the same time through the outline of the occluder, and can also measure one or more of the distance, speed and azimuth of the occluder.
- the millimeter wave radar module 208 can measure the distance of the obstruction by the time difference between sending and receiving electromagnetic waves.
- the millimeter wave radar module 208 can measure the speed of the obstruction by transmitting and receiving the Doppler effect of electromagnetic waves.
- the millimeter-wave radar chip 208 can calculate the azimuth angle (including the horizontal angle and the vertical angle) of the obstruction by receiving the phase difference of the electromagnetic waves reflected by the same obstruction received by two or more receiving antennas. Wherein, the more receiving antennas, the more accurate the measurement result of the occluder by the millimeter wave radar module 208 .
- the frequency band of the electromagnetic wave emitted by the millimeter-wave radar module 208 through the transmitting antenna 1 may include 24 GHz, 60 GHz, 77 GHz, 120 GHz, and the like. Wherein, the higher the frequency band, the farther the effective detection distance of the millimeter wave radar module 208 to the obstruction is.
- the millimeter-wave radar module 208 has a certain detection area. When the obstruction is located in the detection area, the millimeter-wave radar module 208 can receive the millimeter-wave signal reflected by the obstruction. When the obstruction is located outside the detection area, the millimeter-wave radar module 208 The millimeter wave signal reflected by the obstruction cannot be received. Therefore, when the occluder can move within the detection area by the millimeter wave radar module 208, it can be recognized by the millimeter wave radar module 208.
- the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be packaged with the millimeter-wave radar module 208 in one chip.
- the millimeter-wave radar antenna may be located outside the chip where the millimeter-wave radar module 208 is located.
- the antennas (including the transmitting antenna and the receiving antenna) of the millimeter-wave radar module 208 may be located at different positions on the electronic device 200 from the millimeter-wave radar module 208 .
- the antenna of the millimeter-wave radar module 208 may be disposed on the frame of the display screen of the electronic device 200, and the chip on which the millimeter-wave radar module 208 is located may be located on a system on chip (SOC), a motherboard or the back of the display screen.
- SOC system on chip
- arranging the millimeter-wave radar module 208 and the millimeter-wave radar antenna separately on the electronic device 200 can save the area occupied by the millimeter-wave radar on the electronic device 200, which is beneficial to realize a narrow frame of the display screen.
- the chip where the millimeter wave radar module 208 is located may be packaged in one chip with other communication modules.
- the chip on which the millimeter-wave radar module 208 is located may be packaged into the same chip as the above-mentioned Bluetooth communication module 203A and WLAN communication module 203B.
- the electronic device 200 shown in FIG. 2 is only an example, and the electronic device 200 may have more or fewer components than those shown in FIG. 2 , two or more components may be combined, or Available in different parts configurations.
- the electronic device 200 may include the hardware included in the electronic device 100 shown in FIG. 1 and the 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.
- FIG. 3 shows a schematic diagram of the architecture of a data sharing system provided in an embodiment of the present application.
- 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 and/or Wi-Fi communication.
- 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 mobile phone, a wearable device (eg, a smart bracelet), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC) , cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (Augmented reality, AR) ⁇ virtual reality (virtual reality, VR) equipment and other portable devices.
- a wearable device eg, a smart bracelet
- a tablet computer e.g, a smart bracelet
- laptop computer laptop
- a handheld computer a notebook computer
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- augmented reality Augmented reality, AR
- virtual reality virtual reality
- VR virtual reality
- the electronic device 200 may be a mobile phone, a wearable device (eg, a smart bracelet), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, a smart TV, a smart large screen, an ultra-mobile personal computer (ultra-mobile) Personal computer, UMPC), cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (Augmented reality, AR) ⁇ virtual reality (virtual reality, VR) devices and other portable devices.
- a wearable device eg, a smart bracelet
- a tablet computer e.g, a laptop computer (laptop)
- a handheld computer a notebook computer
- smart TV a smart large screen
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- augmented reality Augmented reality, AR
- virtual reality virtual reality
- the millimeter-wave radar antennas (including the transmitting antenna and the receiving antenna) on the electronic device 200 are arranged at different positions based on different device types, so as to transmit and receive millimeter-wave signals conveniently.
- the electronic device 200 is a tablet computer, a notebook computer, a smart TV or a smart large screen
- the millimeter-wave radar antenna on the electronic device 200 can be arranged around the frame of the display screen 205, and the millimeter-wave radar antenna and the display screen 205 can be arranged at On the same side of the surface, in a specific embodiment, the millimeter-wave radar antenna is disposed on the upper edge of the tablet.
- the electronic device 200 is a notebook computer
- the electronic device 200 is further provided with a keyboard and a touchpad
- the millimeter-wave radar antenna on the electronic device 200 can also be arranged around the keyboard frame, around the touchpad or inside the touchpad, or Set around the border of the display.
- the millimeter wave radar antenna may be disposed within the housing of the electronic device 200, and the millimeter wave signal may pass through the housing for detection.
- the electronic device 100 is exemplarily a mobile phone and the electronic device 200 is a tablet computer for description.
- the electronic device 200 may be referred to as a first electronic device in this embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in this embodiment of the present application.
- FIG. 4 shows a data sharing scenario provided by an embodiment of the present application.
- the electronic device 200 can detect the movement of the occluder (for example, move left, move right, move close to the electronic device 200 or move away from the electronic device 200 , etc.) through the millimeter wave radar module, and obtain the Motion data (including gyroscope sensor data and acceleration sensor data) of the electronic device 100 that establishes the Bluetooth connection.
- the electronic device 200 may determine that the blocking object is the electronic device 200 .
- the electronic device 200 can perform the operation corresponding to the moving direction, for example, the electronic device 200 sends the file data on the electronic device 200 to the electronic device 100 , or the electronic device 200 instructs the electronic device 100 to send the file data to the electronic device 200 .
- the user only needs to perform a specific movement operation on the electronic device 100 within the millimeter-wave radar detection area of the electronic device 200 to complete the file data (for example, picture data, video data, audio data) between the electronic device 100 and the electronic device 200. data, document data, etc.) transmission, which simplifies the operation steps of sharing data between the electronic device 100 and the electronic device 200 .
- the detection area of the millimeter-wave radar module may be a conical area
- the center of the detection area is the location of the millimeter-wave radar antenna
- the center angle of the detection area is ⁇
- the radius is r1.
- the reliable area may be a conical area with a radius r2 and a central angle ⁇ .
- the central angle of the reliable area may be smaller than the central angle ⁇ of the detection area.
- the reliable area is an area parallel to the millimeter-wave radar antenna.
- swiping to the left is used as an example to represent the first movement
- swiping to the right is used as an example to represent the second movement.
- the first movement and the second movement can also be performed in other ways. move.
- the following describes the data sharing process between the electronic device 100 and the electronic device 200 provided in the embodiments of the present application by taking the sharing of picture data as an example in conjunction with the data sharing scenario shown in FIG. 4 .
- the electronic device 200 may be referred to as a first electronic device in this embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in this embodiment of the present application.
- the electronic device 100 may display a browsing interface including file data (eg, picture data).
- file data eg, picture data
- the electronic device 100 may receive an operation of the user swiping to the left within the detection area of the millimeter-wave radar on the electronic device 200 .
- the electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth.
- the electronic device 200 can 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 .
- the electronic device 200 can establish a file transmission connection with the electronic device 100, and request the electronic device 100 to send the file data on the currently displayed interface to the electronic device 100. device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
- the electronic device 100 displays an interface 510 of a home screen.
- the interface 510 displays a page on which application icons are placed, and the page includes a plurality of application icons (eg, weather application icons, stock application icon, calculator application icon, settings application icon, mail application icon, music application icon, video application icon, browser application icon, map application icon, gallery application icon 511, etc.).
- a page indicator is also displayed below the multiple application icons to indicate the total number of pages on the home screen and the positional relationship between the currently displayed page and other pages.
- the interface 510 of the home screen may include three pages, and a white dot in the page indicator may indicate that the currently displayed page is the rightmost page among the three pages.
- there are multiple tray icons eg, dialer application icon, message application icon, contact application icon, camera application icon) below the page indicator, and the tray icon remains displayed when the page is switched.
- the electronic device 100 may receive a user's input operation (eg, click) on the gallery application icon 511, and in response to the input operation, the electronic device 100 may display the gallery application interface 520 as shown in FIG. 5B .
- a user's input operation eg, click
- the gallery application interface 520 includes thumbnails (eg, thumbnails 521 ) of one or more pictures.
- the electronic device 100 may receive an operation (eg, a single click) of the user acting on the thumbnail 521, and in response to the operation, the electronic device 100 may display a picture presentation interface 530 as shown in FIG. 5C .
- an operation eg, a single click
- the title of the picture display interface 530 may be "September 20, 2020".
- the picture display interface 530 includes a picture 536 and a menu 537 displayed.
- the menu 537 includes a share control 531 , a favorite control 532 , an edit control 533 , a delete control 534 , and a more control 535 .
- the sharing control 531 can be used to trigger the opening of the file sharing interface, and guide the user to input operations step by step to complete the sharing of the picture 536 .
- Favorite control 532 can be used to trigger saving the picture 536 to the picture favorites folder.
- the editing control 533 can be used to trigger editing functions such as rotation, trimming, adding filters, and blurring to the picture 536 .
- a delete control 534 may be used to trigger deletion of the picture 536 .
- More controls 535 may be used to trigger opening of more functions related to this picture 536 .
- the above-mentioned menu 537 is optional.
- the menu 537 may be hidden in the picture display interface 530.
- the electronic device 100 may be triggered to hide the menu 537.
- the electronic device 100 may be triggered to display the menu 537 .
- the user may receive an operation of swiping to the left.
- the electronic device 100 may record motion data during the user's swiping process, where the motion data includes sensor data and acceleration data.
- the electronic device 200 can detect the movement direction of the obstruction through the millimeter-wave radar, and obtain the movement data on the electronic device 100 that has established a Bluetooth connection through Bluetooth.
- the electronic device 200 After the electronic device 200 obtains the motion data of the electronic device 100, it can determine whether the moving direction of the electronic device 100 is consistent with the moving direction of the obstruction based on the motion data of the electronic device 100, and if so, the electronic device 200 can communicate with the electronic device 100 After interacting with file connection parameters (for example, Wi-Fi connection parameters), the electronic device 200 can establish a file transfer connection with the electronic device 100 and request the electronic device 100 to transfer the file data currently displayed on the display screen of the electronic device 100 (that is, the above picture 536). sent to the electronic device 200 .
- the file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
- 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 display interface 530 of the electronic device 100 in FIG. 5C.
- 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 remains connected.
- the electronic device 200 and the electronic device 100 may exchange the parameters of the file transfer connection (eg, Wi-Fi connection parameters) again through the maintained Bluetooth connection, so as to establish the file transfer connection again, and transfer the file again.
- disconnecting the file transfer connection can save power consumption; while maintaining the Bluetooth connection can quickly establish a file transfer connection in the next transfer, improving the transfer speed. And keep the power consumption of bluetooth connection low.
- the electronic device 200 may display a browsing interface including file data (eg, picture data).
- file data eg, picture data
- the electronic device 100 may receive an operation of the user swiping right in the detection area of the millimeter-wave radar on the electronic device 200 .
- the electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth.
- the electronic device 200 can 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 .
- the electronic device 200 can establish a file transmission connection with the electronic device 100, and send the file data included on the interface currently displayed on the electronic device 200 to the electronic device 200.
- 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.
- the electronic device 200 displays an interface 610 of a home screen.
- the interface 610 display includes a plurality of application icons (eg, weather application icon, stock application icon, calculator application icon, settings application icon, mail application icon, music application icon, video application icon, browser application icon, map application icon , gallery application icon 611, etc.).
- application icons eg, weather application icon, stock application icon, calculator application icon, settings application icon, mail application icon, music application icon, video application icon, browser application icon, map application icon , gallery application icon 611, etc.
- the electronic device 200 may receive a user's input operation (eg, click) on the gallery application icon 611, and in response to the input operation, the electronic device 100 may display the gallery application interface 620 as shown in FIG. 6B .
- a user's input operation eg, click
- the gallery application interface 620 includes thumbnails (eg, thumbnails 621) of one or more pictures.
- the electronic device 200 may receive an operation (eg, a click) of the user acting on the thumbnail 621, and in response to the operation, the electronic device 200 may display a picture presentation interface 630 as shown in FIG. 6C.
- an operation eg, a click
- the title of the picture display interface 630 may be "September 22, 2020".
- the picture display interface 630 includes a picture 636 and a menu 637 displayed.
- the menu 637 includes a share control 631 , a favorite control 632 , an edit control 633 , a delete 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 will not be repeated here.
- the above-mentioned menu 537 is optional.
- the menu 537 can be hidden in the picture display interface 530 .
- the electronic device 100 may display the interface 640 of the home screen.
- the text description of the interface 640 reference may be made to the text description of the interface 510 in the aforementioned FIG. 5A, and details are not repeated here.
- the electronic device 100 receives the operation of the user swiping to the right. During the process of the user swiping the electronic device 100 to the left, the electronic device 100 may record motion data during the user's swiping, wherein the motion data includes sensor data and acceleration data.
- the electronic device 200 can detect the movement direction of the obstruction through the millimeter-wave radar, and obtain the movement data on the electronic device 100 that has established a Bluetooth connection through Bluetooth. After acquiring the motion data of the electronic device 100, the electronic device 200 can determine whether the moving direction of the electronic device 100 is consistent with the moving direction of the obstruction based on the motion data of the electronic device 100.
- a file transfer connection is established, and the file data displayed on the electronic device 200 (ie, the above-mentioned picture 636 ) is sent to the electronic device 100 .
- the file transfer connection may be a Wi-Fi direct connection (for example, Wi-Fi P2P), Wi-Fi softAP, UWB and other communication technology connections.
- 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 display interface 630 of the electronic device 200 in FIG. 6C.
- FIG. 7 shows a hardware system of an electronic device 200 provided by an embodiment of the present application.
- the hardware system of the electronic device 200 may include, but is not limited to, a processor 701, a millimeter wave radar module 702, a power supply module 703, a crystal oscillator module 704, one transmitting antenna (transmitting antenna 705) and three receiving antennas (receiving antenna 706, receiving antenna 707. A receiving antenna 708).
- the millimeter wave radar module 702 can be used to transmit electromagnetic waves (ie, millimeter waves) through the transmitting antenna 705, and receive reflections from the obstruction through at least one receiving antenna (for example, the receiving antenna 706, the receiving antenna 707 and the receiving antenna 708).
- the electromagnetic wave ie echo signal.
- the millimeter-wave radar module 702 performs ranging, speed and azimuth measurements on the obstructions by sending and receiving parameters of electromagnetic waves. Among them, the millimeter wave radar module 702 can perform ranging, speed and azimuth measurement on multiple obstructions.
- the millimeter wave radar module 702 can measure the distance of the obstruction by the time difference between sending and receiving electromagnetic waves.
- the millimeter wave radar module 702 can measure the speed of the obstruction by transmitting and receiving the Doppler effect of electromagnetic waves.
- the millimeter-wave radar module 702 can calculate the azimuth angle (including the horizontal angle and the vertical angle) of the obstruction by receiving the phase difference of the reflected electromagnetic waves from the same obstruction received by the at least three receiving antennas. .
- the millimeter-wave radar module 702 can send the millimeter-wave data of the occluder to the processor 701 after measuring and obtaining the millimeter-wave data of the occluder (including the distance, moving speed and azimuth of the occluder).
- the processor 701 may be a central processing unit (CPU) or an application processor (AP).
- CPU central processing unit
- AP application processor
- the processor 701 may Motion data (including gyroscope sensor data and acceleration sensor data) on the electronic device 100 that has established a Bluetooth connection with the electronic device 200 is acquired through the Bluetooth chip 709 .
- the processor 701 may instruct the WLAN chip 710 to communicate with the electronic device 100 Establish a Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP and other communication technology connections.
- Wi-Fi P2P wireless fidelity peer to peer
- the WLAN chip 710 may be used to send the file data included in the current display interface on the display screen of the electronic device 200 to the electronic device 100 .
- the WLAN chip 710 may receive the file data included in the current display interface on the display screen of the electronic device 100 and sent by the electronic device 100 .
- the WLAN chip 710 can 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 .
- 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 ) associated with the UWB chip.
- the processor 701 of the electronic device 200 determines, based on the motion data of the electronic device 100 and the millimeter-wave data of the obstructing object, that the movement type of the obstruction is consistent with the movement type of the electronic device 100, the processor 701 can instruct the UWB chip A UWB connection is established with the electronic device 100 .
- the UWB chip can send the file data included in the current display interface on the display screen of the electronic device 200 to the electronic device 100 .
- the UWB chip may receive the file data included in the current display interface on the display screen of the electronic device 100 and sent by the electronic device 100 .
- the UWB chip can 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 .
- the power module 703 can be used to supply power to the millimeter wave radar module 702 .
- the crystal oscillator module 704 can be used to provide a clock signal for the millimeter wave radar module 702 .
- the millimeter wave radar module 702 may transmit the millimeter wave signal through the transmit antenna at a specified period (e.g., every 10 ms) based on the clock signal.
- the millimeter-wave radar module 702 when the electronic device 200 is working, the millimeter-wave radar module 702 is always working.
- the millimeter-wave radar module 702 may be in an idle (Idle) state when no obstruction is detected. In the idle state (ie, the first state), the millimeter-wave radar module 702 may pass through the first cycle (eg, every 100ms). The transmit antenna transmits millimeter wave signals.
- the millimeter-wave radar module 702 can switch to an active (Active) state, and in the active state (ie, the second state), the millimeter-wave radar module 702 can operate in a second period (eg, Every 10ms) transmit millimeter wave signal through the transmitting antenna.
- Active active
- the first period is greater than the second period, that is, the duty cycle of the millimeter wave signal in the active state is higher than that in the idle state. In this way, the power consumption of the millimeter-wave radar can be saved when there is no obstruction, and when there is an obstruction, the accuracy of the detection of the obstruction by the millimeter-wave radar can be improved.
- the state of the millimeter wave radar module 702 can be controlled by the processor 701 .
- the processor 701 determines that the millimeter wave radar module 702 detects an obstruction, and the processor 701 sends a first control instruction to the millimeter wave radar module 702 .
- the millimeter-wave radar module 702 adjusts the millimeter-wave signal to transmit in the second cycle.
- the millimeter wave radar module 702 includes a controller and a signal transceiver, the controller may be a control device such as an MCU, and the signal transceiver is used for transmitting and receiving millimeter wave signals.
- the obstruction eg, the electronic device 100
- the signal transceiver receives the millimeter wave signal returned from the obstruction through the receiving antenna, and the signal transceiver sends the returned millimeter wave signal to the controller, and the controller judges
- the millimeter wave radar module 702 detects an obstruction, and the controller sends a second control instruction to the signal transceiver. After the signal transceiver receives the second control instruction, the signal transceiver adjusts the millimeter wave signal to transmit at the second cycle.
- the frequency band of the electromagnetic wave emitted by the millimeter-wave radar module 702 through the transmitting antenna 1 may include 24 GHz, 60 GHz, 77 GHz, 120 GHz, and the like. Wherein, the higher the frequency band, the longer the effective detection distance of the millimeter wave radar module 702 to the obstruction.
- the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be packaged with the millimeter-wave radar module 702 in one chip.
- the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be located outside the chip where the millimeter-wave radar module 702 is located.
- the antennas (including the transmitting antenna and the receiving antenna) of the millimeter-wave radar module 702 may be located at different positions on the electronic device 200 from the millimeter-wave radar module 702 .
- the antenna of the millimeter-wave radar module 702 may be disposed on the frame of the display screen of the electronic device 200, and the chip where the millimeter-wave radar module 702 is located may be on a system on chip (SOC). In this way, by disposing the millimeter-wave radar module 702 and the millimeter-wave radar antenna separately on the electronic device 200 , the area occupied by the millimeter-wave radar on the electronic device 200 can be saved.
- SOC system on chip
- the chip where the millimeter wave radar module 702 is located may be packaged in one chip with other communication modules.
- the chip on which the millimeter-wave radar module 702 is located may be packaged into the same chip as the aforementioned Bluetooth chip 709 and the WLAN chip 710 .
- FIG. 8 shows the software-driven initialization process of the millimeter-wave radar provided in the embodiment of the present application.
- the software driver initialization process includes the following steps:
- the millimeter wave radar driver reads and parses the commands issued by the upper layer.
- the millimeter-wave radar driver configures the pin functions of the chip where the millimeter-wave radar module is located, including the pins for configuring the input function, the pins for the output function, the pins for the interrupt function, and the pins for the multiplexing function.
- millimeter wave radar driver can perform interrupt registration.
- the millimeter-wave radar driver is the configuration data of the chip where the millimeter-wave radar module is located.
- 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 processor data.
- FIG. 9 shows the data acquisition process of the millimeter wave radar module provided in the embodiment of the present application.
- the data acquisition process of the millimeter-wave radar may include the following steps:
- the HAL layer issues a data acquisition command.
- the data buffer of the processor has no data, and the thread of the processor of the electronic device 200 enters a waiting queue.
- 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.
- FIG. 10 shows a schematic diagram of the software architecture of the data sharing system provided in the embodiment of the present application.
- the data sharing system includes an electronic device 100 and an electronic device 200 .
- the software systems of both the electronic device 100 and the electronic device 200 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- the embodiments of the present application take a layered architecture as an example to exemplarily describe the software structures of the electronic device 100 and the electronic device 200 .
- the electronic device 100 and the electronic device 200 both 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 application, Bluetooth application, WLAN application, camera application, gallery application, calling application, music application, video application and other applications.
- application packages such as data sharing application, Bluetooth application, WLAN application, camera application, gallery application, calling application, music application, video application and other applications.
- the application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the hardware abstraction layer 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 the layer between hardware and software.
- the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
- the application layer of the electronic device 100 may include multiple applications (eg, data sharing application 1011, Bluetooth application, WLAN application, camera, gallery, call, music, video, etc. applications).
- the application framework layer of the electronic device 100 may include a Bluetooth service 1012, a sensor service 1013, a WLAN service (not shown in FIG. 10), and the like.
- the kernel 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), and an audio driver (not shown in FIG. 10) and many more.
- the application layer of the electronic device 200 may include multiple applications (e.g., data sharing application 1021, Bluetooth application, WLAN application, camera application, gallery application, calling application, music application, video application, etc.).
- the application framework layer of the electronic device 200 may include an action recognition module 1023, a Bluetooth service 1024, a WLAN service (not shown in FIG. 10), and the like.
- the kernel layer of the electronic device 200 may include a millimeter wave radar module driver 1024, a Bluetooth chip driver 1025, a WLAN chip driver 1026, a display driver (not shown in FIG. 10), an audio driver (not shown in FIG. 10), and the like.
- the HAL layer on the electronic device 200 issues a millimeter-wave data acquisition instruction to the millimeter-wave radar driver 1024 of the electronic device 200 .
- the millimeter-wave radar driver 1024 can instruct the millimeter-wave radar module 702 (ie, the millimeter-wave radar chip in the figure) to transmit a millimeter-wave signal.
- the millimeter-wave radar module 702 can transmit millimeter-wave signals through the transmitting antenna 705 at a certain period, and receive the millimeter-wave signals reflected by the obstruction through at least three receiving antennas (including the receiving antenna 706 , the receiving antenna 707 and the receiving antenna 708 ). echo.
- the millimeter-wave radar module 702 can obtain millimeter-wave data (including the distance, moving speed, and azimuth angle of obstacles) based on the analysis of the millimeter-wave echoes.
- the millimeter-wave radar chip driver 1024 can obtain the millimeter-wave data from the millimeter-wave radar module 702 and report the millimeter-wave data to the action recognition module 1023 via the HAL layer.
- the action recognition module 1023 can be used to identify the movement action type of the occluder based on the millimeter wave data.
- the movement action type of the occluder is a specified movement action type (for example, slide left or slide right)
- the action recognition module 1023 can call The Bluetooth service 1022 obtains motion data (including gyroscope sensor data and acceleration sensor data) of a device (eg, the electronic device 100 ) that has established a Bluetooth connection.
- the Bluetooth service 1022 may instruct the Bluetooth chip driver 1025 to control the Bluetooth chip 709 to send a motion data acquisition instruction to the electronic device 100 .
- the Bluetooth chip driver 1014 on the electronic device 100 After the Bluetooth chip driver 1014 on the electronic device 100 obtains the motion data acquisition instruction, it can report the motion data acquisition instruction to the Bluetooth service 1012 via the HAL layer.
- the Bluetooth service 1012 may submit the acquisition instructions of the motion data to the sensor service 1013 .
- the acquisition instruction of the motion data includes an acquisition time period of the motion data, and within the acquisition time period, the electronic device 200 recognizes the movement action type of the occluder.
- the sensor service 1013 can obtain acceleration sensor data from the acceleration sensor through the acceleration sensor driver 1015 in real time, obtain the gyroscope sensor data from the gyroscope sensor through the gyroscope sensor driver 1016, and save the acceleration sensor data and the gyroscope sensor data.
- the sensor service 1013 can call the Bluetooth service 1012 to acquire the motion data (including the number of gyroscope sensors and acceleration sensor data) of the electronic device 100 within the time period, and through the Bluetooth chip driver 1014, instruct the Bluetooth chip Sent to the Bluetooth chip 709 of the electronic device 200 .
- the Bluetooth chip 709 of the electronic device 200 can report it 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, based on the motion data of the electronic device 100, whether the movement type of the electronic device 100 is the same as the movement type of the blocking object. When the movement action type of the electronic device 100 is the same as the movement action type of the blocking object, the action recognition module 1023 may submit the movement action type 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 can establish a file transfer connection with the electronic device 100 .
- the file transfer connection may be a Wi-Fi direct connection (for example, Wi-Fi P2P), Wi-Fi softAP, UWB and other communication technology connections.
- the data sharing application 1021 may call the Bluetooth service 1022 or the WLAN service (not shown in FIG. 10 ) or the UWB service (not shown in FIG. 10 ) , sending a file data acquisition request to the electronic device 100, where the file data acquisition request is used to request the electronic device 100 to send the file data included in the currently displayed interface to the electronic device 200.
- the data sharing application 1021 can identify whether the interface currently displayed by the electronic device 200 includes file data, and if so, the data sharing application 1021 can The file data is sent to the electronic device 200 through the file transfer connection.
- FIG. 11 shows a schematic flowchart of a data sharing method provided by an embodiment of the present application.
- the data sharing method may include the following steps:
- the electronic device 100 establishes a Bluetooth connection with the electronic device 100 .
- the electronic device 100 displays a first interface, where the first interface includes a first file.
- the type of the first file may include a picture, a video, an audio, a document, a table, a folder, a compressed package, and the like.
- the first interface may be the picture display interface 530 shown in FIG. 5C
- the first file may be the picture 536 included in the picture display interface 530 .
- FIG. 5C For specific content, reference may be made to the foregoing embodiment shown in FIG. 5C , which will not be repeated here.
- the electronic device 100 receives the user's waving operation on the electronic device 100 .
- the electronic device 100 may record motion data (ie, first motion data) during the swiping operation.
- the motion data includes gyroscope sensor data and acceleration sensor data.
- the electronic device 200 may detect the motion action type of the occluder through the millimeter wave radar module, and determine whether the motion action type of the occluder is the first type (ie, the first motion). If so, 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 occluder may refer to the foregoing embodiment shown in FIG. 2 or FIG. 8 , which will not be repeated here.
- the first type may include moving in a first direction (eg, a left direction), and/or the moving speed satisfies a first preset speed condition.
- the first preset speed condition includes: the moving speed is greater than the first speed value (for example, 0.1 m/s).
- the preset speed condition includes: the moving speed is greater than a first speed value (for example, 0.1m/s) and less than a second speed value (for example, 0.5m/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.
- the motion data acquisition request in the foregoing step S1106 may be referred to as a first acquisition request.
- the electronic device 200 may also detect the distance between the obstruction and the millimeter-wave radar antenna before detecting the movement type of the obstruction. If the distance between the obstruction and the millimeter-wave radar antenna is less than a preset distance (for example, 0.2m), the electronic device 200 can detect the motion type of the occluder. If the distance between the obstruction and the millimeter-wave radar antenna is greater than or equal to a preset distance (eg, 0.2 m), the electronic device 200 does not detect the motion type of the obstruction. In this way, it is possible to prevent the user from accidentally opening the file data sharing.
- a preset distance For example, 0.2m
- the electronic device 200 may also detect the included angle of the obstructer relative to the vertical line of the plane where the millimeter wave radar antenna is located before detecting the motion type of the obstructer. If the obstructer is relative to the millimeter wave radar antenna If the included angle between the vertical lines of the plane is smaller than a preset angle (eg, 30 degrees), the electronic device 200 can detect the motion type of the occluder. If the included angle between the obstruction and the vertical line of the plane where the millimeter wave radar antenna is located is greater than or equal to a preset angle (eg, 30 degrees), the electronic device 200 may not detect the movement type of the obstruction. In this way, it is possible to prevent the user from accidentally opening the file data sharing.
- a preset angle eg, 30 degrees
- the electronic device 100 sends the motion data of the electronic device 100 to the electronic device 200 through Bluetooth.
- the motion data of the electronic device 100 includes the gyroscope sensor data and the acceleration sensor data of the electronic device 100 within the time period when the electronic device 200 detects the obstruction.
- 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, judges whether the first motion data satisfies the first condition, and if the first motion data satisfies the first condition, then The movement action type of the electronic device 100 is the first type.
- the first condition includes: the acceleration sensor data is used to instruct the second electronic device (ie the electronic device 100 ) to perform the first movement; and/or the gyroscope sensor data is used to instruct the second electronic device ( That is, the electronic device 100) performs the first movement.
- the first condition may also be whether the moving speed is greater than the first speed value.
- step S1109 is executed, and 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 sends a file acquisition request to the electronic device 200 .
- the electronic device 100 may establish a file transmission connection with the electronic device 200.
- the file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
- Wi-Fi P2P wireless fidelity peer to peer
- Wi-Fi softAP for example, Wi-Fi Wi-Fi P2P
- UWB ultra-wideband
- the electronic device 100 may send the first file to the electronic device 200.
- the electronic device 200 may directly display, open and 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 audio, the electronic device 200 plays the video or audio. If the first file is a document or a form, the electronic device 200 may directly open and display the document or form through a document application or a form application.
- the electronic device 200 may save the received first file locally. Afterwards, the electronic device 200 may receive and display the content of the first file in response to the user's input.
- the distance between the obstruction and the millimeter wave radar antenna may also be detected 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 less than a preset distance (eg, 0.2 m), it can be considered that the electronic device 100 is within a reliable range, and no file transmission is performed between the electronic device 200 and the electronic device 100 .
- a preset distance eg, 0.2 m
- the electronic device 200 can detect the motion type of the obstruction, or the electronic device 200 can 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 a preset distance (eg, 0.2 m), it can be considered that the electronic device 100 is outside the reliable range, and the file transmission is performed between the electronic device 200 and the electronic device 100 .
- a preset distance eg, 0.2 m
- the electronic device 200 does not detect the movement type of the obstruction, or the electronic device 200 may not continue to acquire the movement data of the electronic device 100 (for example, not to send the movement data to obtain the movement data) ask). In this way, it is possible to prevent the user from accidentally opening the file data sharing.
- the included angle of the obstruction relative to the vertical line of the plane where the millimeter-wave radar antenna is located may also be detected to determine whether the electronic device 100 is in a reliable range Inside. If the included angle between the obstruction and the vertical line of the plane where the millimeter wave radar antenna is located is less than a preset angle (eg, 30 degrees), it can be considered whether the electronic device 100 is within a reliable range, and the electronic device 200 can detect the movement type of the obstruction.
- a preset angle eg, 30 degrees
- the included angle between the obstruction and the vertical line of the plane where the millimeter-wave radar antenna is located is greater than or equal to a preset angle (for example, 30 degrees), it can be considered that the electronic device 100 is outside the reliable range, and the electronic device 200 may not detect the movement type of the obstruction. . In this way, it is possible to prevent the user from accidentally opening the file data sharing.
- a preset angle for example, 30 degrees
- the millimeter-wave radar module 702 may transmit the millimeter-wave signal through the transmit antenna at a second period (eg, every 10 ms).
- the millimeter-wave radar module 702 can transmit the millimeter-wave signal through the transmitting antenna in the first cycle, so as to save power consumption better.
- the electronic device 200 and the electronic device 100 may be connected to the same WLAN access point (access point, AP) or connected to the same server (which may be the same physical server or the same cloud server) .
- 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 mutually authorized accounts.
- the electronic device 200 can send a motion data acquisition request to the electronic device 100 through the AP or the server.
- the account ID of the electronic device 200 is included.
- the electronic device 100 can determine whether the account ID of the electronic device 200 is the same as the account ID of the electronic device 100 or is a mutually authorized account, and if so, the electronic device 100 can use the AP or the server to The motion data of the device 100 (including the gyroscope sensor data and the acceleration sensor data) is sent to the electronic device 200 .
- 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 send the currently displayed file data to the electronic device 200 through the AP or the server. In this way, by verifying the account ID of the electronic device 200 by the electronic device 100 , it is possible to ensure that file data is shared between two mutually trusted devices, and the privacy of the user can be protected.
- the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server).
- the electronic device 200 may send a motion data acquisition request to multiple other devices through the AP.
- the other multiple devices may send their respective motion data (including gyroscope sensor data and acceleration sensor data) to the electronic device 200 .
- the electronic device 200 may determine, from motion data of multiple other devices, that the motion action type of the electronic device 100 is the first type described above.
- the electronic device 200 may send a file acquisition request to the electronic device 100 through the AP.
- the electronic device 100 may send the currently displayed file data to the electronic device 200 through the AP.
- the electronic device 100 can display a browsing interface including file data (eg, picture data).
- file data eg, picture data
- the electronic device 100 may receive an operation of the user swiping to the left within the detection area of the millimeter-wave radar on the electronic device 200 .
- the electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth.
- the electronic device 200 can 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 .
- the electronic device 200 can establish a file transmission connection with the electronic device 100, and request the electronic device 100 to send the file data on the currently displayed interface to the electronic device 100. device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
- FIG. 12 shows a schematic flowchart of a data sharing method provided by another embodiment of the present application.
- the data sharing method may include the following steps:
- the electronic device 100 establishes a Bluetooth connection with the electronic device 100 .
- the electronic device 200 displays a second interface, where the second interface includes a second file.
- the type of the second file may include pictures, videos, audios, documents, tables, folders, compressed packages, and the like.
- the second interface may be the picture display interface 530 shown in FIG. 6C
- the first file may be the picture 636 included in the picture display interface 630 .
- the electronic device 100 receives the user's swiping operation on the electronic device 100 .
- the electronic device 200 may detect the movement action type of the obstruction through the millimeter wave chip, and determine whether the movement movement type of the obstruction is the second type (ie, the second movement). If so, step S1206 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 occluder may refer to the foregoing embodiment shown in FIG. 2 or FIG. 8 , which will not be repeated here.
- the second type may include moving in a second direction (eg, a right direction), and/or the moving speed satisfies a second preset speed condition.
- the first preset speed condition includes: the moving speed is greater than the first speed value (for example, 0.1 m/s).
- the preset speed condition includes: the moving speed is greater than a first speed value (for example, 0.1m/s) and less than a second speed value (for example, 0.5m/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.
- the motion data acquisition request in the foregoing step S1206 may be referred to as a second acquisition request.
- the electronic device 100 sends the motion data of the electronic device 100 to the electronic device 200 through Bluetooth.
- the motion data of the electronic device 100 includes the gyroscope sensor data and the acceleration sensor data of the electronic device 100 within the time period when the electronic device 200 detects the obstruction.
- 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, determines whether the second movement data satisfies the second condition, and if the second movement data meets the second condition, then The movement action type of the electronic device 100 is the second type.
- the second condition includes: the acceleration sensor data is used to instruct the second electronic device (ie the electronic device 100 ) to perform the second movement; and/or the gyroscope sensor data includes data used to instruct the second electronic device (ie the electronic device 100 ) to perform the second movement; The second electronic device (ie, the electronic device 100 ) performs the second movement.
- the second condition may also be whether the moving speed is greater than the second speed value.
- step S1209 is executed, and the electronic device 200 establishes a file transfer connection with the electronic device 100 . Specifically, when the second motion data satisfies the second condition, the electronic device 200 sends a file acquisition request to the electronic device 100 .
- the file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
- Wi-Fi P2P wireless fidelity peer to peer
- Wi-Fi softAP for example, Wi-Fi Wi-Fi P2P
- UWB ultra-wideband
- the electronic device 200 sends the second file to the electronic device 100 .
- the electronic device 100 may directly display, open and 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 directly open and display the document or form through a document application or a form application.
- the electronic device 200 may save the received second file locally. Afterwards, the electronic device 200 may receive and display the content of the second file in response to the user's input.
- the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server).
- 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 mutually authorized accounts.
- the electronic device 200 can send a motion data acquisition request to the electronic device 100 through the AP or the server.
- the account ID of the electronic device 200 may be included.
- the electronic device 100 can determine whether the account ID of the electronic device 200 is the same as the account ID of the electronic device 100 or is a mutually authorized account, and if so, the electronic device 100 can use the AP or the server to The motion data of the device 100 (including the gyroscope sensor data and the acceleration sensor data) is sent to the electronic device 200 .
- the electronic device 200 may send the currently displayed file data to the electronic device 100 through the AP or the server. In this way, by verifying the account ID of the electronic device 200 by the electronic device 100 , it is possible to ensure that file data is shared between two mutually trusted devices, and the privacy of the user can be protected.
- the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server).
- the electronic device 200 can send a motion data acquisition request to multiple other devices through the AP.
- the other multiple devices may send their respective motion data (including gyroscope sensor data and acceleration sensor data) to the electronic device 200 .
- the electronic device 200 may determine, from motion data of multiple other devices, that the motion action type of the electronic device 100 is the first type described above.
- the electronic device 200 may send the currently displayed file data to the electronic device 100 through the AP or the server.
- the electronic device 200 can display a browsing interface including file data (eg, picture data).
- file data eg, picture data
- the electronic device 100 may receive an operation of the user swiping right in the detection area of the millimeter-wave radar on the electronic device 200 .
- the electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth.
- the electronic device 200 can 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 .
- the electronic device 200 can establish a file transmission connection with the electronic device 100, and send the file data included on the interface currently displayed on the electronic device 200 to the electronic device 200.
- 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 provides a data sharing method for transferring files between a first electronic device and a second electronic device, where the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar The module is configured to receive echo signals of the occluder within range, and the method includes:
- the second electronic device displays a first interface, and the first interface includes a first file
- the millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, and sends a first acquisition request through the Bluetooth connection, where the first movement is a movement within the range;
- the second electronic device receives the first acquisition request, and sends the first motion data through the Bluetooth connection;
- the first electronic device receives the first motion data, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device;
- the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
- Embodiment 2 According to the method of Embodiment 1, after receiving the first file, the first electronic device displays the first file.
- Embodiment 3 The method according to any one of Embodiments 1-2, further comprising: displaying, by the first electronic device, a second interface, the second interface including a second file; After the radar module acquires the echo signal when the second electronic device performs a second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is within the range. exercise; the second electronic device receives the second acquisition request, and sends second exercise data through the Bluetooth connection; the first electronic device receives the second exercise data, and when the second exercise data conforms to the Under the second condition, the first electronic device automatically sends the second file to the second electronic device.
- Embodiment 4 According to the method according to any one of Embodiments 1-3, the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
- the device includes: the second electronic device receives the file acquisition request; the second electronic device establishes a file transmission connection with the first electronic device; the second electronic device transfers all files through the file transmission connection The first file is sent to the first electronic device.
- Embodiment 5 when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second electronic device, including: When the second motion data meets the second condition, the first electronic device establishes a file transmission connection with the second electronic device; the first electronic device transfers the second electronic device to the second electronic device through the file transmission connection The file is sent to the second electronic device.
- Embodiment 6 The method according to any one of Embodiments 1-5, further comprising: before the millimeter wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal with a first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, the first The electronic device transmits a millimeter wave signal with a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
- Embodiment 7 An embodiment of the present application provides a data method, including establishing a Bluetooth connection between a first electronic device and a second electronic device, the first electronic device including a millimeter-wave radar module, and the millimeter-wave radar module is configured as Receive the echo signal of the obstruction within the range; after the millimeter wave radar module obtains the echo signal when the second electronic device performs the first movement, the first electronic device sends the first electronic device through the Bluetooth connection.
- the first electronic device sends an acquisition request to the second electronic device, wherein the first movement is movement within the range; the first electronic device receives the first movement data sent by the second electronic device, and when the first movement When the motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device; the first electronic device receives the first file sent by the second electronic device.
- Embodiment 8 The method according to Embodiment 7, after receiving the first file, the first electronic device displays the first file.
- Embodiment 9 The method according to Embodiment 7 or 8, further comprising: displaying the second file by the first electronic device; acquiring the second electronic device by the millimeter-wave radar module to perform a second movement After the echo signal at the time, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is the movement within the range; the first The electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
- Embodiment 10 According to the method according to any one of Embodiments 7 to 9, the first electronic device receives the first file sent by the second electronic device, including: the first electronic device and the first electronic device.
- the two electronic devices establish a file transmission connection; the first electronic device receives the first file sent by the second electronic device through the file transmission connection.
- Embodiment 11 when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
- Embodiment 12 The method according to any one of claims 7 to 11, wherein the method further comprises: acquiring, by the millimeter wave radar module, an echo when the second electronic device performs a first movement Before the signal, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal through the millimeter-wave radar module with a second period, wherein the first period is greater than the second period.
- Embodiment 13 provides a data sharing method for transferring files 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
- the method includes: the second electronic device displays a first interface, and the first interface includes a first file; acquiring the second electronic device in the millimeter wave radar module After the device performs the echo signal of the first movement, the first electronic device sends a first message (the first message may be a first acquisition request, etc.), wherein the first movement is within the range. movement; the second electronic device receives the first message, the second electronic device automatically sends the first file to the first electronic device.
- Embodiment 14 According to the method of Embodiment 13, after receiving the first file, the first electronic device displays the first file.
- Embodiment 15 The method according to Embodiment 13 or 14, further comprising: displaying, by the first electronic device, a second interface, the second interface including a second file; After the second electronic device performs the echo signal of the second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is the movement within the range; The second electronic device receives the second acquisition request, and sends the second motion data through the Bluetooth connection; the first electronic device receives the second motion data, when the second motion data meets the second condition when the first electronic device automatically sends the second file to the second electronic device.
- the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
- the device includes: the second electronic device receives the file acquisition request; the second electronic device establishes a file transmission connection with the first electronic device; the second electronic device transfers all files through the file transmission connection The first file is sent to the first electronic device.
- Embodiment 17 when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
- Embodiment 18 The method according to any one of Embodiments 13-17, further comprising: before the millimeter wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal with a first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, the first The electronic device transmits a millimeter wave signal with a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
- Embodiment 19 provides a data sharing method for transferring files 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
- the method includes: the first electronic device displays a second interface, the second interface includes a second file; obtaining the second electronic device in a millimeter-wave radar module After the device performs the echo signal of the second movement, the first electronic device automatically sends the second file to the second electronic device, wherein the first movement is a movement within the range.
- Embodiment 20 According to the method of Embodiment 19, after receiving the first file, the first electronic device displays the first file.
- Embodiment 21 The method according to Embodiment 19 or 20, further comprising: displaying a second file by the first electronic device; acquiring the second electronic device from the millimeter-wave radar module to perform a second movement After the echo signal at the time, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is the movement within the range; the first The electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
- Embodiment 22 The method according to any one of Embodiments 19 to 21, wherein the first electronic device receives the first file sent by the second electronic device, comprising: the first electronic device and the first electronic device.
- the two electronic devices establish a file transmission connection; the first electronic device receives the first file sent by the second electronic device through the file transmission connection.
- Embodiment 23 when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
- Embodiment 24 The method according to any one of claims 19 to 23, wherein the method further comprises: acquiring, by the millimeter wave radar module, an echo when the second electronic device performs a first movement Before the signal, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal through the millimeter-wave radar module with a second period, wherein the first period is greater than the second period.
- Embodiment 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.
- Embodiment 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.
- Embodiment 27 The method of any one of claims 1-26,
- the first condition includes the acceleration sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; or the gyro sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; first movement.
- Embodiment 28 The method of any one of claims 1-27,
- the file transfer connection includes any one of the following: wireless high-fidelity Wi-Fi direct connection, Wi-Fi softAP connection, and ultra-wideband UWB connection.
- Embodiment 29 An embodiment of the present application provides an electronic device, which is a first electronic device, including: a display screen, one or more processors, one or more memories, and a millimeter wave radar module; wherein the one or A plurality of memories are coupled to the one or more processors, the one or more memories for storing computer program code, the computer program code comprising computer instructions, when the one or more processors are executing the When the computer is instructed, the electronic device is caused to execute the data sharing method described in any one of the embodiments 1-28.
- Embodiment 30 This embodiment of the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on a first electronic device, the first electronic device is made to execute any one of Embodiments 1-28.
- An embodiment of the present application provides a processing system, including: 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 obstructions within range
- the bluetooth module is used for the second electronic device to establish a bluetooth connection; the millimeter wave radar module is used to obtain the echo signal when the second electronic device performs the first movement; the a processor, configured to instruct the Bluetooth module to send a first acquisition request to the second electronic device through the Bluetooth connection after acquiring the echo signal when the second electronic device performs the first movement, wherein, The first movement is movement within the range;
- the Bluetooth module is further configured to receive the first movement data sent by the second electronic device;
- the processing module is further configured to receive the first movement data when the first movement data is When the first condition is met, the Bluetooth module is instructed to send a file acquisition request to the second electronic device;
- the WLAN module is configured to receive the first file sent by the second electronic device.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Disclosed in the present application is a data sharing method. When a first electronic device (such as a tablet computer) can recognize, by means of a millimeter-wave radar, the movement of a second electronic device (such as a mobile phone) as a specific movement, data sharing between the first electronic device and the second electronic device is triggered, such that operation steps for sharing data between the first electronic device and the second electronic device can be simplified, and a process of file transmission can be shortened.
Description
本申请要求于2020年10月31日提交中国专利局、申请号为202011198050.7、申请名称为“一种数据分享方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011198050.7 and the application title "A data sharing method and related device" filed with the China Patent Office on October 31, 2020, the entire contents of which are incorporated into this application by reference middle.
本申请涉及短距离通信领域,尤其涉及一种数据分享方法及相关装置。The present application relates to the field of short-range communications, and in particular, to a data sharing method and related apparatus.
随着无线通讯技术的发展,智能手机、平板电脑等电子设备开始支持用户分享图片、文档、视频等文件数据给其他设备,提高了用户的办公效率和办公体验。例如,用户可以无需使用数据线将智能手机等电子设备上图片、文档、视频等文件数据分享给其他设备。With the development of wireless communication technology, electronic devices such as smart phones and tablet computers have begun to support users to share file data such as pictures, documents, and videos with other devices, improving users' office efficiency and office experience. For example, users can share file data such as pictures, documents, videos, etc. on electronic devices such as smartphones to other devices without using a data cable.
目前,当用户想要将智能手机等电子设备上的图片等文件数据分享给其他设备时,需要用户手动选中要发送的文件数据,然后再开启Wi-Fi功能,搜索周围的开启Wi-Fi功能的设备。接着,用户需要在搜索设备列表中,选中接收设备,进行文件传输,这样,用户操作繁杂。At present, when a user wants to share file data such as pictures on an electronic device such as a smartphone to other devices, the user needs to manually select the file data to be sent, then enable the Wi-Fi function, and search for the surrounding Wi-Fi function. device of. Next, the user needs to select the receiving device in the search device list to perform file transfer, so that the user's operation is complicated.
为了解决上述问题,现有带有的近场通信(near field communication,NFC)功能的两个电子设备可以通过NFC感应区域接触实现Wi-Fi自动连接以及数据无线传输。由于该技术需要两个设备都要有NFC功能才能实现设备间的自动数据无线传输,若有一个设备没有NFC功能,就不能实现该功能,所以对于没有NFC硬件支持的电子设备,就无法快速分享数据给其他设备。In order to solve the above problems, two existing electronic devices with near field communication (NFC) functions can realize automatic Wi-Fi connection and wireless data transmission through the contact of the NFC sensing area. Since this technology requires two devices to have NFC function to realize automatic data wireless transmission between devices, if one device does not have NFC function, this function cannot be realized, so for electronic devices without NFC hardware support, it is impossible to share quickly data to other devices.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种数据分享方法及相关装置,实现了配置了毫米波雷达的电子设备可以在通过毫米波雷达识别出其他设备的移动动作为特定动作时,触发其他设备与该电子设备之间的数据分享。这样,可以简化在电子设备与其他设备之间分享数据的操作步骤。The present application provides a data sharing method and a related device, which realize that an electronic device equipped with a millimeter-wave radar can trigger the communication between other devices and the electronic device when the millimeter-wave radar recognizes that the movement of other devices is a specific action. data sharing. In this way, the operation steps of sharing data between the electronic device and other devices can be simplified.
第一方面,本申请提供了一种数据分享方法,用于第一电子设备和第二电子设备之间传输文件,第一电子设备包括有毫米波雷达模块,毫米波雷达模块被配置为接收遮挡物在范围内的回波信号。第一电子设备与第二电子设备建立蓝牙连接。第二电子设备显示第一界面,第一界面包括第一文件。在毫米波雷达模块获取第二电子设备进行第一运动时的回波信号后,第一电子设备通过蓝牙连接发送第一获取请求,其中,第一运动为上述范围内的运动。第二电子设备接收到第一获取请求,通过蓝牙连接发送第一运动数据。第一电子设备接收第一运动数据,当第一运动数据符合第一条件时,第一电子设备发送文件获取请求给第二电子设备。第二电子设备接收到文件获取请求,第二电子设备自动将第一文件发送给第一电子设备。In a first aspect, the present application provides a data sharing method for transferring files between a first electronic device and a second electronic device, where the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive blocking The echo signal of the object within the range. The first electronic device establishes a Bluetooth connection with the second electronic device. The second electronic device displays a first interface, and the first interface includes a first file. After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the first acquisition request through the Bluetooth connection, where the first movement is the movement within the above-mentioned range. The second electronic device receives the first acquisition request, and sends the first motion data through the Bluetooth connection. The first electronic device receives the first motion data, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device. The second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
通过本申请提供的一种数据分享的方法,第一电子设备(例如平板电脑)可以通过毫米波雷达识别出第二电子设备(例如手机)的运动动作为特定动作时,触发第一电子设备与第二电子设备之间的数据分享。这样,可以简化在第一电子设备与第二电子设备之间分享数据的操作步骤。例如,用户可以只用拿起手机在平板电脑的毫米波雷达检测区域内向左移动、 向右移动、靠近平板电脑的移动或远离平板电脑的移动,即可实现将手机上显示的文件传输给平板电脑或将平板电脑上显示的文件传输给手机。这样只通过用户的一个操作,即实现两个设备之间的传输,简化操作步骤,缩短了文件传输的过程。Through a data sharing method provided in this application, when a first electronic device (such as a tablet computer) can identify a movement of a second electronic device (such as a mobile phone) as a specific action through a millimeter-wave radar, trigger the first electronic device to communicate with Data sharing between second electronic devices. In this way, the operation steps of sharing data between the first electronic device and the second electronic device can be simplified. For example, the user can transfer the files displayed on the mobile phone to the tablet simply by picking up the mobile phone and moving left, right, close to the tablet, or moving away from the tablet within the millimeter wave radar detection area of the tablet. computer or transfer files displayed on the tablet to the phone. In this way, only one operation of the user is performed, that is, the transmission between the two devices is realized, the operation steps are simplified, and the process of file transmission is shortened.
其中,第一电子设备在接收到第一文件后,可以直接打开并显示第一文件。这样,可以减少用户的操作步骤,方便用户快速将第二电子设备上的文件传输到第一电子设备上显示。Wherein, after receiving the first file, the first electronic device can directly open and display the first file. In this way, the user's operation steps can be reduced, and it is convenient for the user to quickly transfer the file on the second electronic device to the first electronic device for display.
在一种可能的实现方式中,该方法还包括:所述第一电子设备显示第二界面,所述第二界面包括第二文件。在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求,其中,所述第二运动为所述范围内的运动。所述第二电子设备接收到所述第二获取请求,通过所述蓝牙连接发送第二运动数据。所述第一电子设备接收所述第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。这样,可以实现第一电子设备通过毫米波雷达识别出其他设备的移动动作为特定动作时,将当前显示的文件发给其他设备,简化了用户在电子设备上分享文件数据的操作步骤。In a possible implementation manner, the method further includes: displaying, by the first electronic device, a second interface, and the second interface includes a second file. After the millimeter-wave radar module acquires the echo signal when the second electronic device performs a second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, where the second movement is movement within the stated range. The second electronic device receives the second acquisition request, and sends second motion data through the Bluetooth connection. The first electronic device receives the second movement data, and when the second movement data meets the second condition, the first electronic device automatically sends the second file to the second electronic device. In this way, when the first electronic device recognizes the movement of other devices as a specific action through the millimeter-wave radar, it can send the currently displayed file to other devices, which simplifies the operation steps for users to share file data on the electronic device.
在一种可能的实现方式中,在第二电子设备接收到文件获取请求后,第二电子设备可以先与第一电子设备建立文件传输连接,再通过该文件传输连接将第一文件发送给第一电子设备。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. an electronic device.
在一种可能的实现方式中,当第二运动数据符合第二条件时,第一电子设备与第二电子设备先建立文件传输连接,然后,第一电子设备再通过文件传输连接将第二文件发送给第二电子设备。In a possible implementation, when the second motion data meets the second condition, the first electronic device and the second electronic device first establish a file transfer connection, and then the first electronic device transfers the second file to the second file through the file transfer connection. sent to the second electronic device.
第二方面,本申请提供了一种数据分享方法,应用于上述第一电子设备。该方法包括:第一电子设备与第二电子设备建立蓝牙连接,第一电子设备包括有毫米波雷达模块,毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;在毫米波雷达模块获取第二电子设备进行第一运动时的回波信号后,第一电子设备通过蓝牙连接发送第一获取请求给第二电子设备,其中,第一运动为所述范围内的运动;第一电子设备接收第二电子设备发送的第一运动数据,当第一运动数据符合第一条件时,第一电子设备发送文件获取请求给第二电子设备;第一电子设备接收到第二电子设备发送的第一文件。In a second aspect, the present application provides a data sharing method, which is applied to the above-mentioned first electronic device. The method includes: establishing a Bluetooth connection between a first electronic device and a second electronic device, the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive echo signals from an obstruction within a range; After the module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the first acquisition request to the second electronic device through the Bluetooth connection, wherein the first movement is the movement within the range; the first The electronic device receives the first motion data sent by the second electronic device, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device; the first electronic device receives the data sent by the second electronic device the first document.
其中,第一电子设备在接收到所述第一文件后,显示第一文件。这样,可以减少用户的操作步骤,方便用户快速将第二电子设备上的文件传输到第一电子设备上显示。The first electronic device displays the first file after receiving the first file. In this way, the user's operation steps can be reduced, and it is convenient for the user to quickly transfer the file on the second electronic device to the first electronic device for display.
在一种可能的实现方式中,第一电子设备可以显示第二文件。在毫米波雷达模块获取第二电子设备进行第二运动时的回波信号后,第一电子设备通过蓝牙连接发送第二获取请求给第二电子设备,其中,第二运动为所述范围内的运动。第一电子设备接收到第二电子设备通过蓝牙连接发送的第二运动数据,当第二运动数据符合第二条件时,第一电子设备自动将第二文件发送给第二电子设备。In one possible implementation, the first electronic device may display the second file. After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, where the second movement is within the range sports. The first electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
在本申请上述任一方面提供的数据分享方法中,第二电子设备包括加速度传感器和陀螺仪传感器中的至少一个,所述第一运动数据包括加速度传感器数据和陀螺仪传感器数据的至少一个。In the data sharing method provided in any 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 within a first time period, where the first time period is a time period during which the second electronic device performs the first motion.
第一条件包括加速度传感器数据包括所述加速度传感器数据用于指示所述第二电子设备 进行所述第一运动;或者,陀螺仪传感器数据包括用于指示所述第二电子设备进行所述第一运动。The first condition includes the acceleration sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; or the gyro sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement sports.
第二条件包括加速度传感器数据包括所述加速度传感器数据用于指示所述第二电子设备进行所述第二运动;或者,陀螺仪传感器数据包括用于指示所述第二电子设备进行所述第二运动。The second condition includes that the acceleration sensor data includes the acceleration sensor data for instructing the second electronic device to perform the second movement; or the gyro sensor data includes the acceleration sensor data for instructing the second electronic device to perform the second movement sports.
上述第一文件和第二文件的文件类型都可以包括以下任一种:图片、视频、音频、文档、表格、文件夹、压缩包。The file types of the first file and the second file may include any of the following: picture, video, audio, document, table, folder, and compressed package.
上述文件传输连接可以包括以下任一种:无线高保真Wi-Fi直连、Wi-Fi softAP连接、超宽带UWB连接。The above-mentioned file transfer connection may include any one of the following: wireless high-fidelity Wi-Fi direct connection, Wi-Fi softAP connection, and ultra-wideband UWB connection.
上述方法中,在毫米波雷达模块获取第二电子设备进行第一运动时的回波信号之前,第一电子设备通过毫米波雷达模块以第一周期发送毫米波信号。在毫米波雷达模块获取第二电子设备进行第一运动时的回波信号之后,第一电子设备通过毫米波雷达模块以第二周期发送毫米波信号,其中,第一周期大于第二周期。这样,可以在没有遮挡物时,节省毫米波雷达的功耗,在有遮挡物时,提高毫米波雷达检测遮挡物的精度。In the above method, before the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module. After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device transmits the millimeter-wave signal in a second period through the millimeter-wave radar module, wherein the first period is greater than the second period. In this way, the power consumption of the millimeter-wave radar can be saved when there is no obstruction, and when there is an obstruction, the accuracy of the detection of the obstruction by the millimeter-wave radar can be improved.
第三方面,本申请提供另了一种数据分享方法,用于第一设备和第二设备之间传输文件,所述第一设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为识别所述第二设备在范围内的运动,该方法包括:第二电子设备显示第一界面,第一界面包括第一文件;在毫米波雷达模块获取第二电子设备进行第一运动时的回波信号后,第一电子设备发送第一消息,其中,第一运动为范围内的运动;第二电子设备接收第一消息,第二电子设备自动将第一文件发送给所述第一电子设备。In a third aspect, the present application provides another data sharing method for transferring files 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 as Recognizing the movement of the second device within the range, the method includes: displaying a first interface by the second electronic device, the first interface including the first file; and acquiring, by the millimeter-wave radar module, a response when the second electronic device performs the first movement After the wave signal, the first electronic device sends a first message, wherein the first movement is a movement within a range; the second electronic device receives the first message, and the second electronic device automatically sends the first file to the first electronic device .
其中,第一电子设备可以通过蓝牙发送第一消息给第二电子设备,也可以通过无线局域网的接入点AP,发送第一消息给第二电子设备,还可以通过移动通信网络(例如4G网络、5G网络)发送第一消息给第二电子设备。Wherein, the first electronic device can send the first message to the second electronic device through Bluetooth, can also send the first message to the second electronic device through the access point AP of the wireless local area network, and can also send the first message to the second electronic device through a mobile communication network (such as a 4G network) , 5G network) to send the first message to the second electronic device.
第四方面,本申请提供另了一种数据分享方法,用于第一设备和第二设备之间传输文件,所述第一设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为识别所述第二设备在范围内的运动,该方法包括:第一电子设备显示第二界面,第二米界面包括第二文件;在毫米波雷达模块获取第二电子设备进行第二运动时的回波信号后,第一电子设备自动将第二文件发送给第二电子设备,其中,第一运动为范围内的运动。In a fourth aspect, the present application provides another data sharing method for transferring files 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 as Identifying the movement of the second device within the range, the method includes: the first electronic device displays a second interface, and the second interface includes a second file; when the millimeter wave radar module acquires the second electronic device to perform the second movement After echoing the signal, the first electronic device automatically sends the second file to the second electronic device, wherein the first motion is a motion within a range.
第五方面,本申请提供了一种电子设备,为第一电子设备,包括:显示屏、一个或多个处理器、一个或多个存储器、毫米波雷达模块;其中,一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器在执行计算机指令时,使得第一电子设备执行上述任一方面任一项可能的实现方式中的数据分享方法。In a fifth aspect, the present application provides an electronic device, which is a first electronic device, comprising: a display screen, one or more processors, one or more memories, and a millimeter-wave radar module; wherein the one or more memories are associated with One or more processors are coupled, one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors are executing the computer instructions, cause the first electronic device to perform any of the above aspects The data sharing method in any possible implementation.
第六方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得通信装置执行上述任一方面任一项可能的实现方式中的数据分享方法。In a sixth aspect, the embodiments of the present application provide a computer storage medium, including computer instructions, when the computer instructions are run on an electronic device, the communication device is made to execute the data sharing method in any of the possible implementations of any of the above aspects .
第七方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述任一方面任一项可能的实现方式中的数据分享方法。In a seventh aspect, the embodiments of the present application provide a computer program product, which, when the computer program product runs on a computer, enables the computer to execute the data sharing method in any possible implementation manner of any one of the foregoing aspects.
第八方面,本申请实施例提供了一种处理系统,其特征在于,包括:处理器、毫米波雷达模块、蓝牙模块、无线局域网WLAN模块。其中,毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;该蓝牙模块,用于该第二电子设备建立蓝牙连接。该毫米波雷达模块,用于获取该第二电子设备进行第一运动时的回波信号;该处理器,用于在获取到该第二电子设备进行第一运动时的回波信号后,指示该蓝牙模块通过该蓝牙连接发送第一获取请求给该第二电子设备,其中,该第一运动为该范围内的运动。该蓝牙模块,还用于接收该第二电子设备发送的第一运动数据。该处理模块,还用于当该第一运动数据符合第一条件时,指示该蓝牙模块发送文件获取请求给该第二电子设备。该WLAN模块,用于接收到该第二电子设备发送的第一文件。In an eighth aspect, an embodiment of the present application provides a processing system, which is characterized by comprising: 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 the echo signal of the obstruction within the range; the Bluetooth module is used for the second electronic device to establish a Bluetooth connection. The millimeter-wave radar module is used to acquire the echo signal when the second electronic device performs the first movement; the processor is used to instruct the second electronic device to perform the first movement after acquiring the echo signal when the second electronic device performs the first movement The Bluetooth module sends a first acquisition request to the second electronic device through the Bluetooth connection, wherein the first motion is motion within the range. The Bluetooth module is further configured to receive the 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 configured to receive the first file sent by the second electronic device.
其中,针对处理系统中每个模块具体功能,可以参考前述任一方面的任一种实现方式。Wherein, for the specific function of each module in the processing system, reference may be made to any implementation manner of any of the foregoing aspects.
图1为本申请实施例提供的一种电子设备100的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application;
图2为本申请实施例提供的一种电子设备200的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the present application;
图3为本申请实施例提供的一种数据分享系统的结构示意图;3 is a schematic structural diagram of a data sharing system according to an embodiment of the present application;
图4为本申请实施例提供的一种数据分享场景的示意图;4 is a schematic diagram of a data sharing scenario provided by an embodiment of the present application;
图5A-图5D为本申请实施例提供的一组界面示意图;5A-5D are schematic diagrams of a group of interfaces provided by an embodiment of the present application;
图6A-图6E为本申请实施例提供的另一组界面示意图;6A-6E are another set of interface schematic diagrams provided by the embodiments of the present application;
图7示出了本申请实施例提供的一种电子设备200的硬件系统;FIG. 7 shows a hardware system of an electronic device 200 provided by an embodiment of the present application;
图8示出了本申请实施例提供的一种毫米波雷达模块的软件初始化过程示意图;FIG. 8 shows a schematic diagram of a software initialization process of a millimeter-wave radar module provided by an embodiment of the present application;
图9示出了本申请实施例提供的一种毫米波雷达模块的数据获取流程;FIG. 9 shows a data acquisition process of a millimeter-wave radar module provided by an embodiment of the present application;
图10示出了本申请实施例提供的一种数据分享系统的软件架构的示意图;10 shows a schematic diagram of a software architecture of a data sharing system provided by an embodiment of the present application;
图11示出了本申请实施例提供的一种数据分享方法的流程示意图;FIG. 11 shows a schematic flowchart of a data sharing method provided by an embodiment of the present application;
图12示出了本申请另一实施例提供的一种数据分享方法的流程示意图。FIG. 12 shows a schematic flowchart of a data sharing method provided by another embodiment of the present application.
下面将结合附图对本申请实施例中的技术方案进行清除、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be cleared and described in detail below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, unless otherwise specified, “/” means or, for example, A/B can mean A or B; “and/or” in the text is only a description of an associated object The association relationship indicates that there can be three kinds of relationships, for example, A and/or B can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application , "plurality" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the "multiple" The meaning is two or more.
本申请实施例提供了一种数据分享的方法,电子设备200可以通过毫米波雷达识别出电子设备100的移动动作为特定动作时,触发电子设备100与电子设备200之间的数据分享。这样,可以简化在电子设备100与电子设备200之间分享数据的操作步骤。例如,用户可以 只用拿起电子设备100在电子设备200的毫米波雷达检测区域内向左移动、向右移动、靠近电子设备200移动或远离电子设备200移动,即可实现将电子设备100上显示的文件传输给电子设备200或将电子设备200上显示的文件传输给电子设备100。这样只通过用户的一个操作,即实现两设备之间的传输,简化操作步骤,缩短了文件传输的过程。The embodiment of the present application provides a method for data sharing. The electronic device 200 can trigger data sharing between the electronic device 100 and the electronic device 200 when the electronic device 200 recognizes that the movement of the electronic device 100 is a specific action through the millimeter wave radar. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified. For example, the user can simply pick up the electronic device 100 and move leftward, rightward, close to the electronic device 200, or move away from the electronic device 200 within the millimeter-wave radar detection area of the electronic device 200, and then the display on the electronic device 100 can be realized. The file displayed on the electronic device 200 is transferred to the electronic device 200 or the file displayed on the electronic device 200 is transferred to the electronic device 100 . In this way, only one operation of the user is performed, that is, the transmission between the two devices is realized, the operation steps are simplified, and the process of file transmission is shortened.
图1示出了电子设备100的结构示意图。FIG. 1 shows a schematic structural diagram of an electronic device 100 .
下面以电子设备100为例对实施例进行具体说明。应该理解的是,图1所示电子设备100仅是一个范例,并且电子设备100可以具有比图1中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。The embodiment will be described in detail below by taking the electronic device 100 as an example. It should be understood that the electronic device 100 shown in FIG. 1 is only an example, and the electronic device 100 may have more or fewer components than those shown in FIG. 1 , two or more components may be combined, or Different component configurations are possible. 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.
电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include: 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. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on. 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不 构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142 , the electronic device 100 can also be powered by the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 is used for connecting 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 charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。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, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos 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 independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution, LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。The ISP is used to process the data fed back by the camera 193 .
摄像头193用于捕获静态图像或视频。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。Video codecs are used to compress or decompress digital video.
NPU为神经网络(neural-network,NN)计算处理器,通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor, and applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如文件传输功能,文件播放或显示功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如运动数据,接收到的文件数据等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an operating system, an application program required for at least one function (such as a file transfer function, a file playback or display function, etc.), and the like. The storage data area may store data (such as motion data, received file data, etc.) created during the use of the electronic device 100, and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 .
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100 抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。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 (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the shaking angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
气压传感器180C用于测量气压。磁传感器180D包括霍尔传感器。距离传感器180F,用于测量距离。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。环境光传感器180L用于感知环境光亮度。指纹传感器180H用于采集指纹。温度传感器180J用于检测温度。触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。骨传导传感器180M可以获取振动信号。按键190包括开机键,音量键等。马达191可以产生振动提示。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. Distance sensor 180F for measuring distance. Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The ambient light sensor 180L is used to sense ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature. Touch sensor 180K, also called "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, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located. The bone conduction sensor 180M can acquire vibration signals. The keys 190 include a power-on key, a volume key, and the like. Motor 191 can generate vibrating cues. The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 is used to connect a SIM card.
下面介绍本申请实施例中提供的一种电子设备200的结构。The following describes the structure of an electronic device 200 provided in the embodiments of the present application.
图2示例性的示出了本申请实施例提供的一种电子设备200的结构示意图。FIG. 2 exemplarily shows a schematic structural diagram of an electronic device 200 provided by an embodiment of the present application.
如图2所示,电子设备200可以包括处理器201、存储器202、无线通信处理模块203、天线204、显示屏205、电源管理206、音频模块207、毫米波雷达模块208。其中:As shown in FIG. 2 , the electronic device 200 may include a processor 201 , a memory 202 , a wireless communication processing module 203 , an antenna 204 , a display screen 205 , a power management 206 , an audio module 207 , and a millimeter wave radar module 208 . in:
处理器201可用于读取和执行计算机可读指令。具体实现中,处理器201可主要包括控制器、运算器和寄存器。其中,控制器主要负责指令译码,并为指令对应的操作发出控制信号。运算器主要负责保存指令执行过程中临时存放的寄存器操作数和中间操作结果等。具体实现中,处理器201的硬件架构可以是专用集成电路(ASIC)架构、MIPS架构、ARM架构或者NP架构等等。The processor 201 may be used to read and execute computer readable instructions. In a specific implementation, the processor 201 may mainly include a controller, an arithmetic unit, and a register. Among them, the controller is mainly responsible for instruction decoding, and sends out control signals for the operations corresponding to the instructions. The arithmetic unit is mainly responsible for saving the register operands and intermediate operation results temporarily stored during the execution of the instruction. 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, an NP architecture, or the like.
在一些实施例中,处理器201可以用于解析无线通信模块203和/或毫米波雷达模块208接收到的信号,如电子设备100广播的探测请求,又如毫米波雷达模块208发出的毫米波信号经遮挡物反射回来的接收信号等等。处理器201可以用于根据解析结果进行相应的处理操作,如生成探测响应,等等。In some embodiments, the processor 201 may be configured to parse the signals received by the wireless communication module 203 and/or the millimeter-wave radar module 208 , such as the detection request broadcast by the electronic device 100 , or the millimeter-wave emitted by the millimeter-wave radar module 208 . The received signal reflected back by the blocker 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.
在一些实施例中,处理器201还可用于生成无线通信模块203向外发送的信号,如蓝牙广播信号、信标信号。In some embodiments, the processor 201 may also be configured to generate a signal sent by the wireless communication module 203 to the outside, such as a Bluetooth broadcast signal and a beacon signal.
存储器202与处理器201耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器202可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器202可以存储操作系统,例如uCOS,VxWorks、RTLinux等嵌入式操作系统。存储器202还可以存储通信程序,该通信程序可用于与电子设备100,或其他设备进行通信。Memory 202 is coupled to 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 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, RTLinux, and the like. The memory 202 may also store communication programs that may be used to communicate with the electronic device 100, or other devices.
无线通信模块203可以包括蓝牙通信模块203A、WLAN通信模块203B中的一项或多项。可能的,蓝牙通信模块203A可以与其他通信模块(例如,WLAN通信模块203B)集成为一体。The wireless communication module 203 may include one or more of a Bluetooth communication module 203A and a WLAN communication module 203B. Possibly, the Bluetooth communication module 203A can be integrated with other communication modules (eg, the WLAN communication module 203B).
在一些实施例中,蓝牙通信模块203A、WLAN通信模块203B中的一项或多项可以监听 到其他设备(如电子设备100)发射的信号,如测量信号、扫描信号等等,并可以发送响应信号,如测量响应、扫描响应等,使得其他设备(如电子设备100)可以发现电子设备200,并通过蓝牙、WLAN中的一种或多种或其他近距离无线通信技术与其他设备(如电子设备100)建立无线通信连接,来进行数据传输。In some embodiments, one or more of the Bluetooth communication module 203A and the WLAN communication module 203B can listen to signals transmitted by other devices (such as the electronic device 100 ), such as measurement signals, scan signals, etc., and can send a response Signals, such as measurement responses, scan responses, etc., allow other devices (such as electronic device 100) to discover electronic device 200 and communicate with other devices (such as electronic The device 100) establishes a wireless communication connection for data transmission.
在另一些实施例中,蓝牙通信模块203A、WLAN通信模块203B中的一项或多项也可以发射信号,如广播探测信号、信标信号,使得其他设备(如电子设备100)可以发现电子设备200,并通过蓝牙、WLAN中的一种或多种或其他近距离无线通信技术与其他设备(如电子设备100)建立无线通信连接,来进行数据传输。In other embodiments, one or more of the Bluetooth communication module 203A and the WLAN communication module 203B may also transmit signals, such as broadcast probe signals, beacon signals, so that other devices (such as the electronic device 100 ) can discover the electronic device 200, and establishes a wireless communication connection with other devices (such as the electronic device 100) through one or more of Bluetooth, WLAN, or other short-range wireless communication technologies to perform data transmission.
天线204可用于发射和接收电磁波信号。不同通信模块的天线可以复用,也可以相互独立,以提高天线的利用率。例如:可以将蓝牙通信模块203A的天线复用为WLAN通信模块203B的天线。Antenna 204 may be used to transmit and receive electromagnetic wave signals. The antennas of different communication modules can be multiplexed or independent of each other to improve the utilization rate of the antennas. For example, the antenna of the Bluetooth communication module 203A can be multiplexed as the antenna of the WLAN communication module 203B.
显示屏205可用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏,有机发光二极管,有源矩阵有机发光二极体或主动矩阵有机发光二极体,柔性发光二极管,量子点发光二极管等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 205 may be used to display images, video, and the like. Display screen 194 includes a display panel. The display panel may adopt a liquid crystal display, organic light emitting diodes, active matrix organic light emitting diodes or active matrix organic light emitting diodes, flexible light emitting diodes, quantum dot light emitting diodes, and the like. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
在一些实施例中,电子设备200还可以包括触摸传感器,该触摸传感器可以设置与显示屏205,由触摸传感器与显示屏205组成触摸屏,也成“触控屏”。该触摸传感器可用于检测作用于其上或附近的触摸操作,该触摸操作是指用户手部、手肘、触控笔等接触显示屏205的操作,触摸传感器可以将检测到的触摸操作传递给处理器201,以确定触摸事件类型。可以通过显示屏205提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置与电子设备200的表面,与显示屏205所处的位置不同。In some embodiments, the electronic device 200 may further include a touch sensor, and the touch sensor may be arranged with the display screen 205, and the touch sensor and the display screen 205 form a touch screen, which is also referred to as a "touch screen". The touch sensor can be used to detect a touch operation acting on or near it. The touch operation refers to the operation of the user's hand, elbow, stylus, etc. touching the display screen 205. The touch sensor can transmit the detected touch operation to The processor 201 determines the touch event type. Visual output related to touch operations may be provided through display screen 205 . In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 200 at a different location than the display screen 205 .
电源管理模块206可用于控制电源向电子设备200的供电。The power management module 206 may be used to control the supply of power to the electronic device 200 by a power source.
音频模块207可用于通过音频输出接口输出音频信号,这样可使得电子设备200支持音频播放。音频模块207还可用于通过音频输入接口接收音频数据。当电子设备200的语音唤醒功能已开启的情况下,音频模块208可以实时采集周围环境声音,获取音频数据。音频模块还可以对音频模块接收的音频数据进行语音识别,得到语音指令,并执行该语音指令对应的操作。The audio module 207 can be used to output audio signals through the audio output interface, so that the electronic device 200 can support audio playback. The audio module 207 can also be used to receive audio data through the audio input interface. When the voice wake-up function of the electronic device 200 is enabled, the audio module 208 can 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, obtain a voice command, and execute an operation corresponding to the voice command.
毫米波雷达模块208可用于通过发射天线1发射电磁波,并通过至少一根接收天线(例如接收天线1,接收天线2和接收天线3)接收从遮挡物反射回来的电磁波(即回波信号)。毫米波雷达模块208通过发送和接收电磁波的参数对遮挡物进行测距、测速以及方位测量。其中,毫米波雷达模块208可以通过遮挡物的轮廓,同时对多个遮挡物进行测距、测速以及方位测量,也可以对遮挡物的距离、速度、方位中的一种或多种进行测量。毫米波雷达模块208可以通过发送和接收电磁波的时间差,测量遮挡物的距离。毫米波雷达模块208可以通过发送和接收电磁波的多普勒效应,测量遮挡物的速度。毫米波雷达芯片208可以通过两根或更多接收天线接收到同一遮挡物反射电磁波的相位差计算出遮挡物的方位角(包括水平角度和垂直角度)。其中,接收天线越多,毫米波雷达模块208对遮挡物的测量结果越精确。The millimeter wave radar module 208 can be used to transmit electromagnetic waves through the transmitting antenna 1, and receive electromagnetic waves (ie, echo signals) reflected from the obstruction through at least one receiving antenna (eg, receiving antenna 1, receiving antenna 2, and receiving antenna 3). The millimeter wave radar module 208 performs ranging, speed and azimuth measurements on the obstructions by transmitting and receiving parameters of electromagnetic waves. Among them, the millimeter wave radar module 208 can measure the distance, speed and azimuth of multiple occluders at the same time through the outline of the occluder, and can also measure one or more of the distance, speed and azimuth of the occluder. The millimeter wave radar module 208 can measure the distance of the obstruction by the time difference between sending and receiving electromagnetic waves. The millimeter wave radar module 208 can measure the speed of the obstruction by transmitting and receiving the Doppler effect of electromagnetic waves. The millimeter-wave radar chip 208 can calculate the azimuth angle (including the horizontal angle and the vertical angle) of the obstruction by receiving the phase difference of the electromagnetic waves reflected by the same obstruction received by two or more receiving antennas. Wherein, the more receiving antennas, the more accurate the measurement result of the occluder by the millimeter wave radar module 208 .
其中,毫米波雷达模块208通过发射天线1发射出电磁波的频段可以包括24GHz、60GHz、77GHz、120GHz等。其中,频段越高,毫米波雷达模块208对遮挡物的有效检测距离越远。毫米波雷达模块208具有一定的检测区域,当遮挡物位于检测区域内时,毫米波雷达模块208可以接收到遮挡物反射的毫米波信号,当遮挡物位于检测区域外时,毫米波雷达模块208无法接收到遮挡物反射的毫米波信号。因此,当遮挡物在毫米波雷达模块208可以在检测区域 内移动时,可以被毫米波雷达模块208识别。The frequency band of the electromagnetic wave emitted by the millimeter-wave radar module 208 through the transmitting antenna 1 may include 24 GHz, 60 GHz, 77 GHz, 120 GHz, and the like. Wherein, the higher the frequency band, the farther the effective detection distance of the millimeter wave radar module 208 to the obstruction is. The millimeter-wave radar module 208 has a certain detection area. When the obstruction is located in the detection area, the millimeter-wave radar module 208 can receive the millimeter-wave signal reflected by the obstruction. When the obstruction is located outside the detection area, the millimeter-wave radar module 208 The millimeter wave signal reflected by the obstruction cannot be received. Therefore, when the occluder can move within the detection area by the millimeter wave radar module 208, it can be recognized by the millimeter wave radar module 208.
在一种可能的实现方式中,毫米波雷达天线(包括发射天线和接收天线)可以与该毫米波雷达模块208封装在一个芯片中。In a possible implementation manner, the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be packaged with the millimeter-wave radar module 208 in one chip.
在一种可能的实现方式中,毫米波雷达天线(包括发射天线和接收天线)可以位于毫米波雷达模块208所在的芯片之外。其中,毫米波雷达模块208的天线(包括发射天线和接收天线),可以与毫米波雷达模块208在电子设备200上位于不同的位置。例如,毫米波雷达模块208的天线可以设置在电子设备200的显示屏边框上,毫米波雷达模块208所在的芯片可以处于片上系统(system on chip,SOC)、主板或显示屏的背面上。这样,在电子设备200上分开布置毫米波雷达模块208和毫米波雷达天线,可以节约毫米波雷达在电子设备200上占用面积,有利于实现显示屏的窄边框。In a possible implementation manner, the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be located outside the chip where the millimeter-wave radar module 208 is located. The antennas (including the transmitting antenna and the receiving antenna) of the millimeter-wave radar module 208 may be located at different positions on the electronic device 200 from the millimeter-wave radar module 208 . For example, the antenna of the millimeter-wave radar module 208 may be disposed on the frame of the display screen of the electronic device 200, and the chip on which the millimeter-wave radar module 208 is located may be located on a system on chip (SOC), a motherboard or the back of the display screen. In this way, arranging the millimeter-wave radar module 208 and the millimeter-wave radar antenna separately on the electronic device 200 can save the area occupied by the millimeter-wave radar on the electronic device 200, which is beneficial to realize a narrow frame of the display screen.
在一种可能的实现方式中,该毫米波雷达模块208所处的芯片可以与其他通信模块封装在一个芯片中。例如,该毫米波雷达模块208所在的芯片可以与上述蓝牙通信模块203A以及WLAN通信模块203B封装为同一个芯片。In a possible implementation manner, the chip where the millimeter wave radar module 208 is located may be packaged in one chip with other communication modules. For example, the chip on which the millimeter-wave radar module 208 is located may be packaged into the same chip as the above-mentioned Bluetooth communication module 203A and WLAN communication module 203B.
应该理解的是,图2所示电子设备200仅是一个范例,并且电子设备200可以具有比图2中所示的更多或更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。在一些实施例中,电子设备200可以包括上述图1中所示的电子设备100包括的硬件以及上述毫米波雷达模块208。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the electronic device 200 shown in FIG. 2 is only an example, and the electronic device 200 may have more or fewer components than those shown in FIG. 2 , two or more components may be combined, or Available in different parts configurations. In some embodiments, the electronic device 200 may include the hardware included in the electronic device 100 shown in FIG. 1 and the 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.
下面介绍本申请实施例中提供的一种数据分享系统。The following introduces a data sharing system provided in the embodiments of the present application.
图3示出了本申请实施例中提供的一种数据分享系统的架构示意图。FIG. 3 shows a schematic diagram of the architecture of a data sharing system provided in an embodiment of the present application.
如图3所示,该数据分享系统30包括电子设备100和电子设备200。其中,电子设备100可以为与电子设备200之间通过蓝牙通信和/或Wi-Fi通信,在其它实施例中,电子设备100可以为与电子设备200之间通过5G等移动技术通信。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 and/or Wi-Fi communication. In other embodiments, the electronic device 100 may communicate with the electronic device 200 through a mobile technology such as 5G.
其中,电子设备100可以是手机、可穿戴设备(例如,智能手环)、平板电脑、膝上型计算机(laptop)、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(Augmented reality,AR)\虚拟现实(virtual reality,VR)设备等便携设备。The electronic device 100 may be a mobile phone, a wearable device (eg, a smart bracelet), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC) , cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (Augmented reality, AR) \ virtual reality (virtual reality, VR) equipment and other portable devices.
电子设备200可以是手机、可穿戴设备(例如,智能手环)、平板电脑、膝上型计算机(laptop)、手持计算机、笔记本电脑、智能电视、智慧大屏、超级移动个人计算机(ultra-mobile personal computer,UMPC)、蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(Augmented reality,AR)\虚拟现实(virtual reality,VR)设备等便携设备。The electronic device 200 may be a mobile phone, a wearable device (eg, a smart bracelet), a tablet computer, a laptop computer (laptop), a handheld computer, a notebook computer, a smart TV, a smart large screen, an ultra-mobile personal computer (ultra-mobile) Personal computer, UMPC), cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (Augmented reality, AR) \ virtual reality (virtual reality, VR) devices and other portable devices.
其中,电子设备200上的毫米波雷达天线(包括发射天线和接收天线)基于设备类型不同,设置在不同的位置,以方便地发射毫米波信号和接收毫米波信号。例如,电子设备200为平板电脑、笔记本电脑、智能电视或智慧大屏时,电子设备200上的毫米波雷达天线可以设置在显示屏205的边框周围,且毫米波雷达天线与显示屏205设置在同一侧的表面,在一个具体的实施例中,毫米波雷达天线设置在平板电脑的上边缘。电子设备200为笔记本电脑时,电子设备200还设置有键盘和触摸板,电子设备200上的毫米波雷达天线还可以设置在键盘边框周围,也可以设置在触摸板周围或者触摸板内部,也可以设置在显示屏的边框周围。将毫米波雷达天线设置在上述位置,在电子设备200使用时,可以方便的检测到遮挡物的位置和/或遮挡物的移动,以准确地判断用户的意图。在一些实施例中,毫米波雷达天线可以设 置在电子设备200的壳体内,毫米波信号可以穿过壳体,以进行检测。Wherein, the millimeter-wave radar antennas (including the transmitting antenna and the receiving antenna) on the electronic device 200 are arranged at different positions based on different device types, so as to transmit and receive millimeter-wave signals conveniently. For example, when the electronic device 200 is a tablet computer, a notebook computer, a smart TV or a smart large screen, the millimeter-wave radar antenna on the electronic device 200 can be arranged around the frame of the display screen 205, and the millimeter-wave radar antenna and the display screen 205 can be arranged at On the same side of the surface, in a specific embodiment, the millimeter-wave radar antenna is disposed on the upper edge of the tablet. When the electronic device 200 is a notebook computer, the electronic device 200 is further provided with a keyboard and a touchpad, and the millimeter-wave radar antenna on the electronic device 200 can also be arranged around the keyboard frame, around the touchpad or inside the touchpad, or Set around the border of the display. By setting the millimeter wave radar antenna at the above-mentioned position, when the electronic device 200 is in use, the position of the obstruction and/or the movement of the obstruction can be easily detected, so as to accurately determine the user's intention. In some embodiments, the millimeter wave radar antenna may be disposed within the housing of the electronic device 200, and the millimeter wave signal may pass through the housing for detection.
在本申请实施例中,示例性的以电子设备100为手机,电子设备200为平板电脑进行说明。其中,电子设备200在本申请实施例中可以被称为第一电子设备,电子设备100在本申请实施例中可以被称为第二电子设备。In the embodiments of the present application, the electronic device 100 is exemplarily a mobile phone and the electronic device 200 is a tablet computer for description. The electronic device 200 may be referred to as a first electronic device in this embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in this embodiment of the present application.
下面介绍本申请实施例提供的一种数据分享场景。A data sharing scenario provided by an embodiment of the present application is described below.
图4示出了本申请实施例提供的一种数据分享场景。FIG. 4 shows a data sharing scenario provided by an embodiment of the present application.
如图4所示,电子设备200可以通过毫米波雷达模块,检测出遮挡物的移动动作(例如向左移动、向右移动、靠近电子设备200移动或远离电子设备200移动等),并获取已建立蓝牙连接的电子设备100的运动数据(包括陀螺仪传感器数据和加速度传感器数据)。当电子设备200基于电子设备100的运动数据确定出电子设备100的移动动作与遮挡物的移动动作一致时,电子设备200可以确定出该遮挡物为电子设备200。从而,电子设备200可以执行该移动方向对应的操作,例如,电子设备200将电子设备200上的文件数据发送给电子设备100,或者,电子设备200指示电子设备100发送文件数据给电子设备200。这样,用户只需在电子设备200的毫米波雷达检测区域内,对电子设备100完成特定移动操作即可完成电子设备100和电子设备200之间的文件数据(例如,图片数据、视频数据、音频数据、文档数据等等)传输,简化了在电子设备100与电子设备200之间分享数据的操作步骤。As shown in FIG. 4 , the electronic device 200 can detect the movement of the occluder (for example, move left, move right, move close to the electronic device 200 or move away from the electronic device 200 , etc.) through the millimeter wave radar module, and obtain the Motion data (including gyroscope sensor data and acceleration sensor data) of the electronic device 100 that establishes the Bluetooth connection. When the electronic device 200 determines based on the motion data of the electronic device 100 that the movement of the electronic device 100 is consistent with the movement of the blocking object, the electronic device 200 may determine that the blocking object is the electronic device 200 . Therefore, the electronic device 200 can perform the operation corresponding to the moving direction, for example, the electronic device 200 sends the file data on the electronic device 200 to the electronic device 100 , or the electronic device 200 instructs the electronic device 100 to send the file data to the electronic device 200 . In this way, the user only needs to perform a specific movement operation on the electronic device 100 within the millimeter-wave radar detection area of the electronic device 200 to complete the file data (for example, picture data, video data, audio data) between the electronic device 100 and the electronic device 200. data, document data, etc.) transmission, which simplifies the operation steps of sharing data between the electronic device 100 and the electronic device 200 .
在一种具体的实现方式中,为了提高意图识别的准确性,电子设备100在检测区域的部分区域内移动时,才触发文件传输,部分区域可以理解为触发文件传输的可靠区域。当电子设备100在检测区域的部分区域外移动时,不触发文件传输,以避免错误传输。例如,毫米波雷达模块的检测区域可以为一圆锥区域,检测区域的圆心为毫米波雷达天线所处的位置,检测区域的圆心角为θ,半径为r1。在一种可能的实现方式中,可靠区域可以为半径为r2、圆心角为θ的圆锥区域。在一种可能的实现方式中,可靠区域的圆心角可以小于检测区域的圆心角θ。在一种可能的实现方式中,可靠区域为与毫米波雷达天线平行的区域。In a specific implementation manner, in order to improve the accuracy of intent recognition, file transmission is triggered only when the electronic device 100 moves within a partial area of the detection area, and a partial area can be understood as a reliable area for triggering file transmission. When the electronic device 100 moves outside the partial area of the detection area, file transfer is not triggered to avoid erroneous transfer. For example, the detection area of the millimeter-wave radar module may be a conical area, the center of the detection area is the location of the millimeter-wave radar antenna, the center angle of the detection area is θ, and the radius is r1. In a possible implementation manner, the reliable area may be a conical area with a radius r2 and a central angle θ. In a possible implementation manner, the central angle of the reliable area may be smaller than the central angle θ of the detection area. In a possible implementation manner, the reliable area is an area parallel to the millimeter-wave radar antenna.
在以下实施例中,以向左挥动表示第一运动为例说明,以向右挥动表示第二运动为例说明,在其它实施例中,第一运动和第二运动还可以表示其它的方式进行移动。In the following embodiments, swiping to the left is used as an example to represent the first movement, and swiping to the right is used as an example to represent the second movement. In other embodiments, the first movement and the second movement can also be performed in other ways. move.
下面结合上述图4所示的数据分享场景,以分享图片数据为示例,介绍本申请实施例中提供的电子设备100与电子设备200之间的数据分享过程。其中,电子设备200在本申请实施例中可以被称为第一电子设备,电子设备100在本申请实施例中可以被称为第二电子设备。The following describes the data sharing process between the electronic device 100 and the electronic device 200 provided in the embodiments of the present application by taking the sharing of picture data as an example in conjunction with the data sharing scenario shown in FIG. 4 . The electronic device 200 may be referred to as a first electronic device in this embodiment of the present application, and the electronic device 100 may be referred to as a second electronic device in this embodiment of the present application.
在一些应用场景中,电子设备100可以显示包括有文件数据(例如图片数据)的浏览界面。在电子设备100显示该浏览界面时,电子设备100可以在电子设备200上毫米波雷达的检测区域内,接收到用户向左挥动的操作。电子设备200可以通过毫米波雷达检测遮挡物的移动方向,并通过蓝牙获取到电子设备100上的运动数据。电子设备200可以基于遮挡物的移动方向和电子设备100的运动数据,判断同一时间段内遮挡物的移动方向是否和电子设备100的移动方向一致。当同时间段内遮挡物的移动方向和电子设备100的移动方向一致时,电子设备200可以与电子设备100建立文件传输连接,并请求电子设备100将当前显示的界面上的文件数据发送给电子设备200。这样,可以简化在电子设备100与电子设备200之间分享数据的操作步骤。In some application scenarios, the electronic device 100 may display a browsing interface including file data (eg, picture data). When the electronic device 100 displays the browsing interface, the electronic device 100 may receive an operation of the user swiping to the left within the detection area of the millimeter-wave radar on the electronic device 200 . The electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth. The electronic device 200 can 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 can establish a file transmission connection with the electronic device 100, and request the electronic device 100 to send the file data on the currently displayed interface to the electronic device 100. device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
如图5A所示,电子设备100显示有主屏幕(home screen)的界面510,该界面510中显 示了一个放置有应用图标的页面,该页面包括多个应用图标(例如,天气应用图标、股票应用图标、计算器应用图标、设置应用图标、邮件应用图标、音乐应用图标、视频应用图标、浏览器应用图标、地图应用图标、图库应用图标511,等等)。可选的,多个应用图标下方还显示有页面指示符,以表明home screen上页面总数,以及当前显示的页面与其他页面的位置关系。例如,home screen的界面510可以包括三个页面,该页面指示符中为白点可以表示当前显示页面为三个页面中最右边的一个页面。进一步可选的,页面指示符的下方有多个托盘图标(例如拨号应用图标、信息应用图标、联系人应用图标、相机应用图标),托盘图标在页面切换时保持显示。As shown in FIG. 5A , the electronic device 100 displays an interface 510 of a home screen. The interface 510 displays a page on which application icons are placed, and the page includes a plurality of application icons (eg, weather application icons, stock application icon, calculator application icon, settings application icon, mail application icon, music application icon, video application icon, browser application icon, map application icon, gallery application icon 511, etc.). Optionally, a page indicator is also displayed below the multiple application icons to indicate the total number of pages on the home screen and the positional relationship between the currently displayed page and other pages. For example, the interface 510 of the home screen may include three pages, and a white dot in the page indicator may indicate that the currently displayed page is the rightmost page among the three pages. Further optionally, there are multiple tray icons (eg, dialer application icon, message application icon, contact application icon, camera application icon) below the page indicator, and the tray icon remains displayed when the page is switched.
电子设备100可以接收用户针对图库应用图标511的输入操作(例如单击),响应于该输入操作,电子设备100可以显示如图5B所示的图库应用界面520。The electronic device 100 may receive a user's input operation (eg, click) on the gallery application icon 511, and in response to the input operation, the electronic device 100 may display the gallery application interface 520 as shown in FIG. 5B .
如图5B所示,该图库应用界面520包括有一个或多张图片的缩略图(例如,缩略图521)。As shown in FIG. 5B , the gallery application interface 520 includes thumbnails (eg, thumbnails 521 ) of one or more pictures.
电子设备100可以接收用户作用于缩略图521的操作(例如单击),响应于该操作,电子设备100可以显示如图5C所示的图片展示界面530。The electronic device 100 may receive an operation (eg, a single click) of the user acting on the thumbnail 521, and in response to the operation, the electronic device 100 may display a picture presentation interface 530 as shown in FIG. 5C .
如图5C所示,该图片展示界面530的标题可以是“2020年9月20日”。该图片展示界面530中显示包括有图片536和菜单537。其中,该菜单537包括有分享控件531、收藏控件532、编辑控件533、删除控件534、更多控件535。分享控件531可用于触发打开文件分享界面,并逐步引导用户输入操作,完成对该图片536的分享。收藏控件532可用于触发收藏该图片536到图片收藏文件夹。编辑控件533可用于触发对图片536的旋转、修剪、增加滤镜、虚化等编辑功能。删除控件534可用于触发删除该图片536。更多控件535可用于触发打开更多与该图片536相关的功能。As shown in FIG. 5C , the title of the picture display interface 530 may be "September 20, 2020". The picture display interface 530 includes a picture 536 and a menu 537 displayed. The menu 537 includes a share control 531 , a favorite control 532 , an edit control 533 , a delete control 534 , and a more control 535 . The sharing control 531 can be used to trigger the opening of the file sharing interface, and guide the user to input operations step by step to complete the sharing of the picture 536 . Favorite control 532 can be used to trigger saving the picture 536 to the picture favorites folder. The editing control 533 can be used to trigger editing functions such as rotation, trimming, adding filters, and blurring to the picture 536 . A delete control 534 may be used to trigger deletion of the picture 536 . More controls 535 may be used to trigger opening of more functions related to this picture 536 .
在一些实施例中,上述菜单537为可选的。该菜单537可以在该图片展示界面530中隐藏,例如,用户单击图片536时,可以触发电子设备100隐藏该菜单537。当用户再次单击该菜单537时,可以触发电子设备100显示该菜单537。In some embodiments, the above-mentioned menu 537 is optional. The menu 537 may be hidden in the picture display interface 530. For example, when the user clicks the picture 536, the electronic device 100 may be triggered 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 .
电子设备100在显示上述图片展示界面530时,可以接收到用户向左挥动的操作。在用户向左挥动电子设备100的过程中,电子设备100可以记录下在用户挥动过程中的运动数据,其中,运动数据包括传感器数据和加速度数据。电子设备200可以通过毫米波雷达检测遮挡物的运动方向,并通过蓝牙获取已建立了蓝牙连接的电子设备100上的运动数据。电子设备200在获取到电子设备100的运动数据之后,可以基于电子设备100的运动数据,判断电子设备100的移动方向是否与遮挡物的运动方向一致,若是,则电子设备200可以与电子设备100交互文件连接参数(例如Wi-Fi连接参数),电子设备200可以与电子设备100建立文件传输连接,并请求电子设备100将电子设备100的显示屏上当前显示的文件数据(即上述图片536)发送给电子设备200。其中,该文件传输连接可以是Wi-Fi直连(例如,无线高保真点对点(wireless fidelity peer to peer,Wi-Fi P2P))、Wi-Fi softAP、超宽带(ultra-wideband,UWB)等通信技术连接。When the electronic device 100 displays the above-mentioned picture display interface 530, the user may receive an operation of swiping to the left. During the process of the user swiping the electronic device 100 to the left, the electronic device 100 may record motion data during the user's swiping process, where the motion data includes sensor data and acceleration data. The electronic device 200 can detect the movement direction of the obstruction through the millimeter-wave radar, and obtain the movement data on the electronic device 100 that has established a Bluetooth connection through Bluetooth. After the electronic device 200 obtains the motion data of the electronic device 100, it can determine whether the moving direction of the electronic device 100 is consistent with the moving direction of the obstruction based on the motion data of the electronic device 100, and if so, the electronic device 200 can communicate with the electronic device 100 After interacting with file connection parameters (for example, Wi-Fi connection parameters), the electronic device 200 can establish a file transfer connection with the electronic device 100 and request the electronic device 100 to transfer the file data currently displayed on the display screen of the electronic device 100 (that is, the above picture 536). sent to the electronic device 200 . The file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
如图5D所示,电子设备200在接收到电子设备100发送的图片数据后,可以显示出图片展示界面540。其中,该图片展示界面540可以包括有图片541。该图片541与上述图5C中电子设备100在图片展示界面530中显示的图片536相同。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 display interface 530 of the electronic device 100 in FIG. 5C.
在一种可能的实现方式中,在所述第一文件传输完成后,电子设备200与电子设备100之间的文件传输连接断开,电子设备200与电子设备100的蓝牙连接保持连接状态。电子设备200与电子设备100可以通过保持的蓝牙连接再次交互文件传输连接的参数(例如Wi-Fi连接参数),以再次建立文件传输连接,并再次传输文件。在文件传输完成后,断开文件传输 连接,可以节省功耗;而保持蓝牙连接,则能够在下一次传输的时候快速建立文件传输连接,提高传输速度。并且保持蓝牙连接的功耗较低。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 remains connected. The electronic device 200 and the electronic device 100 may exchange the parameters of the file transfer connection (eg, Wi-Fi connection parameters) again through the maintained Bluetooth connection, so as to establish the file transfer connection again, and transfer the file again. After the file transfer is completed, disconnecting the file transfer connection can save power consumption; while maintaining the Bluetooth connection can quickly establish a file transfer connection in the next transfer, improving the transfer speed. And keep the power consumption of bluetooth connection low.
在一些应用场景中,电子设备200可以显示包括有文件数据(例如图片数据)的浏览界面。在电子设备200显示该浏览界面时,电子设备100可以在电子设备200上毫米波雷达的检测区域内,接收到用户向右挥动的操作。电子设备200可以通过毫米波雷达检测遮挡物的移动方向,并通过蓝牙获取到电子设备100上的运动数据。电子设备200可以基于遮挡物的移动方向和电子设备100的运动数据,判断同一时间段内遮挡物的移动方向是否和电子设备100的移动方向一致。当同一时间段内遮挡物的移动方向和电子设备100的移动方向一致时,电子设备200可以与电子设备100建立文件传输连接,并将当前电子设备200上显示的界面上包括的文件数据发送给电子设备100。这样,可以简化在电子设备100与电子设备200之间分享数据的操作步骤。In some application scenarios, the electronic device 200 may display a browsing interface including file data (eg, picture data). When the electronic device 200 displays the browsing interface, the electronic device 100 may receive an operation of the user swiping right in the detection area of the millimeter-wave radar on the electronic device 200 . The electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth. The electronic device 200 can 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 can establish a file transmission connection with the electronic device 100, and send the file data included on the interface currently displayed on the electronic device 200 to the electronic device 200. 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.
如图6A所示,电子设备200显示有主屏幕(home screen)的界面610。该界面610显示包括有多个应用图标(例如,天气应用图标、股票应用图标、计算器应用图标、设置应用图标、邮件应用图标、音乐应用图标、视频应用图标、浏览器应用图标、地图应用图标、图库应用图标611,等等)。具体针对该界面610的文字说明,可以参考前述图5A中针对界面510的文字说明,在此不再赘述。As shown in FIG. 6A , the electronic device 200 displays an interface 610 of a home screen. The interface 610 display includes a plurality of application icons (eg, weather application icon, stock application icon, calculator application icon, settings application icon, mail application icon, music application icon, video application icon, browser application icon, map application icon , 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 will not be repeated here.
电子设备200可以接收用户针对图库应用图标611的输入操作(例如单击),响应于该输入操作,电子设备100可以显示如图6B所示的图库应用界面620。The electronic device 200 may receive a user's input operation (eg, click) on the gallery application icon 611, and in response to the input operation, the electronic device 100 may display the gallery application interface 620 as shown in FIG. 6B .
如图6B所示,该图库应用界面620包括有一个或多张图片的缩略图(例如,缩略图621)。As shown in FIG. 6B, the gallery application interface 620 includes thumbnails (eg, thumbnails 621) of one or more pictures.
电子设备200可以接收用户作用于缩略图621的操作(例如单击),响应于该操作,电子设备200可以显示如图6C所示的图片展示界面630。The electronic device 200 may receive an operation (eg, a click) of the user acting on the thumbnail 621, and in response to the operation, the electronic device 200 may display a picture presentation interface 630 as shown in FIG. 6C.
如图6C所示,该图片展示界面630的标题可以是“2020年9月22日”。该图片展示界面630中显示包括有图片636和菜单637。其中,该菜单637包括有分享控件631、收藏控件632、编辑控件633、删除控件634、更多控件635。针对该菜单637的文字说明,可以参考前述图5C中所示的菜单537,在此不再赘述。As shown in FIG. 6C , the title of the picture display interface 630 may be "September 22, 2020". The picture display interface 630 includes a picture 636 and a menu 637 displayed. The menu 637 includes a share control 631 , a favorite control 632 , an edit control 633 , a delete 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 will not be repeated here.
在一些实施例中,上述菜单537为可选的。该菜单537可以在该图片展示界面530中隐藏。In some embodiments, the above-mentioned menu 537 is optional. The menu 537 can be hidden in the picture display interface 530 .
如图6D所示,在电子设备200显示上述图片展示界面630时,电子设备100可以显示主屏幕的界面640。其中,具体针对该界面640的文字说明,可以参考前述图5A中针对界面510的文字说明,在此不再赘述。As shown in FIG. 6D , when the electronic device 200 displays the above-mentioned picture display interface 630 , the electronic device 100 may display the interface 640 of the home screen. Specifically, for the text description of the interface 640, reference may be made to the text description of the interface 510 in the aforementioned FIG. 5A, and details are not repeated here.
电子设备100接收到用户向右挥动的操作,在用户向左挥动电子设备100的过程中,电子设备100可以记录下在用户挥动过程中的运动数据,其中,运动数据包括传感器数据和加速度数据。电子设备200可以通过毫米波雷达检测遮挡物的运动方向,并通过蓝牙获取已建立了蓝牙连接的电子设备100上的运动数据。电子设备200在获取到电子设备100的运动数据之后,可以基于电子设备100的运动数据,判断电子设备100的移动方向是否与遮挡物的运动方向一致,若是,则电子设备200可以与电子设备100建立文件传输连接,并将电子设备200上显示的文件数据(即上述图片636)发送给电子设备100。其中,该文件传输连接可以是Wi-Fi直连(例如,Wi-Fi P2P)、Wi-Fi softAP、UWB等通信技术连接。The electronic device 100 receives the operation of the user swiping to the right. During the process of the user swiping the electronic device 100 to the left, the electronic device 100 may record motion data during the user's swiping, wherein the motion data includes sensor data and acceleration data. The electronic device 200 can detect the movement direction of the obstruction through the millimeter-wave radar, and obtain the movement data on the electronic device 100 that has established a Bluetooth connection through Bluetooth. After acquiring the motion data of the electronic device 100, the electronic device 200 can determine whether the moving direction of the electronic device 100 is consistent with the moving direction of the obstruction based on the motion data of the electronic device 100. A file transfer connection is established, and the file data displayed on the electronic device 200 (ie, the above-mentioned picture 636 ) is sent to the electronic device 100 . The file transfer connection may be a Wi-Fi direct connection (for example, Wi-Fi P2P), Wi-Fi softAP, UWB and other communication technology connections.
如图6E所示,电子设备100在接收到电子设备200发送的图片数据后,可以显示出图片展示界面650。其中,该图片展示界面640可以包括有图片651。该图片651与上述图6C中 电子设备200在图片展示界面630中显示的图片636相同。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 display interface 630 of the electronic device 200 in FIG. 6C.
下面介绍本申请实施例中提供的一种电子设备200的硬件系统。The following introduces a hardware system of the electronic device 200 provided in the embodiments of the present application.
图7示出了本申请实施例提供的一种电子设备200的硬件系统。该电子设备200的硬件系统可以包括但不限于处理器701、毫米波雷达模块702、电源模块703、晶振模块704、一根发射天线(发射天线705)和三根接收天线(接收天线706、接收天线707、接收天线708)。FIG. 7 shows a hardware system of an electronic device 200 provided by an embodiment of the present application. The hardware system of the electronic device 200 may include, but is not limited to, a processor 701, a millimeter wave radar module 702, a power supply module 703, a crystal oscillator module 704, one transmitting antenna (transmitting antenna 705) and three receiving antennas (receiving antenna 706, receiving antenna 707. A receiving antenna 708).
其中,该毫米波雷达模块702可用于通过发射天线705发射电磁波(即毫米波),并通过至少一根接收天线(例如,接收天线706,接收天线707和接收天线708)接收从遮挡物反射回来的电磁波(即回波信号)。毫米波雷达模块702通过发送和接收电磁波的参数对遮挡物进行测距、测速以及方位测量。其中,毫米波雷达模块702可以对多个遮挡物进行测距、测速以及方位测量。毫米波雷达模块702可以通过发送和接收电磁波的时间差,测量遮挡物的距离。毫米波雷达模块702可以通过发送和接收电磁波的多普勒效应,测量遮挡物的速度。当毫米波雷达模块702配置有至少三根接收天线时,毫米波雷达模块702可以通过至少三根接收天线接收到同一遮挡物反射电磁波的相位差计算出遮挡物的方位角(包括水平角度和垂直角度)。Wherein, the millimeter wave radar module 702 can be used to transmit electromagnetic waves (ie, millimeter waves) through the transmitting antenna 705, and receive reflections from the obstruction through at least one receiving antenna (for example, the receiving antenna 706, the receiving antenna 707 and the receiving antenna 708). The electromagnetic wave (ie echo signal). The millimeter-wave radar module 702 performs ranging, speed and azimuth measurements on the obstructions by sending and receiving parameters of electromagnetic waves. Among them, the millimeter wave radar module 702 can perform ranging, speed and azimuth measurement on multiple obstructions. The millimeter wave radar module 702 can measure the distance of the obstruction by the time difference between sending and receiving electromagnetic waves. The millimeter wave radar module 702 can measure the speed of the obstruction by transmitting and receiving the Doppler effect of electromagnetic waves. When the millimeter-wave radar module 702 is configured with at least three receiving antennas, the millimeter-wave radar module 702 can calculate the azimuth angle (including the horizontal angle and the vertical angle) of the obstruction by receiving the phase difference of the reflected electromagnetic waves from the same obstruction received by the at least three receiving antennas. .
该毫米波雷达模块702在测量得到遮挡物的毫米波数据(包括遮挡物的距离、移动速度和方位角)后,可以将遮挡物的毫米波数据发送给处理器701。The millimeter-wave radar module 702 can send the millimeter-wave data of the occluder to the processor 701 after measuring and obtaining the millimeter-wave data of the occluder (including the distance, moving speed and azimuth of the occluder).
该处理器701可以是中央处理单元(CPU)或者应用处理器(AP)。当处理器701基于遮挡物的毫米波数据,确定出遮挡物的移动动作类型为指定类型(例如,向电子设备200的左方向移动或向电子设备200的右方向移动)时,处理器701可以通过蓝牙芯片709获取与电子设备200已建立蓝牙连接的电子设备100上的运动数据(包括陀螺仪传感器数据和加速度传感器数据)。当处理器701基于电子设备100的运动数据以及遮挡物的毫米波数据,确定出遮挡物的移动动作类型与电子设备100的移动动作类型一致时,该处理器701可以指示WLAN芯片710与电子设备100建立Wi-Fi直连(例如,无线高保真点对点(wireless fidelity peer to peer,Wi-Fi P2P))、Wi-Fi softAP等通信技术连接。The processor 701 may be a central processing unit (CPU) or an application processor (AP). When the processor 701 determines, based on the millimeter wave data of the occluder, that the movement action type of the occluder is a specified type (for example, moving to the left of the electronic device 200 or moving to the right of the electronic device 200 ), the processor 701 may Motion data (including gyroscope sensor data and acceleration sensor data) on the electronic device 100 that has established a Bluetooth connection with the electronic device 200 is acquired through the Bluetooth chip 709 . When the processor 701 determines, based on the motion data of the electronic device 100 and the millimeter-wave data of the obstructing object, that the movement type of the obstruction is consistent with the movement type of the electronic device 100, the processor 701 may instruct the WLAN chip 710 to communicate with the electronic device 100 Establish a Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP and other communication technology connections.
WLAN芯片710可用于将电子设备200的显示屏上当前显示界面包括的文件数据发送给电子设备100。The WLAN chip 710 may be used to send the file data included in the current display interface on the display screen of the electronic device 200 to the electronic device 100 .
在一些实施例中,WLAN芯片710可以接收电子设备100发送的电子设备100的显示屏上当前显示界面包括的文件数据。WLAN芯片710可以将电子设备100的文件数据传输给处理器701。处理器701可以指示电子设备200的显示屏(图7中未示出)显示电子设备100的文件数据。In some embodiments, the WLAN chip 710 may receive the file data included in the current display interface on the display screen of the electronic device 100 and sent by the electronic device 100 . The WLAN chip 710 can 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 .
在一些实施例中,该电子设备200的硬件系统还可以包括UWB芯片(图7中未示出)以及与UWB芯片UWB天线(图7中未示出)。当电子设备200的处理器701基于电子设备100的运动数据以及遮挡物的毫米波数据,确定出遮挡物的移动动作类型与电子设备100的移动动作类型一致时,该处理器701可以指示UWB芯片与电子设备100建立UWB连接。UWB芯片可以将电子设备200的显示屏上当前显示界面包括的文件数据发送给电子设备100。或者,UWB芯片可以接收电子设备100发送的电子设备100的显示屏上当前显示界面包括的文件数据。UWB芯片可以将电子设备100的文件数据传输给处理器701。处理器701可以指示电子设备200的显示屏(图7中未示出)显示电子设备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 ) associated with the UWB chip. When the processor 701 of the electronic device 200 determines, based on the motion data of the electronic device 100 and the millimeter-wave data of the obstructing object, that the movement type of the obstruction is consistent with the movement type of the electronic device 100, the processor 701 can instruct the UWB chip A UWB connection is established with the electronic device 100 . The UWB chip can send the file data included in the current display interface on the display screen of the electronic device 200 to the electronic device 100 . Alternatively, the UWB chip may receive the file data included in the current display interface on the display screen of the electronic device 100 and sent by the electronic device 100 . The UWB chip can 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 .
电源模块703可用于对毫米波雷达模块702供电。The power module 703 can be used to supply power to the millimeter wave radar module 702 .
晶振模块704可用于为毫米波雷达模块702提供时钟信号。毫米波雷达模块702可以基 于时钟信号,按照指定周期(例如,每隔10ms)通过发射天线发射毫米波信号。The crystal oscillator module 704 can be used to provide a clock signal for the millimeter wave radar module 702 . The millimeter wave radar module 702 may transmit the millimeter wave signal through the transmit antenna at a specified period (e.g., every 10 ms) based on the clock signal.
在一些实施例中,在电子设备200工作时,毫米波雷达模块702处于一直工作的状态。毫米波雷达模块702在未检测到遮挡物时,可以处于空闲(Idle)态,在空闲态(即第一状态)下,毫米波雷达模块702可以以第一周期(例如,每隔100ms)通过发射天线发射毫米波信号。当毫米波雷达模块702检测到遮挡物时,毫米波雷达模块702可以切换至活跃(Active)态,在活跃态(即第二状态)下,毫米波雷达模块702可以以第二周期(例如,每隔10ms)通过发射天线发射毫米波信号。其中,第一周期大于第二周期,即与空闲态相比,活跃态下毫米波信号的占空比更高。这样,可以在没有遮挡物时,节省毫米波雷达的功耗,在有遮挡物时,提高毫米波雷达检测遮挡物的精度。In some embodiments, when the electronic device 200 is working, the millimeter-wave radar module 702 is always working. The millimeter-wave radar module 702 may be in an idle (Idle) state when no obstruction is detected. In the idle state (ie, the first state), the millimeter-wave radar module 702 may pass through the first cycle (eg, every 100ms). The transmit antenna transmits millimeter wave signals. When the millimeter-wave radar module 702 detects an obstruction, the millimeter-wave radar module 702 can switch to an active (Active) state, and in the active state (ie, the second state), the millimeter-wave radar module 702 can operate in a second period (eg, Every 10ms) transmit millimeter wave signal through the transmitting antenna. The first period is greater than the second period, that is, the duty cycle of the millimeter wave signal in the active state is higher than that in the idle state. In this way, the power consumption of the millimeter-wave radar can be saved when there is no obstruction, and when there is an obstruction, the accuracy of the detection of the obstruction by the millimeter-wave radar can be improved.
在一些具体的实施例中,可以通过处理器701控制毫米波雷达模块702的状态。例如,当遮挡物(例如电子设备100)在电子设备200前时,毫米波雷达模块702通过接收天线收到从遮挡物返回的毫米波信号,毫米波雷达模块702将返回的毫米波信号发送给处理器701,处理器701判断毫米波雷达模块702检测到遮挡物,处理器701向毫米波雷达模块702发送第一控制指令。毫米波雷达模块702收到第一控制指令后,毫米波雷达模块702调整毫米波信号以第二周期发射。In some specific embodiments, the state of the millimeter wave radar module 702 can be controlled by the processor 701 . For example, when an obstruction (such as the electronic device 100 ) is in front of the electronic device 200 , the millimeter-wave radar module 702 receives the millimeter-wave signal returned from the obstruction through the receiving antenna, and the millimeter-wave radar module 702 sends the returned millimeter-wave signal to the The processor 701 , the processor 701 determines that the millimeter wave radar module 702 detects an obstruction, and the processor 701 sends a first control instruction to the millimeter wave radar module 702 . After the millimeter-wave radar module 702 receives the first control instruction, the millimeter-wave radar module 702 adjusts the millimeter-wave signal to transmit in the second cycle.
在一些具体的实施例中,毫米波雷达模块702包括控制器和信号收发器,控制器可以是MCU等控制器件,信号收发器用于发射和接收毫米波信号。当遮挡物(例如电子设备100)在电子设备200前时,信号收发器通过接收天线收到从遮挡物返回的毫米波信号,信号收发器将返回的毫米波信号发送给控制器,控制器判断毫米波雷达模块702检测到遮挡物,控制器向信号收发器发送第二控制指令。信号收发器收到第二控制指令后,信号收发器调整毫米波信号以第二周期发射。In some specific embodiments, the millimeter wave radar module 702 includes a controller and a signal transceiver, the controller may be a control device such as an MCU, and the signal transceiver is used for transmitting and receiving millimeter wave signals. When the obstruction (eg, the electronic device 100 ) is in front of the electronic device 200 , the signal transceiver receives the millimeter wave signal returned from the obstruction through the receiving antenna, and the signal transceiver sends the returned millimeter wave signal to the controller, and the controller judges The millimeter wave radar module 702 detects an obstruction, and the controller sends a second control instruction to the signal transceiver. After the signal transceiver receives the second control instruction, the signal transceiver adjusts the millimeter wave signal to transmit at the second cycle.
其中,毫米波雷达模块702通过发射天线1发射出电磁波的频段可以包括24GHz、60GHz、77GHz、120GHz等。其中,频段越高,毫米波雷达模块702对遮挡物的有效检测距离越远。The frequency band of the electromagnetic wave emitted by the millimeter-wave radar module 702 through the transmitting antenna 1 may include 24 GHz, 60 GHz, 77 GHz, 120 GHz, and the like. Wherein, the higher the frequency band, the longer the effective detection distance of the millimeter wave radar module 702 to the obstruction.
在一种可能的实现方式中,毫米波雷达天线(包括发射天线和接收天线)可以与该毫米波雷达模块702封装在一个芯片中。In a possible implementation manner, the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be packaged with the millimeter-wave radar module 702 in one chip.
在一种可能的实现方式中,毫米波雷达天线(包括发射天线和接收天线)可以位于毫米波雷达模块702所在的芯片之外。其中,毫米波雷达模块702的天线(包括发射天线和接收天线),可以与毫米波雷达模块702在电子设备200上位于不同的位置。例如,毫米波雷达模块702的天线可以设置在电子设备200的显示屏边框上,毫米波雷达模块702所在的芯片可以处于片上系统(system on chip,SOC)上。这样,在电子设备200上分开布置毫米波雷达模块702和毫米波雷达天线,可以节约毫米波雷达在电子设备200上占用面积。In a possible implementation manner, the millimeter-wave radar antenna (including the transmitting antenna and the receiving antenna) may be located outside the chip where the millimeter-wave radar module 702 is located. The antennas (including the transmitting antenna and the receiving antenna) of the millimeter-wave radar module 702 may be located at different positions on the electronic device 200 from the millimeter-wave radar module 702 . For example, the antenna of the millimeter-wave radar module 702 may be disposed on the frame of the display screen of the electronic device 200, and the chip where the millimeter-wave radar module 702 is located may be on a system on chip (SOC). In this way, by disposing the millimeter-wave radar module 702 and the millimeter-wave radar antenna separately on the electronic device 200 , the area occupied by the millimeter-wave radar on the electronic device 200 can be saved.
在一种可能的实现方式中,该毫米波雷达模块702所处的芯片可以与其他通信模块封装在一个芯片中。例如,该毫米波雷达模块702所在的芯片可以与上述蓝牙芯片709以及WLAN芯片710封装为同一个芯片。In a possible implementation manner, the chip where the 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 into the same chip as the aforementioned Bluetooth chip 709 and the WLAN chip 710 .
下面基于上述图7所示的电子设备200的硬件系统,介绍毫米波雷达的软件驱动初始化过程。Based on the above-mentioned hardware system of the electronic device 200 shown in FIG. 7 , the software-driven initialization process of the millimeter-wave radar is described below.
图8示出了本申请实施例中提供的毫米波雷达的软件驱动初始化过程。FIG. 8 shows the software-driven initialization process of the millimeter-wave radar provided in the embodiment of the present application.
如图8所示,该软件驱动初始化过程包括如下步骤:As shown in Figure 8, the software driver initialization process includes the following steps:
S801、毫米波雷达驱动读取并解析上层下发的命令。S801, the millimeter wave radar driver reads and parses the commands issued by the upper layer.
S802、毫米波雷达驱动配置毫米波雷达模块所在芯片的引脚功能,包括配置输入功能的引脚、输出功能的引脚、中断功能的引脚、复用功能的引脚。S802, the millimeter-wave radar driver configures the pin functions of the chip where the millimeter-wave radar module is located, including the pins for configuring the input function, the pins for the output function, the pins for the interrupt function, and the pins for the multiplexing function.
S803、毫米波雷达驱动可以进行中断注册。S803, millimeter wave radar driver can perform interrupt registration.
S804、毫米波雷达驱动为毫米波雷达模块所在芯片配置数据。S804, the millimeter-wave radar driver is the configuration data of the chip where the millimeter-wave radar module is located.
S805、毫米波雷达驱动可以通过数据接口对毫米波雷达模块所在芯片进行探测,使得毫米波雷达模块所在芯片读取处理器数据。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 processor data.
下面基于上述图7所示的电子设备200的硬件系统,介绍毫米波雷达的数据获取流程。Based on the hardware system of the electronic device 200 shown in FIG. 7 , the data acquisition process of the millimeter-wave radar is described below.
图9示出了本申请实施例中提供的毫米波雷达模块的数据获取流程。FIG. 9 shows the data acquisition process of the millimeter wave radar module provided in the embodiment of the present application.
如图9所示,毫米波雷达的数据获取流程可以包括如下步骤:As shown in Figure 9, the data acquisition process of the millimeter-wave radar may include the following steps:
S901、HAL层下发获取数据命令。S901, the HAL layer issues a data acquisition command.
S902、处理器的数据缓冲区无数据,电子设备200的处理器的线程进入等待队列。S902 , the data buffer of the processor has no data, and the thread of the processor of the electronic device 200 enters a waiting queue.
S903、毫米波雷达模块所在芯片先入先出(first in first out,FIFO)缓存区到达预设值时,触发中断。S903. When the first in first out (FIFO) buffer area of the chip where the millimeter wave radar module is located reaches the preset value, an interrupt is triggered.
S904、处理器从毫米波雷达模块所在芯片的FIFO缓存区读取数据进入数据缓冲区,唤醒等待的线程。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、处理器等待线程变为运行态时,读取数据缓冲区中的数据,交由HAL层及应用层等上层处理。S905 , when the processor waits for the thread to change to the running state, it reads the data in the data buffer, and hands it over to upper layers such as the HAL layer and the application layer for processing.
下面介绍本申请实施例中提供的一种数据分享系统的软件架构。The software architecture of a data sharing system provided in the embodiments of the present application is described below.
图10示出了本申请实施例中提供的数据分享系统的软件架构示意图。FIG. 10 shows a schematic diagram of the software architecture of the data sharing system provided in the embodiment of the present application.
如图10所示,数据分享系统包括电子设备100和电子设备200。电子设备100和电子设备200的软件系统都可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构为例,示例性的说明电子设备100和电子设备200的软件结构。As shown in FIG. 10 , the data sharing system includes an electronic device 100 and an electronic device 200 . The software systems of both the electronic device 100 and the electronic device 200 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take a layered architecture as an example to exemplarily describe the software structures of the electronic device 100 and the electronic device 200 .
其中,电子设备100和电子设备200都包括应用层、应用程序框架层、硬件抽象层、内核层。The electronic device 100 and the electronic device 200 both include an application layer, an application framework layer, a hardware abstraction layer, and a kernel layer.
应用层可以包括一系列应用程序包,例如,数据分享应用、蓝牙应用、WLAN应用、相机应用、图库应用、通话应用、音乐应用、视频应用等应用程序。The application layer may include a series of application packages, such as data sharing application, Bluetooth application, WLAN application, camera application, gallery application, calling application, music application, video application and other applications.
应用程序框架层为应用层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions.
硬件抽象层(hardware abstract layer,HAL)运行在用户空间中,它向下屏蔽硬件驱动模块的实现细节,向上提供硬件访问服务。The 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 the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
在本申请实施例中,电子设备100的应用程序层可以包括多个应用程序(例如,数据分享应用1011、蓝牙应用、WLAN应用,相机、图库、通话、音乐、视频等等应用程序)。电子设备100的应用程序框架层可以包括蓝牙服务1012、传感器服务1013、WLAN服务(图10中未示出)等等。电子设备100的内核层可以包括蓝牙芯片驱动1014、加速度传感器驱动1015、陀螺仪传感器驱动1016、WLAN芯片驱动1017,显示驱动(图10中未示出)、音频驱动(图10中未示出)等等。In this embodiment of the present application, the application layer of the electronic device 100 may include multiple applications (eg, data sharing application 1011, Bluetooth application, WLAN application, camera, gallery, call, music, video, etc. applications). The application framework layer of the electronic device 100 may include a Bluetooth service 1012, a sensor service 1013, a WLAN service (not shown in FIG. 10), and the like. The kernel 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), and an audio driver (not shown in FIG. 10) and many more.
电子设备200的应用程序层可以包括多个应用程序(例如,数据分享应用1021、蓝牙应 用)WLAN应用、相机应用、图库应用、通话应用、音乐应用、视频应用等等应用程序)。电子设备200的应用程序框架层可以包括动作识别模块1023、蓝牙服务1024、WLAN服务(图10中未示出)等等。电子设备200的内核层可以包括毫米波雷达模块驱动1024、蓝牙芯片驱动1025、WLAN芯片驱动1026,显示驱动(图10中未示出)、音频驱动(图10中未示出)等等。The application layer of the electronic device 200 may include multiple applications (e.g., data sharing application 1021, Bluetooth application, WLAN application, camera application, gallery application, calling application, music application, video application, etc.). The application framework layer of the electronic device 200 may include an action recognition module 1023, a Bluetooth service 1024, a WLAN service (not shown in FIG. 10), and the like. The kernel layer of the electronic device 200 may include a millimeter wave radar module driver 1024, a Bluetooth chip driver 1025, a WLAN chip driver 1026, a display driver (not shown in FIG. 10), an audio driver (not shown in FIG. 10), and the like.
下面结合上述图5A-图5D,或图6A-图6E所示实施例中的数据分享场景,示例性的说明上述数据分享系统的软件以及硬件的工作流程。5A-5D, or the data sharing scenarios in the embodiments shown in FIGS. 6A-6E, the software and hardware workflows of the above data sharing system are exemplarily described below.
电子设备200上的HAL层下发毫米波数据获取指令给电子设备200的毫米波雷达驱动1024。毫米波雷达驱动1024在毫米波数据获取指令后,可以指示毫米波雷达模块702(即图中的毫米波雷达芯片)发射毫米波信号。其中,毫米波雷达模块702可以以一定的周期通过发射天线705发射毫米波信号,并通过至少三根接收天线(包括接收天线706、接收天线707和接收天线708)接收到经遮挡物反射的毫米波回波。毫米波雷达模块702在接收到毫米波回波后,可以基于毫米波回波分析得到毫米波数据(包括遮挡物的距离、移动速度和方位角)。毫米波雷达片驱动1024可以从毫米波雷达模块702获取到毫米波数据,并将毫米波数据经HAL层上报给动作识别模块1023。The HAL layer on the electronic device 200 issues a millimeter-wave data acquisition instruction to the millimeter-wave radar driver 1024 of the electronic device 200 . After the millimeter-wave radar driver 1024 obtains the millimeter-wave data, it can instruct the millimeter-wave radar module 702 (ie, the millimeter-wave radar chip in the figure) to transmit a millimeter-wave signal. The millimeter-wave radar module 702 can transmit millimeter-wave signals through the transmitting antenna 705 at a certain period, and receive the millimeter-wave signals reflected by the obstruction through at least three receiving antennas (including the receiving antenna 706 , the receiving antenna 707 and the receiving antenna 708 ). echo. After receiving the millimeter-wave echoes, the millimeter-wave radar module 702 can obtain millimeter-wave data (including the distance, moving speed, and azimuth angle of obstacles) based on the analysis of the millimeter-wave echoes. The millimeter-wave radar chip driver 1024 can obtain the millimeter-wave data from the millimeter-wave radar module 702 and report the millimeter-wave data to the action recognition module 1023 via the HAL layer.
动作识别模块1023可用于基于毫米波数据,识别出遮挡物的移动动作类型,当遮挡物的移动动作类型为指定移动动作类型(例如向左滑动或向右滑动)时,动作识别模块1023可以调用蓝牙服务1022,获取已建立蓝牙连接的设备(例如电子设备100)的运动数据(包括陀螺仪传感器数据和加速度传感器数据)。The action recognition module 1023 can be used to identify the movement action type of the occluder based on the millimeter wave data. When the movement action type of the occluder is a specified movement action type (for example, slide left or slide right), the action recognition module 1023 can call The Bluetooth service 1022 obtains motion data (including gyroscope sensor data and acceleration sensor data) of a device (eg, the electronic device 100 ) that has established a Bluetooth connection.
蓝牙服务1022可以指示蓝牙芯片驱动1025控制蓝牙芯片709发送运动数据获取指令给电子设备100。The Bluetooth service 1022 may instruct the Bluetooth chip driver 1025 to control the Bluetooth chip 709 to send a motion data acquisition instruction to the electronic device 100 .
电子设备100上的蓝牙芯片驱动1014在通过获取到运动数据的获取指令后,可以将运动数据的获取指令经HAL层上报给蓝牙服务1012。After the Bluetooth chip driver 1014 on the electronic device 100 obtains the motion data acquisition instruction, it can report the motion data acquisition instruction to the Bluetooth service 1012 via the HAL layer.
蓝牙服务1012可以将运动数据的获取指令呈递给传感器服务1013。其中,运动数据的获取指令中包括有运动数据的获取时间段,该获取时间段内,电子设备200识别出遮挡物的移动动作类型。传感器服务1013可以实时通过加速度传感器驱动1015从加速度传感器获取加速度传感器数据,通过陀螺仪传感器驱动1016从陀螺仪传感器获取陀螺仪传感器数据,并保存加速度传感器数据和陀螺仪传感器数据。传感器服务1013在接收到运动数据的获取指令后,可以调用蓝牙服务1012将获取时间段内电子设备100的运动数据(包括陀螺仪传感器数和加速度传感器数据),经过蓝牙芯片驱动1014,指示蓝牙芯片发送给电子设备200的蓝牙芯片709。The Bluetooth service 1012 may submit the acquisition instructions of the motion data to the sensor service 1013 . Wherein, the acquisition instruction of the motion data includes an acquisition time period of the motion data, and within the acquisition time period, the electronic device 200 recognizes the movement action type of the occluder. The sensor service 1013 can obtain acceleration sensor data from the acceleration sensor through the acceleration sensor driver 1015 in real time, obtain the gyroscope sensor data from the gyroscope sensor through the gyroscope sensor driver 1016, and save the acceleration sensor data and the gyroscope sensor data. After receiving the motion data acquisition instruction, the sensor service 1013 can call the Bluetooth service 1012 to acquire the motion data (including the number of gyroscope sensors and acceleration sensor data) of the electronic device 100 within the time period, and through the Bluetooth chip driver 1014, instruct the Bluetooth chip Sent to the Bluetooth chip 709 of the electronic device 200 .
电子设备200的蓝牙芯片709在接收到电子设备100的运动数据后,可以通过蓝牙芯片驱动1025上报给蓝牙服务1022。蓝牙服务1022将电子设备100的运动数据以及电子设备100的设备标识呈递给动作识别模块1023。动作识别模块1023可以基于电子设备100的运动数据判断电子设备100的移动动作类型是否与遮挡物的移动动作类型相同。当电子设备100的移动动作类型与遮挡物的移动动作类型相同时,动作识别模块1023可以将电子设备100的移动动作类型、以及电子设备100的设备标识呈递给数据分享应用1021。After receiving the motion data of the electronic device 100, the Bluetooth chip 709 of the electronic device 200 can report it 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, based on the motion data of the electronic device 100, whether the movement type of the electronic device 100 is the same as the movement type of the blocking object. When the movement action type of the electronic device 100 is the same as the movement action type of the blocking object, the action recognition module 1023 may submit the movement action type of the electronic device 100 and the device identification of the electronic device 100 to the data sharing application 1021 .
数据分享应用1021在接收到电子设备100的移动动作类型、以及电子设备100的设备标识后,可以与电子设备100建立文件传输连接。其中,该文件传输连接可以是Wi-Fi直连(例如,Wi-Fi P2P)、Wi-Fi softAP、UWB等通信技术连接。After receiving the movement action type of the electronic device 100 and the device identification of the electronic device 100 , the data sharing application 1021 can establish a file transfer connection with the electronic device 100 . The file transfer connection may be a Wi-Fi direct connection (for example, Wi-Fi P2P), Wi-Fi softAP, UWB and other communication technology connections.
当电子设备100的移动动作类型为第一类型(例如左移动)时,数据分享应用1021可 以调用蓝牙服务1022或者WLAN服务(图10中未示出)或UWB服务(图10中未示出),向电子设备100发送文件数据获取请求,该文件数据获取请求用于请求电子设备100将当前显示的界面中包括的文件数据,发送给电子设备200。When the movement action type of the electronic device 100 is the first type (for example, move left), the data sharing application 1021 may call the Bluetooth service 1022 or the WLAN service (not shown in FIG. 10 ) or the UWB service (not shown in FIG. 10 ) , sending a file data acquisition request to the electronic device 100, where the file data acquisition request is used to request the electronic device 100 to send the file data included in the currently displayed interface to the electronic device 200.
当电子设备100的移动动作类型为第二类型(例如右移动)时,数据分享应用1021可以识别电子设备200当前显示的界面中是否包括有文件数据,若包括,则数据分享应用1021可以将该文件数据通过文件传输连接发送给电子设备200。When the movement action type of the electronic device 100 is the second type (for example, move right), the data sharing application 1021 can identify whether the interface currently displayed by the electronic device 200 includes file data, and if so, the data sharing application 1021 can The file data is sent to the electronic device 200 through the file transfer connection.
下面介绍本申请实施例中提供的一种数据分享方法的流程。The following introduces the flow of a data sharing method provided in the embodiments of the present application.
图11示出了本申请实施例提供的一种数据分享方法的流程示意图。FIG. 11 shows a schematic flowchart of a data sharing method provided by an embodiment of the present application.
如图11所示,该数据分享方法可以包括如下步骤:As shown in Figure 11, the data sharing method may include the following steps:
S1101、电子设备100与电子设备100建立蓝牙连接。S1101 , the electronic device 100 establishes a Bluetooth connection with the electronic device 100 .
S1102、电子设备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 a picture, a video, an audio, a document, a table, a folder, a compressed package, and the like.
示例性的,第一界面可以是上述图5C所示的图片展示界面530,第一文件可以是上述图片展示界面530中包括的图片536。具体内容可以参考前述图5C所示实施例,在此不再赘述。Exemplarily, the first interface may be the picture display interface 530 shown in FIG. 5C , and the first file may be the picture 536 included in the picture display interface 530 . For specific content, reference may be made to the foregoing embodiment shown in FIG. 5C , which will not be repeated here.
S1103、电子设备100接收到用户对电子设备100的挥动操作。S1103 , the electronic device 100 receives the user's waving operation on the electronic device 100 .
S1104、响应于用户对电子设备100的挥动操作,电子设备100可以记录下挥动操作的过程中的运动数据(即第一运动数据)。其中,运动数据包括陀螺仪传感器数据和加速度传感器数据。S1104. In response to the user's swiping operation on the electronic device 100, the electronic device 100 may record motion data (ie, first motion data) during the swiping operation. The motion data includes gyroscope sensor data and acceleration sensor data.
S1105、电子设备200可以通过毫米波雷达模块检测到遮挡物的运动动作类型,并判断遮挡物的运动动作类型是否为第一类型(即第一运动)。若是,则执行步骤S1106、电子设备200通过蓝牙发送运动数据获取请求给电子设备100。S1105 , the electronic device 200 may detect the motion action type of the occluder through the millimeter wave radar module, and determine whether the motion action type of the occluder is the first type (ie, the first motion). If so, step S1106 is executed, and the electronic device 200 sends a motion data acquisition request to the electronic device 100 through Bluetooth.
其中,毫米波雷达模块检测遮挡物的运动动作类型的原理可以参考前述图2或图8所示实施例,在此不再赘述。The principle of the millimeter-wave radar module detecting the motion type of the occluder may refer to the foregoing embodiment shown in FIG. 2 or FIG. 8 , which will not be repeated here.
第一类型可以包括向第一方向(例如左方向)移动,和/或,移动速度满足第一预设速度条件。其中,第一预设速度条件包括:移动速度大于第一速度值(例如0.1m/s)。在一种可能的实现方式中,预设速度条件包括:移动速度大于第一速度值(例如0.1m/s)小于第二速度值(例如0.5m/s)),其中,第一速度值小于第二速度值。The first type may include moving in a first direction (eg, a left direction), and/or the moving speed satisfies a first preset speed condition. The first preset speed condition includes: the moving speed is greater than the first speed value (for example, 0.1 m/s). In a possible implementation manner, the preset speed condition includes: the moving speed is greater than a first speed value (for example, 0.1m/s) and less than a second speed value (for example, 0.5m/s), wherein the first speed value is less than The second speed value.
其中,电子设备200通过蓝牙发送的运动数据获取请求中包括有电子设备200通过毫米波雷达模块检测到遮挡物的时间信息。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.
在本申请实施例中,上述步骤S1106中的运动数据获取请求可以被称为第一获取请求。In this embodiment of the present application, the motion data acquisition request in the foregoing step S1106 may be referred to as a first acquisition request.
在一种可能的实现方式中,电子设备200在检测遮挡物的运动动作类型之前,还可以检测遮挡物与毫米波雷达天线的距离,若遮挡物与毫米波雷达天线的距离小于预设距离(例如,0.2m),则电子设备200可以检测遮挡物的运动动作类型。若遮挡物与毫米波雷达天线的距离大于等于预设距离(例如,0.2m),则电子设备200不检测遮挡物的运动动作类型。这样,可以防止用户的误触开启文件数据分享。In a possible implementation manner, the electronic device 200 may also detect the distance between the obstruction and the millimeter-wave radar antenna before detecting the movement type of the obstruction. If the distance between the obstruction and the millimeter-wave radar antenna is less than a preset distance ( For example, 0.2m), the electronic device 200 can detect the motion type of the occluder. If the distance between the obstruction and the millimeter-wave radar antenna is greater than or equal to a preset distance (eg, 0.2 m), the electronic device 200 does not detect the motion type of the obstruction. In this way, it is possible to prevent the user from accidentally opening the file data sharing.
在一种可能的实现方式中,电子设备200在检测遮挡物的运动动作类型之前,还可以检测遮挡物相对于毫米波雷达天线所在平面垂线的夹角,若遮挡物相对于毫米波雷达天线所在平面垂线的夹角小于预设角度(例如30度),则电子设备200可以检测遮挡物的运动动作类 型。若遮挡物相对于毫米波雷达天线所在平面垂线的夹角大于等于预设角度(例如30度),则电子设备200可以不检测遮挡物的运动动作类型。这样,可以防止用户的误触开启文件数据分享。In a possible implementation manner, the electronic device 200 may also detect the included angle of the obstructer relative to the vertical line of the plane where the millimeter wave radar antenna is located before detecting the motion type of the obstructer. If the obstructer is relative to the millimeter wave radar antenna If the included angle between the vertical lines of the plane is smaller than a preset angle (eg, 30 degrees), the electronic device 200 can detect the motion type of the occluder. If the included angle between the obstruction and the vertical line of the plane where the millimeter wave radar antenna is located is greater than or equal to a preset angle (eg, 30 degrees), the electronic device 200 may not detect the movement type of the obstruction. In this way, it is possible to prevent the user from accidentally opening the file data sharing.
S1107、电子设备100响应于运动数据获取请求,通过蓝牙发送电子设备100的运动数据给电子设备200。S1107. In response to the motion data acquisition request, the electronic device 100 sends the motion data of the electronic device 100 to the electronic device 200 through Bluetooth.
其中,电子设备100的运动数据包括在电子设备200检测到遮挡物的时间段内,电子设备100的陀螺仪传感器数据和加速度传感器数据。Wherein, the motion data of the electronic device 100 includes the gyroscope sensor data and the acceleration sensor data of the electronic device 100 within the time period when the electronic device 200 detects the obstruction.
S1108、电子设备200基于电子设备100的运动数据,判断电子设备100的运动动作类型是否为第一类型,即判断第一运动数据是否满足第一条件,如果第一运动数据满足第一条件,则电子设备100的运动动作类型为第一类型。在一种实现方式中,第一条件包括:加速度传感器数据用于指示第二电子设备(即电子设备100)进行第一运动;和/或,陀螺仪传感器数据包括用于指示第二电子设备(即电子设备100)进行第一运动。在其它方式中,第一条件还可以是移动速度是否大于第一速度值。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, judges whether the first motion data satisfies the first condition, and if the first motion data satisfies the first condition, then The movement action type of the electronic device 100 is the first type. In an implementation manner, the first condition includes: the acceleration sensor data is used to instruct the second electronic device (ie the electronic device 100 ) to perform the first movement; and/or the gyroscope sensor data is used to instruct the second electronic device ( That is, the electronic device 100) performs the first movement. In other manners, the first condition may also be whether the moving speed is greater than the first speed value.
若是,则执行步骤S1109、电子设备200通过蓝牙发送文件获取请求给电子设备100。具体的,当第一运动数据满足第一条件时,电子设备100发送文件获取请求给电子设备200。If so, step S1109 is executed, and 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 sends a file acquisition request to the electronic device 200 .
S1110、电子设备100在接收到文件获取请求后,可以与电子设备200建立文件传输连接。S1110. After receiving the file acquisition request, the electronic device 100 may establish a file transmission connection with the electronic device 200.
其中,该文件传输连接可以是Wi-Fi直连(例如,无线高保真点对点(wireless fidelity peer to peer,Wi-Fi P2P))、Wi-Fi softAP、超宽带(ultra-wideband,UWB)等通信技术连接。The file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
S1111、电子设备100可以将第一文件发送给电子设备200。S1111. The electronic device 100 may send the first file to the electronic device 200.
在电子设备200接收到电子设备100发送的第一文件后,电子设备200可以直接显示打开显示第一文件的内容。例如,若第一文件是图片,则电子设备200直接显示该图片;若第一文件是视频或音频,则电子设备200播放该视频或音频。若第一文件是文档或表格,则电子设备200可以直接通过文档应用或表格应用打开并显示该文档或表格。After the electronic device 200 receives the first file sent by the electronic device 100, the electronic device 200 may directly display, open and 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 audio, the electronic device 200 plays the video or audio. If the first file is a document or a form, the electronic device 200 may directly open and display the document or form through a document application or a form application.
在一种可能的实现方式中,在电子设备200接收到电子设备100发送的第一文件后,电子设备200可以把接收到的第一文件保存到本地。之后,电子设备200可以接收并响应于用户的输入,显示该第一文件的内容。In a 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 locally. Afterwards, the electronic device 200 may receive and display the content of the first file in response to the user's input.
在一种可能的实现方式中,电子设备200在检测遮挡物的运动动作类型之前,还可以检测遮挡物与毫米波雷达天线的距离,以确定电子设备100是否处于可靠范围内。若电子设备100与毫米波雷达天线的距离小于预设距离(例如,0.2m),可以认为电子设备100处于可靠范围内,则电子设备200与电子设备100之间不进行文件传输。具体的,电子设备100与毫米波雷达天线的距离小于预设距离,电子设备200可以检测遮挡物的运动动作类型,或电子设备200可以继续获取电子设备100的运动数据(例如发送运动数据获取请求)。若电子设备100与毫米波雷达天线的距离大于等于预设距离(例如,0.2m),可以认为电子设备100处于可靠范围外,则电子设备200与电子设备100之间进行文件传输。具体的,遮挡物与毫米波雷达天线的距离大于预设距离,电子设备200不检测遮挡物的运动动作类型,或电子设备200可以不继续获取电子设备100的运动数据(例如不发送运动数据获取请求)。这样,可以防止用户的误触开启文件数据分享。In a possible implementation manner, before the electronic device 200 detects the motion type of the obstruction, the distance between the obstruction and the millimeter wave radar antenna may also be detected 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 less than a preset distance (eg, 0.2 m), it can be considered that the electronic device 100 is within a reliable range, and no file transmission is performed between the electronic device 200 and the electronic device 100 . Specifically, if the distance between the electronic device 100 and the millimeter-wave radar antenna is less than the preset distance, the electronic device 200 can detect the motion type of the obstruction, or the electronic device 200 can 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 a preset distance (eg, 0.2 m), it can be considered that the electronic device 100 is outside the reliable range, and the file transmission is performed between the electronic device 200 and the electronic device 100 . Specifically, if 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 movement type of the obstruction, or the electronic device 200 may not continue to acquire the movement data of the electronic device 100 (for example, not to send the movement data to obtain the movement data) ask). In this way, it is possible to prevent the user from accidentally opening the file data sharing.
在一种可能的实现方式中,电子设备200在检测遮挡物的运动动作类型之前,还可以检测遮挡物相对于毫米波雷达天线所在平面垂线的夹角,以确定电子设备100是否处于可靠范 围内。若遮挡物相对于毫米波雷达天线所在平面垂线的夹角小于预设角度(例如30度),可以认为电子设备100是否处于可靠范围内,则电子设备200可以检测遮挡物的运动动作类型。若遮挡物相对于毫米波雷达天线所在平面垂线的夹角大于等于预设角度(例如30度),可以认为电子设备100处于可靠范围外,则电子设备200可以不检测遮挡物的运动动作类型。这样,可以防止用户的误触开启文件数据分享。In a possible implementation manner, before the electronic device 200 detects the motion type of the obstruction, the included angle of the obstruction relative to the vertical line of the plane where the millimeter-wave radar antenna is located may also be detected to determine whether the electronic device 100 is in a reliable range Inside. If the included angle between the obstruction and the vertical line of the plane where the millimeter wave radar antenna is located is less than a preset angle (eg, 30 degrees), it can be considered whether the electronic device 100 is within a reliable range, and the electronic device 200 can detect the movement type of the obstruction. If the included angle between the obstruction and the vertical line of the plane where the millimeter-wave radar antenna is located is greater than or equal to a preset angle (for example, 30 degrees), it can be considered that the electronic device 100 is outside the reliable range, and the electronic device 200 may not detect the movement type of the obstruction. . In this way, it is possible to prevent the user from accidentally opening the file data sharing.
在一些实施例中,当电子设备100处于可靠范围内时,毫米波雷达模块702可以以第二周期(例如,每隔10ms)通过发射天线发射毫米波信号。当电子设备100处于可靠范围外时,毫米波雷达模块702可以以第一周期通过发射天线发射毫米波信号,以更好的节约功耗。In some embodiments, when the electronic device 100 is within reliable range, the millimeter-wave radar module 702 may transmit the millimeter-wave signal through the transmit antenna at a second period (eg, every 10 ms). When the electronic device 100 is out of the reliable range, the millimeter-wave radar module 702 can transmit the millimeter-wave signal through the transmitting antenna in the first cycle, so as to save power consumption better.
在一些实施例中,电子设备200可以与电子设备100连入同一个WLAN的接入点(access point,AP)或连入同一个服务器(可以是同一个物理服务器,也可以是同一云服务器)。电子设备200与电子设备100具有相同的账户ID,或者,电子设备200上的账户ID和电子设备100上的账户ID互为授权账户。电子设备200在通过毫米波雷达模块识别遮挡物的运动动作类型为第一类型(例如向左移动)后,可以通过AP或服务器向电子设备100发送运动数据获取请求,该运动数据获取请求中可以包括电子设备200的账户ID。电子设备100在接收到该运动数据获取请求后,可以判断电子设备200的账户ID是否为与电子设备100的账户ID相同或互为授权账户,若是,则电子设备100可以通过AP或服务器将电子设备100的运动数据(包括陀螺仪传感器数据和加速度传感器数据)发送给电子设备200。电子设备200在基于电子设备100的运动数据确定出电子设备100的运动动作类型为第一类型时,可以通过AP或服务器发送文件获取请求给电子设备100。电子设备100可以将当前显示的文件数据通过AP或服务器发送给电子设备200。这样,通过电子设备100对电子设备200的账户ID的进行验证,可以保证在两个相互信任的设备之间进行文件数据分享,可以保护用户的隐私。In some embodiments, the electronic device 200 and the electronic device 100 may be connected to the same WLAN access point (access point, AP) or connected to the same server (which may be the same physical server or the same cloud server) . 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 mutually authorized accounts. After the electronic device 200 identifies through the millimeter wave radar module that the motion action type of the blocker is the first type (for example, moving to the left), the electronic device 200 can send a motion data acquisition request to the electronic device 100 through the AP or the server. The account ID of the electronic device 200 is included. After receiving the motion data acquisition request, the electronic device 100 can determine whether the account ID of the electronic device 200 is the same as the account ID of the electronic device 100 or is a mutually authorized account, and if so, the electronic device 100 can use the AP or the server to The motion data of the device 100 (including the gyroscope sensor data and the acceleration sensor data) is sent to the electronic device 200 . When the electronic device 200 determines 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 send the currently displayed file data to the electronic device 200 through the AP or the server. In this way, by verifying the account ID of the electronic device 200 by the electronic device 100 , it is possible to ensure that file data is shared between two mutually trusted devices, and the privacy of the user can be protected.
在一种可能的实现方式中,电子设备200可以与电子设备100连入同一个WLAN的AP或连入同一个服务器(可以是同一个物理服务器,也可以是同一云服务器)。电子设备200在通过毫米波雷达模块识别遮挡物的运动动作类型为第一类型后,可以通过AP向其他多个设备发送运动数据获取请求。其他多个设备在接收到运动数据获取请求可以将各自的运动数据(包括陀螺仪传感器数据和加速度传感器数据)发送给电子设备200。电子设备200可以从其他多个设备的运动数据中,确定出电子设备100的运动动作类型为上述第一类型。电子设备200可以通过AP向电子设备100发送文件获取请求。电子设备100可以将当前显示的文件数据通过AP发送给电子设备200。In a possible implementation manner, the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server). After the electronic device 200 identifies through the millimeter wave radar module that the motion action type of the obstruction is of the first type, the electronic device 200 may send a motion data acquisition request to multiple other devices through the AP. After receiving the motion data acquisition request, the other multiple devices may send their respective motion data (including gyroscope sensor data and acceleration sensor data) to the electronic device 200 . The electronic device 200 may determine, from motion data of multiple other devices, that the motion action type of the electronic device 100 is the first type described above. The electronic device 200 may send a file acquisition request to the electronic device 100 through the AP. The electronic device 100 may send the currently displayed file data to the electronic device 200 through the AP.
通过本申请实施例提供的一种数据分享方法,电子设备100可以显示包括有文件数据(例如图片数据)的浏览界面。在电子设备100显示该浏览界面时,电子设备100可以在电子设备200上毫米波雷达的检测区域内,接收到用户向左挥动的操作。电子设备200可以通过毫米波雷达检测遮挡物的移动方向,并通过蓝牙获取到电子设备100上的运动数据。电子设备200可以基于遮挡物的移动方向和电子设备100的运动数据,判断同一时间段内遮挡物的移动方向是否和电子设备100的移动方向一致。当同时间段内遮挡物的移动方向和电子设备100的移动方向一致时,电子设备200可以与电子设备100建立文件传输连接,并请求电子设备100将当前显示的界面上的文件数据发送给电子设备200。这样,可以简化在电子设备100与电子设备200之间分享数据的操作步骤。With the data sharing method provided by the embodiments of the present application, the electronic device 100 can display a browsing interface including file data (eg, picture data). When the electronic device 100 displays the browsing interface, the electronic device 100 may receive an operation of the user swiping to the left within the detection area of the millimeter-wave radar on the electronic device 200 . The electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth. The electronic device 200 can 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 can establish a file transmission connection with the electronic device 100, and request the electronic device 100 to send the file data on the currently displayed interface to the electronic device 100. device 200. In this way, the operation steps of sharing data between the electronic device 100 and the electronic device 200 can be simplified.
下面介绍本申请另一实施例中提供的一种数据分享方法的流程。The following introduces a process of a data sharing method provided in another embodiment of the present application.
图12示出了本申请另一实施例提供的一种数据分享方法的流程示意图。FIG. 12 shows a schematic flowchart of a data sharing method provided by another embodiment of the present application.
如图12所示,该数据分享方法可以包括如下步骤:As shown in Figure 12, the data sharing method may include the following steps:
S1201、电子设备100与电子设备100建立蓝牙连接。S1201 , the electronic device 100 establishes a Bluetooth connection with the electronic device 100 .
S1202、电子设备200显示第二界面,第二界面包括第二文件。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 pictures, videos, audios, documents, tables, folders, compressed packages, and the like.
示例性的,第二界面可以是上述图6C所示的图片展示界面530,第一文件可以是上述图片展示界面630中包括的图片636。具体内容可以参考前述图6C所示实施例,在此不再赘述。Exemplarily, the second interface may be the picture display interface 530 shown in FIG. 6C , and the first file may be the picture 636 included in the picture display interface 630 . For specific content, reference may be made to the aforementioned embodiment shown in FIG. 6C , which will not be repeated here.
S1203、电子设备100接收到用户对电子设备100的挥动操作。S1203 , the electronic device 100 receives the user's swiping operation on the electronic device 100 .
S1204、响应于用户对电子设备100的挥动操作,记录下挥动操作过程中的运动数据(即第二运动数据)。S1204, in response to the user's swiping operation on the electronic device 100, record motion data (ie, second motion data) during the swiping operation.
S1205、电子设备200可以通过毫米波芯片检测到遮挡物的运动动作类型,并判断遮挡物的移动动作类型是否为第二类型(即第二运动)。若是,则执行步骤S1206、电子设备200通过蓝牙发送运动数据获取请求给电子设备100。S1205 , the electronic device 200 may detect the movement action type of the obstruction through the millimeter wave chip, and determine whether the movement movement type of the obstruction is the second type (ie, the second movement). If so, step S1206 is executed, and the electronic device 200 sends a motion data acquisition request to the electronic device 100 through Bluetooth.
其中,毫米波雷达模块检测遮挡物的运动动作类型的原理可以参考前述图2或图8所示实施例,在此不再赘述。The principle of the millimeter-wave radar module detecting the motion type of the occluder may refer to the foregoing embodiment shown in FIG. 2 or FIG. 8 , which will not be repeated here.
第二类型可以包括向第二方向(例如右方向)移动,和/或,移动速度满足第二预设速度条件。其中,第一预设速度条件包括:移动速度大于第一速度值(例如0.1m/s)。在一种可能的实现方式中,预设速度条件包括:移动速度大于第一速度值(例如0.1m/s)小于第二速度值(例如0.5m/s)),其中,第一速度值小于第二速度值。The second type may include moving in a second direction (eg, a right direction), and/or the moving speed satisfies a second preset speed condition. The first preset speed condition includes: the moving speed is greater than the first speed value (for example, 0.1 m/s). In a possible implementation manner, the preset speed condition includes: the moving speed is greater than a first speed value (for example, 0.1m/s) and less than a second speed value (for example, 0.5m/s), wherein the first speed value is less than The second speed value.
其中,电子设备200通过蓝牙发送的运动数据获取请求中包括有电子设备200通过毫米波雷达模块检测到遮挡物的时间信息。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.
在本申请实施例中,上述步骤S1206中的运动数据获取请求可以被称为第二获取请求。In this embodiment of the present application, the motion data acquisition request in the foregoing step S1206 may be referred to as a second acquisition request.
S1207、电子设备100通过蓝牙发送电子设备100的运动数据给电子设备200。S1207 , the electronic device 100 sends the motion data of the electronic device 100 to the electronic device 200 through Bluetooth.
其中,电子设备100的运动数据包括在电子设备200检测到遮挡物的时间段内,电子设备100的陀螺仪传感器数据和加速度传感器数据。Wherein, the motion data of the electronic device 100 includes the gyroscope sensor data and the acceleration sensor data of the electronic device 100 within the time period when the electronic device 200 detects the obstruction.
S1208、电子设备200基于电子设备100的运动数据,判断电子设备100的移动动作类型是否为第二类型,即判断第二运动数据是否满足第二条件,如果第二运动数据满足第二条件,则电子设备100的运动动作类型为第二类型。在一种实现方式中,第二条件包括:加速度传感器数据用于指示所述第二电子设备(即电子设备100)进行所述第二运动;和/或,陀螺仪传感器数据包括用于指示第二电子设备(即电子设备100)进行第二运动。在其它方式中,第二条件还可以是移动速度是否大于第二速度值。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, determines whether the second movement data satisfies the second condition, and if the second movement data meets the second condition, then The movement action type of the electronic device 100 is the second type. In an implementation manner, the second condition includes: the acceleration sensor data is used to instruct the second electronic device (ie the electronic device 100 ) to perform the second movement; and/or the gyroscope sensor data includes data used to instruct the second electronic device (ie the electronic device 100 ) to perform the second movement; The second electronic device (ie, the electronic device 100 ) performs the second movement. In other manners, the second condition may also be whether the moving speed is greater than the second speed value.
若是,则执行步骤S1209、电子设备200与电子设备100建立文件传输连接。具体的,当第二运动数据满足第二条件时,电子设备200发送文件获取请求给电子设备100。If yes, step S1209 is executed, and the electronic device 200 establishes a file transfer connection with the electronic device 100 . Specifically, when the second motion data satisfies the second condition, the electronic device 200 sends a file acquisition request to the electronic device 100 .
其中,该文件传输连接可以是Wi-Fi直连(例如,无线高保真点对点(wireless fidelity peer to peer,Wi-Fi P2P))、Wi-Fi softAP、超宽带(ultra-wideband,UWB)等通信技术连接。The file transfer connection may be Wi-Fi direct connection (for example, wireless fidelity peer to peer (Wi-Fi P2P)), Wi-Fi softAP, ultra-wideband (UWB) and other communications technical connection.
S1210、电子设备200将第二文件发送给电子设备100。S1210 , the electronic device 200 sends the second file to the electronic device 100 .
在电子设备100接收到电子设备200发送的第二文件后,电子设备100可以直接显示打开显示第二文件的内容。例如,若第二文件是图片,则电子设备100直接显示该图片;若第二文件是视频或音频,则电子设备100播放该视频或音频。若第二文件是文档或表格,则电 子设备100可以直接通过文档应用或表格应用打开并显示该文档或表格。After the electronic device 100 receives the second file sent by the electronic device 200, the electronic device 100 may directly display, open and 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 directly open and display the document or form through a document application or a form application.
在一种可能的实现方式中,在电子设备100接收到电子设备200发送的第二文件后,电子设备200可以把接收到的第二文件保存到本地。之后,电子设备200可以接收并响应于用户的输入,显示该第二文件的内容。In a possible implementation manner, 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 locally. Afterwards, the electronic device 200 may receive and display the content of the second file in response to the user's input.
在一些实施例中,电子设备200可以与电子设备100连入同一个WLAN的AP或连入同一个服务器(可以是同一个物理服务器,也可以是同一云服务器)。电子设备200与电子设备100具有相同的账户ID,或者,电子设备200上的账户ID和电子设备100上的账户ID互为授权账户。电子设备200在通过毫米波雷达模块识别遮挡物的运动动作类型为第二类型(例如,向右移动)后,可以通过AP或服务器向电子设备100发送运动数据获取请求,该运动数据获取请求中可以包括电子设备200的账户ID。电子设备100在接收到该运动数据获取请求后,可以判断电子设备200的账户ID是否为与电子设备100的账户ID相同或互为授权账户,若是,则电子设备100可以通过AP或服务器将电子设备100的运动数据(包括陀螺仪传感器数据和加速度传感器数据)发送给电子设备200。电子设备200在基于电子设备100的运动数据确定出电子设备100的运动动作类型为第二类型时,电子设备200可以将当前显示的文件数据通过AP或服务器发送给电子设备100。这样,通过电子设备100对电子设备200的账户ID的进行验证,可以保证在两个相互信任的设备之间进行文件数据分享,可以保护用户的隐私。In some embodiments, the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server). 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 mutually authorized accounts. After the electronic device 200 identifies through the millimeter-wave radar module that the motion action type of the blocker is the second type (for example, moving to the right), the electronic device 200 can send a motion data acquisition request to the electronic device 100 through the AP or the server. The account ID of the electronic device 200 may be included. After receiving the motion data acquisition request, the electronic device 100 can determine whether the account ID of the electronic device 200 is the same as the account ID of the electronic device 100 or is a mutually authorized account, and if so, the electronic device 100 can use the AP or the server to The motion data of the device 100 (including the gyroscope sensor data and the acceleration sensor data) is sent to the electronic device 200 . 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 the AP or the server. In this way, by verifying the account ID of the electronic device 200 by the electronic device 100 , it is possible to ensure that file data is shared between two mutually trusted devices, and the privacy of the user can be protected.
在一种可能的实现方式中,电子设备200可以与电子设备100连入同一个WLAN的AP或连入同一个服务器(可以是同一个物理服务器,也可以是同一云服务器)。电子设备200在通过毫米波雷达模块识别遮挡物的运动动作类型为第二类型(例如向右移动)后,可以通过AP向其他多个设备发送运动数据获取请求。其他多个设备在接收到运动数据获取请求可以将各自的运动数据(包括陀螺仪传感器数据和加速度传感器数据)发送给电子设备200。电子设备200可以从其他多个设备的运动数据中,确定出电子设备100的运动动作类型为上述第一类型。电子设备200可以将当前显示的文件数据通过AP或服务器发送给电子设备100。In a possible implementation manner, the electronic device 200 and the electronic device 100 may be connected to the same AP of the WLAN or connected to the same server (which may be the same physical server or the same cloud server). After the electronic device 200 recognizes through the millimeter wave radar module that the motion action type of the blocker is the second type (for example, moving to the right), the electronic device 200 can send a motion data acquisition request to multiple other devices through the AP. After receiving the motion data acquisition request, the other multiple devices may send their respective motion data (including gyroscope sensor data and acceleration sensor data) to the electronic device 200 . The electronic device 200 may determine, from motion data of multiple other devices, that the motion action type of the electronic device 100 is the first type described above. The electronic device 200 may send the currently displayed file data to the electronic device 100 through the AP or the server.
通过本申请实施例提供的一种数据分享方法,电子设备200可以显示包括有文件数据(例如图片数据)的浏览界面。在电子设备200显示该浏览界面时,电子设备100可以在电子设备200上毫米波雷达的检测区域内,接收到用户向右挥动的操作。电子设备200可以通过毫米波雷达检测遮挡物的移动方向,并通过蓝牙获取到电子设备100上的运动数据。电子设备200可以基于遮挡物的移动方向和电子设备100的运动数据,判断同一时间段内遮挡物的移动方向是否和电子设备100的移动方向一致。当同一时间段内遮挡物的移动方向和电子设备100的移动方向一致时,电子设备200可以与电子设备100建立文件传输连接,并将当前电子设备200上显示的界面上包括的文件数据发送给电子设备100。这样,可以简化在电子设备100与电子设备200之间分享数据的操作步骤。With the data sharing method provided by the embodiment of the present application, the electronic device 200 can display a browsing interface including file data (eg, picture data). When the electronic device 200 displays the browsing interface, the electronic device 100 may receive an operation of the user swiping right in the detection area of the millimeter-wave radar on the electronic device 200 . The electronic device 200 can detect the moving direction of the obstruction through the millimeter-wave radar, and acquire motion data on the electronic device 100 through Bluetooth. The electronic device 200 can 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 can establish a file transmission connection with the electronic device 100, and send the file data included on the interface currently displayed on the electronic device 200 to the electronic device 200. 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.
实施例1、本申请实施例提供了一种数据分享方法,用于第一电子设备和第二电子设备之间传输文件,所述第一电子设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为接受遮挡物在范围内的回波信号,所述方法包括:Embodiment 1. The embodiment of the present application provides a data sharing method for transferring files between a first electronic device and a second electronic device, where the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar The module is configured to receive echo signals of the occluder within range, and the method includes:
所述第一电子设备与所述第二电子设备建立蓝牙连接;establishing a Bluetooth connection between the first electronic device and the second electronic device;
所述第二电子设备显示第一界面,所述第一界面包括第一文件;the second electronic device displays a first interface, and the first interface includes a first file;
所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号,通过所述蓝牙连接发送第一获取请求,其中,所述第一运动为所述范围内的运动;The millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, and sends a first acquisition request through the Bluetooth connection, where the first movement is a movement within the range;
所述第二电子设备接收到所述第一获取请求,通过所述蓝牙连接发送第一运动数据;The second electronic device receives the first acquisition request, and sends the first motion data through the Bluetooth connection;
所述第一电子设备接收所述第一运动数据,当所述第一运动数据符合第一条件时,所述第一电子设备发送文件获取请求给所述第二电子设备;The first electronic device receives the first motion data, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device;
所述第二电子设备接收到所述文件获取请求,所述第二电子设备自动将所述第一文件发送给所述第一电子设备。The second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
实施例2、根据实施例1所述的方法,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。 Embodiment 2. According to the method of Embodiment 1, after receiving the first file, the first electronic device displays the first file.
实施例3、根据实施例1-2中任一所述的方法,所述方法还包括:所述第一电子设备显示第二界面,所述第二界面包括第二文件;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求,其中,所述第二运动为所述范围内的运动;所述第二电子设备接收到所述第二获取请求,通过所述蓝牙连接发送第二运动数据;所述第一电子设备接收所述第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。Embodiment 3. The method according to any one of Embodiments 1-2, further comprising: displaying, by the first electronic device, a second interface, the second interface including a second file; After the radar module acquires the echo signal when the second electronic device performs a second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is within the range. exercise; the second electronic device receives the second acquisition request, and sends second exercise data through the Bluetooth connection; the first electronic device receives the second exercise data, and when the second exercise data conforms to the Under the second condition, the first electronic device automatically sends the second file to the second electronic device.
实施例4、根据实施例1-3中任一所述的方法,第二电子设备接收到所述文件获取请求,所述第二电子设备自动将所述第一文件发送给所述第一电子设备,包括:所述第二电子设备接收到所述文件获取请求;所述第二电子设备与所述第一电子设备建立文件传输连接;所述第二电子设备通过所述文件传输连接将所述第一文件发送给所述第一电子设备。 Embodiment 4. According to the method according to any one of Embodiments 1-3, the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device. The device includes: the second electronic device receives the file acquisition request; the second electronic device establishes a file transmission connection with the first electronic device; the second electronic device transfers all files through the file transmission connection The first file is sent to the first electronic device.
实施例5、根据实施例3所述的方法,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。Embodiment 5. According to the method of Embodiment 3, when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second electronic device, including: When the second motion data meets the second condition, the first electronic device establishes a file transmission connection with the second electronic device; the first electronic device transfers the second electronic device to the second electronic device through the file transmission connection The file is sent to the second electronic device.
实施例6、根据实施例1-5中任一所述的方法,所述方法还包括:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送毫米波信号,其中,所述第一周期大于所述第二周期。Embodiment 6. The method according to any one of Embodiments 1-5, further comprising: before the millimeter wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal with a first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, the first The electronic device transmits a millimeter wave signal with a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
实施例7、本申请实施例提供一种数据方法,包括第一电子设备与第二电子设备建立蓝牙连接,所述第一电子设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第一获取请求给所述第二电子设备,其中,所述第一运动为所述范围内的运动;所述第一电子设备接收所述第二电子设备发送的第一运动数据,当所述第一运动数据符合第一条件时,所述第一电子设备发送文件获取请求给所述第二电子设备;所述第一电子设备接收到所述第二电子设备发送的第一文件。Embodiment 7. An embodiment of the present application provides a data method, including establishing a Bluetooth connection between a first electronic device and a second electronic device, the first electronic device including a millimeter-wave radar module, and the millimeter-wave radar module is configured as Receive the echo signal of the obstruction within the range; after the millimeter wave radar module obtains the echo signal when the second electronic device performs the first movement, the first electronic device sends the first electronic device through the Bluetooth connection. sending an acquisition request to the second electronic device, wherein the first movement is movement within the range; the first electronic device receives the first movement data sent by the second electronic device, and when the first movement When the motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device; the first electronic device receives the first file sent by the second electronic device.
实施例8、根据实施例7所述的方法,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。Embodiment 8. The method according to Embodiment 7, after receiving the first file, the first electronic device displays the first file.
实施例9、根据实施例7或8所述的方法,所述方法还包括:所述第一电子设备显示第二文件;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求给所述第二电子设备,其中,所述第二运动为所述范围内的运动;所述第一电子设备接收到所述第二电子设备通过所述蓝牙连接发送 的第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。Embodiment 9. The method according to Embodiment 7 or 8, further comprising: displaying the second file by the first electronic device; acquiring the second electronic device by the millimeter-wave radar module to perform a second movement After the echo signal at the time, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is the movement within the range; the first The electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
实施例10、根据实施例7-9中任一所述的方法,所述第一电子设备接收到所述第二电子设备发送的第一文件,包括:所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接接收到所述第二电子设备发送的第一文件。Embodiment 10. According to the method according to any one of Embodiments 7 to 9, the first electronic device receives the first file sent by the second electronic device, including: the first electronic device and the first electronic device. The two electronic devices establish a file transmission connection; the first electronic device receives the first file sent by the second electronic device through the file transmission connection.
实施例11、根据实施例7-10中任一所述的方法,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。Embodiment 11. According to the method of any one of Embodiments 7-10, when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
实施例12、根据权利要求7-11中任一所述的方法,其特征在于,所述方法还包括:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送毫米波信号,其中,所述第一周期大于所述第二周期。Embodiment 12. The method according to any one of claims 7 to 11, wherein the method further comprises: acquiring, by the millimeter wave radar module, an echo when the second electronic device performs a first movement Before the signal, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal through the millimeter-wave radar module with a second period, wherein the first period is greater than the second period.
实施例13、本申请实施例提供了一种数据分享方法,用于第一设备和第二设备之间传输文件,所述第一设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为识别所述第二设备在范围内的运动,所述方法包括:所述第二电子设备显示第一界面,所述第一界面包括第一文件;在所述毫米波雷达模块获取第二电子设备进行第一运动时的回波信号后,所述第一电子设备发送第一消息(所述第一消息可以是第一获取请求等),其中,所述第一运动为所述范围内的运动;所述第二电子设备接收所述第一消息,所述第二电子设备自动将所述第一文件发送给所述第一电子设备。Embodiment 13. An embodiment of the present application provides a data sharing method for transferring files 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 In order to identify the movement of the second device within the range, the method includes: the second electronic device displays a first interface, and the first interface includes a first file; acquiring the second electronic device in the millimeter wave radar module After the device performs the echo signal of the first movement, the first electronic device sends a first message (the first message may be a first acquisition request, etc.), wherein the first movement is within the range. movement; the second electronic device receives the first message, the second electronic device automatically sends the first file to the first electronic device.
实施例14、根据实施例13所述的方法,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。Embodiment 14. According to the method of Embodiment 13, after receiving the first file, the first electronic device displays the first file.
实施例15、根据实施例13或14所述的方法,所述方法还包括:所述第一电子设备显示第二界面,所述第二界面包括第二文件;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求,其中,所述第二运动为所述范围内的运动;所述第二电子设备接收到所述第二获取请求,通过所述蓝牙连接发送第二运动数据;所述第一电子设备接收所述第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。Embodiment 15. The method according to Embodiment 13 or 14, further comprising: displaying, by the first electronic device, a second interface, the second interface including a second file; After the second electronic device performs the echo signal of the second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, wherein the second movement is the movement within the range; The second electronic device receives the second acquisition request, and sends the second motion data through the Bluetooth connection; the first electronic device receives the second motion data, when the second motion data meets the second condition when the first electronic device automatically sends the second file to the second electronic device.
实施例16、根据实施例13-15中任一所述的方法,第二电子设备接收到所述文件获取请求,所述第二电子设备自动将所述第一文件发送给所述第一电子设备,包括:所述第二电子设备接收到所述文件获取请求;所述第二电子设备与所述第一电子设备建立文件传输连接;所述第二电子设备通过所述文件传输连接将所述第一文件发送给所述第一电子设备。Embodiment 16. According to the method of any one of Embodiments 13-15, the second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device. The device includes: the second electronic device receives the file acquisition request; the second electronic device establishes a file transmission connection with the first electronic device; the second electronic device transfers all files through the file transmission connection The first file is sent to the first electronic device.
实施例17、根据实施例13-16中任一所述的方法,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。Embodiment 17. According to the method of any one of Embodiments 13-16, when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
实施例18、根据实施例13-17中任一所述的方法,所述方法还包括:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送 毫米波信号,其中,所述第一周期大于所述第二周期。Embodiment 18. The method according to any one of Embodiments 13-17, further comprising: before the millimeter wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal with a first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires an echo signal when the second electronic device performs a first movement, the first The electronic device transmits a millimeter wave signal with a second period through the millimeter wave radar module, wherein the first period is greater than the second period.
实施例19、本申请实施例提供了一种数据分享方法,用于第一设备和第二设备之间传输文件,所述第一设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为识别所述第二设备在范围内的运动,所述方法包括:所述第一电子设备显示第二界面,所述第二界面包括第二文件;在毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,其中,所述第一运动为所述范围内的运动。Embodiment 19. An embodiment of the present application provides a data sharing method for transferring files 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 In order to identify the movement of the second device within the range, the method includes: the first electronic device displays a second interface, the second interface includes a second file; obtaining the second electronic device in a millimeter-wave radar module After the device performs the echo signal of the second movement, the first electronic device automatically sends the second file to the second electronic device, wherein the first movement is a movement within the range.
实施例20、根据实施例19所述的方法,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。Embodiment 20. According to the method of Embodiment 19, after receiving the first file, the first electronic device displays the first file.
实施例21、根据实施例19或20所述的方法,所述方法还包括:所述第一电子设备显示第二文件;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求给所述第二电子设备,其中,所述第二运动为所述范围内的运动;所述第一电子设备接收到所述第二电子设备通过所述蓝牙连接发送的第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。Embodiment 21. The method according to Embodiment 19 or 20, further comprising: displaying a second file by the first electronic device; acquiring the second electronic device from the millimeter-wave radar module to perform a second movement After the echo signal at the time, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein the second movement is the movement within the range; the first The electronic device receives the second motion data sent by the second electronic device through the Bluetooth connection, and when the second motion data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
实施例22、根据实施例19-21中任一所述的方法,所述第一电子设备接收到所述第二电子设备发送的第一文件,包括:所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接接收到所述第二电子设备发送的第一文件。Embodiment 22. The method according to any one of Embodiments 19 to 21, wherein the first electronic device receives the first file sent by the second electronic device, comprising: the first electronic device and the first electronic device. The two electronic devices establish a file transmission connection; the first electronic device receives the first file sent by the second electronic device through the file transmission connection.
实施例23、根据实施例19-22中任一所述的方法,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。Embodiment 23. According to the method of any one of Embodiments 19-22, when the second motion data meets a second condition, the first electronic device automatically sends the second file to the second An electronic device, comprising: when the second motion data meets the second condition, establishing a file transmission connection between the first electronic device and the second electronic device; the first electronic device establishes a file transmission connection through the file transmission connection Sending the second file to the second electronic device.
实施例24、根据权利要求19-23中任一所述的方法,其特征在于,所述方法还包括:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送毫米波信号,其中,所述第一周期大于所述第二周期。Embodiment 24. The method according to any one of claims 19 to 23, wherein the method further comprises: acquiring, by the millimeter wave radar module, an echo when the second electronic device performs a first movement Before the signal, the first electronic device sends the millimeter-wave signal with the first cycle through the millimeter-wave radar module; after the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, The first electronic device sends a millimeter-wave signal through the millimeter-wave radar module with a second period, wherein the first period is greater than the second period.
实施例25、根据权利要求1-24中任一所述的方法,Embodiment 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.
实施例26、根据权利要求1-25中任一所述的方法,Embodiment 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.
实施例27、根据权利要求1-26中任一所述的方法,Embodiment 27. The method of any one of claims 1-26,
所述第一条件包括加速度传感器数据包括所述加速度传感器数据用于指示所述第二电子设备进行所述第一运动;或者,陀螺仪传感器数据包括用于指示所述第二电子设备进行所述第一运动。The first condition includes the acceleration sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; or the gyro sensor data including the acceleration sensor data for instructing the second electronic device to perform the first movement; first movement.
实施例28、根据权利要求1-27中任一所述的方法,Embodiment 28. The method of any one of claims 1-27,
所述文件传输连接包括以下任一种:无线高保真Wi-Fi直连、Wi-Fi softAP连接、超宽带UWB连接。The file transfer connection includes any one of the following: wireless high-fidelity Wi-Fi direct connection, Wi-Fi softAP connection, and ultra-wideband UWB connection.
实施例29、本申请实施例提供了一种电子设备,为第一电子设备,包括:显示屏、一个 或多个处理器、一个或多个存储器、毫米波雷达模块;其中,所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器在执行所述计算机指令时,使得所述电子设备执行如1-28任一实施例中所述的数据分享方法。Embodiment 29. An embodiment of the present application provides an electronic device, which is a first electronic device, including: a display screen, one or more processors, one or more memories, and a millimeter wave radar module; wherein the one or A plurality of memories are coupled to the one or more processors, the one or more memories for storing computer program code, the computer program code comprising computer instructions, when the one or more processors are executing the When the computer is instructed, the electronic device is caused to execute the data sharing method described in any one of the embodiments 1-28.
实施例30、本申请实施例提供了一种计算机可读存储介质,包括指令,当所述指令在第一电子设备上运行时,使得所述第一电子设备执行实施例1-28任一实施例中所述的数据分享方法。Embodiment 30. This embodiment of the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on a first electronic device, the first electronic device is made to execute any one of Embodiments 1-28. The data sharing method described in the example.
实施例31、本申请实施例提供了一种处理系统,包括:处理器、毫米波雷达模块、蓝牙模块、无线局域网WLAN模块;其中,所述毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;所述蓝牙模块,用于所述第二电子设备建立蓝牙连接;所述毫米波雷达模块,用于获取所述第二电子设备进行第一运动时的回波信号;所述处理器,用于在获取到所述第二电子设备进行第一运动时的回波信号后,指示所述蓝牙模块通过所述蓝牙连接发送第一获取请求给所述第二电子设备,其中,所述第一运动为所述范围内的运动;所述蓝牙模块,还用于接收所述第二电子设备发送的第一运动数据;所述处理模块,还用于当所述第一运动数据符合第一条件时,指示所述蓝牙模块发送文件获取请求给所述第二电子设备;所述WLAN模块,用于接收到所述第二电子设备发送的第一文件。Embodiment 31. An embodiment of the present application provides a processing system, including: 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 obstructions within range The bluetooth module is used for the second electronic device to establish a bluetooth connection; the millimeter wave radar module is used to obtain the echo signal when the second electronic device performs the first movement; the a processor, configured to instruct the Bluetooth module to send a first acquisition request to the second electronic device through the Bluetooth connection after acquiring the echo signal when the second electronic device performs the first movement, wherein, The first movement is movement within the range; the Bluetooth module is further configured to receive the first movement data sent by the second electronic device; the processing module is further configured to receive the first movement data when the first movement data is When the first condition is met, the Bluetooth module is instructed to send a file acquisition request to the second electronic device; the WLAN module is configured to receive the first file sent by the second electronic device.
其中,针对处理系统中每个模块具体功能,可以参考实施例1-28任一实施例中提供的数据分享方法。Wherein, for the specific function of each module in the processing system, reference may be made to the data sharing method provided in any one of Embodiments 1-28.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims (29)
- 一种数据分享方法,其特征在于,用于第一电子设备和第二电子设备之间传输文件,所述第一电子设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为接收遮挡物在范围内的回波信号,所述方法包括:A data sharing method, characterized in that it is used for transferring files between a first electronic device and a second electronic device, the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive blocking The echo signal of the object within the range, the method includes:所述第一电子设备与所述第二电子设备建立蓝牙连接;establishing a Bluetooth connection between the first electronic device and the second electronic device;所述第二电子设备显示第一界面,所述第一界面包括第一文件;the second electronic device displays a first interface, and the first interface includes a first file;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第一获取请求,其中,所述第一运动为所述范围内的运动;After the millimeter-wave radar module acquires the echo signal when the second electronic device performs a first movement, the first electronic device sends a first acquisition request through the Bluetooth connection, where the first movement is movement within said range;所述第二电子设备接收到所述第一获取请求,通过所述蓝牙连接发送第一运动数据;The second electronic device receives the first acquisition request, and sends the first motion data through the Bluetooth connection;所述第一电子设备接收所述第一运动数据,当所述第一运动数据符合第一条件时,所述第一电子设备发送文件获取请求给所述第二电子设备;The first electronic device receives the first motion data, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device;所述第二电子设备接收到所述文件获取请求,所述第二电子设备自动将所述第一文件发送给所述第一电子设备。The second electronic device receives the file acquisition request, and the second electronic device automatically sends the first file to the first electronic device.
- 根据权利要求1所述的方法,其特征在于,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。The method according to claim 1, wherein the first electronic device displays the first file after receiving the first file.
- 根据权利要求1或2所述的方法,其特征在于,所述第二电子设备包括加速度传感器和陀螺仪传感器中的至少一个,所述第一运动数据包括加速度传感器数据和陀螺仪传感器数据的至少一个。The method according to claim 1 or 2, wherein the second electronic device comprises at least one of an acceleration sensor and a gyroscope sensor, and the first motion data comprises at least one of the acceleration sensor data and the gyroscope sensor data one.
- 根据权利要求3所述的方法,其特征在于,所述第一条件包括:The method according to claim 3, wherein the first condition comprises:所述加速度传感器数据用于指示所述第二电子设备进行所述第一运动;或者the acceleration sensor data is used to instruct the second electronic device to perform the first movement; or所述陀螺仪传感器数据包括用于指示所述第二电子设备进行所述第一运动。The gyroscope sensor data includes instructions for instructing the second electronic device to perform the first movement.
- 根据权利要求1至4中任一所述的方法,其特征在于,所述第一运动数据包括第一时间段内的运动数据,所述第一时间段为所述第二电子设备进行所述第一运动的时间段。The method according to any one of claims 1 to 4, wherein the first motion data includes motion data within a first time period, and the first time period is for the second electronic device to perform the The time period of the first movement.
- 根据权利要求1至5中任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:所述第一电子设备显示第二界面,所述第二界面包括第二文件;the first electronic device displays a second interface, the second interface includes a second file;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求,其中,所述第二运动为所述范围内的运动;After the millimeter-wave radar module acquires the echo signal when the second electronic device performs a second movement, the first electronic device sends a second acquisition request through the Bluetooth connection, where the second movement is movement within said range;所述第二电子设备接收到所述第二获取请求,通过所述蓝牙连接发送第二运动数据;The second electronic device receives the second acquisition request, and sends the second motion data through the Bluetooth connection;所述第一电子设备接收所述第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。The first electronic device receives the second movement data, and when the second movement data meets the second condition, the first electronic device automatically sends the second file to the second electronic device.
- 根据权利要求1至6中任一所述的方法,其特征在于,所述第一文件的文件类型包括以下任一种:图片、视频、音频、文档、表格、文件夹、压缩包。The method according to any one of claims 1 to 6, wherein the file type of the first file includes any one of the following: a picture, a video, an audio, a document, a table, a folder, and a compressed package.
- 根据权利要求1至7中任一所述的方法,其特征在于,所述第二电子设备接收到所述文件获取请求,所述第二电子设备自动将所述第一文件发送给所述第一电子设备,包括:The method according to any one of claims 1 to 7, wherein when the second electronic device receives the file acquisition request, the second electronic device automatically sends the first file to the first electronic device. an electronic device, including:所述第二电子设备接收到所述文件获取请求;the second electronic device receives the file acquisition request;所述第二电子设备与所述第一电子设备建立文件传输连接;establishing a file transfer connection between the second electronic device and the first electronic device;所述第二电子设备通过所述文件传输连接将所述第一文件发送给所述第一电子设备。The second electronic device sends the first file to the first electronic device through the file transfer connection.
- 根据权利要求6所述的方法,其特征在于,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:The method according to 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, comprising:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;When the second motion data meets the second condition, establishing a file transfer connection between the first electronic device and the second electronic device;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。The first electronic device sends the second file to the second electronic device through the file transfer connection.
- 根据权利要求8或9所述的系统,其特征在于,所述文件传输连接包括以下任一种:无线高保真Wi-Fi直连、Wi-Fi softAP连接、超宽带UWB连接。The system according to claim 8 or 9, wherein the file transfer connection comprises any of the following: a wireless high-fidelity Wi-Fi direct connection, a Wi-Fi softAP connection, and an ultra-wideband UWB connection.
- 根据权利要求1至10中任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, wherein the method further comprises:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;Before the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal in a first cycle through the millimeter-wave radar module;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送毫米波信号,其中,所述第一周期大于所述第二周期。After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal in a second cycle through the millimeter-wave radar module, wherein the The first period is greater than the second period.
- 根据权利要求1至11中任一所述的方法,其特征在于,所述范围小于等于所述毫米波雷达模块的检测区域。The method according to any one of claims 1 to 11, wherein the range is less than or equal to the detection area of the millimeter wave radar module.
- 一种数据分享方法,其特征在于,包括:A data sharing method, comprising:第一电子设备与第二电子设备建立蓝牙连接,所述第一电子设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;The first electronic device establishes a Bluetooth connection with the second electronic device, the first electronic device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to receive echo signals from the obstruction within range;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第一获取请求给所述第二电子设备,其中,所述第一运动为所述范围内的运动;After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends a first acquisition request to the second electronic device through the Bluetooth connection, wherein , the first motion is a motion within the range;所述第一电子设备接收所述第二电子设备发送的第一运动数据,当所述第一运动数据符合第一条件时,所述第一电子设备发送文件获取请求给所述第二电子设备;The first electronic device receives the first motion data sent by the second electronic device, and when the first motion data meets the first condition, the first electronic device sends a file acquisition request to the second electronic device ;所述第一电子设备接收到所述第二电子设备发送的第一文件。The first electronic device receives the first file sent by the second electronic device.
- 根据权利要求13所述的方法,其特征在于,所述第一电子设备在接收到所述第一文件后,显示所述第一文件。The method according to claim 13, wherein the first electronic device displays the first file after receiving the first file.
- 根据权利要求13至14中任一所述的方法,其特征在于,所述第一运动数据包括加速度传感器数据和陀螺仪传感器数据中的至少一个。The method according to any one of claims 13 to 14, wherein the first motion data includes at least one of acceleration sensor data and gyroscope sensor data.
- 根据权利要求15所述的方法,其特征在于,所述第一条件包括: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 movement; or所述陀螺仪传感器数据包括用于指示所述第二电子设备进行所述第一运动。The gyroscope sensor data includes instructions for instructing the second electronic device to perform the first movement.
- 根据权利要求13至16中任一所述的方法,其特征在于,所述第一运动数据包括第一时间段内的运动数据,所述第一时间段为所述第二电子设备进行所述第一运动的时间段。The method according to any one of claims 13 to 16, wherein the first motion data comprises motion data within a first time period, and the first time period is for the second electronic device to perform the The time period of the first movement.
- 根据权利要求13至17中任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 13 to 17, wherein the method further comprises:所述第一电子设备显示第二文件;the first electronic device displays the second file;在所述毫米波雷达模块获取所述第二电子设备进行第二运动时的回波信号后,所述第一电子设备通过所述蓝牙连接发送第二获取请求给所述第二电子设备,其中,所述第二运动为所述范围内的运动;After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the second movement, the first electronic device sends a second acquisition request to the second electronic device through the Bluetooth connection, wherein , the second motion is the motion within the range;所述第一电子设备接收到所述第二电子设备通过所述蓝牙连接发送的第二运动数据,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备。The first electronic device receives the second movement data sent by the second electronic device through the Bluetooth connection, and when the second movement data meets the second condition, the first electronic device automatically sends the second movement data to the second movement data. Two files are sent to the second electronic device.
- 根据权利要求13至18中任一所述的方法,其特征在于,所述第一文件的文件类型包括以下任一种:图片、视频、音频、文档、表格、文件夹、压缩包。The method according to any one of claims 13 to 18, wherein the file type of the first file includes any one of the following: a picture, a video, an audio, a document, a table, a folder, and a compressed package.
- 根据权利要求13所述的方法,其特征在于,所述第一电子设备接收到所述第二电子设备发送的第一文件,包括:The method according to claim 13, wherein the receiving, by the first electronic device, the first file sent by the second electronic device comprises:所述第一电子设备与所述第二电子设备建立文件传输连接;establishing a file transfer connection between the first electronic device and the second electronic device;所述第一电子设备通过所述文件传输连接接收到所述第二电子设备发送的第一文件。The first electronic device receives the first file sent by the second electronic device through the file transmission connection.
- 根据权利要求18所述的方法,其特征在于,当所述第二运动数据符合第二条件时,所述第一电子设备自动将所述第二文件发送给所述第二电子设备,包括:The method according to 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, comprising:当所述第二运动数据符合所述第二条件时,所述第一电子设备与所述第二电子设备建立文件传输连接;When the second motion data meets the second condition, establishing a file transfer connection between the first electronic device and the second electronic device;所述第一电子设备通过所述文件传输连接将所述第二文件发送给所述第二电子设备。The first electronic device sends the second file to the second electronic device through the file transfer connection.
- 根据权利要求20或21所述的方法,其特征在于,所述文件传输连接包括以下任一种:无线高保真Wi-Fi直连、Wi-Fi softAP连接、超宽带UWB连接。The method according to claim 20 or 21, wherein the file transfer connection includes any one of the following: a wireless high-fidelity Wi-Fi direct connection, a Wi-Fi softAP connection, and an ultra-wideband UWB connection.
- 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之前,所述第一电子设备通过所述毫米波雷达模块以第一周期发送毫米波信号;Before the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal in a first cycle through the millimeter-wave radar module;在所述毫米波雷达模块获取所述第二电子设备进行第一运动时的回波信号之后,所述第一电子设备通过所述毫米波雷达模块以第二周期发送毫米波信号,其中,所述第一周期大于所述第二周期。After the millimeter-wave radar module acquires the echo signal when the second electronic device performs the first movement, the first electronic device sends the millimeter-wave signal in a second cycle through the millimeter-wave radar module, wherein the The first period is greater than the second period.
- 根据权利要求13至23中任一所述的方法,其特征在于,所述范围小于等于所述毫米波雷达模块的检测区域。The method according to any one of claims 13 to 23, wherein the range is less than or equal to the detection area of the millimeter wave radar module.
- 一种电子设备,为第一电子设备,其特征在于,包括:显示屏、一个或多个处理器、一个或多个存储器、毫米波雷达模块;其中,所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器在执行所述计算机指令时,使得所述电子设备执行如权利要求13至24任一项所述的方法。An electronic device, which is the first electronic device, is characterized by comprising: a display screen, one or more processors, one or more memories, and a millimeter-wave radar module; wherein the one or more memories and the One or more processors are coupled, and the one or more memories are used to store computer program code comprising computer instructions that, when executed by the one or more processors, cause all The electronic device performs the method as claimed in any one of claims 13 to 24.
- 根据权利要求25所述的电子设备,其特征在于,所述电子设备还包括:The electronic device according to claim 25, wherein the electronic device further comprises:毫米波雷达天线,所述毫米波雷达天线耦合至所述毫米波雷达模块,所述毫米波雷达天线与所述毫米波雷达模块被分别设置在所述电子设备的不同位置。A millimeter-wave radar antenna, the millimeter-wave radar antenna is coupled to the millimeter-wave radar module, and the millimeter-wave radar antenna and the millimeter-wave radar module are respectively arranged at different positions of the electronic device.
- 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在第一电子设备上运行时,使得所述第一电子设备执行如权利要求13至24中任一项所述的方法。A computer-readable storage medium, comprising instructions, characterized in that, when the instructions are executed on a first electronic device, the first electronic device is caused to perform the method according to any one of claims 13 to 24 .
- 一种处理系统,其特征在于,包括:处理器、毫米波雷达模块、蓝牙模块、无线局域网WLAN模块;其中,所述毫米波雷达模块被配置为接收遮挡物在范围内的回波信号;A processing system, comprising: 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 from obstructions within range;所述蓝牙模块,用于所述第二电子设备建立蓝牙连接;the bluetooth module, used for the second electronic device to establish a bluetooth connection;所述毫米波雷达模块,用于获取所述第二电子设备进行第一运动时的回波信号;The millimeter-wave radar module is used to acquire the echo signal when the second electronic device performs 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 the echo signal when the second electronic device performs the first movement, Wherein, the first movement is the movement within the range;所述蓝牙模块,还用于接收所述第二电子设备发送的第一运动数据;The Bluetooth module is further configured to receive the 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;所述WLAN模块,用于接收到所述第二电子设备发送的第一文件。The WLAN module is configured to receive the first file sent by the second electronic device.
- 一种数据分享方法,其特征在于,用于第一设备和第二设备之间传输文件,所述第一设备包括有毫米波雷达模块,所述毫米波雷达模块被配置为识别所述第二设备在范围内的运动,所述方法包括:A data sharing method, characterized in that it is used for transferring files between a first device and a second device, the first device includes a millimeter-wave radar module, and the millimeter-wave radar module is configured to identify the second device Movement of the device within the range, the method comprising:所述第二电子设备显示第一界面,所述第一界面包括第一文件;the second electronic device displays a first interface, and the first interface includes a first file;在所述毫米波雷达模块获取第二电子设备进行第一运动时的回波信号后,所述第一电子设备发送第一消息,其中,所述第一运动为所述范围内的运动;After the millimeter-wave radar module acquires the echo signal when the second electronic device performs a first movement, the first electronic device sends a first message, where the first movement is a movement within the range;所述第二电子设备接收所述第一消息,所述第二电子设备自动将所述第一文件发送给所述第一电子设备。The second electronic device receives the first message, and the second electronic device automatically sends the first file to the first electronic device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011198050.7 | 2020-10-31 | ||
CN202011198050.7A CN114531435B (en) | 2020-10-31 | 2020-10-31 | Data sharing method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022089523A1 true WO2022089523A1 (en) | 2022-05-05 |
Family
ID=81383351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/126983 WO2022089523A1 (en) | 2020-10-31 | 2021-10-28 | Data sharing method and related device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114531435B (en) |
WO (1) | WO2022089523A1 (en) |
Citations (5)
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 |
US20110081923A1 (en) * | 2009-10-02 | 2011-04-07 | Babak Forutanpour | Device movement user interface gestures for file sharing functionality |
CN103179168A (en) * | 2011-12-26 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and method for sharing data through Bluetooth |
CN104094183A (en) * | 2011-11-16 | 2014-10-08 | 高通股份有限公司 | System and method for wirelessly sharing data amongst user devices |
WO2020062344A1 (en) * | 2018-09-30 | 2020-04-02 | 华为技术有限公司 | Data transmission method and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108604733B (en) * | 2016-01-26 | 2021-07-30 | 纽威莱克公司 | Millimeter wave sensor system for gesture and motion analysis |
CN110719584B (en) * | 2019-09-02 | 2021-07-16 | 华为技术有限公司 | Method and electronic equipment for short-distance information transmission |
CN111522438A (en) * | 2020-03-25 | 2020-08-11 | 华为技术有限公司 | Content transmission method, device and medium |
-
2020
- 2020-10-31 CN CN202011198050.7A patent/CN114531435B/en active Active
-
2021
- 2021-10-28 WO PCT/CN2021/126983 patent/WO2022089523A1/en active Application Filing
Patent Citations (5)
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 |
US20110081923A1 (en) * | 2009-10-02 | 2011-04-07 | Babak Forutanpour | Device movement user interface gestures for file sharing functionality |
CN104094183A (en) * | 2011-11-16 | 2014-10-08 | 高通股份有限公司 | 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 |
WO2020062344A1 (en) * | 2018-09-30 | 2020-04-02 | 华为技术有限公司 | Data transmission method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN114531435B (en) | 2023-04-11 |
CN114531435A (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020168965A1 (en) | Method for controlling electronic device having folding screen, and electronic device | |
WO2021213164A1 (en) | Application interface interaction method, electronic device, and computer readable storage medium | |
KR102534354B1 (en) | System navigation bar display control method, graphical user interface and electronic device | |
WO2021052279A1 (en) | Foldable screen display method and electronic device | |
WO2021104008A1 (en) | Method for displaying folding screen and related apparatus | |
WO2020224449A1 (en) | Split-screen display operation method and electronic device | |
WO2020000448A1 (en) | Flexible screen display method and terminal | |
JP2023514962A (en) | DISPLAY METHOD AND RELATED APPARATUS FOR FOLDABLE SCREEN | |
WO2020134872A1 (en) | Message processing method, related device, and system | |
WO2021052214A1 (en) | Hand gesture interaction method and apparatus, and terminal device | |
WO2021036770A1 (en) | Split-screen processing method and terminal device | |
WO2021185250A1 (en) | Image processing method and apparatus | |
WO2021082564A1 (en) | Operation prompt method and electronic device | |
CN114079691B (en) | Equipment identification method and related device | |
WO2022028537A1 (en) | Device recognition method and related apparatus | |
WO2022037463A1 (en) | Function switching entry determining method and electronic device | |
CN112637758B (en) | Equipment positioning method and related equipment thereof | |
WO2022042770A1 (en) | Method for controlling communication service state, terminal device and readable storage medium | |
WO2021135618A1 (en) | Interface display method and related apparatus | |
WO2021238370A1 (en) | Display control method, electronic device, and computer-readable storage medium | |
CN112130788A (en) | Content sharing method and device | |
WO2021057699A1 (en) | Method for controlling electronic device with flexible screen, and electronic device | |
WO2020228735A1 (en) | Method for displaying application, and electronic device | |
WO2021147419A1 (en) | Data transmission method, electronic device and storage medium | |
WO2022143180A1 (en) | Collaborative display method, terminal device, and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21885250 Country of ref document: EP Kind code of ref document: A1 |