Data transmission method, electronic device, system and storage medium
By displaying environmental images on the display screen of the third device and detecting user gestures, data transmission between smart terminal devices is realized, which facilitates data transmission when the devices are inconvenient to move, and solves the problem of convenience in data transmission between devices.
Patent Information
- Application Number
- CN202011368862.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-11-27
AI Technical Summary
In smart terminal devices, the output device and input device are inconvenient to move due to reasons such as charging, fixed position, or being in use, making it difficult for users to conveniently transmit data from the output device to the input device.
Display the environment image collected by the camera through the display screen of the third device, detect the user's gestures and identify the output device and input device in the environment image, respond to specific gestures for data transmission, including displaying a floating image to select the object to be transmitted, and transmit it through the network Configuration information establishes a connection to transfer data from the output device to the input device.
In scenarios where the device is inconvenient to move, the convenience of data transmission is improved. Users only need to trigger the data transmission through gestures, which simplifies the data transmission process between devices.
Smart Images

Figure CN114564162B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of multi-device interaction, and in particular to a data transmission method, electronic device, system and storage medium. Background Art
[0002] With the development of smart terminals, people use more and more electronic devices in their lives and work. For example, in life, users need to transfer videos on tablets to smart TVs for playback; at work, users need to transfer pictures drawn on public large-screen devices to personal computers.
[0003] However, the data output device and input device may be inconvenient to move due to reasons such as being charged, fixed in position, being used by other users, etc. In this scenario, it is inconvenient for the user to operate the data output device or input device to transfer data from the output device to the input device. Summary of the invention
[0004] The embodiments of the present application provide a data transmission method, electronic device, system and storage medium to improve the convenience of data transmission.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a system including a first device, a second device, and a third device, and the method includes:
[0007] The third device displays the environment image captured by the camera of the third device through the display screen of the third device;
[0008] The third device detects the first preset gesture and the first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on the display screen of the first device, and at least one object is displayed in the display interface, and the object includes a file and a folder;
[0009] In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device;
[0010] The third device detects the second preset gesture in the environment screen and detects the object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0011] The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen;
[0012] In response to the third preset gesture, the third device sends first information to the second device, wherein the first information includes information of the object to be transmitted;
[0013] After receiving the first information, the second device sends an object acquisition request to the first device, wherein the object acquisition request carries information of the object to be transmitted, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device;
[0014] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device.
[0015] The data transmission method provided in the embodiment of the present application can transmit the object to be transmitted on the first device to the second device during the implementation process, and during the transmission process, the user only needs to trigger the data transmission through a gesture. In the application scenario where the first device and the second device are not convenient to move, the convenience of data transmission between the first device and the second device is improved.
[0016] In a possible implementation manner of the first aspect, in response to the third preset gesture, the third device sending the first information to the second device includes:
[0017] In response to the third preset gesture, the third device sends second information to the first device, where the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device;
[0018] The third device receives the network configuration information of the first device sent by the first device, and the third device sends the first information to the second device, wherein the first information carries the information of the object to be transmitted and the network configuration information of the first device;
[0019] Before the second device sends the object acquisition request to the first device, the method further includes:
[0020] The second device receives the first information sent by the third device, and the second device establishes a network connection with the first device based on the network configuration information of the first device carried in the first information.
[0021] In an embodiment of the present application, even if a network connection is pre-established between the first device and the second device, the network configuration information of the first device can be transmitted to the second device through a third device during the data transmission process, thereby establishing a network connection between the first device and the second device and providing network communication for data transmission.
[0022] In a possible implementation manner of the first aspect, in response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including:
[0023] In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device;
[0024] The third device acquires information about the object in the display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device;
[0025] The third device displays a floating picture on the display screen of the third device.
[0026] In a possible implementation manner of the first aspect, in response to the first preset gesture, the third device sends a first request to the first device, including:
[0027] In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen;
[0028] When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
[0029] In an embodiment of the present application, in order to avoid a large difference in size between the user's hand in the environmental screen of the display screen of the third device and the object displayed on the display screen of the first device, which makes it impossible for the user to accurately select the object to be transmitted, the third device can obtain information about the object displayed on the display screen of the first device from the first device, and the third device generates a floating screen suitable for the size of the user's hand, so that the user can select the object to be transmitted in the floating screen.
[0030] In a possible implementation manner of the first aspect, after the third device detects a coverage ratio of a hand in a first preset gesture in an environment screen to a display screen of the first device in the environment screen, the method further includes:
[0031] When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture and the object to be transmitted selected in the environmental screen by the second preset gesture in the environmental screen.
[0032] In a possible implementation manner of the first aspect, the third device detects, in the environment screen, an object to be transmitted selected by the second preset gesture in the environment screen, including:
[0033] The third device identifies the position or area selected by the second preset gesture in the environment picture;
[0034] The third device identifies information of an object to be transmitted corresponding to a position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
[0035] In an embodiment of the present application, when the difference between the object displayed on the display screen of the user's hand and the first device is sufficient to enable the user's hand to accurately select the object to be transmitted, the floating screen may not be displayed, but the information of the object to be transmitted corresponding to the position or area specified by the hand is determined in the environmental screen.
[0036] In a possible implementation manner of the first aspect, the third device detects in the floating screen an object to be transmitted selected by the second preset gesture in the floating screen, including:
[0037] The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture;
[0038] The third device converts the position or area selected by the second preset gesture in the ambient screen to the position or area selected by the second preset gesture in the floating screen according to the positional relationship between the floating screen and the ambient screen displayed on the display screen of the third device;
[0039] The third device obtains information about the object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
[0040] In an embodiment of the present application, since the second preset gesture is detected from the ambient screen, the position of the second preset gesture obtained is the position in the ambient screen, and the object to be transmitted is located in the floating screen. Therefore, it is necessary to convert the position of the second preset gesture in the ambient screen into the position of the second preset gesture in the floating screen, so as to determine the object to be transmitted selected by the second preset gesture in the floating screen.
[0041] In a possible implementation manner of the first aspect, first image identification information is displayed on a display screen of the first device, and the first image identification information carries first network information of the first device;
[0042] Before the third device sends the first request to the first device, the method further includes:
[0043] The third device detects the first image recognition information displayed on the display screen of the first device in the environment screen;
[0044] The third device identifies the first image identification information, and obtains the first network information of the first device carried in the first image identification information;
[0045] The third device establishes a first connection with the first device based on the first network information of the first device.
[0046] In an embodiment of the present application, even if a network connection is not established between the third device and the first device, a first connection can be established between the first device and the third device based on the first image recognition information displayed on the display screen of the first device, and the information of the selected object to be transmitted can be transmitted through the first connection.
[0047] In a possible implementation manner of the first aspect, second image identification information is displayed on a display screen of the second device, and the second image identification information carries second network information of the second device;
[0048] Before the third device sends the first information to the second device, the method further includes:
[0049] The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device;
[0050] The third device identifies the second image identification information, and obtains the second network information of the second device carried in the second image identification information;
[0051] The third device establishes a second connection with the second device based on the second network information of the second device.
[0052] In an embodiment of the present application, even if the second device and the third device have not established a network connection in advance, the third device can establish a second connection with the second device based on the content displayed on the display screen of the second device, and transmit the network configuration information of the first device through the second connection.
[0053] In a possible implementation manner of the first aspect, the first image recognition information includes ripple information, and the second image recognition information includes ripple information.
[0054] In a possible implementation manner of the first aspect, the second information includes information of an object to be transmitted.
[0055] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device, including:
[0056] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device after comparing the information of the object to be transmitted in the object acquisition request with the information of the object to be transmitted in the second information sent by the third device and finding that they are consistent.
[0057] In an embodiment of the present application, when the third device transmits the network configuration information of the first device to the second device, it can also transmit the information of the object to be transmitted, so that the first device and the second device can be authenticated based on the information of the object to be transmitted. After the authentication is successful, the first device sends the object to be transmitted to the second device.
[0058] In a possible implementation manner of the first aspect, when the first device sends the object to be transmitted to the second device, the method further includes:
[0059] The first device sends transmission information to the third device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress;
[0060] After the third device receives the transmission information, the transmission information is displayed through the display screen of the third device.
[0061] In an embodiment of the present application, in order to provide a better user experience and enable the user to understand the current transmission progress in real time, the first device can also send transmission information to the third device, the third device displays the transmission information, and the user understands the transmission progress through the transmission information displayed by the third device.
[0062] In a possible implementation manner of the first aspect, when the third device is an augmented reality device, the first preset gesture, the second preset gesture, and the third preset gesture are all gestures of a user's hand within a field of view of a camera of the augmented reality device;
[0063] When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
[0064] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a third device, and the method includes:
[0065] The third device displays the environment image captured by the camera of the third device through the display screen of the third device;
[0066] The third device detects the first preset gesture and the first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on the display screen of the first device, and at least one object is displayed in the display interface, and the object includes a file and a folder;
[0067] In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device;
[0068] The third device detects the second preset gesture in the environment screen and detects the object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0069] The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen;
[0070] In response to a third preset gesture, the third device sends first information to the second device, wherein the first information includes information of an object to be transmitted, and the first information is used to instruct the second device to send an object acquisition request to the first device, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device.
[0071] In a possible implementation manner of the second aspect, in response to the third preset gesture, the third device sending the first information to the second device includes:
[0072] In response to the third preset gesture, the third device sends second information to the first device, where the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device;
[0073] The third device receives the network configuration information of the first device sent by the first device, and the third device sends the first information to the second device, wherein the first information carries the information of the object to be transmitted and the network configuration information of the first device, and the first information is used to instruct the second device to establish a network connection with the first device based on the network configuration information of the first device carried in the first information.
[0074] In a possible implementation manner of the second aspect, in response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including:
[0075] In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device;
[0076] The third device acquires information about the object in the display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device;
[0077] The third device displays a floating picture on the display screen of the third device.
[0078] In a possible implementation manner of the second aspect, in response to the first preset gesture, the third device sends a first request to the first device, including:
[0079] In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen;
[0080] When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
[0081] In a possible implementation manner of the second aspect, after the third device detects a coverage ratio of a hand in a first preset gesture in an environment screen to a display screen of the first device in the environment screen, the method further includes:
[0082] When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture and the object to be transmitted selected in the environmental screen by the second preset gesture in the environmental screen.
[0083] In a possible implementation manner of the second aspect, the third device detects, in the environment screen, an object to be transmitted selected by the second preset gesture in the environment screen, including:
[0084] The third device identifies the position or area selected by the second preset gesture in the environment picture;
[0085] The third device identifies information of an object to be transmitted corresponding to a position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
[0086] In a possible implementation manner of the second aspect, the third device detects in the floating screen an object to be transmitted selected by the second preset gesture in the floating screen, including:
[0087] The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture;
[0088] The third device converts the position or area selected by the second preset gesture in the ambient screen to the position or area selected by the second preset gesture in the floating screen according to the positional relationship between the floating screen and the ambient screen displayed on the display screen of the third device;
[0089] The third device obtains information about the object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
[0090] In a possible implementation manner of the second aspect, first image identification information is displayed on a display screen of the first device, and the first image identification information carries first network information of the first device;
[0091] Before the third device sends the first request to the first device, the method further includes:
[0092] The third device detects the first image recognition information displayed on the display screen of the first device in the environment screen;
[0093] The third device identifies the first image identification information, and obtains the first network information of the first device carried in the first image identification information;
[0094] The third device establishes a first connection with the first device based on the first network information of the first device.
[0095] In a possible implementation manner of the second aspect, second image identification information is displayed on a display screen of the second device, and the second image identification information carries second network information of the second device;
[0096] Before the third device sends the first information to the second device, the method further includes:
[0097] The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device;
[0098] The third device identifies the second image identification information, and obtains the second network information of the second device carried in the second image identification information;
[0099] The third device establishes a second connection with the second device based on the second network information of the second device.
[0100] In a possible implementation manner of the second aspect, the first image recognition information includes ripple information, and the second image recognition information includes ripple information.
[0101] In a possible implementation manner of the second aspect, after the third device sends the first information to the second device, the method further includes:
[0102] The third device receives the transmission information sent by the first device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress;
[0103] The third device displays the transmission information through a display screen of the third device.
[0104] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0105] An environment image display module, used to display an environment image captured by a camera of a third device through a display screen of the third device;
[0106] A gesture detection module, configured to detect a first preset gesture and a first device selected by the first preset gesture in an environment screen, wherein a display screen of the first device displays a display interface, and at least one object is displayed in the display interface, and the object includes a file and a folder;
[0107] A floating screen display module, in response to a first preset gesture, displays a floating screen on a display screen of a third device, wherein the floating screen contains an object in a display interface of the first device;
[0108] The gesture detection module is further used to detect a second preset gesture in the environment screen and to detect an object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0109] The gesture detection module is further used to detect a third preset gesture and a second device selected by the third preset gesture in the environment picture;
[0110] The first information sending module is used to send first information to the second device in response to a third preset gesture, wherein the first information includes information of the object to be transmitted, and the first information is used to instruct the second device to send an object acquisition request to the first device, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device.
[0111] In a fourth aspect, an electronic device is provided, comprising a processor, wherein the processor is used to run a computer program stored in a memory to implement any method of the second aspect of the present application.
[0112] In a fifth aspect, a data transmission system is provided, including: a first device, a second device and a third device,
[0113] The third device is the electronic device provided by the fourth aspect;
[0114] The second device is used to send an object acquisition request to the first device after receiving the first information, wherein the object acquisition request carries information of the object to be transmitted, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device;
[0115] The first device is used to send the object to be transmitted to the second device after receiving the object acquisition request.
[0116] In a sixth aspect, a chip system is provided, including a processor, wherein the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any method of the second aspect of the present application.
[0117] In a seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method of any one of the second aspects of the present application is implemented.
[0118] In an eighth aspect, an embodiment of the present application provides a computer program product, which, when executed on a device, enables the device to execute any one of the methods in the second aspect.
[0119] It can be understood that the beneficial effects of the second to eighth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0120] Figure 1 A schematic diagram of an application scenario of the data transmission method provided in an embodiment of the present application;
[0121] Figure 2 A schematic diagram of the hardware structure of an electronic device for executing a data transmission method provided in an embodiment of the present application;
[0122] Figure 3 A schematic diagram of a data transmission process provided in an embodiment of the present application;
[0123] FIG. 4( a ) and FIG. 4( b ) are schematic diagrams of device A displaying image recognition information in a data transmission method provided in an embodiment of the present application;
[0124] Figure 5 A schematic diagram of a device C displaying a floating interface in a data transmission method provided in an embodiment of the present application;
[0125] Figure 6 A schematic diagram of a scenario in which a user selects a file by clicking in a floating interface displayed by device C provided in an embodiment of the present application;
[0126] Figure 7 A schematic diagram of a scenario in which a user selects a file by circling it in a floating interface displayed by device C provided in an embodiment of the present application;
[0127] Figure 8 A schematic diagram of a marking method for a selected file in a floating interface of a device C provided in an embodiment of the present application;
[0128] Fig. 9 A schematic diagram of a third preset gesture provided in an embodiment of the present application;
[0129] FIG. 10( a ) and FIG. 10( b ) are diagrams of an embodiment of the present application. Fig. 9 A schematic diagram of a display interface of device C corresponding to the third preset gesture shown;
[0130] Fig.11 A schematic diagram showing data transmission progress provided in an embodiment of the present application;
[0131] Fig.12 A schematic diagram of an application scenario of another data transmission method provided in an embodiment of the present application;
[0132] FIG. 13( a ) and FIG. 13( b ) are schematic diagrams showing the proportions of a display screen of a device A and a user's hand according to an embodiment of the present application;
[0133] Fig.14 A schematic diagram of a method for calculating a coverage ratio between a hand and a display screen of a device A provided in an embodiment of the present application;
[0134] FIG. 15( a ) and FIG. 15( b ) are schematic diagrams of two modes of displaying a floating interface by a device C provided in an embodiment of the present application;
[0135] Fig.16 A schematic block diagram of the functional structure modules of device C provided in an embodiment of the present application. DETAILED DESCRIPTION
[0136] In the following description, specific details such as specific system structures and technologies are provided for illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.
[0137] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0138] It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0139] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0140] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0141] The data transmission method provided in the embodiment of the present application can be applied to Figure 1 In the application scenario shown in Figure 1As shown in the figure, the computer is used as a data output device, and there are files to be transferred on the desktop; the user wants to transfer the files from the computer to the smart screen used as a data input device. The user can use AR glasses used as a control device to transfer files from the computer to the smart screen.
[0142] The electronic device used as the output device may be an electronic device with a display screen, for example, Figure 1 Computer in the. Figure 1 The display screen of the computer in the transmission device can display the file to be transmitted. The electronic device used as the control device is an electronic device with a camera and a display screen, for example, Figure 1 Of course, it can also be other electronic devices, such as mobile phones, tablets, etc. Taking AR glasses as a control device as an example, the camera of the AR glasses can capture environmental images, and the environmental images captured by the AR glasses can be displayed on the display screen of the AR glasses. The display screen of the AR glasses can be the lenses of the AR glasses, or it can be the screen of the AR glasses. The user wears the AR glasses to change his position or posture, so that the computer, smart screen and user's gestures can appear in the environmental images captured by the camera of the AR glasses. Based on the user's gestures, the AR glasses can determine that the computer is the output device, the files to be transferred, and the smart screen as the input device. The AR glasses can also trigger the transmission of files to be transferred from the computer to the smart screen based on the user's gestures.
[0143] The above Figure 1 The application scenario shown is briefly described. The information interaction process between the computer as an output device, the AR glasses as a control device, and the smart screen as an input device can refer to the specific description in the subsequent embodiments.
[0144] The embodiment of the present application provides a data transmission method, which is applicable to a system composed of an output device, a control device and an input device. The electronic devices in the system may be: mobile phones, tablet computers, wearable devices, vehicle-mounted devices, smart speakers, smart screens, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA) and other electronic devices. The embodiment of the present application does not limit the specific types of output devices, control devices and input devices.
[0145] Figure 2The schematic diagram of the structure of an electronic device is shown. The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 2, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an acceleration sensor 280E, a distance sensor 280F, a temperature sensor 280J, an ambient light sensor 280L, etc.
[0146] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0147] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. For example, the processor 210 is used to execute the data transmission method in the embodiment of the present application.
[0148] The controller may be the nerve center and command center of the electronic device 200. 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.
[0149] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0150] In some embodiments, the processor 210 may include one or more interfaces. The interface 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, etc.
[0151] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple I2C buses. The processor 210 may be coupled to a charger, a flash, a camera 293, etc. through different I2C bus interfaces.
[0152] The I2S interface can be used for audio communication. In some embodiments, the processor 210 can include multiple I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to achieve communication between the processor 210 and the audio module 270.
[0153] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via a PCM bus interface.
[0154] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
[0155] In some embodiments, the UART interface is generally used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0156] The MIPI interface can be used to connect the processor 210 with peripheral devices such as the display screen 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to realize the shooting function of the electronic device 200. The processor 210 and the display screen 294 communicate via the DSI interface to realize the display function of the electronic device 200.
[0157] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 with the camera 293, the display screen 294, the wireless communication module 260, the audio module 270, the sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0158] The USB interface 230 is an interface that complies with USB standard specifications, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the electronic device 200, and can also be used to transmit data between the electronic device 200 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
[0159] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0160] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 200. While the charging management module 240 is charging the battery 242, it may also power the electronic device through the power management module 241.
[0161] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, and battery health status (leakage, impedance).
[0162] In some other embodiments, the power management module 241 may also be disposed in the processor 210. In some other embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.
[0163] The wireless communication function of the electronic device 200 can be realized through the antenna 2, the wireless communication module 260, etc.
[0164] The antenna 2 is used to transmit and receive electromagnetic wave signals. The antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands.
[0165] The wireless communication module 260 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 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0166] In some embodiments, the antenna 2 is coupled to the wireless communication module 260 so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. 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).
[0167] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0168] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0169] The electronic device 200 can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.
[0170] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.
[0171] The camera 293 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0172] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0173] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0174] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0175] In an embodiment of the present application, the NPU or other processor can be used to perform operations such as face detection, face tracking, face feature extraction, and image clustering on face images in a video stored in the electronic device 200; perform operations such as face detection, face feature extraction, and other operations on face images in pictures stored in the electronic device 200, and cluster the pictures stored in the electronic device 200 based on the facial features of the pictures and the clustering results of face images in the video.
[0176] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0177] The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area may store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.).
[0178] In addition, the internal memory 221 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.
[0179] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0180] The audio module 270 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0181] The speaker 270A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 200 can listen to music through the speaker 270A.
[0182] The receiver 270B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or voice message, the voice can be received by placing the receiver 270B close to the human ear.
[0183] Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When sending voice information, the user can speak by putting his mouth close to microphone 270C to input the sound signal into microphone 270C. The electronic device 200 can be provided with at least one microphone 270C. In other embodiments, the electronic device 200 can be provided with two microphones 270C, which can not only collect sound signals but also realize noise reduction function. The headphone jack 270D is used to connect wired headphones. The headphone jack 270D can be a USB interface 230, or it can be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0184] The pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 280A, the capacitance between the electrodes changes. The electronic device 200 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 294, the electronic device 200 detects the intensity of the touch operation based on the pressure sensor 280A. The electronic device 200 can also calculate the position of the touch based on the detection signal of the pressure sensor 280A.
[0185] The gyro sensor 280B can be used to determine the motion posture of the electronic device 200. In some embodiments, the angular velocity of the electronic device 200 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 280B. The gyro sensor 280B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 280B detects the angle of the electronic device 200 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 200 through reverse movement to achieve anti-shake. The gyro sensor 280B can also be used for navigation and somatosensory game scenes.
[0186] The acceleration sensor 280E can detect the magnitude of the acceleration of the electronic device 200 in all directions (generally three axes). When the electronic device 200 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0187] The distance sensor 280F is used to measure the distance. The electronic device 200 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 200 can use the distance sensor 280F to measure the distance to achieve fast focusing.
[0188] The ambient light sensor 280L is used to sense the ambient light brightness. The electronic device 200 can adaptively adjust the brightness of the display screen 294 according to the perceived ambient light brightness. The ambient light sensor 280L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 280L can also cooperate with the proximity light sensor 280G to detect whether the electronic device 200 is in a pocket to prevent accidental touch.
[0189] The temperature sensor 280J is used to detect temperature. In some embodiments, the electronic device 200 uses the temperature detected by the temperature sensor 280J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 280J exceeds a threshold, the electronic device 200 reduces the performance of the processor located near the temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 200 heats the battery 242 to avoid abnormal shutdown of the electronic device 200 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 200 performs a boost on the output voltage of the battery 242 to avoid abnormal shutdown caused by low temperature.
[0190] The key 290 includes a power key, a volume key, etc. The key 290 can be a mechanical key or a touch key. The electronic device 200 can receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0191] Motor 291 can generate a vibration prompt. Motor 291 can be used for vibration prompt. Indicator 292 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0192] The embodiments of the present application do not specifically limit the specific structure of the execution subject of a data transmission method, as long as it can communicate according to a data transmission method provided by an embodiment of the present application by running a program that records the code of a data transmission method provided by an embodiment of the present application. For example, the execution subject of a data transmission method provided by an embodiment of the present application can be a functional module in an electronic device that can call and execute a program, or a communication device applied to an electronic device, such as a chip.
[0193] See also Figure 3 , is a schematic diagram of an application scenario of a data transmission method provided in an embodiment of the present application. In this application scenario, a user needs to transfer a file in device A (output device) to device B (input device). The data transmission method implemented in this application scenario can be as follows: Figure 3 The three steps shown are carried out:
[0194] Step 1: Device C (control device) obtains a list of objects displayed on the display interface of device A from device A, where the objects include files and folders.
[0195] Step 2: Device C determines a list of objects to be transferred based on the list of objects displayed by device A, and sends the list of objects to be transferred to device B.
[0196] Step 3: After device A successfully authenticates the list of objects to be transmitted sent by device B, device A sends the objects in the list of objects to be transmitted to device B.
[0197] The above division of steps in the data transmission method and the order of the steps are only used as an example. In practical applications, there may be other steps. Of course, the above three steps may be used as the main framework steps, and the other steps may be used as small steps in the above main framework steps.
[0198] As an example, the implementation process of step 1 to step 3 will be described in detail below in combination with the user's gestures.
[0199] Preparation 1: The user first sets device A and device B to a specific working mode, which can be named AR working mode. In actual applications, it can also be named other names, which are not limited in this application.
[0200] Taking device A in AR working mode as an example, the Bluetooth of device A is turned on and visible. At the same time, ripples can be displayed on the display screen of device A, and the ripples contain the Bluetooth information of device A, such as the Bluetooth name of device A, and the MAC address of device A. In this application scenario, if a Bluetooth connection needs to be established with device A, device A needs to be searched. However, when there are other electronic devices with the same Bluetooth name as device A, it can be further determined which electronic device among the electronic devices with the same Bluetooth name is device A based on the MAC address.
[0201] In the embodiment of the present application, Bluetooth is used as the data transmission method between device A and device C. In practical applications, if device A and device C use other data transmission methods to transmit data, the ripple displayed on the display screen of device A may include relevant information of other data transmission methods.
[0202] The ripples displayed on the display screen of device A are to enable the camera of device C to decode the information corresponding to the data transmission mode of device A based on the collected image containing the ripples. Therefore, in addition to displaying image recognition information such as ripples, the display screen of device A can also display image recognition information corresponding to other code systems such as barcodes and QR codes, and carry relevant information about the data transmission mode between device A and device C through image recognition information corresponding to other code systems.
[0203] Of course, in practical applications, in addition to using image recognition information to carry information related to the data transmission mode of device A, other methods that can closely perceive information related to the data transmission mode of device A may also be used. The embodiments of the present application do not limit this.
[0204] Referring to FIG4(a), it is a ripple displayed on the display screen of device A. According to the preset ripple generation rule, the Bluetooth information of device A can be used to generate a ripple. Referring to FIG4(b), it is a QR code displayed on the display screen of device A. According to the preset QR code generation rule, the Bluetooth information of device A can be used to generate a QR code.
[0205] In actual applications, after device A enters the AR working mode, device A can generate image recognition information according to the Bluetooth information of device A, and display the generated image recognition information. Device A can also generate image recognition information according to the Bluetooth information of device A in advance, and store the generated image recognition information in the form of a picture. After device A enters the AR working mode, device A obtains the image recognition information in the form of a picture from the storage space, and displays it on the display screen of device A. When displaying, the image recognition information or the corresponding picture can be displayed on the top display interface of the display screen of device A.
[0206] As an example, a folder may be displayed on the display screen of device A. When the folder is displayed in full screen, the image recognition information is displayed on the upper layer of the display interface corresponding to the folder.
[0207] The two ways of displaying the Bluetooth information of device A shown in FIG4(a) and FIG4(b) are only examples. In actual applications, other ways are also possible, for example, device A displays the ripple carrying the Bluetooth information of device A in full screen. The display of the ripple does not affect the display of other contents on the display screen of device A.
[0208] The situation of device B in AR working mode can refer to the above description of device A in AR working mode, which will not be repeated here. For the sake of distinction, the image recognition information displayed on the display screen of device A can be recorded as the first image recognition information, and the data transmission method of device A carried in the image recognition information of device A can be recorded as the first network information of device A. The image recognition information displayed on the display screen of device B can be recorded as the second image recognition information, and the data transmission method of device B carried in the image recognition information of device B can be recorded as the second network information of device B.
[0209] Preparation 2: The user operates in device A so that objects are displayed on the display screen of device A, and the displayed objects include objects to be transmitted.
[0210] For example, if the file to be transferred in device A is stored on the desktop of device A, the desktop can be used as the display interface currently displayed on the display screen of device A, that is, the file to be transferred is displayed on the display screen of device A.
[0211] If the file to be transferred in device A is stored in the D disk / folder 1 of device A and is named "transfer file.doc", then the display interface currently displayed on the display screen of device A is the interface corresponding to the D disk / folder 1, and the content displayed in the interface includes the icon and name of "transfer file.doc". Of course, other files or folders may also exist in the interface corresponding to folder 1.
[0212] When the file to be transferred in device A is stored in the D disk / folder 1 of device A and is named "transfer file 1.doc", and is stored on the desktop of device A and is named "transfer file 2.doc". In this case, "transfer file 1.doc" and "transfer file 2.doc" can be simultaneously displayed on the display screen of device A. For example, the display interface corresponding to folder 1 displays "transfer file 1.doc" in a non-full screen form, and the display interface of folder 1 does not cover the "transfer file 2.doc" file displayed on the desktop. In this way, "transfer file 1.doc" and "transfer file 2.doc" can be displayed on the display screen of device A at the same time.
[0213] When multiple files to be transferred in device A are all stored in the D disk / folder 1 of device A, and the files stored in folder 1 are all files to be transferred. In this case, the display screen of device A can display the interface of the D disk, in which folder 1 exists, and folder 1 is regarded as an object. Of course, the display screen of device A can also display the files in folder 1, so that each file in folder 1 is regarded as an object. However, when files that do not need to be transferred are stored in folder 1, if the display screen of the electronic device displays the interface of the D disk, so that folder 1 is regarded as an object, the files in folder 1 that do not need to be transferred may also be transferred to device B.
[0214] Specifically, how the display screen of the electronic device displays the object to be transmitted can be set by the user based on the storage location of the file to be transmitted. In the subsequent embodiments of this application, files are used as objects to describe the process of data transmission, which does not mean that the subsequent embodiments can only be applied to file transmission and not to folder transmission. In actual applications, data can be transmitted using both files and folders as objects, and of course, files and folders can also be used as objects for data transmission at the same time.
[0215] Step 1: Device C obtains the file list displayed on the display interface of device A from device A. This can be divided into the following sub-steps:
[0216] In step 1.1, the user sets device C to AR quick transfer mode (the name of the mode is only used as an example, and in actual applications, the mode can also be named in other ways). After device C enters AR quick transfer mode, the camera of device C is turned on, and the camera of device C collects the environment picture. The display screen of device C displays the environment picture collected by the camera of device C, that is, the display interface displayed on the display screen of device C includes the environment picture collected by the camera.
[0217] Of course, in actual applications, when device C is provided with a depth-of-field camera, the camera of device C can collect other environmental data in addition to the environmental picture, for example, relevant information of the target in the environmental picture (depth of the target, three-dimensional information of the target, etc.). The environmental data (environmental picture, depth of the target in the environmental picture, and three-dimensional information of the target, etc.) collected by the camera of device C generates the display interface of device C. In this case, the display interface displayed in the display device of device C includes an environmental picture with a three-dimensional sense.
[0218] When device C is a head-mounted AR device, for example, AR glasses, the display screen of device C may be a lens of the AR glasses (for example, the environment image is projected on the lens for display), or may be a screen provided in the AR glasses for displaying the environment image.
[0219] When device C is a non-head-mounted AR device with a camera and a display screen, such as a mobile phone, the environment image can be displayed on the display screen of the mobile phone.
[0220] In step 1.2, the user adjusts the position and / or angle of device C so that the ripple displayed on the display screen of device A appears within the viewing angle of the camera of device C. There is a ripple image in the environmental image collected by device C, and the collected ripple image is decoded by a pre-set ripple decoding rule to obtain the Bluetooth information of device A.
[0221] It should be noted that the ripple generation rule used by device A when generating the ripple according to the Bluetooth information of device A and the ripple decoding rule used by device C when obtaining the Bluetooth information according to the ripple decoding are corresponding.
[0222] In step 1.3, device C establishes a Bluetooth connection with device A based on the identified Bluetooth information of device A. For ease of description, the Bluetooth connection between device A and device C may be referred to as a first Bluetooth connection.
[0223] In step 1.4, the user adjusts the position of the hand (the position and / or angle of device C can also be adjusted) so that the user's hand and device A appear in the field of view of the camera of device C at the same time. As before, the display interface displayed by the display screen of device C is the environment picture collected in real time by the camera of device C. Therefore, device A and the user's hand appear in the environment picture displayed on the display interface of device C at the same time. The user's hand makes a first preset gesture (for example, the user's palm moves toward the direction of device A in the display interface displayed on the display screen of device C), triggering device C to initiate a first request to device A through the first Bluetooth connection, and the first request is used to obtain a list of all visible files in the current display interface of device A. The file list can be at least one of the following information of the file: name, icon (or thumbnail), location coordinates in the display interface of the first device, etc.
[0224] See also Figure 5 As shown, device A and the user's hand exist in the display interface of device C at the same time. The user makes a first preset gesture (pressing the palm against device A), triggering device C to initiate a first request to device A through a first Bluetooth connection, thereby obtaining a list of all visible files in the current display interface of device A.
[0225] Of course, in actual applications, it is also possible not to trigger device C to obtain the file list displayed on the display screen of device A through the first preset gesture, but after device C establishes a Bluetooth connection with device A in step 1.3, device C obtains the file list displayed on the display screen of device A from device A.
[0226] In the embodiment of the present application, network accounts can also be pre-set for device A and device C, that is, on device A, use the first account to log in to the preset server or the application corresponding to the preset server, and on device C, use the second account to log in to the preset server or the application corresponding to the preset server. When the first account and the second account are the same account, the file list obtained by device C does not need to be limited to the files displayed on the display screen of device A, but can also be files in other storage locations of device A. This is because when the first account and the second account are the same account, device C has the authority to control device A, that is, device C can control device A to display other display interfaces to obtain the file list in other display interfaces.
[0227] When either device A or device C has not logged into the preset server, or the first account and the second account are different accounts, device C cannot control device A, and device C can only obtain the file list displayed on the display screen of device A.
[0228] Step 2: Device C determines the list of files to be transferred based on the list of files displayed by device A, and sends the list of files to be transferred to device B. This can be divided into the following sub-steps:
[0229] Step 2.1: Device C generates a floating interface based on the received file list displayed by device A, and device C displays the floating interface.
[0230] In this step, the floating interface can be a virtual screen generated based on the file list received from device A. For example, the virtual screen can be generated based on the name of each file in the file list, the coordinates of each file on the display screen, and the icon of each file. The name, location, and coordinates of each file in the virtual screen correspond to the files displayed on the display screen of device A. The interface corresponding to the virtual screen is recorded as the floating interface. Since the floating interface is generated based on the file list, and the file list is determined by device A based on the files displayed on the display interface of device A, the files displayed on the display interface of device A are displayed in the floating interface. For details, please refer to Figure 5 The files displayed on the display screen of device A and the files displayed in the floating interface.
[0231] It should be noted that before device C displays the floating interface, the content displayed in the display interface of device C is the environment picture captured by the camera of device C. However, after device C displays the floating interface, the content displayed in the display interface of device C includes not only the environment picture captured by the camera of device C, but also the virtual picture generated according to the file list. For the sake of distinction, the interface corresponding to the environment picture displayed in the display interface of device C can be recorded as the environment interface. That is, after the display screen of device C displays the floating interface, the display interface of device C includes the environment interface and the floating interface. The floating interface is displayed in a floating manner on the upper layer of the environment interface.
[0232] Reference Figure 5 As shown, the display interface of device C includes an environment interface and a floating interface, wherein the environment interface is displayed in full screen, that is, the environment picture collected by the camera of device C is displayed in full screen. The floating interface is displayed in the upper layer of the environment interface. If the user moves the position and / or angle of device C, the position of the floating interface of device C on the display screen of device C may remain unchanged, and the virtual picture in the floating interface remains unchanged. If the user changes the position and / or angle of device C, the position of the environment interface of device C on the display screen of device C remains unchanged, however, the environment picture in the environment interface will change (for example, the position of device A and the hand changes). In addition, when the floating interface is displayed in the upper layer of the environment interface, the shape, size, and position can all be preset.
[0233] Of course, in order to improve the user experience, the position of the floating interface can also be set to be changeable. For example, the floating interface can move with the movement of the eyeball, so that the floating interface is displayed in the direction of the user's perspective; the floating interface can also move with the movement of the gesture, so that after the user's hand appears in the perspective of the camera of device C, the floating interface is located in the area corresponding to the user's hand.
[0234] certainly, Figure 5 The display interface of device C shown is only used as an example. In actual applications, other display modes are also possible, and this application does not impose any limitation on this.
[0235] In actual applications, although the floating interface is displayed on the display screen of device C, from the user's visual perspective, it is similar to an interface that is displayed floating at a certain distance in front. Later, the user's hand makes gestures within the field of view of the camera of device C. From the user's visual perspective, it seems that the user's hand is operating on the floating interface. Of course, this visual effect requires the participation of some sensors on device C.
[0236] As an example, device C is provided with a depth sensor, which can collect the distance between the user's hand and device C. Device C generates a floating interface based on the distance, so that the distance between the floating interface and device C felt by the user wearing device C is consistent with the distance between the user's hand and device C. In this way, the visual experience of the user wearing AR glasses is as if the user's hand is operating on the floating interface displayed at a certain distance in front.
[0237] In step 2.2, the user adjusts the position of the hand (the position and / or angle of device C can also be adjusted) so that the user's hand appears within the field of view of the camera of device C, and in the display interface of device C, the user's hand is in the area where the floating interface is located.
[0238] See also Figure 6 As shown, the display screen of device A displays three files, namely, file 1, file 2, and file 3. The display screen of device C displays a floating interface including file 1, file 2, and file 3 ( Figure 6 Only the floating interface related to the current application scenario is shown in the figure). The floating interface seen by the user wearing device C (VR glasses) seems to be the interface displayed in front of the floating interface. The user's hand operates within the field of view of the camera of device C. The camera of device C can capture the environment image containing the user's hand. When the user's hand in the environment image is within the range of the floating interface, it is as if the user's hand is operating on the floating interface. For details, please refer to Figure 6 In the floating interface shown in the figure, the hand in the environment screen (only the hand in the environment screen is shown in the figure) is located in the area where the floating interface is located.
[0239] Step 2.3: The user makes a second preset gesture within the field of view of the camera of device C and in the area corresponding to the floating interface to select at least one file in the floating interface.
[0240] The second preset gesture may be a click operation of the user's finger, which can be referred to Figure 6 The second preset gesture may also be a circle selection operation of the user's finger. Figure 7 The user's finger can make multiple circle selection operations in the floating interface, and each file circled by the user's finger is used as a file to be transferred.
[0241] In order to avoid the deviation of the user's gesture resulting in inconsistency between the file the user wants to transfer and the file selected by the user through the gesture, the file determined by the user's gesture can be marked. For example, the file determined by the user's gesture is displayed in a highlighted form, or a special mark is made in the upper right corner of the file determined by the user's gesture, or the file determined by the user's gesture is displayed in a different color from other files, etc. Of course, when the user mistakenly selects a file that he does not want to transfer, the user can also correct the selected file to an unselected state through a second preset gesture. For example, when the file is in an unselected state, the user's second preset gesture points to the file (click the file or circle the file), and the file is switched from an unselected state to a selected state; when the file is in a selected state, the user's second preset gesture points to the file (click the file or circle the file), and the file is switched from a selected state to an unselected state.
[0242] See also Figure 8 As shown, Figure 8 In accordance with Figure 7 In the scene shown, a marking method for the selected files.
[0243] Of course, in actual applications, after the user selects a file in the floating interface, the name, icon or location of the currently selected file can also be sent to device A, and the display screen of device A will also mark the selected file synchronously.
[0244] In the embodiment of the present application, the floating interface is generated based on the file list obtained from device A, so the relevant information of the file corresponding to each position in the floating interface is stored in device C. That is, the position of each file in the floating interface is determined in the floating interface, and the position of the floating interface on the display screen of device C can also be determined, so the position of each file in the floating interface on the display screen of device C can be determined. The position (corresponding to the click operation) or area (corresponding to the circle selection operation) selected by the user's gesture on the display screen of device C can also be determined, so the position or area selected by the user's gesture in the environment screen in the environment interface can be first determined, and then based on the position of the floating interface in the environment interface, the position or area selected by the gesture in the environment screen is converted into the position or area selected by the gesture in the floating interface, so as to determine the position of the selected file based on the position or area selected by the gesture in the floating interface, and thus determine the icon and name of the file corresponding to the position. The file corresponding to the position is used as the file to be transmitted.
[0245] Step 2.4: The user makes a third preset gesture within the field of view of the camera of device C, wherein the third preset gesture can determine the end of file selection and also determine the input device of the file.
[0246] As an example, the third preset gesture may be a grab-and-move operation or a long-press-and-move operation, wherein the device corresponding to the release position of the third preset gesture is a file input device.
[0247] Reference Fig. 9 As shown, the third preset gesture is a grabbing and moving gesture, wherein the starting position of the grabbing and moving gesture is the position of the file selected in the floating interface, and the releasing position of the grabbing and moving gesture is the position of the input device.
[0248] Fig. 9 The scene diagram of the user making the third preset gesture, FIG. 10 (a) and FIG. 10 (b) are corresponding to Fig. 9 The display interface displayed on the display screen of device C in the scene. Referring to FIG10(a), which is the display interface of the display screen of device C, the user adjusts the position and / or angle of device C so that device B, which is an input device, appears in the field of view of the camera of device C. The display interface of device C contains an environment interface including device B and a floating interface located on the environment interface. The user moves his hand so that the hand captured in the field of view of the camera of device C appears in the area where the floating interface is located. The user's hand makes a grabbing gesture in the area where the floating interface is located, and then moves to the area where device B is located as shown by the dotted line. Referring to FIG10(b), after the hand captured in the field of view of the camera of device C appears in the area where device B is located, the user opens his palm to make a release motion. At this time, the grabbing and moving gesture ends, and device B becomes an input device.
[0249] In actual applications, the selected file may move with the movement of the user's hand, that is, after the user's hand moves to the area where device B is located, the selected file moves with the user's hand to the display screen of device B. The selected file may also not move with the movement of the user's hand, that is, after the user's hand starts to move, the selected file does not change its original position on the display screen of device C.
[0250] In step 2.5, after device C detects the third preset gesture in the environment interface (or environment screen), device C sends a message indicating that file selection is completed to device A, which carries a list of files to be transferred. This message can be recorded as a second message. After device A receives the message indicating that file selection is completed, device A sends device A's network configuration information to device C.
[0251] The network configuration information of device A indicates information about the network transmission mode supported by device A. For example, if device A has a Bluetooth module and a WIFI module and can access the Internet, the network configuration information of device A includes: Bluetooth information of device A (including authentication information), Wi-Fi P2P connection information of device A (including authentication information), and Internet access link of the selected file (including authentication information).
[0252] The list of files to be transferred is the information of the files selected by the user in the floating interface through gestures before. The contents of the file list include: the name of the file to be transferred, the icon or the position of the file in the floating interface (which can also be understood as the position of the file in the display screen of device A).
[0253] In step 2.6, after device C detects the third preset gesture in the environment interface (or environment screen), it can also determine that the input device is device B based on the release position of the third preset gesture. At this time, device C detects the ripple information on the screen of device B and identifies the Bluetooth information of device B based on the ripple information.
[0254] Since device B has appeared on the display interface of device C, device C can capture the ripple image on the screen of device B.
[0255] The content of the ripple displayed by device B in this step can refer to the relevant description of the content of the ripple displayed by device A in preparation 1, and will not be repeated here.
[0256] In actual application, the third preset gesture may also be set to two gestures, one of which indicates the end of file selection, and is used to trigger device C to execute step 2.5, and the other gesture indicates the selection of an input device, and is used to trigger device C to execute step 2.6.
[0257] The embodiment of the present application is described by taking an example that a third preset gesture can trigger device C to execute steps 2.5 and 2.6, and does not limit the number of gestures that trigger device C to execute steps 2.5 and 2.6.
[0258] In actual applications, when the display screen of device B appears within the field of view of the camera of device C, device C can establish a connection with device B based on the ripples displayed on the display screen of device B. When device B is determined to be an output device through a third preset gesture, device C can exchange information through the established connection.
[0259] Step 2.7, device C establishes a Bluetooth connection with device B based on the identified Bluetooth information of device B. Device C sends the list of files to be transferred and the network configuration information of device A to device B based on the established Bluetooth connection.
[0260] For easy distinction, the Bluetooth connection between device A and device C is named as a first Bluetooth connection, and the Bluetooth connection between device C and device B is named as a second Bluetooth connection.
[0261] The prerequisite for establishing the first Bluetooth connection is: the ripple carrying the Bluetooth information of device A displayed on the screen of device A obtained by device C through the camera. The first Bluetooth connection is used for information exchange between device A and device C, for example, device A transmits network configuration information of device A to device C, device A transmits information of the file displayed on the display screen of device A to device C, and device C transmits information of the selected file to device A, etc.
[0262] The prerequisite for establishing the second Bluetooth connection is that device C obtains the ripple carrying the Bluetooth information of device B displayed on the screen of device B through the camera. The second Bluetooth connection is used for information exchange between device C and device B, for example, device C transmits the network configuration information of device A and the list of files to be transmitted to device B.
[0263] It should be noted that in actual applications, the network connection between device A and device C is not limited to the Bluetooth connection mode. For the sake of distinction, the network connection between device A and device C can be recorded as the first connection. The network connection between device B and device C is also not limited to the Bluetooth connection mode. The network connection between device B and device C can be recorded as the second connection.
[0264] The message sent by device C to device B based on the established Bluetooth connection is recorded as a first message, and the first message carries a list of files to be transmitted and network configuration information of device A.
[0265] Step 3: After device A successfully authenticates the list of files to be transmitted sent by device B, device A sends the files in the list of files to be transmitted to device B. This may include the following sub-steps:
[0266] In step 3.1, device B establishes a network connection with device A based on the network configuration of device A. Device B sends a file acquisition request to device A based on the network connection. The file acquisition request carries a list of files to be transferred.
[0267] Device B can initiate a network connection request to device A based on the network configuration information of device A, and carry the list of files to be transferred in the network connection request. Device B can also first establish a network connection with device A based on the network configuration information of device A. After the network connection between device B and device A is successfully established, device B sends the list of files to be transferred based on the successfully established network connection to request device A to send the files in the list to device B.
[0268] In practical applications, the specific method to be adopted can be determined according to the specific situation.
[0269] In addition, since the network configuration information of device A may include information corresponding to multiple network connection methods, the information corresponding to multiple network connection methods in the network configuration information may be prioritized. For example, the priority of the Bluetooth network connection method is greater than the priority of the Wi-Fi P2P connection method and greater than the priority of the Internet access connection method.
[0270] When device B fails to successfully establish a connection with device A based on the network connection method with the highest priority in the network configuration information of device A, device B may select the network connection method with the second priority in the network configuration information to establish a connection with device A.
[0271] The prerequisite for establishing the network connection between device A and device B is that device A sends the network configuration information of device A to device C through the first Bluetooth connection, and device C sends the network configuration information of device A to device B based on the second Bluetooth connection.
[0272] In step 3.2, after device A receives the file acquisition request sent by device B, it compares the list of files to be transmitted in the file acquisition request with the list of files to be transmitted sent by device C. After the two are compared and consistent, device A sends the files in the list of files to be transmitted to device B based on the network connection between device B and device A.
[0273] See also Fig.11, during the process of device A sending the files in the file list to be transferred to device B, device A can send the file currently being transferred and the total progress of the current transfer to device C through the first Bluetooth connection between device A and device C. Device C displays the file currently being transferred (file 1 in FIG. 11 ) and the total progress of the current transfer through the display interface of device C. Fig.11 Of course, after the file transfer is completed, device C can also display a prompt after the transfer is completed. Of course, in actual applications, only the total progress of the current transfer can be displayed without displaying the file currently being transferred.
[0274] If the files currently being transferred are displayed, even if a folder is used as the object for data transfer, when the files currently being transferred are displayed, the files in the folder may be displayed.
[0275] Need to explain, Fig.11 The content shown is a display interface, which can be recorded as a progress interface. The progress interface can also be a floating interface, which is displayed floating above the environment interface.
[0276] Above Figures 3 to 11 In the application scenario shown, the device C is an AR glasses as an example. When the user selects the file to be transferred, the user selects it in the floating interface. In actual applications, other methods can also be used. For details, please refer to the description of the following application scenario.
[0277] Since the picture displayed on the display screen of device C can be the environmental picture captured by the camera of device C, the user can make the user's hand and the screen of device A appear within the field of view of the camera of device C at the same time by adjusting the position of the hand (or the position and / or angle of device C). Therefore, in the environmental picture of device C, the user's hand can select the file in the display screen of device A to complete the selection of the file to be transferred, without generating a floating interface as before.
[0278] As an example, refer to Fig.12 As shown, the user wears device C, and device A and the user's hand exist in the field of view of the camera of device C. The environment picture collected by the camera of device C generates the display interface of device C. When there is no floating interface, the content displayed in the display interface of device C is the environment picture collected by the camera of device C, that is, the display interface of device C is the environment interface of device C. When device A and the user's hand exist in the field of view of the camera of device C, device A and the user's hand are also displayed in the display interface of device C. Fig.12 In the figure, only the user's hands are shown. If the user's arms and other objects in the environment are also within the field of view of the camera of device C, the user's arms and other objects in the environment will also appear in the display interface of device C.
[0279] like Fig.12 As shown, the picture displayed on the display interface of device C is the environmental picture collected within the field of view of the camera of device C.
[0280] Within the camera's field of view, the user's hand selects the file on the screen of device A in the air as the file to be transferred. The specific selection method can be referred to the description of step 2.3, which will not be repeated here. Different from step 2.3, in step 2.3, the user's hand selects the file in the air on the floating interface. In this application scenario, the user's hand selects the file in the air on the display interface of device A. Of course, whether the user's hand selects the file on the display interface of device A in the environmental screen or the user's hand selects the file on the floating interface, device C determines the selected file based on the gesture and position of the hand in the display interface of the display screen of device C.
[0281] In addition, when the distance between device C and device A is determined, if the user's hand is closer to device C, the area of device A blocked by the hand in the camera's field of view (in the display interface of device C) will become larger. If the user's hand is farther away from device C, the area of device A blocked by the hand in the camera's field of view (in the display interface of device C) will become smaller. However, since the user's hand can only move within a certain range in front of device C when the user is wearing device C, it is possible that the user's hand is too large or too small compared to the display screen of device A in the display interface of device C, making it inconvenient for the user to select files as files to be transferred.
[0282] Referring to FIG13(a), in the display interface of device C, the user's hand is too large relative to the screen of device A (for example, when device A is a relatively large screen device), and referring to FIG13(b), in the display interface of device C, the user's hand is too small relative to the screen of device A (for example, when device A is a relatively far computer). To highlight the contrast, FIG13(a) and FIG13(b) take device A as a computer as an example.
[0283] In order to enable the user to accurately select a file displayed on the display screen of device A, whether the user can accurately select the file may be determined by the proportion of the display screen of device A covered by the user's hand.
[0284] As an example, the area of the hand in the display interface of device C and the area of the display screen of device A can be identified, and the coverage ratio of the hand and the display screen of device A can be determined based on the area of the hand and the area of the display screen of device A.
[0285] Of course, in actual applications, the display screen of device A in the display interface of device C can also be cut into multiple sub-areas of equal area, and the ratio of the number of hands in the sub-areas to the total number of sub-areas is used as the coverage ratio of the hands and the display screen of device A.
[0286] by Fig.14 For example, in the figure, the number of sub-regions with hands is 3 ( Fig.14 1, 2 and 3) in the figure, the total number of sub-areas is 28, and 3 / 28 is the coverage ratio of the hand and the display screen of device A.
[0287] Of course, in actual applications, the following method can also be used: the display screen of device A displays ripples in full screen, and the ratio of the area of the area where the ripples are not displayed in the display interface of device C to the area of the display screen of device A in the display interface of device C is used as the coverage ratio of the hand and the display screen of device A. Alternatively, the display screen of device A displays ripples in full screen, and the display interface of device C also divides device A into multiple sub-areas of equal area, each sub-area has a sequential code, and the ratio of the number of codes of the sub-area covered by the hand to the total number of codes of the sub-areas is used as the coverage ratio of the hand and the display screen of device A.
[0288] In practical applications, other methods may be used to evaluate the relative size ratio between the hand and the display screen of device A in the display interface of device C.
[0289] When the coverage ratio is within the preset range, it indicates that the ratio of the user's hand to the display screen of device A in the display interface of device C is appropriate, and the user's hand can accurately select a file displayed on the display screen of device A. The preset range indicates a numerical range from a first preset value to a second preset value, wherein the minimum value in the preset range is the first preset value, and the maximum value in the preset range is the second preset value.
[0290] It should be noted that in this case, since there is no need to generate a floating interface, device C may not request device A to obtain the file list on the display screen of device A, but identify the position (corresponding to the click gesture) or area (corresponding to the circle gesture) selected by the second preset gesture in the environment screen. Based on the position or area, the icon of the selected file in the display interface of device C is determined by the image segmentation method. The name of the selected file in the display interface is determined by image text recognition. Of course, in actual applications, other methods can also be used. For example, based on the encoding of the ripples on the display screen of device A in the display interface of device C, the position or area corresponding to the second preset gesture is determined, so as to obtain the icon and name of the file corresponding to the position or area. Then, when device C sends a message to device A indicating the end of file selection, it carries the list of files to be transmitted in the message indicating the end of file selection, wherein the list of files to be transmitted includes one or more of the above-obtained file names, file locations, and file icons.
[0291] As an example, the position of the user's gesture in the environment screen of device C can be determined. When the user's second preset gesture is a click-to-select gesture, the click-to-select position can be determined. Based on the click-to-select position, the file icon corresponding to the position and the position of the file icon in the environment screen can be segmented. The text content corresponding to the position can also be identified as the name of the file by an image text recognition method. Since the position of the display screen of device A in the environment screen can be determined, the position of the file icon in the display screen of device A can be determined. In the above manner, the list of files to be transferred can be determined.
[0292] When the coverage ratio is less than the first preset value, it means that the user's hand in the display interface of device C is too small compared to the display screen of device A, which can also be understood as the display screen of device A is too large. In this case, a floating interface can be displayed, and the floating interface is smaller than the display screen of device A in the display interface of device C. For details, please refer to Figure 15(a).
[0293] When the coverage ratio is greater than the second preset value, it means that the user's hand in the display interface of device C is too large compared to the display screen of device A, which can also be understood as the display screen of device A is too small. In this case, a floating interface can be displayed, and the floating interface is larger than the display screen of device A in the display interface of device C. For details, please refer to Figure 15(b).
[0294] The display mode of the floating interface in FIG. 15(a) and FIG. 15(b) can refer to the description of step 1.4 to step 2.1. No further description is given here. The display mode of the floating interface in this application scenario is different from step 1.4 in that:
[0295] In step 1.4, the user needs to trigger device C to display a floating interface through a first preset gesture. In this application scenario, device C is triggered to display a floating interface based on the fact that the coverage ratio of the user's hand and the display screen of device A in the display interface of device C is not within a preset range.
[0296] As another embodiment of the present application, the above application scenarios are all based on the example of device C as an AR device worn by the user. In actual applications, device C may not be an AR device worn by the user. For example, device C may also be a mobile phone, a tablet computer, etc. The environment picture collected by the camera of device C is displayed on the display screen of device C. If the environment picture is displayed on the display screen of device C, the user can trigger a request from device C to obtain the file list displayed on the display screen of device A by long pressing or clicking the location area where device A is located in the environment picture displayed on the display screen of device C (the display screen is a touch screen) (in actual applications, after device C and device A establish a first connection, device C can also send a request to device A to obtain the file list displayed on the display screen of device A). A virtual interface can also be displayed on the display screen of device C. The virtual interface is displayed in a suspended effect on the upper layer of the environment interface. Therefore, the virtual interface can also be recorded as a suspended interface. The user's second preset gesture can also be a touch operation made by the user on the display screen of device C. For example, the user clicks or circles a file on the display screen of device C with a finger to select a file as a file to be transferred. The user's third preset gesture may also be a long press and move operation of the user on the display screen of device C. For example, the location area where any one of the selected files on the floating interface of device C is located is used as the starting point of the long press and move gesture, and the location area of device B in the environment interface is used as the end point of the long press and move gesture).
[0297] It can be understood from this embodiment that when device C is an augmented reality device, the first preset gesture (when present), the second preset gesture, and the third preset gesture are all gestures of the user's hand within the field of view of the camera of device C;
[0298] When device C is not an augmented reality device, the first preset gesture, the second preset gesture, and the third preset gesture are all touch gestures of the user's hand on the display screen of device C.
[0299] In the above embodiment, the function implemented by the system composed of multiple devices is: controlling the file on device A to be transferred to device B through device C. However, in actual applications, the function implemented by the system composed of multiple devices can also be: controlling device A through device C to implement a certain function, and the certain function can be: setting an alarm, playing a video, etc. The function implemented by the system composed of multiple devices can also be: device C controls device A to implement other control functions, and the other control functions are related to device B. For example, device C controls the synchronization of the song currently played by device A (mobile phone 1) and device B (mobile phone 2); device C controls the synchronization of the song currently played by device B (mobile phone 1) and device A (mobile phone 2). Or, device C controls device A (smart speaker) to synchronize the audio of the video currently played by device B (mobile phone); device C controls device B (smart speaker) to synchronize the audio of the video currently played by device A (mobile phone).
[0300] As another embodiment of the present application, the floating interface displayed on the display screen of device C can not only display the files displayed on the display screen of device A, but the floating interface of device C can also display any other content on the display screen of device A.
[0301] As an example, the floating interface of device C can copy the display interface of the display screen of device A. For example, after the user makes the first preset gesture, what device A sends to device C is no longer the file list displayed on the display screen of device A, but a screenshot of the display interface displayed on the display screen of device A or the icons and positions of all the triggerable controls in the display interface displayed on the display screen of device A. Device C generates the floating interface based on the received screenshot of the display interface of device A, or the icons and positions of the controls. When the user makes a gesture in the area of the floating interface, device C sends the position of the gesture in the floating interface to device A. After receiving the position, device A generates an instruction on the display screen of device A based on the position, and the instruction acts on the control corresponding to the position, thereby realizing the control of device C over device A. In addition, after the content displayed on the display screen of device A changes due to the instruction acting on the control corresponding to the position, device A sends a screenshot of the display interface of device A or the icons and positions of all the triggerable controls in the display interface currently displayed on the display screen of device A to device C. Correspondingly, the content displayed in the floating interface of device C changes, and the user can continue to make gestures in the area of the floating interface to achieve device C's control over device A. In this way, it can be achieved that: the user makes gestures with his hand in the area corresponding to the floating interface in the display interface of device C to complete the operation of the display interface of device A's display screen, thereby achieving control over device A.
[0302] The above description is made from the perspective of a user using a data transmission system composed of device A, device B and device C to implement data transmission. The following describes the data transmission process from the product perspective of a data transmission system composed of device A, device B and device C. The third device in the following embodiments may be device C in the above embodiments, the second device in the following embodiments may be device B in the above embodiments, and the first device in the following embodiments may be device A in the above embodiments.
[0303] In one embodiment of the data transmission method provided in the present application, the third device displays the environment image captured by the camera of the third device through the display screen of the third device;
[0304] The third device detects the first preset gesture and the first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on the display screen of the first device, and at least one object is displayed in the display interface;
[0305] In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device;
[0306] The third device detects the second preset gesture in the environment screen and detects the object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0307] The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen;
[0308] In response to the third preset gesture, the third device sends first information to the second device, wherein the first information includes information of the object to be transmitted;
[0309] After receiving the first information, the second device sends an object acquisition request to the first device, wherein the object acquisition request carries information of the object to be transmitted, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device;
[0310] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device.
[0311] In another embodiment, in response to the third preset gesture, the third device sends the first information to the second device, including:
[0312] In response to the third preset gesture, the third device sends second information to the first device, where the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device;
[0313] The third device receives the network configuration information of the first device sent by the first device, and the third device sends the first information to the second device, wherein the first information carries the information of the object to be transmitted and the network configuration information of the first device;
[0314] Before the second device sends the object acquisition request to the first device, the method further includes:
[0315] The second device receives the first information sent by the third device, and the second device establishes a network connection with the first device based on the network configuration information of the first device carried in the first information.
[0316] In another embodiment, in response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including:
[0317] In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device;
[0318] The third device acquires information about the object in the display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device;
[0319] The third device displays a floating picture on the display screen of the third device.
[0320] In another embodiment, in response to the first preset gesture, the third device sends a first request to the first device, including:
[0321] In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen;
[0322] When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
[0323] In another embodiment, after the third device detects the coverage ratio of the hand in the first preset gesture in the environment screen to the display screen of the first device in the environment screen, the method further includes:
[0324] When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture and the object to be transmitted selected in the environmental screen by the second preset gesture in the environmental screen.
[0325] In another embodiment, the third device detects in the environment screen that the object to be transmitted is selected by the second preset gesture in the environment screen, including:
[0326] The third device identifies the position or area selected by the second preset gesture in the environment picture;
[0327] The third device identifies information of an object to be transmitted corresponding to a position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
[0328] In another embodiment, the third device detects in the floating screen that the object to be transmitted selected by the second preset gesture in the floating screen includes:
[0329] The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture;
[0330] The third device converts the position or area selected by the second preset gesture in the ambient screen to the position or area selected by the second preset gesture in the floating screen according to the positional relationship between the floating screen and the ambient screen displayed on the display screen of the third device;
[0331] The third device obtains information about the object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
[0332] In another embodiment, first image identification information is displayed on a display screen of the first device, and the first image identification information carries first network information of the first device;
[0333] Before the third device sends the first request to the first device, the method further includes:
[0334] The third device detects the first image recognition information displayed on the display screen of the first device in the environment screen;
[0335] The third device identifies the first image identification information, and obtains the first network information of the first device carried in the first image identification information;
[0336] The third device establishes a first connection with the first device based on the first network information of the first device.
[0337] In another embodiment, second image identification information is displayed on the display screen of the second device, and the second image identification information carries second network information of the second device;
[0338] Before the third device sends the first information to the second device, the method further includes:
[0339] The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device;
[0340] The third device identifies the second image identification information, and obtains the second network information of the second device carried in the second image identification information;
[0341] The third device establishes a second connection with the second device based on the second network information of the second device.
[0342] In another embodiment, the first image identification information includes ripple information, and the second image identification information includes ripple information.
[0343] In another embodiment, the second information includes information of an object to be transmitted,
[0344] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device, including:
[0345] After receiving the object acquisition request, the first device sends the object to be transmitted to the second device after comparing the information of the object to be transmitted in the object acquisition request with the information of the object to be transmitted in the second information sent by the third device and finding that they are consistent.
[0346] In another embodiment, when the first device sends the object to be transmitted to the second device, the method further includes:
[0347] The first device sends transmission information to the third device, wherein the transmission information includes: information of the object currently being transmitted and the transmission progress;
[0348] After the third device receives the transmission information, the transmission information is displayed through the display screen of the third device.
[0349] In another embodiment, when the third device is an augmented reality device, the first preset gesture, the second preset gesture, and the third preset gesture are all gestures of the user's hand within the field of view of a camera of the augmented reality device;
[0350] When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
[0351] After describing the data transmission method from the product perspective of the data transmission system, the data transmission process is described from the perspective of a third device as a control device.
[0352] The data transmission method provided in the embodiment of the present application includes:
[0353] The third device displays the environment image captured by the camera of the third device through the display screen of the third device;
[0354] The third device detects the first preset gesture and the first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on the display screen of the first device, and at least one object is displayed in the display interface;
[0355] In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device;
[0356] The third device detects the second preset gesture in the environment screen and detects the object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0357] The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen;
[0358] In response to a third preset gesture, the third device sends first information to the second device, wherein the first information includes information of an object to be transmitted, and the first information is used to instruct the second device to send an object acquisition request to the first device, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device.
[0359] As another embodiment of the present application, in response to a third preset gesture, the third device sends first information to the second device, including:
[0360] In response to the third preset gesture, the third device sends second information to the first device, where the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device;
[0361] The third device receives the network configuration information of the first device sent by the first device, and the third device sends the first information to the second device, wherein the first information carries the information of the object to be transmitted and the network configuration information of the first device, and the first information is used to instruct the second device to establish a network connection with the first device based on the network configuration information of the first device carried in the first information.
[0362] As another embodiment of the present application, in response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including:
[0363] In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device;
[0364] The third device acquires information about the object in the display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device;
[0365] The third device displays a floating picture on the display screen of the third device.
[0366] As another embodiment of the present application, in response to the first preset gesture, the third device sends a first request to the first device, including:
[0367] In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen;
[0368] When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
[0369] As another embodiment of the present application, after the third device detects the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen, it also includes:
[0370] When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture and the object to be transmitted selected in the environmental screen by the second preset gesture in the environmental screen.
[0371] As another embodiment of the present application, the third device detects in the environment screen that the object to be transmitted is selected by the second preset gesture in the environment screen, including:
[0372] The third device identifies the position or area selected by the second preset gesture in the environment picture;
[0373] The third device identifies information of an object to be transmitted corresponding to a position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
[0374] As another embodiment of the present application, the third device detects in the floating screen that the object to be transmitted selected by the second preset gesture in the floating screen includes:
[0375] The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture;
[0376] The third device converts the position or area selected by the second preset gesture in the ambient screen to the position or area selected by the second preset gesture in the floating screen according to the positional relationship between the floating screen and the ambient screen displayed on the display screen of the third device;
[0377] The third device obtains information about the object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
[0378] As another embodiment of the present application, first image identification information is displayed on a display screen of the first device, and the first image identification information carries first network information of the first device;
[0379] Before the third device sends the first request to the first device, the method further includes:
[0380] The third device detects the first image recognition information displayed on the display screen of the first device in the environment screen;
[0381] The third device identifies the first image identification information, and obtains the first network information of the first device carried in the first image identification information;
[0382] The third device establishes a first connection with the first device based on the first network information of the first device.
[0383] As another embodiment of the present application, second image identification information is displayed on the display screen of the second device, and the second image identification information carries second network information of the second device;
[0384] Before the third device sends the first information to the second device, the method further includes:
[0385] The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device;
[0386] The third device identifies the second image identification information, and obtains the second network information of the second device carried in the second image identification information;
[0387] The third device establishes a second connection with the second device based on the second network information of the second device.
[0388] As another embodiment of the present application, the first image recognition information includes ripple information, and the second image recognition information includes ripple information.
[0389] As another embodiment of the present application, after the third device sends the first information to the second device, the method further includes:
[0390] The third device receives the transmission information sent by the first device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress;
[0391] The third device displays the transmission information through a display screen of the third device.
[0392] As another embodiment of the present application, when the third device is an augmented reality device, the first preset gesture, the second preset gesture, and the third preset gesture are all gestures of the user's hand within the field of view of a camera of the augmented reality device;
[0393] When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
[0394] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0395] The embodiment of the present application can divide the functional modules of the third device (for example, the device C in the above embodiment) according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function:
[0396] Reference Fig.16 , the third device 1600 includes:
[0397] The environment image display module 1601 is used to display the environment image captured by the camera of the third device through the display screen of the third device;
[0398] The gesture detection module 1602 is configured to detect a first preset gesture and a first device selected by the first preset gesture in the environment screen, wherein a display screen of the first device displays a display interface, and at least one object is displayed in the display interface;
[0399] The floating screen display module 1603 displays a floating screen on the display screen of the third device in response to the first preset gesture, wherein the floating screen contains the object in the display interface of the first device;
[0400] The gesture detection module 1602 is further configured to detect a second preset gesture in the environment screen and to detect an object to be transmitted in the floating screen selected by the second preset gesture in the floating screen;
[0401] The gesture detection module 1602 is further configured to detect a third preset gesture and a second device selected by the third preset gesture in the environment screen;
[0402] The first information sending module 1604 is used to send first information to the second device in response to a third preset gesture, wherein the first information includes information of the object to be transmitted, and the first information is used to instruct the second device to send an object acquisition request to the first device, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device.
[0403] As another embodiment, the first information sending module 1604 is further configured to:
[0404] In response to a third preset gesture, sending second information to the first device, the second information being used to indicate that selection of the object to be transmitted is completed, and the second information being used to instruct the first device to send network configuration information of the first device to the third device;
[0405] Receive network configuration information of the first device sent by the first device, and send first information to the second device, wherein the first information carries information of the object to be transmitted and the network configuration information of the first device, and the first information is used to instruct the second device to establish a network connection with the first device based on the network configuration information of the first device carried in the first information.
[0406] As another embodiment, the floating screen display module 1603 is further used for:
[0407] In response to a first preset gesture, sending a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device;
[0408] Acquire information of an object in a display interface of the first device, and generate a floating screen based on the information of the object in the display interface of the first device;
[0409] A floating image is displayed on a display screen of the third device.
[0410] As another embodiment, the floating screen display module 1603 is further used for:
[0411] In response to the first preset gesture, detecting a coverage ratio of a hand in the first preset gesture in the environment picture and a display screen of the first device in the environment picture;
[0412] When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, a first request is sent to the first device.
[0413] As another embodiment, the gesture detection module 1602 is further configured to:
[0414] When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture and the object to be transmitted selected in the environmental screen by the second preset gesture in the environmental screen.
[0415] As another embodiment, the gesture detection module 1602 is further configured to:
[0416] Recognize the location or area selected by the second preset gesture in the environment picture;
[0417] The information of the object to be transmitted corresponding to the position or area is identified in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
[0418] As another embodiment, the gesture detection module 1602 is further configured to:
[0419] Recognize, in the environment picture, a position or area selected by the second preset gesture in the environment picture;
[0420] According to the positional relationship between the floating screen and the ambient screen displayed on the display screen of the third device, converting the position or area selected by the second preset gesture in the ambient screen to the position or area selected by the second preset gesture in the floating screen;
[0421] The information of the object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen is obtained.
[0422] As another embodiment, first image identification information is displayed on a display screen of the first device, and the first image identification information carries first network information of the first device;
[0423] The floating screen display module 1603 is also used for:
[0424] Before sending the first request to the first device, detecting first image identification information displayed on the display screen of the first device in the environment screen;
[0425] Identify the first image identification information, and obtain first network information of the first device carried by the first image identification information;
[0426] A first connection is established with the first device based on the first network information of the first device.
[0427] As another embodiment, second image identification information is displayed on a display screen of the second device, and the second image identification information carries second network information of the second device;
[0428] The first information sending module 1604 is further used for:
[0429] Before sending the first information to the second device, detecting second image recognition information displayed on a display screen of a third device in the environment screen;
[0430] Identify the second image identification information, and obtain second network information of the second device carried by the second image identification information;
[0431] A second connection is established with the second device based on the second network information of the second device.
[0432] As another embodiment, the first image identification information includes ripple information, and the second image identification information includes ripple information.
[0433] As another embodiment, the third device 1600 further includes:
[0434] A transmission progress display module, configured to receive transmission information sent by the first device after sending the first information to the second device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress;
[0435] The transmission information is displayed on the display of the third device.
[0436] As another embodiment, when the third device is an augmented reality device, the first preset gesture, the second preset gesture, and the third preset gesture are all gestures of the user's hand within the field of view of a camera of the augmented reality device;
[0437] When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
[0438] It should be noted that the information interaction, execution process and other contents between the modules in the above-mentioned third device are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0439] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual application, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the third device is divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned third device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0440] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0441] An embodiment of the present application also provides a computer program product. When the computer program product runs on a first device, the first device can implement the steps in the above-mentioned method embodiments.
[0442] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the first device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0443] The embodiment of the present application also provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps of any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0444] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0445] Those of ordinary skill in the art will appreciate that the units and method 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 this application.
[0446] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A data transmission method, characterized in that: Applied to a system including a first device, a second device, and a third device, the method includes: The third device displays the environment image acquired by the camera of the third device through the display screen of the third device; The third device detects a first preset gesture and a first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on a display screen of the first device, and at least one object is displayed in the display interface, and the object includes a file and a folder; In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device; The third device detects a second preset gesture in the environment screen and detects an object to be transmitted in the floating screen that is selected by the second preset gesture in the floating screen; The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen; In response to the third preset gesture, the third device sends first information to the second device, including: in response to the third preset gesture, the third device sends second information to the first device, the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device; the third device receives the network configuration information of the first device sent by the first device, and the third device sends first information to the second device, wherein the first information carries information about the object to be transmitted and the network configuration information of the first device, wherein the first information includes information about the object to be transmitted; the network configuration information indicates information about the network transmission method supported by the first device; After receiving the first information, the second device sends an object acquisition request to the first device, wherein the object acquisition request carries information about the object to be transmitted, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device; After receiving the object acquisition request, the first device sends the object to be transmitted to the second device.
2. The method according to claim 1, characterized in that Before the second device sends the object acquisition request to the first device, the method further includes: The second device receives the first information sent by the third device, and the second device establishes a network connection with the first device based on the network configuration information of the first device carried in the first information.
3. The method according to claim 2, characterized in that In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including: In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device; The third device acquires information about an object in a display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device; The third device displays the floating picture on a display screen of the third device.
4. The method according to claim 3, characterized in that In response to the first preset gesture, the third device sending a first request to the first device includes: In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen; When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
5. The method according to claim 4, characterized in that After the third device detects the coverage ratio of the hand in the first preset gesture in the environment picture and the display screen of the first device in the environment picture, the method further includes: When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture in the environmental screen and the object to be transmitted selected by the second preset gesture in the environmental screen.
6. The method according to claim 5, characterized in that The third device detects in the environment screen an object to be transmitted selected by the second preset gesture in the environment screen, including: The third device identifies the position or area selected by the second preset gesture in the environment picture; The third device identifies information of an object to be transmitted corresponding to the position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
7. The method according to any one of claims 3 to 6, characterized in that The object to be transmitted detected by the third device in the floating screen by the second preset gesture in the floating screen includes: The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture; The third device converts the position or area selected by the second preset gesture in the environmental picture to the position or area selected by the second preset gesture in the floating picture according to the position relationship between the floating picture and the environmental picture displayed on the display screen of the third device; The third device obtains information of an object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
8. The method according to any one of claims 3 to 6, characterized in that First image identification information is displayed on the display screen of the first device, and the first image identification information carries first network information of the first device; Before the third device sends the first request to the first device, the method further includes: The third device detects, in the environment screen, first image recognition information displayed on the display screen of the first device; The third device identifies the first image identification information, and obtains the first network information of the first device carried by the first image identification information; The third device establishes a first connection with the first device based on the first network information of the first device.
9. The method according to claim 8, characterized in that The second image identification information is displayed on the display screen of the second device, and the second image identification information carries the second network information of the second device; Before the third device sends the first information to the second device, the method further includes: The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device; The third device identifies the second image identification information, and obtains the second network information of the second device carried by the second image identification information; The third device establishes a second connection with the second device based on the second network information of the second device.
10. The method according to claim 9, characterized in that The first image recognition information includes ripple information, and the second image recognition information includes ripple information.
11. The method according to any one of claims 2 to 6, characterized in that: The second information includes information of the object to be transmitted, After receiving the object acquisition request, the first device sends the object to be transmitted to the second device, including: After receiving the object acquisition request, the first device sends the object to be transmitted to the second device after comparing the information of the object to be transmitted in the object acquisition request with the information of the object to be transmitted in the second information sent by the third device and finding that they are consistent.
12. The method according to any one of claims 1 to 6, characterized in that: When the first device sends the object to be transmitted to the second device, the method further includes: The first device sends transmission information to the third device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress; After receiving the transmission information, the third device displays the transmission information through a display screen of the third device.
13. The method according to any one of claims 1 to 6, characterized in that: When the third device is an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all gestures of the user's hand within the field of view of a camera of the augmented reality device; When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
14. A data transmission method, characterized in that: include: The third device displays the environment image acquired by the camera of the third device through the display screen of the third device; The third device detects a first preset gesture and a first device selected by the first preset gesture in the environment screen, wherein a display interface is displayed on a display screen of the first device, and at least one object is displayed in the display interface, and the object includes a file and a folder; In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, wherein the floating screen contains an object in a display interface of the first device; The third device detects a second preset gesture in the environment screen and detects an object to be transmitted in the floating screen that is selected by the second preset gesture in the floating screen; The third device detects a third preset gesture and a second device selected by the third preset gesture in the environment screen; In response to the third preset gesture, the third device sends first information to the second device, including: in response to the third preset gesture, the third device sends second information to the first device, the second information is used to indicate that the selection of the object to be transmitted is completed, and the second information is used to instruct the first device to send the network configuration information of the first device to the third device; the third device receives the network configuration information of the first device sent by the first device, and the third device sends first information to the second device, wherein the first information carries the information of the object to be transmitted and the network configuration information of the first device, wherein the first information includes the information of the object to be transmitted, and the first information is used to instruct the second device to send an object acquisition request to the first device, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device; the network configuration information represents the information of the network transmission method supported by the first device.
15. The method according to claim 14, characterized in that The first information is used to instruct the second device to establish a network connection with the first device based on the network configuration information of the first device carried in the first information.
16. The method according to claim 14, characterized in that In response to the first preset gesture, the third device displays a floating screen on a display screen of the third device, including: In response to the first preset gesture, the third device sends a first request to the first device, where the first request is used to obtain information about an object in a display interface of the first device, wherein the information about the object in the display interface of the first device includes at least one of the following: an icon of the object, a name of the object, and coordinates of the object in the display interface of the first device; The third device acquires information about an object in a display interface of the first device, and the third device generates a floating screen based on the information about the object in the display interface of the first device; The third device displays the floating picture on a display screen of the third device.
17. The method according to claim 16, characterized in that In response to the first preset gesture, the third device sending a first request to the first device includes: In response to the first preset gesture, the third device detects a coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen; When the coverage ratio of the hand in the first preset gesture in the environment screen and the display screen of the first device in the environment screen is not within a preset range, the third device sends a first request to the first device.
18. The method according to claim 17, characterized in that After the third device detects the coverage ratio of the hand in the first preset gesture in the environment picture and the display screen of the first device in the environment picture, the method further includes: When the coverage ratio of the hand in the first preset gesture in the environmental screen and the display screen of the first device in the environmental screen is within a preset range, the third device detects the second preset gesture in the environmental screen and the object to be transmitted selected by the second preset gesture in the environmental screen.
19. The method according to claim 18, characterized in that The third device detects in the environment screen an object to be transmitted selected by the second preset gesture in the environment screen, including: The third device identifies the position or area selected by the second preset gesture in the environment picture; The third device identifies information of an object to be transmitted corresponding to the position or area in the environment screen, wherein the information of the object to be transmitted includes at least one of the following: an icon of the object, a name of the object, and a position of the object on the display screen of the first device.
20. The method according to any one of claims 16 to 19, characterized in that The object to be transmitted detected by the third device in the floating screen by the second preset gesture in the floating screen includes: The third device identifies, in the environment picture, a position or area selected by the second preset gesture in the environment picture; The third device converts the position or area selected by the second preset gesture in the environmental picture to the position or area selected by the second preset gesture in the floating picture according to the position relationship between the floating picture and the environmental picture displayed on the display screen of the third device; The third device obtains information of an object to be transmitted corresponding to the position or area selected by the second preset gesture in the floating screen.
21. The method according to any one of claims 16 to 19, characterized in that First image identification information is displayed on the display screen of the first device, and the first image identification information carries first network information of the first device; Before the third device sends the first request to the first device, the method further includes: The third device detects, in the environment screen, first image recognition information displayed on the display screen of the first device; The third device identifies the first image identification information, and obtains the first network information of the first device carried by the first image identification information; The third device establishes a first connection with the first device based on the first network information of the first device.
22. The method according to claim 21, characterized in that The second image identification information is displayed on the display screen of the second device, and the second image identification information carries the second network information of the second device; Before the third device sends the first information to the second device, the method further includes: The third device detects, in the environment screen, second image recognition information displayed on the display screen of the third device; The third device identifies the second image identification information, and obtains the second network information of the second device carried by the second image identification information; The third device establishes a second connection with the second device based on the second network information of the second device.
23. The method of claim 22, wherein: The first image recognition information includes ripple information, and the second image recognition information includes ripple information.
24. The method according to any one of claims 14 to 19, characterized in that After the third device sends the first information to the second device, the method further includes: The third device receives the transmission information sent by the first device, wherein the transmission information includes: information of the file currently being transmitted and the transmission progress; The third device displays the transmission information through a display screen of the third device.
25. The method according to any one of claims 14 to 19, characterized in that When the third device is an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all gestures of the user's hand within the field of view of a camera of the augmented reality device; When the third device is not an augmented reality device, the first preset gesture, the second preset gesture and the third preset gesture are all touch gestures of the user's hand on the display screen of the third device.
26. An electronic device, characterized in that: The electronic device comprises a processor, and the processor is used to run a computer program stored in a memory to implement the method according to any one of claims 14 to 25.
27. A data transmission system, characterized in that: comprising a first device, a second device and a third device, wherein the third device is the electronic device according to claim 26; The second device is configured to send an object acquisition request to the first device after receiving the first information, wherein the object acquisition request carries information about the object to be transmitted, and the object acquisition request is used to instruct the first device to send the object to be transmitted to the second device; The first device is configured to send the object to be transmitted to the second device after receiving the object acquisition request.
28. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a processor, the method according to any one of claims 14 to 25 is implemented.
Citation Information
Patent Citations
Inter-terminal file transmission method, mobile terminal and computer readable storage medium
CN107870722A
Methods and system for generating and displaying 3D videos in a virtual, augmented, or mixed reality environment
CN111684393A
Contextual cursor display based on hand tracking
US20160378294A1
Method of instant sharing invoked from wearable devices
US20180196510A1
Wearable device and method for providing augmented reality information
WO2015186925A1
