Operation control method, device and electronic equipment

By establishing a wireless communication connection between two electronic devices and directly sharing operations and data, the high cost and privacy leakage caused by server transit in the prior art are solved, and efficient and secure data sharing between terminals is achieved.

CN114679511BActive Publication Date: 2024-12-10HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011550408.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-12-10
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

In the prior art, the sharing of schedule data between terminals requires data transfer through the server, resulting in high costs and the risk of user privacy leakage.

Method used

By establishing a wireless communication connection between two electronic devices, directly sharing operations and data, avoiding the server as a transit medium, ensuring data security.

Benefits of technology

It realizes efficient data sharing between terminals, reduces costs, improves the security of user information, and avoids privacy leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679511B_ABST
    Figure CN114679511B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an operation control method, device and electronic device, the method comprising a first electronic device running a first application installed in the first electronic device, displaying a functional interface of the first application; establishing a wireless communication connection with a second electronic device, and sending application information of the first application to the second electronic device, so that the second electronic device runs the second application according to the application information, and the first application and the second application are the same or corresponding types of applications; obtaining the user's operation in the functional interface, and generating corresponding operation instructions according to the operation; sending the operation instructions to the second electronic device via a wireless communication connection, so that the second electronic device controls the second application to execute the operation instructions. Through the above operation control method, it is possible to share the user's operation instructions on one electronic device to another electronic device in a scenario without the need for a server to join.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal interaction technology, and in particular to an operation control method, device and electronic device. Background Art

[0002] As the pace of life continues to accelerate, people have to deal with many things every day. When people want to quickly find a common free time to do activities together, they need to check their own schedules separately.

[0003] In the existing related technologies, a scheme for sharing schedules can be: sharing schedule data between a server and multiple terminals, and transmitting the schedule data on the user terminal to the server through the network. After the user terminal subscribes to the schedule data of other users, the busy and idle status of the other party is shared to its own terminal. When the schedule of the terminal changes, the changed data is transmitted to the server to keep the server and terminal data consistent. However, the above technical solution can only rely on the interaction of schedule information between the terminal and the server. If you want to subscribe to the schedule data of other users, you must transfer the data through the server, and there is also a risk of privacy leakage after the subscriber uploads the schedule data to the server. Summary of the invention

[0004] The embodiment of the present application provides an operation control method, an electronic device and a computer-readable storage medium. Through the above operation control method, a wireless communication connection between two electronic devices with sharing requirements can be established, and then the operation on one electronic device can be shared with the other electronic device.

[0005] In a first aspect, an embodiment of the present application provides an operation control method, including:

[0006] The first electronic device runs a first application installed in the first electronic device, and displays (also referred to as showing) a function interface of the first application running in the first electronic device;

[0007] The first electronic device establishes a wireless communication connection with the second electronic device, and sends application information of the first application to the second electronic device through the wireless communication connection, so that the second electronic device can run a second application corresponding to the first application according to the application information;

[0008] The first electronic device obtains an operation of the first user in the functional interface of the first application, and generates a corresponding operation instruction according to the operation;

[0009] The first electronic device sends the operation instruction to the second electronic device via the wireless communication connection, so that the second electronic device can control the second application to execute the operation instruction.

[0010] It should be noted that the second application corresponding to the first application may mean that the first application and the second application are the same, or the first application and the second application belong to the same type of application.

[0011] The following strategies may be used to enable the first electronic device and the second electronic device to open corresponding applications:

[0012] For example, the application information may include an application identifier. After receiving the application identifier, the second electronic device may determine the application in the second electronic device that is the same as the first application according to the application identifier, and run the application that is the same as the first application.

[0013] For another example, the application information may include an application type. After receiving the application type, the second electronic device may determine an application in the second electronic device that has similar functions to the first application based on the application type, and run the application that has similar functions to the first application.

[0014] In the case where the second application is the same as the first application, the following strategy may be used to enable the first application and the second application to perform corresponding operations:

[0015] After the first electronic device detects the first user's operation on a control in the function interface of the first application, it sends an operation instruction including the control identifier of the control to the second electronic device. After receiving the operation instruction including the control identifier of the manipulated control, the second electronic device can determine the same control in the second application based on the control identifier, and perform the same control operation on the same control based on the operation instruction.

[0016] In the case where the second application and the first application are applications with similar functions, the following strategy may be adopted to enable the first application and the second application to perform corresponding operations:

[0017] After the first electronic device detects the first user's operation on a control in the function interface of the first application, it sends an operation instruction including the control function information of the control to the second electronic device. After receiving the operation instruction including the control function information, the second electronic device can determine a similar control in the second application that can implement the corresponding function based on the control function information, and perform corresponding control operations on the similar control based on the operation instruction.

[0018] The first user and the second user can view the events created by each other, one possible implementation of which is:

[0019] The first electronic device obtains information about a first event created by the first user in the first application, sends the information about the first event to the second electronic device through the wireless communication connection, receives information about a second event sent by the second electronic device, and saves the information about the second event in a cache area; wherein the second event includes an event created by the second user in the second application of the second electronic device;

[0020] The first electronic device displays the information of the first event and the information of the second event in the function interface of the first application.

[0021] The first user and the second user can view the information being edited by the other user. One possible implementation is:

[0022] In response to the first user creating a shared event in the functional interface of the first application, the first electronic device sends information about the shared event to the second electronic device via the wireless communication connection, so that the second electronic device marks the shared event created by the first user on the functional interface of the second application based on the information about the shared event.

[0023] In order to protect the user's information security, we can delete the information received from other devices when necessary, and we can also notify other devices to delete the information sent by our devices.

[0024] One possible implementation is: after exiting the first application, the first electronic device sends a disconnection message to the second electronic device, disconnects the wireless communication connection between the first electronic device and the second electronic device, and deletes the information of the second event in the cache area. Correspondingly, the second electronic device can also delete the information of the first event in the cache area after receiving the disconnection message.

[0025] Exiting the first application includes: exiting the target program in response to a user operation; or exiting the target program by background cleaning.

[0026] The first electronic device may share a file with the second electronic device, wherein a possible implementation manner is:

[0027] The first electronic device obtains a target file selected by the first user in a function interface of the first application program;

[0028] The first electronic device sends the target file to the second electronic device through the wireless communication connection.

[0029] The target files may include but are not limited to schedules, documents, videos, music, address books, etc.

[0030] Similarly, the first electronic device can also receive the file sent by the second electronic device.

[0031] The first electronic device may send the target file to the second electronic device in different sending modes.

[0032] Among them, a process of sending a target file is as follows:

[0033] The first electronic device obtains an operation by the first user to select a target file in the function interface of the first application.

[0034] In response to the first electronic device detecting that the identifier of the target file is moved out of the edge of the screen of the first electronic device, the position information of the identifier of the target file and the target file are obtained, the position information is used to identify the moved-out position of the identifier of the target file in the first electronic device, and the position information and the target file are respectively sent to the second electronic device through a wireless communication connection.

[0035] The second electronic device may determine an initial display position (also referred to as an entry position) of the identifier of the target file in the second electronic device according to the position information.

[0036] If the first electronic device detects that the first user's finger (the subject is not limited to a finger, but can also be a stylus, mouse, etc.) leaves the screen of the first electronic device, and determines that the moved portion of the screen edge of the target file identification (such as distance or area, etc.) is greater than a first threshold, a confirmation indication is sent to the second electronic device, and the second electronic device saves the target file in the cache area to the memory.

[0037] If the first electronic device detects that the first user's finger has left the screen of the first electronic device, and determines that the moved portion of the target file identifier relative to the edge of the screen is less than a second threshold, a cancellation indication is sent to the second electronic device so that the second electronic device deletes the target file from the cache area.

[0038] Among them, another process of sending the target file is as follows:

[0039] The first electronic device obtains an operation by the first user to select a target file in the function interface of the first application.

[0040] In response to the first electronic device detecting that the identifier of the target file is moved out of the edge of the screen of the first electronic device, acquiring location information of the moved-out location of the identifier of the target file and information of the target file, and sending the above information to the second electronic device through a wireless communication connection;

[0041] The second electronic device may determine an initial display position (also referred to as an entry position) of the identifier of the target file in the second electronic device according to the position information.

[0042] The second electronic device may display the identifier of the target file in the second electronic device according to the information of the target file. For example, the target file information may include the type of the file, the name of the file, etc. The second electronic device may select a corresponding identifier to display according to the type of the file, etc.

[0043] If the first electronic device detects that the user's finger leaves the screen of the first electronic device, and the moved portion of the target file identifier relative to the edge of the screen (such as distance or area, etc.) is greater than a first threshold, the target file is sent to the second electronic device so that the second electronic device can save the target file.

[0044] If the first electronic device detects that the user's finger leaves the screen of the first electronic device and the moved portion of the target file identifier relative to the screen edge is smaller than a second threshold, the target file is not sent to the second electronic device.

[0045] The second threshold is smaller than the first threshold.

[0046] The identifier of the target file displayed on the first electronic device and the identifier of the target file displayed on the second electronic device may be the same or different.

[0047] In a second aspect, an embodiment of the present application provides an operation control method, including:

[0048] The second electronic device establishes a wireless communication connection with the first electronic device;

[0049] The second electronic device receives application information of a first application sent by the first electronic device through the wireless communication connection, and runs a second application according to the application information, wherein the first application and the second application are the same or of corresponding types;

[0050] The second electronic device receives the operation instruction sent by the first electronic device through the wireless communication connection, and controls the second electronic device to execute the operation instruction.

[0051] The second electronic device can use the above-mentioned strategy to open the second application corresponding to the first application. The details are as mentioned above and will not be repeated here.

[0052] The first user and the second user can view the events created by each other. Similar to the first electronic device, the second electronic device can accordingly perform the following steps:

[0053] The second electronic device receives information about a first event sent by the first electronic device, where the first event includes an event created by the first user in the first application of the first electronic device;

[0054] The second electronic device obtains information about a second event created by a second user in the second application, and sends the information about the second event to the first electronic device through the wireless communication connection;

[0055] The second electronic device displays the information of the first event and the information of the second event in the function interface of the second application.

[0056] The first user and the second user can view each other's editing events. Specifically: the second electronic device receives the information of the shared event sent by the first electronic device through the wireless communication connection, and based on the information of the shared event, the second electronic device marks the shared event created by the first user on the functional interface of the second application.

[0057] In order to protect the user's information security, we may delete the information received from other devices when necessary, and we may also notify other devices to delete the information sent by our devices. Specifically,

[0058] The second electronic device receives a disconnection message sent by the first electronic device through the wireless communication connection;

[0059] The second electronic device disconnects the wireless communication connection between the second electronic device and the first electronic device, and deletes the received information of the first event.

[0060] As mentioned above, the first electronic device can send a file to the second electronic device, and correspondingly, the second electronic device can receive the file sent by the first electronic device.

[0061] When the first electronic device adopts a sending mode, the corresponding process of the second electronic device receiving the target file is as follows:

[0062] The second electronic device receives the target file and the removal position of the target file identifier sent by the first electronic device via the wireless communication connection, determines the entry position of the target file identifier in the second electronic device according to the removal position, and copies the target file to the cache area of ​​the second electronic device.

[0063] If a confirmation instruction sent by the first electronic device is received, the target file in the buffer area is saved in the memory. If a cancellation instruction sent by the first electronic device is received, the target file in the buffer area is deleted.

[0064] The target file includes a target file selected by a user of the first electronic device in a function interface of a first application program running on the first electronic device.

[0065] When the first electronic device adopts another sending method, the corresponding process of the second electronic device receiving the target file is as follows:

[0066] The second electronic device receives the information of the target file and the removal position of the identifier of the target file sent by the first electronic device through the wireless communication connection, and determines the entry position of the identifier of the target file in the second electronic device according to the removal position. Optionally, upon receiving the cancellation instruction sent by the first electronic device, the second electronic device can delete the information of the target file in the cache area. The description of the information of the target file is as mentioned above and will not be repeated here.

[0067] In a third aspect, an embodiment of the present application provides a first electronic device, including:

[0068] One or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the first electronic device, enable the first electronic device to execute the operation control method provided by the first aspect.

[0069] In a fourth aspect, an embodiment of the present application provides a second electronic device, including:

[0070] One or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the second electronic device, enable the second electronic device to execute the operation control method provided by the second aspect.

[0071] In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the operation control method provided in the first aspect.

[0072] In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the operation control method provided in the second aspect.

[0073] In a seventh aspect, the present application provides a computer program, which, when executed by a computer, is used to execute the operation control method provided in the first aspect.

[0074] In an eighth aspect, the present application provides a computer program, which, when executed by a computer, is used to execute the operation control method provided in the second aspect.

[0075] In one possible design, the programs in the seventh and eighth aspects may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.

[0076] It can be understood that the electronic devices, computer-readable storage media and computer programs provided in the above aspects are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0078] Figure 1 A schematic diagram of the structure of a first electronic device D1 provided in an embodiment of the present application;

[0079] Figure 2 A software structure block diagram of the first electronic device D1 provided in an embodiment of the present application;

[0080] Figure 3 A flowchart of an operation control method provided by an embodiment of the present application;

[0081] Figure 4 A schematic diagram of a calendar program provided by another embodiment of the present application;

[0082] Figure 5A A schematic diagram of a calendar function interface displayed by a first electronic device D1 and a second electronic device D2 provided in one embodiment of the present application;

[0083] Figure 5B A schematic diagram of a touch response of a view display control provided by an embodiment of the present application;

[0084] Figure 5C A schematic diagram of touch response of a view display control provided in another embodiment of the present application;

[0085] Figure 6 A flowchart of an operation control method provided by another embodiment of the present application;

[0086] Fig. 7A A schematic diagram for summarizing and displaying created event information provided by an embodiment of the present application;

[0087] Figure 7B A schematic diagram of an interface for creating a new schedule phase provided in one embodiment of the present application;

[0088] Figure 7C A schematic diagram of saving a newly created schedule provided in one embodiment of the present application;

[0089] Fig.7D A schematic diagram of the interface after a shared event is saved provided by an embodiment of the present application;

[0090] Figure 8 A flowchart of an operation control method provided by another embodiment of the present application;

[0091] Fig.9A A schematic diagram of drag-and-drop photo sharing provided by another embodiment of the present application;

[0092] Fig. 9B A schematic diagram of determining the entry position by photo identification provided by an embodiment of the present application;

[0093] Fig. 10A A schematic diagram of contact information confirmation and sending provided by an embodiment of the present application;

[0094] Fig. 10B A schematic diagram of canceling the sending of contact information provided by an embodiment of the present application;

[0095] Fig. 10C A schematic diagram of a sharing operation of contact information in a group provided by an embodiment of the present application;

[0096] Fig. 10D A schematic diagram of a sharing operation of contact information in a group provided by another embodiment of the present application;

[0097] Fig. 10E A schematic diagram of sharing contact information provided in another embodiment of the present application;

[0098] Fig.11 A schematic structural diagram of a first electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0099] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0100] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0101] In the prior art, the shared schedule solution is: schedule data is shared between a server and multiple terminals, and the user terminal transmits the local schedule data of the terminal to the server through the network. When a user terminal needs to view the schedule data of other users, the user terminal subscribes to the schedule data of other users and shares the busy and idle status in the other party's schedule data to the corresponding schedule application of its own terminal to summarize and compare the schedules of both parties. Specifically, the user terminal can use a schedule (hereinafter referred to as calendar) application to realize schedule sharing. The schedule application can be a local calendar program installed in the user terminal, such as a PC or a mobile phone, a widget-type calendar program, a calendar function of an email client such as outlook, lotus notes, etc., or a Google calendar function or MSN calendar function on the Internet.

[0102] Take Google Calendar on the Internet as an example. Users can log in to a dedicated Google Calendar page, choose to subscribe to other people's calendars, enter the other party's email address, or click on the email address in the list to subscribe to the target user's calendar. The subscribed user will receive authorization information for others to access the calendar. After the subscribed user agrees, the subscribing user can view the subscribed user's schedule information. In addition, the existing calendar can only use online schedule sharing on terminals such as mobile phones. When sharing schedule data through the solutions in the prior art, it will rely on the synchronization information between the user terminal and the server. In the case where the server needs to join, the cost of sharing schedule data between terminals is high, and there is also the problem of user privacy leakage when the user terminal uploads local data to the server.

[0103] Based on the above problems, the embodiment of the present application provides an operation control method. When two electronic devices need to perform a shared operation, the two electronic devices can establish a communication connection without the need for a server to join, and then the user's operation on one of the electronic devices can be shared to the other electronic device, so as to realize the simultaneous display of the operation results for one of the electronic devices on the two electronic devices, and complete the data sharing between the devices. The above operation control method can at least solve the problem of privacy leakage caused by relying on the server as a medium for data transfer in the prior art.

[0104] The operation control method provided in the embodiment of the present application can be applied to electronic devices, wherein the above-mentioned electronic devices can be smart phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (PDA) and other devices; the embodiment of the present application does not impose any restrictions on the specific type of electronic devices.

[0105] For example, Figure 1 A schematic diagram of the structure of a first electronic device D1 provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the first electronic device D1 may include a processor 110, a display screen 120, a memory 130, a sensor module 140, a power module 150, a camera 160, an audio module 170, etc. The sensor module 140 may include a pressure sensor and a touch sensor.

[0106] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device D1. In other embodiments of the present application, the first electronic device D1 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0107] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0108] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0109] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0110] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0111] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (DCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor, the charger, the camera 160, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor through the I2C interface, so that the processor 110 communicates with the touch sensor through the I2C bus interface to realize the touch function of the first electronic device D1.

[0112] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 182 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0113] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 182 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 182 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0114] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 182. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 182 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 182 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0115] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 120 and the camera 160. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 160 communicate via the CSI interface to implement the shooting function of the first electronic device D1. The processor 110 and the display screen 120 communicate via the DSI interface to implement the display function of the first electronic device D1.

[0116] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 160, the display 120, the wireless communication module 182, the audio module 170, the sensor module 140, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0117] The USB interface is an interface that complies with the USB standard specification, and can be specifically a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge the first electronic device D1, and can also be used to transmit data between the first electronic device D1 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0118] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the first electronic device D1. In other embodiments of the present application, the first electronic device D1 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0119] The power module 150 connects the power management module and the battery, and the power module 150 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the power module 150 can receive charging input from the wired charger through a USB interface. In some wireless charging embodiments, the power module 150 can receive wireless charging input through the wireless charging coil of the first electronic device D1. While the power module 150 is charging the battery, it can also power the first electronic device D1 through the power management module.

[0120] The power management module is used to connect the battery, the power module 150 and the processor 110. The power management module receives input from the battery and / or the power module 150, and supplies power to the processor 110, the memory 130, the display screen 120, the camera 160, and the wireless communication module 182. The power management module can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module can also be set in the processor 110. In other embodiments, the power management module and the power module 150 can also be set in the same device.

[0121] The wireless communication function of the first electronic device D1 can be implemented through the antenna 1, the antenna 2, the mobile communication module 181, the wireless communication module 182, the modem processor and the baseband processor.

[0122] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device D1 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0123] The mobile communication module 181 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the first electronic device D1. The mobile communication module 181 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 181 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 181 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 181 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 181 can be set in the same device as at least some of the modules of the processor 110.

[0124] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker, a receiver, etc.), or displays an image or video through the display screen 120. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 181 or other functional modules.

[0125] The wireless communication module 182 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the first electronic device D1. The wireless communication module 182 can be one or more devices integrating at least one communication processing module. The wireless communication module 182 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 182 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0126] In some embodiments, the antenna 1 of the first electronic device D1 is coupled to the mobile communication module 181, and the antenna 2 is coupled to the wireless communication module 182, so that the first electronic device D1 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0127] The first electronic device D1 implements a display function through a GPU, a display screen 120, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 120 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0128] The display screen 120 is used to display images, videos, etc. The display screen 120 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the first electronic device D1 may include one or N display screens 120, where N is a positive integer greater than 1.

[0129] The first electronic device D1 can realize a shooting function through an ISP, a camera 160 , a video codec, a GPU, a display screen 120 , and an application processor.

[0130] The ISP is used to process the data fed back by the camera 160. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 160.

[0131] The camera 160 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the first electronic device D1 may include one or N cameras 160, where N is a positive integer greater than 1.

[0132] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the first electronic device D1 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0133] The video codec is used to compress or decompress digital video. The first electronic device D1 can support one or more video codecs. In this way, the first electronic device D1 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0134] NPU is a neural network (NN) computing processor, which can quickly process input information and continuously self-learn by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain. NPU can realize applications such as intelligent cognition of the first electronic device D1, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0135] The memory (internal memory) 130 can be used to store computer executable program codes, which include instructions. The memory 130 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the first electronic device D1 (such as audio data, a phone book, etc.), etc. In addition, the memory 130 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the first electronic device D1 by running instructions stored in the memory 130 and / or instructions stored in a memory provided in the processor.

[0136] The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be set on the display screen 120. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The first electronic device D1 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 120, the first electronic device D1 detects the touch operation intensity according to the pressure sensor. The first electronic device D1 can also calculate the touch position according to the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0137] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 120. The touch sensor and the display screen 120 form a touch screen, also called a "touch control screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 120. In other embodiments, the touch sensor can also be arranged on the surface of the first electronic device D1, which is different from the position of the display screen 120.

[0138] The software system of the first electronic device D1 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The present application embodiment takes the Android system of the layered architecture as an example to exemplify the software structure of the first electronic device D1.

[0139] Figure 2 A software structure block diagram of a first electronic device D1 provided in one embodiment of the present application.

[0140] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0141] The application layer can include a series of application packages.

[0142] like Figure 2As shown, the application package may include applications such as camera, gallery, calendar, call, WLAN, Bluetooth, etc.

[0143] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0144] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0145] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0146] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0147] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0148] The phone manager is used to provide communication functions for the first electronic device D1, such as management of call status (including connecting, hanging up, etc.).

[0149] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0150] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0151] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0152] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0153] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0154] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0155] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0156] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0157] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0158] A 2D graphics engine is a drawing engine for 2D drawings.

[0159] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0160] It should be noted that the second electronic device D2 mentioned in the following embodiments of the present application has the same structure as the first electronic device D1, which will not be described in detail here.

[0161] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 1 and Figure 2 Taking the electronic device with the structure shown as an example, the operation control method provided in the embodiment of the present application is specifically described in combination with the accompanying drawings and application scenarios.

[0162] Figure 3 A schematic diagram of a flow chart of an operation control method provided by an embodiment of the present application is shown as follows: Figure 3 As shown, the above operation control method may include:

[0163] Step 301: The first electronic device D1 runs a first application installed in the device itself, and displays a functional interface of the first application running in the first electronic device D1.

[0164] Step 302: The first electronic device D1 establishes a wireless communication connection with the second electronic device D2. The first electronic device D1 sends application information of the currently running first application to the second electronic device D2 via the wireless communication connection, so that the second electronic device D2 runs the second application according to the received application information.

[0165] Among them, the wireless communication connection established between the first electronic device D1 and the second electronic device D2 may include a Bluetooth connection or a wireless local area network (WLAN) direct connection. The above-mentioned application information may include one or more of the following: application identification, installation package name, application type information and application function information. For example, the application information of application A includes: application identification (R0001P0001), installation package name (1000) application type (instant messaging type), application function (instant messaging); the application information of application B includes: application identification (R0002P0002), installation package name (1001) application type (navigation type), application function (navigation).

[0166] When the above-mentioned wireless communication connection is specifically implemented, that is, when the first electronic device D1 establishes a Bluetooth connection or a WLAN direct connection with the second electronic device D2, the connection can be achieved through manual operation of the user, that is, the user manually clicks on the second electronic device D2 in the search list of the first electronic device D1 to achieve the Bluetooth connection or WLAN direct connection between the first electronic device D1 and the second electronic device D2.

[0167] In order to enable the first electronic device D1 to quickly complete the Bluetooth connection or WLAN direct connection with the second electronic device D2, the first electronic device D1 can send the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 in advance, and the second electronic device D2 completes the Bluetooth connection or WLAN direct connection with the first electronic device D1 based on the received Bluetooth connection identifier or WLAN connection identifier.

[0168] The specific implementation method of the first electronic device D1 sending the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 in advance may include the first electronic device D1 establishing a near field communication connection (NFC) with the second electronic device D2, wherein the first electronic device D1 and the second electronic device D2 are close to each other for NFC connection (the first electronic device D1 and the second electronic device D2 need to turn on the NFC connection function in advance). After the NFC connection is established, the first electronic device D1 sends the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 through the NFC connection; or, the first electronic device D1 sends the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 in advance through the mobile communication network.

[0169] Among them, when adopting the sending method based on NFC connection, after the first electronic device D1 establishes an NFC connection with the second electronic device D2, the first electronic device D1 sends the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 through the NFC connection, and the second electronic device D2 completes the Bluetooth connection or WLAN direct connection with the first electronic device D1 according to the received Bluetooth connection identifier or WLAN connection identifier. Compared with the above-mentioned manual connection method, this connection method does not require searching and clicking to connect, does not require user operation and has a fast connection speed, thereby improving the user's experience of fast wireless communication connection between devices.

[0170] Among them, if the first electronic device D1 and the second electronic device D2 set a wireless communication connection prompt, after the first electronic device D1 and the second electronic device D2 establish a wireless communication connection, the first electronic device D1 and the second electronic device D2 respectively display a wireless communication connection success prompt message to notify the user that the wireless communication connection is successful.

[0171] Among them, when adopting the sending method based on the mobile communication network, the first electronic device D1 can send the Bluetooth connection identifier or WLAN connection identifier of the first electronic device D1 to the second electronic device D2 through the mobile communication network, and the second electronic device D2 completes the Bluetooth connection or WLAN direct connection with the first electronic device D1 according to the received Bluetooth connection identifier or WLAN connection identifier.

[0172] After the first electronic device D1 and the second electronic device D2 establish a wireless communication connection through any of the above methods, the first electronic device D1 sends application information of the first application currently running on the first electronic device D1 to the second electronic device D2 through the wireless communication connection, and the second electronic device D2 runs the corresponding application installed in its own device according to the received application information.

[0173] For example, Figure 4 A schematic diagram of a calendar program provided by an embodiment of the present application is shown. Figure 4 As shown, the first electronic device D1 runs a calendar program and displays the functional interface of the calendar program on its own device. The first electronic device D1 establishes a wireless communication connection with the second electronic device D2, and then the first electronic device D1 sends the application information of the calendar program run by the first electronic device D1 to the second electronic device D2 through the wireless communication connection, wherein the application information of the calendar program run by the first electronic device D1 may include an application identifier, an installation package name, and an application type. Then, the second electronic device D2 runs the calendar program installed on the second electronic device D2 corresponding to the application identifier of the calendar program run by the first electronic device D1 according to the received application information of the calendar program, and displays the functional interface of the calendar program run on its own device.

[0174] In this embodiment, after the second electronic device D2 receives the application information sent by the first electronic device D1 through the wireless communication connection, before running the corresponding application in its own device according to the received application information, the second electronic device D2 can also determine whether the application corresponding to the application identifier is installed in the second electronic device D2 based on the application identifier in the received application information; wherein, if the application corresponding to the application identifier is installed in the second electronic device D2, the application starts to run; if the application corresponding to the application identifier is not installed in the second electronic device D2, the second electronic device D2 can obtain the download link of the corresponding application according to the installation package name in the above application information, and display the download interface of the application, recommending the user to download the application so that the user can run the application after the download is completed.

[0175] In another implementation of this embodiment, if the same application corresponding to the above application identifier is not installed in the second electronic device D2, the second electronic device D2 can also determine whether the second electronic device D2 has an application of the same application type as the above application installed according to the application type in the above application information. If the second electronic device D2 has an application of the same application type as the above application installed, that is, the second electronic device D2 has an application similar to the application corresponding to the above application identifier installed, then the second electronic device D2 can run the similar application. For example, the first electronic device D1 and the second electronic device D2 are different models of smart phones A and smart phones B, respectively. Smart phone A sends application information of the system built-in calendar program running in smart phone A to smart phone B. After smart phone B receives the above application information sent by smart phone A, it is determined that the calendar program corresponding to the above application identifier is not installed in smart phone B, but the system built-in calendar program of smart phone B is installed in smart phone B. The system built-in calendar program of smart phone B is of the same application type as the system built-in calendar program running in smart phone A, both of which are calendar applications. It is determined that the system built-in calendar program of smart phone B is a similar application to the system built-in calendar program running in smart phone A, and then smart phone B can run the system built-in calendar program of smart phone B.

[0176] In this embodiment, if the second electronic device D2 determines, based on the application information sent by the first electronic device, that neither the application corresponding to the application identifier nor the application of the same type as the application is installed in the second electronic device D2, the second electronic device D2 may obtain a download link for the corresponding application based on the installation package name in the application information, and display a download interface for the corresponding application, recommending the user to download the application so that the application can be run after the user completes the download.

[0177] Step 303: The first electronic device D1 obtains the user's operation in the functional interface of the first application. In response to the operation, the first electronic device D1 generates a corresponding operation instruction and sends the operation instruction to the second electronic device D2 via a wireless communication connection.

[0178] The user operates the functional interface of the application displayed by the first electronic device D1, and then the first electronic device D1 can generate corresponding operation instructions according to the user's operation, and then control the application to execute the operation instructions in response to the user's operation. After the first electronic device D1 generates the corresponding operation instructions according to the user's operation, it can send the generated operation instructions to the second electronic device D2 through a wireless communication connection.

[0179] The user's operation in the above function interface may be a click, double-click, drag or long press operation on the function interface displayed by the first electronic device D1. This embodiment does not limit the specific form of the above operation.

[0180] The above-mentioned operation instruction is a corresponding instruction generated according to the actual operation of the user, and its purpose is that the device can realize the corresponding event after executing the operation instruction. For example, if the user clicks a control on the functional interface displayed by the first electronic device D1, the first electronic device D1 generates a corresponding operation instruction according to the above-mentioned click behavior of the user, and the first electronic device D1 realizes the click event of the above-mentioned control after executing the operation instruction, which can specifically be to enter the functional interface corresponding to the click event of the control.

[0181] Step 304: the second electronic device D2 receives the operation instruction sent by the first electronic device D1, and controls the second application program running on the second electronic device D2 to execute the operation instruction.

[0182] For example, the first application currently running on the first electronic device D1 is a calendar program, and the functional interface of the calendar program is displayed on the first electronic device D1. The first electronic device D1 sends the application information of the calendar program to the second electronic device D2 via a wireless communication connection, and the second electronic device D2 determines that the calendar program corresponding to the above application information is installed on its own device and starts running the calendar program, and displays the functional interface of the calendar program on the second electronic device D2.

[0183] When the user of the first electronic device D1 starts to manipulate the function interface of the calendar program running on the first electronic device D1, the first electronic device D1 obtains the user's operation such as clicking, double-clicking, dragging or long pressing on the calendar function interface, and generates corresponding operation instructions for the calendar program according to the obtained user operation, and then sends the generated operation instructions to the second electronic device D2 through the wireless communication connection. After receiving the operation instructions sent by the first electronic device D1, the second electronic device D2 controls the calendar program running on the second electronic device D2 to execute the operation instructions.

[0184] In the above operation control method, when the first electronic device D1 shares the operation with the second electronic device D2, there is no need for the server to join. After the first electronic device D1 and the second electronic device D2 establish a wireless communication connection, the first electronic device D1 can send the application information of the first application currently running on the first electronic device D1 to the second electronic device D2, and the second electronic device D2 runs the corresponding application according to the received application information. Then, the first electronic device D1 can generate corresponding operation instructions according to the user's operation in the function interface displayed by the first electronic device D1, and send the operation instructions to the second electronic device D2, so that the second electronic device D2 controls the second application currently running on the second electronic device D2 to execute the above operation instructions, thereby realizing the operation sharing of the first electronic device D1 with the second electronic device D2. Without the need for the server to join, the security of data stored in electronic devices and data transmitted between electronic devices can be guaranteed.

[0185] In this application Figure 3 In the illustrated embodiment, the above operation may include the user's operation on a control in a functional interface displayed by the first electronic device D1, wherein the operation steps of step 303 may include:

[0186] The first electronic device D1 obtains the user's operation on the controls in the function interface displayed by the first electronic device D1, and determines the control information of the controlled controls based on the operation on the above controls, and sends the control information of the controlled controls in the above function interface to the second electronic device D2 through the above wireless communication connection, wherein the control information may include a control identifier (ID) or control function information.

[0187] Figure 5A A schematic diagram of a calendar function interface displayed by a first electronic device D1 and a second electronic device D2 according to an embodiment of the present application is shown in FIG. Figure 5A As shown, when the first electronic device D1 runs the calendar program, the function interface of the calendar program is displayed on the first electronic device D1, and the function interface of the calendar program may include a calendar information window 71A and controls provided by the function interface of the calendar program. Among them, the controls provided by the function interface of the calendar program include a time selection control (not shown), a new schedule control 72A, a month view display control 73A, a week view display control 74A, and a day view display control 75A.

[0188] After the second electronic device D2 runs the calendar program installed on the second electronic device D2 according to the application information of the calendar program sent by the first electronic device D1, the function interface of the calendar program is displayed on the second electronic device D2, and the function interface of the calendar program may include a calendar information window 71B and controls provided by the function interface of the calendar program. Among them, the controls provided by the function interface of the calendar program include a time selection control (not shown), a new schedule control 72B, a month view display control 73B, a week view display control 74B, and a day view display control 75B.

[0189] The user can set a target time period by operating the time selection control, so that the first electronic device D1 displays the calendar information of the target time period in the calendar information window 71A. When the user operates the above-mentioned month view display control 73A, week view display control 74A or day view display control 75A, the first electronic device D1 displays the calendar information in the calendar information window 71A in the form of month view, week view or day view accordingly.

[0190] After the first electronic device D1 and the second electronic device D2 both run the same type of application, the first electronic device D1 sends the generated operation instructions corresponding to the user operation to the second electronic device D2, and the second electronic device D2 executes the received operation instructions to enable the first electronic device D1 to share operations with the second electronic device D2.

[0191] It should be noted that, according to the corresponding embodiment of the above step 302, the application jointly run by the first electronic device D1 and the second electronic device D2 includes two situations: the same application or the application of the same application type. The following describes how to perform step 304 in the above different situations:

[0192] (1) In a scenario where the first electronic device D1 and the second electronic device D2 run the same application, Figure 5B A schematic diagram of a touch response of a view display control provided in an embodiment of the present application is shown in FIG. Figure 5B As shown, if the current date is "September 1, 2020", the user clicks the "month" view display control on the calendar function interface displayed by the first electronic device D1, and the calendar function interface is adjusted to the display interface of the 9th month of this year, that is, the month view of "September 1 to September 30, 2020" is displayed on the first electronic device D1. After the first electronic device D1 detects the above operation performed by the user on the "month" view display control, it generates a corresponding operation instruction according to the above operation performed by the user on the "month" view display control. The above operation instruction may include the control information of the controlled control, and the control information specifically includes the control identifier (XX0001). Then, the first electronic device D1 sends the above operation instruction to the second electronic device D2 through a wireless communication connection.

[0193] like Figure 5B As shown, after the second electronic device D2 receives the above operation instruction sent by the first electronic device D1, the second electronic device D2 executes the above operation instruction to implement the same "month" view control click event as the first electronic device D1. Specifically, after the second electronic device D2 executes the above operation instruction, the second electronic device D2 displays the month view of "September 1 to September 30, 2020".

[0194] In another implementation of this embodiment, if the user's operation on the first electronic device D1 is an operation on a control such as "clicking a control", in order to simplify the interactive information between the first electronic device D1 and the second electronic device D2, the first electronic device D1 may only send the ID of the controlled control to the second electronic device D2 via a wireless communication connection. The specific operation is as follows:

[0195] After the first electronic device D1 detects the above operation performed by the user on the "month" view display control, it obtains the control identifier of the "month" view display control, and sends the obtained control identifier of the "month" view display control to the second electronic device D2 via a wireless communication connection.

[0196] In this application Figure 3 In the illustrated embodiment, the operation steps of step 304 may include:

[0197] The second electronic device D2 performs corresponding operations on the corresponding controls on the functional interface displayed by itself according to the received identifier of the control.

[0198] For example, if Figure 5B As shown, if the current date is "September 1, 2020", after the second electronic device D2 receives the control identifier of the "month" view display control sent by the first electronic device D1, the second electronic device D2 generates a corresponding operation instruction to implement the event of clicking the "month" view control, and then the second electronic device D2 executes the generated operation instruction to enable the second electronic device D2 to display the month view of "September 1 to September 30, 2020".

[0199] (2) In a scenario where the first electronic device D1 and the second electronic device D2 run similar applications, after the first electronic device D1 detects the above-mentioned operation performed by the user on a certain control, it generates a corresponding operation instruction according to the above-mentioned operation performed by the user on the control. The above-mentioned operation instruction may include control information of the controlled control, and the control information specifically includes control function information. Then, the first electronic device D1 sends the above-mentioned operation instruction to the second electronic device D2 through a wireless communication connection.

[0200] After the second electronic device D2 receives the above-mentioned operation instruction (including control function information) sent by the first electronic device D1, the second electronic device D2 generates a corresponding operation instruction according to the control function information in the operation instruction and enables the second electronic device D2 to follow the running second application to execute the operation instruction, thereby enabling the second electronic device D2 to implement the same event.

[0201] For example, the first electronic device D1 sends an operation instruction to the second electronic device D2 via a wireless communication connection, wherein the operation instruction includes the control function information of the controlled control, and the control function information of the controlled control is "enter the month view interface". After receiving the operation instruction, the second electronic device D2 generates a corresponding operation instruction according to the control function information of the controlled control (enter the month view interface), and controls the calendar program running on the second electronic device D2 to execute the operation instruction, so that the second electronic device D2 displays the month view.

[0202] Figure 5C A schematic diagram of a touch response of a view display control provided in another embodiment of the present application is shown in FIG. Figure 5C In another implementation of this embodiment, when the user clicks on the "week" view display control on the function interface of the calendar program currently running on the first electronic device D1, the first electronic device D1 displays the week view of the week where "September 1, 2020" is located on the first electronic device D1 in response to the user's click operation. After the first electronic device D1 detects the user's operation on the "week" view display control, it obtains the control information of the "week" view display control, and sends the obtained control information of the "week" view display control to the second electronic device D2 via a wireless communication connection. After the second electronic device D2 receives the control information of the "Week" view display control sent by the first electronic device D1, the second electronic device D2 matches the control information of the "Week" view display control received in the functional interface of the calendar program run by the second electronic device D2. According to the matching result, if the "Week" view display control is not matched in the functional interface of the calendar program run by the second electronic device D2, that is, the calendar program run by the second electronic device D2 does not support displaying calendar information in a weekly view, the second electronic device D2 can display the monthly view information of the month in which the current date is located in the upper-level view display method (such as a monthly view), that is, the second electronic device D2 displays the monthly view of "September 1 to September 30, 2020".

[0203] Figure 6 A flowchart of an operation control method provided by another embodiment of the present application is as follows: Figure 6 As shown, this application Figure 4In the illustrated embodiment, after step 302, steps 601-606 may be further included, wherein steps 303-304 may be performed before, after or simultaneously with steps 601-606.

[0204] Step 601: The first electronic device D1 and the second electronic device D2 send information about events created in corresponding applications running in the first electronic device D1 and the second electronic device D2 to the other electronic device.

[0205] Specifically, the first electronic device D1 obtains information about the first event created in the first application running on the first electronic device D1, and sends the information about the first event to the second electronic device D2 via a wireless communication connection; the second electronic device D2 obtains information about the second event created in the second application running on the second electronic device D2, and sends the information about the second event to the first electronic device D1 via a wireless communication connection. Furthermore, the first electronic device D1 saves the information about the second event sent by the second electronic device D2 to the cache area of ​​the first electronic device D1; the second electronic device D2 saves the information about the first event sent by the first electronic device D1 to the cache area of ​​the second electronic device D2.

[0206] Step 602: The first electronic device D1 and the second electronic device D2 summarize and display information about events created by both devices on the function interfaces of the corresponding applications they are running.

[0207] Specifically, the first electronic device D1 displays the information of the first event and the second event on the function interface of the first application program running on the first electronic device D1, and similarly, the second electronic device D2 displays the information of the first event and the second event on the function interface of the second application program running on the second electronic device D2. In this way, the first user can view the information of the second event created in the second application program of the second electronic device D2 on the first electronic device D1.

[0208] For example, the first application currently running on the first electronic device D1 is a calendar program, and the first electronic device D1 displays the functional interface of the calendar program. After the second electronic device D2 establishes a wireless communication connection with the first electronic device D1, the first electronic device D1 can send the schedule information (i.e., the information of the first event created above) created in the current display time period (this month, this week, or this day) to the second electronic device D2 through the wireless communication connection based on the current calendar view display mode (month view mode, week view mode, or day view mode).

[0209] In a possible implementation, in order to simplify the interaction between the first electronic device D1 and the second electronic device D2, the first electronic device D1 only needs to send the relevant information of the unoccurred schedule to the second electronic device D2. For example, if the current calendar view display mode is "month view" and the current day is the 16th, the first electronic device D1 only needs to obtain the schedule information of the unoccurred schedule between the current day and the end of the month, and send the schedule information of the unoccurred schedule to the second electronic device D2 through a wireless communication connection.

[0210] In addition, in order to conveniently view the information of the created event, the user can operate the "week" view display control in the function interface of the calendar program, and in response to the user's operation, the first electronic device D1 displays the week view of the week that the day is in. In addition, the first electronic device D1 sends the control information of the "week" view display control to the second electronic device D2 via the wireless communication connection.

[0211] The second electronic device D2 receives the schedule information of the unoccurred schedule (information of the first event) sent by the first electronic device D1, and saves the received schedule information of the unoccurred schedule into the cache area of ​​the second electronic device D2. Furthermore, the second electronic device D2 summarizes and displays the information of the first event saved in the cache area and the information of the second event created in the second electronic device D2 on the calendar function interface. Specifically, the second electronic device D2 displays the monthly view, weekly view or daily view according to the current view display mode (monthly view mode, weekly view mode or daily view mode). Among them, in addition to the calendar information, the above-mentioned monthly view, weekly view or daily view also includes the schedule information created in the calendar program of the second electronic device D2 (that is, the above-mentioned second event information) and the information of the first event sent by the first electronic device D1.

[0212] The second electronic device D2 can also perform corresponding operations on the controls in the function interface of the calendar program running on the second electronic device D2 according to the control information of the "week" view display control sent by the first electronic device D1, that is, control the second electronic device D2 to display the week view of the week in which the current day is located.

[0213] After the second electronic device D2 establishes a wireless communication connection with the first electronic device D1, the second electronic device D2 may also send information about the second event created in the second application running on the second electronic device D2 to the first electronic device D1 via the wireless communication connection. The way in which the second electronic device D2 obtains and sends the information about the second event is the same as that of the first electronic device D1, which will not be described in detail here.

[0214] Furthermore, the first electronic device D1 may also summarize and display the information of the first event and the information of the second event according to the information of the second event sent by the second electronic device D2.

[0215] For example, Fig. 7A A schematic diagram for summarizing and displaying created event information provided by an embodiment of the present application, such as Fig. 7A As shown, the first electronic device D1 (Lucy's mobile phone) and the second electronic device D2 (Jack's mobile phone) follow the running of the calendar program according to the above step 302. Among them, Lucy's mobile phone displays the weekly view of the calendar program, which includes the schedule information that Lucy has originally created in the calendar program, including: "Yoga class from 1:00 to 3:00 p.m. on September 6 (Sunday)," "Yoga class from 6:00 to 8:00 p.m. on September 8 (Tuesday)," and "Swimming class from 1:00 to 4:00 p.m. on September 12 (Saturday). "After Lucy's mobile phone receives the schedule information created in the calendar program of Jack's mobile phone sent by Jack's mobile phone through wireless communication connection, Lucy's mobile phone can summarize and display the schedule information of both Jack and Lucy. Among them, in order to ensure the privacy of the user, only the other party's name can be displayed on the function interface without displaying the specific schedule information. Similarly, if Fig. 7A As shown, Jack's mobile phone can also display the schedule information of Jack and Lucy in the above manner.

[0216] Step 603: the first electronic device D1 obtains parameter information of the sharing event selected by the user, and sends the parameter information of the sharing event to the second electronic device D2 via a wireless communication connection.

[0217] The shared event includes an event jointly participated by a user of the first electronic device D1 and a user of the second electronic device D2. When the shared event is a shared schedule, the parameter information of the shared event may be a scheduled time period of the shared schedule.

[0218] like Fig. 7A As shown, after the schedule information of Jack and Lucy is displayed on Lucy's mobile phone and Jack's mobile phone respectively, a period of free time shared by Jack and Lucy can be determined as the scheduled occurrence period of the shared event of Jack and Lucy. If Jack and Lucy determine that they can go to "play badminton" together on "September 6", they can select "September 6" on the calendar program function interface 71A displayed on Lucy's mobile phone, and click "New Schedule Control 72A" to enter the New Schedule interface.

[0219] Figure 7B A schematic diagram of an interface for creating a new schedule phase provided by an embodiment of the present application is shown in FIG. Figure 7BAs shown, during the process of editing the shared event information, after Lucy selects the start and end time of the shared event, Lucy's mobile phone can obtain the start and end time of the above shared event "3:00 to 6:00 p.m. on September 6th", and send the start and end time of the above shared event as the scheduled occurrence time period of the above shared event to Jack's mobile phone through a wireless communication connection.

[0220] Step 604: the second electronic device D2 marks a corresponding attribute position on the function interface of the second application program running on the second electronic device D2 according to the acquired parameter information of the sharing event.

[0221] like Figure 7B As shown in FIG. 1 , after selecting the scheduled time period (start and end time) of the shared event as "3:00 p.m. to 6:00 p.m. on September 6" on the new schedule interface 76A of the calendar program of Lucy's mobile phone, Lucy's mobile phone sends the scheduled time period of the shared event to Jack's mobile phone. After receiving the scheduled time period of the shared event (3:00 p.m. to 6:00 p.m. on September 6), Jack's mobile phone marks "3:00 p.m. to 6:00 p.m. on September 6" in the calendar program running on Jack's mobile phone as locked, as shown in FIG. Figure 7B As shown, the calendar information window 71B of the calendar program running on Jack's mobile phone shows "Busy" at "3:00 to 6:00 p.m. on September 6th".

[0222] Step 605: the first electronic device D1 obtains the content information of the sharing event created by the user in the function interface, and sends the content information of the sharing event to the second electronic device D2 via a wireless communication connection.

[0223] Step 606: The second electronic device D2 creates the above-mentioned sharing event on the function interface displayed by the second electronic device D2 according to the content information of the above-mentioned sharing event obtained, cancels the marking behavior in step 604, and then displays the created sharing event on the second electronic device D2.

[0224] Specifically, Figure 7C A schematic diagram of saving a newly created schedule provided in an embodiment of the present application is shown as follows: Figure 7C As shown, after the user operates the "Create Schedule" control 72A on the calendar function interface displayed by Lucy's mobile phone, in response to the user's operation, the first electronic device D1 displays the following Figure 7C In the new schedule interface 76A shown in FIG. 7 , the user can edit the content information of the shared event on the new schedule interface 76A. Specifically, the content information of the shared event is edited as follows: Figure 7CAs shown, the user edits the shared event as follows: the title of the shared event is "playing badminton", the location of the shared event is "XXX badminton hall", the start and end time (scheduled occurrence period) of the shared event is "September 6 (Sunday) 15:00-18:00", and the content of the shared event is "playing badminton with Jack, Lee, and Jesse". After completing the editing of the shared event, the user can click the save icon 77A to save the information of the shared event in the memory of the first electronic device D1.

[0225] After saving the content information of the shared event, the first electronic device D1 can send the content information of the shared event to the second electronic device D2 via a wireless communication connection. The second electronic device D2 creates a corresponding schedule activity according to the received content information of the shared event.

[0226] Specifically, the first electronic device D1 (Lucy's mobile phone) obtains the information of the shared event created by the user on the new schedule interface 76A. After the user clicks the save icon 77A on the new schedule interface 76A, Lucy's mobile phone obtains the content information of the shared event created by the user, wherein the content information of the shared event may include the title of the shared event, the scheduled location of the shared event, the scheduled time period of the shared time, and the specific content of the shared time. Then, Lucy's mobile phone sends the obtained content information of the shared event to the second electronic device D2 (Jack's mobile phone) via a wireless communication connection.

[0227] After Jack's mobile phone receives the content information of the shared event sent by Lucy's mobile phone, Jack's mobile phone creates the same schedule information as a shared event jointly participated by Jack and Lucy, and then saves the information of the created shared event into the memory of Jack's mobile phone. Fig.7D A schematic diagram of the interface after the shared event of Lucy's mobile phone and Jack's mobile phone is saved according to an embodiment of the present application, as shown in FIG. Fig.7D As shown, after the shared event is created, the shared event "playing badminton" can be viewed in the calendar information window 71A of Lucy's mobile phone and the calendar information window 71A of Jack's mobile phone.

[0228] like Figure 6 As shown, this application Figure 6 In the illustrated embodiment, after step 601, steps 607-608 may be further included, that is, steps 607-608 may be performed at any step stage after step 601, and steps 303-304 may be performed before steps 607-608.

[0229] Step 607: After detecting the user's exit operation on the first application running in the first electronic device D1, or the first application running in the first electronic device D1 is cleared in the background, the first electronic device D1 sends a disconnect message to the second electronic device D2, and after disconnecting the wireless communication connection with the second electronic device D2, deletes the information of the second event saved in the cache area (the information of the created event in the second application running on the second electronic device D2 obtained in step 601).

[0230] Step 608: The second electronic device D2 disconnects the wireless communication connection with the first electronic device D1, and deletes the information of the first event stored in the cache area of ​​the second electronic device D2 (the information of the event created in the first application running on the first electronic device D1 obtained in step 601).

[0231] Figure 8 A flowchart of an operation control method provided in yet another embodiment of the present application is shown in FIG. Figure 8 As shown, this application Figure 3 In the illustrated embodiment, after step 302, steps 801-802 may be further included, wherein steps 303-304 may be performed before, after or simultaneously with steps 801-802.

[0232] Step 801: the first electronic device D1 obtains a target file selected by a user in a function interface, and sends the target file to the second electronic device D2 via a wireless communication connection.

[0233] Specifically, the first electronic device D1 obtains the target image selected by the user by: detecting that the user performs a specific operation on the target image in the function interface, for example, the user long presses a certain image in the function interface of the photo album program, and the first electronic device D1 determines that the image long pressed by the user is the target image selected by the user. It should be noted that the specific operation of the user selecting the target image in the function interface may also include other methods, and the selection method is not limited.

[0234] Step 802: The second electronic device D2 receives the target file sent by the first electronic device D1, and saves the target file into the memory.

[0235] The following is an example in which the first application and the second application are both album applications and the target file is a target picture. Based on the above steps 301 to 302, the first electronic device D1 and the second electronic device D2 follow the running of the album application, and after the first electronic device D1 and the second electronic device D2 establish a wireless communication connection, if the user selects the target picture on the function interface of the album application displayed by the first electronic device D1, the first electronic device D1 obtains the target picture selected by the user.

[0236] Furthermore, if the user performs a corresponding operation on the control on the functional interface of the first application running on the first electronic device D1 before selecting the target picture, it is necessary to obtain the identifier of the operated control and send the identifier of the operated control to the second electronic device D2, so that the second electronic device D2 can perform a corresponding operation on the control in the second application running on itself. For example, after the user operates the time control on the functional interface of the album program running on the first electronic device D1, the first electronic device D1 displays the album pictures according to the time when the pictures were taken. The user clicks on a picture in the functional interface of the album program of the first electronic device D1, and the first electronic device D1 sends the shooting time of the picture to the second electronic device D2 via a wireless communication connection. The second electronic device D2 can open the picture in the album of the second electronic device D2 with the shooting time closest to the received shooting time according to the received shooting time.

[0237] For example, Nancy (a user of the first electronic device D1) and Mike (a user of the second electronic device D2) went out together last week, and both took some photos with their mobile phones. They met again the next week, and Nancy said, "We haven't looked at the photos we took when we went out together last Wednesday." So they both took out their mobile phones and searched for the photos they took when they went out together last Wednesday. Nancy took out her mobile phone (the first electronic device D1) and opened the photo album, and then touched it with Mike's mobile phone (the second electronic device D2), and Mike's mobile phone also started the photo album of his mobile phone. According to steps 303-304, when Nancy's mobile phone navigates to April 7, Mike's mobile phone also automatically navigates to April 7 to view the photos they took on that day. Nancy clicks on a photo in her mobile phone to view it, and Mike's mobile phone also goes to the photo closest in time based on the time when Nancy clicked the photo.

[0238] Fig.9A A schematic diagram of drag-and-drop photo sharing provided in another embodiment of the present application is shown in FIG. Fig.9A As shown, Nancy and Mike both opened the photos taken on April 7, and they thought some of them were good, so they could share them with each other by dragging. Then, several corresponding target photos can be selected on Nancy's phone, and any selected target photo can be dragged to the side edge of Nancy's phone screen, and the mark 901A corresponding to the above target photo is generated at the touch point of the user's finger and Nancy's phone, that is, the picture visible to the user is the user's finger dragging the mark 901A corresponding to the above target photo to the side edge of Nancy's phone screen.

[0239] Fig. 9B A schematic diagram of determining the entry position in Mike's mobile phone provided in an embodiment of the present application, such as Fig. 9B As shown, after the user performs the above drag operation on Nancy's mobile phone, Nancy's mobile phone detects the dragging track 902A of the user's finger, and determines the exit position 903A where the mark corresponding to the target photo moves out of the screen of Nancy's mobile phone according to the above dragging track 902A. Then Nancy's mobile phone sends the detected above dragging track 902A and the exit position 903A to Mike's mobile phone through wireless communication connection. Mike's mobile phone determines the entry track 902B and the entry position 904B corresponding to the mark 901B corresponding to the target photo on the function interface of the album program of Mike's mobile phone according to the received above dragging track 902A and the exit position 903A.

[0240] Among them, Fig. 9B As shown, first, the corresponding entry track 902B on Mike's phone is determined according to the drag track 902A on Nancy's phone. If the screen sizes of Nancy's phone and Mike's phone are the same, the drag track 902A on Nancy's phone and the corresponding entry track 902B on Mike's phone are at the same position. If the screen sizes of Nancy's phone and Mike's phone are different, the corresponding entry track 902B on Mike's phone can be determined by scaling according to the corresponding ratio of the screen sizes of Nancy's phone and Mike's phone.

[0241] After determining the corresponding entry track 902B on Mike's mobile phone, further determine the entry position 904B of the mark corresponding to the target photo, wherein the starting point of the entry track 902B can be used as the entry position 904B, such as Fig. 9B As shown, the starting point of the entry track 902B is specifically the side edge of Mike's mobile phone screen.

[0242] In this embodiment, Nancy's mobile phone uses the first sending method to send the target file. When the side edge of the target photo's logo is moved out of the side edge of Nancy's mobile phone screen, Nancy's mobile phone sends the target photo (one or more photos selected by the user) to Mike's mobile phone, and Mike's mobile phone copies the received target photo to the cache area of ​​Mike's mobile phone; next, if Nancy's mobile phone detects that the moved portion of the target photo's logo relative to the screen edge is greater than the first threshold (e.g., 70%), Nancy's mobile phone sends a confirmation instruction to Mike's mobile phone, and Mike's mobile phone saves the target photo stored in the cache area to the memory after receiving the confirmation instruction. If during the dragging process of logo 901A, Nancy's mobile phone detects that the moved portion of the target photo's logo 901A relative to the screen edge is less than the second threshold (e.g., 50%), and Nancy's mobile phone detects that the user's finger dragging logo 901A leaves the screen, Nancy's mobile phone sends a cancellation instruction to Mike's mobile phone, and Mike's mobile phone deletes the target photo stored in the cache area after receiving the cancellation instruction.

[0243] In this embodiment, the first electronic device D1 drags the target file and shares it with the second electronic device in the address book program, as follows:

[0244] Based on the above steps 301-302, after both the first electronic device D1 and the second electronic device run the address book program, if the user selects the target file (target contact information) without performing any operation on the controls on the function interface of the address book program running on the first electronic device D1, the contact information selected by the user is obtained, wherein obtaining the target file selected by the user in the function interface includes: detecting that the user performs a specific operation on the target file in the function interface, for example, the user long presses a contact on the function interface of the address book program, and the first electronic device D1 determines that the contact long pressed by the user is the target contact selected by the user. It should be noted that the specific operation of the user selecting the target file in the function interface also includes other methods, and the selection method is not limited.

[0245] If the user operates the controls on the functional interface of the first application running on the first electronic device D1 before selecting the target file, it is necessary to obtain the user's operation. The first electronic device D1 generates a corresponding operation instruction based on the operation, and sends the above operation instruction to the second electronic device D2 via a wireless communication connection, so that the second electronic device D2 performs a corresponding operation on the controls on the functional interface of the second application running on itself. When the user operates the surname initials control on the functional interface of the address book program running on the first electronic device D1, the first electronic device D1 jumps the interface of the address book program to the contact display interface of the corresponding surname initials. The first electronic device D1 sends the surname initials information to the second electronic device D2 via a wireless communication connection, and the second electronic device automatically navigates to the contact interface of the surname initials.

[0246] For example, Lily (a user of the first electronic device D1) and Simon (a user of the second electronic device D2) met Chunhua Wang at a party, but did not remember her name. Simon asked Lily, "Do you have Wang**'s phone number? What's her name?" Lily took out her mobile phone (the first electronic device D1) and opened the address book program, then touched it with Simon's mobile phone (the second electronic device D2), and Simon's mobile phone also started the address book program on his mobile phone.

[0247] Fig. 10A A schematic diagram of a contact information sharing operation provided by an embodiment of the present application is shown in FIG. Fig. 10A As shown, according to steps 303-304, when Lily's mobile phone navigates to "W", Simon's mobile phone also automatically navigates to W. Lily determines that the friend surnamed Wang referred to by Simon is Wang Chunhua, and then finds Wang Chunhua's contact information on the contact interface. Lily can drag Wang Chunhua's contact information icon on her mobile phone to share Wang Chunhua's contact information with Simon.

[0248] In this embodiment, Lily's mobile phone uses the second sending method to send the target file. Specifically, when Lily selects Wang Chunhua's contact information icon on the interface of the address book program of her mobile phone, when the side edge of Wang Chunhua's contact information icon is moved out of the side edge of the screen of Lily's mobile phone, Lily's mobile phone sends the side edge position of the above screen and the description information of Wang Chunhua's contact information to Simon's mobile phone through wireless communication connection, wherein the description information of Wang Chunhua's contact information can be the corresponding name "Wang Chunhua". Fig. 10AAs shown, Simon's mobile phone determines the entry position of Wang Chunhua's contact information identifier in Simon's mobile phone according to the received side edge position of the above-mentioned screen, and Wang Chunhua's contact information identifier enters the address book program interface of Simon's mobile phone from the above-mentioned entry position. When the side edge of Wang Chunhua's contact information identifier is moved out of the side edge of the screen of Lily's mobile phone, Lily's mobile phone also sends Wang Chunhua's contact information to Simon's mobile phone through wireless communication connection, and Simon's mobile phone copies the received description information of Wang Chunhua's contact information to the cache area of ​​Simon's mobile phone.

[0249] During the dragging process of the target file (the identifier corresponding to Wang Chunhua's contact information), if Lily's mobile phone detects that the portion of Wang Chunhua's contact information identifier that moves out of the edge of the screen of Lily's mobile phone is greater than the first threshold, Lily's mobile phone sends a confirmation instruction to Simon's mobile phone and sends Wang Chunhua's contact information to Simon's mobile phone. Simon's mobile phone saves the received Wang Chunhua's contact information into the memory of Simon's mobile phone, that is, saves the received Wang Chunhua's contact information in the address book.

[0250] like Fig. 10B As shown, during the dragging process of the target file, when the side edge of Wang Chunhua's contact information identifier is moved out of the side edge of the screen of Lily's mobile phone, Lily's mobile phone sends Wang Chunhua's contact information to Simon's mobile phone through a wireless communication connection, and Simon's mobile phone copies the received Wang Chunhua's contact information to the cache area of ​​Simon's mobile phone. If Lily's mobile phone detects that the moved portion of Wang Chunhua's contact information identifier relative to the edge of the screen of Lily's mobile phone is less than the second threshold, and the user's finger leaves the screen of Lily's mobile phone, Lily's mobile phone sends a cancellation instruction to Simon's mobile phone, and Simon's mobile phone deletes the description information of Wang Chunhua's contact information stored in the cache area from the cache area after receiving the cancellation instruction.

[0251] Fig. 10C A schematic diagram of a sharing operation of contact information in a group provided by an embodiment of the present application is shown in FIG. Fig. 10CAs shown, in response to the user operation, the Lily phone displays the contact information in a group manner. According to the above operation of the user, the Lily phone can generate a corresponding operation instruction and send the above operation instruction to Simon's phone through a wireless communication connection. According to the received operation instruction, the Simon phone controls the address book program running on the Simon phone to also display the contact information in a group manner. Among them, if the address book program running on the Simon phone does not support displaying the contact information in a group manner, the contact information can be displayed in a default manner (such as alphabetical order of the name).

[0252] During the dragging process of the target file, when the side edge of the contact information mark of Wang Chunhua is moved out of the side edge of the screen of Lily's mobile phone, Lily's mobile phone sends Wang Chunhua's contact information to Simon's mobile phone through wireless communication connection, and Simon's mobile phone copies the received contact information of Wang Chunhua to the cache area of ​​Simon's mobile phone. After Simon's mobile phone receives the confirmation instruction sent by Lily's mobile phone, Simon's mobile phone saves the contact information of Wang Chunhua stored in the cache area into the mobile phone's memory, that is, saves the received contact information of Wang Chunhua in the corresponding group of the address book. Specifically, if Wang Chunhua's contact information is stored in the friend group of Lily's mobile phone address book, Simon's mobile phone can also store Wang Chunhua's contact information in the friend group of the mobile phone address book.

[0253] Fig. 10D A schematic diagram of a sharing operation of contact information in a group provided by another embodiment of the present application is shown in FIG. Fig. 10D As shown, if the address book program running on Simon's mobile phone does not support displaying contact information in groups, after Simon's mobile phone receives the confirmation instruction sent by Lily's mobile phone, Simon's mobile phone can save the contact information of Wang Chunhua stored in the cache area in the mobile phone address book in the default manner (such as alphabetical order of names).

[0254] Fig. 10E A schematic diagram of a contact information sharing operation provided by another embodiment of the present application is shown in FIG. Fig. 10E As shown, when Lily's phone navigates to "W", if Simon's phone does not support displaying contact information in alphabetical order, the contact information can be displayed in the current contact display method of Simon's phone (such as displaying in groups).

[0255] Lily determined that the friend named Wang that Simon was referring to was Wang Chunhua, and then found Wang Chunhua's contact information on the contact interface. Lily could drag and drop Wang Chunhua's contact information icon on her mobile phone to share Wang Chunhua's contact information with Simon.

[0256] During the dragging process of the target file, when the side edge of Wang Chunhua's contact information mark is moved out of the side edge of the screen of Lily's mobile phone, Lily's mobile phone sends Wang Chunhua's contact information to Simon's mobile phone through wireless communication connection, and Simon's mobile phone copies the received Wang Chunhua's contact information to the cache area of ​​Simon's mobile phone. When Lily's mobile phone sends a confirmation instruction to Simon's mobile phone, Simon's mobile phone saves Wang Chunhua's contact information stored in the cache area to the memory of Simon's mobile phone according to the received confirmation instruction, wherein, Fig. 10E As shown, after the user enters the address book program interface of Simon's mobile phone through the logo corresponding to Wang Chunhua's contact information from the corresponding entrance position, the user can drag the logo corresponding to Wang Chunhua's contact information to the corresponding group (such as a friend group), that is, save the received contact information of Wang Chunhua in the friend group of the address book. It can be understood that in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of this application.

[0257] This embodiment can divide the electronic device into functional modules according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0258] Fig.11 A schematic diagram of the structure of a first electronic device provided in another embodiment of the present application, in which each functional module is divided according to each function, Fig.11 A possible schematic diagram of the composition of the electronic device 1100 involved in the above embodiment is shown. Fig.11 As shown, the electronic device 1100 may include: a receiving unit 1101, a processing unit 1102 and a sending unit 1103;

[0259] The receiving unit 1101 can be used to support the electronic device 1100 to execute Figure 3-10CCorresponding information receiving operations in the illustrated embodiments, and / or other processes for the technical solutions described in the embodiments of the present application;

[0260] The processing unit 1102 can be used to support the electronic device 1100 to execute Figure 3-10C Corresponding information processing operations in the illustrated embodiments, and / or other processes used in the technical solutions described in the embodiments of the present application;

[0261] The sending unit 1103 can be used to support the electronic device 1100 to execute Figure 3-10C The corresponding information sending operations in the illustrated embodiment, and / or other processes used in the technical solutions described in the embodiments of the present application.

[0262] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0263] The electronic device 1100 provided in this embodiment is used to execute the above operation control method, and thus can achieve the same effect as the above method.

[0264] It should be understood that the electronic device 1100 may correspond to Figure 1 The electronic device D1 shown in FIG. The functions of the receiving unit 1101 and the sending unit 1103 can be Figure 1 The processor 110, antenna 1 and mobile communication module 181 in the electronic device 100 shown in the figure, and / or, are implemented by the processor 110, antenna 2 and wireless communication module 182; the function of the processing unit 1102 can be implemented by Figure 1 The processor 110 and touch sensor implementation in the electronic device D1 are shown.

[0265] In the case of adopting an integrated unit, the electronic device 1100 may include a processing module, a storage module, and a communication module.

[0266] The processing module can be used to control and manage the actions of the electronic device 1100, for example, it can be used to support the electronic device 1100 to execute the steps performed by the above-mentioned receiving unit 1101, processing unit 1102 and sending unit 1103. The storage module can be used to support the electronic device 1100 to store program codes and data, etc. The communication module can be used to support the communication between the electronic device 1100 and other devices.

[0267] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip and / or a Wi-Fi chip.

[0268] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 1100 involved in this embodiment can be a device having Figure 1 Device of the structure shown.

[0269] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the present application. Figure 3 to Figure 10C The method provided by the illustrated embodiment.

[0270] The present application also provides a computer program product, which includes a computer program, which, when executed on a computer, enables the computer to execute the present application. Figure 3 to Figure 10C The method provided by the illustrated embodiment.

[0271] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and 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 and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0272] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0273] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0274] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0275] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An operation control method, characterized in that: include: The first electronic device runs a first application installed in the first electronic device, and displays a function interface of the first application running in the first electronic device; The first electronic device establishes a wireless communication connection with a second electronic device, and sends application information of the first application to the second electronic device through the wireless communication connection, so that the second electronic device runs the second application according to the application information, and the first application and the second application are the same or of corresponding types; The first electronic device obtains an operation of the first user in the function interface of the first application, and generates a corresponding operation instruction according to the operation; The first electronic device sends the operation instruction to the second electronic device through the wireless communication connection, so that the second electronic device controls the second application running in the second electronic device to execute the operation instruction; After sending the application information of the first application to the second electronic device through the wireless communication connection so that the second electronic device runs the second application according to the application information, the method further includes: The first electronic device obtains information about a first event that has been created by the first user in the first application before the first electronic device and the second electronic device establish a wireless communication connection, sends the information about the first event to the second electronic device through the wireless communication connection, receives information about a second event sent by the second electronic device, and saves the information about the second event in a cache area; wherein the second event includes an event that has been created by the second user in the second application of the second electronic device before the first electronic device and the second electronic device establish a wireless communication connection; The first electronic device displays the information of the first event but does not display the information of the second event in the function interface of the first application, and displays the name information of the second user at a position corresponding to the information of the second event in the function interface of the first application.

2. The method according to claim 1, characterized in that The operation includes an operation by the first user on a control in a functional interface of the first application; The operation instruction includes control information of the control operated in the function interface of the first application.

3. The method according to claim 1, characterized in that: The application information includes: application identification and / or application type; The enabling the second electronic device to run the second application according to the application information includes: enabling the second electronic device to run an application program installed in the second electronic device that is identical to the application identifier; or The second electronic device is enabled to run an application program of the same application type as the application program installed in the second electronic device.

4. The method according to any one of claims 1 to 3, characterized in that: After sending the application information of the first application to the second electronic device through the wireless communication connection so that the second electronic device runs the second application according to the application information, the method further includes: In response to the first user creating a sharing event in the functional interface of the first application, the first electronic device sends information about the sharing event to the second electronic device through the wireless communication connection, so that the second electronic device marks the sharing event created by the first user on the functional interface of the second application according to the information about the sharing event.

5. The method according to any one of claims 1 to 3, characterized in that: After sending the information of the first event to the second electronic device through the wireless communication connection, the method further includes: After the first electronic device exits the running first application, it sends a disconnection message to the second electronic device, disconnects the wireless communication connection between the first electronic device and the second electronic device, and deletes the information of the second event in the buffer area.

6. The method according to any one of claims 1 to 3, characterized in that: After sending the application information of the first application to the second electronic device through the wireless communication connection so that the second electronic device runs the second application according to the application information, the method further includes: When it is detected that the identifier of the target file is moved out of the edge of the screen of the first electronic device, acquiring position information of the identifier of the target file, where the position information is used to identify the moving position of the identifier of the target file in the first electronic device; The location information is sent to the second electronic device via a wireless communication connection.

7. The method according to claim 6, characterized in that Also includes: In response to detecting that the identifier of the target file is moved out of the edge of the screen of the first electronic device, the first electronic device sends the target file to the second electronic device; If, when the first user's finger leaves the screen of the first electronic device, the portion of the target file identifier that is moved out of the edge of the screen of the first electronic device is greater than a first threshold, the first electronic device sends a confirmation instruction to the second electronic device, so that the second electronic device saves the target file into a memory; If the first user's finger leaves the screen of the first electronic device and the portion of the target file identifier that is moved out of the edge of the screen of the first electronic device is smaller than a second threshold, the first electronic device sends a cancellation indication to the second electronic device so that the second electronic device deletes the target file from the cache area.

8. An operation control method, characterized in that: The method comprises: The second electronic device establishes a wireless communication connection with the first electronic device; The second electronic device receives application information of a first application sent by the first electronic device through the wireless communication connection, and runs a second application according to the application information, wherein the first application and the second application are the same or of corresponding types; The second electronic device receives the operation instruction sent by the first electronic device through the wireless communication connection, and controls the second electronic device to execute the operation instruction; After running the second application according to the application information, the method further includes: The second electronic device receives information about a first event sent by the first electronic device, where the first event includes an event that has been created by a first user in the first application of the first electronic device before the second electronic device establishes a wireless communication connection with the first electronic device; The second electronic device acquires information about a second event that has been created by a second user in the second application before the second electronic device establishes a wireless communication connection with the first electronic device, and sends the information about the second event to the first electronic device through the wireless communication connection; The second electronic device displays the information of the second event but does not display the information of the first event in the function interface of the second application, and displays the name information of the first user at a position corresponding to the information of the first event in the function interface of the second application.

9. The method according to claim 8, characterized in that The operation instruction includes control information of a control operated by the first user in a function interface of the first application.

10. The method according to claim 8, characterized in that The application information includes: application identification and / or application type; The running the second application according to the application information comprises: The second electronic device runs an application program installed in the second electronic device that is identical to the application identifier; or The second electronic device runs an application program installed in the second electronic device that is of the same type as the application program.

11. The method according to any one of claims 8 to 10, characterized in that: After running the second application according to the application information, the method further includes: The second electronic device receives information about the sharing event sent by the first electronic device through the wireless communication connection; According to the information of the sharing event, the second electronic device marks the sharing event created by the first user on the function interface of the second application.

12. The method according to any one of claims 8 to 10, characterized in that: After receiving the information of the first event sent by the first electronic device through the wireless communication connection, the method further includes: The second electronic device receives a disconnection message sent by the first electronic device through the wireless communication connection; The wireless communication connection is disconnected, and the received information of the first event is deleted.

13. The method according to any one of claims 8 to 10, characterized in that: After running the second application according to the application information, the method further includes: The second electronic device receives the location information sent by the first electronic device through the wireless communication connection, where the location information is used to identify the location where the target file is removed from the first electronic device; According to the location information, the second electronic device determines the entry location of the identifier of the target file in the second electronic device; The second electronic device displays the identification of the target file at the entrance location.

14. The method according to claim 13, characterized in that After running the second application according to the application information, the method further includes: The second electronic device receives the target file sent by the first electronic device; The second electronic device receives a cancellation instruction sent by the first electronic device; The second electronic device deletes the received target file.

15. A first electronic device, characterized in that: include: One or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the first electronic device, the first electronic device performs the following steps: Running a first application installed in the first electronic device, and displaying a function interface of the first application running in the first electronic device; Establishing a wireless communication connection with a second electronic device, and sending application information of the first application to the second electronic device through the wireless communication connection, so that the second electronic device runs a second application according to the application information, wherein the first application and the second application are the same or of corresponding types; Acquire an operation of the first user in the functional interface of the first application, and generate a corresponding operation instruction according to the operation; Sending the operation instruction to the second electronic device through the wireless communication connection, so that the second electronic device controls the second application running in the second electronic device to execute the operation instruction; After sending the application information of the first application to the second electronic device through the wireless communication connection so that the second electronic device runs the second application according to the application information, the following steps are further performed: Acquire information about a first event that has been created by the first user in the first application before the first electronic device and the second electronic device establish a wireless communication connection, send information about the first event to the second electronic device through the wireless communication connection, receive information about a second event sent by the second electronic device, and save the information about the second event in a cache area; wherein the second event includes an event that has been created by the second user in the second application of the second electronic device before the first electronic device and the second electronic device establish a wireless communication connection; The information of the first event is displayed in the function interface of the first application, but the information of the second event is not displayed, and the name information of the second user is displayed at a position corresponding to the information of the second event in the function interface of the first application.

16. The first electronic device according to claim 15, characterized in that: The operation includes an operation by the first user on a control in a functional interface of the first application; The operation instruction includes control information of the control operated in the function interface of the first application.

17. The first electronic device according to claim 15, characterized in that: The application information includes: application identification and / or application type; The running the second application according to the application information comprises: Running an application program installed in the second electronic device that has the same application identifier as the application program; or An application program of the same application type as the application program installed in the second electronic device is run.

18. The first electronic device according to any one of claims 15 to 17, characterized in that: After the first electronic device sends the application information of the first application to the second electronic device, the following steps are further performed: In response to the first user creating a sharing event in the functional interface of the first application, information about the sharing event is sent to the second electronic device via the wireless communication connection, so that the second electronic device marks the sharing event created by the first user on the functional interface of the second application according to the information about the sharing event.

19. The first electronic device according to any one of claims 15 to 17, characterized in that: After the first electronic device sends the information of the first event to the second electronic device, the following steps are further performed: After exiting the running first application, a disconnection message is sent to the second electronic device, the wireless communication connection between the first electronic device and the second electronic device is disconnected, and the information of the second event in the buffer area is deleted.

20. The first electronic device according to any one of claims 15 to 17, characterized in that: After the first electronic device sends the information of the first event to the second electronic device, the following steps are further performed: When it is detected that the identifier of the target file is moved out of the edge of the screen of the first electronic device, acquiring position information of the identifier of the target file, where the position information is used to identify the moving position of the identifier of the target file in the first electronic device; The location information is sent to the second electronic device via a wireless communication connection.

21. The first electronic device according to claim 20, characterized in that: When the instruction is executed by the first electronic device, the first electronic device further performs the following steps: In response to detecting that the identifier of the target file is moved out of the edge of the screen of the first electronic device, sending the target file to the second electronic device; If the portion of the target file identifier that is moved out of the edge of the screen of the first electronic device is greater than a first threshold when the first user's finger leaves the screen of the first electronic device, sending a confirmation instruction to the second electronic device so that the second electronic device saves the target file into a memory; If the portion of the target file identifier that is moved out of the edge of the screen of the first electronic device is smaller than a second threshold when the first user's finger leaves the screen of the first electronic device, a cancellation indication is sent to the second electronic device so that the second electronic device deletes the target file from the cache area.

22. A second electronic device, characterized in that: include: One or more processors, a memory, a plurality of applications, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the second electronic device, the second electronic device performs the following steps: establishing a wireless communication connection with a first electronic device; receiving application information of a first application sent by the first electronic device through the wireless communication connection, and running a second application according to the application information, wherein the first application and the second application are the same or of corresponding types; receiving an operation instruction sent by the first electronic device through the wireless communication connection, and executing the operation instruction; After the second electronic device runs the second application according to the application information, the second electronic device further performs the following steps: Receiving information about a first event sent by the first electronic device, where the first event includes an event that has been created by a first user in the first application of the first electronic device before the second electronic device establishes a wireless communication connection with the first electronic device; Acquire information about a second event that has been created by a second user in the second application before the second electronic device establishes a wireless communication connection with the first electronic device, and send the information about the second event to the first electronic device through the wireless communication connection; The information of the second event is displayed in the function interface of the second application program but the information of the first event is not displayed, and the name information of the first user is displayed at a position corresponding to the information of the first event in the function interface of the second application program.

23. The second electronic device according to claim 22, characterized in that: The operation instruction includes control information of a control being operated in a function interface of the first application.

24. The second electronic device according to claim 22, characterized in that: The application information includes: an application identifier and / or an application type; and the step of running the second application according to the application information includes: Running an application program installed in the second electronic device that has the same application identifier as the application program; or An application program of the same application type as the application program installed in the second electronic device is run.

25. The second electronic device according to any one of claims 22 to 24, characterized in that: After the second electronic device runs the second application according to the application information, the second electronic device further performs the following steps: receiving information of a sharing event sent by the first electronic device through the wireless communication connection; The sharing event created by the first user is marked on a function interface of the second application according to the information of the sharing event.

26. The second electronic device according to any one of claims 22 to 24, characterized in that: After the second electronic device receives the information of the first event sent by the first electronic device through the wireless communication connection, the second electronic device further performs the following steps: receiving a disconnection message sent by the first electronic device through the wireless communication connection; The wireless communication connection is disconnected, and the received information of the first event is deleted.

27. The second electronic device according to any one of claims 22 to 24, characterized in that: After the second electronic device runs the second application according to the application information, the second electronic device further performs the following steps: Receiving location information sent by the first electronic device through the wireless communication connection, the location information being used to identify a location where a target file is removed from the first electronic device; Determining, according to the location information, an entry location of the identifier of the target file in the second electronic device; The identification of the target file is displayed at the entry position.

28. The second electronic device according to claim 27, characterized in that: After the second electronic device runs the second application according to the application information, the second electronic device further performs the following steps: Receiving a target file sent by the first electronic device; receiving a cancellation instruction sent by the first electronic device; The received target file is deleted.

29. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the operation control method according to any one of claims 1 to 7 or the operation control method according to any one of claims 8 to 14 is implemented.

Citation Information

Patent Citations

  • Interface operation method and electronic equipment

    CN111028052A