Function collaboration method and electronic device
Through the functional collaboration method between electronic devices, the problem of limited functions of light smart devices is solved, cross-device operation and function expansion of applications are realized, user experience is improved and the overhead caused by resource constraints is reduced.
Patent Information
- Application Number
- PCT/CN2024/078190
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-23
- Filing Date
- 2024-02-22
- Publication Date
- 2024-08-29
AI Technical Summary
Due to hardware resource constraints such as processors, screens, and batteries, the functions of light smart devices are limited and they cannot seamlessly coordinate with more powerful smartphones and other devices, resulting in a limited user experience.
Through a functional collaboration method, using the communication connection between the first electronic device and the second electronic device, the user can operate the second electronic device to run the application program in the first electronic device to realize the function expansion and collaboration of the application program. , avoids software and hardware resource constraints on electronic devices, and reduces power consumption and memory overhead.
It achieves functional collaboration and expansion between electronic devices with different performance, improves user experience, avoids power consumption and memory overhead caused by resource constraints, and provides richer service functions.
Smart Images

Figure CN2024078190_29082024_PF_FP_ABST
Abstract
Description
Functional collaboration method and electronic equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 23, 2023, with application number 202310206799.9 and application name “A Functional Collaboration Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of electronic devices, and in particular to a functional collaboration method and electronic device. Background Art
[0004] With the recent development of electronic technology, the variety of smart electronic devices has increased significantly, enriching and facilitating users' lives. For example, various lightweight smart devices (such as smart watches, smart bracelets, and smart glasses) not only provide time tracking but also offer a wide range of other functions, covering sports and health records, medical monitoring, instant messaging, payment transactions, and entertainment and gaming. Consequently, people's demands for the functionality of these lightweight smart devices are becoming increasingly demanding.
[0005] However, since light smart devices are constrained by hardware resources such as processors, screens, and batteries, the functions they provide are limited compared to ordinary electronic devices. For example, the functions provided by third-party applications installed on smart watches are different from those provided by third-party applications installed on smartphones. Take the example of the smartwatch. It does not support sending red envelopes, real-time voice / video calls, or opening mini-programs.
[0006] Summary of the Invention
[0007] The present application provides a functional collaboration method and an electronic device for extending the functions of one electronic device to another electronic device, thereby improving user experience.
[0008] In a first aspect, embodiments of the present application provide a method for functional collaboration. This method can be applied to a first electronic device, wherein the first electronic device has an application installed, the first electronic device is in communication with a second electronic device, and the second electronic device has a control for the application installed. The method includes the following steps:
[0009] The first electronic device runs the application in response to a first operation of the user on the control on the second electronic device, so that the second electronic device displays running information of the application.
[0010] Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by this application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of electronic devices, avoiding causing large power consumption and memory overhead to electronic devices.
[0011] In one possible design, the operation information includes: operation results, operation status information, or user interface.
[0012] Through this design, the second electronic device can provide the user with application services by displaying multiple forms.
[0013] In one possible design, when the operating information includes a user interface, the first electronic device can also send first information to the second electronic device based on the first user interface of the application, so that the second electronic device displays the second user interface of the application based on the first information; wherein the second user interface at least includes part of the display content of the first user interface.
[0014] With this design, the first electronic device and the second electronic device can interact through communication, so that the second electronic device displays the second user interface.
[0015] In one possible design, the first display area of the first electronic device and the second display area of the second electronic device are different in size and / or shape, the first display area is the area in the display screen of the first electronic device used to display the user interface, and the second display area is the area in the display screen of the second electronic device used to display the user interface.
[0016] Through this design, the solution provided in this application can achieve functional collaboration between two electronic devices with different display areas (size and / or shape).
[0017] In one possible design, the first information is used to indicate the first user interface or the second user interface; the second user interface is the first target area selected in the first user interface, wherein the first target area is the same size or shape as the second display area; or the second user interface is obtained by scaling the first user interface.
[0018] With this design, the first electronic device or the second electronic device can obtain the second user interface by scaling or selecting a part of the first user interface.
[0019] In one possible design, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0020] In one possible design, when the second user interface is obtained by scaling the first user interface, the first electronic device can also receive display configuration information of the second display area from the second electronic device, and determine the aspect ratio of the second display area based on the display configuration information; the first electronic device generates the first user interface based on the aspect ratio of the second display area.
[0021] Through this design, the first electronic device can generate the first user interface based on the aspect ratio of the second display area, so that the aspect ratio of the first user interface is the same or similar to the aspect ratio of the second display area (that is, the absolute value of the difference between the two is less than the set threshold), thereby ensuring that the display content in the second user interface obtained by scaling the first user interface will not be deformed due to scaling, thereby ensuring the display effect of the second user interface.
[0022] In one possible design, when the first information is used to indicate the second user interface, the first electronic device splits the first user interface into multiple image units; then the first electronic device selects at least one first image unit from the multiple image units; and the first electronic device combines the at least one first image unit into the second user interface.
[0023] With this design, the first electronic device can obtain the second user interface by splitting and reassembling the first user interface.
[0024] In a possible design, the first electronic device may combine the at least one first image unit into the second user interface through the following steps:
[0025] The first electronic device performs image processing on the at least one first image unit; wherein, the image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, adjusting angle, or adjusting transparency; then, the first electronic device combines the at least one first image unit after image processing into the second user interface.
[0026] Through this design, the first electronic device can adjust the size, position, color, angle, or transparency of the at least one first image unit so that the combined second user interface can adapt to the second electronic device and ensure the display effect of the second user interface.
[0027] In one possible design, the first information is used to indicate at least one second image unit in the first user interface.
[0028] Through this design, the second user interface can combine the received at least one second image unit into the second user interface.
[0029] In one possible design, the first electronic device may further split the first user interface into multiple image units, and select the at least one second image unit from the multiple image units. Optionally, the at least one second image unit may include part or all of the multiple image units.
[0030] In one possible design, when the at least one second image unit includes a dynamic image unit, the first information includes video encoding data of the dynamic image unit; when the at least one second image unit includes a static image unit, the first information includes image data, number or feature data after image recognition of the static image unit.
[0031] With this design, the first electronic device can adopt different transmission modes to transmit the at least one second image unit.
[0032] In one possible design, the first electronic device can also receive user operation information from the second electronic device; wherein, the second user operation information is sent by the second electronic device when it detects a second operation of the user in the second display area, and the user operation information is used to indicate the second operation; then, the first electronic device executes the operation instructions corresponding to the second operation on the first user interface according to the user operation information.
[0033] With this design, the user can also control the application running on the first electronic device by operating the second electronic device, thereby further improving the user experience.
[0034] In one possible design, the user operation information includes a first operation position, where the first operation position is the position of the second operation on the second user interface. In this case, the first electronic device can perform the operation instruction corresponding to the second operation on the first user interface based on the user operation information by following the steps below:
[0035] The first electronic device determines a second operation position of the second operation based on the first operation position; wherein the second operation position is the position where the second operation is mapped to the first user interface; the first electronic device executes the operation instruction corresponding to the second operation on the first user interface based on the second operation position.
[0036] Through this design, the first electronic device can map the second operation performed by the user on the second user interface to the first user interface, so that the first electronic device can execute the operation instruction corresponding to the second operation.
[0037] In one possible design, the user operation information includes a second operation position, where the second operation position is a position where the second operation is mapped to the first user interface. In this case, the first electronic device can execute an operation instruction corresponding to the second operation on the first user interface based on the second operation position in the user operation information.
[0038] With this design, the first electronic device can execute the operation instruction corresponding to the second operation without performing operation mapping.
[0039] In a possible design, the user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
[0040] Through this design, the first electronic device can also execute the operation instruction corresponding to the second operation according to the above content in the user operation information.
[0041] In one possible design, the first electronic device may send the first information to the second electronic device based on the first user interface and the first interface layout policy. Optionally, the first interface layout policy is set for the application and the size or shape of the second display area of the second electronic device. Optionally, the first interface layout policy may be set by the manufacturer of the second electronic device or the developer of the application.
[0042] Through this design, the standardization and consistency of the second user interface finally generated by the first electronic device or the second electronic device can be guaranteed.
[0043] In one possible design, when the area used to display the user interface on the display screen of the second electronic device is adjusted to a third display area, the first electronic device sends a second message to the second electronic device according to the first user interface and second interface layout strategies, so that the second electronic device displays the third user interface according to the second message; wherein the third user interface includes at least part of the display content of the first user interface; and the third display area is different in size and / or shape from the first display area and the second display area. Optionally, the second interface layout strategy is set for the application and the size or shape of the third display area of the second electronic device.
[0044] This design ensures that the third user interface can adapt to the third display area of the second electronic device.
[0045] In one possible design, the first electronic device generates the first user interface on a virtual screen. In this case, the first electronic device may not display the first user interface in the first display area of the display screen; alternatively, the first electronic device may display part or all of the first user interface based on the size or shape of the first display area, which is not limited in this application.
[0046] Due to the characteristics of the virtual screen, the first electronic device can create the first user interface of any size and shape on the virtual screen without being restricted by the display screen size and display resolution.
[0047] In a possible design, the first operation is any one of the following operations performed by the user on the control: single-click, double-click, long press, and drag.
[0048] In one possible design, the first electronic device may run the application in response to a first operation of the user on the control on the second electronic device through the following steps:
[0049] The first electronic device receives user command information from the second electronic device; wherein the user command information is sent by the second electronic device after detecting the first operation, and the user command information is used to instruct the first electronic device to run the application; the first electronic device runs the application according to the user command information.
[0050] With this design, after the user performs a first operation on the control on the second electronic device, the second electronic device can notify the first electronic device to run the application through communication interaction.
[0051] In one possible design, the icon of the control is the same as the icon of the application on the first electronic device.
[0052] In one possible design, performance of the first electronic device is better than performance of the second electronic device.
[0053] This design allows a second electronic device with poor performance to perform the functions of a first electronic device with better performance. This method can achieve functional collaboration or functional expansion between electronic devices with different performance without optimizing the software and hardware resources of the second electronic device.
[0054] In one possible design, the first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
[0055] In a second aspect, an embodiment of the present application provides a functional collaboration method. This method can be applied to a second electronic device that is communicatively connected to a first electronic device, the first electronic device having an application installed, and the second electronic device having a control for the application installed. The method comprises the following steps:
[0056] After the first electronic device runs the application in response to the user's first operation on the control on the second electronic device, the second electronic device displays running information of the application.
[0057] Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by this application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of electronic devices, avoiding causing large power consumption and memory overhead to electronic devices.
[0058] In one possible design, the operation information includes: operation results, operation status information, or user interface.
[0059] In one possible design, when the operating information includes a user interface, the second electronic device can also receive first information from the first electronic device; wherein, the first information is sent by the first electronic device based on the first user interface of the application; then, the second electronic device displays the second user interface of the application based on the first information; wherein, the second user interface includes at least part of the display content of the first user interface.
[0060] In one possible design, the first display area of the first electronic device and the second display area of the second electronic device are different in size and / or shape, the first display area is the area in the display screen of the first electronic device used to display the user interface, and the second display area is the area in the display screen of the second electronic device used to display the user interface.
[0061] In one possible design, the first information is used to indicate the first user interface or the second user interface; the second user interface is the first target area selected in the first user interface, wherein the first target area is the same size or shape as the second display area; or the second user interface is obtained by scaling the first user interface.
[0062] In one possible design, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0063] In one possible design, when the second user interface is obtained by scaling the first user interface, the second electronic device may also send display configuration information of the second display area to the first electronic device, so that the first electronic device determines the aspect ratio of the second display area based on the display configuration information.
[0064] In one possible design, the first information is used to indicate at least one second image unit in the first user interface; the second electronic device can also combine the at least one second image unit indicated by the first information into the second user interface.
[0065] In one possible design, when the at least one second image unit includes a dynamic image unit, the first information includes video encoding data of the dynamic image unit; when the at least one second image unit includes a static image unit, the first information includes image data, number or feature data after image recognition of the static image unit.
[0066] In one possible design, the second electronic device may combine the at least one first image unit indicated by the first information into the second user interface through the following steps:
[0067] The second electronic device selects at least one third image unit from the at least one second image unit; then, the second electronic device performs image processing on the at least one third image unit; wherein, performing image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, modulating angle, or adjusting transparency; finally, the second electronic device combines the at least one third image unit after image processing into the second user interface.
[0068] In one possible design, after the second electronic device detects the user's second operation in the second display area, it can also send user operation information to the first electronic device, so that the first electronic device executes the operation instructions corresponding to the second operation on the first user interface according to the user operation information; wherein, the user operation information is used to indicate the second operation.
[0069] In one possible design, the user operation information includes a first operation position, wherein the first operation position is the position of the second operation in the second user interface.
[0070] In one possible design, the second electronic device may send user operation information to the first electronic device after detecting the second user operation in the second display area through the following steps:
[0071] After the second electronic device detects the user's second operation in the second display area, it determines the first operation position of the second operation; wherein the first operation position is the position of the second operation in the second user interface; the second electronic device determines the second operation position of the second operation based on the first operation position; wherein the second operation position is the position where the second operation is mapped to the first user interface; the second electronic device sends the user operation information including the second operation position to the first electronic device.
[0072] In a possible design, the user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
[0073] In one possible design, the second electronic device may display the second user interface based on the first information and the first interface layout strategy.
[0074] In one possible design, when the area used to display the user interface in the display screen of the second electronic device is adjusted to a third display area, the second electronic device can also display a third user interface based on the first information and the second interface layout strategy; wherein the third user interface at least includes part of the display content of the first user interface; and the third display area is different in size and / or shape from the first display area and the second display area.
[0075] In a possible design, the first operation is any one of the following operations performed by the user on the control: single-click, double-click, long press, and drag.
[0076] In one possible design, after detecting the first operation, the second electronic device may also send user command information to the first electronic device; wherein the user command information is used to instruct the first electronic device to run the application.
[0077] In one possible design, when the user performs the first operation on the control on the second electronic device, the second electronic device may not run the application.
[0078] In one possible design, the icon of the control is the same as the icon of the application on the first electronic device.
[0079] In one possible design, performance of the first electronic device is better than performance of the second electronic device.
[0080] In one possible design, the first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
[0081] In a third aspect, an embodiment of the present application provides a functional collaboration method. This method can be applied to a communication system consisting of a first electronic device and a second electronic device, wherein the first electronic device has an application installed and the second electronic device has a control for the application installed. The method comprises the following steps:
[0082] The first electronic device runs the application in response to a first operation of the user on the control on the second electronic device; and the second electronic device displays running information of the application.
[0083] Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by this application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of electronic devices, avoiding causing large power consumption and memory overhead to electronic devices.
[0084] In one possible design, the operation information includes: operation results, operation status information, or user interface.
[0085] In one possible design, when the operating information includes a user interface, the first electronic device may further send first information to the second electronic device based on the first user interface of the application; the second electronic device may receive the first information from the first electronic device. The second electronic device may display a second user interface of the application based on the first information; wherein the second user interface includes at least part of the display content of the first user interface.
[0086] In one possible design, the first display area of the first electronic device and the second display area of the second electronic device are different in size and / or shape, the first display area is the area in the display screen of the first electronic device used to display the user interface, and the second display area is the area in the display screen of the second electronic device used to display the user interface.
[0087] In one possible design, the first information is used to indicate the first user interface or the second user interface; the second user interface is the first target area selected in the first user interface, wherein the first target area is the same size or shape as the second display area; or the second user interface is obtained by scaling the first user interface.
[0088] In one possible design, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0089] In one possible design, when the second user interface is obtained by scaling the first user interface, the second electronic device may also send display configuration information of the second display area to the first electronic device; the first electronic device receives the display configuration information from the second electronic device, and determines the aspect ratio of the second display area based on the display configuration information; the first electronic device generates the first user interface based on the aspect ratio of the second display area.
[0090] In one possible design, when the first information is used to indicate the second user interface, the first electronic device may also split the first user interface into multiple image units; the first electronic device selects at least one first image unit from the multiple image units; and the first electronic device combines the at least one first image unit into the second user interface.
[0091] In a possible design, the first electronic device may combine the at least one first image unit into the second user interface through the following steps:
[0092] The first electronic device performs image processing on the at least one first image unit; wherein, the image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, adjusting angle, or adjusting transparency; thereafter, the first electronic device combines the at least one first image unit after image processing into the second user interface.
[0093] In one possible design, the first information is used to indicate at least one second image unit in the first user interface; the second electronic device can also combine the at least one second image unit indicated by the first information into the second user interface.
[0094] In a possible design, the first electronic device may also split the first user interface into multiple image units; and the first electronic device selects the at least one second image unit from the multiple image units.
[0095] In one possible design, when the at least one second image unit includes a dynamic image unit, the first information includes video encoding data of the dynamic image unit; when the at least one second image unit includes a static image unit, the first information includes image data, number or feature data after image recognition of the static image unit.
[0096] In one possible design, the second electronic device may combine the at least one second image unit indicated by the first information into a second user interface through the following steps:
[0097] The second electronic device selects at least one third image unit from the at least one second image unit; the second electronic device performs image processing on the at least one third image unit; wherein the image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, modulating angle, or adjusting transparency; the second electronic device combines the at least one third image unit after image processing into the second user interface.
[0098] In one possible design, after the second electronic device detects the user's second operation in the second display area, it sends user operation information to the first electronic device; wherein the user operation information is used to indicate the second operation; the first electronic device receives the user operation information from the second electronic device; and the first electronic device executes the operation instructions corresponding to the second operation on the first user interface based on the user operation information.
[0099] In one possible design, the user operation information includes a first operation position, where the first operation position is the position of the second operation on the second user interface. Based on this, the first electronic device can perform the operation instruction corresponding to the second operation on the first user interface according to the user operation information through the following steps:
[0100] The first electronic device determines a second operation position of the second operation based on the first operation position; wherein the second operation position is the position where the second operation is mapped to the first user interface; the first electronic device executes the operation instruction corresponding to the second operation on the first user interface based on the second operation position.
[0101] In one possible design, the second electronic device may send user operation information to the first electronic device after detecting the second user operation in the second display area through the following steps:
[0102] After the second electronic device detects the user's second operation in the second display area, it determines the first operation position of the second operation; wherein the first operation position is the position of the second operation in the second user interface; then, the second electronic device determines the second operation position of the second operation based on the first operation position; wherein the second operation position is the position where the second operation is mapped to the first user interface; the second electronic device sends the user operation information including the second operation position to the first electronic device.
[0103] The first electronic device executes an operation instruction corresponding to the second operation on the first user interface according to the second operation position in the user operation information.
[0104] In a possible design, the user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
[0105] In one possible design, the second electronic device displays the second user interface based on the first information and the first interface layout strategy; and / or the first electronic device sends the first information to the second electronic device based on the first user interface and the first interface layout strategy.
[0106] In one possible design, when the area used to display the user interface in the display screen of the second electronic device is adjusted to a third display area, the second electronic device can display the third user interface based on the first information and the second interface layout strategy; or the first electronic device can send second information to the second electronic device based on the first user interface and the second interface layout strategy, so that the second electronic device displays the third user interface based on the second information; wherein the third user interface at least includes part of the display content of the first user interface; and the third display area is different in size and / or shape from the first display area and the second display area.
[0107] In one possible design, the first electronic device can generate the first user interface on a virtual screen.
[0108] In a possible design, the first operation is any one of the following operations performed by the user on the control: single-click, double-click, long press, and drag.
[0109] In one possible design, after detecting the first operation, the second electronic device can send user command information to the first electronic device; wherein the user command information is used to instruct the first electronic device to run the application; the first electronic device receives the user command information from the second electronic device; and runs the application according to the user command information.
[0110] In one possible design, when the user performs the first operation on the control on the second electronic device, the second electronic device may not run the application.
[0111] In one possible design, the icon of the control is the same as the icon of the application on the first electronic device.
[0112] In one possible design, performance of the first electronic device is better than performance of the second electronic device.
[0113] In one possible design, the first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
[0114] In a fourth aspect, an embodiment of the present application provides a first electronic device comprising a unit for executing each step of the method provided in the first aspect above. Optionally, the first electronic device comprises a communication unit and a processing unit; wherein the communication unit is configured to receive and transmit data; and the processing unit is configured to execute the method provided in the first aspect. Exemplarily, the first electronic device may also include a display screen for displaying a user interface.
[0115] In a fifth aspect, embodiments of the present application provide a second electronic device comprising a unit for executing each step of the method provided in the second aspect above. Optionally, the second electronic device comprises a display screen, a communication unit, and a processing unit; wherein the display screen is configured to display an interface; the communication unit is configured to receive and send data; and the processing unit is configured to execute the method provided in the second aspect.
[0116] In a sixth aspect, an embodiment of the present application provides a first electronic device, comprising at least one processor and a memory; the at least one processor is coupled to the memory, and the at least one processor is configured to read a computer program stored in the memory to execute the method provided in the first aspect. Optionally, the first electronic device further includes a display screen.
[0117] In the seventh aspect, an embodiment of the present application provides a second electronic device, which includes a display screen, at least one processor and a memory; the at least one processor is coupled to the memory, and the at least one processor is used to read the computer program stored in the memory to execute the method provided in the second aspect.
[0118] The computer program code includes computer instructions.
[0119] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a memory, wherein the processor is coupled to the memory, and the processor is used to call a computer program stored in the memory during runtime to implement the method provided in the first or second aspect above.
[0120] In a ninth aspect, an embodiment of the present application provides a computer storage medium storing a computer program. When the computer program runs on an electronic device, the computer executes the method provided in the first or second aspect above.
[0121] In a tenth aspect, an embodiment of the present application provides a computer program product, which includes a computer program; when the computer program is run on a computer, the computer executes the method provided in the first aspect or the second aspect.
[0122] The technical effects that can be achieved in any of the second to tenth aspects mentioned above can refer to the description of the technical effects that can be achieved in any possible design in the first aspect mentioned above, and the repetitions will not be discussed. BRIEF DESCRIPTION OF THE DRAWINGS
[0123] FIG1A is an architecture diagram of a communication system provided in an embodiment of the present application;
[0124] FIG1B is a schematic diagram of an example of a communication system provided in an embodiment of the present application;
[0125] FIG2A is a structural diagram of an electronic device provided in an embodiment of the present application;
[0126] FIG2B is a schematic diagram of a display mode of an electronic device provided in an embodiment of the present application;
[0127] FIG3 is a schematic diagram of a software structure of an electronic device provided in an embodiment of the present application;
[0128] FIG4 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0129] FIG5 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0130] FIG6 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0131] FIG7 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0132] FIG8A is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0133] FIG8B is a diagram illustrating an example of functional collaboration provided in an embodiment of the present application;
[0134] FIG8C is another example diagram of functional collaboration provided by an embodiment of the present application;
[0135] FIG9 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0136] FIG10 is a flow chart of a functional collaboration method provided in an embodiment of the present application;
[0137] FIG11A is a diagram illustrating an example of a user interface processing process provided by an embodiment of the present application;
[0138] FIG11B is a diagram illustrating an example of functional collaboration provided by an embodiment of the present application;
[0139] FIG12A is a diagram illustrating an example of a user interface processing process provided by an embodiment of the present application;
[0140] FIG12B is a diagram illustrating an example of functional collaboration provided in an embodiment of the present application;
[0141] FIG13 is a structural diagram of an electronic device provided in an embodiment of the present application;
[0142] FIG14 is a structural diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0143] This application provides a functional collaboration method and electronic device for extending the functionality of one electronic device to another electronic device, thereby improving the user experience. The method and the electronic device are based on the same technical concept. Since the method and the electronic device solve similar problems, the implementation of the electronic device and the method can refer to each other, and any repetitions will not be repeated.
[0144] Some of the terms used in this application are explained below to facilitate understanding by those skilled in the art.
[0145] 1) Electronic devices are devices or apparatuses that have data connectivity, data calculation, and data processing functions. Generally, electronic devices have display screens.
[0146] For example, the electronic device in this application may be a personal computer (PC), a laptop, a computer, a netbook, a tablet computer, a car computer, a smart phone, a smart wearable device (such as a smart watch, a smart bracelet, smart glasses, etc.), etc. Of course, the electronic device may also be various portable devices, car terminal devices, personal digital assistants (PDAs), smart home devices (such as smart TVs, etc.), and other smart devices. This application does not limit the specific form of the electronic device.
[0147] The electronic device can realize its functions through the operating system it carries and provide services to the user. For example, the electronic device can be equipped with, but not limited to, Or other operating systems.
[0148] In some scenarios, electronic devices can be divided into the following two categories based on their performance:
[0149] Category I electronic devices: These devices have superior performance to Category II electronic devices and possess more abundant software and hardware resources. Based on these abundant software and hardware resources, they can provide users with more and better services.
[0150] Optionally, the performance of the first category electronic device is better than that of the second category electronic device, which may include but is not limited to: the storage performance, processor performance or other component performance of the first category electronic device is better than that of the second category electronic device, or the overall performance of the first category electronic device is better than that of the second category electronic device.
[0151] For example, such electronic devices may have at least one of the following features: higher processing speed and computing power of the processor, a larger screen, higher battery capacity, and larger memory storage space.
[0152] Category 2 electronic devices: These devices have lower performance than Category 1 electronic devices and are not as well-equipped with hardware and software resources. Due to the constraints of various hardware and software resources, the services they provide to users are also limited.
[0153] Based on the above description, the first type of electronic device can also be called a capability-rich device, an intelligence-rich device, or a rich device. In this application, the first type of electronic device is referred to as a rich device.
[0154] The second type of electronic device can also be called a light (thin) capability device, a light (thin) intelligent device or a light (thin) device. In the following of this application, the first type of electronic device is referred to as a light device.
[0155] It should be noted that the above classification definition for electronic devices is a relative classification of two electronic devices and does not constitute a fixed attribute of electronic devices. For example, electronic device 1 may be a first-category electronic device relative to electronic device 2, and a second-category electronic device relative to electronic device 3.
[0156] For example, rich devices may be PCs, laptops, tablets, smartphones, in-vehicle computers, etc. Light devices may be smart watches, smart bracelets, smart glasses, in-vehicle terminals, etc.
[0157] 2) The virtual screen is proposed relative to the real screen (i.e., display screen) of the electronic device. It is a virtual component created by the electronic device in the memory. The virtual screen is not affected by the display screen size and display resolution of the electronic device. That is, the electronic device can create any size and any number of virtual screens in the memory, and then the electronic device can generate a user interface for each virtual screen. The electronic device can display part or all of the user interface on a virtual screen on the display screen according to display requirements or user instructions, and can also project the user interface in the virtual screen to other electronic devices for display through screen projection technology.
[0158] 3) Graphics units are the basic elements of user interfaces, also known as interface graphics units or user interface components. Note that a single user interface can contain both static and dynamic graphics units, or a combination of both.
[0159] Exemplarily, the image units in the user interface may include, but are not limited to, images of the following contents: background images (wallpapers), icons, text, numbers, notification bars, menus, virtual buttons, and the like.
[0160] 4) Interface layout policy, which is the layout rules for image elements in the user interface. For example, the interface layout policy includes not only at least one image element in the user interface, but also at least one of the following for each image element: size, position, color, angle, or transparency.
[0161] It should be noted that, in order to ensure standardization and consistency, the interface layout strategy of the user interface of each application that needs to be displayed by the electronic device is generally fixed and is generally set by the manufacturer of the electronic device or the developer of the application.
[0162] 5) Graphic codes are generated by processing characteristic data according to specific rules. Graphic codes carry characteristic data. These specific rules are fixed. Based on these rules, electronic devices can convert characteristic data into graphic codes or perform image recognition on graphic codes to recover characteristic data.
[0163] Exemplarily, current graphic codes include: QR codes, bar codes, etc.
[0164] 6) Applications are installed in electronic devices and can provide services to users after running. Applications can also be called application software or applications (APP).
[0165] The application program may be developed by the manufacturer of the electronic device, or by the supplier of the operating system of the electronic device, or by a third-party application manufacturer, and this application does not limit this.
[0166] For example, the application programs may include: call applications, camera applications, text messaging applications, chat applications, video applications, music applications, electronic map applications, social applications, etc.
[0167] 7) Controls are control components installed in electronic devices that encapsulate data and / or programs and are used to activate certain functions or applications of electronic devices. Optionally, controls can also be presented as virtual buttons or icons in the user interface.
[0168] 8) Screen projection technology, used to achieve screen collaboration between multiple electronic devices. Screen collaboration is a mode of interaction between multiple electronic devices, and is commonly seen in multi-screen interaction between smartphones, tablets, laptops, projectors, etc.
[0169] Using this screen projection technology, a screen projection channel can be established between electronic devices A and B. Electronic device A can then project user interfaces, audio files, video files, images, and other content to electronic device B through this screen projection channel, so that electronic device B can play or display the content projected by electronic device A.
[0170] For example, current screen projection technologies may include: ScreenCast, Miracast, airplay, hiplay, Digital Living Network Alliance (DLNA), etc.
[0171] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" 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, where 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" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
[0172] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the electronic device will perform corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the electronic device to perform judgment actions when implemented, nor does it mean that there are other limitations.
[0173] It should be noted that in this application, "used for indication" can include being used for direct indication and being used for indirect indication. When describing that a certain information is used to indicate A, it can include that the information directly indicates A or indirectly indicates A, but it does not mean that the information must carry A. Taking the first information used to indicate the first content as an example, the first information can include the first content, and can also include a part of the first content or an identifier or index of the first content, etc., and can also include an algorithm or calculation parameters for determining the first content. This application does not limit the method of "indication".
[0174] In this application, "including / comprising A" may be equivalent to "including / comprising A information". A information is used to indicate A.
[0175] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0176] The solution provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0177] The functional collaboration solution provided in the embodiment of the present application can be applied to a communication system in which two electronic devices establish a communication connection.
[0178] Optionally, the communication connection between the first electronic device and the second electronic device may be a wireless communication connection or a wired communication connection, which is not limited in this application. FIG1A is illustratively described using a wireless communication connection as an example.
[0179] In one embodiment, the first electronic device can act as a master device and actively initiate a connection establishment process through short-range wireless communication technology to establish a wireless communication connection with the second electronic device, complete the transmission of relevant data when implementing the functional collaboration method provided in the embodiment of the present application, and realize the control and management of the second electronic device. Exemplarily, the connection establishment process may include: device search, pairing, connection establishment and other processes. In addition, the first electronic device as the master device can also be responsible for providing a clock synchronization signal.
[0180] Optionally, short-range wireless communication technology may include, but is not limited to: radio frequency identification (RFID) technology, Bluetooth technology, wireless-fidelity (WI-FI) technology, ZigBee technology, ultra-wideband (UWB) technology, near-field communication (NFC) technology, as well as communication technologies evolved based on the above communication technologies, and communication technologies that have the same or similar functions as the above communication technologies and can replace each other.
[0181] For example, as shown in FIG1B , a smart phone can establish a Bluetooth connection with a smart watch through Bluetooth technology, and implement control and management of the smart watch, as well as business communications, through the Bluetooth connection.
[0182] In another embodiment, the first electronic device and the second electronic device can be connected to the same wireless local area network (WLAN) via short-range wireless communication technology. In this way, the first electronic device and the second electronic device can establish a wireless communication connection via the wireless local area network and complete the transmission of relevant data when implementing the functional collaboration method provided in the embodiment of the present application.
[0183] For example, the communication system may further include a WI-FI access point. Two electronic devices may first access the WI-FI access point according to WI-FI technology, and then the WI-FI access point may connect the two electronic devices to a wireless local area network.
[0184] For another example, two electronic devices can be connected to the same Bluetooth beacon via Bluetooth technology, so that the two can establish a wireless communication connection via Bluetooth technology.
[0185] Optionally, in this communication system, after the first electronic device establishes a wireless communication connection with the second electronic device, the two can establish a traditional screen projection channel based on the wireless communication connection, so that the first electronic device can send screen projection data to the second electronic device to realize the traditional screen collaboration function.
[0186] It should also be noted that the present application does not limit the connection method between the first electronic device and the second electronic device. For example, the first electronic device and the second electronic device may also establish a physical communication connection via a cable.
[0187] In the communication system shown in FIG1A , in a scenario where the first electronic device is a rich device and the second electronic device is a light device, the first electronic device can provide users with a variety of rich functions due to its abundant software and hardware resources. However, due to the constraints of the second electronic device's various software and hardware resources, the functions provided by the second electronic device are also limited.
[0188] Continuing with the example of the communication system consisting of a smartwatch and a smartphone as shown in Figure 1B , a smartphone can install a variety of applications, but a smartwatch, due to processor limitations, may not be able to install some applications, such as weather apps, chat apps, search engines, and Weibo.
[0189] In addition, even if smart watches can install applications, the services provided by smart watch applications are much lower than those of the same name applications installed on smartphones. The app does not support sending red envelopes, real-time voice / video calls, or opening mini-programs. For another example, the navigation function of a map app installed on a smartwatch cannot display an electronic map, but only an arrow indicating the direction of travel.
[0190] To expand the functionality of lightweight devices, the following solutions are currently available: 1. Forcibly install a mobile operating system compatible with smartphones in smartwatches so that applications compatible with smartphones can be installed in smartwatches; 2. A programming framework based on feature capabilities (FA) uses a card flow architecture to pre-place important smartphone information or operations on cards, display the cards on smartwatches, and execute the card's background application logic on smartphones.
[0191] However, due to significant differences between mobile phone operating systems and watch operating systems in areas like power management and background task scheduling, solution one results in higher power consumption, larger memory usage, shorter standby time, and a poor user experience for smartwatches. Solution two also requires developers to design cards based on the smartwatch's display, which significantly limits and constrains the content displayed on the cards. Therefore, even with solution two, some smartwatch features remain unavailable.
[0192] In summary, how to extend the functions of one electronic device to another electronic device without affecting the performance of the electronic device is an issue that those skilled in the art need to consider.
[0193] Based on this, an embodiment of the present application provides a function collaboration method, in which a first electronic device is installed with an application, and a control of the application is installed in a second electronic device; when a user performs an operation on a control on the second electronic device, the first electronic device runs the application in response to the operation; and the second electronic device can display the running information of the application and provide the user with the function of the application. Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by the present application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of the electronic devices, avoiding causing large power consumption and memory overhead to the electronic devices.
[0194] The embodiment of the present application provides an electronic device that can form a communication system with other electronic devices to implement the functional collaboration method provided in the embodiment of the present application. The structure of the electronic device provided in the embodiment of the present application is described below with reference to FIG2A .
[0195] As shown in Figure 2A, the electronic device 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a SIM card interface 295, etc.
[0196] It is understood that the electronic device 200 shown in FIG2A is merely an example and does not limit the electronic device, and the electronic device may have more or fewer components than shown in FIG2A, may combine two or more components, or may have a different component configuration. The various components shown in FIG2A may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0197] The processor 210 may include one or more processing units, for example: the processor 210 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 200. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of instruction fetching and execution.
[0198] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or is reusing. If the processor 210 needs to use the instruction or data again, it can directly access it from the memory. By providing this memory, the number of times the processor 210 accesses data from the internal memory 221 can be reduced, reducing the processor 210's waiting time, thereby improving system efficiency.
[0199] The functional collaboration method provided in the embodiment of the present application can be controlled by the processor 210 or called by other components to complete, such as calling the software program of the embodiment of the present application stored in the internal memory 221 to control the wireless communication module 260 to communicate data with other electronic devices, and control the display screen to display the user interface. The processor 210 can include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the functional collaboration method provided in the embodiment of the present application. For example, part of the algorithm in the functional collaboration method is executed by the CPU, and another part of the algorithm for displaying the user interface is executed by the GPU to obtain faster processing efficiency.
[0200] Display screen 294 is used to display images, videos, etc. Display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 200 may include one or N display screens 294, where N is a positive integer greater than 1. Display screen 294 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 294 can display windows, photos, videos, web pages, or files. Furthermore, it will be appreciated that in some embodiments, the status bar may also include a Bluetooth icon, a Wi-Fi icon, an external device icon, etc. In some embodiments, when the processor 210 detects a touch operation of a user's finger (or stylus, etc.) on an application icon, in response to the touch operation, the processor 210 opens a user interface corresponding to the application icon and displays the user interface on the display screen 294. In some embodiments, when the processor 210 detects a click operation of an external input device (such as a mouse, keyboard, etc.) of the electronic device 200 on an application icon, in response to the click operation, the processor 210 performs a corresponding control operation on the application.
[0201] In the embodiment of the present application, the display screen 294 can be a single flexible display screen, or a spliced display screen consisting of two rigid screens and a flexible screen located between the two rigid screens. After the processor 210 executes the functional coordination method provided in the embodiment of the present application, the processor 210 can control the display screen 294 to display the running information of the application.
[0202] In some embodiments, part or all of the display area of display screen 294 can be used to display a user interface. For example, electronic device 200 can have multiple display modes, each with a corresponding display area. The display areas corresponding to different display modes may vary in shape or size. It should be noted that the display areas corresponding to different display modes may overlap.
[0203] Taking a smartwatch as an example, as shown in Figure 2B, the smartwatch has a square display. In a first display mode, the smartwatch displays the user interface in a first display area of the display; in a second display mode, the smartwatch displays the user interface in a second display area of the display. The first display area is square, matching the size and shape of the display; the second display area is circular. The first and second display areas differ in size and / or shape.
[0204] Of course, the electronic device 200 may also have only one display mode. In this case, the electronic device 200 may display the user interface through the entire area of the display screen 294 or through a partial area of the display screen 294.
[0205] The camera 293 is used to capture still images or videos. Optionally, the electronic device 200 may include 1 to N cameras 293. For example, the camera 293 may include a front camera or a rear camera, or one camera 293 may serve as both a front camera and a rear camera. Typically, the camera 293 may include a photosensitive element such as a lens group and an image sensor. The lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signal.
[0206] The internal memory 221 can be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. The program storage area may store an operating system, program codes of at least one application, etc. The operating system may include, but is not limited to, The data storage area can store data created during the use of the electronic device 200 .
[0207] The internal memory 221 may also store one or more computer programs for executing the functional collaboration method provided in the embodiments of the present application. The one or more computer programs are stored in the internal memory 221 and configured to be executed by the one or more processors 210. The one or more computer programs include instructions, which can be used to execute the various steps in the following embodiments.
[0208] In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0209] The sensor module 280 may include a fingerprint sensor, a touch sensor, a pressure sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, and the like.
[0210] A touch sensor, also known as a "touch panel," can be provided on the display screen 294. The touch sensor is configured to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 294. In other embodiments, the touch sensor can also be provided on the surface of the electronic device 200, at a location different from that of the display screen 294.
[0211] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
[0212] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0213] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 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 250 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 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.
[0214] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 270A, the receiver 270B, etc.) or displays an image or video through the display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0215] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to the electronic device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 can also receive the signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In the embodiment of the present application, the electronic device 200 can establish a wireless communication connection with other electronic devices through the wireless communication module 260 to exchange data, or the electronic device 200 can access an access point through the wireless communication module 260, so that instructions and data can be sent to network devices or other electronic devices through the access point. For example, the electronic device 200 can establish a functional collaboration channel with other electronic devices through the wireless communication module 260, and receive image units from other electronic devices through the wireless communication module 260, and send user operation information to the other electronic devices; or send image units to other electronic devices through the wireless communication module 260, and receive user operation information from other electronic devices.
[0216] In addition, the electronic device 200 can implement audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor. For example, music playback, recording, etc. The electronic device 200 can receive input from the key 290 and generate key signal input related to the user settings and function control of the electronic device 200. The electronic device 200 can use the motor 291 to generate a vibration prompt. The indicator 292 in the electronic device 200 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 in the electronic device 200 is used to connect the SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295.
[0217] It should be understood that in actual applications, the electronic device 200 shown in FIG2A is only an example, and the electronic device 200 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0218] It should also be noted that in the embodiments provided herein, the structures of the first electronic device and the second electronic device can refer to the electronic device 200 shown in FIG2A . Furthermore, the structures of the first electronic device and the second electronic device may differ, and either the first electronic device or the second electronic device may have more or fewer components than shown in FIG2A , or may have different component configurations, which will not be described in detail herein. Furthermore, even if the two electronic devices have the same components, the same components within the two electronic devices may have performance differences.
[0219] The software system of the electronic device 200 provided in the embodiment of the present application can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example, and exemplifies the software structure of the electronic device as shown in FIG3 .
[0220] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. As shown in Figure 3, this software architecture can be divided into four layers: the application layer, the application framework (FWK), the Android runtime and system libraries, and the kernel layer. Electronic devices may also include a hardware layer.
[0221] The application layer is the top layer of the operating system, including native applications of the operating system and third-party applications such as camera, gallery, calendar, Bluetooth, music, video, information, etc.
[0222] In an embodiment of the present application, the application layer may also include a functional collaboration service application, which is used to implement the functional collaboration method provided in the embodiment of the present application, extend the service functions provided by the electronic device to another electronic device, or extend the functions of other electronic devices to the local area, thereby achieving functional collaboration and functional expansion.
[0223] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. The application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, notification manager, etc.
[0224] A window manager provides window management services. It can obtain the display size, determine whether a status bar is present, lock the screen, and take screenshots. It also provides multiple management functions to control parameters such as the transparency, position, and size of windows or interfaces on the display.
[0225] Content providers are used to store and retrieve data and make it accessible to applications. The data may include files (such as documents, videos, images, audio), text, and other information.
[0226] The view system includes visual controls, such as those for displaying text, images, and documents. The view system can be used to build applications. The interface within a display window can be composed of one or more controls. For example, a display interface showing a file icon might include controls for displaying text and images.
[0227] The phone manager provides communication functionality for terminal devices. The notification manager enables applications to display notifications in the status bar. These can be used to convey informational messages and can disappear automatically after a short pause, without requiring user interaction.
[0228] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0229] The Android system's core libraries consist of two parts: one containing the Java language's callable functions and the other containing the Android system's core libraries. The application layer and the application framework layer run in a virtual machine. For example, the virtual machine executes Java files from the application and framework layers as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0230] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
[0231] The kernel layer provides the operating system's core system services, such as security, memory management, process management, network protocol stacks, and driver models. These services are all implemented within the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, primarily display drivers; keyboard drivers for input devices; Flash drivers for memory-based devices; camera drivers; audio drivers; Bluetooth drivers; and Wi-Fi drivers.
[0232] In some embodiments, the kernel layer may also include an input driver service for obtaining and reporting operation information performed on the interface or window displayed on the display screen from external input devices (such as a mouse, keyboard, touchpad, etc.), sensors (such as a touch screen, touch sensor, etc.) or other electronic devices.
[0233] The hardware layer can include various sensors, displays, cameras, etc.
[0234] In order to extend the function of an electronic device to another electronic device, an embodiment of the present application provides a functional collaboration method. The method is described below with reference to the accompanying drawings. The method can be applied to a communication system including a first electronic device and a second electronic device as shown in Figure 1A, such as the application scenario shown in Figure 1B. In an embodiment of the present application, an application is installed in the first electronic device, and a control of the application is installed in the second electronic device, that is, the control in the second electronic device has an association relationship (or binding relationship) with the application in the first electronic device. Optionally, the icon of the control is the same as the icon of the application on the first electronic device.
[0235] In one embodiment, the control may be generated after the user performs a setting operation on the first electronic device, triggering the first electronic device to interact with the second electronic device.
[0236] In another embodiment, the control may be generated by a user performing a setup operation on the second electronic device, or may be preset by the manufacturer of the second electronic device or the operating system of the second electronic device. After the second electronic device establishes a communication connection with the first electronic device, the second electronic device may interact with the first electronic device to associate the control with an application on the first electronic device.
[0237] It should also be noted that the second electronic device may contain controls for multiple applications, all of which are installed on the first electronic device. Each control in the second electronic device is associated with an application in the first electronic device. This embodiment of the application is described using a control in the second electronic device as an example.
[0238] The method provided in the embodiment of the present application is described below with reference to the flow chart shown in FIG4 .
[0239] S401: The first electronic device runs an application in response to a first operation of a user on a control on the second electronic device.
[0240] Exemplarily, the first operation may be any of the following operations performed by the user on the control: single-click, double-click, multiple consecutive clicks, long press, drag, etc., which is not limited in this application.
[0241] In one embodiment, after detecting the first operation, the second electronic device may send a user command message to the first electronic device. The user command message is used to instruct the first electronic device to run the application. After receiving the user command message from the second electronic device, the first electronic device may run the application according to the user command message. Optionally, the user command message may include information about the application.
[0242] In the embodiment of the present application, the second electronic device may not have the application installed. Therefore, when the user performs the first operation on the control on the second electronic device, the second electronic device does not run the application.
[0243] Optionally, the first electronic device may run the application in, but is not limited to, the following ways:
[0244] Method 1: Before S401, the application is running in the background of the first electronic device and is in sleep mode. When the first electronic device executes S401, it can wake up the application and run it in the foreground.
[0245] Method 2: Before S401, the application has been running in the foreground of the first electronic device. When the first electronic device executes S401, the application can continue to run in the foreground.
[0246] Mode 3: Before S401, the application is not started, and the first electronic device does not run the application in the background or foreground. When the first electronic device executes S401, it can open the application and run the application in the foreground.
[0247] Method 4: The first electronic device runs the application in the background.
[0248] Method 5: The first electronic device can run the application program through a third-party application.
[0249] It should be noted that, optionally, when the first electronic device is in a black screen state, or other applications are running in the foreground, the first electronic device may not display the user interface of the application when executing S401 to run the application; or when the first electronic device is in a black screen state, the first electronic device may light up the screen and display the user interface of the application when executing S401 to run the application; or when the first electronic device is running other applications, the first electronic device may place the other application in the background when executing S401, and switch from displaying the user interface of the other application to displaying the user interface of the application. The specific implementation process is not limited in this application.
[0250] It should be noted that while the application is running, the process list of the first electronic device includes the application process. The user can perform an operation on the first electronic device to view the running program (for example, long pressing a function key, or swiping upward from the bottom of the first electronic device, or swiping from the side of the first electronic device to the opposite side, etc.) to view the user interface of the application.
[0251] S402: The second electronic device displays the running information of the application.
[0252] In one embodiment, the second electronic device may display the application's running information while the application is running or after the application has finished running. Optionally, the first electronic device may send running data to the second electronic device while the application is running or after the application has finished running, so that the second electronic device may display the application's running information based on the running data. The running data may indicate the running information.
[0253] Optionally, the application's running information may include, but is not limited to: running results, running status information, or a user interface. The present embodiment does not impose any limitation on the application's running information.
[0254] For example, if the first electronic device runs an artificial intelligence (AI) application through S401, the first electronic device can send the running result of the AI application (i.e., the AI calculation result) to the second electronic device. For another example, the application status information can indicate whether the application is in a running state, whether it is running normally, etc. For another example, if the application run by the first electronic device through S401 has a user interface, the first electronic device can interact with the second electronic device so that the second electronic device can display the user interface on its display screen.
[0255] In summary, an embodiment of the present application provides a method for functional collaboration, in which a first electronic device is installed with an application, and a control of the application is installed in a second electronic device; when a user performs an operation on a control on the second electronic device, the first electronic device runs the application in response to the operation; and the second electronic device can display the running information of the application to provide the user with the functions of the application. Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by the present application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of the electronic devices, avoiding causing large power consumption and memory overhead to the electronic devices.
[0256] In an embodiment of the present application, the performance of the first electronic device is better than the performance of the second electronic device. Optionally, the first electronic device is a rich device and the second electronic device is a light device. For example, as shown in FIG1B , the first electronic device may be a smart phone and the second electronic device may be a smart wearable device. For another example, in a smart home scenario, the first electronic device may be a smart phone and the second electronic device may be a smart home device. Through this solution, the second electronic device with poor performance can also realize the functions of the first electronic device with better performance, and functional collaboration or functional expansion between electronic devices with different performance can be achieved without optimizing the software and hardware resources of the second electronic device.
[0257] In one implementation of the embodiment shown in FIG4 , when the second electronic device displays the user interface of the application, the first electronic device and the second electronic device can achieve functional collaboration through the following interactive process.
[0258] S501: Same as S401, no further details are given here.
[0259] S502: The first electronic device sends first information to the second electronic device according to the first user interface of the application program. The second electronic device receives the first information from the first electronic device.
[0260] Optionally, the first electronic device may generate the first user interface on a virtual screen. In this case, the first electronic device may not display the first user interface in the first display area of the display screen; or may display part or all of the first user interface based on the size or shape of the first display area, which is not limited in this application.
[0261] Optionally, the first electronic device may also generate and display the first user interface on the display screen according to the size and display resolution settings of the display screen.
[0262] S503: The second electronic device displays a second user interface of the application program according to the first information, wherein the second user interface at least includes part of the display content of the first user interface.
[0263] In an embodiment, the first display area of the first electronic device and the second display area of the second electronic device may be different in size and / or shape. The first display area is the area of the display screen of the first electronic device used to display the user interface, and the second display area is the area of the display screen of the second electronic device used to display the user interface.
[0264] Based on this, there are differences in the configurations used to display the user interface between the first electronic device and the second electronic device. Therefore, during S502-S503, the first electronic device and / or the second electronic device needs to process the first user interface of the application generated by the first electronic device.
[0265] Optionally, to ensure standardization and consistency, during the S502-S503 process, the first electronic device and / or the second electronic device may process the first user interface according to a unified interface layout strategy (hereinafter referred to as the first interface layout strategy). Based on this, when the first electronic device executes S502, it may send the first information to the second electronic device according to the first user interface and the first interface layout strategy; and when the second electronic device executes S503, it may also display the second user interface according to the first information and the first interface layout strategy.
[0266] Among them, the first interface layout strategy is set for the size or shape of the second display area of the application and the second electronic device. Optionally, the first interface layout strategy can be set for the manufacturer of the second electronic device and the developer of the application. Therefore, the second electronic device can send the display configuration information of the second display area to the first electronic device after establishing a communication connection with the first electronic device, or after detecting the first operation of the user on the control in S501, so that the first electronic device can determine the first interface layout strategy. The display configuration information is used to indicate information such as the size or shape of the second display area. Optionally, the first electronic device and the second electronic device can determine to adopt the first interface layout strategy in combination with aspects such as the channel transmission status of the communication connection between the devices and the processor performance of the second electronic device.
[0267] The following describes the differences in processing methods between the first electronic device and / or the second electronic device through the following implementation methods.
[0268] Implementation method 1: The first information is used to indicate the first user interface.
[0269] In this implementation mode 1, the second electronic device performs the following processing on the first user interface in any one of the following modes A1-A2 to obtain a second user interface.
[0270] Method A1: The second electronic device selects a first target area in the first user interface as the second user interface. The first target area is the same size or shape as the second display area of the second electronic device. Optionally, this method A1 can be implemented when the size of the first user interface is larger than the size of the second display area.
[0271] In this method A1, the second electronic device can select a first target area in the first user interface according to the first interface layout strategy. Optionally, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0272] The initial interface can be the application startup interface, or the user interface before the application's user interface changes (while the first user interface is the user interface after the application's user interface changes). The focus area in the first user interface is the area that the user needs to focus on and pay special attention to. The specific location is generally set according to the display content of the first user interface. For example, in the chat interface of a social application, the focus area is the area with the latest chat information in the chat interface; and in the map display interface of an electronic map, the focus area is the area containing the user's real-time location.
[0273] It should be noted that when the first target area and the second display area have the same shape but different sizes, the second electronic device may further scale the first target area to obtain a second user interface having the same size as the second display area.
[0274] Method A2: The second electronic device scales the first user interface to obtain a second user interface. To ensure the display quality of the second user interface, Method A2 can be executed when the absolute value of the difference between the aspect ratio of the first user interface and the aspect ratio of the second display area is less than or equal to a set threshold.
[0275] The specific value of the threshold value can be set by the first interface layout policy, which is not limited by this application. In order to ensure that the content displayed in the second user interface is not deformed due to scaling, method A2 can be implemented when the aspect ratio of the first user interface is the same as the aspect ratio of the second display area, that is, the threshold value is set to 0.
[0276] In method A2, the first electronic device may generate a first user interface whose aspect ratio satisfies the above conditions by following the steps S1-1 to S1-3:
[0277] S1-1: The second electronic device may also send display configuration information of the second display area to the first electronic device.
[0278] Optionally, the display configuration information is used to indicate information such as the size or shape of the second display area.
[0279] S1-2: After receiving the display configuration information, the first electronic device may determine the aspect ratio of the second display area according to the display configuration information.
[0280] It should be noted that when the first electronic device determines the first interface layout strategy based on the display configuration information of the second display area sent by the second electronic device, the two processes can reuse the same step (i.e., S1-1). That is, the second electronic device can only send the display configuration information of the second display area once. The first electronic device can both determine the first interface layout strategy based on the display configuration information and determine the aspect ratio of the second display area based on the display configuration information to generate the first user interface.
[0281] S1-3: The first electronic device may generate a first user interface according to the aspect ratio of the second display area.
[0282] Optionally, since the virtual screen is not affected by the size and display resolution of the physical display screen of the electronic device, in S1-3, the first electronic device may generate the first user interface on the virtual screen according to the aspect ratio of the second display area.
[0283] Implementation method 2: The first information is used to indicate the second user interface.
[0284] In this implementation manner 2, the first electronic device performs the following processing on the first user interface in any of the following manners B1-B3 to obtain the second user interface.
[0285] Method B1: The first electronic device selects the first target area in the first user interface as the second user interface. The specific implementation process can refer to the description of method A1 in implementation method 1, and will not be repeated here.
[0286] It should be noted that when the first target area and the second display area have the same shape but different sizes, the first electronic device can also scale the first target area to obtain a second user interface of the same size as the second display area; or the second electronic device can scale the second user interface when displaying the second user interface so that the second user interface is the same size as the second display area.
[0287] Method B2: The first electronic device performs scaling processing on the first user interface to obtain the second user interface. The specific implementation process can refer to the description of Method A2 in Implementation Method 1 and will not be repeated here.
[0288] Mode B3: The first electronic device may split and reassemble the first user interface through the following steps S2-1 to S2-3 to obtain the second user interface.
[0289] S2-1: The first electronic device divides the first user interface into multiple image units.
[0290] Optionally, the first electronic device may split the first user interface into multiple image units according to a set image segmentation algorithm.
[0291] For the description of the image unit, please refer to the explanation of terminology in point 3) above, which will not be repeated here.
[0292] S2-2: The first electronic device selects at least one first image unit from the multiple image units.
[0293] Optionally, the first electronic device may select at least one first image unit that needs to be displayed in the second electronic device from the multiple image units according to the first interface layout policy.
[0294] Optionally, the first electronic device may calculate the weight of each image unit in the multiple image units according to a set component ranking algorithm, and select at least one first image unit in the multiple image units whose weight is higher than a set threshold.
[0295] S2-3: The first electronic device combines the at least one first image unit into a second user interface.
[0296] Optionally, the first electronic device may perform step S2-3 by following the steps S2-3-1 to S2-3-2:
[0297] S2-3-1: The first electronic device performs image processing on the at least one first image unit. The image processing on any third image unit includes at least one of the following operations: resizing, repositioning, coloring, angle adjustment, or transparency adjustment. Optionally, in this step, the first electronic device may perform image processing on the at least one first image unit according to the first interface layout strategy.
[0298] For example, the initial coordinates of an image unit are (x, y). According to the first interface layout strategy, the position of the image unit needs to be adjusted, and the position offset value is (Tx, Ty). After the first electronic device adjusts the position of the image unit, the target coordinates (x', y') of the image unit meet the following formula:
[0299] x′=x+Tx,y′=y+Ty;or
[0300] For another example, the size of a certain image unit is (a, b). According to the first interface layout strategy, the image unit needs to be resized, and the target display ratio is (S1, S2). After the first electronic device resizes the image unit, the target size of the image unit is (a', b') which meets the following formula:
[0301] a′=a*S1,b′=b*S1;or
[0302] S2-3-2: The first electronic device combines the at least one first image unit after image processing into the second user interface.
[0303] In implementation 1 or implementation 2, the first information may be image data of the first user interface or the second user interface. Optionally, the first electronic device may send the first information to the second electronic device using a traditional screen projection technology.
[0304] Implementation method 3: The first information is used to indicate at least one second image unit in the first user interface.
[0305] In implementation manner 3, the first electronic device may determine the at least one second image unit through the following steps:
[0306] S3-1-1: The first electronic device splits the first user interface into multiple image units.
[0307] S3-1-2: The first electronic device selects the at least one second image unit from the multiple image units. Optionally, the at least one second image unit may be all or part of the multiple image units.
[0308] Optionally, in some implementation scenarios, the first electronic device may directly send the multiple image units split in step S3-1-1, and the second electronic device may decide whether to discard some image units based on the first interface layout strategy. In other implementation scenarios, the first electronic device may decide whether to discard some image units based on the first interface layout strategy and select the at least one second image unit to be displayed on the second electronic device from the multiple image units.
[0309] In addition, in this implementation mode 3, the second electronic device can combine the at least one second image unit indicated by the first information into a second user interface, and the specific process can include the following steps S3-2-1 to S3-2-3.
[0310] S3-2-1: The second electronic device selects at least one third image unit from the at least one second image unit.
[0311] Optionally, the second electronic device may select at least one third image unit that needs to be displayed in the second electronic device from the at least one second image unit according to the first interface layout policy.
[0312] S3-2-2: The second electronic device performs image processing on the at least one third image unit. The image processing of any third image unit includes at least one of the following operations: resizing, repositioning, color adjustment, angle modulation, or transparency adjustment. For a detailed description of this step, refer to the description of step 2-3-1 in Method B3 of Implementation Method 2 above and will not be repeated here.
[0313] S3-2-3: The second electronic device combines the at least one third image unit after image processing into a second user interface.
[0314] In implementation manner 3, when executing S502, the first electronic device may adopt different transmission manners for transmission according to different states (dynamic or static) of the image unit.
[0315] Method C1: When at least one second image unit includes a dynamic image unit, the first electronic device may perform video encoding on the dynamic image unit to generate encoded video data for the dynamic image unit, and transmit the encoded video data to the second electronic device. After receiving the encoded video data from the first electronic device, the second electronic device may perform video decoding on the encoded video data to obtain the dynamic image unit.
[0316] When the first electronic device adopts method C1, the first information includes the video encoding data of the moving image unit.
[0317] Through method C1, the first electronic device can transmit the dynamic image unit through video coding technology to ensure that the second electronic device can receive the image unit with dynamic effects, avoiding the dynamic effects of the dynamic image unit being affected by transmission factors.
[0318] Mode C2: When at least one second image unit includes a static image unit, the first electronic device may transmit data information of the static image unit, and the second electronic device may restore the static image unit based on the data information.
[0319] When the first electronic device adopts mode C2, the first information includes data information of the static image unit.
[0320] Optionally, the data information of the static image unit may be, but is not limited to, image data, number, or feature data of the static image unit after graphic recognition.
[0321] In method C2, the first electronic device can directly transmit the static image unit via image transmission, that is, send the image data of the static image unit. In addition, the first electronic device can also convert the static image unit into other forms (such as numbers or feature data after image recognition) to reduce the data overhead caused by transmitting the image data of these static image units, improve data transmission efficiency, and also achieve the purpose of reducing power consumption of the first electronic device and the second electronic device.
[0322] For example, when the user interface of the first electronic device changes, the image units of the first user interface that have not changed relative to the initial interface can be determined, and then the numbers of these image units can be sent to the second electronic device. In this way, the second electronic device can directly obtain these unchanged image units from the multiple image units of the initial interface previously sent by the first electronic device based on these numbers.
[0323] For another example, the first electronic device and the second electronic device may pre-store multiple static image units, wherein each static image unit has a unique number. The multiple static image units in the second electronic device can be sent from the first electronic device to the second electronic device. For example, the first electronic device sends these static image units to the second electronic device after running the application or when the two establish a connection. After the first electronic device selects the at least one second image unit from the multiple image units obtained after the first user interface is split, it can determine the number of the static image unit in the at least one second image unit based on the multiple static image units pre-stored, and send the number of the static image unit to the second electronic device. In this way, the second electronic device can determine the corresponding static image data based on the number of the received static image unit.
[0324] For another example, if at least one image unit selected by the first electronic device includes a graphic code such as a barcode or a QR code (a static image unit), the first electronic device can perform image recognition on the graphic code to obtain corresponding feature data. After the first electronic device sends the feature data to the second electronic device, the second electronic device can convert the feature data into a graphic code based on the set graphic code generation rules.
[0325] It can be seen from the above description that in implementation method 3, the first information may contain multiple different types of data. Then the first electronic device can use different transmission technologies to transmit different types of data. For example, the first electronic device can transmit the video encoding data of the dynamic image unit through screen projection technology. For another example, the first electronic device can transmit the image data of the static image unit through image transmission technology. For another example, the first electronic device can transmit the number of the static image unit or the feature data after image recognition through the communication connection with the second electronic device; or transmit the entire content of the first information through the communication connection.
[0326] By using any of the above implementations 1 to 3, the second electronic device can display the second user interface of the application on the display screen through communication interaction with the first electronic device, thereby presenting it to the user. In this way, the user can experience the service provided by the second electronic device.
[0327] In addition, to further enhance the user experience, the user can also control the application by operating the second electronic device. That is, the second electronic device can transmit the user's control operation in the second electronic device back to the first electronic device, triggering the first electronic device to execute the corresponding operation instruction. For the specific process, please refer to steps S504-S505 in Figure 5.
[0328] S504: After detecting a second user operation in the second display area, the second electronic device sends user operation information to the first electronic device, wherein the user operation information indicates the second operation. The first electronic device receives the user operation information from the second electronic device.
[0329] S505: The first electronic device executes an operation instruction corresponding to the second operation on the first user interface according to the user operation information.
[0330] In some scenarios, in order to ensure that the first electronic device can accurately execute the operation instruction, the first electronic device can obtain the location of the second operation after it is mapped to the first user interface, so as to execute the operation instruction at that location. Based on this, in the embodiments of the present application, this can be achieved through the following two solutions:
[0331] Solution 1: The user operation information may include a first operation position, wherein the first operation position is the position of the second operation on the second user interface.
[0332] After detecting the second operation of the user in the second display area, the second electronic device may determine the first operation position; and then send the first operation position to the first electronic device along with the user operation information.
[0333] In solution 1, the first electronic device may perform S505 by following the steps below:
[0334] The first electronic device determines a second operation position for a second operation based on the first operation position. The second operation position is a position where the second operation is mapped to the first user interface. The first electronic device then executes an operation instruction corresponding to the second operation on the first user interface based on the second operation position.
[0335] Optionally, the first electronic device may determine the second operation position according to the first operation position and the first interface layout strategy.
[0336] Solution 2: The user operation information may include the second operation position. In this way, the first electronic device may execute the operation instruction corresponding to the second operation on the first user interface according to the second operation position in the user operation information.
[0337] In solution 2, the second electronic device may determine the second operating position through the following steps:
[0338] After detecting the second operation of the user in the second display area, the second electronic device determines a first operation position of the second operation, and then determines a second operation position of the second operation based on the first operation position.
[0339] Optionally, the second electronic device may determine the second operation position according to the first operation position and the first interface layout strategy.
[0340] During implementation, the user operation information may include, in addition to the first operation position or the second operation position, at least one of the following: the operation type of the second operation, the operation instruction corresponding to the second operation, the operation time of the second operation, etc.
[0341] Through S504-S505, the second electronic device can feed back the user's control operation event to the first electronic device so that the first electronic device can execute the corresponding operation instruction. It should be noted that if the first electronic device updates the user interface of the application after executing the operation instruction, the first electronic device can continue to interact with the second electronic device through the above process so that the second electronic device can also synchronously display the updated user interface.
[0342] It should also be noted that, from the above description of S502-S503, it can be seen that in some scenarios, the first electronic device and / or the second electronic device needs to perform the corresponding process in accordance with the unified first interface layout strategy so that the second user interface can be displayed in the second display area of the second electronic device. Since the first interface layout strategy is set for the second display area of the second electronic device. In a scenario where the second electronic device has multiple display modes, when the second electronic device switches the display mode and the area for displaying the user interface in the display screen of the second electronic device is adjusted from the second display area to the third display area, the second electronic device can also adaptively adjust the display content. The specific process can refer to step S506 in Figure 5.
[0343] S506: When the area for displaying the user interface in the display screen of the second electronic device is adjusted to the third display area, the second electronic device displays the third user interface.
[0344] In one implementation, the second electronic device may display the third user interface according to the first information and the second interface layout strategy.
[0345] In another implementation, the second electronic device may notify the first electronic device of the display configuration information of the third display area, so that the first electronic device can determine a second interface layout policy for the third display area of the second electronic device. The first electronic device may then send second information to the second electronic device based on the first user interface and the second interface layout policy, so that the second electronic device can display the third user interface based on the second information. The specific process can be referred to the description of steps S502-S503 and will not be repeated here.
[0346] In the two aforementioned implementations, the second interface layout strategy is configured for the size or shape of the third display area of the application and the second electronic device. The third user interface includes at least a portion of the display content of the first user interface. The third user interface may be different from the second user interface, and the third display area may be different in size and / or shape from the first and second display areas.
[0347] It should be noted that in some scenarios, the second electronic device can display the third user interface through any of the above-mentioned implementation methods; while in other scenarios, the third user interface can only be displayed by the second electronic device through the above-mentioned two implementation methods in combination. For example, in the scenario where the first electronic device sends the first information through implementation method 1, the second electronic device can display the third user interface through the above-mentioned first implementation method. For another example, in the scenario where the first electronic device sends the first information through implementation method 2, the first electronic device and the second electronic device can display the third user interface through the above-mentioned second implementation method. For another example, in the scenario where the first electronic device sends the first information through implementation method 3, in some cases, the first electronic device and the second electronic device need to combine the above-mentioned two implementation methods to realize the display of the third user interface in the second electronic device.
[0348] In combination with the embodiments shown in Figures 4 and 5 above, based on the communication system shown in Figure 1B, the present application also provides several embodiments, as shown in Figures 6, 7, 9 and 10. Among them, application A is installed in the smartphone, while the control of application A is installed in the smartwatch, but application A is not installed. The area used to display the user interface in the smartphone display is the first display area, and the area used to display the user interface in the smartwatch display is the second display area. After the two establish a communication connection, the smartwatch can notify the smartphone of the display configuration information of the second display area (such as the size, shape, and other information of the second display area).
[0349] The process of each embodiment is described below in conjunction with the corresponding drawings.
[0350] Example 1: As shown in Figure 6, according to logical division, a smartphone may include, but is not limited to, the following modules: Application A, virtual screen, interface processing module, coordinate conversion module, screen projection source, and command parsing module. A smartwatch may include, but is not limited to, the following modules: watch display, event parsing module, and screen projection destination. The following describes the functions of each module in conjunction with the specific process of the functional collaboration method provided in Example 1.
[0351] S601: The watch display screen displays a control of application A. The user may start the control of application A. For example, the start operation may be any of the following operations performed by the user on the control: single-click, double-click, long-press, or drag.
[0352] S602: After detecting the startup operation, the watch display generates first event information. The first event information is used to indicate the startup operation. The watch display sends the first event information to the event analysis module.
[0353] S603: The event parsing module parses the received first event information and generates user command information. The user command information is used to instruct the smartphone to run application A. The event parsing module sends the user command information to the command parsing module of the smartphone through the communication connection between the smartwatch and the smartphone.
[0354] Since application A is not installed in the smart watch, the smart watch will not run application A after detecting the startup operation on the watch display.
[0355] S604: The command parsing module runs application A according to the received user command information.
[0356] Optionally, the command parsing module can, but is not limited to, run the application A in any one of the methods 1 to 5 described in S401 in the embodiment shown in FIG4 . The specific process can be referred to the description in S401 and will not be repeated here.
[0357] S605: After application A is run, application A may generate a first user interface of application A on the virtual screen of the smartphone.
[0358] S606: The interface processing module obtains a first user interface from the virtual screen.
[0359] S607: The interface processing module performs image processing on the first user interface to generate a second user interface. The specific processing method of the interface processing module may include scaling or selecting a part for processing.
[0360] Optionally, the interface processing module can determine the processing mode as scaling or selecting local processing according to the first interface layout strategy. Wherein, the description of the first interface layout strategy can refer to the description of the first interface layout strategy in the embodiment described in FIG5 , which will not be repeated here.
[0361] In one embodiment, the interface processing module performs local selection processing on the first user interface. In this embodiment, the interface processing module can select a first target area in the first user interface as the second user interface based on the first interface layout strategy. The first target area is the same size or shape as the second display area.
[0362] Optionally, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0363] In another embodiment, the interface processing module performs scaling processing on the first user interface. In this embodiment, the aspect ratio of the first user interface is the same as the aspect ratio of the second display area. Optionally, in S605, application A can determine the aspect ratio of the second display area based on the display configuration information of the second display area; and generate the first user interface that meets the above conditions on the virtual screen based on the aspect ratio of the second display area.
[0364] S608: The interface processing module sends the second user interface to the screen projection source end.
[0365] S609: The screen projection source transmits the second user interface to the screen projection destination of the smart watch through traditional screen projection technology.
[0366] S610: The screen projection destination transmits the received second user interface to the watch display screen so that the second display area in the watch display screen can display the second user interface.
[0367] S611: The user may perform a control operation on the second user interface displayed in the second display area.
[0368] S612: After detecting the control operation, the watch display generates second event information. The second event information is used to indicate the control operation. The watch display sends the second event information to the event analysis module.
[0369] S613: The event parsing module parses the received second event information and generates user operation information. The user operation information indicates the control operation. The event parsing module transmits the user operation information to the command parsing module of the smartphone via the communication connection between the smartwatch and the smartphone. The user operation information includes a first operation location. The first operation location is the location of the user's control operation in the second user interface.
[0370] Optionally, the user operation information may further include at least one of the operation type of the control operation, the operation instruction corresponding to the control operation, and the operation time of the control operation.
[0371] S614: The command parsing module sends the first operation position in the user operation information to the coordinate conversion module. The coordinate conversion module converts the first operation position into a second operation position based on the first interface layout strategy. The second operation position is the position that maps the control operation to the first user interface. The coordinate conversion module sends the second operation position to the command parsing module.
[0372] S615: The command parsing module updates the second operation position obtained from the coordinate conversion module to the user operation information. The updated user operation information is then sent to application A. Application A then executes the operation instruction corresponding to the control operation on the first user interface based on the updated user operation information.
[0373] Example 2: As shown in Figure 7, according to logical division, a smartphone may include, but is not limited to, the following modules: Application A, virtual screen, coordinate conversion module, screen projection source, and command parsing module. A smartwatch may include, but is not limited to, the following modules: watch display, event parsing module, interface processing module, and screen projection destination. The following describes the functions of each module in conjunction with the specific process of the functional collaboration method provided in Example 2.
[0374] S701-S705 are the same as S601-S605 in Example 1. The same steps can be referenced to each other and will not be described again here.
[0375] S706: The screen projection source obtains the first user interface from the virtual screen.
[0376] S707: The screen projection source transmits the first user interface to the screen projection destination of the smart watch through traditional screen projection technology.
[0377] S708: The screen projection destination transmits the received first user interface to the interface processing module.
[0378] S709: The interface processing module performs image processing on the received first user interface to generate a second user interface. The specific processing method of the interface processing module may include scaling or selecting a part for processing.
[0379] Similar to S607 in the first embodiment, in this step, the interface processing module may also determine a processing method according to the first interface layout strategy. For the specific process, reference may be made to the description in S607, which will not be repeated here.
[0380] S710: The interface processing module transmits the second user interface to the watch display screen, so that the second display area in the watch display screen can display the second user interface.
[0381] S711-S715 are the same as S611-S615 in Example 1. The same steps can be referenced to each other and will not be repeated here.
[0382] The following uses the application scenario shown in FIG8A as an example to illustrate the methods provided in the above-mentioned embodiments 1 and 2. Various applications are installed in the smartphone, such as the main interface of the smartphone in FIG8A, which includes clock, calendar, weather, information, Various applications such as maps and phone calls are installed in the smart watch. As shown in FIG8A, the user interface of the smart watch shows Icons for apps like Maps and Phone.
[0383] Example 1:
[0384] When the user After the application's controls are activated, the smartphone runs The first user interface is generated on the virtual screen of the smartphone. The smartphone can use the method provided in Example 1 to scale the first user interface to obtain a second user interface, and transmit the second user interface to the smartwatch. Alternatively, the smartphone can use the method provided in Example 2 to transmit the first user interface to the smartwatch, and the smartwatch can scale the first user interface to obtain the second user interface. The first user interface and the second application interface are shown in (a) of Figure 8B.
[0385] Finally, the display status of the smartphone and smartwatch is shown in (b) of FIG8B. The smartphone may not display The app's UI is black (e.g., the screen is black), while the smartwatch displays The secondary user interface of the application.
[0386] Example 2:
[0387] When a user activates the map application control on the smartwatch, the smartphone runs the map application and activates the navigation function, generating a first user interface on the smartphone's virtual screen or displaying the first user interface on the display screen. The smartphone can use the method provided in Example 1 to select a local area in the first user interface to obtain a second user interface, and then transmit the second user interface to the smartwatch. Alternatively, the smartphone can use the method provided in Example 2 to transmit the first user interface to the smartwatch, which then selects a local area in the first user interface to obtain the second user interface. The first and second user interfaces are shown in (a) of Figure 8C.
[0388] Finally, the display state of the smart watch is shown in (b) of Figure 8C. The smartphone may not display the user interface of the map application (for example, in a black screen state), while the smart watch displays the second user interface of the map application.
[0389] Example 3: As shown in Figure 9, according to the logical division, the smartphone may include, but is not limited to, the following modules: Application A, virtual screen, interface splitting module, coordinate conversion module, screen projection source, other transmission source, and command parsing module. The smartwatch may include, but is not limited to, the following modules: watch display, event parsing module, interface reorganization module, screen projection destination, and other transmission destination. The following describes the function of each module in conjunction with the specific process of the functional collaboration method provided in this Example 3.
[0390] S901-S905 are the same as S601-S605 in Example 1. The same steps can be referenced to each other and will not be described again here.
[0391] S906: The interface splitting module obtains the first user interface from the virtual screen.
[0392] S907: The interface splitting module splits the first user interface into multiple image units.
[0393] Optionally, the interface splitting module may transmit all of the multiple image units obtained after splitting the first user interface to the smart watch, or may select at least one image unit from the multiple image units according to the first interface layout strategy and transmit it to the smart watch.
[0394] This embodiment is described by taking the example of the interface splitting module transmitting the multiple image units to the smart watch.
[0395] S908: When the multiple image units include a dynamic image unit, the interface splitting module can send the dynamic image unit to the screen projection source end.
[0396] S909: The screen projection source transmits the dynamic image unit to the screen projection destination of the smart watch through traditional screen projection technology.
[0397] S910: The screen projection destination transmits the received dynamic image unit to the interface reorganization module.
[0398] S911: When the multiple image units include a static image unit, the interface splitting module may send the static image unit to other transmission source ends.
[0399] S912: The other transmission source end may transmit the static image unit to the other transmission destination end of the smart watch through other transmission technologies.
[0400] For example, the other transmission source end can transmit the image data of the static image unit through image transmission technology. For another example, the other transmission source end can transmit the number of the static image unit or the feature data after image recognition through the communication connection with other transmission destination ends in the smart watch.
[0401] S913: The other transmission destination end of the smart watch transmits the received static image unit to the interface reorganization module.
[0402] S914: The interface reorganization module performs interface reorganization based on the received multiple image units (including static image units and / or dynamic image units) of the first user interface to obtain a second user interface.
[0403] Optionally, during the execution of S914 by the interface reorganization module, at least one image unit to be displayed on the smartwatch may be selected from the multiple image units according to the first interface layout strategy; image processing may then be performed on the selected at least one image unit according to the first interface layout strategy; and finally, the at least one image unit after image processing may be combined into a second user interface. The specific process of the interface reorganization module executing S914 may be referred to steps S3-2-1 to S3-2-3 in implementation method 3 of the embodiment shown in FIG5 , and will not be further described here.
[0404] S915: The interface reorganization module transmits the second user interface to the watch display screen, so that the second display area in the watch display screen can display the second user interface.
[0405] S916-S920 are the same as S611-S615 in Example 1. The same steps can be referenced to each other and will not be repeated here.
[0406] Example 4: As shown in Figure 10, according to logical division, a smartphone may include, but is not limited to, the following modules: Application A, virtual screen, interface splitting and reassembling module, coordinate conversion module, screen projection source, and command parsing module. A smartwatch may include, but is not limited to, the following modules: watch display, event parsing module, and screen projection destination. The following describes the functions of each module in conjunction with the specific process of the functional collaboration method provided in Example 4.
[0407] S1001-S1005 are the same as S601-S605 in Example 1. The same steps can be referenced to each other and will not be described again here.
[0408] S1006: The interface splitting and reassembling module obtains the first user interface from the virtual screen.
[0409] S1007: The interface splitting and reorganizing module splits the first user interface into multiple image units, and then reorganizes the interface based on the multiple image units to obtain a second user interface.
[0410] Optionally, the interface splitting and reassembling module may select at least one image unit to be displayed on the smartwatch from the plurality of image units according to the first interface layout strategy; then perform image processing on the selected at least one image unit according to the first interface layout strategy; and finally, combine the at least one image unit after image processing into a second user interface. The specific process of the interface reassembling module executing S1007 can be referred to steps S2-2 to S2-3 of implementation method 2 in the embodiment shown in FIG5 , and will not be further described here.
[0411] S1008: The interface is split and reassembled to send the second user interface to the projection source end.
[0412] S1009: The screen projection source transmits the second user interface to the screen projection destination of the smart watch through traditional screen projection technology.
[0413] S1010: The screen projection destination transmits the received second user interface to the watch display screen so that the second display area in the watch display screen can display the second user interface.
[0414] S1011-S1015 are the same as S611-S615 in Example 1. The same steps can be referenced to each other and will not be repeated here.
[0415] Continuing with the application scenario shown in FIG. 8A as an example, the methods provided in the above-mentioned third and fourth embodiments are exemplarily described.
[0416] Example 3:
[0417] When the user activates the phone application control on the smartwatch, the smartphone runs the phone application. After the user operates the smartphone or smartwatch, the phone application provides the user with call services. At this point, the smartphone can generate a first user interface on the virtual screen. The smartphone or smartwatch can then use the process shown in the third or fourth embodiment above to perform interface splitting, image unit selection, image processing, and interface reassembly on the first user interface, and combine at least one image unit after image processing into a second user interface. The specific process can be seen in Figure 11A.
[0418] Finally, the display state of the smartwatch is shown in Figure 11B. At this time, the smartwatch displays the second user interface, while the smartphone may not display the first user interface. To enhance the contrast, Figure 11B also shows the display state of the smartphone in normal state (the figure takes the smartphone displaying the first user interface as an example).
[0419] Example 4:
[0420] When the user After the application's controls are activated, the smartphone runs App, and users can use it to After the application is operated, the WeChat application provides the user with a user information code service. At this point, the smartphone can generate a first user interface on the virtual screen. The smartphone or smartwatch can then use the process shown in the third or fourth embodiment above to split the first user interface, select image units, perform image processing, and then reassemble the interface, combining at least one image unit after image processing into a second user interface. The specific process can be seen in Figure 12A.
[0421] Finally, the display state of the smartwatch is shown in Figure 12B. At this time, the smartwatch displays the second user interface, while the smartphone may not display the first user interface. To enhance the contrast, Figure 12B also shows the display state of the smartphone in normal state (the figure takes the smartphone displaying the first user interface as an example).
[0422] It should be noted that in the above embodiments 1 to 4, the transmission of user interfaces or image units between different modules can be equivalent to the transmission of information indicating the above content. For ease of description, the above embodiments and accompanying drawings directly refer to the transmission of user interfaces or image units. However, the above embodiments do not impose any restrictions on the form of transmission of user interfaces or image units between modules.
[0423] Through any of the above embodiments 1 to 4, the user can run application A in the smartphone by performing operations on the controls of application A on the smart watch, and the smart watch can also display the user interface of application A. Therefore, with the assistance of the smartphone, although the smart watch does not have application A installed, it can display the user interface of application A and provide the user with the functions of application A. In addition, in order to further improve the user experience, the user can also control the smart watch to control application A to execute corresponding operation instructions. Based on this embodiment 2, the functions provided by application A in the smartphone can be extended to the smart watch, realizing the functional collaboration of the smartphone and the smart watch. The solution provided by this embodiment can realize the functional collaboration and functional expansion of electronic devices without considering the constraints of the smart watch on software and hardware resources, avoiding causing large power consumption and memory overhead to the smart watch.
[0424] It should also be noted that each step involved in the above embodiments can be performed by a corresponding device, or by a component such as a chip, processor, or chip system within the device, and the embodiments of the present application do not limit this. The above embodiments are only described as being performed by a corresponding device. In addition, the specific implementation methods or examples in the above embodiments do not limit the solutions provided in the embodiments of the present application.
[0425] It should be noted that in each of the above embodiments, some steps may be selected for implementation, and the order of the steps in the diagrams may be adjusted for implementation, and this application does not limit this. It should be understood that executing some of the steps in the diagrams, adjusting the order of the steps, or combining them for specific implementation all fall within the scope of protection of this application.
[0426] It is understandable that in order to implement the functions in the above embodiments, the various devices involved in the above embodiments include hardware structures and / or software modules corresponding to the execution of each function. It should be readily apparent to those skilled in the art that, in combination with the units and method steps of the various examples 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 scenario and design constraints of the technical solution.
[0427] It can be understood that the above-mentioned network architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new services, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0428] It should be noted that the "steps" in the embodiments of this application are merely illustrative and serve as a method of expression for a better understanding of the embodiments. They do not constitute a substantial limitation on the execution of the solutions of this application. For example, the "steps" can also be understood as "features." Furthermore, the steps do not constitute any limitation on the execution order of the solutions of this application. Any changes to the order of steps, or any operations such as step merging or splitting that do not affect the implementation of the overall solution, resulting in new technical solutions, are also within the scope of this application.
[0429] Based on the same technical concept, the present application also provides an electronic device that can implement the methods provided in the above embodiments. Referring to FIG13 , the electronic device 1300 includes a communication unit 1301 and a processing unit 1302. Optionally, the electronic device 1300 may also include a display screen 1303.
[0430] The display screen 1303 is used to display a user interface.
[0431] The communication unit 1301 is configured to receive and send data. Optionally, the communication unit 1301 may include a transceiver.
[0432] The processing unit 1302 is configured to execute the method provided in the above embodiment through the communication unit 1301 or the display screen 1303 .
[0433] In one embodiment, the electronic device 1300 is used to implement the functions of the first electronic device in the embodiment shown in Figure 4 or Figure 5. The first electronic device has an application installed, and the second electronic device has controls for the application. The processing unit 1302 is used to:
[0434] In response to a first operation of the user on the control on the second electronic device, the application is run, so that the second electronic device displays running information of the application.
[0435] In one possible design, the operation information includes: operation results, operation status information, or user interface.
[0436] In one possible design, when the operation information includes a user interface, the processing unit 1302 is further configured to:
[0437] According to the first user interface of the application, first information is sent to the second electronic device through the communication unit 1301, so that the second electronic device displays the second user interface of the application according to the first information; wherein the second user interface at least includes part of the display content of the first user interface.
[0438] In one possible design, the first display area of the first electronic device and the second display area of the second electronic device are different in size and / or shape, the first display area is the area in the display screen of the first electronic device used to display the user interface, and the second display area is the area in the display screen of the second electronic device used to display the user interface.
[0439] In one possible design, the first information is used to indicate the first user interface or the second user interface;
[0440] The second user interface is the first target area selected in the first user interface, wherein the first target area has the same size or shape as the second display area; or the second user interface is obtained by scaling the first user interface.
[0441] In one possible design, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0442] In one possible design, when the second user interface is obtained by scaling the first user interface, the processing unit 1302 is further configured to:
[0443] receiving, through the communication unit 1301 , display configuration information of the second display area from the second electronic device, and determining an aspect ratio of the second display area according to the display configuration information;
[0444] The first user interface is generated according to the aspect ratio of the second display area.
[0445] In one possible design, when the first information is used to indicate the second user interface, the processing unit 1302 is further configured to:
[0446] splitting the first user interface into a plurality of image units;
[0447] selecting at least one first image unit from the plurality of image units;
[0448] The at least one first image unit is combined into the second user interface.
[0449] In one possible design, the processing unit 1302 is specifically configured to:
[0450] Performing image processing on the at least one first image unit; wherein performing image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, adjusting angle, or adjusting transparency;
[0451] The at least one first image unit after image processing is combined into the second user interface.
[0452] In one possible design, the first information is used to indicate at least one second image unit in the first user interface.
[0453] In one possible design, the processing unit 1302 is further configured to:
[0454] splitting the first user interface into a plurality of image units;
[0455] The at least one second image unit is selected from the plurality of image units.
[0456] In one possible design, when the at least one image unit includes a dynamic image unit, the first information includes video coding data of the dynamic image unit;
[0457] In a case where the at least one first image unit includes a static image unit, the first information includes image data, a serial number, or feature data after image recognition of the static image unit.
[0458] In one possible design, the processing unit 1302 is further configured to:
[0459] receiving user operation information from the second electronic device through the communication unit 1301; wherein the second user operation information is sent when the second electronic device detects a second user operation in the second display area, and the user operation information is used to indicate the second operation;
[0460] An operation instruction corresponding to the second operation is executed on the first user interface according to the user operation information.
[0461] In one possible design, the user operation information includes a first operation position, wherein the first operation position is a position of the second operation in the second user interface;
[0462] The processing unit 1302 is configured to:
[0463] Determining a second operation position for the second operation according to the first operation position; wherein the second operation position is a position where the second operation is mapped to the first user interface;
[0464] According to the second operation position, an operation instruction corresponding to the second operation is executed on the first user interface.
[0465] In a possible design, the user operation information includes a second operation position, wherein the second operation position is a position where the second operation is mapped to the first user interface;
[0466] The processing unit 1302 is configured to:
[0467] An operation instruction corresponding to the second operation is executed on the first user interface according to the second operation position in the user operation information.
[0468] In a possible design, the user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
[0469] In one possible design, the processing unit 1302 is configured to:
[0470] According to the first user interface and the first interface layout strategy, the first information is sent to the second electronic device through the communication unit 1301.
[0471] In one possible design, when the area for displaying the user interface on the display screen of the second electronic device is adjusted to the third display area, the processing unit 1302 is further configured to:
[0472] According to the first user interface and the second interface layout strategy, sending second information to the second electronic device through the communication unit 1301, so that the second electronic device displays a third user interface according to the second information;
[0473] The third user interface at least includes part of the display content of the first user interface; the third display area is different in size and / or shape from the first display area and the second display area.
[0474] In one possible design, the processing unit 1302 is further configured to:
[0475] The first user interface is generated on a virtual screen.
[0476] In a possible design, the first operation is any one of the following operations performed by the user on the control: single-click, double-click, long press, and drag.
[0477] In one possible design, the processing unit 1302 is configured to:
[0478] receiving user command information from the second electronic device through the communication unit 1301; wherein the user command information is sent by the second electronic device after detecting the first operation, and the user command information is used to instruct the first electronic device to run the application;
[0479] The application is run according to the user command information.
[0480] In one possible design, the icon of the control is the same as the icon of the application on the first electronic device.
[0481] In one possible design, performance of the first electronic device is better than performance of the second electronic device.
[0482] In one possible design, the first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
[0483] In one embodiment, the electronic device 1300 is used to implement the functions of the second electronic device in the embodiment shown in Figure 4 or Figure 5. The first electronic device has an application installed, and the second electronic device has controls for the application. The processing unit 1302 is used to:
[0484] After the first electronic device runs the application in response to the user's first operation on the control on the second electronic device, the running information of the application is displayed on the display screen 1303.
[0485] In one possible design, the operation information includes: operation results, operation status information, or user interface.
[0486] In one possible design, when the operation information includes a user interface, the processing unit 1302 is further configured to:
[0487] receiving, through the communication unit 1301, first information from the first electronic device; wherein the first information is sent by the first electronic device according to the first user interface of the application;
[0488] According to the first information, a second user interface of the application is displayed on the display screen 1303; wherein the second user interface at least includes part of the display content of the first user interface.
[0489] In one possible design, the first display area of the first electronic device and the second display area of the second electronic device are different in size and / or shape, the first display area is the area in the display screen of the first electronic device used to display the user interface, and the second display area is the area in the display screen 1303 of the second electronic device used to display the user interface.
[0490] In one possible design, the first information is used to indicate the first user interface or the second user interface;
[0491] The second user interface is the first target area selected in the first user interface, wherein the first target area has the same size or shape as the second display area; or the second user interface is obtained by scaling the first user interface.
[0492] In one possible design, the first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to the initial interface, or content in the first user interface that has changed relative to the initial interface.
[0493] In one possible design, when the second user interface is obtained by scaling the first user interface, the processing unit 1302 is further configured to:
[0494] The display configuration information of the second display area is sent to the first electronic device through the communication unit 1301, so that the first electronic device determines the aspect ratio of the second display area according to the display configuration information.
[0495] In one possible design, the first information is used to indicate at least one second image unit in the first user interface; and the processing unit 1302 is further configured to:
[0496] The at least one second image unit indicated by the first information is combined into the second user interface.
[0497] In one possible design, when the at least one second image unit includes a dynamic image unit, the first information includes video coding data of the dynamic image unit;
[0498] In a case where the at least one second image unit includes a static image unit, the first information includes image data, a serial number, or feature data after image recognition of the static image unit.
[0499] In one possible design, the processing unit 1302 is configured to:
[0500] selecting at least one third image unit from the at least one second image unit;
[0501] Performing image processing on the at least one third image unit; wherein performing image processing on any third image unit includes at least one of the following operations: adjusting size, adjusting position, adjusting color, modulating angle, or adjusting transparency;
[0502] The at least one third image unit after image processing is combined into the second user interface.
[0503] In one possible design, the processing unit 1302 is further configured to:
[0504] After detecting the user's second operation in the second display area, the user operation information is sent to the first electronic device through the communication unit 1301, so that the first electronic device executes the operation instructions corresponding to the second operation on the first user interface according to the user operation information; wherein, the user operation information is used to indicate the second operation.
[0505] In one possible design, the user operation information includes a first operation position, wherein the first operation position is the position of the second operation in the second user interface.
[0506] In one possible design, the processing unit 1302 is configured to:
[0507] After detecting a second operation of the user in the second display area, determining a first operation position of the second operation; wherein the first operation position is a position of the second operation in the second user interface;
[0508] Determining a second operation position for the second operation according to the first operation position; wherein the second operation position is a position where the second operation is mapped to the first user interface;
[0509] The user operation information including the second operation position is sent to the first electronic device through the communication unit 1301.
[0510] In a possible design, the user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
[0511] In one possible design, the processing unit 1302 is configured to:
[0512] The second user interface is displayed according to the first information and the first interface layout strategy.
[0513] In one possible design, when the area for displaying the user interface in the display screen 1303 of the second electronic device is adjusted to the third display area, the processing unit 1302 is further configured to:
[0514] Displaying a third user interface on the display screen 1303 according to the first information and the second interface layout strategy;
[0515] The third user interface at least includes part of the display content of the first user interface; the third display area is different in size and / or shape from the first display area and the second display area.
[0516] In a possible design, the first operation is any one of the following operations performed by the user on the control: single-click, double-click, long press, and drag.
[0517] In one possible design, the processing unit 1302 is further configured to:
[0518] After detecting the first operation, user command information is sent to the first electronic device through the communication unit 1301; wherein the user command information is used to instruct the first electronic device to run the application.
[0519] In one possible design, the processing unit 1302 is further configured to: not run the application when the user performs the first operation on the control on the second electronic device.
[0520] In one possible design, the icon of the control is the same as the icon of the application on the first electronic device.
[0521] In one possible design, performance of the first electronic device is better than performance of the second electronic device.
[0522] In one possible design, the first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
[0523] It should be noted that the division of modules in the embodiments of the present application is illustrative and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0524] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.
[0525] Based on the same technical concept, this application also provides an electronic device that can implement the methods provided in each of the above embodiments. Referring to FIG14 , electronic device 1400 includes: at least one processor 1401, memory 1402, transceiver 1403, and display 1404. For example, these components can be connected via one or more communication buses.
[0526] The at least one processor 1401 is coupled to the memory 1402 and is configured to read the computer program stored in the memory to execute the methods provided in the above embodiments.
[0527] For example, the at least one processor 1401 may be the processor 210 shown in FIG. 2A . The memory 1402 may be the internal memory 221 shown in FIG. 2A and / or an external memory connected to the electronic device. The transceiver 1403 may be the mobile communication module 250 and / or the wireless communication module 260 shown in FIG. 2A . The display screen 1404 may be the display screen 294 shown in FIG. 2A , and this embodiment of the present application does not impose any limitation thereto.
[0528] Based on the above embodiments, the embodiments of the present application further provide a computer program product, which includes a computer program; when the computer program runs on a computer, the computer executes the method provided in the above embodiments.
[0529] Based on the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in the above embodiments.
[0530] Optionally, the above-mentioned computer may include, but is not limited to, electronic devices.
[0531] The storage medium may be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0532] Based on the above embodiments, embodiments of the present application further provide a chip configured to read a computer program stored in a memory to implement the methods provided in the above embodiments. Optionally, the chip may include a processor and a memory, wherein the processor is coupled to the memory to read the computer program stored in the memory to implement the methods provided in the above embodiments.
[0533] Based on the above embodiments, embodiments of the present application provide a chip system, which includes a processor for supporting a computer device to implement the functions involved in the electronic device in the above embodiments. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.
[0534] In summary, an embodiment of the present application provides a method for functional collaboration and an electronic device. In this method, an application is installed in a first electronic device, and a control of the application is installed in a second electronic device; when a user performs an operation on a control on the second electronic device, the first electronic device runs the application in response to the operation; and the second electronic device can display the running information of the application to provide the user with the functions of the application. Through this method, the user can run the application in the first electronic device by operating the second electronic device, and the second electronic device can display the running information of the application running in the first electronic device. Therefore, with the assistance and cooperation of the first electronic device, the second electronic device can display the running information of the application of the first electronic device, that is, realize the function of the application in the first electronic device. Based on this solution, the function of the first electronic device can be extended to the second electronic device, realizing the functional collaboration of the two electronic devices. In summary, the solution provided by the present application can realize the functional collaboration and functional expansion of electronic devices without considering the software and hardware resource constraints of the electronic device, avoiding causing large power consumption and memory overhead to the electronic device.
[0535] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0536] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.
[0537] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0538] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0539] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A functional collaboration method, characterized in that: Applied to a first electronic device, the first electronic device is installed with an application, the first electronic device is communicatively connected with a second electronic device, and the second electronic device is installed with a control of the application, the method includes: The first electronic device runs the application in response to a first operation of the user on the control on the second electronic device, so that the second electronic device displays running information of the application.
2. The method according to claim 1, characterized in that The operation information includes: operation results, operation status information, or user interface.
3. The method according to claim 2, characterized in that In the case where the operation information includes a user interface, the method further includes: The first electronic device sends first information to the second electronic device based on the first user interface of the application, so that the second electronic device displays the second user interface of the application based on the first information; wherein the second user interface at least includes part of the display content of the first user interface.
4. The method according to claim 3, characterized in that The first display area of the first electronic device and the second display area of the second electronic device have different sizes and / or shapes. The first display area is an area in the display screen of the first electronic device used to display the user interface, and the second display area is an area in the display screen of the second electronic device used to display the user interface.
5. The method according to claim 4, characterized in that The first information is used to indicate the first user interface or the second user interface; The second user interface is a first target area selected in the first user interface, wherein the first target area is the same size or shape as the second display area; or The second user interface is obtained by scaling the first user interface.
6. The method according to claim 5, characterized in that The first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to an initial interface, or content in the first user interface that has changed relative to an initial interface.
7. The method according to claim 5, characterized in that In a case where the second user interface is obtained by scaling the first user interface, the method further includes: The first electronic device receives display configuration information of the second display area from the second electronic device, and determines the aspect ratio of the second display area according to the display configuration information; The first electronic device generates the first user interface according to the aspect ratio of the second display area.
8. The method according to claim 5, characterized in that In a case where the first information is used to indicate the second user interface, the method further includes: The first electronic device splits the first user interface into a plurality of image units; The first electronic device selects at least one first image unit from the plurality of image units; The first electronic device combines the at least one first image unit into the second user interface.
9. The method according to claim 8, characterized in that The first electronic device combines the at least one first image unit into the second user interface, including: The first electronic device performs image processing on the at least one first image unit; wherein the image processing on any third image unit includes at least one of the following operations: adjusting the size, adjusting the position, adjusting the color, adjusting the angle, or adjusting the transparency; The first electronic device combines the at least one first image unit after image processing into the second user interface.
10. The method according to claim 4, characterized in that The first information is used to indicate at least one second image unit in the first user interface.
11. The method according to claim 10, characterized in that The method further comprises: The first electronic device splits the first user interface into a plurality of image units; The first electronic device selects the at least one second image unit from among the plurality of image units.
12. The method according to claim 10 or 11, characterized in that In the case where the at least one second image unit includes a dynamic image unit, the first information includes video encoding data of the dynamic image unit; In the case where the at least one second image unit includes a static image unit, the first information includes the static image unit. The image data, number or feature data after image recognition.
13. The method according to any one of claims 4 to 12, characterized in that: The method further comprises: The first electronic device receives user operation information from the second electronic device; wherein the second user operation information is sent when the second electronic device detects a second operation of the user in the second display area, and the user operation information is used to indicate the second operation; The first electronic device executes an operation instruction corresponding to the second operation on the first user interface according to the user operation information.
14. The method according to claim 13, characterized in that The user operation information includes a first operation position, wherein the first operation position is a position of the second operation in the second user interface; The first electronic device executes, on the first user interface according to the user operation information, an operation instruction corresponding to the second operation, including: The first electronic device determines a second operation position of the second operation according to the first operation position; wherein the second operation position is a position where the second operation is mapped to the first user interface; The first electronic device executes an operation instruction corresponding to the second operation on the first user interface according to the second operation position.
15. The method according to claim 14, characterized in that The user operation information includes a second operation position, wherein the second operation position is a position where the second operation is mapped to the first user interface; The first electronic device executes, on the first user interface according to the user operation information, an operation instruction corresponding to the second operation, including: The first electronic device executes an operation instruction corresponding to the second operation on the first user interface according to the second operation position in the user operation information.
16. The method according to any one of claims 13 to 15, characterized in that: The user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
17. The method according to any one of claims 4 to 16, characterized in that: The first electronic device sending first information to the second electronic device according to the first user interface of the application program includes: The first electronic device sends the first information to the second electronic device according to the first user interface and a first interface layout strategy.
18. The method according to claim 17, characterized in that In a case where the area for displaying the user interface in the display screen of the second electronic device is adjusted to a third display area, the method further includes: The first electronic device sends second information to the second electronic device according to the first user interface and the second interface layout strategy, so that the second electronic device displays a third user interface according to the second information; The third user interface at least includes part of the display content of the first user interface; and the third display area is different in size and / or shape from the first display area and the second display area.
19. The method according to any one of claims 3 to 18, characterized in that: The method further comprises: The first electronic device generates the first user interface on a virtual screen.
20. The method according to any one of claims 1 to 19, characterized in that The first operation is any one of the following operations performed by the user on the control: single click, double click, long press, and drag.
21. The method according to any one of claims 1 to 20, characterized in that The first electronic device runs the application in response to a first operation of the user on the control on the second electronic device, including: The first electronic device receives user command information from the second electronic device; wherein the user command information is sent by the second electronic device after detecting the first operation, and the user command information is used to instruct the first electronic device to run the application; The first electronic device runs the application according to the user command information.
22. The method according to any one of claims 1 to 21, characterized in that The icon of the control is the same as the icon of the application on the first electronic device.
23. The method according to any one of claims 1 to 22, characterized in that The performance of the first electronic device is superior to the performance of the second electronic device.
24. The method according to any one of claims 1 to 23, characterized in that The first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
25. A functional collaboration method, characterized in that: Applied to a second electronic device, the second electronic device is communicatively connected to a first electronic device, the first electronic device is installed with an application, and the second electronic device is installed with a control of the application, the method includes: After the first electronic device runs the application in response to the user's first operation on the control on the second electronic device, the second electronic device displays running information of the application.
26. The method of claim 25, wherein: The operation information includes: operation results, operation status information, or user interface.
27. The method of claim 26, wherein: In the case where the operation information includes a user interface, the method further includes: The second electronic device receives first information from the first electronic device; wherein the first information is sent by the first electronic device according to a first user interface of the application; The second electronic device displays a second user interface of the application according to the first information; wherein the second user interface at least includes part of the display content of the first user interface.
28. The method of claim 27, wherein: The first display area of the first electronic device and the second display area of the second electronic device have different sizes and / or shapes. The first display area is an area in the display screen of the first electronic device used to display the user interface, and the second display area is an area in the display screen of the second electronic device used to display the user interface.
29. The method of claim 28, wherein: The first information is used to indicate the first user interface or the second user interface; The second user interface is a first target area selected in the first user interface, wherein the first target area is the same size or shape as the second display area; or The second user interface is obtained by scaling the first user interface.
30. The method of claim 29, wherein: The first target area includes: a focus area in the first user interface, content in the first user interface that has not changed relative to an initial interface, or content in the first user interface that has changed relative to an initial interface.
31. The method of claim 29, wherein: In a case where the second user interface is obtained by scaling the first user interface, the method further includes: The second electronic device sends display configuration information of the second display area to the first electronic device, so that the first electronic device determines the aspect ratio of the second display area according to the display configuration information.
32. The method of claim 28, wherein: The first information is used to indicate at least one second image unit in the first user interface; the method further includes: The second electronic device combines the at least one second image unit indicated by the first information into the second user interface.
33. The method of claim 32, wherein: In the case where the at least one second image unit includes a dynamic image unit, the first information includes video encoding data of the dynamic image unit; In the case where the at least one second image unit includes a static image unit, the first information includes image data, a serial number or feature data after image recognition of the static image unit.
34. The method according to claim 32 or 33, characterized in that The second electronic device combines the at least one first image unit indicated by the first information into the second user interface, including: The second electronic device selects at least one third image unit from the at least one second image unit; The second electronic device performs image processing on the at least one third image unit; wherein the image processing on any third image unit includes at least one of the following operations: adjusting the size, adjusting the position, adjusting the color, modulating the angle, or adjusting the transparency; The second electronic device combines the at least one third image unit after image processing into the second user interface.
35. The method according to any one of claims 28 to 34, characterized in that The method further comprises: After the second electronic device detects the user's second operation in the second display area, it sends user operation information to the first electronic device, so that the first electronic device executes the operation instruction corresponding to the second operation on the first user interface according to the user operation information; wherein the user operation information is used to indicate the second operation.
36. The method of claim 35, wherein: The user operation information includes a first operation position, wherein the first operation position is a position of the second operation in the second user interface.
37. The method of claim 35, wherein: After the second electronic device detects the second operation of the user in the second display area, sending the user operation information to the first electronic device includes: After the second electronic device detects the second operation of the user in the second display area, it determines a first operation position of the second operation; wherein the first operation position is a position of the second operation in the second user interface; The second electronic device determines a second operation position of the second operation according to the first operation position; wherein the second operation position is a position where the second operation is mapped to the first user interface; The second electronic device sends the user operation information including the second operation position to the first electronic device.
38. The method according to any one of claims 35 to 37, characterized in that The user operation information further includes at least one of the following: operation type, operation instruction corresponding to the second operation, and operation time.
39. The method according to any one of claims 28 to 38, characterized in that The second electronic device displays a second user interface of the application according to the first information, including: The second electronic device displays the second user interface according to the first information and the first interface layout strategy.
40. The method of claim 39, wherein: In a case where the area for displaying the user interface in the display screen of the second electronic device is adjusted to a third display area, the method further includes: The second electronic device displays a third user interface according to the first information and the second interface layout strategy; The third user interface at least includes part of the display content of the first user interface; and the third display area is different in size and / or shape from the first display area and the second display area.
41. The method according to any one of claims 25 to 40, characterized in that The first operation is any one of the following operations performed by the user on the control: single click, double click, long press, and drag.
42. The method according to any one of claims 25 to 41, characterized in that The method further comprises: After detecting the first operation, the second electronic device sends user command information to the first electronic device; wherein the user command information is used to instruct the first electronic device to run the application.
43. The method according to any one of claims 25 to 42, characterized in that The method further includes: in a case where the user performs the first operation on the control on the second electronic device, the second electronic device does not run the application.
44. The method according to any one of claims 25 to 43, characterized in that The icon of the control is the same as the icon of the application on the first electronic device.
45. The method according to any one of claims 25 to 44, characterized in that The performance of the first electronic device is superior to the performance of the second electronic device.
46. The method according to any one of claims 25 to 45, characterized in that The first electronic device is a smart phone, and the second electronic device is a smart wearable device or a smart home device.
47. A functional collaboration method, characterized in that: Applied to a communication system consisting of a first electronic device and a second electronic device, wherein the first electronic device is installed with an application, and the second electronic device is installed with a control of the application, the method comprising: The first electronic device runs the application in response to a first operation of the user on the control on the second electronic device; The second electronic device displays the running information of the application.
48. A first electronic device, characterized in that: include: a communication unit and a processing unit; The communication unit is used to receive and send data; The processing unit is used to execute the method according to any one of claims 1-24.
49. A second electronic device, characterized in that: include: Display screen, communication unit and processing unit; The display screen is used to display a user interface; The communication unit is used to receive and send data; The processing unit is used to execute the method as described in any one of claims 25-46.
50. A first electronic device, characterized in that: include: at least one processor and memory; The at least one processor is coupled to the memory, and the at least one processor is configured to read a computer program stored in the memory to execute the method according to any one of claims 1 to 24.
51. A second electronic device, characterized in that: include: a display screen, at least one processor and a memory; The at least one processor is coupled to the memory, and the at least one processor is configured to read the computer program stored in the memory to execute the method according to any one of claims 25-46.
52. A communication system, characterized in that: include: The first electronic device as claimed in claim 50, and the second electronic device as claimed in claim 51.
53. A chip, characterized in that: include: Processor and memory; The processor is coupled to the memory, and the processor is used to call the computer program stored in the memory during runtime to implement the method according to any one of claims 1-46.
54. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 46.
Citation Information
Patent Citations
Multi-device interaction method and system
CN111666075A
Collaborative window processing method and system and electronic equipment
CN113873679A
Cooperative control method and system between electronic equipments
CN113938743A
Operation control method and device and electronic equipment
CN114679511A
