Task processing method, communication apparatus, storage medium, and program product

By sharing software functions across devices, and utilizing the software functions of other electronic devices to proxy the processing of local tasks, the problem of cumbersome operation of electronic devices when they lack software functions is solved, thereby improving task processing efficiency and user convenience.

WO2026061233A1PCT designated stage Publication Date: 2026-03-26ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-08-27
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

In the existing technology, electronic devices need to download or copy software when they lack software functions, which makes operation cumbersome, increases deployment load, reduces task processing efficiency, and makes it impossible to achieve cross-device software function sharing.

Method used

By using software functions from other electronic devices to proxy local tasks, cross-device software function sharing can be achieved, reducing the processing load and deployment costs of local software functions.

Benefits of technology

It improves user convenience and efficiency, reduces the time and money costs of downloading new software, reduces local storage and computing pressure, and enhances task processing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025117364_26032026_PF_FP_ABST
    Figure CN2025117364_26032026_PF_FP_ABST
Patent Text Reader

Abstract

A task processing method, a communication apparatus, a storage medium, and a program product. The method is applied to a first electronic device, and comprises: acquiring a task to be processed; processing said task by using a target software function of a second electronic device in a shared software function set, wherein the shared software function set comprises software functions shared by a preset electronic device for use by the first electronic device, and the target software function is a software function, used for processing said task, in the shared software function set; and receiving a processing result of said task sent by the second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Task processing method, communication apparatus, storage medium and program product

[0001] The present disclosure claims priority to Chinese Patent Application No. 202411311012.6, filed on September 19, 2024, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present disclosure relates to the field of communication technology, and in particular to a task processing method, a communication apparatus, a storage medium and a program product. BACKGROUND

[0003] A software function, as a specific ability and role provided by a computer program or an application program, can meet various task requirements of a user, such as a document editing requirement, an audio playing requirement and an image processing requirement. SUMMARY

[0004] In one aspect, a task processing method is provided, which is applied to a first electronic device and includes: obtaining a to-be-processed task; processing the to-be-processed task by using a target software function of a second electronic device in a shared software function set, the shared software function set including software functions shared by a preset electronic device for use by the first electronic device, and the target software function being a software function in the shared software function set for processing the to-be-processed task; and receiving a processing result of the to-be-processed task sent by the second electronic device.

[0005] In another aspect, a task processing method is provided, which is applied to a second electronic device and includes: processing a to-be-processed task of a first electronic device based on a target software function shared with the first electronic device; and sending a processing result of the to-be-processed task to the first electronic device.

[0006] In yet another aspect, a task processing apparatus is provided, which is applied to a first electronic device and includes an obtaining module, a processing module and a receiving module.

[0007] The obtaining module is configured to obtain a to-be-processed task. The processing module is configured to process the to-be-processed task by using a target software function of a second electronic device in a shared software function set, the shared software function set including software functions shared by a preset electronic device for use by the first electronic device, and the target software function being a software function in the shared software function set for processing the to-be-processed task. The receiving module is configured to receive a processing result of the to-be-processed task sent by the second electronic device.

[0008] In yet another aspect, a task processing apparatus is provided, which is applied to a second electronic device and includes a processing module and a sending module.

[0009] The processing module is configured to process a to-be-processed task of the first electronic device based on a target software function shared with the first electronic device. The sending module is configured to send a processing result of the to-be-processed task to the first electronic device.

[0010] In another aspect, a communication apparatus is provided, which includes a memory and a processor. The memory and the processor are coupled. The memory is configured to store a computer program. The processor implements the task processing method described above when executing the computer program.

[0011] In another aspect, a computer readable storage medium is provided, which stores computer program instructions. The computer program instructions are executed by a processor to implement the task processing method described above.

[0012] In another aspect, a computer program product is provided, which includes computer program instructions. The computer program instructions are executed to implement the task processing method described above. BRIEF DESCRIPTION OF DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the present disclosure, the following will briefly introduce the drawings needed to be used in some embodiments of the present disclosure. Obviously, the drawings described in the following are only some of the drawings of the present disclosure, and other drawings can also be obtained by those skilled in the art according to these drawings.

[0014] FIG. 1 is a schematic diagram of a communication system according to some embodiments.

[0015] FIG. 2 is an architecture diagram of a system of an electronic device according to some embodiments.

[0016] FIG. 3 is a flowchart of a task processing method according to some embodiments.

[0017] FIG. 4 is a flowchart of another task processing method according to some embodiments.

[0018] FIG. 5 is a flowchart of another task processing method according to some embodiments.

[0019] FIG. 6 is a flowchart of a software capability registration according to some embodiments.

[0020] FIG. 7 is a task processing flowchart of a local device according to some embodiments.

[0021] FIG. 8 is a task agent flowchart of a remote device according to some embodiments.

[0022] FIG. 9 is a block diagram of a task processing apparatus according to some embodiments.

[0023] FIG. 10 is another block diagram of a task processing apparatus according to some embodiments.

[0024] Figure 11 is a block diagram three of a task processing device according to some embodiments. DETAILED DESCRIPTION

[0025] The technical solutions in the present disclosure will be described clearly and completely below in combination with the drawings in the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present disclosure.

[0026] It should be noted that in the present disclosure, the words such as "exemplarily" or "for example" are used to represent as an example, illustration or description. Any embodiment or design scheme described as "exemplarily" or "for example" in the present disclosure should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. In fact, the words such as "exemplarily" or "for example" are intended to present the relevant concept in a specific way.

[0027] Hereinafter, the terms "first", "second" are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features.

[0028] In the description of the present disclosure, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this document is only a description of the association between the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, "at least one" means one or more, and "multiple" means two or more.

[0029] Multi-device interconnection and interworking is the development direction of terminal devices at present. In multi-device collaborative services, the current products pay more attention to the sharing of devices, files and the like, including hardware sharing, such as cameras, mice and keyboards. However, there is no sharing of software capabilities (i.e. software functions), so that the software capabilities of each device cannot be complementary. For example, in two devices (such as device A and device B) in a multi-device collaborative system, there is a file F on device A, but there is no software on device A to open the file F. If the user directly opens the file, it will fail. In order to open the file F, it is necessary to download the corresponding software on device A, or copy the file to other devices that support the file format to open it, which will bring inconvenience to the user's use.

[0030] The existing software function sharing method is as follows:

[0031] 1. Software copying and sharing between devices is essentially a form of file sharing, where the installation program is copied from one device to another. For example, to allow devices to copy software without needing to search for it on the network, software can be copied between two devices.

[0032] However, if the two devices have different operating systems, they cannot share resources. Furthermore, the process is too cumbersome for users; it's not a sharing of software capabilities, but merely a sharing of software files.

[0033] 2. Screen mirroring allows an application to be opened on device A and its display and operations to be projected onto another device B. For example, a virtual screen can be launched on device B, an application can be launched and displayed on that virtual screen, and then the data from the virtual screen can be sent to device A for display. The only difference is that the content projected and displayed on device B are different. Essentially, it's sharing the display and peripheral devices. Opening a file on device B does not share the software capabilities of device A, and the software opening is initiated by device B, not device A. Therefore, opening a file on device A will fail.

[0034] In summary, if the electronic device does not have the software function corresponding to the user's task requirements deployed, the electronic device can only process the task requirements after the software function is deployed. This will increase the deployment load of the electronic device and the processing latency of the task requirements, and reduce the efficiency of task processing.

[0035] Based on this, to solve the aforementioned technical problems, this disclosure provides a task processing method applied to task requirement processing scenarios of electronic devices. By utilizing software functions on other electronic devices, task data on this electronic device is processed to obtain corresponding processing results, thereby achieving cross-device software function sharing. In this way, the processing load of the software functions in this electronic device can be reduced, or the deployment cost of the software functions for processing task data can be reduced, through the software functions of other electronic devices. Thus, by expanding the software capabilities of the local device without the user's awareness, the time and money costs of downloading new software are reduced, and the security issues associated with downloading new software are mitigated to some extent, improving user convenience and efficiency. It also reduces the storage and computing pressure on the local device, allowing other idle devices to run, improving the performance of task processing on the local device, and increasing task processing efficiency.

[0036] The network architecture of the mobile communication network (including but not limited to the second generation mobile communication technology (2th generation mobile communication technology, 2G), the third generation mobile communication technology (3th generation mobile communication technology, 3G), the fourth generation mobile communication technology (4th generation mobile communication technology, 4G), the fifth generation mobile communication technology (5th generation mobile communication technology, 5G) and the future mobile communication network (such as the evolution of the fifth generation mobile communication technology (5th generation mobile communication technology Advanced, 5G-A), the sixth generation mobile communication technology (6th generation mobile communication technology, 6G))) in the embodiments of the present disclosure can at least include a first electronic device and a second electronic device. It should be understood that in the present example, the first electronic device can be a terminal side device (including but not limited to a terminal), and the second electronic device can be a network (network, NW) side device (including but not limited to a base station). In device-to-device communication, both the first electronic device and the second electronic device can be a base station or a terminal. The first electronic device and the second electronic device can be referred to as the first device and the second device, respectively.

[0037] Exemplarily, as shown in FIG. 1, a communication system schematic diagram provided by the embodiments of the present disclosure can include a first electronic device 101 and a second electronic device 102. The first electronic device 101 and the second electronic device 102 can be connected through wireless (such as device local area networking) or through wired (such as universal serial bus (universal serial bus, USB)) connection, and the second electronic device 102 can be one or more, without limitation on the number.

[0038] Here, the second electronic device 102 can share multiple software functions with the first electronic device 101. After that, in the case that the first electronic device 101 does not have a software function for processing a to-be-processed task (or the software function for processing the to-be-processed task is in an abnormal state), the first electronic device 101 can use a target software function corresponding to the to-be-processed task in the multiple software functions shared by the second electronic device 102 to proxy the first electronic device 101 to process the to-be-processed task by the target software function of the second electronic device 102. Then the second electronic device 102 can feed back a processing result of the to-be-processed task to the first electronic device 101, and the first electronic device 101 can locally display the processing result of the to-be-processed task generated by the second electronic device 102.

[0039] Exemplarily, the multi-device collaboration software on the device A sends the software capabilities on its own system to the device B in the multi-device system. The device B can also actively query the capabilities of the device A. After receiving the software capabilities of the device A, the device B changes the software capabilities into its own capabilities, informs the device system, and registers the capabilities. When the device A opens a file F, if the local end does not have the software, but the device B has the software. Then it is found that the multi-device collaboration software can open the file. The multi-device collaboration software sends the data stream of the file to the device B, the device B opens the file using its own software, and then transmits the picture and audio data back to the device A, the device A displays the pictures and sounds, and sends the related keyboard and mouse operations to the device B, the device B receives the operation instructions and completes the operation. The sharing of the software capabilities is completed, that is, the device A can open a file format not supported by the local end.

[0040] That is, the embodiment of the present disclosure mainly increases the sharing of software capabilities of each device on the basis of multi-device collaboration, rather than the sharing of software itself. The device added to the multi-device collaboration service registers its software capabilities to the multi-device collaboration software of other devices, the multi-device collaboration software converts the software capabilities into its own capabilities, and registers the capabilities in the device system, so that the system knows that it has these newly added software capabilities. After that, when a user opens a file, it is found that the multi-device collaboration supports the opening of the file, requests the multi-device collaboration software to open the file, and the multi-device collaboration requests the corresponding device A to open the file, and at the same time transmits the file data stream to the device A through the network file system. After the device A opens the file, the data stream of the screen is sent to the opposite end, and then the opposite end completes the display.

[0041] It should be noted that the file in the above example is not limited to various data stored in the device, such as documents, pictures, videos, audio, etc., but also includes network resources, etc.

[0042] In addition, the opening of the file in the above example can also mean running. Opening includes file playing, file content display, function display, editing, etc.

[0043] In addition, in the above examples, device A shares the software capabilities of device B. However, in the implementation process, it is not limited to two devices, and it is not limited to one-way sharing; a device can share capabilities with all other devices, and can also receive software capabilities shared by all other devices.

[0044] That is, the first electronic device 101 can use the software function shared by the second electronic device 102 to process tasks in the first electronic device 101, and the second electronic device 102 can also use the software function shared by the first electronic device 101 to process tasks in the second electronic device 102.

[0045] It should be noted that the electronic device (such as the first electronic device 101 and the second electronic device 102) can be a terminal or a base station.

[0046] Here, the base station (base station, BS) can be a base station in long term evolution (long term evolution, LTE) or long term evolution advanced (long term evolution advanced, LTEA) or an evolved base station (evolutional node B, eNB or eNodeB), a base station device (gNB) in a 5G network, or a base station in a future communication system, etc. The base station can include various macro base stations, micro base stations, home base stations, wireless remote, reconfigurable intelligent surfaces (reconfigurable intelligent surfaces, RISs), routers, relay stations, transmission and reception points (transmission and reception point, TRP), receivers, access points, wireless fidelity (wireless fidelity, WIFI) devices, and various network side devices. The base station can also be referred to as a reader for communication with the terminal.

[0047] The terminal can be a device with wireless transceiving function. The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiving function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiments of the present disclosure do not limit the application scenarios. The terminal can also be referred to as a user, a user equipment (UE), an artificial intelligence internet of things (A-IoT) device, an access terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a transmitter, a remote terminal, a mobile device, a UE terminal, a wireless communication device, a UE agent or a UE apparatus, etc. The embodiments of the present disclosure do not limit this.

[0048] It should be noted that FIG. 1 is only an exemplary framework diagram, the number of devices included in FIG. 1, and the names of the respective devices are not limited, and in addition to the devices shown in FIG. 1, the communication system can also include other devices, such as core network devices.

[0049] In some embodiments, as shown in FIG. 2, a system architecture diagram in an electronic device (such as the first electronic device 101 or the second electronic device 102) is shown, which includes:

[0050] The terminal capability acquisition module 201 is configured to acquire the software capability of the system in which the device is located (i.e. the software function in the system of the device). The result of acquisition can be: software name, version number, supported international mobile equipment identity (IMEI) type list.

[0051] The terminal capability sending and receiving module 202 is configured to package and send the software capability list (i.e. all software functions shared outside the system of the device), and receive the capability list sent by the opposite end (i.e. the software functions shared outside the system of the other device), and perform analysis, and transmit the analysis result to the capability registration module 203. In addition, the terminal capability sending and receiving module 202 also has the function of querying the capability of the other device.

[0052] The capability registration module 203 is configured to analyze the capability (i.e., the software function) of the opposite end and convert the capability (i.e., the software function) into the capability of the multi-device collaboration software, and register the capability into the system, so that the system can identify that the multi-device collaboration software has a new capability. In addition, the capability registration module 203 can also dynamically delete and add the capability, and according to the judgment of the network environment and the busy condition of the opposite end, decide which capability of the device to register or remove.

[0053] The file operation module 204 is configured to receive the file opening operation sent by the opposite end, start the appropriate software S, and obtain the remote file data stream (i.e., the task data of the to-be-processed task) through the network file system module 205 and transmit the file data stream to the software S for opening.

[0054] The network file system module 205 is configured to transmit the file data stream.

[0055] The virtual display screen module 206 is configured to provide the screen displayed after the software S is started and opened by the user.

[0056] The audio and video capture module 207 is configured to capture the video and audio data of the running screen of the software S, encode the video and audio data, and transmit the encoded video and audio data to the opposite end.

[0057] The network transmission module 208 is configured to transmit the audio and video data, network signaling, and the like.

[0058] The keyboard and mouse module 209 is configured to collect the operation of the mouse and keyboard of the user, and transmit the operation to the opposite end. Meanwhile, the keyboard and mouse module 209 is also configured to analyze the data and keyboard operation transmitted by the opposite end, and inject the operation into the operating system to complete the operation of the software.

[0059] The audio and video playback module 210 is configured to analyze the audio and video transmitted by the opposite end after receiving the audio and video, and decode the multimedia stream.

[0060] The display module 211 is configured to display the video content after decoding the video, and the video playback content is the content displayed after the software is opened.

[0061] The application scenario of the embodiments of the present disclosure is not limited. The system architecture and business scenario described in the embodiments of the present disclosure are used to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. It can be known by those skilled in the art that, with the evolution of network architecture and the appearance of new business scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.

[0062] FIG. 3 shows a flowchart of a task processing method. As shown in FIG. 3, the task processing method is applied to a first electronic device, and includes S301-S303.

[0063] In S301, a to-be-processed task is acquired.

[0064] Here, the to-be-processed task can be task data processed by a software function, or the to-be-processed task can be task data processed by the software function.

[0065] For example, the to-be-processed task can be playing a video file A by a video playing software function, or the to-be-processed task can be playing the video file A.

[0066] It should be noted that the present embodiment does not limit the acquisition method of the to-be-processed task. For example, the first electronic device can acquire the to-be-processed task by receiving an operation instruction input by a user (such as a click operation on a video file). For another example, the first electronic device can acquire the to-be-processed task by receiving an operation instruction (such as an instruction to play a video file) sent by another electronic device. For another example, the first electronic device can automatically acquire the to-be-processed task based on a preset strategy (i.e., periodically playing a video file).

[0067] In S302, the to-be-processed task is processed by a target software function of a second electronic device in the shared software function set.

[0068] Here, the shared software function set can include software functions shared by different preset electronic devices for use by the first electronic device.

[0069] For example, the plurality of different preset electronic devices can include: device A, device B, and device C, the software functions shared by device A for use by the first electronic device include: function A and function B, the software functions shared by device B for use by the first electronic device include: function C, and the software functions shared by device C for use by the first electronic device include: function B and function D. Therefore, the shared software function set can include: function A, function B, function C, and function D.

[0070] As a possible implementation, the first electronic device stores the shared software function set. After acquiring the to-be-processed task, the first electronic device can determine the second electronic device where the target software function is located by querying the target software function corresponding to the to-be-processed task in the shared software function set, and then process the to-be-processed task by the target software function in the second electronic device through interaction with the second electronic device.

[0071] Here, the target software function is a software function in the shared software function set for processing the to-be-processed task.

[0072] Exemplarily, if the shared software function set includes: a document editing function A shared by the electronic device A, a video playing function B shared by the electronic device B, and a graphics processing function C shared by the electronic device C, and the task data in the to-be-processed task is a video file, the target software function is the video playing function B, and the second electronic device is the electronic device B.

[0073] In some embodiments, the shared software function set can be a function set recorded by a multi-device collaboration software deployed in the first electronic device, and the multi-device collaboration software is configured to provide a function of sharing software functions between devices for the first electronic device, so as to process the to-be-processed task of the first electronic device by the software function agent in the second electronic device.

[0074] It should be noted that, in the embodiments of the present disclosure, there are repeated software functions in the multiple software functions shared by different preset electronic devices for the first electronic device, that is, one software function in the shared software function set can correspond to multiple electronic devices.

[0075] Exemplarily, in combination with the above example, the device A and the device C share the function B to the first electronic device at the same time, and the function B in the shared software function set corresponds to the device A and the device C at the same time.

[0076] Based on this, in the process that the first electronic device processes the to-be-processed task by using the target software function of the second electronic device in the shared software function set, the first electronic device can acquire the state information corresponding to each of the at least one preset electronic device corresponding to the target software function in the shared software function set, and determine the priority of each of the at least one preset electronic device based on the state information of each of the at least one preset electronic device. Then, the first electronic device can process the to-be-processed task by using the target software function of the second electronic device in the at least one preset electronic device based on the priority of each of the at least one preset electronic device.

[0077] Here, the state information of each preset electronic device can include the running state of the target software function in the preset electronic device and / or the communication state between the preset electronic device and the first electronic device, and the second electronic device is the electronic device with the highest priority in the at least one preset electronic device.

[0078] In some embodiments, in the process that the first electronic device determines the priority of each of the preset electronic devices based on the state information of each of the preset electronic devices, the communication state between the preset electronic device and the first electronic device and the running state of the target software function in the preset electronic device are positively correlated with the priority of the preset electronic device, that is, the better the communication state between the preset electronic device and the first electronic device and the better the running state of the target software function in the preset electronic device, the higher the priority of the preset electronic device.

[0079] It can be understood that one software function can be shared by multiple electronic devices, and in the case that a software function is known to be needed to be used, an optimal electronic device can be selected from multiple electronic devices corresponding to the software function to undertake the task processing of the electronic device based on the communication state between each electronic device and the electronic device and / or the running state of the software function in each electronic device.

[0080] In some embodiments, in the process that the first electronic device processes the to-be-processed task by using the target software function of the second electronic device, the first electronic device can send a task cooperation instruction to the second electronic device, and in response to data request information of the second electronic device, send task data of the to-be-processed task to the second electronic device, so that the second electronic device processes the task data of the to-be-processed task by the target software function, so that the second electronic device processes the to-be-processed task by the target software function on behalf of the first electronic device.

[0081] It should be noted that the task cooperation instruction is used to instruct the second electronic device to process the to-be-processed task on behalf, and the task cooperation instruction can include a function identifier and a data address. In addition, the data request information initiated by the second electronic device is generated based on the data address in the task cooperation instruction, and the data request information is used to request to obtain the task data of the to-be-processed task.

[0082] Here, the data address is the storage address of the task data of the to-be-processed task in the first electronic device, and the function identifier is used to indicate the target software function in the second electronic device that processes the to-be-processed task.

[0083] In some embodiments, the storage address of the task data indicated by the data address can be in other electronic devices other than the first electronic device.

[0084] That is, the task data of the to-be-processed task can be data in other devices other than the first electronic device.

[0085] Exemplarily, the to-be-processed task can be to download text data A in a cloud device A, and the task data indicated by the data address in the task cooperation instruction is the storage address of the text data A in the cloud device A.

[0086] It can be understood that the electronic device provides the storage location of the task data and the shared software function used by the instruction information issued by the instruction information to other electronic devices, so that other electronic devices can pull the task data based on the storage location and process the task data by the shared software function, to realize the sharing of software functions between electronic devices and process tasks on behalf of other electronic devices.

[0087] It should be noted that after the second electronic device processes the to-be-processed task by proxying the first electronic device through the target software function, the second electronic device can feed back the proxy processing result of the to-be-processed task to the first electronic device.

[0088] In S303, the processing result of the to-be-processed task sent by the second electronic device is received.

[0089] It can be understood that the task data on the electronic device is processed through the software function on the other electronic device, and the corresponding processing result is obtained, so as to realize the sharing of software functions between devices. In this way, the processing load of the software function in the electronic device can be reduced through the software function of the other electronic device, or the deployment cost of the software function for processing task data in the electronic device can be reduced. In this way, by expanding the software capability of the local end without user awareness, the time and money cost of downloading new software by the user is reduced, the security problem caused by downloading new software is reduced to a certain extent, and the operation convenience and efficiency of the user are improved. The storage and operation pressure of the local end can also be reduced, other idle devices can be run, the performance of processing tasks of the local end is improved, and the efficiency of task processing is improved.

[0090] In some embodiments, in order to control the use of shared software functions and distinguish the use occasions of local software functions and shared software functions, after the first electronic device obtains the to-be-processed task (i.e., S301), the first electronic device can determine whether the first electronic device itself has processing capability for the to-be-processed task, and according to the determination result, select the software function corresponding to the to-be-processed task in the local software function or the software function corresponding to the to-be-processed task in the shared software function set to process the to-be-processed task.

[0091] Here, in the case where the first electronic device determines that the first electronic device itself has processing capability for the to-be-processed task, the first electronic device can select the software function corresponding to the to-be-processed task in the local software function to process the to-be-processed task, that is, without proxying by other electronic devices, the first electronic device itself completes the processing of the to-be-processed task.

[0092] In the case where the first electronic device determines that the first electronic device itself does not have processing capability for the to-be-processed task, the first electronic device can process the to-be-processed task by using the target software function of the second electronic device in the shared software function set (i.e., S302).

[0093] In this way, by distinguishing the use occasions of local software functions and shared software functions, the use of shared software functions can be controlled.

[0094] It should be noted that, in the embodiments of the present disclosure, in the process of determining whether the first electronic device itself has the processing capability for the to-be-processed task, the first electronic device can determine by the following conditions (1) and / or (2):

[0095] (1) whether the first electronic device has a software function for processing the to-be-processed task;

[0096] (2) whether the software function for processing the to-be-processed task in the first electronic device is in an abnormal state.

[0097] Therefore, for the first electronic device itself not having the processing capability for the to-be-processed task, at least one of the following conditions is included:

[0098] The first electronic device does not have a software function for processing the to-be-processed task; or,

[0099] The software function for processing the to-be-processed task in the first electronic device is in an abnormal state.

[0100] Here, the abnormal state of the software function is not limited in the embodiments of the present disclosure. For example, the abnormal state of the software function can be that the software function is abnormally occupied. For another example, the abnormal state of the software function can be that the software function response is timed out. For another example, the abnormal state of the software function can be that the configuration file is missing.

[0101] It can be understood that, by describing the trigger mechanism for using software function sharing, it can be ensured that the electronic device uses software function sharing when it does not have a software function for processing the task data, or when the software function for processing the task data in the electronic device is in an abnormal state.

[0102] In some embodiments, after the first electronic device receives the processing result of the to-be-processed task sent by the second electronic device (i.e., S303), the first electronic device can present the processing result of the to-be-processed task to the user, and receive operation information input by the user based on the processing result of the to-be-processed task. Then, the first electronic device can send an operation synchronization instruction to the second electronic device according to the operation information input by the user, the operation synchronization instruction being used to instruct the shared software function of the second electronic device to perform an operation indicated by the operation information based on the processing result of the to-be-processed task. After that, the first electronic device can receive a new processing result of the to-be-processed task sent by the second electronic device.

[0103] Exemplarily, taking opening a video file A as an example of the to-be-processed task, the first electronic device can receive the video data stream of the video file A sent by the second electronic device, and play the video data stream of the video file A on the preset display screen. Then, the first electronic device can receive a progress dragging operation of the user on the video being played on the preset display screen, send an operation synchronization instruction to the second electronic device to obtain the video data stream at a time after the dragging, and play the new video data stream on the preset display screen.

[0104] It should be noted that the operation information input by the user based on the processing result of the to-be-processed task can indicate the original software function (i.e., the target software function) or a new software function other than the original software function, and the operation synchronization instruction is used to instruct the target software function (or the new software function) of the second electronic device to perform the operation indicated by the operation information based on the processing result of the to-be-processed task.

[0105] Exemplarily, taking the operation information indicating a new software function other than the original software function as an example, the original software function can be a video playing function, and the new software function can be a screenshot function, i.e., the new processing result of the to-be-processed task is a screenshot of a frame of the video file A being played.

[0106] It can be understood that the electronic device can receive the user operation in real time, and synchronize the software function of the other electronic device, so as to respond to the user operation in a timely manner during the task processing by the other electronic device.

[0107] It should be noted that the above embodiment is a process of the first electronic device actually applying the shared software function after the other electronic device completes the sharing, and the following embodiment is an embodiment before the sharing and use of the above software function, and the process of the first electronic device sharing the software function with the other electronic device is introduced.

[0108] In some embodiments, the first electronic device can receive the software sharing information sent by the second electronic device, and store the software sharing information. Here, the software sharing information is used to indicate the software function shared by the second electronic device for use by the first electronic device.

[0109] It should be noted that in the process of storing the software sharing information by the first electronic device, the first electronic device can write the software function indicated by the software sharing information into the shared software function set of the first electronic device, so as to record the software function shared by the second electronic device for the first electronic device, and facilitate subsequent use and management of the software function shared by the second electronic device by the first electronic device.

[0110] Exemplarily, the shared software function set of the first electronic device includes function A shared by device A and function B shared by device B. After the first electronic device receives the software sharing information sent by electronic device C (i.e., the second electronic device), if the software function indicated by the software sharing information is function C, the shared software function set of the first electronic device after storing the software sharing information includes function A shared by device A, function B shared by device B and function C shared by device C.

[0111] That is, by receiving the software functions shared by other electronic devices, the list of functions that can use the software function sharing is recorded in the electronic device.

[0112] In some embodiments, after the first electronic device stores the software sharing information sent by the second electronic device, the first electronic device can monitor the running state of the second electronic device and manage the locally stored software sharing information based on the running state of the second electronic device.

[0113] Here, if the second electronic device is in a normal running state, the first electronic device can continue to store the software sharing information, i.e., continue to save the software functions shared by the second electronic device.

[0114] If the second electronic device is in an abnormal running state, the first electronic device can delete the software sharing information, i.e., discard the software functions shared by the second electronic device.

[0115] It should be noted that the running state of the second electronic device can include at least one of the following: the device running state of the second electronic device, the running state of the software functions shared in the second electronic device, and the communication state between the second electronic device and the first electronic device.

[0116] In some embodiments, after the first electronic device stores the software sharing information sent by the second electronic device, the first electronic device can also receive software sharing change information sent by the second electronic device, and update the stored software sharing information based on the software sharing change information. Here, the software sharing change information is used to indicate the change (or deletion, addition) of the software functions shared by the second electronic device for the first electronic device to use.

[0117] Exemplarily, the software sharing change information can indicate that the software function shared by the second electronic device for the first electronic device to use is changed from function A to function B. Alternatively, the software sharing change information can indicate that the software function A shared by the second electronic device for the first electronic device to use is deleted. Alternatively, the software sharing change information can indicate that the software function B shared by the second electronic device for the first electronic device to use is added.

[0118] It can be understood that the function list recorded in the electronic device is updated and managed based on the running state of other electronic devices and the authorization change of other electronic devices to the shared software function.

[0119] The embodiments of the present disclosure further provide a task processing method applied to a second electronic device, as shown in FIG. 4, which can include S401 and S402.

[0120] In S401, a to-be-processed task of the first electronic device is processed based on the target software function shared with the first electronic device.

[0121] In some embodiments, the second electronic device can receive the task cooperation instruction sent by the first electronic device, and acquire the task data of the to-be-processed task of the first electronic device based on the data address in the task cooperation instruction. Then, the second electronic device can determine the target software function shared with the first electronic device based on the function identifier in the task cooperation instruction, and further process the task data of the to-be-processed task based on the target software function, so as to proxy the first electronic device to process the to-be-processed task.

[0122] Here, the second electronic device can send data request information to the first electronic device according to the data address, and receive the task data of the to-be-processed task sent by the first electronic device in response to the data request information. Then, the second electronic device can process the task data of the to-be-processed task based on the target software function indicated by the function identifier, so as to proxy the first electronic device to process the to-be-processed task.

[0123] It should be noted that the descriptions of the target software function, the to-be-processed task and the task cooperation instruction can refer to the descriptions of the target software function, the to-be-processed task and the task cooperation instruction in the above embodiments, which will not be repeated here.

[0124] In some embodiments, the task cooperation instruction sent by the first electronic device can further include the task type of the to-be-processed task. In the process of proxying the first electronic device to process the to-be-processed task, the second electronic device can prioritize the software function specified by the user based on the task type of the to-be-processed task to process the to-be-processed task over the software function indicated by the first electronic device.

[0125] Here, after the second electronic device receives the task cooperation instruction sent by the first electronic device, the second electronic device can present the task type of the to-be-processed task in the task cooperation instruction to the user, and determine whether the software function selection operation input by the user based on the task type of the to-be-processed task is received.

[0126] If the second electronic device does not receive the software function selection operation input by the user based on the task type of the to-be-processed task, the second electronic device can process the to-be-processed task of the first electronic device based on the target software function indicated by the function identifier in the task collaboration instruction.

[0127] If the second electronic device receives the software function selection operation input by the user based on the task type of the to-be-processed task, the second electronic device can determine the target identifier input by the user, and after sending the data request information to the first electronic device according to the data address, and receiving the task data of the to-be-processed task sent by the first electronic device in response to the data request information, process the task data of the to-be-processed task based on the software function indicated by the target identifier.

[0128] It should be noted that the software function indicated by the target identifier input by the user can be a software function shared by the second electronic device to the first electronic device, or the software function indicated by the target identifier input by the user can be a software function not shared by the second electronic device to the first electronic device.

[0129] That is, when sharing the software function, the user can manually determine the software function to be shared.

[0130] In S402, the processing result of the to-be-processed task is sent to the first electronic device.

[0131] In the embodiments of the present disclosure, the processing result of the to-be-processed task can be obtained by the second electronic device processing the to-be-processed task through the shared target software function on the foreground display screen; or,

[0132] The processing result of the to-be-processed task can be obtained by the second electronic device processing the to-be-processed task through the shared target software function on the background virtual screen.

[0133] That is, by describing the process position of the task data when sharing the software function, that is, processing the task data in the background process or processing the task data in the foreground process, it can be explained that when the second electronic device proxies the to-be-processed task of the first electronic device, the proxying of the second electronic device can present different perception effects for the user of the second electronic device through the foreground or the background.

[0134] The task processing method provided by the above embodiments will be introduced in combination with specific examples, as shown in FIG. 5, including S501-S505.

[0135] In S501, the first electronic device obtains a to-be-processed task.

[0136] In S502, the first electronic device processes the to-be-processed task by using the target software function of the second electronic device in the shared software function set.

[0137] In S503, the second electronic device processes the to-be-processed task of the first electronic device based on the target software function shared with the first electronic device.

[0138] In S504, the second electronic device sends the processing result of the to-be-processed task to the first electronic device.

[0139] In S505, the first electronic device receives the processing result of the to-be-processed task sent by the second electronic device.

[0140] It should be noted that, in combination with the above embodiments, the task processing method provided in the embodiments of the present disclosure can be divided into a software capability registration process, a task processing process of a local device, and a task proxy process of a remote device.

[0141] Exemplarily, taking two devices (such as device A and device B) in a multi-device collaboration system as an example, as shown in FIG. 6, a software capability registration process (i.e., a registration stage) is shown, which includes:

[0142] Step one, device A and device B establish a connection.

[0143] Here, device A and device B need to install (or deploy) multi-device collaboration software, and start the software to establish a connection.

[0144] Step two, device A collects local software capabilities.

[0145] Here, device A can obtain software capabilities (such as a software function list (software_capability_list)) on device A through the installed multi-device collaboration software, and the obtained attributes include: software name (software name), version (version), and IMEI type list (list). The attribute name can be similar to a text.

[0146] Step three, device A sends local software capabilities.

[0147] Here, device A and device B can interact with signaling: similar to sending software capabilities (send_software_capability).

[0148] In some embodiments, device A can obtain the software capabilities of the system (i.e., the system in device A) through the multi-device collaboration software, and then send the software_capability_list through send_software_capability.

[0149] If device A monitors that there is an update of software capability due to installation or deletion of software on the local side through the multi-device collaboration software, it will initiate an update capability instruction and send the new software capability to the opposite side (e.g., device B).

[0150] Step four, device A receives the remote software capability of device B.

[0151] Here, the acquisition of the capability of other devices by device A also includes a query mode. Device A queries the capability of the opposite side (e.g., device B) through a query software function list (query_software_capability_list).

[0152] Step five, device A registers the software capability to the system.

[0153] Here, device A can receive the software_capability_list sent by the opposite side through the multi-device collaboration software, analyze the software capability, and record that device B has the software capability. Then, device A registers the software capability to the system, and informs the system that the multi-device collaboration software has the software capability.

[0154] It should be noted that a capability is only registered once. When multiple devices have a unified capability, a secondary index table is established.

[0155] For example, when opening a word document is requested, device B, device C, and device D all support it. Then, the table is stored as a capability table (capability_table) as shown in Table 1.

[0156] Table 1 Capability table

[0157] In some embodiments, device A can also realize dynamic update of software capability through the multi-device collaboration software.

[0158] Here, device A can update the capability to the system through the multi-device collaboration software when a new device joins or leaves, and update the capability_table.

[0159] After the registration is completed, it will be reflected in the system. For example, in the windows environment, the name and icon of the multi-device collaboration software will appear when the user right-clicks to select the opening method.

[0160] Exemplarily, taking opening of a file F in device A by means of the software capability of device B as an example, as shown in FIG. 7, a task processing flow of the local device (i.e., an opening file stage) is shown, which includes:

[0161] Step 1, Device A opens a file F selected by a user.

[0162] Here, Device A can open a file F, but there is no software on Device A that supports opening file F.

[0163] Step 2, Device A discovers that the multi-device collaboration software has the ability to open file F.

[0164] Here, the system where Device A is located discovers that the multi-device collaboration software has the ability to open file F. Then the multi-device collaboration software is started to open file F.

[0165] Step 3, Device A obtains the file path and file type of file F.

[0166] Step 4, Device A selects device B that can open file F through multi-device collaboration software and sends a command.

[0167] Here, after the multi-device system software of Device A obtains the file name and type that needs to be opened, it finds out that device B has the ability to open file F in the capability list capability_table. If there is more than one device that can open file F, it will enter the optimization section.

[0168] The above optimization section will consider the following factors: network status, busy state of the opposite device (central processing unit (CPU), input / output (IO), memory situation), opposite system.

[0169] Here, each parameter has two attributes: score and weight. After weighting and summing, the device with the highest score is selected. The score of each device can be represented by the following formula one:

[0170] Here, S is used to represent the score result of the weighted sum, n is used to represent the number of elements (or numbers) referred to in determining the score, w i is used to represent the weight of the i-th reference element, x i is used to represent the value of the i-th reference element.

[0171] It should be noted that the weight of each reference element can be explained by the following table 2.

[0172] Table 2 Weight table of reference elements

[0173] For example, the score index of the network parameter can be explained by the following table 3.

[0174] Table 3 Score index of network parameter

[0175] It should be noted that the weight and parameter definition can be modified according to the actual situation. First read the weight table, or what parameters, the weight of these parameters, and then calculate the score of each parameter. Finally, weighted sum.

[0176] The acquisition of each parameter can be obtained by sending signaling to the opposite end (such as device B) get_current_status, and the opposite end device receives the state information returned by the opposite end.

[0177] It should be noted that the command sent by device A includes the file path and file type of file F.

[0178] Step 5, device A receives the audio and video code stream sent by device B.

[0179] Step 6, device A creates a display window (DW).

[0180] Here, device A can start a window DW to display the content of file F.

[0181] Step 7, device A decodes the audio and video code stream to refresh to the display window through the audio and video playing module.

[0182] Here, the video playing module on device A decodes the multimedia data stream after receiving the audio and video data sent by device B. The video data is displayed on the window DW, and the content of file F is displayed on the DW window. The audio data is output to the audio device.

[0183] By this, device A opens file F on device A with the help of software S on device B.

[0184] Step 8, device A captures user operation through the keyboard and mouse module, and sends the operation to device B.

[0185] Here, if device A edits the file in W window, the keyboard and mouse module is used to capture the user's input event, and the input operation event is transmitted to device B.

[0186] Exemplarily, the task processing flow of the local device combined with the above device A is shown in FIG. 8, which shows the task agent flow of the remote device, including:

[0187] Step A, device B starts after receiving the command of device A to open file F.

[0188] Step B, device B parses the file path and file type of file F in the command.

[0189] Here, device B can receive the file open (open_file) request (i.e. the command of device A to open file F) and parse the file name and type to find the appropriate software S to open the file F.

[0190] Step C, device B starts the network file module.

[0191] Step D, device B obtains the file data stream of file F in device A through the network file module.

[0192] Here, device B can obtain the file data of file F in device A through the network file module based on the file name.

[0193] Step E, device B starts the virtual display module (VD) and binds software S to start on the virtual screen.

[0194] Alternatively, device B can use the current screen device. That is, device B can bind software S to start on the foreground display screen or the background virtual screen.

[0195] Step F, device B opens file F through software S and displays on the virtual screen.

[0196] Here, software S on device B requests to open file F on device A. The multi-device system transmits the data stream of file F on device A to software S on device B through the network file system and the virtual file system.

[0197] Step G, device B captures the virtual screen and audio data through the audio and video capture module and encodes.

[0198] Here, device B can capture the video and audio data of the virtual screen through the audio and video capture module based on the multi-device collaboration software after opening file F on the virtual screen and encode and send to device A.

[0199] Step H, device B sends the audio and video data stream to device A.

[0200] Step I, device B obtains the keyboard and mouse operation information sent by device A and injects into the system to complete the operation on the software.

[0201] Here, device B can parse the input events after receiving the input events from device A and inject the events into the system through the system application programming interface (API) to simulate the input events of device B and complete the operation on software S.

[0202] In some embodiments, during the process that device A requests device B to proxy processing file F, the multi-device collaboration software of device B can display a setting interface to remind the user whether to run the software capability of the remote device A in the background.

[0203] In addition, it can also be indicated in the displayed setting interface that the software capability of the remote device A is run in the background using the virtual screen of the local device B to avoid affecting the user experience of the local device B.

[0204] It should be noted that the displayed setting interface can be a dialog box selection or a radio box selection.

[0205] In this way, the sharing of software capabilities between device A and device B reduces the cost of searching, downloading and installing software for the user in device A. If the shared software capability is the capability of a paid software, the user saves the economic cost. At the same time, when device A opens a file, other devices can be allowed to open it, saving the resources of the local device.

[0206] It can be understood that the task processing apparatus includes hardware structures and / or software modules corresponding to the functions described above in order to implement the functions. Those skilled in the art should easily realize that the algorithm steps of each example described in combination with the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application of the technical solution and the design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.

[0207] The embodiments of the present disclosure can divide the functional modules of the task processing apparatus according to the method embodiments described above. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one functional module. The integrated module can be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiments of the present disclosure is illustrative, and is only a logical functional division. In actual implementation, there can be another division method. The following will be described taking the division of each functional module according to each function as an example.

[0208] FIG. 9 is a block diagram of a task processing apparatus according to some embodiments, which can be applied to a first electronic device and perform the task processing method shown in FIG. 3 and the embodiment corresponding to the first electronic device in the task processing method shown in FIG. 5. As shown in FIG. 9, the task processing apparatus 900 includes an acquisition module 901, a processing module 902 and a receiving module 903.

[0209] The acquisition module 901 is configured to acquire a to-be-processed task. The processing module 902 is configured to process the to-be-processed task by using a target software function of a second electronic device in a shared software function set, the shared software function set including software functions shared by preset electronic devices for use by the first electronic device, and the target software function being a software function in the shared software function set used to process the to-be-processed task. The receiving module 903 is configured to receive a processing result of the to-be-processed task sent by the second electronic device.

[0210] In some embodiments, the processing module 902 is specifically configured to process the to-be-processed task by using the target software function of the second electronic device in the shared software function set in a case where the first electronic device does not have processing capability for the to-be-processed task.

[0211] In some embodiments, the first electronic device does not have the processing capability for the to-be-processed task, including at least one of the following: the first electronic device does not have a software function used to process the to-be-processed task, or a software function of the first electronic device used to process the to-be-processed task is in an abnormal state.

[0212] In some embodiments, the processing module 902 is specifically configured to send a task cooperation instruction to the second electronic device, the task cooperation instruction being used to instruct the second electronic device to process the to-be-processed task, and the task cooperation instruction including a function identifier and a data address. Here, the data address is a storage address of task data of the to-be-processed task in the first electronic device, and the function identifier is used to indicate the target software function of the second electronic device used to process the to-be-processed task. The processing module 902 is further configured to send the task data of the to-be-processed task to the second electronic device in response to data request information of the second electronic device.

[0213] In some embodiments, the processing module 902 is specifically configured to acquire state information of each of at least one preset electronic device corresponding to the target software function in the shared software function set, and the state information of each of the preset electronic devices includes a running state of the target software function in the preset electronic device and / or a communication state of the preset electronic device with the first electronic device. The processing module 902 is further configured to determine a priority of each of the at least one preset electronic device based on the state information of each of the at least one preset electronic device. The processing module 902 is further configured to process the to-be-processed task by using the target software function of the second electronic device in the at least one preset electronic device based on the priority of each of the at least one preset electronic device, the second electronic device being the electronic device with the highest priority in the at least one preset electronic device.

[0214] In some embodiments, the receiving module 903 is further configured to receive software sharing information sent by the second electronic device, the software sharing information being used to indicate software functions shared by the second electronic device for use by the first electronic device. The processing module 902 is further configured to store the software sharing information.

[0215] In some embodiments, the processing module 902 is further configured to monitor the running state of the second electronic device. The processing module 902 is further configured to delete the software sharing information in a case where the second electronic device is in an abnormal running state.

[0216] In some embodiments, the receiving module 903 is further configured to receive software sharing change information sent by the second electronic device, the software sharing change information being used to indicate that the software function shared by the second electronic device to the first electronic device for use is changed. The processing module 902 is further configured to update the stored software sharing information based on the software sharing change information.

[0217] In some embodiments, the obtaining module 901 is further configured to receive operation information input by a user based on the processing result of the to-be-processed task. The processing module 902 is further configured to send, to the second electronic device, an operation synchronization instruction based on the operation information, the operation synchronization instruction being used to instruct the shared software function of the second electronic device to perform an operation indicated by the operation information based on the processing result of the to-be-processed task. The receiving module 903 is further configured to receive a new processing result of the to-be-processed task sent by the second electronic device.

[0218] FIG. 10 is a block diagram II of a task processing apparatus according to some embodiments, which can be applied to the second electronic device and perform the embodiments of the second electronic device in the task processing method shown in FIG. 4 and the task processing method shown in FIG. 5. As shown in FIG. 10, the task processing apparatus 1000 includes a processing module 1001 and a sending module 1002.

[0219] The processing module 1001 is configured to process a to-be-processed task of the first electronic device based on a target software function shared with the first electronic device. The sending module 1002 is configured to send a processing result of the to-be-processed task to the first electronic device.

[0220] In some embodiments, the task processing apparatus 1000 further includes a receiving module 1003. The receiving module 1003 is configured to receive a task cooperation instruction sent by the first electronic device, the task cooperation instruction being used to instruct the second electronic device to process the to-be-processed task, and the task cooperation instruction including a function identifier and a data address. Here, the data address is a storage address of task data of the to-be-processed task in the first electronic device, and the function identifier is used to indicate a target software function of the second electronic device for processing the to-be-processed task.

[0221] In some embodiments, the processing module 1001 is specifically configured to send, to the first electronic device, data request information according to the data address. The processing module 1001 is further configured to receive task data of the to-be-processed task sent by the first electronic device. The processing module 1001 is further configured to process the task data of the to-be-processed task based on the target software function indicated by the function identifier.

[0222] In some embodiments, the task cooperation instruction further includes a task type of the to-be-processed task. The receiving module 1003 is further configured to receive a target identifier input by the user based on the task type of the to-be-processed task. The sending module 1002 is further configured to send, to the first electronic device, data request information according to the data address. The receiving module 1003 is further configured to receive task data of the to-be-processed task sent by the first electronic device. The processing module 1001 is further configured to process the task data of the to-be-processed task based on the software function indicated by the target identifier.

[0223] In some embodiments, the sending module 1002 is further configured to send, to the first electronic device, software sharing information, where the software sharing information is used to indicate a software function shared by the second electronic device to the first electronic device for use.

[0224] In some embodiments, the sending module 1002 is further configured to send, to the first electronic device, software sharing change information, where the software sharing change information is used to indicate a change of a software function shared by the second electronic device to the first electronic device for use.

[0225] In some embodiments, the receiving module 1003 is further configured to receive operation synchronization instruction sent by the first electronic device, where the operation synchronization instruction is used to instruct the shared software function of the second electronic device to perform an operation indicated by operation information input by the user based on a processing result of the to-be-processed task. The processing module 1001 is further configured to process the processing result of the to-be-processed task to obtain a new processing result of the to-be-processed task in response to the operation synchronization instruction. The sending module 1002 is further configured to send the new processing result of the to-be-processed task to the first electronic device.

[0226] In some embodiments, the processing result of the to-be-processed task is obtained by the second electronic device processing the to-be-processed task through the shared target software function on a front display screen. Alternatively, the processing result of the to-be-processed task is obtained by the second electronic device processing the to-be-processed task through the shared target software function on a virtual screen in the background.

[0227] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiments of the present disclosure provide another structure of the task processing apparatus involved in the above-mentioned embodiments. As shown in FIG. 11, the task processing apparatus 1100 includes a processor 1102 and a bus 1104. In some embodiments, the task processing apparatus can further include a memory 1101. In some embodiments, the task processing apparatus can further include a communication interface 1103.

[0228] The processor 1102 can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or other programmable logic device, transistor logic, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the embodiments of the present disclosure. The processor 1102 can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor (DSP) and a microprocessor, and the like.

[0229] The communication interface 1103 is used to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), and the like.

[0230] The memory 1101 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0231] In some embodiments, the memory 1101 can exist independently of the processor 1102, and the memory 1101 can be connected with the processor 1102 through the bus 1104 for storing instructions or program codes. When the processor 1102 invokes and executes the instructions or program codes stored in the memory 1101, the task processing method provided by the embodiments of the present disclosure can be implemented.

[0232] In some embodiments, the memory 1101 can also be integrated into the processor 1102.

[0233] The bus 1104 can be an extended industry standard architecture (EISA) bus, etc. The bus 1104 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is shown in FIG. 11, but this does not mean that there is only one bus or only one type of bus.

[0234] Some embodiments of the present disclosure provide a computer readable storage medium (for example, a non-transitory computer readable storage medium) having stored computer program instructions, which, when executed on a computer, cause the computer to perform the task processing method described in any of the above embodiments.

[0235] Exemplarily, the above computer readable storage medium can include, but is not limited to, a magnetic storage device (for example, a hard disk, a floppy disk or a magnetic tape, etc.), an optical disc (for example, a compact disk (CD), a digital versatile disk (DVD), etc.), a smart card and a flash memory device (for example, an erasable programmable read-only memory (EPROM), a card, a stick or a key drive, etc.). The various computer readable storage media described in the present disclosure can represent one or more devices and / or other machine readable storage media for storing information. The term "machine readable storage medium" can include, but is not limited to, a wireless channel and various other media capable of storing, containing and / or carrying instructions and / or data.

[0236] The embodiments of the present disclosure provide a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the task processing method described in any of the above embodiments.

[0237] The above is merely specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto, any change or replacement within the technical scope disclosed in the present disclosure should be covered in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A task processing method, wherein, The method is applied to a first electronic device, and the method comprises: obtaining a to-be-processed task; processing the to-be-processed task by using a target software function of a second electronic device in a shared software function set, the shared software function set comprising software functions shared by preset electronic devices for use by the first electronic device, and the target software function being a software function in the shared software function set for processing the to-be-processed task; receiving a processing result of the to-be-processed task sent by the second electronic device.

2. The method of claim 1, wherein, The processing of the to-be-processed task by using the target software function of the second electronic device in the shared software function set comprises: processing the to-be-processed task by using the target software function of the second electronic device in the shared software function set in a case where the first electronic device does not have processing capability for the to-be-processed task.

3. The method of claim 2, wherein, The first electronic device does not have the processing capability for the to-be-processed task, and the processing capability comprises at least one of the following: the first electronic device does not have a software function for processing the to-be-processed task; or a software function for processing the to-be-processed task in the first electronic device is in an abnormal state.

4. The method of claim 1, wherein, The processing of the to-be-processed task by using the target software function of the second electronic device in the shared software function set comprises: sending a task cooperation instruction to the second electronic device, the task cooperation instruction being used for instructing the second electronic device to process the to-be-processed task, and the task cooperation instruction comprising a function identifier and a data address; here, the data address is a storage address of task data of the to-be-processed task in the first electronic device, and the function identifier is used for instructing the target software function of the second electronic device for processing the to-be-processed task; in response to data request information of the second electronic device, sending the task data of the to-be-processed task to the second electronic device.

5. The method of claim 1, wherein, The processing of the to-be-processed task by using the target software function of the second electronic device in the shared software function set comprises: obtaining state information of each of at least one preset electronic device corresponding to the target software function in the shared software function set, the state information of each of the preset electronic devices comprising a running state of the target software function in the preset electronic device and / or a communication state of the preset electronic device and the first electronic device; determining a priority of each of the at least one preset electronic device based on the state information of each of the at least one preset electronic device; processing the to-be-processed task by using the target software function of the second electronic device in the at least one preset electronic device based on the priority of each of the at least one preset electronic device, the second electronic device being an electronic device with the highest priority in the at least one preset electronic device.

6. The method of claim 1, further comprising: receiving software sharing information sent by the second electronic device, the software sharing information being used for indicating software functions shared by the second electronic device for use by the first electronic device; and storing the software sharing information.

7. The method of claim 6, further comprising: monitoring a running state of the second electronic device. In a case where the second electronic device is in an abnormal running state, the software sharing information is deleted.

8. The method of claim 6, further comprising: receiving software sharing change information sent by the second electronic device, the software sharing change information being used to indicate that a software function shared by the second electronic device to the first electronic device is changed; updating the stored software sharing information based on the software sharing change information.

9. The method of claim 1, wherein, After the receiving the processing result of the to-be-processed task sent by the second electronic device, the method further comprises: receiving operation information input by a user based on the processing result of the to-be-processed task; sending an operation synchronization instruction to the second electronic device according to the operation information, the operation synchronization instruction being used to instruct the shared software function of the second electronic device to perform an operation indicated by the operation information based on the processing result of the to-be-processed task; receiving a new processing result of the to-be-processed task sent by the second electronic device.

10. A task processing method, wherein, Applied to a second electronic device, the method comprises: processing a to-be-processed task of a first electronic device based on a target software function shared to the first electronic device; sending a processing result of the to-be-processed task to the first electronic device.

11. The method of claim 10, wherein, Before the processing the to-be-processed task of the first electronic device based on the target software function shared to the first electronic device, the method further comprises: receiving a task cooperation instruction sent by the first electronic device, the task cooperation instruction being used to instruct the second electronic device to process the to-be-processed task, the task cooperation instruction comprising: a function identifier and a data address; Here, the data address is a storage address of task data of the to-be-processed task in the first electronic device, and the function identifier is used to indicate the target software function in the second electronic device for processing the to-be-processed task.

12. The method of claim 11, wherein, The processing the to-be-processed task of the first electronic device based on the target software function shared to the first electronic device comprises: sending data request information to the first electronic device according to the data address; receiving task data of the to-be-processed task sent by the first electronic device; processing the task data of the to-be-processed task based on the target software function indicated by the function identifier.

13. The method of claim 11, wherein, The task cooperation instruction further comprises a task type of the to-be-processed task, and after the receiving the task cooperation instruction sent by the first electronic device, the method further comprises: receiving a target identifier input by a user based on the task type of the to-be-processed task; sending data request information to the first electronic device according to the data address; receiving task data of the to-be-processed task sent by the first electronic device; processing the task data of the to-be-processed task based on a software function indicated by the target identifier.

14. The method of claim 10, further comprising: sending software sharing information to the first electronic device, the software sharing information being used to indicate a software function shared by the second electronic device to the first electronic device.

15. The method of claim 14, further comprising: The first electronic device is sent software sharing change information, and the software sharing change information is used to indicate that the software function shared by the second electronic device to the first electronic device is changed.

16. The method of claim 10, wherein, After the processing result of the to-be-processed task is sent to the first electronic device, the method further includes: An operation synchronization instruction sent by the first electronic device is received, and the operation synchronization instruction is used to indicate that the shared software function of the second electronic device performs an operation indicated by operation information input by a user on the basis of the processing result of the to-be-processed task; In response to the operation synchronization instruction, the processing result of the to-be-processed task is processed to obtain a new processing result of the to-be-processed task; The new processing result of the to-be-processed task is sent to the first electronic device.

17. The method of claim 10, wherein, The processing result of the to-be-processed task is obtained by the second electronic device processing the to-be-processed task through the shared target software function on a foreground display screen; or The processing result of the to-be-processed task is obtained by the second electronic device processing the to-be-processed task through the shared target software function on a background virtual screen.

18. A communications device, wherein Comprise: A memory and a processor; The memory and the processor are coupled; The memory is used to store instructions executable by the processor; The processor executes the instructions to perform the method of any one of claims 1-17.

19. A computer readable storage medium, wherein, The computer readable storage medium stores computer instructions, and when the computer instructions run on the computer, the computer executes the method of any one of claims 1-17.

20. A computer program product, wherein, The computer program product comprises computer program instructions, and when the computer program instructions are executed, the method of any one of claims 1-17 is implemented.

Citation Information

Patent Citations

  • Method, device and computer program product for managing software functions

    CN111831402A

  • Distributed application processing method and device

    CN114816442A

  • Method and system for sharing applications among a plurality of electronic devices

    US20150135269A1

  • Software Configurations for Mobile Devices in a Collaborative Environment

    US20150358810A1