CN109144703B - Multitask processing method and terminal equipment thereof - Google Patents

Multitask processing method and terminal equipment thereof Download PDF

Info

Publication number
CN109144703B
CN109144703B CN201811051876.3A CN201811051876A CN109144703B CN 109144703 B CN109144703 B CN 109144703B CN 201811051876 A CN201811051876 A CN 201811051876A CN 109144703 B CN109144703 B CN 109144703B
Authority
CN
China
Prior art keywords
list
connectable
matching
multitask
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811051876.3A
Other languages
Chinese (zh)
Other versions
CN109144703A (en
Inventor
刘萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811051876.3A priority Critical patent/CN109144703B/en
Publication of CN109144703A publication Critical patent/CN109144703A/en
Application granted granted Critical
Publication of CN109144703B publication Critical patent/CN109144703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The invention discloses a multitask processing method and terminal equipment thereof, which are used for solving the problem that when the terminal equipment in the prior art processes multitasks in parallel, a user is required to frequently switch application interfaces corresponding to different tasks, so that complicated user experience is brought to the user. The method comprises the following steps: acquiring a multitask list subjected to parallel processing from terminal equipment; acquiring at least one connectable device capable of establishing connection with the terminal device within a preset range of the terminal device; matching the task in the multitask list with the at least one connectable device based on the task features in the multitask list and the device features of the at least one connectable device; and distributing the task successfully matched in the multitask list to the matched connectable equipment based on the matching result.

Description

Multitask processing method and terminal equipment thereof
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a multitask processing method and a terminal device thereof.
Background
At present, along with the rapid development and popularization of terminal equipment, the frequency of using the terminal equipment by people is higher and higher, and the terminal equipment is not only a tool for people to talk, but also is widely applied to work, study and entertainment.
Under the trend, in order to meet the requirements of users, the terminal device can realize a function of multitask parallel processing, for example, the user can use a video application to view videos and simultaneously use a chat application to chat through a split screen function of the terminal device, or the user can also view task progress through switching application interfaces corresponding to different tasks.
However, in the prior art, when one terminal device processes a plurality of tasks in parallel, even if a user uses the split screen function, since the screen size of the terminal device is limited and the number of applications that can be applied by split screen is limited, when the number of tasks that are processed in parallel by the terminal device is large, the user is still required to frequently and manually switch application interfaces corresponding to different tasks to check the task progress. Obviously, when the terminal device processes the multitask state in parallel, some inconvenience is still brought to the user.
Disclosure of Invention
The embodiment of the invention provides a multitask processing method and terminal equipment thereof, and aims to solve the problem that when the terminal equipment in the prior art processes multitasks in parallel, a user needs to frequently switch application interfaces corresponding to different tasks, so that complicated user experience is brought to the user.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides a multitask processing method, including:
acquiring a multitask list subjected to parallel processing from terminal equipment;
acquiring at least one connectable device capable of establishing connection with the terminal device within a preset range from the terminal device;
matching the task in the multitask list with the at least one connectable device based on the task features in the multitask list and the device features of the at least one connectable device;
and distributing the task successfully matched in the multitask list to the matched connectable equipment based on the matching result.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
a first acquisition unit, configured to acquire a multitask list subjected to parallel processing from a terminal device;
a second obtaining unit, configured to obtain, within a preset range from the terminal device, at least one connectable device that is capable of establishing a connection with the terminal device;
a device matching unit, configured to match a task in the multitask list with the at least one connectable device based on the task feature in the multitask list and the device feature of the at least one connectable device;
and the task distribution unit is used for distributing the tasks which are successfully matched in the multitask list to the matched connectable equipment based on the matching result.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, the embodiments of the present invention also provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method according to the first aspect.
In the embodiment of the invention, the multitask list processed in parallel can be obtained from the terminal equipment, then at least one connectable device capable of establishing connection with the terminal equipment is obtained within a preset range away from the terminal equipment, then the task in the multitask list is matched with the at least one connectable device based on the task characteristics in the multitask list and the device characteristics of the at least one connectable device, and finally the task successfully matched in the multitask list is distributed to the matched connectable device based on the matching result.
Therefore, when a user of the terminal equipment simultaneously uses a plurality of functions of the terminal equipment, for example, when the user watches videos and chats by using a chat application, the video playing task can be distributed to the equipment (such as a television) which can be connected around the terminal equipment, so that the user can watch videos through other equipment except the terminal equipment and can use the terminal equipment for chatting, the requirement of the user for using the two applications is not influenced, the complicated user experience caused by frequent switching of the two applications by the user can be avoided, or the user needs to watch videos and chats by using a smaller display area in a split-screen state, and more convenient use experience is provided for the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flowchart illustrating an embodiment of a multitasking method according to the present invention;
fig. 2 is a schematic flow chart of the multitask processing method applied in an actual scene according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that when a terminal device in the prior art processes multiple tasks in parallel, a user needs to frequently switch application interfaces corresponding to different tasks, so that tedious user experience is brought to the user, the invention provides a multitask processing method.
For convenience of description, the following description will be made of an embodiment of the method taking as an example that an execution subject of the method is a terminal device capable of executing the method. It is understood that the implementation of the method by the terminal device is only an exemplary illustration, and should not be construed as a limitation of the method.
Specifically, the multitask processing method provided by the invention comprises the following steps: firstly, acquiring a multitask list subjected to parallel processing from terminal equipment; then, within a preset range from the terminal equipment, acquiring at least one connectable device capable of establishing connection with the terminal equipment; matching the task in the multitask list with at least one connectable device based on the terminal task characteristics of the multitask list and the device characteristics of the at least one connectable device; and finally, distributing the task successfully matched in the multitask list to the matched connectable equipment based on the matching result.
In the embodiment of the invention, the multitask list processed in parallel can be obtained from the terminal equipment, then at least one connectable device capable of establishing connection with the terminal equipment is obtained within a preset range away from the terminal equipment, then the task in the multitask list is matched with the at least one connectable device based on the task characteristics in the multitask list and the device characteristics of the at least one connectable device, and finally the task successfully matched in the multitask list is distributed to the matched connectable device based on the matching result.
Therefore, when a user of the terminal equipment simultaneously uses a plurality of functions of the terminal equipment, for example, when the user watches videos and chats by using a chat application, the video playing task can be distributed to the equipment (such as a television) which can be connected around the terminal equipment, so that the user can watch videos through other equipment except the terminal equipment and can use the terminal equipment for chatting, the requirement of the user for using the two applications is not influenced, the complicated user experience caused by frequent switching of the two applications by the user can be avoided, or the user needs to watch videos and chats by using a smaller display area in a split-screen state, and more convenient use experience is provided for the user.
The following describes in detail an implementation process of the multitask processing method with reference to a schematic flowchart of a specific implementation flow of the multitask processing method shown in fig. 1, and includes:
step 101, acquiring a multitask list subjected to parallel processing from terminal equipment;
as described in the background art, in the prior art, with the rapid development of terminal devices, various applications are provided for users, and great convenience is provided for users. However, as the types of applications installed in the terminal device increase, many users are not satisfied to use only one application in the same time period, for example, when the user watches videos, other things that require to use other applications in parallel, such as mails, short messages, or chat messages, may need to be processed simultaneously, in which case, the user may choose to switch between multiple application interfaces, or may use two applications simultaneously using the split screen function of the terminal device.
Obviously, the switching between the multiple application interfaces frequently brings complicated user experience to the user due to the need of frequently switching the application interfaces, and the user needs to operate in a smaller application interface (for example, when two screens are divided, the user needs to operate in an interface only one-half of the size of the original display screen) due to the limited size of the display screen of the terminal device when the two applications are simultaneously used by dividing the screen, and the user experience is also reduced. In this case, some manufacturers produce some terminal devices with special-shaped screens, such as foldable mobile phones, dual-screen mobile phones, and other terminal devices with multiple screens.
However, when the user uses the terminal device with the special-shaped screen, the user needs to spend time to know the using method of the terminal device with the special-shaped screen because the using experience is different from the inherent cognition of the user. Obviously, the terminal device with the special-shaped screen cannot bring good user experience to the user as a solution for realizing parallel processing of multitask terminal devices.
In order to solve the problem, the embodiment of the invention can obtain the multitask list processed in parallel in the terminal equipment, then match the application corresponding to the task in the multitask list with the connectable equipment around the terminal equipment, and finally distribute the successfully matched task in the multitask list to the matched connectable equipment for execution, so that some tasks in the multitask list in the terminal equipment can be distributed to other equipment around the terminal equipment for execution, thereby not only meeting the requirement that a user uses a plurality of applications through the terminal equipment at the same time, but also avoiding the situation that the user frequently and manually switches application interfaces corresponding to a plurality of tasks, and further providing great convenience for the user.
Optionally, in practical applications, in order to achieve the purpose of quickly and accurately determining whether the terminal device is in a state of executing a plurality of tasks in parallel, and after determining that the terminal device is in a state of executing the plurality of tasks in parallel, quickly determining which tasks of the plurality of tasks executed in parallel by the terminal device can be distributed to other peripheral devices for execution, and which peripheral devices can execute the plurality of tasks executed in parallel by the terminal device, and for the purpose of quickly determining, for a data type corresponding to a different task, that the task is transmitted to a matched device by using a data transmission technology matched with the data type corresponding to the task, before acquiring the multi-task list processed in parallel from the terminal device, the preset user behavior list, the preset application list, the first matching list, and the second matching list may also be acquired.
The preset user behavior list includes behaviors that a user of the terminal device uses at least two applications in parallel, for example, the user uses other applications while listening to music by using a music application, the user performs split screen operation on a screen of the terminal device, the user frequently switches at least two application interfaces, and the like, and the operation behaviors that the user uses at least two applications simultaneously; the preset application list comprises applications which support parallel running in the terminal equipment, such as video applications, music applications, game applications and chat applications; the first matching list comprises device types matched with application types in the terminal device, for example, a video application can be matched with devices with video playing functions such as television devices and tablet personal computer devices, and a music application can be matched with devices with music playing functions such as bluetooth sound box devices, television devices and tablet personal computer devices; the second matching list includes data transmission technologies matched with the data types in the terminal device, for example, data of music and video can be transmitted by DLNA (Digital Living Network Alliance ) data transmission technologies, and game real-time pictures can be transmitted by WiFi Display data transmission technologies.
Since the preset user behavior list capable of being used for judging whether the terminal device is in the parallel processing multitask state is obtained before the slave terminal device obtains the parallel processing multitask list, the slave terminal device can obtain the parallel processing multitask list, and firstly, the user behavior information of the terminal device in a preset time period can be obtained; then, determining whether the terminal equipment is in a state of parallel processing of multiple tasks or not based on the user behavior information of the terminal equipment and a preset user behavior list; and finally, if the terminal equipment is determined to be in a parallel processing multitask state, acquiring a multitask list in the terminal equipment for parallel processing.
The following is included in the list of preset user actions: the above steps are described in detail by taking as an example that the user uses at least two applications while listening to music using a music application, the user performs a screen-splitting operation on a screen of the terminal device, the user frequently switches at least two application interfaces, and the user uses a chat application while watching a video using a video application. Assuming that the user behavior information of the terminal device in the preset time period includes that the user uses the video application to watch the video and simultaneously uses the chat application, based on the user behavior information of the terminal device and the preset user behavior list, it is obvious that the user behavior information of the terminal device is included in the preset user behavior list, and it can be determined that the terminal device is in a state of parallel processing of multiple tasks, in this case, the multiple task list parallel processed in the terminal device can be obtained, and specifically, the video content watched by the user using the video application and the chat application used by the user can be obtained.
102, acquiring at least one connectable device capable of establishing connection with a terminal device within a preset range from the terminal device;
it should be understood that, in order not to affect a user to use multiple applications of a terminal device simultaneously, when tasks in a multitask list processed by the terminal device in parallel are considered to be distributed to other devices, it is guaranteed that the tasks in the multitask list are distributed to connectable devices within a preset range of the user, that is, devices within the preset range of the terminal device. In practical applications, the connectable device capable of establishing a connection with the terminal device may specifically be a connectable device capable of establishing a bluetooth communication connection with the terminal device, or within the same WiFi connection range as the terminal device.
103, matching the task in the multitask list with at least one connectable device based on the task characteristics of the multitask list terminal and the device characteristics of the at least one connectable device;
optionally, matching the task in the multitask list with at least one connectable device based on the task feature in the multitask list and the device feature of the connectable device, and first determining a candidate task in the multitask list that can be distributed to the at least one connectable device based on an application type corresponding to the task in the multitask list and a preset application list; then, a connectable device that matches the application type corresponding to the candidate task is determined from the at least one connectable device based on the device characteristics of the at least one connectable device and the first matching list.
The preset application list comprises a video application, a music application, a game application and a picture application, and the first matching list comprises: the video application is matched with the television device, the projector device and the tablet computer device, the music application is matched with the bluetooth sound box device, the television device and the tablet computer device, the game application is matched with the television device, and the picture application is matched with the projector device and the television device. The method for determining the multitask list of the terminal equipment by detecting the current operation behavior of the user on the terminal equipment comprises the following steps: playing a video A through a video application, chatting through the chatting application, and viewing a picture set B through the picture application, wherein connectable devices in a preset range of the terminal device comprise a television device, a projector device and a tablet computer device.
Then, based on the task features in the multitask list and the device features of the connectable devices, matching the task in the multitask list with at least one connectable device, specifically, first, based on the application type (i.e., video application, chat application, and picture application) corresponding to the task in the multitask list and a preset application list, determining that a candidate task in the connectable devices that can be distributed to the periphery of the terminal device in the multitask list is: playing the video A through a video application and viewing the picture set B through a picture application; then, connectable devices that match the application type corresponding to the candidate task may be determined from among the television device, the projector device, and the tablet device based on the device characteristics of the connectable devices (i.e., the television device, the projector device, and the projector device) around the terminal device and the first matching list, and obviously, based on the characteristics of the above-described television device, the projector device, and the tablet device, and the first matching list, the task 1 candidate may be determined: connectable devices playing video a through a video application are television devices, projector devices and tablet computer devices, and 2: the connectable devices that are matched to view the picture set B by the picture application are a television device and a projector device.
Optionally, since one connectable device, such as a television device, may often run multiple applications, such as a video application, a game application, a picture application, and the like, and different connectable devices run different applications, which may also have different effects, for example, the television application has a better effect for playing video and running a game application, the bluetooth speaker has a better effect for playing music, and the projector application has a better effect for viewing pictures. Therefore, in order to bring a better user experience to the user, the priority of the connectable device to the application corresponding to the task (i.e., the device matching priority described below) may be set in advance, and the priority of the connectable device to the application may be set to be higher than the priority of the connectable device to be matched.
Then when it is determined that there are at least two connectable devices that match a task in the multitask list, it may be determined to which connectable device the task is preferentially matched based on the preset device matching priority. Therefore, the connectable device matching the application type corresponding to the candidate task is determined from the at least one connectable device based on the device feature of the at least one connectable device and the second matching list, and specifically, if at least two devices in the at least one connectable device match the application type corresponding to the candidate task, the connectable device with the highest device matching priority is determined from the connectable devices based on a preset device matching priority.
Assume that the priority of the device type of connectable device matching the video application is from high to low: the priority of the device types of the connectable devices matched with the picture application is from high to low, namely the projector device and the television device. Then following the above example, in determining candidate task 1: connectable devices playing video a through a video application are television devices, projector devices and tablet computer devices, and 2: after the connectable devices matched with the picture set B are checked as the television device and the projector device by the picture application, it may be determined that the connectable device with the highest device matching priority matched with the application type (i.e., the video application) corresponding to the candidate task 1 is the television device and the connectable device with the highest device matching priority matched with the application type (i.e., the picture application) corresponding to the candidate task 2 is the projector device, based on the preset device matching priority.
And 104, distributing the task successfully matched in the multitask list to the matched connectable equipment based on the matching result.
Optionally, based on the matching result, distributing the task successfully matched in the multitask list to the matched connectable device, specifically, first, based on the second matching list and the data type corresponding to the candidate task, determining a data transmission technology matched with the data type of the candidate task; and then, based on the data transmission technology matched with the data type of the candidate task, transmitting the data corresponding to the candidate task to the matched connectable device.
Suppose that the second matching list includes data of music and video and matches with the DLNA data transmission technology, and game real-time pictures and pictures match with the WiFi Display data transmission technology. Continuing with the above example, after determining that the connectable device with the highest device matching priority that matches the application type (i.e., video application) corresponding to candidate task 1 is a television device and the connectable device with the highest device matching priority that matches the application type (i.e., picture application) corresponding to candidate task 2 is a projector device, then based on the second matching list and the data types (i.e., video-type data and picture-type data) of candidate task 1 and candidate task 2, it may be determined that the data transmission technology that matches the data type of candidate task 1 is DLNA and the data transmission technology that matches the data type of candidate task 2 is WiFi Display.
The following describes in detail the multitasking method provided by the embodiment of the present invention with a flow diagram in an actual scenario shown in fig. 2. As shown in fig. 2, the multitask processing method in the actual scenario includes the following steps:
step 201, acquiring a preset user behavior list, a preset application list, a first matching list and a second matching list;
the preset user behavior list, the preset application list, the first matching list and the second matching list are described in detail above, and will not be described herein again.
Step 202, acquiring user behavior information of the terminal equipment in a preset time period;
step 203, determining whether the terminal equipment is in a parallel processing multitask state;
based on the user behavior information of the terminal device, it can be determined whether the terminal device is in a state of parallel processing multitask.
Step 204, searching and matching connectable equipment in a preset range of the terminal equipment;
specifically, whether connectable devices exist within a preset range of the terminal device may be searched through a bluetooth communication mode or WiFi.
Step 205, determining whether a matched device exists;
and determining whether a device matched with the candidate task in the multitask list exists in the connectable devices within the preset range of the terminal device based on the first matching list and the device types of the connectable devices within the preset range of the terminal device.
Step 206, determining a data transmission technology according to the data type corresponding to the task;
and determining the data transmission technology matched with the data types according to the data types corresponding to the tasks and the second matching list, such as game real-time pictures, video data, music data and the like.
Step 207, transmitting data corresponding to the task to the successfully matched device or commanding to open an application corresponding to the task in the successfully matched device;
the data corresponding to the task can be transmitted to the successfully matched device, for example, the video data or the music data can be directly transmitted to the successfully matched device for playing, a video application which is the same as the video application in the terminal device can be opened in the matched device, and the same video source or music source can be obtained to play the video or music corresponding to the task.
Step 208, controlling the processing of the data in the equipment;
it should be understood that, in distributing the task successfully matched in the multitask list to the matched connectable device, in order to facilitate the operation of the user, the processing of the data transmitted to the matched connectable device may also be controlled by controlling the application corresponding to the task in the terminal device. For example, after a certain video a is transmitted to the television device, the user may perform fast forward or rewind operations on the video a played on the television device, and control operations such as volume increase or decrease.
And step 209, disconnecting the device successfully matched and ending the multi-device parallel processing and multitask.
In the embodiment of the invention, the multitask list processed in parallel can be obtained from the terminal equipment, then at least one connectable device capable of establishing connection with the terminal equipment is obtained within a preset range away from the terminal equipment, then the task in the multitask list is matched with the at least one connectable device based on the task characteristics in the multitask list and the device characteristics of the at least one connectable device, and finally the task successfully matched in the multitask list is distributed to the matched connectable device based on the matching result.
Therefore, when a user of the terminal equipment simultaneously uses a plurality of functions of the terminal equipment, for example, when the user watches videos and chats by using a chat application, the video playing task can be distributed to the equipment (such as a television) which can be connected around the terminal equipment, so that the user can watch videos through other equipment except the terminal equipment and can use the terminal equipment for chatting, the requirement of the user for using the two applications is not influenced, the complicated user experience caused by frequent switching of the two applications by the user can be avoided, or the user needs to watch videos and chats by using a smaller display area in a split-screen state, and more convenient use experience is provided for the user.
Referring to fig. 3, a schematic structural diagram of a terminal device 300 according to an embodiment of the present invention is shown in fig. 3, and includes a first obtaining unit 301, a second obtaining unit 302, a device matching unit 303, and a task distributing unit 304, where:
a first acquiring unit 301, configured to acquire a multitask list subjected to parallel processing from a terminal device;
a second obtaining unit 302, configured to obtain, within a preset range from the terminal device, at least one connectable device that is capable of establishing a connection with the terminal device;
a device matching unit 303, configured to match a task in the multitasking list with the at least one connectable device based on the task feature in the multitasking list and the device feature of the at least one connectable device;
a task distributing unit 304, configured to distribute, based on the matching result, the task that is successfully matched in the multitask list to the matched connectable device.
Optionally, in an implementation manner, the terminal device further includes:
a third obtaining unit 305, configured to obtain a preset user behavior list, a preset application list, a first matching list, and a second matching list;
the preset user behavior list comprises behaviors of using at least two applications by a user of the terminal equipment in parallel;
the preset application list comprises applications which support parallel operation in the terminal equipment;
the first matching list comprises device types matched with application types in the terminal device;
the second matching list comprises data transmission technologies matching the data type in the terminal device.
Optionally, in an embodiment, the first obtaining unit 301 is configured to:
acquiring user behavior information of the terminal equipment within a preset time period;
determining whether the terminal equipment is in a parallel processing multitask state or not based on the user behavior information of the terminal equipment and the preset user behavior list;
and if the terminal equipment is determined to be in a parallel processing multitask state, acquiring a multitask list in the terminal equipment for parallel processing.
Optionally, in an embodiment, the device matching unit 303 is configured to:
determining candidate tasks in the multitask list, which can be distributed to the at least one connectable device, based on application types corresponding to the tasks in the multitask list and the preset application list;
determining connectable devices from the at least one connectable device that match the application type corresponding to the candidate task based on the device characteristics of the at least one connectable device and the first matching list.
Optionally, in an embodiment, the task distributing unit 304 is configured to:
determining a data transmission technology matched with the data type of the candidate task based on the second matching list and the data type corresponding to the candidate task;
and transmitting the data corresponding to the candidate task to the connectable equipment successfully matched based on the data transmission technology matched with the data type of the candidate task.
Optionally, in an embodiment, the device matching unit 303 is configured to:
and if at least two devices in the connectable devices are matched with the application types corresponding to the candidate tasks, determining the connectable device with the highest device matching priority from the connectable devices based on preset device matching priorities.
The terminal device 300 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
Figure 4 is a schematic diagram of a hardware configuration of a terminal device 400 implementing various embodiments of the present invention,
the terminal device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 4 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to obtain a multi-task list of parallel processing from the terminal device; acquiring at least one connectable device capable of establishing connection with the terminal device within a preset range from the terminal device; matching the task in the multitask list with the at least one connectable device based on the task features in the multitask list and the device features of the at least one connectable device; and distributing the task successfully matched in the multitask list to the matched connectable equipment based on the matching result.
In the embodiment of the invention, the multitask list processed in parallel can be obtained from the terminal equipment, then at least one connectable device capable of establishing connection with the terminal equipment is obtained within a preset range away from the terminal equipment, then the task in the multitask list is matched with the at least one connectable device based on the task characteristics in the multitask list and the device characteristics of the at least one connectable device, and finally the task successfully matched in the multitask list is distributed to the matched connectable device based on the matching result.
Therefore, when a user of the terminal equipment simultaneously uses a plurality of functions of the terminal equipment, for example, when the user watches videos and chats by using a chat application, the video playing task can be distributed to the equipment (such as a television) which can be connected around the terminal equipment, so that the user can watch videos through other equipment except the terminal equipment and can use the terminal equipment for chatting, the requirement of the user for using the two applications is not influenced, the complicated user experience caused by frequent switching of the two applications by the user can be avoided, or the user needs to watch videos and chats by using a smaller display area in a split-screen state, and more convenient use experience is provided for the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 403. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The terminal device 400 further comprises at least one sensor 405, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the terminal apparatus 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 400 or may be used to transmit data between the terminal apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned multi-task processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned multitasking method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A multitasking method, comprising:
acquiring a multitask list subjected to parallel processing from terminal equipment;
acquiring at least one connectable device capable of establishing connection with the terminal device within a preset range from the terminal device;
matching the task in the multitask list with the at least one connectable device based on the task features in the multitask list and the device features of the at least one connectable device;
based on the matching result, distributing the task successfully matched in the multitask list to the matched connectable equipment;
before the slave terminal device acquires the multitask list processed in parallel, the method further comprises the following steps: acquiring a preset application list and a first matching list;
the preset application list comprises application types which support parallel operation in the terminal equipment;
the first matching list comprises device types matched with application types in the terminal device;
wherein matching the task in the multitask list with the at least one connectable device based on the task features in the multitask list and the device features of the at least one connectable device comprises:
determining candidate tasks in the multitask list, which can be distributed to the at least one connectable device, based on application types corresponding to the tasks in the multitask list and the preset application list;
determining connectable devices from the at least one connectable device that match the application type corresponding to the candidate task based on the device characteristics of the at least one connectable device and the first matching list.
2. The method of claim 1, wherein prior to obtaining the parallel processed multitasking list from the terminal device, the method further comprises:
acquiring a preset user behavior list and a second matching list;
the preset user behavior list comprises behaviors of using at least two applications by a user of the terminal equipment in parallel;
the second matching list comprises data transmission technologies matching the data type in the terminal device.
3. The method of claim 2, wherein obtaining a parallel processed multitasking list from a terminal device comprises:
acquiring user behavior information of the terminal equipment within a preset time period;
determining whether the terminal equipment is in a parallel processing multitask state or not based on the user behavior information of the terminal equipment and the preset user behavior list;
and if the terminal equipment is determined to be in a parallel processing multitask state, acquiring a multitask list in the terminal equipment for parallel processing.
4. The method of claim 2, wherein distributing the successfully matched task in the multitask list to the matched connectable device based on the matching result comprises:
determining a data transmission technology matched with the data type of the candidate task based on the second matching list and the data type corresponding to the candidate task;
and transmitting the data corresponding to the candidate task to the matched connectable equipment based on the data transmission technology matched with the data type of the candidate task.
5. The method of claim 1, wherein determining a connectable device from the at least one connectable device that matches an application type corresponding to the candidate task based on the device characteristics of the at least one connectable device and the first matching list comprises:
and if at least two connectable devices exist in the connectable devices and are matched with the application types corresponding to the candidate tasks, determining the connectable device with the highest device matching priority from the at least two connectable devices based on a preset device matching priority.
6. A terminal device, comprising:
a first acquisition unit, configured to acquire a multitask list subjected to parallel processing from a terminal device;
a second obtaining unit, configured to obtain, within a preset range from the terminal device, at least one connectable device that is capable of establishing a connection with the terminal device;
a device matching unit, configured to match a task in the multitask list with the at least one connectable device based on the task feature in the multitask list and the device feature of the at least one connectable device;
the task distribution unit is used for distributing the tasks which are successfully matched in the multitask list to the matched connectable equipment based on the matching result;
wherein, the terminal equipment still includes:
the third acquisition unit is used for acquiring a preset application list and the first matching list;
the preset application list comprises applications which support parallel running in the terminal equipment;
the first matching list comprises device types matched with application types in the terminal device;
wherein the device matching unit is configured to:
determining candidate tasks in the multitask list, which can be distributed to the at least one connectable device, based on application types corresponding to the tasks in the multitask list and the preset application list;
determining connectable devices from the at least one connectable device that match the application type corresponding to the candidate task based on the device characteristics of the at least one connectable device and the first matching list.
7. The terminal device of claim 6,
the third obtaining unit is further configured to obtain a preset user behavior list and a second matching list;
the preset user behavior list comprises behaviors of using at least two applications by a user of the terminal equipment in parallel;
the second matching list comprises data transmission technologies matching the data type in the terminal device.
8. The terminal device of claim 7, wherein the first obtaining unit is configured to:
acquiring user behavior information of the terminal equipment within a preset time period;
determining whether the terminal equipment is in a parallel processing multitask state or not based on the user behavior information of the terminal equipment and the preset user behavior list;
and if the terminal equipment is determined to be in a parallel processing multitask state, acquiring a multitask list in the terminal equipment for parallel processing.
9. The terminal device according to claim 7, wherein the task distributing unit is configured to:
determining a data transmission technology matched with the data type of the candidate task based on the second matching list and the data type corresponding to the candidate task;
and transmitting the data corresponding to the candidate task to the connectable equipment successfully matched based on the data transmission technology matched with the data type of the candidate task.
10. The terminal device of claim 6, wherein the device matching unit is configured to:
and if at least two devices in the connectable devices are matched with the application types corresponding to the candidate tasks, determining the connectable device with the highest device matching priority from the connectable devices based on preset device matching priorities.
11. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the multitasking processing method according to any one of claims 1-5.
CN201811051876.3A 2018-09-10 2018-09-10 Multitask processing method and terminal equipment thereof Active CN109144703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811051876.3A CN109144703B (en) 2018-09-10 2018-09-10 Multitask processing method and terminal equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811051876.3A CN109144703B (en) 2018-09-10 2018-09-10 Multitask processing method and terminal equipment thereof

Publications (2)

Publication Number Publication Date
CN109144703A CN109144703A (en) 2019-01-04
CN109144703B true CN109144703B (en) 2021-03-23

Family

ID=64824258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811051876.3A Active CN109144703B (en) 2018-09-10 2018-09-10 Multitask processing method and terminal equipment thereof

Country Status (1)

Country Link
CN (1) CN109144703B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382389B (en) * 2020-03-09 2023-02-17 上海擎感智能科技有限公司 Data processing method, system, storage medium and vehicle terminal
CN111625254B (en) * 2020-05-06 2023-09-08 Oppo(重庆)智能科技有限公司 File processing method, device, terminal and storage medium
CN111740887B (en) * 2020-06-22 2022-09-23 广州三星通信技术研究有限公司 Method and device for distributing unfinished tasks of electronic terminal
CN111935801B (en) * 2020-07-16 2023-04-28 中国联合网络通信集团有限公司 Voice access method, system, terminal equipment and computer readable storage medium
CN115202834B (en) * 2021-05-27 2023-04-28 华为技术有限公司 Task migration system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8695000B1 (en) * 2007-03-16 2014-04-08 The Mathworks, Inc. Data transfer protection in a multi-tasking modeling environment having a protection mechanism selected by user via user interface
CN108848567B (en) * 2013-10-31 2022-10-04 华为终端有限公司 Content sharing method and device
CN104978156B (en) * 2014-04-02 2021-10-22 联想(北京)有限公司 Multi-screen display method and multi-screen display processing device
CN104123191A (en) * 2014-07-31 2014-10-29 北京智谷睿拓技术服务有限公司 Task migration control method, device and system
CN105847952A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Multi-screen linkage control method and multi-screen linkage control device
WO2017206151A1 (en) * 2016-06-02 2017-12-07 百富计算机技术(深圳)有限公司 Method and device for processing multiple tasks in single task system, and single task system
CN108259427A (en) * 2016-12-29 2018-07-06 国民技术股份有限公司 A kind of multi-function intelligent card and its data processing method, communication system

Also Published As

Publication number Publication date
CN109144703A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN109144703B (en) Multitask processing method and terminal equipment thereof
CN108182019B (en) Suspension control display processing method and mobile terminal
CN109814822B (en) Multimedia play control method and device and terminal equipment
CN110784771B (en) Video sharing method and electronic equipment
US20200257433A1 (en) Display method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
WO2020186964A1 (en) Audio signal outputting method and terminal device
CN108319442B (en) Audio playing control method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
WO2019223569A1 (en) Information processing method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111124706A (en) Application program sharing method and electronic equipment
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
CN111078186A (en) Playing method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN111131885A (en) Play control method and electronic equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant