A data transmission method and device
By automatically establishing a communication connection and displaying animations when devices approach or collide, the system solves the problem of complex operations during cross-device data transmission, achieving an efficient and intuitive data transmission experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2024-09-03
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, cross-device data transmission requires complex operations from users, resulting in long transmission times and a poor user experience.
The device automatically establishes a communication connection by detecting proximity or collision with the object, and displays animations during transmission to simulate object interaction and simplify user operation.
It improves the efficiency and user experience of cross-device data transmission, providing an intuitive and flexible data transmission experience while reducing cumbersome operations.
Smart Images

Figure CN120076068B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202411233649.8 and the original application date is September 3, 2024. The entire contents of the original application are incorporated herein by reference.
[0002] This application claims priority to Chinese Patent Application No. 202410807641.1, filed on June 20, 2024, entitled "Transmission Method, Electronic Device and Related Apparatus", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to a data transmission method and device. Background Technology
[0004] With the development of communication technology and the improvement of people's living standards, people usually own terminal devices, such as smartphones, smartwatches and tablets. These terminal devices provide people with a variety of services such as file storage and file preview. Cross-device data transfer has become a common operation in people's daily lives.
[0005] Typically, in data transfer scenarios, such as a first user (the user sending the file) sharing a file with a second user (the user receiving the file), the first user can send the file data to the second user's second device using a first device. Specifically, the first user needs to locate the file on their terminal device and use an application to select the second user to send it, allowing the second user to download the file through the application. Alternatively, the first user can upload the file to a cloud drive, then share the corresponding link to an application and select the second user to send it, allowing the second user to be redirected to the cloud drive via the link and download the file.
[0006] However, the data transmission process described above requires both the first and second users to perform a series of complex operations, and the entire data transmission process takes a long time, which reduces the user experience. Summary of the Invention
[0007] This application provides a data transmission method and device, which can establish a communication connection after different devices approach or collide, and directly trigger the data transmission process, eliminating the need for users to perform a series of cumbersome operations during the data transmission process, and effectively improving the efficiency of cross-device data transmission.
[0008] To achieve the above objectives, this application adopts the following technical solution:
[0009] In a first aspect, this application provides a data transmission method applied to a communication system, the communication system including a first device and a second device, the display screen of the first device including a first transmission object, the method including:
[0010] The first device detects the approach or collision of the second device and establishes a communication connection with the second device. The first device can send object data of a first transmission object to the second device, and during the sending of the object data, a first sending animation effect is displayed. The first sending animation effect is used to show the first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves out of the screen of the first device. The second device receives the object data of the first transmission object and displays a first receiving animation effect. The first receiving animation effect is used to show the first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0011] On the one hand, by displaying the aforementioned animation effects, the two devices can present the first image of the first transmitted object traversing between the two screens, while also demonstrating the dynamic transmission effect of the object data during the transmission process. This provides users with a more intuitive and flexible data transmission experience, enhancing their overall user experience.
[0012] On the other hand, in this embodiment, after the first device detects the approach or collision of the second device and establishes a communication connection with the second device, it directly triggers the sending of object data of the first transmission object to the second device. The user only needs to control the display screen of the first device to show the first transmission object; there is no need for the user to perform a series of cumbersome operations during data transmission, which effectively improves the efficiency of cross-device data transmission and thus enhances the user experience.
[0013] In one possible implementation, the display screen of the second device includes the second transmission object, and the method further includes:
[0014] The second device sends object data corresponding to the second transmission object to the first device, and displays a second sending animation during the process of sending the object data corresponding to the second transmission object to the first device. The second sending animation is used to show the second image corresponding to the second transmission object moving to the screen boundary of the second device until it moves out of the screen of the second device.
[0015] The first device receives object data corresponding to the second transmission object and displays a second receiving animation. The second receiving animation is used to present the second image appearing from the screen boundary of the first device and moving into the screen of the first device.
[0016] Thus, in this embodiment, the second device can also transmit data to the first device. By displaying the aforementioned receiving and sending animations, the two devices can present the second image of the second transmitted object traversing between the two screens, while also demonstrating the dynamic transmission effect of the object data during the transmission process. This eliminates the need for users to perform a series of cumbersome operations during data transmission, effectively improving the efficiency of cross-device data transmission.
[0017] In one possible implementation, when a second device sends object data of a second object while a first device is sending object data of a first transmission object, the first device simultaneously displays a first sending animation and a second receiving animation, and the second device simultaneously displays a first receiving animation and a second sending animation.
[0018] Alternatively, the first device displays the first transmitting animation followed by the second receiving animation, and the second device displays the second transmitting animation followed by the first receiving animation;
[0019] Alternatively, the first device displays the first sending animation after displaying the second receiving animation, and the second device displays the second sending animation after displaying the first receiving animation.
[0020] On the one hand, in the embodiments of this application, the first device can receive object data of the second transmission object sent by the second device while sending object data of the first transmission object. Similarly, the second device can receive object data of the first transmission object sent by the first device while sending object data of the second transmission object. That is to say, the first device and the second device can perform both the data sending and receiving processes. The execution sequence of sending and receiving data can be sequential or simultaneous. This improves the flexibility of data transmission and enhances the user experience.
[0021] On the other hand, in this embodiment, receiving and sending animations can be displayed during the data receiving and sending processes. The sending and receiving animations can have the same display sequence or different display sequences. The device can display receiving and sending animations simultaneously, or display receiving animations first followed by sending animations, or vice versa. This improves the richness of the displayed content and the enjoyment of cross-device data transmission for users. Users can obtain a better data transmission experience.
[0022] Secondly, embodiments of this application provide a data transmission method applied to a first device, wherein the display screen of the first device includes a first transmission object, and the method includes:
[0023] The first device can detect its proximity to or collision with the second device, establish a communication connection with the second device, and send object data of the first transmission object to the second device. The first device can also display a first transmission animation during the process of sending the object data of the first transmission object to the second device. The first transmission animation is used to depict the first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves off the screen of the first device.
[0024] Thus, in this embodiment, the first device detects proximity or collision with the second device, establishes a communication connection with the second device, and sends object data of the first transmission object to the second device. Simultaneously, the first device can also display a sending animation effect. During the animation, the image can move off the screen from the top edge, simulating a user's physical gesture of handing an object to another in real life. This provides users with a more intuitive and flexible data transmission experience, improving the user experience.
[0025] In one possible implementation, the first device may also display a first image. The first device may display a first sending animation in response to a first triggering operation on the first image. The first triggering operation includes an operation to instruct the first image to move to the screen boundary of the first device.
[0026] In this way, users can interact with the first image to trigger the data transmission process. This enhances the interactivity and operability between the user and the device, making data transmission between devices more intuitive.
[0027] In one possible implementation, the display form of the first image in the first sending motion effect changes with the change of the moving position during the movement.
[0028] Specifically, in the first sending animation, the display size of the first image gradually decreases as the position changes until it fades out of the screen of the first device.
[0029] Thus, in this embodiment of the application, during the presentation of the first sending animation, the display form of the first image can change with the change of the moving position. Enhancing the richness of the display form in the interface allows users to more intuitively perceive the data transmission process, improving the user's visual experience.
[0030] In one possible implementation, the first device can acquire a target direction, which is the direction from the center of the screen of the first device to the top surface of the first device, and the first sending motion effect is used to present the first image moving to the screen boundary of the first device according to the target direction until it moves out of the screen of the first device.
[0031] Thus, in the transmission animation of this embodiment, the image can move off the screen from the top edge during the presentation process, simulating the scene of a user handing an object to another person using physical gestures. This provides users with a more intuitive and flexible data transmission experience, improving the user experience.
[0032] In one possible implementation, the display screen of the second device includes a second transmission object, and the method further includes: the first device can receive object data corresponding to the second transmission object sent by the second device, and display a second receiving animation, the second receiving animation being used to present a second image corresponding to the second transmission object appearing from the screen boundary of the first device and moving into the screen of the first device.
[0033] Thus, in this embodiment, the first device can receive data sent by the second device and display a receiving animation. The second image in the receiving animation can move from the top surface of the first device into the screen. This provides users with a more intuitive and flexible data transmission experience, improving the user experience.
[0034] In one possible implementation, during the first sending motion effect, as the first image moves in the target direction, the second receiving motion effect moves in the opposite direction to the target direction.
[0035] Thus, in this embodiment, the movement direction of the first image in the first sending animation is opposite to the movement direction of the second image in the second receiving animation, making data transmission between devices more intuitive and enhancing the user's visual experience.
[0036] In one possible implementation, the display form of the first image in the first sending motion effect is different from the display form of the second image in the second receiving motion effect.
[0037] Thus, the embodiments of this application can distinguish between different sending and receiving animations, allowing users to more intuitively perceive the data transmission process corresponding to receiving and sending data. This enhances the richness of animation display and makes data transmission across devices more intuitive, thereby improving the user's visual experience.
[0038] In one possible implementation, when the first device receives object data of the second transmitted object sent by the second device while the first device is sending object data of the first transmitted object, the first sending animation and the second receiving animation are displayed simultaneously, or the first sending animation is displayed after the second receiving animation is displayed, or the second receiving animation is displayed after the first sending animation is displayed.
[0039] In this way, the first device can receive object data of the second object sent by the second device while sending object data of the first transmission object. That is, the first device can execute both the data sending and receiving processes. The execution sequence of sending and receiving data can be sequential or simultaneous. This improves the flexibility of data transmission and enhances the user experience.
[0040] Simultaneously, the first device can display the aforementioned receiving and sending animations based on the execution sequence of sending and receiving data. Thus, the device in this embodiment not only sends and receives data simultaneously, but can also display receiving and sending animations concurrently during the data transmission process. Of course, the display order of the receiving and sending animations can also be sequential. This further enhances the richness of the displayed content and the enjoyment of cross-device data transmission for users. Users can obtain a better data transmission experience.
[0041] In one possible implementation, the motion speed of the second receiving motion effect is negatively correlated with the amount of data of the object data of the second transmitting object, and the motion speed of the first sending motion effect is negatively correlated with the amount of data of the object data of the first transmitting object; or, the motion speed of the first sending motion effect is positively correlated with the operation speed of the first triggering operation.
[0042] Thus, in this embodiment, the animation speed can vary according to the amount of data transmitted, or according to the speed of the user's operation. Users can intuitively perceive the amount of data transmitted through the animation. Users can also control the animation speed by changing the operation speed. This further enhances the richness of the displayed content and the fun and interactivity of cross-device data transmission. Users can obtain a better data transmission experience.
[0043] In one possible implementation, if object data of a second transmitted object is received from a second device while the first device is sending object data of a first transmitted object, in response to a second triggering operation on the first image, the first image is not displayed and the sending of object data of the first transmitted object to the second device is cancelled. The second device may maintain the display of the second receiving animation.
[0044] Thus, the device in this embodiment can interrupt data transmission. The user can interrupt the data transmission process. Furthermore, when the device receives data, it can also display corresponding receiving animations, improving the flexibility of cross-device data transmission and enhancing the user experience.
[0045] In one possible implementation, the object data corresponding to the second transmission object includes a second image, which indicates the second transmission object in the second device. The method further includes: after displaying a second receiving animation, the first device can display the second image and, in response to a third triggering operation on the second image, obtain the second transmission object based on the second image. The first device can also locate a target application matching the second transmission object and display the second transmission object using the target application.
[0046] Thus, in this embodiment of the application, after the local device receives the second image, such as an object snapshot, sent by the remote device, it can automatically obtain the transmitted object corresponding to the object snapshot after the reception is completed. Simultaneously, it can automatically open the relevant application to display the transmitted object, eliminating the need for users to perform other cumbersome operations and improving the efficiency of the data transmission and display processes.
[0047] In one possible implementation, the object data corresponding to the second transmission object includes a second image and the content data of the second transmission object. The method further includes: a first device can display the second image after displaying a second receiving animation. A second device can, in response to a third triggering operation on the second image, locate a target application matching the content data of the second transmission object and display the second transmission object using the target application.
[0048] Thus, in this embodiment of the application, after the local device receives the content data sent by the remote device, it can automatically open the relevant application to display the transmitted object corresponding to the content data after the reception is completed, without requiring the user to perform other cumbersome operations, thereby improving the efficiency of the data transmission and data display processes.
[0049] In one possible implementation, the object data of the first transmission object includes a first image, which is used to indicate the first transmission object and for the second device to acquire the first transmission object.
[0050] Alternatively, the object data of the first transmission object includes a first image and content data of the first transmission object. The content data of the first transmission object is used by the second device to obtain the first transmission object. Thus, the second device can obtain the first transmission object based on the first image in the object data, or directly based on the content data. This eliminates the need for a series of cumbersome operations by the user, improving the user experience.
[0051] In one possible implementation, during the process of the first device sending object data of the first transmission object and receiving object data of the second transmission object, the device distance between the first device and the second device is less than or equal to the communication distance between the first device and the second device for establishing a communication connection.
[0052] Thus, in this embodiment of the application, the user does not need to keep the two devices close to or touching each other during data transmission. As long as the distance between the two devices remains within the communication range of the communication connection, the user can freely move the devices without being restricted by their orientation. This improves the flexibility of cross-device data transmission and enhances the user experience.
[0053] In one possible implementation, the first image includes an object screenshot of the first transmitted object or an object snapshot corresponding to the first transmitted object. The method further includes: the first device can generate an object screenshot based on the first transmitted object displayed on the screen; or, extract key object data from the transmitted object data of the first transmitted object and generate an object snapshot based on the key object data.
[0054] In one possible implementation, the method further includes: the first device can display a target animation effect, which is used to demonstrate that the first device has been detected to be approaching or colliding with the second device. This provides a more intuitive indication to the user of the process of using the device to collide or approach with other devices.
[0055] In one possible implementation, the first transfer object includes at least one of a file, folder, contact, or application.
[0056] Thirdly, embodiments of this application provide a data transmission method applied to a second device, the method comprising:
[0057] The second device detects its proximity to or collision with the first device, establishes a communication connection with the first device, and displays a first receiving animation while receiving object data corresponding to the first transmission object sent by the first device. The first receiving animation is used to present a first image appearing from the screen boundary of the second device and moving into the screen of the second device. The first image is the image corresponding to the first transmission object displayed on the first device.
[0058] Thus, in this embodiment, the second device detects proximity or collision with the first device, establishes a communication connection with the first device, and receives object data corresponding to the first transmission object sent by the first device. The second device can also display a receiving animation, in which the first image can move from the top surface of the second device onto the screen. This provides users with a more intuitive and flexible data transmission experience, improving the user experience.
[0059] In one possible implementation, the display screen of the second device includes a second transmission object, and the method further includes: the second device can send object data corresponding to the second transmission object to the first device. The second device can also display a second sending animation during the process of sending the object data corresponding to the second transmission object to the first device. The second sending animation is used to depict the second image corresponding to the transmission object moving to the screen boundary of the second device until it moves off the screen of the second device.
[0060] Thus, in this embodiment, the second device can send object data of the second transmission object to the first device. Simultaneously, the second device can also display a sending animation effect. During the animation, the image can move off the screen from the top edge, simulating a user's physical gesture of handing an object to another person. This provides users with a more intuitive and flexible data transmission experience, improving their overall user experience.
[0061] Fourthly, embodiments of this application provide an electronic device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the method described in the second aspect above, or performs the method described in the third aspect above.
[0062] Fifthly, embodiments of this application provide a communication system, which includes a first device and a second device; the display screen of the first device includes a first transmission object.
[0063] The first device is configured to detect the approach or collision of the second device and establish a communication connection with the second device.
[0064] The first device is configured to send object data of the first transmission object to the second device.
[0065] The first device is configured to display a first sending animation while sending object data of the first transmitted object to the second device. The first sending animation depicts a first image corresponding to the first transmitted object moving to the screen boundary of the first device until it moves off the screen of the first device. The first receiving animation depicts the first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0066] Sixthly, embodiments of this application provide a computer-readable medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the second aspect above, or to perform the method described in the third aspect above.
[0067] In a seventh aspect, embodiments of this application provide a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method described in the second aspect above, or to perform the method described in the third aspect above. Attached Figure Description
[0068] Figure 1 A schematic diagram of a transmission system provided in an embodiment of this application;
[0069] Figure 2 A schematic diagram of the hardware structure of a mobile phone provided in an embodiment of this application;
[0070] Figure 3 A schematic diagram of the software structure of a mobile phone provided in an embodiment of this application;
[0071] Figure 4 A flowchart illustrating a data transmission method provided in an embodiment of this application;
[0072] Figure 5 A schematic diagram of an interface for a target animation provided in an embodiment of this application;
[0073] Figure 6 A schematic diagram of an interface for a first image provided in an embodiment of this application;
[0074] Figure 7 A schematic diagram of an interface at a first position and a second position provided for an embodiment of this application;
[0075] Figure 8 A schematic diagram of an interface for canceling sending provided in an embodiment of this application;
[0076] Figure 9 A schematic diagram of an interface for a first sending animation and a first receiving animation provided in an embodiment of this application;
[0077] Figure 10 A schematic diagram of an interface for a second receiving animation provided in an embodiment of this application;
[0078] Figure 11 A schematic diagram of an interface for displaying a second document provided in an embodiment of this application. Figure 1 ;
[0079] Figure 12 A schematic diagram of an interface for displaying a second document provided in an embodiment of this application. Figure 2 ;
[0080] Figure 13 This application provides an example of an interface diagram showing a motion effect corresponding to a preset display timing. Figure 1 ;
[0081] Figure 14 This application provides an example of an interface diagram showing a motion effect corresponding to a preset display timing. Figure 2 ;
[0082] Figure 15 This application provides an example of an interface diagram showing a motion effect corresponding to a preset display timing. Figure 3 ;
[0083] Figure 16 This is a schematic diagram of the structure of a mobile phone provided in an embodiment of this application. Detailed Implementation
[0084] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with basically the same function and effect.
[0085] Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or order of execution, and that "first," "second," etc., are not necessarily different. Furthermore, in some embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.
[0086] Furthermore, the device architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of device architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0087] With the development of communication technology and the improvement of people's living standards, cross-device data transmission has become a common operation in daily life. In related technologies, data transmission often requires the sender to perform a series of complex operations before data can be transmitted. For example, the first user needs to locate the file on their terminal and use an application to select a second user to send it to; the second user then needs to open the application and download the file to complete the data transmission process. Clearly, the entire data transmission process is time-consuming and results in a poor user experience.
[0088] To address the aforementioned problems, this application provides a data transmission method and apparatus applied to a communication system. The communication system includes a first device and a second device. The display screen of the first device includes a first transmission object. The method includes: the first device detecting the approach or collision of the second device and establishing a communication connection with the second device. The first device can send object data of the first transmission object to the second device. During the process of sending the object data of the first transmission object to the second device, the first device can also display a first sending animation effect, which is used to depict a first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves out of the screen of the first device. The second device receives the object data of the first transmission object and displays a first receiving animation effect, which is used to depict the first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0089] Thus, in this embodiment of the application, after the first device and the second device establish a communication connection, the first device can send object data of the first transmission object to the second device and display a first sending animation. The second device can receive the object data of the first transmission object and display a first receiving animation. The first sending animation can depict the first image moving to the screen boundary of the first device until it moves out of the screen of the first device, and the first receiving animation is used to depict the first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0090] On the one hand, by displaying the aforementioned animation effects, the two devices can present the first image of the first transmitted object traversing between the two screens, while also demonstrating the dynamic transmission effect of the object data during the transmission process. This provides users with a more intuitive and flexible data transmission experience, enhancing their overall user experience.
[0091] On the other hand, in this embodiment, after the first device detects the approach or collision of the second device and establishes a communication connection with the second device, it directly triggers the sending of object data of the first transmission object to the second device. The user only needs to control the display screen of the first device to show the first transmission object; there is no need for the user to perform a series of cumbersome operations during data transmission, which effectively improves the efficiency of cross-device data transmission and thus enhances the user experience.
[0092] The data transmission method provided in this application can be applied to transmission systems; see [link / reference]. Figure 1 The transmission system provided in this application embodiment may include a first device (e.g., a first mobile phone 101 used by a first user) and a second device (e.g., a second mobile phone 102 used by a second user).
[0093] In some embodiments, a communication connection is established between the first device and the second device. This communication connection can be a wired communication connection or a wireless communication connection.
[0094] The wireless communication technologies used to establish wireless communication connections include, but are not limited to, at least one of the following: wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT) (e.g., classic Bluetooth or Bluetooth Low Energy (BLE) Bluetooth), near field communication (NFC), Zigbee, frequency modulation (FM), and infrared (IR).
[0095] The first device can be either a file sending device or a sharing device. Examples include electronic devices such as mobile phones, tablets, laptops, netbooks, personal digital assistants (PDAs), wearable devices, and artificial intelligence (AI) devices.
[0096] The operating system installed on the first device includes, but is not limited to, those that are ... Alternatively, it can use another operating system. Of course, the first device may not have an operating system installed. This application does not limit the specific type of the first device, whether it has an operating system installed, or the type of operating system if it does have an operating system installed.
[0097] The second device can be either a file receiving device or a device being shared with. Examples include mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, PDAs, wearable devices, AI devices, and in-vehicle devices.
[0098] The operating system installed on the second device includes, but is not limited to, those that are not included in the following: Alternatively, other operating systems may be used. This application does not impose any restrictions on the specific type of the second device or the operating system installed on it.
[0099] For example, in a scenario where the transmission system includes a first device and a second device, the display screen of the first device includes a first transmission object. The first device detects the approach or collision of the second device and establishes a communication connection with the second device. The first device can send object data of the first transmission object to the second device. During the process of sending the object data of the first transmission object to the second device, the first device can also display a first sending animation effect, which depicts a first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves out of the screen of the first device. The second device receives the object data of the first transmission object and displays a first receiving animation effect, which depicts the first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0100] Of course, the transmission system provided in this application embodiment may also include other electronic devices besides the first and second devices. The transmission system provided in this application embodiment includes, but is not limited to, interaction between two devices, and may also include information interaction between one device and multiple devices. Those skilled in the art can determine the type and number of electronic devices according to actual needs, and these designs do not exceed the protection scope of this application embodiment.
[0101] The first and second devices in the embodiments of this application can be implemented using different devices. For example, the electronic device in the embodiments of this application can be implemented using... Figure 2 This can be achieved using mobile phone 100. Figure 2 The diagram shown is a schematic representation of the hardware structure of a mobile phone provided in an embodiment of this application.
[0102] like Figure 2As shown, the mobile phone 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0103] The aforementioned sensor module 180 may include sensors such as a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M.
[0104] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the mobile phone 100. In other embodiments of this application, the mobile phone 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0105] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0106] The controller can serve as the central nervous system and command center of the mobile phone 100. Based on the instruction operation code and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0107] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0108] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0109] The wireless communication function of mobile phone 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0110] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0111] The mobile communication module 150 can support 2G / 3G / 4G / 5G / future communication networks or more advanced communication standards, which is not limited in this application.
[0112] The wireless communication module 160 can provide solutions for wireless communication applications on the mobile phone 100, 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), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0113] The mobile phone 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0114] The display screen 194 is used to display user interfaces, etc. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Minied, MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0115] The mobile phone 100 can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0116] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0117] The mobile phone 100 can achieve audio functions such as music playback and recording through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0118] In some examples, the first mobile phone's display screen may show a first transmission object, which may include a first file. An accelerometer in the first mobile phone detects the approach or collision of the second mobile phone and can establish a communication connection with it. After establishing a communication connection with the second mobile phone, the first mobile phone can send the file data of the first file to the second mobile phone via a wireless communication module.
[0119] During the process of the first mobile phone sending file data of the first file to the second mobile phone, the first mobile phone can control the display screen to show a first sending animation effect. The first sending animation effect is used to show the first image corresponding to the first file moving to the edge of the first mobile phone's display screen until it moves out of the first mobile phone's display screen. The second mobile phone can receive the file data of the first file and control the display screen to show a first receiving animation effect. The first receiving animation effect is used to show the first image appearing from the edge of the second mobile phone's display screen and moving into the second mobile phone's display screen.
[0120] The software system of mobile phone 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes the layered architecture Android system as an example to illustrate the software structure of mobile phone 100.
[0121] Figure 3 This is a schematic diagram of the software structure of a mobile phone according to an embodiment of this application.
[0122] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0123] The application layer can include a series of application packages.
[0124] like Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0125] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0126] like Figure 3 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0127] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0128] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0129] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0130] The phone manager is used to provide communication functions for the mobile phone 100. For example, it manages call status (including connection, hang-up, etc.).
[0131] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0132] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0133] The Android Runtime consists of core libraries and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.
[0134] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0135] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0136] The system library can include multiple functional modules, such as a detection module, a display module, and a sending module.
[0137] In some examples, the display module is used to display the first transmission object. The detection module is used to detect whether it is close to or collides with the first device. The sending module is used to send the object data of the first transmission object to the second device. The display module is also used to display the aforementioned first sending animation.
[0138] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0139] The following is a combination of the above. Figure 1 The transmission system shown will be illustrated using the first device as a first mobile phone, the second device as a second mobile phone, the user of the first mobile phone as a first user, and the user of the second mobile phone as a second user as examples, to specifically explain the data transmission method provided in the embodiments of this application.
[0140] Figure 4 This is a flowchart illustrating a data transmission method according to an embodiment of this application, as shown below. Figure 4 As shown, the method may include the following S401-S404.
[0141] S401: The first mobile phone detects that the second mobile phone is approaching or colliding with it, and establishes a communication connection with the second mobile phone.
[0142] In some embodiments of this application, the first mobile phone can detect the approach or collision of the second mobile phone and establish a communication connection with the second mobile phone.
[0143] For example, a first user can bring their first mobile phone close to or allow it to collide with a second mobile phone used by a second user to establish a communication connection between the two phones. For instance, during this process, the accelerometer in the first phone can trigger its Bluetooth module to establish a Bluetooth communication connection when it detects the approach of the second phone. Similarly, during this process, the accelerometer in the first phone can trigger its NFC module to establish an NFC communication connection when it detects the collision with the second phone.
[0144] In other words, the embodiments of this application can utilize sensor modules (such as accelerometers) and communication modules (such as Bluetooth modules) to achieve precise device sensing and interactive control. When two devices collide or come close together, they can activate Bluetooth signal scanning to sense each other and initiate subsequent data transmission.
[0145] In some other embodiments of this application, the first mobile phone may also detect the proximity or collision with other devices through other hardware, and subsequently trigger the process of establishing a communication connection. The embodiments of this application do not specifically limit how to detect the proximity or collision of devices, and the subsequent process of establishing a communication connection.
[0146] In some embodiments of this application, the communication connection established between the first mobile phone and the second mobile phone includes a wireless communication connection, such as a WLAN communication connection, a Wi-Fi communication connection, a Bluetooth communication connection, and an NFC communication connection.
[0147] In some embodiments of this application, during the process of the first mobile phone detecting the approach or collision of the second mobile phone and establishing a communication connection with the second mobile phone, a target animation effect can be displayed. The target animation effect is used to present that the approach or collision of the first mobile phone and the second mobile phone has been detected.
[0148] For example, see Figure 5 In scenario (A), during the process of the first user and the second user approaching or colliding with each other, the first and second phones can display target animation effects. These animation effects are used to indicate that the approach or collision between the first and second phones has been detected, and can simulate the dynamic effect of ripples on the surface of water. This provides a more intuitive indication to the user that they are using their phone to collide or approach other devices.
[0149] In some embodiments of this application, before the first mobile phone and the second mobile phone establish a communication connection, the display screen of the first mobile phone may include a first transmission object. The display screen of the second mobile phone may include a second transmission object. The transmission object may include at least one of a file, folder, contact, or application.
[0150] For example, the transmitted object may include at least one of the following: documents, audio, video, audio and video files, folders, applications, contact information in a contact application, and page information in a social application.
[0151] See Figure 5 In (B) of this application, for example, the first transmission object can be a first file, and the second transmission object can be a second file. The embodiments of this application do not specifically limit the transmission content and transmission type of the transmission objects.
[0152] In other words, the first user needs to open the first transmission object, meaning the first transmission object must be in an open or playing state. When two or more transmission objects are displayed on the first phone's screen, the first transmission object can be all transmission objects displayed on the first phone's screen, the transmission object running in the foreground of the first phone, or the transmission object located based on the current cursor position; no specific limitations are made here. The second transmission object is similar to the first transmission object, and will not be elaborated further here.
[0153] In some embodiments of this application, after the first mobile phone establishes a communication connection with the second mobile phone, the first mobile phone can generate and display a first image corresponding to the first transmission object.
[0154] The first image may include a screenshot of the first transmitted object or a snapshot of the object corresponding to the first transmitted object.
[0155] In one feasible approach, after the first mobile phone establishes a communication connection with the second mobile phone, it can generate an object screenshot based on the first transmission object displayed on the screen.
[0156] For example, see Figure 5 In (C), after the first mobile phone establishes a Bluetooth communication connection with the second mobile phone, it can take a screenshot of the first file displayed on the screen and generate a file screenshot of the first file.
[0157] In another possible implementation, the first mobile phone can extract key object data from the transmitted object data of the first transmitted object. The first mobile phone can also generate an object snapshot based on the key object data.
[0158] For example, see Figure 5In (D), after establishing a Bluetooth communication connection with the second mobile phone, the first mobile phone can extract the content of the first file displayed on the screen, extracting key content data. The mobile phone can also generate a file snapshot of the first file based on the extracted key content data. For example, the key content data might be the download address information corresponding to the first file. The file snapshot of the first file can include the download address information, such as: First file snapshot content: http: / XXXXX / .
[0159] In other embodiments of this application, after the first mobile phone establishes a communication connection with the second mobile phone, the second mobile phone can also generate and display a second image corresponding to the second transmitted object. The second image may include a screenshot of the second transmitted object or a snapshot of the object corresponding to the second transmitted object.
[0160] For example, see [link to example]. Figure 5 In (C), after the second mobile phone establishes a Bluetooth communication connection with the first mobile phone, it can take a screenshot of the second file displayed on the screen and generate a file screenshot of the second file.
[0161] For another example, see [link to example]. Figure 5 In (D), after establishing a Bluetooth communication connection with the first mobile phone, the second mobile phone can extract the content of the second file displayed on the screen, extracting key content data. The mobile phone can also generate a file snapshot of the second file based on the extracted key content data. For example, the key content data might be the download address information corresponding to the second file. The file snapshot of the second file can include the download address information, such as: Second file snapshot content: http: / XXXXX / .
[0162] As another example, when the transmitted object is a first file or a second file is a web page file, the extracted key content data can be the URL information corresponding to the file.
[0163] In some embodiments of this application, when the transmission object includes a preset object associated with a specific service, the extracted key content data includes jump path information, which is used to jump to the service page corresponding to the specific service.
[0164] For example, when the transmitted object is a webpage, image, or other file, it may include a preset object associated with a specific service. This preset object could include products, smart home devices, or applications. Products can be associated with product applications, and smart home devices can be associated with smart home applications. Thus, the extracted key content data could include redirection path information, which is used to redirect to the service page corresponding to the specific service.
[0165] In some embodiments of this application, the object data of the first transmission object includes a first image, which is used to indicate the first transmission object and to be acquired by a second device.
[0166] Alternatively, the object data of the first transmission object includes the first image and the content data of the first transmission object, and the content data of the first transmission object is used by the second device to acquire the first transmission object.
[0167] For example, during the display of the first sending animation, the first mobile phone can send the content data of the first image and the first file to the second mobile phone, or send the first image. When the first image is a snapshot of the object corresponding to the first transmission object, the first image can be used by the second mobile phone to subsequently obtain the first file. When the first image is a screenshot of the object corresponding to the first transmission object, the second mobile phone can subsequently obtain the first file based on the content data of the first file.
[0168] Thus, in this embodiment, the second mobile phone can obtain the first transmission object based on the first image in the object data, or directly based on the content data in the object data. This eliminates the need for a series of cumbersome operations by the user, thereby improving the user experience.
[0169] S402, The first mobile phone sends object data of the first transmission object to the second mobile phone.
[0170] In some embodiments of this application, after establishing a communication connection with the second mobile phone, the first mobile phone can send object data of the first transmission object to the second mobile phone.
[0171] In one possible implementation, the object data of the first transmission object may include a first image, which is used to indicate the first transmission object and for a second mobile phone to acquire the first transmission object.
[0172] For example, after establishing a Bluetooth communication connection with the second phone, the first phone can generate a first image, such as a snapshot of a first file. The phone can also send the snapshot of the first file to the second phone so that the second phone can subsequently obtain the first file based on the snapshot.
[0173] In another possible implementation, the object data of the first transmission object includes a first image and the content data of the first transmission object, the content data of the first transmission object being used by a second mobile phone to acquire the first transmission object.
[0174] For example, after establishing a Bluetooth communication connection with the second phone, the first phone can generate a first image, such as a screenshot of a first file. The phone can also send the screenshot of the first file and the content data of the first file to the second phone, so that the second phone can subsequently obtain the first file based on the content data of the first file.
[0175] In some embodiments of this application, the display screen of the second mobile phone includes a second transmission object. After the second mobile phone establishes a communication connection with the first mobile phone, the second mobile phone can send object data corresponding to the second transmission object to the first mobile phone.
[0176] Similarly, the object data of the second transmission object may include a second image, which is used to indicate the second transmission object and for the first mobile phone to acquire the second transmission object. Alternatively, the object data of the second transmission object may include a second image and content data of the second transmission object, the content data of the second transmission object being used by the first mobile phone to acquire the second transmission object.
[0177] In some embodiments of this application, during the process of the first mobile phone sending object data of the first transmission object and receiving object data of the second transmission object, the device distance between the first mobile phone and the second mobile phone is less than or equal to the communication distance between the first mobile phone and the second mobile phone in establishing a communication connection. Similarly, during the process of the second mobile phone sending object data of the second transmission object and receiving object data of the first transmission object, the device distance between the second mobile phone and the first mobile phone is less than or equal to the communication distance between the first mobile phone and the second mobile phone in establishing a communication connection.
[0178] In other words, during the process of the first mobile phone sending data to the second mobile phone, or receiving data from the second mobile phone, the device distance between the first mobile phone and the second mobile phone is less than or equal to the communication distance for establishing a communication connection. There is no need for the first and second mobile phones to remain in a state of collision or proximity.
[0179] For example, when a first mobile phone and a second mobile phone establish a Bluetooth communication connection, the device distance between the first mobile phone and the second mobile phone only needs to be within the communication distance of the Bluetooth communication connection, whether the first mobile phone is sending data to the second mobile phone or receiving data sent by the second mobile phone.
[0180] Thus, in this embodiment of the application, the user does not need to keep the two devices close to or touching each other during data transmission. As long as the distance between the two devices remains within the communication range of the communication connection, the user can freely move the devices without being restricted by their orientation. This improves the flexibility of cross-device data transmission and enhances the user experience.
[0181] S403. During the process of the first mobile phone sending object data of the first transmission object to the second mobile phone, the first sending animation is displayed.
[0182] The first sending animation is used to show the first image corresponding to the first transmission object moving to the screen boundary of the first mobile phone until it moves out of the screen of the first mobile phone.
[0183] In some embodiments of this application, during the process of the first mobile phone sending object data of the first transmission object to the second mobile phone, the first sending animation can be displayed directly.
[0184] Specifically, during the process of sending object data of the first transmission object, the first mobile phone displays a first transmission animation based on the generated first image. In the first transmission animation, the first image gradually moves from the screen of the first mobile phone to the edge of the screen, until it moves off the screen of the first mobile phone.
[0185] Thus, in this embodiment of the application, in a scenario of cross-device data transmission, the first user can select a first transmission object and control the first mobile phone to approach or collide with a second mobile phone. In this way, the first mobile phone can detect the approaching or colliding second mobile phone and establish a communication connection with it. The first mobile phone can also send object data of the first transmission object to the second mobile phone and display a first transmission animation. This eliminates the need for a series of cumbersome operations by the user, providing a more intuitive and dynamic process of data transmission, thereby improving the user experience.
[0186] In some embodiments of this application, the first mobile phone may display a first image while displaying a first sending animation. The first mobile phone displays the first sending animation in response to a first triggering operation on the first image.
[0187] The first triggering operation includes an operation to instruct the first image to move to the screen boundary of the first mobile phone. The first triggering operation may include a click operation, a swipe-up operation, a double-click operation, and a voice operation on the first image, etc. The embodiments of this application do not limit the specific implementation of the first triggering operation.
[0188] For example, see Figure 6 In (A), the first mobile phone can display a screenshot of the first file. The user can swipe up on the screenshot, and the first mobile phone responds to this swipe by displaying a first sending animation. See also... Figure 6 In (B), the screenshot of the first file in the first sending animation can gradually move from the screen of the first mobile phone to the screen boundary of the first mobile phone, until it moves out of the screen of the first mobile phone.
[0189] In this way, users can interact with the first image to trigger the data transmission process. This enhances the interactivity and operability between the user and the device, making data transmission between devices more intuitive.
[0190] In some embodiments of this application, during the process of the second mobile phone sending object data corresponding to the second transmission object to the first mobile phone, a second transmission animation effect can be displayed. The second animation effect is used to show the second image corresponding to the second transmission object moving to the screen boundary of the second mobile phone until it moves out of the screen of the second mobile phone.
[0191] Specifically, during the display of the second sending animation, the second mobile phone can display a second image. The second mobile phone responds to a triggering operation on the second image by displaying the second sending animation.
[0192] Similarly, see also Figure 6 In (A), the second mobile phone can display a screenshot of the second file. The user can swipe up on the screenshot, and the second mobile phone responds by displaying a second sending animation. See also... Figure 6 In (B) of the second sending animation, the screenshot of the second file can gradually move from the screen of the second mobile phone to the edge of the screen, until it moves off the screen. During the display of the second sending animation, the second mobile phone can send the content data of the second image and the second file to the first mobile phone, or send the second image.
[0193] In some embodiments of this application, the display form of the first image in the first sending animation changes with the change of the moving position during the movement process.
[0194] For example, see Figure 7 In (B) of the first sending animation, during the movement of the first image, the first image moves to a first position and its display mode is a first display mode. Then, when the first image moves from the first position to the second position, its display mode changes from the first display mode to the second display mode. Next, when the first image moves from the second position to the third position, its display mode changes from the second display mode to the third display mode.
[0195] In one feasible approach, the display size of the first image in the first sending motion effect gradually decreases as the position changes until it fades out of the screen of the first mobile phone during the movement.
[0196] In another possible implementation, the display size of the first image in the first sending animation gradually decreases as the position changes, and the display shape gradually changes as the position changes until it fades out of the screen of the first mobile phone.
[0197] In another possible implementation, the display size of the first image in the first sending animation gradually decreases as the position changes during the movement, and the display color gradually changes as the position changes until it fades out of the screen of the first mobile phone.
[0198] Similarly, in the second sending animation, the display form of the second image changes with the change of the moving position during the movement.
[0199] For another example, see [link to example]. Figure 7 In (A), during the movement of the second image in the second sending animation, the second image moves to a first position and is displayed in a first display mode. Then, when the second image moves from the first position to the second position, its display mode changes from the first display mode to the second display mode. Next, when the second image moves from the second position to the third position, its display mode changes from the second display mode to the third display mode.
[0200] In one feasible approach, the display size of the second image in the second sending animation gradually decreases as the position changes until it fades out of the screen of the second mobile phone during the movement.
[0201] In another possible implementation, the display size of the second image in the second sending animation gradually decreases as the position changes, and the display shape gradually changes as the position changes until it fades out of the screen of the second mobile phone.
[0202] In another possible implementation, the display size of the second image in the second sending animation gradually decreases as the position changes, and the display color gradually changes as the position changes until it fades out of the screen of the second mobile phone.
[0203] In the embodiments of this application, the display form of the image in the animation may include display size, display shape, display transparency parameter, and display style. The change in the display form of the image during movement may involve changes in at least one of the following: display size, display shape, display transparency parameter, and display style.
[0204] It should be noted that the embodiments of this application do not specifically limit the display form of the image during the moving process.
[0205] Thus, in this embodiment of the application, during the presentation of the first sending animation, the display form of the first image can change with the change of the moving position. Enhancing the richness of the display form in the interface allows users to more intuitively perceive the data transmission process, improving the user's visual experience.
[0206] In some embodiments of this application, the first mobile phone can also obtain a target direction corresponding to the first mobile phone. The target direction is the direction from the center of the screen of the first mobile phone to the top surface of the first mobile phone. The first sending animation is used to present the first image moving to the screen boundary of the first mobile phone according to the target direction corresponding to the first mobile phone until it moves out of the screen of the first mobile phone.
[0207] For example, in order to present the effect of the first image moving between the screens of the first and second mobile phones, the first mobile phone can obtain the direction from the center of the screen pointing to the top edge of the first mobile phone. During the display of the first sending animation, the first mobile phone can control the first image in the first sending animation to move according to the obtained scheme, so that the first image moves to the screen boundary of the first mobile phone until it moves out of the screen of the first mobile phone.
[0208] In some embodiments of this application, the second mobile phone can also obtain a target direction corresponding to the second mobile phone, which is the direction from the center of the second mobile phone's screen to the top surface of the second mobile phone. During the display of the second sending animation effect, the second sending animation effect is used to present the second image moving to the screen boundary of the second mobile phone according to the target direction corresponding to the second mobile phone until it moves out of the screen of the second mobile phone.
[0209] Thus, in the transmission animation of this embodiment, during the presentation process, the image can move off the screen from the top edge, simulating a scene where a user hands an object to another person using physical gestures. Simultaneously, subsequent images can move into the screen from the top edge of another device, creating a dynamic effect of the image traversing between two screens. This provides users with a more intuitive and flexible data transmission experience, enhancing their overall user experience.
[0210] In some embodiments of this application, during the process of the first mobile phone sending object data of the first transmission object, in response to the second triggering operation on the first image, the first image is not displayed and the sending of object data of the first transmission object to the second mobile phone is cancelled.
[0211] The second triggering operation may include left-swipe, right-swipe, click, and voice operations on the first image. The second triggering operation also includes an operation to prevent the first image from being displayed and to cancel the transmission of object data of the first transmission object to the second mobile phone. This application does not limit the specific implementation of the second triggering operation.
[0212] For example, see Figure 8 In (A), during the process of the first mobile phone sending object data of the first transmission object, or during the process of the first mobile phone displaying the first sending animation, the user can swipe left on the first image to cancel the transmission of object data of the first transmission object. See also Figure 8 In (B), in response to a left swipe operation on the first image, the first mobile phone does not display the first image and cancels the transmission of object data of the first transmission object to the second mobile phone. Canceling the transmission of object data of the first transmission object to the second mobile phone includes canceling the transmission of the content data of the first image and the first file, or canceling the transmission of the first image.
[0213] Of course, the second user can also trigger the second image on the second phone to prevent it from displaying and cancel sending data to the first phone. The cancellation process on the second phone is similar to that on the first phone and will not be described in detail here.
[0214] Thus, the device in this embodiment can interrupt data transmission. Users can interrupt the data transmission process, improving the flexibility of cross-device data transmission and enhancing the user experience.
[0215] S404, The second mobile phone receives the object data of the first transmission object and displays the first receiving animation.
[0216] The first receiving motion effect is used to present the first image appearing from the screen boundary of the second mobile phone and moving into the screen of the second mobile phone.
[0217] In some embodiments of this application, the second mobile phone can receive object data of the first transmission object and display a first receiving animation.
[0218] Specifically, the object data of the first transmitted object received by the second mobile phone may include a first image. The second mobile phone can display a first receiving animation based on the first image. The first receiving animation is used to depict the first image appearing from the screen boundary of the second mobile phone and moving into the screen of the second mobile phone.
[0219] For example, see Figure 9 The first mobile phone can send a first image to the second mobile phone, or send the content data of the first image and the first file to the second mobile phone. The second mobile phone can receive the first image sent by the first mobile phone, or receive the content data of the first image and the first file sent by the first mobile phone. The second mobile phone can display a first receiving animation based on the first image, in which the first image appears from the edge of the second mobile phone's screen and moves into the screen of the second mobile phone.
[0220] Thus, in this embodiment, the second mobile phone can receive data sent by the first mobile phone and display a receiving animation. The first image in the receiving animation can move from the top edge of the second mobile phone into the screen, and combined with the effect of the first image being displayed on the first mobile phone, it can demonstrate the dynamic effect of the first image traversing between the two screens. This provides users with a more intuitive and flexible data transmission experience, improving the user experience.
[0221] In some embodiments of this application, the first mobile phone can receive object data corresponding to the second transmission object sent by the second mobile phone and display a second receiving animation. The second receiving animation is used to present the second image appearing from the screen boundary of the first mobile phone and moving into the screen of the first mobile phone.
[0222] For example, see Figure 10 The second mobile phone can send a second image to the first mobile phone, or send the content data of a second image and a second file to the first mobile phone. The first mobile phone can receive the second image sent by the second mobile phone, or receive the content data of a second image and a second file sent by the second mobile phone. The first mobile phone can display a second receiving animation based on the second image, in which the second image appears from the edge of the first mobile phone's screen and moves into the screen of the first mobile phone.
[0223] In some embodiments of this application, the object data corresponding to the second transmission object includes a second image, which is used to indicate the second transmission object in the second mobile phone. After displaying a second receiving animation, the first mobile phone can display the second image. In response to a third triggering operation on the second image, the first mobile phone can obtain the second transmission object based on the second image. The first mobile phone can also search for a target application matching the second transmission object and display the second transmission object using the target application.
[0224] For example, continuing with the case where the second transmission object is a second file, the second mobile phone sends a second image to the first mobile phone. The second image can be a snapshot of the file corresponding to the second file, and this snapshot carries the download address information for the second file. See also... Figure 11 The first mobile phone can display the download address information for the second file, such as a snapshot of the second file, with the content: http: / / XXXXX / . The user can click on the download address information for the second file, triggering a redirect to the download page for that file. The first mobile phone can respond to the click on the download address information and redirect to the download page for the second file. After the second file is downloaded, the first mobile phone can find a target application that matches the second file and use that application to display the second file.
[0225] Thus, in this embodiment of the application, after the local device receives the object snapshot sent by the remote device, it can automatically obtain the transmitted object corresponding to the object snapshot after the reception is completed. Simultaneously, it can automatically open the relevant application to display the transmitted object, eliminating the need for users to perform other cumbersome operations and improving the efficiency of data transmission and data display processes.
[0226] In other embodiments of this application, the object data corresponding to the second transmission object includes a second image and the content data of the second transmission object. The first mobile phone can display the second image after displaying the second receiving animation. In response to a third trigger operation on the second image, the first mobile phone can search for a target application that matches the content data of the second transmission object and display the second transmission object using the target application.
[0227] For example, continuing with the case where the second transmission object is a second file, the second mobile phone sends a second image and the content data of the second file to the first mobile phone. The second image is a screenshot of the file corresponding to the second file. See also... Figure 12 The first phone can display a screenshot of the second file and a prompt message. The prompt message asks whether to open the second file. The user can tap the prompt message to open the second file. In response to the tap, the first phone can search for a matching application and use that application to display the second file.
[0228] Thus, in this embodiment of the application, after the local device receives the content data sent by the remote device, it can automatically open the relevant application to display the transmitted object corresponding to the content data after the reception is completed, without requiring the user to perform other cumbersome operations, thereby improving the efficiency of the data transmission and data display processes.
[0229] In some other embodiments of this application, when the first image moves in the target direction during the first transmitting motion effect, the second image moves in the opposite direction to the target direction during the second receiving motion effect.
[0230] For example, see [link to example]. Figure 7 In the first sending animation, the first image moves in the target direction, that is, the first image moves towards the top surface of the first mobile phone. See also... Figure 10 In the second receiving motion effect, the movement direction of the second image is opposite to the target direction, that is, the second image moves in a direction pointing away from the top end face of the first mobile phone.
[0231] Thus, in this embodiment, the movement direction of the first image in the first sending animation is opposite to the movement direction of the second image in the second receiving animation, making data transmission between devices more intuitive and enhancing the user's visual experience.
[0232] In some other embodiments of this application, the display form of the first image in the first transmitting motion effect is different from the display form of the second image in the second receiving motion effect.
[0233] For example, the display size of the first image in the first sending animation is different from the display size of the second image in the second receiving animation.
[0234] As another example, the display color of the first image in the first sending animation is different from the display color of the second image in the second receiving animation.
[0235] As another example, the display transparency of the first image in the first sending animation is different from the display transparency of the second image in the second receiving animation.
[0236] Thus, this embodiment of the application can distinguish between different sending and receiving animations, allowing users to more intuitively perceive the data transmission process corresponding to receiving and sending data. This enhances the richness of the animation display and makes data transmission across devices more intuitive, thereby improving the user's visual experience.
[0237] In some other embodiments of this application, the motion speed of the second receiving motion effect is negatively correlated with the amount of data of the object data of the second transmitting object, the motion speed of the first sending motion effect is negatively correlated with the amount of data of the object data of the first transmitting object, or the motion speed of the first sending motion effect is positively correlated with the operation speed of the first triggering operation.
[0238] The speed of the animation during the presentation process can be related to the amount of data transmitted.
[0239] For example, the larger the amount of data corresponding to the content data of the first file, the slower the animation speed of its first sending animation. Conversely, the smaller the amount of data corresponding to the content data of the first file, the faster the animation speed of its first sending animation.
[0240] For another example, the larger the amount of data corresponding to the content data of the second file, the slower the animation speed of its second receiving animation. Conversely, the smaller the amount of data corresponding to the content data of the second file, the faster the animation speed of its second receiving animation.
[0241] For another example, the higher the speed of the first triggering operation, the higher the speed of its first sent animation. Conversely, the lower the speed of the first triggering operation, the lower the speed of its first sent animation.
[0242] In some embodiments of this application, the sending animation displayed on the second mobile phone side can also be related to the amount of data transmitted, or to the operation speed of the triggering operation of the second image. The animation speed of the receiving animation can also be related to the amount of data transmitted, which will not be elaborated here.
[0243] Thus, in this embodiment, the animation speed can vary according to the amount of data being transmitted, or according to the speed of the user's operation. Users can intuitively perceive the amount of data being transmitted through the animation. Users can also control the animation speed by changing their operation speed. This further enhances the richness of the displayed content and the fun and interactivity of cross-device data transmission. Users can obtain a better data transmission experience.
[0244] In other embodiments of this application, when the first mobile phone is sending object data of the first transmission object and receiving object data of the second transmission object sent by the second mobile phone, in response to the second triggering operation on the first image, the first image is not displayed and the sending of object data of the first transmission object to the second mobile phone is cancelled.
[0245] In other words, while the first phone is sending data, it can simultaneously receive data from the second phone. In this scenario, the first phone can also respond to the second trigger operation on the first image, ceasing to display the first image and canceling data transmission to the second phone. Thus, the first phone only cancels data transmission to the second phone, without affecting its ability to receive data from the second phone. The first phone can maintain the display of the second receiving animation.
[0246] Thus, in this embodiment, the two devices can simultaneously send and receive data. Users can cancel data transmission by one device; canceling data transmission by one device does not affect data transmission by the other device, while simultaneously allowing the device to continue receiving data from the other device. Users can interrupt the data transmission process, improving the flexibility of cross-device data transmission and enhancing the user experience.
[0247] In some embodiments of this application, when a second mobile phone sends object data of a second object while a first mobile phone is sending object data of a first transmission object, the first mobile phone simultaneously displays a first sending animation and a second receiving animation, and the second mobile phone simultaneously displays a first receiving animation and a second sending animation.
[0248] Alternatively, the first mobile phone displays the first sending animation followed by the second receiving animation, and the second mobile phone displays the second sending animation followed by the first receiving animation.
[0249] Alternatively, the first mobile phone displays the first sending animation after displaying the second receiving animation, and the second mobile phone displays the second sending animation after displaying the first receiving animation.
[0250] For example, in the case where a second mobile phone sends object data of a second transmission object while the first mobile phone is sending object data of a first transmission object, see [reference needed]. Figure 13In (A), the first mobile phone can simultaneously display the first sending animation and the second receiving animation. See also Figure 13 In (B), the second mobile phone can simultaneously display the first receiving animation and the second sending animation.
[0251] As another example, in the case where a second mobile phone sends object data of a second transmitted object while the first mobile phone is sending object data of a first transmitted object, see [reference needed]. Figure 14 In (A), the first mobile phone can first display the first sending animation, and then display the second receiving animation. See also Figure 14 In (B), the second mobile phone can first display the second sending animation, and then display the first receiving animation.
[0252] As another example, in the case where a second mobile phone sends object data of a second transmitted object while the first mobile phone is sending object data of a first transmitted object, see [reference needed]. Figure 15 In (A), the first mobile phone can first display the second receiving animation, and then display the first sending animation. See also Figure 15 In (B), the second mobile phone can first display the first receiving animation, and then display the second sending animation.
[0253] In the embodiments of this application, a first mobile phone can receive object data of a second transmitted object sent by a second mobile phone while sending object data of a first transmitted object. Similarly, a second mobile phone can receive object data of a first transmitted object sent by a first mobile phone while sending object data of a second transmitted object. That is, both the first and second mobile phones can perform both data sending and receiving processes. The execution sequence of data sending and receiving can be sequential or simultaneous. This improves the flexibility of data transmission and enhances the user experience.
[0254] Simultaneously, the first and second mobile phones can display the aforementioned receiving and sending animations based on the execution sequence of sending and receiving data. Thus, the device in this embodiment not only sends and receives data simultaneously, but can also display receiving and sending animations concurrently during the data transmission process. Of course, the display order of the receiving and sending animations can also be sequential. This further enhances the richness of the displayed content and the enjoyment of cross-device data transmission for users. Users can obtain a better data transmission experience.
[0255] The data transmission described in this application embodiment can be applied in multiple scenarios, such as personal data exchange, product sales, and education. This application embodiment does not specifically limit the application scenarios.
[0256] In scenarios involving personal data exchange, two users might want to quickly exchange contact information or send files when they meet. To do this, both users can display the contact information or files to be sent on their phones and then bump the two phones together. Upon detecting the collision, the phones initiate a Bluetooth signal scan and automatically establish a Bluetooth communication connection. After establishing the connection, the two phones automatically begin the data transmission and animation display process to enable the two users to quickly exchange contact information or view files.
[0257] In product sales scenarios, salespeople want to quickly present charts or documents to customers. The salesperson can display the chart or document on their mobile phone and then touch it to the customer's phone. The salesperson's phone detects the collision, initiates Bluetooth signal scanning, and automatically establishes a Bluetooth communication connection with the customer's phone. After the two phones establish a Bluetooth connection, the salesperson's phone automatically starts the data transmission and animation display process, allowing the customer to receive and view the chart or document.
[0258] In educational settings, teachers may want to distribute or collect assignments from students. Similarly, teachers and students can connect their devices to establish a communication link, enabling both devices to automatically initiate data transmission and animation display processes.
[0259] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the process of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed.
[0260] Those skilled in the art will conceive of various ways to reorder the operations described in the embodiments of this application. Furthermore, it should be noted that process details involved in one embodiment of this application are similarly applicable to other embodiments, or different embodiments can be combined.
[0261] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.
[0262] Furthermore, the various method embodiments can be implemented individually or in combination.
[0263] This application also provides an electronic device, such as the aforementioned mobile phone, etc. Figure 16As shown, the mobile phone may include one or more processors 1610, memory 1620 and communication interfaces 1630.
[0264] The memory 1620, communication interface 1630, and processor 1610 are coupled together. For example, the memory 1620, communication interface 1630, and processor 1610 can be coupled together via bus 1640.
[0265] The communication interface 1630 is used for data transmission with other devices. The memory 1620 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1610, cause the electronic device to perform the relevant method steps in the embodiments of this application.
[0266] Processor 1610 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0267] The 1640 bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The aforementioned 1640 bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 16 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0268] This application also provides a communication system, which includes a first device and a second device; the display screen of the first device includes a first transmission object.
[0269] The first device is configured to detect the approach or collision of the second device and establish a communication connection with the second device.
[0270] The first device is configured to send object data of the first transmission object to the second device.
[0271] The first device is configured to display a first transmission animation during the process of sending object data of the first transmission object to the second device. The first transmission animation is used to present a first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves out of the screen of the first device.
[0272] The second device is configured to receive object data of the first transmitted object and display a first receiving animation, which is used to present a first image appearing from the screen boundary of the second device and moving into the screen of the second device.
[0273] This application also provides an electronic device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the relevant method steps in the above method embodiments.
[0274] This application also provides a communication device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the communication device performs the relevant method steps in the above method embodiments.
[0275] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0276] This application also provides a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the relevant method steps as described in the above method embodiments.
[0277] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, and when the program or instructions are executed by the processor, the chip system enables the methods in any of the above method embodiments.
[0278] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0279] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0280] For example, the chip system can be a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0281] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0282] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0283] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0284] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units, located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0285] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0286] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the contributing parts, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0287] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data transmission method, characterized in that, Applied to a first device, wherein the display screen of the first device includes a first transmission object, the method includes: Upon detecting proximity or collision with the second device, a communication connection is established with the second device; The first device generates and displays a first image corresponding to the first transmitted object, the first image including a screenshot of the first transmitted object or a snapshot of the object corresponding to the first transmitted object; In response to a first triggering operation for the first image, object data of the first transmitted object is sent to the second device, the first triggering operation including an operation to indicate that the first image moves to the screen boundary of the first device; During the process of sending the object data of the first transmission object to the second device, a first sending animation effect is displayed. The first sending animation effect is used to show the first image corresponding to the first transmission object moving to the screen boundary of the first device until it moves out of the screen of the first device. The method further includes: obtaining a target direction, wherein the target direction is the direction from the center of the screen of the first device to the top surface of the first device; the first sending animation is used to present the first image moving along the target direction to the screen boundary of the first device until it moves out of the screen of the first device; the display screen of the second device includes a second transmission object; the method further includes: Receive object data corresponding to the second transmission object sent by the second device, and display a second receiving animation effect. The second receiving animation effect is used to present the second image corresponding to the second transmission object appearing from the screen boundary of the first device and moving into the screen of the first device. If, during the process of the first device sending object data of the first transmitted object, the second device sends object data of the second transmitted object, in response to the second triggering operation on the first image, the first image is not displayed and the sending of object data of the first transmitted object to the second device is cancelled; The second receiving animation remains displayed.
2. The method according to claim 1, characterized in that, In the first sending animation, the display form of the first image changes with the change of the moving position during the movement process.
3. The method according to claim 2, characterized in that, In the first sending animation, the display size of the first image gradually decreases as the position changes until it fades out of the screen of the first device.
4. The method according to claim 1, characterized in that, In the first sending animation, as the first image moves in the target direction, in the second receiving animation, the direction of movement of the second image is opposite to the target direction.
5. The method according to claim 1 or 4, characterized in that, The display form of the first image in the first sending animation is different from the display form of the second image in the second receiving animation.
6. The method according to claim 1 or 4, characterized in that, In the case where the object data of the second transmitted object is received by the second device while the first device is sending the object data of the first transmitted object, the first sending animation and the second receiving animation are displayed simultaneously, or the first sending animation is displayed after the second receiving animation is displayed, or the second receiving animation is displayed after the first sending animation is displayed.
7. The method according to claim 1 or 4, characterized in that, The motion speed of the second receiving motion effect is negatively correlated with the amount of data of the object data of the second transmitting object, and the motion speed of the first sending motion effect is negatively correlated with the amount of data of the object data of the first transmitting object, or the motion speed of the first sending motion effect is positively correlated with the operation speed of the first triggering operation.
8. The method according to claim 1 or 4, characterized in that, The object data corresponding to the second transmission object includes the second image, which is used to indicate the second transmission object in the second device. The method further includes: After displaying the second receiving animation, the second image is displayed; In response to a third triggering operation on the second image, the second transmission object is obtained based on the second image; Find the target application that matches the second transmission object; The second transmission object is displayed using the target application.
9. The method according to claim 1 or 4, characterized in that, The object data corresponding to the second transmission object includes the second image and the content data of the second transmission object, and the method further includes: After displaying the second receiving animation, the second image is displayed; In response to a third triggering operation on the second image, a target application matching the content data of the second transmitted object is located; The second transmission object is displayed using the target application.
10. The method according to claim 1, characterized in that, The object data of the first transmission object includes the first image, which is used to indicate the first transmission object and to be acquired by the second device. Alternatively, the object data of the first transmission object includes the first image and the content data of the first transmission object, and the content data of the first transmission object is used by the second device to acquire the first transmission object.
11. The method according to claim 1 or 4, characterized in that, During the process of sending object data of the first transmission object and receiving object data of the second transmission object, the device distance between the first device and the second device is less than or equal to the communication distance between the first device and the second device when establishing a communication connection.
12. The method according to any one of claims 1-3, characterized in that, The first image includes a screenshot of the first transmitted object or a snapshot of the object corresponding to the first transmitted object, and the method further includes: Generate a screenshot of the object based on the first transmission object displayed on the screen; Alternatively, extract key object data from the transmission object data of the first transmission object; Based on the key object data, generate the object snapshot.
13. The method according to any one of claims 1-3, characterized in that, The method further includes: Display target animation, which is used to indicate that the first device and the second device have been detected to be approaching or colliding.
14. The method according to any one of claims 1-3, characterized in that, The first transfer object includes at least one of a file, folder, contact, or application.
15. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 1-14.
16. A computer-readable medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-14.
17. A computer program product, characterized in that, The computer program product includes instructions that, when executed on a computer or processor, cause the computer or processor to perform the method as described in any one of claims 1-14.