Data transmission method, apparatus and system
By identifying peripheral devices in the viewfinder interface of electronic devices and using drag and drop operations, the data transmission process between electronic devices is simplified, the problem of cumbersome data transmission in the existing technology is solved, and efficient data flow and processing are achieved.
Patent Information
- Application Number
- PCT/CN2024/081619
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2024-03-14
- Publication Date
- 2024-09-26
AI Technical Summary
In the existing technology, the data transmission process between electronic devices is cumbersome, which affects the data processing efficiency and cannot achieve efficient cross-device data flow.
By identifying peripheral devices in the viewfinder interface of the electronic device and using drag and drop operations to simplify the data transmission process, users can directly transfer data from the local device to the peer device through the viewfinder interface, simplifying the data transfer process.
It improves the efficiency of data transmission, simplifies user operations, enhances user experience, and enables data to be easily transferred and processed between multiple electronic devices.
Smart Images

Figure CN2024081619_26092024_PF_FP
Abstract
Description
Method, device and system for transmitting data
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 21, 2023, with application number 202310311356.6, and invention name “Method, device and system for transmitting data”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of electronic devices, and more specifically, to a method, device, and system for transmitting data. Background Art
[0003] With the advancement of science and technology, users can collaboratively process data across electronic devices such as smartphones, tablets, and personal computers. To facilitate data processing, data transmission between these devices is crucial for data processing efficiency. Currently, the process of transmitting data between devices is cumbersome, hindering data transmission efficiency.
[0004] Therefore, how to provide a method for transmitting data with simple operation to improve the efficiency of data transmission is an urgent problem to be solved.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a method, apparatus, and system for transmitting data, which simplifies the process of transmitting data between devices and improves the efficiency of data transmission.
[0007] In a first aspect, a method for transmitting data is provided, which is applied to a first electronic device, which displays first data. The method includes: in response to a first operation of a user on the first data, the first electronic device opens a viewfinder interface, and the viewfinder interface includes at least one peripheral device; in response to a second operation of the user on the first data, the first electronic device sends the first data to a peer device, and the first data is used for display on the peer device, and the peer device belongs to the at least one peripheral device.
[0008] For example, the first electronic device can be understood as the local device, the first data can be understood as the data to be transmitted, the first operation can be understood as the user dragging the first data to the edge of the first electronic device and maintaining a certain time threshold, and the second operation can be understood as the user releasing the drag of the first data.
[0009] Based on the above solution, users can realize data transmission through the viewfinder interface of the first electronic device. Users can directly realize the flow of data through the user interface of the first electronic device, which simplifies the process of transmitting data, improves the efficiency of transmitting data, and makes it convenient for users to process data on the other device, thereby improving the user experience.
[0010] In combination with the first aspect, in some implementations of the first aspect, the viewfinder interface includes at least one second electronic device, and the method further includes: determining the at least one surrounding device from the at least one second electronic device.
[0011] For example, the viewfinder interface may display at least one device within the viewfinder range of the camera of the first electronic device, which may be understood as the second electronic device. The first electronic device needs to identify these electronic devices, filter out surrounding devices from the at least one second electronic device, and then filter out the target device from the surrounding devices.
[0012] In combination with the first aspect, in certain implementations of the first aspect, determining at least one surrounding device from the at least one second electronic device includes: determining the at least one surrounding device from the at least one second electronic device based on at least one of the following: a device type of the at least one second electronic device, account information of the at least one second electronic device, and location information of the at least one second electronic device.
[0013] In combination with the first aspect, in some implementations of the first aspect, the method further includes: identifying a device type of the at least one second electronic device on the viewfinder interface.
[0014] For example, the device type of the second electronic device can be understood as a specific device type such as a smart screen, a personal computer, etc., the account information of the second electronic device can be understood as the user account information logged in to the second electronic device, and the location information of the second electronic device can be understood as the specific area where the second electronic device is located (for example, a bedroom, a living room).
[0015] Based on the above solution, the first electronic device can identify surrounding devices from the second electronic device through some specific information. When the first electronic device obtains the device type of the second electronic device through the viewfinder interface, it can also determine the surrounding devices based on specific information such as the account information of the second electronic device and the location information of the second electronic device. For example, the first electronic device will identify a smart screen with the same account as the first electronic device and located in the same area as the first electronic device as a surrounding device.
[0016] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: sending a connection request message in response to the opening of the viewfinder interface; the at least one second electronic device displays a first mark, wherein determining the at least one surrounding device from the at least one second electronic device includes: scanning the first mark of the at least one second electronic device on the viewfinder interface; determining the at least one surrounding device based on the first mark of the at least one second electronic device.
[0017] For example, the first mark can be a plain code or a hidden code. The plain code can be a QR code or a dynamic code. The first mark of the second electronic device can be displayed in response to a user operation on the second electronic device, or can be pre-displayed on the second electronic device.
[0018] Based on the above solution, the first electronic device opens a viewfinder interface and can identify surrounding devices by scanning a clear code or a hidden code through the viewfinder interface.
[0019] It should be noted that when the second electronic device and the first electronic device are devices with different accounts, the second electronic device may periodically display the first mark. When the second electronic device receives the connection request information sent by the first electronic device, the period during which the second electronic device displays the first mark may be shortened. Of course, the second electronic device may also continuously display the first mark.
[0020] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: displaying a second mark on the peripheral device of the viewfinder interface according to the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potentially available device for the first data.
[0021] Based on the above solution, the first electronic device can also mark potential available devices on the viewfinder interface according to the type of the first data to prompt the user to select available peripheral devices, thereby improving the efficiency of the user in selecting peripheral devices.
[0022] In combination with the first aspect, in some implementations of the first aspect, before the first electronic device sends the first data to the opposite device, the method further includes: determining the opposite device from the at least one surrounding device based on the area where the second operation is located.
[0023] Exemplarily, the area where the second operation is performed is the release location of the first data.
[0024] Based on the above solution, the first electronic device can determine a peer device from at least one peripheral device. The peer device, acting as the target device, receives the first data and processes the first data. Processing the first data can include displaying, pasting, or sending the data. This method of determining the peer device based on user operations on the interactive interface is more convenient and improves data transmission efficiency.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the at least one peripheral device includes a first peripheral device and a second peripheral device, wherein the determining the opposite device from the at least one peripheral device based on the area where the second operation is located includes: when the area where the second operation is located overlaps with the hot zone of the first peripheral device, determining the first peripheral device as the opposite device; when the area where the second operation is located overlaps with the hot zone of the second peripheral device, determining the second peripheral device as the opposite device.
[0026] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: when the area where the second operation is located overlaps with the hot zone of the first peripheral device and overlaps with the hot zone of the second peripheral device, in response to the user's third operation of the third mark on the first peripheral device, determining that the first peripheral device is the opposite device; or in response to the user's third operation of the fourth mark on the second peripheral device, determining that the second peripheral device is the opposite device.
[0027] It should be noted that the first electronic device determines the peer device based on the overlapping relationship between the release location of the first data and the hot zone of the surrounding device. When the release location of the first data overlaps with the hot zone of a surrounding device, the first electronic device determines that the surrounding device is the peer device. When the release location of the first data overlaps with the hot zones of multiple surrounding devices, the first electronic device determines one of the surrounding devices as the peer device based on the user's selection operation. The user's selection operation can be understood as the user clicking the third mark of the first surrounding device or the user clicking the fourth mark of the second surrounding device.
[0028] Based on the above solution, the first electronic device can determine the opposite device according to the release location of the data to be transmitted, which simplifies the steps of determining the opposite device, saves the process of determining the opposite device, and further improves the efficiency of data transmission.
[0029] In a second aspect, a method for transmitting data is provided, which is applied to a third electronic device, and the method includes: displaying the first data in response to receiving first data from a first electronic device; wherein, displaying the first data includes: displaying a thumbnail of the first data on a first interface of the third electronic device, the first interface being a default path for the first data; or displaying the first data on a second interface of the third electronic device, the second interface being an interface of a first application of the third electronic device, the first application being an application for processing the first data.
[0030] For example, the third electronic device can be understood as the peer device. The first interface of the third electronic device can be understood as the interface corresponding to the default path for storing the data to be transmitted. The data to be transmitted can be directly displayed or pasted on the interface of the first application, or sent through the first application.
[0031] Based on the above solution, after receiving the data to be transmitted, the peer device can display it on the peer device, which is convenient for the user to directly obtain the first data through the user interface of the peer device. After the data is transmitted, the user can process the data on the peer device.
[0032] In combination with the second aspect, in certain implementations of the second aspect, before displaying the first data, the method further includes: displaying first prompt information, where the first prompt information is used to prompt the user to confirm displaying the first data on the third electronic device.
[0033] For example, when the peer device and the local device are devices with different accounts, the user can confirm on the peer device whether the peer device receives data from the local device.
[0034] Based on the above solution, before the peer device displays the first data, the user can confirm whether to receive the first data on the peer device. Once the user confirms receiving the first data on the peer device, the first data can be displayed on the peer device. This provides a way for the user to choose whether to receive the data to be transmitted, avoiding data congestion or resource waste caused by directly displaying unfiltered data on the peer device.
[0035] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: sending the account information of the third electronic device and the location information of the third electronic device to the first electronic device, wherein the account information of the third electronic device and the location information of the third electronic device are used to determine at least one surrounding device, and the third electronic device belongs to the at least one surrounding device.
[0036] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: in response to receiving connection request information from the first electronic device, displaying a first mark, the first mark being used to determine at least one surrounding device, to which the third electronic device belongs.
[0037] According to a third aspect, a system for transmitting data is provided, comprising a first electronic device and a second electronic device, wherein the first electronic device displays first data, and the first electronic device is configured to open a viewfinder interface in response to a first operation of a user on the first data, wherein the viewfinder interface includes at least one peripheral device; the first electronic device is further configured to send the first data to a peer device in response to a second operation of the user on the first data, wherein the first data is displayed by the user on the peer device; and the second electronic device displays the first data in response to receiving the first data from the first electronic device, wherein the second electronic device includes the at least one peripheral device, and the at least one peripheral device includes the peer device.
[0038] In combination with the third aspect, in some implementations of the third aspect, the viewfinder interface includes at least one of the second electronic devices, and the first electronic device is further configured to determine the at least one surrounding device from the at least one second electronic device.
[0039] In combination with the third aspect, in certain implementations of the third aspect, the first electronic device is further used to determine the at least one surrounding device from at least one of the second electronic devices based on at least one of the following: a device type of at least one of the second electronic devices, account information of at least one of the second electronic devices, and location information of at least one of the second electronic devices; the second electronic device is further used to send the account information of the second electronic device and the location information of the second electronic device to the first electronic device.
[0040] In combination with the third aspect, in some implementations of the third aspect, the first electronic device is further configured to identify a device type of at least one of the second electronic devices on the viewfinder interface.
[0041] In combination with the third aspect, in certain implementations of the third aspect, the first electronic device is further used to send a connection request message in response to the opening of the viewfinder interface; the second electronic device is further used to display a first mark in response to receiving the connection request message from the first electronic device; the first electronic device is further used to scan the first mark of at least one of the second electronic devices on the viewfinder interface; the first electronic device is further used to determine the at least one surrounding device based on the first mark of at least one of the second electronic devices.
[0042] In combination with the third aspect, in certain implementations of the third aspect, the first electronic device is further used to display a second mark on the peripheral device of the viewfinder interface based on the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potentially available device for the first data.
[0043] In combination with the third aspect, in some implementations of the third aspect, the first electronic device is further used to determine the opposite-end device from the at least one peripheral device based on the area where the second operation is located.
[0044] In combination with the third aspect, in certain implementations of the third aspect, the at least one peripheral device includes a first peripheral device and a second peripheral device. When the area where the second operation is located overlaps with the hot zone of the first peripheral device, the first electronic device is also used to determine that the first peripheral device is the opposite device; when the area where the second operation is located overlaps with the hot zone of the second peripheral device, the first electronic device is also used to determine that the second peripheral device is the opposite device.
[0045] In combination with the third aspect, in certain implementations of the third aspect, when the area where the second operation is located overlaps with the hot zone of the first peripheral device and overlaps with the hot zone of the second peripheral device, the first electronic device is further used to respond to the user's third operation of the third mark on the first peripheral device, and determine that the first peripheral device is the opposite device; or the first electronic device is further used to respond to the user's third operation of the fourth mark on the second peripheral device, and determine that the second peripheral device is the opposite device.
[0046] In a fourth aspect, a device for transmitting data is provided, which is a device, or a device having some or all of the functions of a device. The device displays first data, and the device includes: a processing module, which is used to respond to a first operation of a user on the first data, and the first electronic device opens a viewfinder interface, and the viewfinder interface includes at least one peripheral device; in response to a second operation of the user on the first data, the first electronic device sends the first data to an opposite device, and the first data is used for display on the opposite device, and the opposite device belongs to the at least one peripheral device.
[0047] In combination with the fourth aspect, in some implementations of the fourth aspect, the viewfinder interface includes at least one second electronic device, and the processing module is further used to determine the at least one peripheral device from the at least one second electronic device.
[0048] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing module is further used to determine the at least one peripheral device from the at least one second electronic device based on at least one of the following: the device type of the at least one second electronic device, the account information of the at least one second electronic device, and the location information of the at least one second electronic device.
[0049] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing module is further configured to identify a device type of the at least one second electronic device on the viewfinder interface.
[0050] In combination with the fourth aspect, in certain implementations of the fourth aspect, the device also includes a transceiver module, which is further used to send a connection request message in response to the opening of the viewfinder interface; the at least one second electronic device displays a first mark, and the processing module is further used to scan the first mark of the at least one second electronic device on the viewfinder interface; and determine the at least one surrounding device based on the first mark of the at least one second electronic device.
[0051] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing module is further used to display a second mark on the peripheral device of the viewfinder interface according to the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potentially available device for the first data.
[0052] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing module is further configured to determine the opposite-end device from the at least one peripheral device based on the area where the second operation is located.
[0053] In combination with the fourth aspect, in certain implementations of the fourth aspect, the at least one peripheral device includes a first peripheral device and a second peripheral device, and the processing module is further used to determine that the first peripheral device is the opposite device when the area where the second operation is located overlaps with the hot zone of the first peripheral device; the processing module is further used to determine that the second peripheral device is the opposite device when the area where the second operation is located overlaps with the hot zone of the second peripheral device.
[0054] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing module is further used to determine that the first peripheral device is the opposite device in response to the user's third operation of the third mark on the first peripheral device when the area where the second operation is located overlaps with the hot zone of the first peripheral device and overlaps with the hot zone of the second peripheral device; or the processing module is further used to determine that the second peripheral device is the opposite device in response to the user's third operation of the fourth mark on the second peripheral device.
[0055] In a fifth aspect, a device for transmitting data is provided, which includes a device, or a device having some or all of the functions of the device, and the device includes a processing module, which is used to display the first data in response to receiving first data from a first electronic device; wherein, to display the first data, the processing module is specifically used to display a thumbnail of the first data on a first interface of a third electronic device, and the first interface is a default path for the first data; or to display the first data on a second interface of the third electronic device, and the second interface is an interface of a first application of the third electronic device, and the first application is an application that processes the first data.
[0056] In combination with the fifth aspect, in certain implementations of the fifth aspect, the processing module is further used to display a first prompt message, where the first prompt message is used to prompt the user to confirm displaying the first data on the third electronic device.
[0057] In combination with the fifth aspect, in certain implementations of the fifth aspect, the device also includes a transceiver module, which is used to send the account information of the third electronic device and the location information of the third electronic device to the first electronic device, wherein the account information of the third electronic device and the location information of the third electronic device are used to determine at least one surrounding device, and the third electronic device belongs to the at least one surrounding device.
[0058] In combination with the fifth aspect, in certain implementations of the fifth aspect, the processing module is further used to display a first mark in response to receiving a connection request information from the first electronic device, where the first mark is used to determine at least one peripheral device, and the third electronic device belongs to the at least one peripheral device.
[0059] In a sixth aspect, a device for transmitting data is provided, comprising: a processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program, so that the device for transmitting data executes the method as in the first aspect and any possible implementation thereof, or so that the device for transmitting data executes the method as in the second aspect and any possible implementation thereof.
[0060] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the apparatus further includes one or more of the memory and the transceiver, the transceiver being configured to receive a signal and / or send a signal.
[0061] In the seventh aspect, a computer-readable storage medium is provided, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the method in the first aspect and any possible implementation thereof is executed, or the method in the second aspect and any possible implementation thereof is executed.
[0062] In an eighth aspect, a computer program product is provided, which includes a computer program or instructions, which, when run on a computer, causes the method in the first aspect and any possible implementation thereof to be executed, or causes the method in the second aspect and any possible implementation thereof to be executed.
[0063] In a ninth aspect, a computer program is provided, which, when run on a computer, enables the method in the first aspect and any possible implementation thereof to be executed, or enables the method in the second aspect and any possible implementation thereof to be executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
[0065] FIG2 is a block diagram of the software structure of the electronic device provided in an embodiment of the present application.
[0066] FIG3 is a schematic diagram of a scenario in which the data transmission method provided in an embodiment of the present application is applicable.
[0067] FIG4 is a flow chart of a method for transmitting data provided in an embodiment of the present application.
[0068] FIG5 is a schematic diagram of a framing interface prompting potentially available devices provided by an embodiment of the present application.
[0069] FIG6 is a flow chart of a method for identifying peripheral devices provided in an embodiment of the present application.
[0070] FIG7 is a flow chart of a method for identifying peripheral devices provided in an embodiment of the present application.
[0071] FIG8 is a flow chart of a method for determining a peer device provided in an embodiment of the present application.
[0072] FIG9 is a schematic diagram of displaying data on a peer device provided by an embodiment of the present application.
[0073] FIG10 is a schematic flowchart of a method for transmitting data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0075] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of this application and the appended claims, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0076] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0077] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer. In some other embodiments, the electronic device may be an instrument for measurement, such as an oscilloscope.
[0078] 1 shows a schematic structural diagram of an electronic device 100. 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, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0079] It should be understood that the structures illustrated in the embodiments of the present application 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 fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0080] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0081] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0082] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0083] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0084] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0085] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0086] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process 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 convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0087] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0088] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate 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, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0089] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include 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, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0090] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects 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 modify display information.
[0091] 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0092] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0093] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0094] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0095] The 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.
[0096] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0097] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0098] 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. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0099] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0100] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0101] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0102] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0103] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0104] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0105] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the alarm application icon, the instruction to create a new alarm is executed.
[0106] Fingerprint sensor 180H is used to collect fingerprints. Electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, and so on. For example, when the phone detects a user's touch operation on the lock screen, the phone can collect the user's fingerprint information through fingerprint sensor 180H and match the collected fingerprint information with the fingerprint information pre-set in the phone. If the match is successful, the phone can enter the non-lock screen interface from the lock screen interface.
[0107] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. 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 touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0108] Figure 2 is a software structure diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer, from top to bottom. The application layer can include a series of application packages.
[0109] As shown in Figure 2, the application layer may include camera, settings, skin modules, user interface (UI), third-party applications, etc. Among them, third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0110] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer may include some predefined functions.
[0111] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0112] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.
[0113] The view system includes visual controls, such as controls for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views.
[0114] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0115] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0116] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0117] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0118] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0119] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0120] The system library can include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).
[0121] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0122] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0123] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0124] A 2D graphics engine is a drawing engine for 2D drawings.
[0125] In addition, the system library can also include status monitoring service modules, such as a physical status recognition module for analyzing and identifying user gestures; a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0126] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0127] The hardware layer may include various sensors, such as the various sensors described in FIG1 .
[0128] In conjunction with the electronic devices described in Figures 1 and 2 above, in the embodiments of the present application, the electronic devices may be smart devices such as mobile phone terminals, tablet computers, and smart screens. The physical components involved in the electronic device 100 mainly include hardware components such as sensors, decision support systems (DSS) display chips, touch screens, and fingerprint recognition modules; as well as kernel software layers such as screen management modules, display drivers, fingerprint drivers, and anti-mistouch; application framework layer functions such as anti-mistouch input, screen control, always on display (AOD) services, and power management; and application layer services such as special adaptation applications (cameras), third-party applications, system hibernation, and AOD.
[0129] With the development of science and technology, users can collaboratively process tasks through electronic devices such as smartphones, tablets, personal computers, and smart screens. In order to facilitate the flow or transmission of tasks between various smart devices, for example, specific data can be transmitted by logging into the same application on two electronic devices, or by using the communication function of the electronic device itself. If transmitted through an application, each electronic device needs to have the same application installed, and the specific transmission process is relatively cumbersome, and efficient data transmission cannot be achieved. The method of using the communication function of an electronic device for data transmission is limited to the specific device design of the electronic device or to other cumbersome operating procedures, and it is also impossible to achieve more efficient data transmission.
[0130] Therefore, in response to the above technical problems, an embodiment of the present application provides a method for transmitting data, which triggers the cross-device transmission function through the user's operation on transmitting data, and uses the electronic device's framing interface to identify peripheral devices and realize data transmission.
[0131] In this application, the framing interface refers to the interface where the object to be photographed can be seen from the display screen of the electronic device after the camera of the electronic device is turned on. It can also be called the "preview interface", "shooting interface", etc. This application does not limit the name.
[0132] As shown in Figure 3, a schematic diagram of a scenario in which the method for transmitting data provided in an embodiment of the present application can be applied is shown. This scenario includes multiple electronic devices, for example, a smart screen 310, a personal computer 320, a smart phone 330, and a tablet computer 340. The direction of the arrows in Figure 3 can represent the direction of data transmission between electronic devices. For example, the smart phone 330 can transmit data to the smart screen 310, the personal computer 320, and the tablet computer 340, and the specific content of the data, such as files, pictures, videos, etc., can be displayed on the screens of the smart screen 310, the personal computer 320, and the tablet computer 340.
[0133] For ease of understanding, Figure 4 shows a schematic diagram of a data transmission process provided by an embodiment of the present application. The following describes the data transmission process using a smartphone to a smart screen as an example.
[0134] As shown in Figure 4 (a), the photo interface of a smartphone is shown. The photo interface includes multiple images, such as image 401. The bottom of the photo interface includes four control information: photos, albums, moments, and discovery controls. A control is a visual graphical interface element presented to the user. It is a software component included in an application that controls the data processed by the application and the interactive operations related to this data. Users can interact with the control through operations such as touching and sliding to read and edit relevant information of the application. Generally speaking, controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, and status bars. In response to user operations on different controls (e.g., touching or clicking), different interfaces can be displayed on the screen of the electronic device. The current display interface shows the display interface corresponding to the photo control. This interface displays today's images and yesterday's images. In response to the user dragging image 401 to the right edge of the photo interface and holding it for a certain threshold time, the smartphone can display the graphical user interface (GUI) shown in Figure 4 (b).
[0135] As shown in (b) of Figure 4, in response to the user dragging the picture 401 to the right edge of the display interface and maintaining the operation for a certain time threshold, the smartphone displays the framing interface. The framing interface can be a smartphone turning on the camera and displaying the surrounding information obtained by the camera. For example, when there is a smart screen around the smartphone, the framing interface of the smartphone displays the smart screen 402 and the picture thumbnail 403. In response to the user releasing the picture thumbnail 403, the smartphone can display the GUI shown in (c) of Figure 4. Among them, the picture thumbnail 403 is a thumbnail of the picture 401.
[0136] As shown in Figure 4(c), in response to the user releasing image thumbnail 403, the smart screen displays image 401. Simultaneously, image 401 is also displayed on smart screen 402 in the smartphone's viewfinder interface. When image 401 is displayed on the smart screen, the data transfer process is complete. The user can view image 401 on the smart screen's interactive interface.
[0137] According to the above description of the main process of data transmission in FIG4 , the method for transmitting data provided in the embodiment of the present application is mainly divided into the following steps:
[0138] Step 1: Open the viewfinder interface.
[0139] For example, as shown in Figure 4 (a), a user can trigger the opening of the smartphone's viewfinder interface by dragging the data to be transferred (e.g., image 401) to the edge of the smartphone and holding it for a certain time threshold. The specific form of the data to be transferred can be video, pictures, files, etc., which is not limited in this application.
[0140] It should be noted that the smartphone shown in Figure 4 can be understood as the local device, and the smart screen can be understood as the peer device. The data to be transmitted can be transmitted from the local device to the peer device. This application does not limit the number of peer devices, and the local device can transmit data to one or more peer devices.
[0141] For example, the local device may be provided with a viewfinder interface control, and in response to the user clicking the viewfinder interface control, the viewfinder interface may be opened. This application does not limit the specific method of triggering the viewfinder interface to open, including but not limited to the dragging method shown in FIG4 .
[0142] For example, the viewfinder interface may display a thumbnail of the data to be transmitted, wherein the thumbnail may be a picture thumbnail 403 as shown in (b) of FIG4 . The viewfinder interface may also display peripheral devices, such as the smart screen shown in FIG4 .
[0143] It should be noted that, generally speaking, before the local device opens the viewfinder interface, it will display the current interface, which can be the interface of a certain application. The process of the local device opening the viewfinder interface can be understood as the process of the local device switching from the current interface to the viewfinder interface. This application does not limit the specific method of switching.
[0144] Step 2: Identify peripheral devices.
[0145] For example, when the local device opens the viewfinder interface, the function of transmitting data across devices is also turned on simultaneously. The local device can send request information to other devices around the local device to request other devices to trigger the connection function and / or positioning function. The local device needs to filter out one or more devices from one or more surrounding devices as peripheral devices. The opposite device mentioned above belongs to one or more peripheral devices, and the opposite device can be understood as the target device for data transmission.
[0146] The following describes several ways to identify peripheral devices.
[0147] Method 1: The local device can prompt potential available devices on the viewfinder interface based on the type of data to be transmitted.
[0148] As shown in Figure 5, a way of prompting potential available devices in a framing interface is shown. For example, when the type of data to be transmitted is a picture as shown in Figure 4, the potential available devices may be a tablet computer and a smart screen in the framing interface. Therefore, in the framing interface, a "tablet" label and a "smart screen" label may be displayed next to the tablet computer and the smart screen, respectively. The label can be used to prompt the user that the device corresponding to the label is a potential available device, and then prompt the user that the data of the data type to be transmitted can be transmitted to the corresponding potential available device and displayed, played or other processing tasks performed on the potential available device. If the framing interface also includes other devices besides potential available devices (for example, smart speakers), the label may not be displayed next to the device to remind the user that the device is not a potential available device. For another example, when the type of data to be transmitted is a video, the tablet computer, smart screen or personal computer in the framing interface can be marked as a potential available device. For another example, when the type of data to be transmitted is a file, the tablet computer, smart screen, personal computer or printer in the framing interface can be marked as a potential available device. The identified potential available devices can be used as a reference for the local device to identify surrounding devices.
[0149] In the first method, the local device can screen potential available devices from other surrounding devices according to the type of data to be transmitted, providing a reference for the local device to identify surrounding devices, thereby improving the efficiency of determining the opposite device.
[0150] Method 2: The local device identifies other devices around it based on their form factors, such as personal computers, tablets, and smart screens.
[0151] It's important to note that the accuracy of identifying surrounding devices based on their form is generally low. While the form of a device can often identify the type of surrounding device, it's difficult to identify the specific device. When multiple devices with similar forms appear within the local device's viewfinder, it can be difficult for the local device to determine which device or devices are considered peripherals.
[0152] In one implementation, when the local device identifies other devices based on their device form, it can further determine whether the device and the local device are devices with the same account or the same user. The local device can identify other devices with the same account as the local device as peripheral devices.
[0153] In one implementation, when the local device identifies other devices in the surrounding area based on their device form, the local device can further determine whether the devices are in the same area as the local device using positioning technologies such as the global positioning system (GPS), Wi-Fi, or Bluetooth. The local device can identify other devices in the same area as the local device as peripheral devices.
[0154] It should be noted that when the local device identifies other devices by device form, it can determine whether the device is a peripheral device by combining the account information of other devices and / or the location information of other devices and the local device. For example, in the viewfinder interface, there may be multiple smart screens with the same account as the local device. The local device uses the location information and account information to identify smart screens with the same account and located in the same area as the local device as peripheral devices.
[0155] For example, Figure 6 shows an implementation method of identifying other surrounding devices by device form in this application. As shown in Figure 6, the smartphone opens the framing interface, and identifies the surrounding devices as two smart screens with similar forms based on the device form in the framing interface. Through positioning technology, the local device determines that one smart screen (the smart screen on the left in Figure 6) is located in the living room, and the other smart screen (the smart screen on the right in Figure 6) and the local device are both located in the bedroom. A prompt box 601 can be displayed around the smart screen located in the bedroom in the framing interface, and the prompt box 601 is used to indicate that the smart screen located in the bedroom can be selected as a peripheral device.
[0156] Furthermore, the local device can also detect the account information of the smart screen located in the bedroom. When the smart screen and the local device are the same account, the local device can select the smart screen as the peer device to transmit data.
[0157] In one implementation, method 2 can be combined with method 1. When the smartphone opens the viewfinder interface, the viewfinder interface can not only display other surrounding devices as shown in Figure 6, but also display labels next to potential available devices based on the type of data to be transmitted. For example, when the data to be transmitted is a picture, the "Smart Screen" label can be displayed next to the two smart screens displayed on the viewfinder interface of the smartphone as shown in Figure 6, that is, both smart screens are potential available devices.
[0158] Method 3: The local device identifies the surrounding devices based on the clear code or hidden code.
[0159] For example, after the local device opens the viewfinder interface, it sends a connection request message to other nearby devices. Based on the connection request message, the nearby devices display a clear code or a hidden code. The local device identifies the surrounding devices by identifying the clear code or hidden code displayed by the nearby devices. The clear code can be a QR code or a dynamic code, and the hidden code can be a digital watermark.
[0160] 7 , several specific implementations of the third method are introduced below.
[0161] In one implementation, a local device opens a viewfinder interface that displays surrounding devices. In response to a connection request from the local device, the surrounding devices display a hidden code. The local device scans the hidden code to identify the device as a surrounding device and establishes a connection with the surrounding device.
[0162] For example, (a) in Figure 7 shows the local device smartphone and the smart screens of other devices around it. Among them, the smart screen is in the bright screen state. The user drags the thumbnail 701 to the edge of the smartphone, triggering the smartphone to open the viewfinder interface. The smart screen is in the bright screen state and displays a hidden code (not shown in the figure). When the smartphone scans the hidden code in the viewfinder interface, the smartphone can connect to the smart screen.
[0163] In one implementation, a local device opens a viewfinder interface that displays surrounding devices. In response to a connection request from the local device, the surrounding devices display a plain code (e.g., a QR code). The local device scans the plain code to identify the device as a surrounding device and establishes a connection with the surrounding device.
[0164] For example, (b) in Figure 7 shows the local device smartphone and other surrounding devices smart screens. Among them, the smart screen is in the bright screen state. The user drags the thumbnail 701 to the edge of the smartphone, triggering the smartphone to open the viewfinder interface. The smart screen is in the bright screen state and displays a QR code 702. When the smartphone scans the QR code in the viewfinder interface, the smartphone can connect to the smart screen.
[0165] In one implementation, a local device opens a viewfinder interface that displays surrounding devices. In response to a connection request from the local device, the surrounding devices display a dynamic code. The local device scans the dynamic code to identify the device as a surrounding device and establishes a connection with the surrounding device.
[0166] For example, (c) in Figure 7 shows the local device smartphone and the smart screens of other devices around it. Among them, the smart screen is initially turned on and the screen is off. The user drags the thumbnail 701 to the edge of the smartphone, triggering the smartphone to open the viewfinder interface. Subsequently, the screen of the smart screen lights up and displays a dynamic code 703. When the smartphone scans the dynamic code in the viewfinder, the smartphone can be connected to the smart screen. In response to the user releasing the thumbnail 701, the picture 704 corresponding to the thumbnail 701 is displayed on the smart screen.
[0167] In one implementation, the user manually causes other devices around to display a clear code or a hidden code, so that the local device can scan the code to identify the device as a peripheral device and connect to the peripheral device.
[0168] For example, Figure 7 (d) shows other smart screens in the surrounding area. The smart screen displays an account center interface. The interface includes personal information, account security, help, and customer service options. In response to the user clicking the personal information option 705, the smart screen may display a QR code 706. When the smartphone scans the QR code 706 in the viewfinder interface, the smartphone can connect to the smart screen.
[0169] It should be noted that the peripheral device can be a device with the same account as the local device, or a device with a different account from the local device. Among them, the peripheral device with the same account as the local device can also be understood as a device that has been authorized by the local device. When the peripheral device has the same account as the local device, the peripheral device can continuously display the plain code or hidden code. When the peripheral device has a different account from the local device, the peripheral device can continuously display the plain code or hidden code, or the peripheral device can periodically display the plain code or hidden code. When the peripheral device receives a connection request message from the local device, the period for the peripheral device to display the plain code or hidden code can be appropriately shortened. This is because the peripheral device with a different account from the local device cannot determine when the local device needs to transmit data. The periodic display of the plain code or QR code by the peripheral device can reduce the power consumption of the peripheral device to a certain extent and save resources.
[0170] It should be noted that during the above process of the local device identifying the peripheral device, the peripheral device can be in the screen-on state or the screen-off state. In other words, regardless of whether the peripheral device has the screen on, the peripheral device can respond to the connection request information from the local device by displaying a clear code or a hidden code.
[0171] In one implementation, method 3 can be combined with method 1. The smartphone's viewfinder interface can not only display other surrounding devices as shown in FIG7 , and the clear or hidden codes displayed on other surrounding devices, but can also display labels next to potential available devices based on the type of data to be transmitted, etc.
[0172] It should be noted that the above-mentioned methods 1, 2, and 3 can be independent methods for the local device to identify peripheral devices, or can be combined to identify peripheral devices. The above-mentioned three methods for identifying peripheral devices are merely exemplary. Other methods that can be easily conceived or replaced by those skilled in the art based on these three methods also fall within the scope of protection of this application.
[0173] Step 3: Determine the peer device.
[0174] For example, after the local device identifies one or more surrounding devices, it can determine the peer device based on the release location of the data to be transmitted. The peer device is a surrounding device, and the local device can transmit data to the peer device and process the data on the peer device.
[0175] 8 , the following describes in detail how to determine the peer device in several situations.
[0176] In one implementation, when there is a peripheral device in the viewfinder interface of the local device, the peripheral device is the opposite device.
[0177] For example, as shown in (a) of FIG8 , the viewfinder interface of the local device only has one peripheral device, a smart screen, and a "Smart Screen" label may be displayed next to the smart screen. The user can release data to be transmitted 801 at any location, and the data to be transmitted can be transmitted to the smart screen, which is the peer device.
[0178] In one implementation, when there are multiple peripheral devices or peripheral device identifiers in the viewfinder interface of the local device, each peripheral device is provided with a hot zone. The hot zone can be understood as a circular area with the center position of the peripheral device as the center and R as the radius. When the release position of the data to be transmitted is not within the hot zone of any peripheral device, the data to be transmitted will not start to be transmitted. When the release position of the data to be transmitted overlaps with the hot zone of one of the peripheral devices, the peripheral device is the opposite device and can receive the data to be transmitted.
[0179] For example, as shown in (b) of FIG8 , there are two peripheral devices on the viewfinder interface of the local device, namely a smart screen and a tablet computer. Among them, there are hot zones around the smart screen and the tablet computer. The release position of the data to be transmitted 801 does not overlap with the hot zone of the smart screen, nor does it overlap with the hot zone of the tablet computer. When the user releases the data to be transmitted 801, the data to be transmitted 801 will not be displayed on the smart screen or the tablet computer.
[0180] For example, as shown in (c) of FIG8 , the framing interface of the local device has three peripheral devices, namely, a smart screen, a smart speaker, and a tablet. When the release location of the data to be transmitted is not within the hot zone of the three peripheral devices, the framing interface may display the peripheral devices and their labels (see the device identification of the peripheral devices shown in FIG5 ), or the framing interface may display the peripheral devices and a list of peripheral devices 802; or the framing interface may only display the peripheral devices.
[0181] For example, as shown in (d) of FIG8 , there are two peripheral devices on the viewfinder interface of the local device, namely a smart screen and a tablet computer. There are hot zones around the smart screen and the tablet computer. When the release position of the data to be transmitted overlaps with the hot zone of the smart screen, the data to be transmitted is displayed as a thumbnail 803. Thumbnail 803 is the data to be transmitted that has changed in shape or size. When the user releases thumbnail 803, the data to be transmitted can be displayed on the smart screen.
[0182] In one implementation, when multiple peripheral devices or peripheral device identifiers are present in the viewfinder interface of the local device, each peripheral device is provided with a hot zone. When the release location of the data to be transmitted overlaps with the hot zones of multiple peripheral devices, the user needs to select one of the multiple peripheral devices as the peer device.
[0183] Exemplarily, as shown in (e) in Figure 8, there are two peripheral devices in the viewfinder interface of the local device, namely a smart screen and a tablet computer. Among them, there is a hot zone overlap area between the smart screen and the tablet computer. When the release position of the data to be transmitted overlaps with the hot zone overlap area, the data to be transmitted is displayed as a thumbnail 803. When the user releases the thumbnail 803, the viewfinder interface shown in (f) in Figure 8 can be displayed. In the viewfinder interface shown in (f) in Figure 8, the smart screen displays a prompt message 804, and the tablet computer displays a prompt message 805. In response to the user clicking on the prompt message 804, the smart screen is selected as the opposite device, and the prompt message 804 can be highlighted, further prompting the user that the smart screen has been selected as the opposite device. Alternatively, in response to the user clicking on the prompt message 804, the smart screen is selected as the opposite device, and the "Smart Screen" label corresponding to the smart screen can be highlighted to prompt the user that the smart screen has been selected as the opposite device.
[0184] In one implementation, when the viewfinder interface of the local device displays potentially available devices (such as the smart screen and tablet computer in Figure 5) and non-potentially available devices (such as the Bluetooth speaker in Figure 5), the user can further select the peer device to transmit data. When the user selects a non-potentially available device, the viewfinder interface can also display a prompt message to prompt the user that the device cannot be selected or that the device is not suitable for receiving this type of data to be transmitted. When the user selects a potentially available device, the label of the potentially available device can be highlighted to remind the user that the device has been selected to receive the data to be transmitted.
[0185] It should be noted that the above step 3 exemplifies several specific methods for determining a peer device from at least one peripheral device. This embodiment of the application does not limit the specific number of peer devices to be determined, and the local device can determine multiple peer devices from multiple peripheral devices in a similar manner as described above.
[0186] Step 4: Display the data on the peer device.
[0187] Exemplarily, after determining the peer device, the local device may receive data from the peer device and process the data on the peer device, for example, displaying the data on the screen of the peer device or opening the data on the screen of the peer device.
[0188] The following takes displaying data on a peer device, where the data is in the form of a picture, as an example, and combines FIG9 to introduce several specific ways of displaying data on a peer device.
[0189] Method 1: The peer device receives the image from the local device and displays it directly on the screen of the peer device.
[0190] For example, as shown in FIG9 (a), the peer device is a personal computer. In response to the user releasing picture 901, picture 901 may be displayed on the screen of the personal computer, making it convenient for the user to directly obtain data through the interactive interface of the peer device.
[0191] Method 2: The peer device receives the image from the local device and stores it in the default path.
[0192] For example, as shown in (b) of FIG9 , the peer device is a personal computer. In response to the user releasing the picture, the picture is displayed as a thumbnail 902 in the default path “Shared Content” of the personal computer.
[0193] In the third method, the peer device receives the image from the local device and processes it through the application of the peer device.
[0194] For example, as shown in FIG9(c), the peer device is a personal computer with a social networking application open. The current interface of the personal computer is the interface of the social networking application, and the social networking application can directly process the message, such as sending or pasting. The social networking application displays a chat box. In response to the user releasing the image 901, the image 901 is pasted into the chat box and sent.
[0195] In one implementation, when the user accounts of the peer device and the local device are different, the peer device needs to confirm whether to receive the data from the local device before receiving the data transmitted from the local device.
[0196] For example, as shown in Figure 9 (d), the peer device is a personal computer. In response to the user releasing the image, the personal computer displays a prompt box 903, prompting the user to confirm whether to receive the image from device 1 (the local device) via the peer device. When the user clicks the "Receive" control 904, the peer device can process the received image using any of the above methods: Method 1, Method 2, or Method 3.
[0197] As shown in Figure 10, a schematic flow chart of a method for transmitting data provided in an embodiment of the present application is shown. For example, the method can be applied to various electronic devices as shown in Figure 3. The method for transmitting data is described in detail below.
[0198] S1001: In response to a first operation of a user on first data, a first electronic device opens a viewfinder interface.
[0199] For example, the first electronic device can be understood as a local device, such as the smartphone shown in Figure 4. The first electronic device displays first data, which can be understood as data to be transmitted by the local device. This application does not limit the specific form of the first data, such as files, pictures, videos, etc.
[0200] For example, the user's first operation on the first data may be dragging the first data to an edge of the first electronic device and holding the first data for a predetermined time. This operation may trigger the opening of a viewfinder interface of the first electronic device. The first electronic device may also be provided with a viewfinder interface control. In response to the user clicking the viewfinder interface control, the first electronic device opens the viewfinder interface. In other words, the embodiments of the present application do not limit the specific method for triggering the opening of the viewfinder interface.
[0201] It should be noted that when the first operation is that the user drags to the edge of the first electronic device and maintains a certain time threshold, the steps for opening the viewfinder interface of the first electronic device are simplified, the cost of the user learning to open the viewfinder interface is reduced, and the data transmission process is smoother and more convenient.
[0202] S1002: In response to a second operation performed by a user on the first data, the first electronic device sends the first data to a peer device.
[0203] Exemplarily, the viewfinder interface includes at least one peripheral device. The first data is used for display on the peer device, and the peer device data is at least one peripheral device. In other words, the peer device can be understood as the target device for transmitting the first data. For example, the peer device can be the smart screen shown in Figure 4.
[0204] Exemplarily, the second operation of the user may be that the user releases the first data dragged to the edge of the first electronic device.
[0205] In one implementation, the viewfinder interface includes at least one second electronic device, and the first electronic device determines at least one surrounding device from the at least one second electronic device. Several methods for the first electronic device to determine the surrounding device will be described in detail below.
[0206] First, the first electronic device determines at least one surrounding device from at least one second electronic device based on at least one of the following: device type of at least one second electronic device, account information of at least one second electronic device, and location information of at least one second electronic device.
[0207] Correspondingly, the third electronic device sends its account information and location information to the first electronic device. The third electronic device can be understood as the second electronic device, the account information of the third electronic device can be understood as the account information of the second electronic device, and the location information of the third electronic device can be understood as the location information of the second electronic device.
[0208] In one implementation, the first electronic device identifies a device type of at least one second electronic device on a viewfinder interface.
[0209] It should be noted that the first electronic device can identify the device form through the viewfinder interface, thereby obtaining the device type of at least one second electronic device.
[0210] Exemplarily, the first electronic device obtains the device form through the viewfinder interface, thereby determining the device type of the second electronic device. The first electronic device obtains the account information of the second electronic device, and determines whether the first electronic device and the second electronic device are devices of the same account or the same user. The first electronic device determines whether the first electronic device and the second electronic device are in the same area through positioning technologies such as GPS, Wi-Fi or Bluetooth. When the second electronic device and the first electronic device are devices of the same account, and the second electronic device and the first electronic device are in the same area, the first electronic device determines that the second electronic device is a peripheral device, and can also determine the device type of the peripheral device, such as a smart screen, a personal computer, etc. The specific implementation method is as described above in Figure 6, and will not be repeated here.
[0211] Second, in response to opening a viewfinder interface, the first electronic device sends a connection request message; at least one second electronic device displays a first marker; the first electronic device scans the first marker of the at least one second electronic device on the viewfinder interface; and determines at least one surrounding device based on the first marker of the at least one second electronic device.
[0212] Exemplarily, the first mark is a plain code or a hidden code displayed by the second electronic device, and the plain code may be a QR code or a dynamic code.
[0213] Accordingly, the third electronic device displays the first mark in response to receiving the connection request information from the first electronic device. The third electronic device can be understood as the second electronic device.
[0214] It should be noted that the second electronic device receives the connection request information sent from the first electronic device and displays the first mark on the second electronic device based on the connection request information. The first electronic device can scan the mark through the viewfinder interface to identify the second electronic device and determine that the second electronic device is a peripheral device. The specific implementation method is as described above in Figure 7 and will not be repeated here.
[0215] Third, the first electronic device displays a second mark on the peripheral device of the viewfinder interface according to the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potentially available device.
[0216] Exemplarily, the second tag is a device tag as shown in FIG5 . For example, when the type of the first data is an image, the second tags "Smart Screen" and "Tablet" can be displayed next to the peripheral devices, namely, a smart screen and a tablet, respectively, to prompt the user that the smart screen and tablet can process the first data.
[0217] It should be noted that the above three methods for the first electronic device to determine the surrounding devices are only exemplary descriptions, and the first electronic device can combine the above three methods to determine the surrounding devices.
[0218] In one implementation, before the first electronic device sends the first data to the opposite device, the first electronic device determines the opposite device from at least one surrounding device according to the area where the second operation is performed.
[0219] For example, the area where the second operation is performed can be understood as the release location of the first data. The first electronic device determines the opposite device from at least one surrounding device according to the release location of the first data.
[0220] Exemplarily, the at least one peripheral device includes a first peripheral device and a second peripheral device.
[0221] In one implementation, when the second operation area overlaps with the hot zone of the first peripheral device, the first peripheral device is determined to be the opposite device; when the second operation area overlaps with the hot zone of the second peripheral device, the second peripheral device is determined to be the opposite device.
[0222] That is, when the area where the second operation is located overlaps with the hot zone of any peripheral device, the first electronic device determines that the peripheral device is a peer device.
[0223] In one implementation, when the area where the second operation is located overlaps with the hot zone of the first surrounding device and overlaps with the hot zone of the second surrounding device, in response to the user's third operation on the third mark of the first surrounding device, the first surrounding device is determined to be the opposite device; or in response to the user's third operation on the fourth mark of the second surrounding device, the second surrounding device is determined to be the opposite device.
[0224] Exemplarily, the third mark of the first surrounding device is the prompt information 804 as shown in (f) of FIG. 8 , and the fourth mark of the second surrounding device is the prompt information 805 as shown in (f) of FIG. 8 .
[0225] That is, when the area where the second operation is located overlaps with the hot zones of multiple peripheral devices, the user needs to further select one of the multiple peripheral devices as the opposite-end device.
[0226] It should be noted that the above is only an exemplary description of a method of determining a peer device from at least one peripheral device. It is also possible to determine multiple peer devices from multiple peripheral devices to receive the first data and process the first data.
[0227] In one implementation, the third electronic device displays the first data in response to receiving the first data from the first electronic device. The third electronic device can be understood as the aforementioned peer device.
[0228] Specifically, a thumbnail of the first data can be displayed on the first interface of the third electronic device, and the first interface is the default path of the first data. In other words, the peer device can store the first data in the default path, and the first data can be displayed as a thumbnail in the default path.
[0229] Specifically, the first data can be displayed on the second interface of the third electronic device, where the second interface is the interface of a first application of the third electronic device, and the first application is the application that processes the first data. In other words, the peer device displays the interface of the application, and the application can process the first data, such as sending or pasting.
[0230] In one implementation, before the third electronic device displays the first data, the third electronic device displays first prompt information, where the first prompt information is used to prompt the user to confirm displaying the first data on the third electronic device.
[0231] For example, the first prompt information may be a prompt box 903 as shown in (d) of Figure 9. That is, before displaying the data on the peer device, the user may further confirm whether to display the transmitted data on the peer device.
[0232] A method for transmitting data provided in an embodiment of the present application simplifies the process of determining the target device for transmitting data, while avoiding the problem that the transmitted data needs to be limited to a certain application, achieving more efficient data transmission, and improving the user experience of transferring data between various electronic devices.
[0233] The embodiments of the present application provide a computer program product that, when executed on a device (including a first electronic device, a second electronic device, or a third electronic device), causes the device to execute the technical solutions in the above embodiments. The implementation principles and technical effects are similar to those in the above method-related embodiments and will not be further elaborated here.
[0234] The present embodiment provides a readable storage medium containing instructions that, when executed on a device, cause the device to execute the technical solution of the above embodiment. The implementation principles and technical effects are similar and will not be further described here.
[0235] The present application provides a chip for executing instructions. When the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar and will not be described in detail here.
[0236] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of this application.
[0237] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units (modules) can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0238] In the several embodiments provided in this application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the unit is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0239] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0240] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0241] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0242] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for transmitting data, characterized in that: The method is applied to a first electronic device, where the first electronic device displays first data, and the method includes: In response to a first operation of the user on the first data, the first electronic device opens a viewfinder interface, where the viewfinder interface includes at least one peripheral device; In response to a second operation of the user on the first data, the first electronic device sends the first data to a peer device, where the first data is used for display on the peer device, and the peer device belongs to the at least one peripheral device.
2. The method according to claim 1, characterized in that The viewfinder interface includes at least one second electronic device, and the method further includes: The at least one surrounding device is determined from the at least one second electronic device.
3. The method according to claim 2, characterized in that The determining at least one surrounding device from the at least one second electronic device comprises: The at least one surrounding device is determined from the at least one second electronic device according to at least one of the following: The device type of the at least one second electronic device, the account information of the at least one second electronic device, and the location information of the at least one second electronic device.
4. The method according to claim 3, characterized in that The method further comprises: The device type of the at least one second electronic device is identified in the viewfinder interface.
5. The method according to claim 2, characterized in that: The method further comprises: In response to the opening of the viewfinder interface, sending a connection request message; The at least one second electronic device displays a first mark, wherein determining the at least one surrounding device from the at least one second electronic device includes: Scanning the first mark of the at least one second electronic device on the framing interface; The at least one surrounding device is determined according to the first tag of the at least one second electronic device.
6. The method according to any one of claims 3 to 5, characterized in that The method further comprises: A second mark is displayed on the peripheral device of the viewfinder interface according to the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potential available device for the first data.
7. The method according to any one of claims 1 to 6, characterized in that Before the first electronic device sends the first data to the opposite device, the method further includes: The opposite-end device is determined from the at least one surrounding device according to the area where the second operation is performed.
8. The method according to claim 7, characterized in that The at least one surrounding device includes a first surrounding device and a second surrounding device, wherein determining the opposite end device from the at least one surrounding device according to the area where the second operation is located includes: When the area where the second operation is located overlaps with the hot zone of the first peripheral device, determining that the first peripheral device is the opposite-end device; When the area where the second operation is located overlaps with the hot zone of the second peripheral device, it is determined that the second peripheral device is the opposite-end device.
9. The method according to claim 8, characterized in that The method further comprises: When the area where the second operation is located overlaps with the hot zone of the first peripheral device and overlaps with the hot zone of the second peripheral device, In response to a third operation of the user on a third mark of the first surrounding device, determining that the first surrounding device is the opposite-end device; or In response to a third operation of the user on a fourth mark of the second surrounding device, the second surrounding device is determined to be the opposite-end device.
10. A method for transmitting data, characterized in that: The method is applied to a third electronic device, and the method includes: In response to receiving first data from a first electronic device, displaying the first data; The displaying of the first data includes: Displaying a thumbnail of the first data on a first interface of the third electronic device, where the first interface is a default path for the first data; or The first data is displayed on a second interface of the third electronic device, where the second interface is a first application of the third electronic device. A program interface, wherein the first application is an application for processing the first data.
11. The method according to claim 10, characterized in that Before displaying the first data, the method further includes: Displaying first prompt information, where the first prompt information is used to prompt a user to confirm displaying the first data on the third electronic device.
12. The method according to claim 10 or 11, characterized in that: The method further comprises: Sending the account information of the third electronic device and the location information of the third electronic device to the first electronic device, wherein the account information of the third electronic device and the location information of the third electronic device are used to determine at least one surrounding device, and the third electronic device belongs to the at least one surrounding device.
13. The method according to claim 10 or 12, characterized in that: The method further comprises: In response to receiving the connection request information from the first electronic device, a first mark is displayed, where the first mark is used to determine at least one surrounding device, and the third electronic device belongs to the at least one surrounding device.
14. A system for transmitting data, characterized in that: The device comprises a first electronic device and a second electronic device, wherein the first electronic device displays first data. The first electronic device is configured to open a viewfinder interface in response to a first operation of a user on the first data, wherein the viewfinder interface includes at least one peripheral device; The first electronic device is further configured to send the first data to a peer device in response to a second operation of the user on the first data, and the first data is displayed by the user on the peer device; The second electronic device displays the first data in response to receiving the first data from the first electronic device, wherein the second electronic device includes the at least one peripheral device, and the at least one peripheral device includes the opposite-end device.
15. The system according to claim 14, characterized in that The viewfinder interface includes at least one second electronic device, The first electronic device is further configured to determine the at least one surrounding device from at least one of the second electronic devices.
16. The system according to claim 15, characterized in that The first electronic device is further configured to determine the at least one surrounding device from at least one of the second electronic devices according to at least one of the following: a device type of at least one of the second electronic devices, account information of at least one of the second electronic devices, and location information of at least one of the second electronic devices; The second electronic device is further used to send the account information of the second electronic device and the location information of the second electronic device to the first electronic device.
17. The system according to claim 16, characterized in that The first electronic device is further used to identify a device type of at least one of the second electronic devices on the viewfinder interface.
18. The system according to claim 15, characterized in that The first electronic device is further configured to send connection request information in response to the opening of the viewfinder interface; The second electronic device is further configured to display a first mark in response to receiving the connection request information from the first electronic device; The first electronic device is further used to scan the first mark of at least one second electronic device on the framing interface; The first electronic device is further configured to determine the at least one surrounding device according to the first tag of at least one second electronic device.
19. The system according to any one of claims 16 to 18, characterized in that The first electronic device is further used to display a second mark on the peripheral device of the viewfinder interface according to the type of the first data, and the second mark is used to prompt the user that the peripheral device is a potential available device for the first data.
20. The system according to any one of claims 14 to 19, characterized in that The first electronic device is further configured to determine the opposite device from the at least one surrounding device according to the area where the second operation is performed.
21. The system according to claim 20, characterized in that The at least one peripheral device includes a first peripheral device and a second peripheral device, When the area where the second operation is located overlaps with the hot zone of the first peripheral device, the first electronic device is further used to determine that the first peripheral device is the opposite end device; When the area where the second operation is located overlaps with the hot zone of the second peripheral device, the first electronic device is further used to determine that the second peripheral device is the opposite device.
22. The system according to claim 21, characterized in that When the area where the second operation is located overlaps with the hot zone of the first peripheral device and overlaps with the hot zone of the second peripheral device, The first electronic device is further configured to determine that the first surrounding device is the opposite-end device in response to a third operation of a user on a third mark of the first surrounding device; or The first electronic device is further configured to determine that the second surrounding device is the opposite-end device in response to a third operation of a user on a fourth mark of the second surrounding device.
23. A device for transmitting data, characterized in that: The method comprises a module for executing the method as claimed in any one of claims 1 to 9, or comprises a module for executing the method as claimed in any one of claims 10 to 13.
24. A device for transmitting data, characterized in that: include: A processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program so that the device for transmitting data performs the method as claimed in any one of claims 1 to 9, or the device for transmitting data performs the method as claimed in any one of claims 10 to 13.
25. The data transmission device according to claim 24, characterized in that: Also included is one or more of the memory and the transceiver, wherein the transceiver is used to receive signals and / or send signals.
26. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program or an instruction, and when the computer program or the instruction is run on a computer, the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 13 is executed.
27. A computer program product, characterized in that The computer program product comprises a computer program or instructions, and when the computer program or instructions are run on a computer, the method according to any one of claims 1 to 9 is executed, or the method according to any one of claims 10 to 13 is executed.
Citation Information
Patent Citations
Equipment identification method and related device
CN114079691A
Control method, electronic equipment and computer readable storage medium
CN114265641A
Screen projection display method and electronic equipment
CN115543163A
Display method, electronic device, and system
WO2022206764A1
