Task pushing method and device and electronic equipment
By generating a task card display interface, the task card with the highest matching degree with the current application scenario is displayed, which solves the problem of cumbersome use of external devices and improves the user experience.
Patent Information
- Application Number
- CN202510116122.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-30
- Filing Date
- 2021-06-29
- Publication Date
- 2025-06-13
AI Technical Summary
In the prior art, the use process of external devices is cumbersome, and the user needs to find and open the target application, and then control the application to call the external device to perform tasks, resulting in a reduced user experience.
By monitoring whether the external device is connected to the current device, determining whether there is a description of the device usage habits, generating a task card display interface, displaying the external device task card that has the highest matching degree with the current application scenario, simplifying the user's operation process.
It greatly simplifies the use process of external devices, reduces the cumbersomeness of the use process, improves the user experience, and ensures that the task cards displayed on the task card display interface meet the user's device usage habits.
Smart Images

Figure CN120144219A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent terminals, and particularly to a task pushing method, device and electronic device. Background Art
[0002] In the application scenarios of the prior art, when a user uses an electronic device, the user often connects an external device to the currently used electronic device to expand the functions of the electronic device. For example, connecting a Bluetooth headset or a Bluetooth speaker to a mobile phone to obtain a better audio playback effect; or connecting a smart TV to a mobile phone so that the video played on the mobile phone is displayed on the smart TV to obtain a better video display effect.
[0003] Generally, the operation process of using an external device by a user includes: establishing a connection between the external device and the current electronic device, for example, connecting a Bluetooth headset through Bluetooth; opening an application for using the external device on the current electronic device, for example, opening a music player software; controlling the application to call the external device to perform corresponding operations, for example, selecting a song and playing the song through the Bluetooth headset. In the above process of using the external device, since a large number of applications are usually installed on the current electronic device, after the user connects the external device to the current electronic device, the user needs to search for and open the target application, and then can smoothly use the external device after controlling the target application. The cumbersome operation will greatly affect the user experience and thus reduce the usage frequency of the external device by the user. Summary of the Invention
[0004] Aiming at the problem of the cumbersome process of using an external device in the prior art, this application provides a task pushing method, device and electronic device, and this application also provides a computer-readable storage medium.
[0005] The embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, this application provides a task pushing method, including:
[0007] Monitoring whether an external device is connected to the current device;
[0008] When the external device is connected to the current device, determining whether there is a device usage habit description corresponding to the external device, where the device usage habit description is used to describe the user's usage habit for the external device, and the device usage habit description includes one or more external device tasks corresponding to the external device and application scenario information corresponding to the external device task;
[0009] When there is a description of the device usage habit, a first task card display interface is generated based on the description of the device usage habit, and the first task card display interface or an interface interface for entering the first task card display interface is displayed on the current device, where:
[0010] The first task card display interface is used to display task cards of the first external device task in the description of the device usage habit, where the first external device task is the external device task corresponding to the application scenario information with the highest degree of matching with the application scenario information of the current application scenario;
[0011] Or,
[0012] The first task card display interface is used to display task cards of multiple external device tasks in the description of the device usage habit, where the multiple task cards are sorted according to the application scenario matching degree corresponding to the task cards, and the application scenario matching degree is used to describe the matching degree between the application scenario information of the current application scenario and the application scenario information in the description of the device usage habit.
[0013] In a feasible implementation manner of the first aspect above, the method further includes:
[0014] When there is no description of the device usage habit, it is determined whether the current device has ever executed an external device task corresponding to the external device within a preset historical time period;
[0015] When the current device has ever executed an external device task corresponding to the external device within the preset historical time period, a second task card display interface is generated, and the second task card display interface or an interface interface for entering the second task card display interface is displayed on the current device, where:
[0016] The second task card display interface is used to display task cards of the external device tasks corresponding to the external device that the current device has ever executed within the preset historical time period.
[0017] In a feasible implementation manner of the first aspect above, in the second task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the external device tasks corresponding to the task cards.
[0018] In a feasible implementation manner of the first aspect above, the method further includes:
[0019] When, within the preset historical time period, the current device has not executed an external device task corresponding to the external device, a third task card display interface is generated, and the third task card display interface or an interface interface for entering the third task card display interface is displayed on the current device, where:
[0020] The third task card display interface is used to display task cards of the same type of task as the external device task corresponding to the external device that the current device has executed.
[0021] In a feasible implementation manner of the first aspect above, in the third task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the same type of task as the external device task corresponding to the task card.
[0022] In a feasible implementation manner of the first aspect above, the external device task corresponding to the external device includes:
[0023] Tasks executed by an application installed on the current device by invoking the external device;
[0024] And / or,
[0025] Tasks executed by an application installed on another device connected to the current device by invoking the external device.
[0026] In a feasible implementation manner of the first aspect above, the displaying the task card display interface or the interface interface for entering the task card display interface on the current device includes:
[0027] When the current device is in the locked screen / black screen state, end the locked screen / black screen state and display the task card display interface on the current device;
[0028] And / or,
[0029] When the current device is in the in-use state, display the interface interface on the current display interface of the current device.
[0030] In a feasible implementation manner of the first aspect above, the when the current device is in the locked screen / black screen state, end the locked screen / black screen state and display the task card display interface on the current device includes:
[0031] Initiate user authentication;
[0032] When the user authentication is successful, display the task card display interface on the current device.
[0033] In a feasible implementation manner of the above first aspect, when the current device is in the in-use state, presenting the interface interface on the current device includes:
[0034] Presenting a floating button serving as the interface interface on the current display interface of the current device;
[0035] When the user clicks the floating button, presenting the task card display interface on the current device.
[0036] In a feasible implementation manner of the above first aspect, presenting the task card display interface or the interface interface for entering the task card display interface on the current device, wherein the display mode of the task card display interface includes:
[0037] Normal display mode, in which the display content of the task card display interface includes content related to the user's personal information;
[0038] Privacy protection mode, in which the display content of the task card display interface does not include content related to the user's personal information.
[0039] In a feasible implementation manner of the above first aspect:
[0040] The display mode of the task card display interface is preset on the current device;
[0041] Or,
[0042] The display mode of the task card display interface corresponds to the user identity of the user using the current device.
[0043] In a second aspect, an embodiment of the present application proposes a task push device, including:
[0044] A monitoring module, which is used to monitor whether an external device is connected to the current device;
[0045] A device usage habit description determination module, which is used to determine whether there is a device usage habit description corresponding to the external device when the external device is connected to the current device, wherein the device usage habit description is used to describe the user's usage habit for the external device, and the device usage habit description includes one or more external device tasks corresponding to the external device and application scenario information corresponding to each external device task;
[0046] A task card display module, which is used to generate a first task card display interface based on the device usage habit description when there is the device usage habit description, and display the first task card display interface or an interface interface for entering the first task card display interface on the current device, where:
[0047] The first task card display interface is used to display task cards of external device tasks corresponding to the application scenario information with the highest degree of matching with the application scenario information of the current application scenario in the device usage habit description;
[0048] Or,
[0049] The first task card display interface is used to display task cards of multiple external device tasks in the device usage habit description, where the multiple task cards are sorted according to the application scenario matching degree corresponding to the task cards, and the application scenario matching degree is used to describe the matching degree between the application scenario information of the current application scenario and the application scenario information corresponding to the external device tasks in the device usage habit description.
[0050] In a third aspect, the present application provides an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions. When the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps as described in the embodiments of the present application.
[0051] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When it runs on a computer, the computer is caused to execute the method of the embodiments of the present application.
[0052] According to the above technical solutions proposed in the embodiments of the present application, at least the following technical effects can be achieved:
[0053] According to the method of an embodiment of the present application, when an external device is connected to the current device, corresponding task cards can be directly displayed to the user based on the task card display interface. The user can directly use the task cards to control external device tasks or enter the control interface of the external device tasks through the task cards, thereby realizing the use of the external device; compared with the prior art, according to the method of an embodiment of the present application, the usage process of the external device is greatly simplified, the complexity of the external device usage process is reduced, and the user experience is improved; further, according to the method of an embodiment of the present application, a corresponding task card display interface is generated based on the user's device usage habit for the external device, ensuring that the task cards displayed on the task card display interface conform to the user's device usage habit, thereby effectively improving the user experience. Description of the Drawings
[0054] Figure 1The figure shows a flowchart of a task push method according to an embodiment of the present application;
[0055] Figure 2 The figure shows a partial flowchart of a task push method according to an embodiment of the present application;
[0056] Figure 3 The figure shows an application scenario diagram according to an embodiment of the present application;
[0057] Figure 4 The figure shows an application scenario diagram according to an embodiment of the present application;
[0058] Figure 5 The figure shows a partial flowchart of a task push method according to an embodiment of the present application;
[0059] Figure 6 The figure shows an application scenario diagram according to an embodiment of the present application;
[0060] Figure 7 The figure shows an application scenario diagram according to an embodiment of the present application;
[0061] Figure 8 The figure shows a flowchart of a task push method according to an embodiment of the present application. Detailed implementation manners
[0062] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with the specific embodiments of the present application and the corresponding drawings. Apparently, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0063] The terms used in the implementation manners of the present application are only for explaining the specific embodiments of the present application, rather than aiming to limit the present application.
[0064] In view of the problem of the cumbersome use process of external devices in the prior art, the present application provides a task push method. In an actual application scenario, the functions that an external device can achieve are predictable. For example, the functions that a Bluetooth headset can achieve are audio playback, the functions that a smart TV can achieve are video playback, and the functions that a wireless camera can achieve are video capture. Then, according to the specific external device, the application program that can call the external device can be confirmed, and further, the tasks that the application program can execute by calling the external device can be confirmed. In this way, when the external device is connected to the current electronic device, if the tasks that the application program can execute by calling the external device are pushed to the user, and the user directly confirms the target task to be executed from the pushed tasks, the process of the user determining the target application program from numerous application programs, starting the target application program, and controlling the target application program to call the external device to execute the target task can be omitted, thereby greatly simplifying the use process of the external device.
[0065] Further, in an embodiment of the present application, task push is implemented based on task cards. The task card is used to provide a task control interface for controlling tasks. For example, a certain task card for a Bluetooth headset includes song selection, play, pause, and stop control buttons. Or, the task card provides an interface for entering the task control interface. For example, a certain task card for a Bluetooth headset includes an introduction to the music playback task (such as playing song A), and after clicking the task card, the task control interface for the music playback task is entered.
[0066] Specifically, when the external device is connected to the current device, a task card display interface and / or an interface for entering the task card display interface are displayed on the current device, where:
[0067] The task card display interface is used to display task cards of external device tasks;
[0068] The external device task is a task executed by the application program calling the external device;
[0069] The task card is used to provide a task control interface for controlling the external device task, or provide an interface for entering the task control interface.
[0070] Furthermore, in actual application scenarios, for a specific external device, there are often multiple options for its corresponding external device tasks. For example, in an application scenario, the external device tasks corresponding to a Bluetooth headset include: playing songs saved locally on the mobile phone using the Bluetooth headset; playing songs in the cloud using the Bluetooth headset; playing radio broadcasts using the Bluetooth headset; playing a cloud video and playing the audio of the video using the Bluetooth headset; making a call and playing the voice of the other party during the call using the Bluetooth headset, and so on. If the task card display interface displays the task cards of all external device tasks, it not only requires a large amount of data processing resources, but also the user needs to perform relatively cumbersome selection operations when selecting the task they want to execute (for example, sliding the screen multiple times to switch to the display page showing a specific task card). Therefore, in an embodiment of the present application, the task card display interface does not display the task cards of all external device tasks, but only displays the task cards of a part of the external device tasks among all external device tasks, thereby controlling the number of task cards to be displayed on the task card display interface, reducing the occupation of data processing resources, and narrowing the user's selection range.
[0071] However, if the task card display interface only displays the task cards of a part of the external device tasks among all external device tasks, it is very likely that the task card of the task the user wants to execute is not displayed by the task card display interface. To address this issue, in an embodiment of the present application, a screening mechanism is adopted to screen out external device tasks with relatively high execution probabilities, and the task cards corresponding to the screened external device tasks are displayed on the task card display interface. This not only controls the number of task cards to be displayed on the task card display interface, reduces the occupation of data processing resources, and narrows the user's selection range, but also effectively avoids the situation where the task card of the task the user wants to execute is not displayed by the task card display interface.
[0072] Further, in actual application scenarios, users have usage habits for certain specific external devices. If the application scenario description when the external device is connected to the current device matches the description of a habitual application scenario for the user to use the external device, then, after the external device is connected to the current device, the possibility that the user performs the task corresponding to the device usage habit is very high. For example, the user usually takes the subway from 8:00 to 9:00 every morning on weekdays. During this period, they are used to playing music with headphones. Then, between 8:00 and 9:00 on a certain weekday morning, when the headphones are connected to the user's mobile phone, the possibility that the user will perform the music playback task next is very high. If a task card for the music playback task is directly displayed to the user after the headphones are connected to the user's mobile phone, the user experience can be greatly improved. Therefore, in an embodiment of the present application, when the external device is connected to the current device, task cards to be displayed on the task card display interface are filtered according to the device usage habit description of the user for the external device. Specifically, the device usage habit description is used to describe the user's usage habits for a specific external device, and it includes one or more external device tasks for the corresponding external device and the application scenario information corresponding to each external device task
[0073] Further, in some actual application scenarios, when the external device is connected to the current device, the current application scenario may be exactly the same as the application scenario of a certain usage habit described in the user's device usage habits. At this time, it can be confirmed that the task card corresponding to this usage habit needs to be displayed to the user. However, in some application scenarios, when the external device is connected to the current device, the current application scenario may not be exactly the same as all the application scenarios of the usage habits described in the user's device usage habits. For the above situation, in an embodiment of the present application, task cards to be displayed on the task card display interface are filtered based on the matching degree between the current application scenario and the application scenarios in the device usage habit description
[0074] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings
[0075] Figure 1 The following shows a flowchart of a task push method according to an embodiment of the present application. In an embodiment of the present application, as Figure 1 shown, the following steps are performed during the task push
[0076] Step 110, monitor whether an external device is connected to the current device
[0077] When no external device is connected to the current device, return to step 110
[0078] When an external device is connected to the current device, execute step 120
[0079] Step 120: Determine whether there is a device usage habit description corresponding to an external device. Here, the device usage habit description is used to describe the user's usage habits for the external device, and the device usage habit description includes one or more external device tasks corresponding to the external device and application scenario information corresponding to each external device task.
[0080] When there is no device usage habit description corresponding to the external device, execute Step 121.
[0081] Step 121: Generate a task card display interface using other strategies and display the task card display interface or an interface interface for entering the task card display interface on the current device.
[0082] When there is a device usage habit description corresponding to the external device, execute Step 130.
[0083] Step 130: Generate a first task card display interface based on the device usage habit description, and display the first task card display interface or an interface interface for entering the first task card display interface on the current device.
[0084] Specifically, in one implementation manner of Step 130, the first task card display interface is used to display the task card of the external device task corresponding to the application scenario information with the highest matching degree with the application scenario information of the current application scenario in the device usage habit description.
[0085] For example, in an application scenario, the user's device usage habit description for the earphone is:
[0086] External device task 1: Play local music on the mobile phone through the earphone; Application scenario information: Weekday + 7:30 - 8:30 am + Between XX Road and XX Road + Taking transportation;
[0087] External device task 2: Play cloud radio music through the earphone; Application scenario information: Weekday + 12:00 - 13:30 noon + XXX location + Office;
[0088] External device task 3: Play a mobile phone cloud video and play the audio of the video through the earphone; Application scenario information: Weekday + 20:00 - 22:30 pm + At home.
[0089] Suppose at 7 am on a certain weekday, when the user is taking transportation between XX Road and XX Road, the user connects the Bluetooth earphone to the mobile phone. Since the current application scenario exactly matches the application scenario in Device Usage Habit Description 1, according to the method of an embodiment of the present application, the mobile phone will display a task card display interface to the user, and the task card display interface displays the task card of External Device Task 1: Play local music on the mobile phone through the earphone.
[0090] Suppose at 11:00 am on a working day, when the user is in the office at location XXX, the user connects the Bluetooth headset to the mobile phone. Since the current application scenario has the highest degree of match with the application scenario described in Device Usage Habit Description 2, according to the method of an embodiment of the present application, the mobile phone will display a task card display interface for the user, and on this task card display interface, there is displayed External Device Task 2: a task card for playing cloud broadcast music based on the headset.
[0091] Specifically, in one implementation manner of step 130, the first task card display interface is used to display task cards of multiple external device tasks in the device usage habit description. In the actual application scenario, limited by the size of the display interface, the task card display interface may not be able to display all the task cards on one display page. Therefore, in an embodiment of the present application, the task card display interface includes multiple display pages, and only one or more task cards are displayed on each display page. The user can switch the display pages through a specific operation (for example, swiping a finger on the screen).
[0092] Furthermore, in the application scenario where the task card display interface includes multiple display pages, the user needs to perform multiple display page switching operations to view all the task cards. In order to enable the user to select the required task card with as few page switching operations as possible, in an embodiment of the present application, when using multiple display pages to display task cards, the display pages are sorted based on the external device tasks corresponding to the task cards displayed on the display pages, and the display pages corresponding to the external device tasks with a relatively higher execution probability are arranged as far forward as possible in the sequence.
[0093] Specifically, in one implementation manner of step 130, the multiple task cards displayed on the first task card display interface are sorted according to the application scenario matching degree corresponding to the task cards (that is, the display pages of the task cards will also be sorted according to the sorting of the task cards). The application scenario matching degree is used to describe the matching degree between the application scenario information of the current application scenario and the application scenario information corresponding to the external device tasks in the device usage habit description.
[0094] Specifically, in an embodiment of the present application, different weights are set for different types of application scenario information of the application scenario (such as date, time period, geographical location, user behavior, etc.), and the application scenario information of different types is respectively matched and compared, and the comprehensive comparison results are weighted and calculated to obtain the application scenario matching degree between the application scenario information.
[0095] Take the application scenarios based on the above Device Usage Habit Descriptions 1 - 3 as an example.
[0096] Suppose at 12:00 am on a working day, when the user is at home, the user connects the Bluetooth headset to the mobile phone. According to the method of an embodiment of the present application, the mobile phone will display a task card display interface for the user, and three task cards for external device tasks 1-3 are displayed on the task card display interface. The three task cards are sorted in the order of: external device task 3, external device task 2, and external device task 1.
[0097] Further, in an implementation manner of step 130, according to the first task card display interface for display, task cards of multiple external device tasks in the device usage description are used, wherein the external device tasks corresponding to the displayed task cards are external device tasks filtered from the external device tasks in the device usage description based on the application scenario matching degree. For example, it is preset that the first task card display interface displays n task cards. When the number of external device tasks in the device usage description is greater than n, the n external device tasks with the top n application scenario matching degrees are filtered from the external device tasks in the device usage description, and the task cards of these n external device tasks are displayed on the first task card display interface.
[0098] According to the method of an embodiment of the present application, when an external device is connected to the current device, corresponding task cards can be directly displayed to the user based on the task card display interface. The user can directly use the task cards to control the external device tasks or enter the control interface of the external device tasks through the task cards, thereby realizing the use of the external device; compared with the prior art, according to the method of an embodiment of the present application, the use process of the external device is greatly simplified, the complexity of the external device use process is reduced, and the user experience is improved; further, according to the method of an embodiment of the present application, a corresponding task card display interface is generated based on the user's device usage habits for the external device, ensuring that the task cards displayed on the task card display interface conform to the user's device usage habits, thereby effectively improving the user experience.
[0099] It should be noted here that in the embodiments of the present application, different external device tasks may be tasks executed by different application programs. For example, the music playback task executed by the music playback application, the video playback task executed by the video playback application, and the dialing task executed by the voice call application. Further, different external device tasks may also be tasks executed by the same application program for different target objects or with different running parameters. For example, the music playback task of playing local song 1 executed by the music playback application, the music playback task of playing local song 2 executed by the music playback application, and the music playback task of playing cloud song 3 executed by the music playback application.
[0100] Further, in an actual application scenario, the external device connected to the current device can be any type of electronic device, such as: wireless earphones, wired earphones, microphones, smart speakers, smart screens, tablets, mobile phones, laptops, smart watches, and smart bracelets.
[0101] Further, in an embodiment of the present application, when there is no description of the device usage habit for the external device currently connected to the current device, the task cards displayed on the task card display interface are determined based on the historical usage records of the external device connected to the current device.
[0102] Specifically, in one implementation manner of step 121, a task card display interface is generated based on the historical usage records of the external device connected to the current device, and the task card display interface and / or the interface interface for entering the task card display interface are displayed on the current device.
[0103] Figure 2 The following shows a partial flowchart of the task push method according to an embodiment of the present application. In an embodiment of the present application, when there is no description of the device usage habit for the external device currently connected to the current device, in one implementation manner of step 121, the following steps are performed as Figure 2 shown below:
[0104] Step 200, determine whether the current device has ever executed an external device task corresponding to the external device within a preset historical time period;
[0105] When the current device has ever executed an external device task corresponding to the external device within a preset historical time period, step 210 is performed;
[0106] Step 210, generate a second task card display interface, and display the second task card display interface or the interface interface for entering the second task card display interface on the current device, where:
[0107] The second task card display interface is used to display the task cards of the external device tasks corresponding to the external device that the current device has ever executed within a preset historical time period.
[0108] For example, in the application scenario of a mobile phone, for the earphone, there are the following external device tasks: the music player application calls the earphone to play song 1, the music player application calls the earphone to play song 2, the music player application calls the earphone to play song 3, the video player application calls the earphone to play video 1, the video player application calls the earphone to play video 2, and the voice call application calls the earphone to make a voice call. If there is no description of the device usage habit for the earphone, when the earphone is connected to the mobile phone, by querying the historical records, the task historical execution time of the external device task for the earphone is determined. Assume that the execution time of the music player application calling the earphone to play song 1 was 1 hour ago; the execution time of the music player application calling the earphone to play song 2 was 20 minutes ago; the execution time of the music player application calling the earphone to play song 3 was 1 day ago; the execution time of the video player application calling the earphone to play video 1 was 2 hours ago, the execution time of the video player application calling the earphone to play video 2 was 2 days ago, and the execution time of the voice call application calling the earphone to make a voice call was 10 minutes ago. If the preset historical time period is the current day, then, when the earphone is connected to the mobile phone, the tasks corresponding to the 4 task cards displayed on the task card display interface are: the music player application calls the earphone to play song 1, the music player application calls the earphone to play song 2, the video player application calls the earphone to play video 1, and the voice call application calls the earphone to make a voice call.
[0109] Furthermore, in the actual application scenario, without invoking the external device, the similar effect of the external device task can be achieved by executing the same type of task of the external device task. For example, in the application scenario of a mobile phone, the mobile phone plays music based on the externally connected earphone, and the mobile phone can also play music based on its built-in speaker. Therefore, in an embodiment of the present application, when the current device has not executed the external device task corresponding to the external device within the preset historical time period, a task card display interface is generated based on the same type of task of the external device task.
[0110] Specifically, in one implementation manner of step 121, as Figure 2 shown:
[0111] When the current device has not executed the external device task corresponding to the external device within the preset historical time period, step 220 is executed;
[0112] Step 220, generate a third task card display interface, and display the third task card display interface or an interface interface for entering the third task card display interface on the current device, where:
[0113] The third task card display interface is used to display the task cards of the same type of tasks of the external device tasks corresponding to the external device that the current device has executed.
[0114] For example, in the application scenario of a mobile phone, for the earphone, there are the following external device tasks: the music player application calls the earphone to play Song 1, the music player application calls the earphone to play Song 2, the music player application calls the earphone to play Song 3, the video player application calls the earphone to play Video 1, the video player application calls the earphone to play Video 2, and the voice call application calls the earphone to make a voice call. When the earphone is connected to the mobile phone, by querying the historical records, it is determined that the last execution time of the above external device tasks was all 1 day ago. And, assume that the execution time of the music player application calling the mobile phone speaker to play Song 1 was 1 hour ago; the execution time of the music player application calling the mobile phone speaker to play Song 2 was 20 minutes ago; the execution time of the music player application calling the mobile phone speaker to play Song 3 was 1 day ago; the execution time of the video player application calling the mobile phone speaker to play Video 1 was 2 hours ago, the execution time of the video player application calling the mobile phone speaker to play Video 2 was 2 days ago, and the execution time of the voice call application calling the mobile phone speaker to make a voice call was 10 minutes ago.
[0115] If the preset historical time period is the current day, then, when the earphone is connected to the mobile phone, the tasks corresponding to the 4 task cards displayed on the task card display interface are: the music player application calls the earphone to play Song 1, the music player application calls the earphone to play Song 2, the video player application calls the earphone to play Video 1, and the voice call application calls the earphone to make a voice call.
[0116] Further, in an implementation manner of step 210, in the task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the external device tasks corresponding to the task cards. For example, the closer the historical execution time is to the current moment, the higher the ranking; or, the higher the historical execution frequency, the higher the ranking.
[0117] Further, in an implementation manner of step 220, in the task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the same type of tasks of the external device tasks corresponding to the task cards. For example, the closer the historical execution time is to the current moment, the higher the ranking; or, the higher the historical execution frequency, the higher the ranking.
[0118] Further, in the actual application scenario, when an external device is connected to the current device, the current device may be in the locked screen / black screen state. In an embodiment of the present application, during the process of displaying the task card display interface and / or the interface interface for entering the task card display interface on the current device, when the current device is in the locked screen / black screen state, the locked screen / black screen state is ended, and the task card display interface is displayed on the current device.
[0119] Further, in an embodiment of the present application, the external device task includes: a task executed by an application installed on the current device by invoking an external device. For example, when the external device is a headset and the current device is a mobile phone, the external device task may be a music playback task executed by an audio playback application on the mobile phone based on the headset, or the external device task may be a voice / video call task executed by a call application on the mobile phone based on the headset.
[0120] Figure 3 The following is a scenario diagram according to an embodiment of the present application. In an embodiment of the present application, as Figure 3 shown, the current device is a mobile phone 300. When a headset is connected to the mobile phone, the functions that the mobile phone can achieve include: the music playback application invokes the headset to play local songs; the radio listening application invokes the headset to play cloud radio songs; the video playback application plays a local video and invokes the headset to play the audio of the video when playing the video; the voice call application invokes the headset to achieve a voice call. Then, when a headset is connected to the mobile phone, for the connected headset, the task cards that can be displayed include task cards 301, 302, 303, and 304. Among them, task card 301 provides a playback control interface for the music playback application to play local songs, task card 302 provides a playback control interface for the radio listening application to play cloud radio songs, task card 303 provides a playback control interface for the video playback application to play local videos, and task card 304 provides a control interface for voice dialing. Further, in an application scenario, task cards 301 to 304 can also respectively provide playback control interfaces for the music playback application to play different local songs.
[0121] When the mobile phone is in the locked / black screen state and a headset is connected to the mobile phone, the mobile phone screen of the mobile phone 300 displays a mobile phone display interface 310 as Figure 3 shown. A task card display interface is displayed on the mobile phone display interface 310, and the task card display interface displays one of task cards 301, 302, 303, and 304. The user can switch to display different task cards by swiping on the task card display interface. The user directly operates the task by clicking on the control button of the task card displayed on the task card display interface.
[0122] Further, in an embodiment of the present application, the external device task may also be a task that the device connected to the current device can execute. For example, when the external device is a headset, the current device is a mobile phone, and the current device is connected to a smart TV, the external device task may be a video playback task that can be executed by a video playback application on the smart TV, and the video playback task plays the audio based on the headset. Specifically, the external device task includes: a task executed by an application installed on another device connected to the current device by invoking an external device.
[0123] Figure 4 Shown is an application scenario diagram according to an embodiment of the present application. In an embodiment of the present application, as Figure 4 shown, the current device is a mobile phone 400, and the mobile phone is connected to a smart TV and a tablet computer. When the mobile phone is in the locked screen / black screen state and the earphone is plugged into the mobile phone, a mobile phone display interface 410 is displayed on the screen of the mobile phone 400. A task card display interface is displayed on the mobile phone display interface 410, and a task card 401 is displayed on the task card display interface displayed on the mobile phone display interface 410. The task card 401 provides a playback control interface for playing local songs by a music playback application on the mobile phone.
[0124] Performing a swiping-up operation on the mobile phone display interface 410, the screen of the mobile phone 400 displays a mobile phone display interface 420. A task card display interface is displayed on the mobile phone display interface 420, and a task card 401 and a selection interface 430 for other devices connected to the mobile phone 400 are displayed on the task card display interface displayed on the mobile phone display interface 420. Buttons corresponding to the tablet computer and the smart TV are displayed on the selection interface 430.
[0125] Selecting the smart TV button on the selection interface 430, the screen of the mobile phone 400 displays a mobile phone display interface 440. A task card display interface is displayed on the mobile phone display interface 440, and a task card 402 is displayed on the task card display interface displayed on the mobile phone display interface 440. The task card 402 provides a playback control interface for playing a video by a video playback application on the smart TV. The user of the mobile phone can directly control the smart TV to execute the video playback task by directly clicking the control button of the task card 402. During the execution of the video playback task, the audio is played through the earphone plugged into the mobile phone.
[0126] Furthermore, in order to prevent illegal users from using the device, in an embodiment of the present application, when an external device is plugged into the current device in the locked screen / black screen state, user authentication needs to be performed, and only users who pass the authentication can see the task card display interface and further perform operations on the task card. Specifically, in an embodiment of the present application, when the current device is in the locked screen / black screen state, the process of displaying the task card display interface on the current device includes:
[0127] Initiating user authentication;
[0128] When the user authentication is successful, the task card display interface is displayed on the current device.
[0129] Specifically, in an embodiment of the present application, when the current device is locked and the screen is black, the screen of the current device is turned on and user authentication is initiated; when the user authentication is successful, the current device is unlocked and the task card display interface is displayed on the current device.
[0130] Further, in an actual application scenario, when an external device is connected to the current device, the current device may also be in a used state. In the used state, the user may be interacting with the current device. If the task card display is suddenly presented, it will interrupt the interaction operation that the user is performing. Therefore, in an embodiment of the present application, during the process of presenting the task card display interface and / or the interface interface for entering the task card display interface on the current device, when the current device is in a used state, the interface interface for entering the task card display interface is presented on the current display interface of the current device.
[0131] Specifically, in an embodiment of the present application, during the process of presenting the interface interface for entering the task card display interface on the current device when the current device is in a used state, the process includes:
[0132] Present a floating button as the interface interface on the current display interface of the current device;
[0133] When the user clicks the floating button, present the task card display interface on the current device.
[0134] Figure 5 The following shows a partial flowchart of the task push method according to an embodiment of the present application. Specifically, in an application scenario, the process of presenting the task card display interface or the interface interface for entering the task card display interface on a mobile phone is as Figure 5 shown:
[0135] Step 500, determine whether the mobile phone is in a locked / screen-off state;
[0136] When the mobile phone is in a locked / screen-off state, execute step 501;
[0137] Step 501, turn on the screen and initiate user authentication. After successful authentication, unlock the mobile phone and present the task card display interface;
[0138] When the mobile phone is not in a locked / screen-off state, execute step 510;
[0139] Step 510, present an earphone floating button on the current display interface of the mobile phone;
[0140] Step 511, determine whether the user clicks the earphone floating button;
[0141] Step 512, when the user clicks the earphone floating button, execute step 520;
[0142] Step 520, present the task card display interface;
[0143] Step 521, determine whether the user clicks the close button;
[0144] When the user clicks the close button, execute step 514;
[0145] Step 522, close the task card display interface.
[0146] Figure 6 The following is an application scenario diagram according to an embodiment of the present application. In an embodiment of the present application, as Figure 6 shown, the current device is a mobile phone 600. When the mobile phone 600 is in use (for example, the user is having a text chat), the screen of the mobile phone 600 displays a display interface 610, and a chat interface 611 is displayed on the display interface 610.
[0147] When the earphone is plugged into the mobile phone, a floating button 601 (an interface for entering the task card display interface) is displayed on the chat interface 611.
[0148] When the user clicks on the floating button 601, the screen of the mobile phone 600 displays a display interface 620. The display interface 620 displays a task card display interface 621, and the task card display interface 621 displays one of the task cards 601, 602, and 603. The user can switch the task cards displayed on the task card display interface 621 by swiping on the screen.
[0149] Furthermore, the task card display interface 621 also displays a close button 622. When the user clicks the close button 622, the task card display interface 621 is closed.
[0150] Furthermore, in order to protect user privacy, in an embodiment of the present application, the display mode of the task card display interface includes a normal display mode and a privacy protection mode. Corresponding to different display modes, different contents will be displayed on the task card display interface. Specifically, in the normal display mode, the display content of the task card display interface includes content related to the user's personal information; in the privacy protection mode, the display content of the task card display interface does not include content related to the user's personal information. For example, in the normal display mode, the task card displayed on the task card display interface for the music playing task includes the specific music name and the music label picture. The music name and the music label picture can reflect that the user has played and / or the current device stores this music, so that the task card shows the user's personal information. Therefore, in the privacy protection mode, the task card displayed on the task card display interface for the music playing task does not include the specific music name and the music label picture. Thus, the task card is prevented from showing the user's personal information.
[0151] For example, in an application scenario, in the normal display mode, the task card display method is as Figure 3Shown as follows: The name and cover of the music played by the music playing application are shown in task card 301; The name and cover of the cloud radio song played by the radio listening application are shown in task card 302; The screenshot of the video played by the video playing application is shown in task card 303; The name of the dialed object of the dialing application is shown in task card 304.
[0152] Figure 7 Shown is an application scenario diagram according to an embodiment of the present application. In the privacy protection mode, the display mode of the task cards is as Figure 7 shown. The screen of mobile phone 700 displays display interface 710. Display interface 710 displays task card display interface 720. Task card display interface 720 shows task cards 701, 702, 703, and 704. The icon of the music playing application is shown in task card 701; The icon of the radio listening application is shown in task card 702; The icon of the video playing application is shown in task card 7032; The icon of the dialing application is shown in task card 704.
[0153] Further, in an embodiment of the present application, the display mode of the task card display interface is preset on the current device.
[0154] Further, in an embodiment of the present application, the display mode of the task card display interface corresponds to the user identity of the user using the current device.
[0155] For example, in an application scenario, user A has purchased a membership privilege. Before displaying the task card display interface, user identity authentication is initiated. When it is verified that the current user is user A, the task card display interface can display the task cards related to the membership privilege; Conversely, when it is verified that the current user is not user A, the task card display interface cannot display the task cards related to the membership privilege.
[0156] Another example is that in an embodiment, user identity authentication is initiated before displaying the task card display interface. If the verification is passed, the display mode of the task card display interface is set to the normal display mode; otherwise, the display mode of the task card display interface is set to the privacy protection mode. Figure 8 Shown is a flowchart of a task push method according to an embodiment of the present application. As Figure 8 shown:
[0157] Step 800, in the locked screen / black screen state, determine whether the earphone is connected to the mobile phone;
[0158] When the earphone is connected to the mobile phone, execute step 901;
[0159] Step 801, turn on the screen;
[0160] Step 810, determine whether the user enables face / voiceprint recognition;
[0161] When the user enables face / voiceprint recognition, step 811, perform identity verification based on face / voiceprint recognition;
[0162] When the face / voiceprint recognition is successful, step 831, display the task card display interface based on the normal display mode;
[0163] When the user does not enable face / voiceprint recognition, or the face / voiceprint recognition fails, step 820, display the numeric password or fingerprint unlock interface;
[0164] Step 830, determine whether the numeric password or fingerprint unlock is successful;
[0165] When the numeric password or fingerprint unlock is successful, step 831, display the task card display interface based on the normal display mode;
[0166] When the numeric password or fingerprint unlock fails, step 832, display the task card display interface based on the privacy protection mode.
[0167] It can be understood that some or all of the steps or operations in the above embodiments are only examples. The embodiments of the present application can also perform other operations or various deformations of the operations. In addition, the various steps can be executed in different orders presented in the above embodiments, and it is possible not to execute all the operations in the above embodiments.
[0168] Further, based on the task push method proposed in an embodiment of the present application, an embodiment of the present application also proposes a task push device. In an embodiment of the present application, the task push device includes:
[0169] A monitoring module, which is used to monitor whether an external device is connected to the current device;
[0170] A device usage habit description determination module, which is used to determine whether there is a device usage habit description corresponding to the external device when the external device is connected to the current device, where the device usage habit description is used to describe the user's usage habit of the external device, and the device usage habit description includes one or more external device tasks corresponding to the external device and application scenario information corresponding to each external device task;
[0171] A task card display module, which is used to generate a first task card display interface based on the device usage habit description when there is a device usage habit description, and display the first task card display interface or an interface interface for entering the first task card display interface on the current device, where:
[0172] The first task card display interface is used to display the task cards of the external device tasks corresponding to the application scenario information with the highest degree of matching with the application scenario information of the current application scenario in the device usage habit description;
[0173] Or,
[0174] The first task card display interface is used to display the task cards of multiple external device tasks in the device usage habit description, where the multiple task cards are sorted according to the application scenario matching degree corresponding to the task cards, and the application scenario matching degree is used to describe the matching degree between the application scenario information of the current application scenario and the application scenario information corresponding to the external device tasks in the device usage habit description.
[0175] Furthermore, in the 1990s, it was possible to clearly distinguish whether an improvement to a technology was a hardware improvement (e.g., improvement to the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement to the method flow). However, with the development of technology, many method flow improvements today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement to a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by programming the device by the accessing party. Designers can program themselves to "integrate" a digital device onto a PLD without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply performing a little logical programming on the method flow using the above-mentioned several hardware description languages and programming it into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.
[0176] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.
[0177] In the description of the embodiments of the present application, for the convenience of description, when describing the device, it is divided into various modules / units according to functions for separate description. The division of each module / unit is only a division of logical functions. When implementing the embodiments of the present application, the functions of each module / unit can be implemented in the same or multiple software and / or hardware.
[0178] Specifically, when the device proposed in the embodiments of the present application is actually implemented, it can be fully or partially integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or can be integrated in a certain chip of the electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together or can be independently implemented. During the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the processor element in hardware or in the form of instructions in software.
[0179] For example, the above-mentioned modules can be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or, one or more Digital Signal Processors (DSPs), or, one or more Field Programmable Gate Arrays (FPGAs), etc. Again, these modules can be integrated together and implemented in the form of a System-On-a-Chip (SOC).
[0180] Those of ordinary skill in the art can realize that the units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0181] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the devices, modules, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0182] Each embodiment in the present application is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.
[0183] An embodiment of the present application also proposes an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions. When the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps as described in the embodiments of the present application.
[0184] Specifically, in an embodiment of the present application, the above one or more computer programs are stored in the above memory. The above one or more computer programs include instructions. When the instructions are executed by the above device, the device is caused to execute the method steps as described in the embodiments of the present application.
[0185] Specifically, in an embodiment of the present application, the processor of the electronic device may be a System on Chip (SOC). The processor may include a Central Processing Unit (CPU), and may further include other types of processors. Specifically, in an embodiment of the present application, the processor of the electronic device may be a PWM control chip.
[0186] Specifically, in an embodiment of the present application, the involved processor may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may further include a GPU, an Embedded Neural-network Process Unit (NPU) and an Image Signal Processor (ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0187] Specifically, in an embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or may also be any computer-readable medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0188] Specifically, in an embodiment of the present application, the processor and the memory may be integrated into a processing device. More commonly, they are independent components. The processor is used to execute the program code stored in the memory to implement the method described in the embodiments of the present application. Specifically, in implementation, the memory may also be integrated in the processor, or independent of the processor.
[0189] Furthermore, the devices, apparatuses, modules or units clarified in the embodiments of the present application may specifically be implemented by computer chips or entities, or by products with certain functions.
[0190] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, an apparatus, or a computer program product. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0191] In several embodiments provided by the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0192] Specifically, an embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When it runs on a computer, it causes the computer to execute the method provided by the embodiment of the present application.
[0193] An embodiment of the present application also provides a computer program product, which includes a computer program. When it runs on a computer, it causes the computer to execute the method provided by the embodiment of the present application.
[0194] The embodiments described in the present application are described with reference to the flowcharts and / or block diagrams of methods, devices (apparatuses), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one or more flows or multiple flows and / or blocks Figure 1 one or more blocks or multiple blocks.
[0195] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device realizes the functions in the flowFigure 1 one or more processes and / or blocks Figure 1 the functions specified in one or more blocks.
[0196] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are performed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more processes and / or blocks Figure 1 one or more blocks.
[0197] This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This application can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0198] It should also be noted that in the embodiments of this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent the cases of A existing alone, A and B existing simultaneously, and B existing alone. Where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one of the following" and its similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0199] In the embodiments of this application, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the said element.
[0200] The above are only specific embodiments of the present application. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A task push method, applied to an electronic device, characterized in that, it includes: Monitoring the connection of an external device to the electronic device and obtaining the current application scenario information of the electronic device; Judging whether there is one or more external device tasks that match the application scenario information, and the one or more external device tasks correspond to the external device; When there are one or more external device tasks corresponding to the external device for the application scenario information, display a first task card display interface or display an interface interface for entering the first task card display interface, where: the first task card display interface is used to display one or more external device tasks that match the application scenario information; or, When there are no one or more external device tasks that match the application scenario information, judge whether the electronic device has ever executed an external device task corresponding to the external device within a preset historical time period; when within the preset historical time period, the electronic device has ever executed an external device task corresponding to the external device, display a second task card display interface or an interface interface for entering the second task card display interface, where: the second task card display interface is used to display task cards of the external device tasks corresponding to the external device that the electronic device has executed within the preset historical time period.
2. The method according to claim 1, characterized in that, In the second task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the external device tasks corresponding to the task cards.
3. The method according to claim 1 or 2, characterized in that, The method further includes: When within the preset historical time period, the electronic device has never executed an external device task corresponding to the external device, display a third task card display interface or an interface interface for entering the third task card display interface, where: The third task card display interface is used to display task cards of the same type of tasks of the external device tasks corresponding to the external device that the electronic device has executed.
4. The method according to claim 3, characterized in that, In the third task card display interface, the task cards are sorted according to the historical execution time and / or historical execution frequency of the same type of tasks of the external device tasks corresponding to the task cards.
5. The method according to any one of claims 1 to 4, characterized in that, The external device tasks corresponding to the external device include: Tasks executed by an application installed on the electronic device by invoking the external device; And / or, Tasks executed by an application installed on other devices connected to the electronic device by invoking the external device.
6. The method according to any one of claims 1 to 5, characterized in that, The display of the task card display interface or the interface interface for entering the task card display interface includes: When the electronic device is in the locked screen / black screen state, end the locked screen / black screen state and display the task card display interface; And / or, When the electronic device is in the in-use state, the interface interface is displayed on the current interface of the electronic device.
7. The method according to claim 6, wherein, when the electronic device is in the locked screen / black screen state, ending the locked screen / black screen state and displaying the task card display interface includes: initiating user authentication; when the user authentication is successful, displaying the task card display interface on the electronic device.
8. The method according to claim 6, wherein, when the electronic device is in the in-use state, displaying the interface interface on the current interface of the electronic device includes: displaying a floating button serving as the interface interface on the current interface of the electronic device; when the user clicks the floating button, displaying the task card display interface on the electronic device.
9. The method according to any one of claims 1 to 8, wherein, displaying the task card display interface or the interface interface for entering the task card display interface, wherein the display mode of the task card display interface includes: a normal display mode, in which the display content of the task card display interface includes content related to the user's personal information; a privacy protection mode, in which the display content of the task card display interface does not include content related to the user's personal information.
10. The method according to claim 9, wherein: the display mode of the task card display interface is preset on the electronic device; or, the display mode of the task card display interface corresponds to the user identity of the user using the electronic device.
11. An electronic device, wherein, the electronic device includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps according to any one of claims 1 to 10.
12. A computer-readable storage medium, wherein, a computer program is stored in the computer-readable storage medium, and when it runs on a computer, the computer is caused to execute the method according to any one of claims 1-10.