Task push method, device and electronic device
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
- CN202110726163.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-30
- Filing Date
- 2021-06-29
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2041-06-29
AI Technical Summary
In the prior art, the use process of external devices is cumbersome. Users need 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 CN113867855B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent terminal technology, and in particular to a task pushing method, device and electronic device. Background Art
[0002] In the application scenarios of the prior art, when using electronic devices, users often connect external devices to the electronic devices currently being used to expand the functions of the electronic devices. For example, a Bluetooth headset or Bluetooth speaker is connected to a mobile phone to obtain a better audio playback effect; for another example, a smart TV is connected 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 via Bluetooth; opening an application that uses 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 a Bluetooth headset. In the above-mentioned external device usage process, since a large number of applications are usually installed on current electronic devices, the user needs to find and open the target application after connecting the external device to the current electronic device, and then control the target application before the external device can be used smoothly. The cumbersome operation will greatly affect the user experience, thereby reducing the frequency of users using the external device. Summary of the invention
[0004] In view of the problem that the use process of external devices is cumbersome under the prior art, the present application provides a task pushing method, device and electronic device, and the present application also provides a computer-readable storage medium.
[0005] The present application embodiment adopts the following technical solutions:
[0006] In a first aspect, the present application provides a task pushing method, comprising:
[0007] Monitor whether external devices are 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, wherein 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 the external device tasks;
[0009] When the device usage habit description exists, a first task card display interface is generated based on the device usage habit description, and the first task card display interface or an interface for entering the first task card display interface is displayed on the current device, wherein:
[0010] The first task card display interface is used to display the task card of the first external device task in the device usage habit description, wherein the first external device task is the external device task corresponding to the application scenario information that has 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 device usage habit description, wherein the multiple task cards are sorted according to the application scenario matching degrees corresponding to the task cards, and the application scenario matching degree is used to describe the degree of matching between the application scenario information of the current application scenario and the application scenario information in the device usage habit description.
[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 habits, determining 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 executed the 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 for entering the second task card display interface is displayed on the current device, wherein:
[0016] The second task card display interface is used to display task cards of external device tasks corresponding to the external device that have been executed by the current device 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 the current device has not executed the external device task corresponding to the external device within the preset historical time period, a third task card display interface is generated, and the third task card display interface or an interface for entering the third task card display interface is displayed on the current device, wherein:
[0020] The third task card display interface is used to display task cards of the same type of tasks that have been executed by the current device and correspond to the external device tasks of the external device.
[0021] In a feasible implementation 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 tasks of the external device tasks corresponding to the task cards.
[0022] In a feasible implementation manner of the first aspect above, the external device task corresponding to the external device includes:
[0023] The application installed on the current device calls the task executed by the external device;
[0024] and / or,
[0025] An application installed on another device connected to the current device calls a task executed by the external device.
[0026] In a feasible implementation of the first aspect, displaying the task card display interface or the interface for entering the task card display interface on the current device includes:
[0027] When the current device is in a 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 use, the interface is displayed on the current display interface of the current device.
[0030] In a feasible implementation manner of the first aspect, when the current device is in a locked screen / black screen state, ending the locked screen / black screen state and displaying the task card display interface on the current device includes:
[0031] Initiate user identity authentication;
[0032] When the user identity authentication is successful, the task card display interface is displayed on the current device.
[0033] In a feasible implementation manner of the first aspect, when the current device is in use, displaying the interface on the current device includes:
[0034] Displaying a floating button as the interface interface on the current display interface of the current device;
[0035] When the user clicks the floating button, the task card display interface is displayed on the current device.
[0036] In a feasible implementation of the first aspect, the task card display interface or the interface for entering the task card display interface is displayed on the current device, wherein the display mode of the task card display interface includes:
[0037] In the normal display mode, the display content of the task card display interface includes content related to the user's personal information;
[0038] Privacy protection mode. In the privacy protection mode, the display content of the task card display interface does not include content related to user personal information.
[0039] In a feasible implementation of the first aspect above:
[0040] The display mode of the task card display interface is pre-set 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 pushing 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 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;
[0046] A task card display module is used to generate a first task card display interface based on the device usage habit description when the device usage habit description exists, and display the first task card display interface or an interface for entering the first task card display interface on the current device, wherein:
[0047] The first task card display interface is used to display a task card of an external device task corresponding to the application scenario information that has 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, wherein the multiple task cards are sorted according to the application scenario matching degrees corresponding to the task cards, and the application scenario matching degree is used to describe the degree of matching between the application scenario information of the current application scenario and the application scenario information corresponding to the external device task in the device usage habit description.
[0050] In a third aspect, the present application provides an electronic device, comprising 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 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 the computer-readable storage medium is run on a computer, the computer executes the method of the embodiment of the present application.
[0052] According to the above technical solution proposed in the embodiment 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, the corresponding task card can be directly displayed to the user based on the task card display interface, and the user can directly use the task card to control the external device task or enter the control interface of the external device task through the task card, 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 tediousness 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 card displayed on the task card display interface is in line with the user's device usage habits, thereby effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1The figure is a flow chart of a task pushing method according to an embodiment of the present application;
[0055] Figure 2 The figure is a partial flow chart of a task pushing 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 is a partial flow chart of a task pushing 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 Shown is a flow chart of a task pushing method according to an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0063] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0064] In view of the cumbersome process of using external devices under the prior art, the present application provides a task push method. In actual application scenarios, the functions that can be realized by external devices are predictable. For example, the function that can be realized by Bluetooth headsets is audio playback, the function that can be realized by smart TVs is video playback, and the function that can be realized by wireless cameras is video acquisition. Then, according to the specific external device, it is possible to confirm the application that can call the external device, and further confirm the task that can be performed by the application calling the external device. In this way, if the task that can be performed by the application calling the external device is pushed to the user when the external device is connected to the current electronic device, and the user directly confirms the target task that needs to be executed from the pushed task, the user can save the process of determining the target application from a large number of applications, opening the target application and controlling the target application to call the external device to perform the target task, thereby greatly simplifying the use process of the external device.
[0065] Further, in one embodiment of the present application, task push is implemented based on task cards. Task cards are used to provide a task control interface for controlling tasks. For example, a task card for a Bluetooth headset includes song selection, play, pause, and stop control buttons. Alternatively, a task card provides an interface for entering a task control interface. For example, a task card for a Bluetooth headset includes an introduction to a music playback task (for example, play song A). Clicking the task card enters the task control interface for the music playback task.
[0066] Specifically, when the external device is connected to the current device, the task card display interface and / or the interface for entering the task card display interface is displayed on the current device, wherein:
[0067] The task card display interface is used to display the task cards of external device tasks;
[0068] External device tasks are tasks that are executed by external devices called by applications;
[0069] The task card is used to provide a task control interface for controlling external device tasks, or to provide an interface for entering the task control interface.
[0070] Further, 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 the Bluetooth headset include: using the Bluetooth headset to play songs stored locally on the mobile phone; using the Bluetooth headset to play songs in the cloud; using the Bluetooth headset to play radio broadcasts; playing cloud videos, using the Bluetooth headset to play the audio of the video; making a call, using the Bluetooth headset to play the other party's voice during the call, etc. If the task card display interface is used to display the task cards of all external device tasks, not only a large amount of data processing resources will be occupied, but the user will also need to perform a more cumbersome selection operation when selecting the task he wants to perform (for example, sliding on 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 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 task cards for a portion of all external device tasks, it is easy for the task card for the task that the user wants to execute to not be displayed by the task card display interface. To address this problem, in one embodiment of the present application, a screening mechanism is used to screen external device tasks with relatively high execution possibilities, and the task cards corresponding to the screened external device tasks are displayed in 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 for the task that the user wants to execute is not displayed by the task card display interface.
[0072] Furthermore, in actual application scenarios, users have external device usage habits for certain specific external devices. If the description of the application scenario when the external device is connected to the current device conforms to the description of a habitual application scenario of the user using 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 to 9 a.m. every weekday. During this time period, he is accustomed to using headphones to play music. Then, between 8 and 9 a.m. on a certain weekday, when the headphones are connected to the user's mobile phone, the possibility that the user will then perform the task of playing music is very high. If the task card of the task of playing music 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, the task card to be displayed on the task card display interface is filtered according to the user's device usage habit description for the external device. Specifically, the device usage habit description is used to describe the user's usage habits for a specific external device, which includes one or more external device tasks corresponding to the external device and the application scenario information corresponding to each external device task.
[0073] Furthermore, in some actual application scenarios, when an external device is connected to the current device, the current application scenario may be completely consistent with an 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 the usage habit needs to be displayed to the user. However, in some application scenarios, when an external device is connected to the current device, the current application scenario may not be completely consistent with the application scenarios of all usage habits described in the user's device usage habits. Corresponding to the above situation, in one embodiment of the present application, the task cards to be displayed on the task card display interface are screened based on the degree of match between the current application scenario and the application scenario in the device usage habit description.
[0074] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0075] Figure 1 FIG. 1 is a flowchart of a task push method according to an embodiment of the present application. In an embodiment of the present application, Figure 1 As shown, the following steps are performed during the task push process:
[0076] Step 110, monitoring 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 the external device is connected to the current device, execute step 120;
[0079] Step 120, determining whether there is a device usage habit description corresponding to the external device, wherein 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, executing step 121;
[0081] Step 121, using other strategies to generate a task card display interface and displaying the task card display interface or an 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, executing 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 for entering the first task card display interface on the current device.
[0084] Specifically, in one implementation of step 130, the first task card display interface is used to display a task card of an external device task corresponding to application scenario information that has the highest degree of matching with application scenario information of the current application scenario in the device usage habit description.
[0085] For example, in one application scenario, the user's device usage habits for headphones are described as follows:
[0086] 1. External device task 1: Play local music on the phone based on headphones; Application scenario information: Weekdays + 7:00 am
[0087] 30-8:30+between XX Road and XX Road+take public transportation;
[0088] 2. External device task 2: Play cloud radio music based on headphones; Application scenario information: Weekdays + noon 12:
[0089] 00-13:30+XXX location+office;
[0090] 3. External device task 3: Play mobile phone cloud video and play the audio of the video based on headphones; application scenario information:
[0091] Weekdays + 20:00-22:30 + home.
[0092] Assume that at 7:00 a.m. on a certain weekday, when the user is traveling between XX Road and XX Road by public transportation, the user connects the Bluetooth headset to the mobile phone. Since the current application scenario completely matches the application scenario in the 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: playing local music on the mobile phone based on the headset.
[0093] Assume that at 11 a.m. on a certain weekday, 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 matches the application scenario in device usage habit description 2 to the highest degree, 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 2: playing cloud radio music based on the headset.
[0094] Specifically, in one implementation of step 130, the first task card display interface is used to display task cards for multiple external device tasks in the device usage habit description. In actual application scenarios, due to the size of the display interface, the task card display interface may not be able to display all task cards in one display page. Therefore, in one 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 page through specific operations (for example, sliding a finger on the screen).
[0095] Furthermore, in an application scenario where the task card display interface includes multiple display pages, the user needs to perform multiple display page switching operations to browse all task cards. In order to allow the user to select the required task card by performing as few page switching operations as possible, in one embodiment of the present application, when multiple display pages are used 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 relatively high execution probability are arranged at the front of the sequence as much as possible.
[0096] Specifically, in one implementation of step 130, the multiple task cards displayed on the first task card display interface are sorted according to the application scenario matching degrees corresponding to the task cards (that is, the display page 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 degree of matching between the application scenario information of the current application scenario and the application scenario information corresponding to the external device task in the device usage habit description.
[0097] Specifically, in one embodiment of the present application, different weights are set for different types of application scenario information (for example, date, time period, geographic location, user behavior, etc.) of application scenarios, and different types of application scenario information are matched and compared respectively, and the comprehensive comparison results are weighted calculated to obtain the application scenario matching degree between the application scenario information.
[0098] Take the application scenarios described in 1 to 3 as an example based on the above device usage habits.
[0099] Assume that at 12:00 a.m. on a certain weekday, 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 to the user, and the task card display interface displays three task cards of external device tasks 1 to 3. The three task cards are arranged in the order of: external device task 3, external device task 2, and external device task 1.
[0100] Furthermore, in one implementation 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, wherein the external device tasks corresponding to the displayed task cards are external device tasks selected from the external device tasks in the device usage habit description based on the application scenario matching degree. For example, the first task card display interface is preset to display n task cards, and when the number of external device tasks in the device usage habit description is greater than n, n external device tasks with the top n application scenario matching degrees are selected from the external device tasks in the device usage habit description, and the task cards of the selected n external device tasks are displayed on the first task card display interface.
[0101] According to the method of an embodiment of the present application, when an external device is connected to the current device, the corresponding task card can be directly displayed to the user based on the task card display interface, and the user can directly use the task card to control the external device task or enter the control interface of the external device task through the task card, 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 tediousness 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 card displayed on the task card display interface is in line with the user's device usage habits, thereby effectively improving the user experience.
[0102] It should be noted here that in the embodiment of the present application, different external device tasks may be tasks performed by different applications. For example, a music playback task performed by a music playback application, a video playback task performed by a video playback application, and a dialing task performed by a voice call application. Furthermore, different external device tasks may also be tasks performed by the same application for different target objects or using different operating parameters. For example, a music playback task of playing local song 1 performed by a music playback application, a music playback task of playing local song 2 performed by a music playback application, and a music playback task of playing cloud song 3 performed by a music playback application.
[0103] Furthermore, in actual application scenarios, the external device connected to the current device can be any type of electronic device, such as: wireless headphones, wired headphones, microphones, smart speakers, smart screens, tablets, mobile phones, laptops, smart watches, and smart bracelets.
[0104] Further, in an embodiment of the present application, when there is no device usage habit description for an external device currently connected to the current device, the task card displayed on the task card display interface is determined based on the historical usage record of the external device connected to the current device.
[0105] Specifically, in one implementation of step 121, a task card display interface is generated based on the historical usage record of the external device connected to the current device and the task card display interface and / or an interface for entering the task card display interface are displayed on the current device.
[0106] Figure 2 FIG. 1 is a partial flow chart of a task push method according to an embodiment of the present application. In an embodiment of the present application, when there is no device usage habit description for an external device currently connected to the current device, in an implementation of step 121, the following is performed: Figure 2 The following steps are shown:
[0107] Step 200, determining whether the current device has ever executed an external device task corresponding to the external device within a preset historical time period;
[0108] When the current device has executed the external device task corresponding to the external device within the preset historical time period, step 210 is executed;
[0109] Step 210: Generate a second task card display interface, and display the second task card display interface or an interface for entering the second task card display interface on the current device, wherein:
[0110] The second task card display interface is used to display task cards of external device tasks corresponding to external devices that have been executed by the current device within a preset historical time period.
[0111] For example, in an application scenario of a mobile phone, there are the following external device tasks for headphones: the music player application calls the headphones to play song 1, the music player application calls the headphones to play song 2, the music player application calls the headphones to play song 3, the video player application calls the headphones to play video 1, the video player application calls the headphones to play video 2, and the voice call application calls the headphones to make a voice call. If there is no device usage habit description for the headphones, when the headphones are connected to the mobile phone, the task history execution time of the external device tasks for the headphones is determined by querying the historical records. Assume that the execution time of the music player application calling the headphones to play song 1 was 1 hour ago; the execution time of the music player application calling the headphones to play song 2 was 20 minutes ago; the execution time of the music player application calling the headphones to play song 3 was 1 day ago; the execution time of the video player application calling the headphones to play video 1 was 2 hours ago, the execution time of the video player application calling the headphones to play video 2 was 2 days ago, and the execution time of the voice call application calling the headphones to make a voice call was 10 minutes ago. If the preset historical time period is today, then when the headset is connected to the mobile phone, the tasks corresponding to the four task cards displayed on the task card display interface are: the music playback application calls the headset to play song 1, the music playback application calls the headset to play song 2, the video playback application calls the headset to play video 1, and the voice call application calls the headset to make a voice call.
[0112] Furthermore, in actual application scenarios, without calling external devices, similar effects of external device tasks can be achieved by executing tasks of the same type as external device tasks. For example, in the application scenario of a mobile phone, the mobile phone plays music based on externally connected headphones, and the mobile phone can also play music based on its own built-in speakers. Therefore, in an embodiment of the present application, when the current device has not executed an external device task corresponding to an external device within a preset historical time period, a task card display interface is generated based on tasks of the same type as the external device task.
[0113] Specifically, in one implementation of step 121, Figure 2 As shown:
[0114] When the current device has not executed the external device task corresponding to the external device within the preset historical time period, executing step 220;
[0115] Step 220: Generate a third task card display interface, and display the third task card display interface or an interface for entering the third task card display interface on the current device, wherein:
[0116] The third task card display interface is used to display task cards of the same type of tasks that have been executed by the current device and correspond to the external device tasks of the external device.
[0117] For example, in an application scenario of a mobile phone, there are the following external device tasks for headphones: the music player application calls the headphones to play song 1, the music player application calls the headphones to play song 2, the music player application calls the headphones to play song 3, the video player application calls the headphones to play video 1, the video player application calls the headphones to play video 2, and the voice call application calls the headphones to make a voice call. When the headphones are connected to the mobile phone, by querying the historical records, it is determined that the last execution time of the above external device tasks is 1 day ago. In addition, it is assumed that the execution time of the music player application calling the mobile phone speaker to play song 1 is 1 hour ago; the execution time of the music player application calling the mobile phone speaker to play song 2 is 20 minutes ago; the execution time of the music player application calling the mobile phone speaker to play song 3 is 1 day ago; the execution time of the video player application calling the mobile phone speaker to play video 1 is 2 hours ago, the execution time of the video player application calling the mobile phone speaker to play video 2 is 2 days ago, and the execution time of the voice call application calling the mobile phone speaker to make a voice call is 10 minutes ago.
[0118] If the preset historical time period is today, then when the headset is connected to the mobile phone, the tasks corresponding to the four task cards displayed on the task card display interface are: the music playback application calls the headset to play song 1, the music playback application calls the headset to play song 2, the video playback application calls the headset to play video 1, and the voice call application calls the headset to make a voice call.
[0119] Furthermore, in one implementation 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 task corresponding to the task card. For example, the closer the historical execution time is to the current time, the higher the ranking; or, the higher the historical execution frequency, the higher the ranking.
[0120] Furthermore, in one implementation 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 time, the higher the ranking; or, the higher the historical execution frequency, the higher the ranking.
[0121] Furthermore, in actual application scenarios, when an external device is connected to the current device, the current device may be in a locked screen / black screen state. In one embodiment of the present application, during the process of displaying a task card display interface and / or an interface for entering the task card display interface on the current device, when the current device is in a 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.
[0122] Further, in an embodiment of the present application, the external device task includes: a task that an application installed on the current device calls the external device to execute. 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.
[0123] Figure 3 FIG. 1 is an application scenario diagram according to an embodiment of the present application. In an embodiment of the present application, Figure 3 As shown, the current device is a mobile phone 300. When the headset is connected to the mobile phone, the functions that can be realized by the mobile phone include: the music playback application calls the headset to play local songs; the radio listening application calls the headset to play cloud radio songs; the video playback application plays local videos and calls the headset to play the audio of the video when playing the video; the voice call application calls the headset to realize voice calls. Then, when the 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 which 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 provide playback control interfaces for the music playback application to play different local songs.
[0124] When the phone is in the locked / black screen state, when the headset is connected to the phone, the phone screen of the phone 300 displays as follows Figure 3 The mobile phone display interface 310 shown in the figure displays a task card display interface on the mobile phone display interface 310. The task card display interface displays one of the task cards 301, 302, 303 and 304. The user can switch to display different task cards by sliding on the task card display interface. The user directly controls the task by directly clicking the control button of the task card displayed on the task card display interface.
[0125] Furthermore, in an embodiment of the present application, the external device task may also be a task that can be executed by the device to which the current device is connected. 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 audio based on the headset. Specifically, the external device task includes: a task that is executed by an external device called by an application installed on other devices connected to the current device.
[0126] Figure 4 FIG. 1 is an application scenario diagram according to an embodiment of the present application. In an embodiment of the present application, Figure 4 As 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 a locked screen / black screen state and the earphone is connected to the mobile phone, a mobile phone display interface 410 is displayed on the screen of the mobile phone 400, and a task card display interface is displayed on the mobile phone display interface 410. The task card display interface displayed on the mobile phone display interface 410 displays a task card 401, and the task card 401 provides a playback control interface for the music playback application on the mobile phone to play local songs.
[0127] When a swipe up operation is performed on the mobile phone display interface 410, the screen of the mobile phone 400 displays the mobile phone display interface 420. The task card display interface is displayed on the mobile phone display interface 420, and the task card display interface displayed on the mobile phone display interface 420 displays the task card 401 and the selection interface 430 of other devices connected to the mobile phone 400. The selection interface 430 displays buttons corresponding to the tablet computer and the smart TV.
[0128] Select the smart TV button on the selection interface 430, and the screen of the mobile phone 400 displays the mobile phone display interface 440. The task card display interface is displayed on the mobile phone display interface 440, and the task card display interface displayed on the mobile phone display interface 440 displays the task card 402, and the task card 402 provides a playback control interface for the video playback application on the smart TV to play the video. The user of the mobile phone can directly control the smart TV to perform the video playback task by directly clicking the control button of the task card 402. During the execution of the video playback task, it plays audio through the headphones connected to the mobile phone.
[0129] Furthermore, in order to prevent illegal users from using the device, in one embodiment of the present application, when the external device is connected to the current device in the locked screen / black screen state, user identity authentication is required, and only users who pass the identity authentication can see the task card display interface and further operate the task card. Specifically, in one 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:
[0130] Initiate user identity authentication;
[0131] When user authentication succeeds, the task card display interface is displayed on the current device.
[0132] Specifically, in one embodiment of the present application, when the current device is locked and the screen is black, the current device lights up the screen and initiates user identity authentication; when the user identity authentication is successful, the current device is unlocked and the task card display interface is displayed on the current device.
[0133] Further, in actual application scenarios, when an external device is connected to the current device, the current device may also be in use. In the in-use state, the user may be interacting with the current device, and the sudden display of the task card will interrupt the user's ongoing interactive operation. Therefore, in an embodiment of the present application, in 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 use, the interface interface for entering the task card display interface is displayed on the current display interface of the current device.
[0134] Specifically, in an embodiment of the present application, when the current device is in use, the process of displaying an interface for entering the task card display interface on the current device includes:
[0135] Displaying a floating button as an interface interface on the current display interface of the current device;
[0136] When the user clicks the floating button, the task card display interface is displayed on the current device.
[0137] Figure 5 FIG. 1 is a partial flow chart of a task push method according to an embodiment of the present application. Specifically, in an application scenario, the process of displaying a task card display interface or an interface for entering the task card display interface on a mobile phone is as follows: Figure 5 As shown:
[0138] Step 500, determine whether the mobile phone is in a locked screen / black screen state;
[0139] When the mobile phone is in a locked screen / black screen state, execute step 501;
[0140] Step 501, the screen is turned on and user identity authentication is initiated. After the identity authentication is successful, the phone is unlocked and the task card display interface is displayed;
[0141] When the mobile phone is not in the locked screen / black screen state, execute step 510;
[0142] Step 510, displaying the headset floating button on the current display interface of the mobile phone;
[0143] Step 511, determining whether the user clicks the headset floating button;
[0144] Step 512, when the user clicks the headset floating button, execute step 520;
[0145] Step 520, displaying the task card display interface;
[0146] Step 521, determine whether the user clicks the close button;
[0147] When the user clicks the close button, execute step 514;
[0148] Step 522, close the task card display interface.
[0149] Figure 6 FIG. 1 is an application scenario diagram according to an embodiment of the present application. In an embodiment of the present application, Figure 6 As 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 .
[0150] When the headset is connected to the mobile phone, a floating button 601 is displayed on the chat interface 611 (an interface for entering the task card display interface).
[0151] When the user clicks the floating button 601, the screen of the mobile phone 600 displays a display interface 620, which 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 card displayed on the task card display interface 621 by sliding on the screen.
[0152] Furthermore, the task card display interface 621 also displays a close button 622 , and when the user clicks the close button 622 , the task card display interface 621 is closed.
[0153] Further, in order to protect user privacy, in one embodiment of the present application, the display mode of the task card display interface includes a normal display mode and a privacy protection mode. Different contents will be displayed on the task card display interface corresponding to different display modes. 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 for the music playback task displayed by the task card display interface includes a specific music name and a music tag screen. The music name and the music tag screen can reflect that the user has played and / or the current device has saved the music, so that the task card displays the user's personal information. Therefore, in the privacy protection mode, the task card for the music playback task displayed by the task card display interface does not include a specific music name and a music tag screen. Thereby avoiding the task card from displaying user personal information.
[0154] For example, in a certain application scenario, in normal display mode, the task card is displayed as follows: Figure 3As shown: Task card 301 displays the name and cover of the music played by the music player application; Task card 302 displays the name and cover of the cloud radio song played by the radio listening application; Task card 303 displays a screenshot of the video played by the video player application; Task card 304 displays the name of the dial object of the dialer application.
[0155] Figure 7 The following is an application scenario diagram according to an embodiment of the present application. In the privacy protection mode, the task card is displayed as follows Figure 7 As shown, the screen of mobile phone 700 displays display interface 710, and display interface 710 displays task card display interface 720, and task card 701, task card 702, task card 703 and task card 704 are displayed in task card display interface 720. The icon of music playing application is displayed in task card 701; the icon of radio listening application is displayed in task card 702; the icon of video playing application is displayed in task card 7032; and the icon of dialing application is displayed in task card 704.
[0156] Furthermore, in one embodiment of the present application, the display mode of the task card display interface is pre-set on the current device.
[0157] Furthermore, 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.
[0158] For example, in one application scenario, user A purchases membership privileges and initiates user identity authentication before displaying the task card display interface. When it is verified that the current user is user A, the task card display interface can display task cards related to the membership privileges; conversely, when it is verified that the current user is not user A, the task card display interface cannot display task cards related to the membership privileges.
[0159] For another example, in one embodiment, user identity authentication is initiated before displaying the task card display interface. If the authentication 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 FIG. 1 is a flowchart of a task push method according to an embodiment of the present application. Figure 8 As shown:
[0160] Step 800, in the locked screen / black screen state, determine whether the headset is connected to the mobile phone;
[0161] When the headset is connected to the mobile phone, step 901 is executed;
[0162] Step 801, turn on the screen;
[0163] Step 810, determine whether the user turns on face / voiceprint recognition;
[0164] When the user turns on face / voiceprint recognition, step 811, identity authentication is performed based on face / voiceprint recognition;
[0165] When the face / voiceprint recognition is successful, step 831, the task card display interface is displayed based on the normal display mode;
[0166] When the user does not enable face / voiceprint recognition, or face / voiceprint recognition fails, step 820 displays a digital password or fingerprint unlocking interface;
[0167] Step 830, determine whether the digital password or fingerprint unlocking is successful;
[0168] When the digital password or fingerprint unlocking is successful, step 831, the task card display interface is displayed based on the normal display mode;
[0169] When the digital password or fingerprint unlocking fails, step 832, the task card display interface is displayed based on the privacy protection mode.
[0170] It is to be understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0171] Further, based on the task push method proposed in one embodiment of the present application, one embodiment of the present application also proposes a task push device. In one embodiment of the present application, the task push device includes:
[0172] A monitoring module, which is used to monitor whether an external device is connected to the current device;
[0173] 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 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;
[0174] The task card display module 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 for entering the first task card display interface on the current device, wherein:
[0175] The first task card display interface is used to display the task card of the external device task corresponding to the application scenario information that has the highest degree of matching with the application scenario information of the current application scenario in the device usage habit description;
[0176] or,
[0177] The first task card display interface is used to display task cards of multiple external device tasks in the device usage habit description, wherein 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 degree of matching between the application scenario information of the current application scenario and the application scenario information corresponding to the external device task in the device usage habit description.
[0178] Furthermore, in the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow 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 in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the access party programming the device. Designers can "integrate" a digital device on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, 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. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0179] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers 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 a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0180] In the description of the embodiments of the present application, for the convenience of description, the device is described by being divided into various modules / units according to their functions. The division of each module / unit is merely 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 one or more software and / or hardware.
[0181] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.
[0182] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0183] Those skilled in the art will appreciate that the various 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0184] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0185] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0186] An embodiment of the present application further proposes an electronic device, which 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 described in the embodiment of the present application.
[0187] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.
[0188] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.
[0189] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, 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.
[0190] Specifically, in one 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 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 compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.
[0191] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.
[0192] Furthermore, the devices, apparatuses, means, modules or units illustrated in the embodiments of the present application may be specifically implemented by a computer chip or entity, or by a product having a certain function.
[0193] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0194] In the several embodiments provided in 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 this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0195] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.
[0196] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.
[0197] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0198] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0199] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0200] The present application may 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. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0201] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0202] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.
[0203] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A task pushing method, characterized in that: include: Monitor whether external devices are connected to the current device; When the external device is connected to the current device, determining whether there is a device usage habit description corresponding to the external device, wherein 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 the external device tasks; When the device usage habit description exists, a first task card display interface is generated based on the device usage habit description, and the first task card display interface or an interface for entering the first task card display interface is displayed on the current device, wherein: The first task card display interface is used to display the task card of the first external device task in the device usage habit description, wherein the first external device task is the external device task corresponding to the application scenario information that has the highest degree of matching with the application scenario information of the current application scenario; or, The first task card display interface is used to display task cards of multiple external device tasks in the device usage habit description, wherein 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 device usage habit description; When there is no description of the device usage habits, determining whether the current device has ever executed an external device task corresponding to the external device within a preset historical time period; When the current device has executed an external device task corresponding to the external device within the preset historical time period, a second task card display interface is generated, wherein the second task card display interface is used to display the task card of the external device task corresponding to the external device that the current device has executed within the preset historical time period; When the current device has not executed the external device task corresponding to the external device within the preset historical time period, a third task card display interface is generated, wherein: the third task card display interface is used to display the task card of the first external device task corresponding to the external device that has been executed by the current device; the first external device task is an external device task corresponding to the same type of task as the external device task of the external device that has been executed by the current device within the preset historical time period.
2. The method according to claim 1, characterized in that The method further comprises: The second task card display interface or an interface for entering the second task card display interface is displayed on the current device.
3. The method according to claim 2, 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.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: The third task card display interface or an interface for entering the third task card display interface is displayed on the current device.
5. The method according to claim 4, 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 as the external device tasks corresponding to the task cards.
6. The method according to any one of claims 1 to 5, characterized in that: The external device task corresponding to the external device includes: The application installed on the current device calls the task executed by the external device; and / or, An application installed on another device connected to the current device calls a task executed by the external device.
7. The method according to any one of claims 1 to 6, characterized in that: The task card display interface displayed on the current device or the interface for entering the task card display interface includes: When the current device is in a locked screen / black screen state, end the locked screen / black screen state and display the task card display interface on the current device; and / or, When the current device is in use, the interface is displayed on the current display interface of the current device.
8. The method according to claim 7, characterized in that When the current device is in a locked screen / black screen state, ending the locked screen / black screen state and displaying the task card display interface on the current device includes: Initiate user authentication; When the user identity authentication is successful, the task card display interface is displayed on the current device.
9. The method according to claim 7, characterized in that: When the current device is in use, displaying the interface on the current display interface of the current device includes: Displaying a floating button as the interface interface on the current display interface of the current device; When the user clicks the floating button, the task card display interface is displayed on the current device.
10. The method according to any one of claims 1 to 9, characterized in that: The task card display interface or the interface for entering the task card display interface is displayed on the current device, wherein the display modes of the task card display interface include: In the normal display mode, the display content of the task card display interface includes content related to the user's personal information; Privacy protection mode. In the privacy protection mode, the display content of the task card display interface does not include content related to user personal information.
11. The method according to claim 10, characterized in that: The display mode of the task card display interface is pre-set on the current device; or, The display mode of the task card display interface corresponds to the user identity of the user using the current device.
12. A task pushing device, characterized in that: include: A monitoring module, which is used to monitor whether an external device is connected to the current device; 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 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; Task card display module, which is used to: When the device usage habit description exists, a first task card display interface is generated based on the device usage habit description, and the first task card display interface or an interface for entering the first task card display interface is displayed on the current device, wherein: the first task card display interface is used to display a task card for an external device task corresponding to the application scenario information that has the highest degree of matching with the application scenario information of the current application scenario in the device usage habit description; or, The first task card display interface is used to display task cards of multiple external device tasks in the device usage habit description, wherein 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 task in the device usage habit description; When there is no description of the device usage habits, determining whether the current device has ever executed an external device task corresponding to the external device within a preset historical time period; When the current device has executed an external device task corresponding to the external device within the preset historical time period, a second task card display interface is generated, wherein the second task card display interface is used to display the task card of the external device task corresponding to the external device that the current device has executed within the preset historical time period; When the current device has not executed the external device task corresponding to the external device within the preset historical time period, a third task card display interface is generated, wherein: the third task card display interface is used to display the task card of the first external device task corresponding to the external device that has been executed by the current device; the first external device task is an external device task corresponding to the same type of task as the external device task of the external device that has been executed by the current device within the preset historical time period.
13. An electronic device, characterized in that: The electronic device comprises 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 as claimed in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Application recommendation method and device, storage medium and electronic equipment
CN109684524A
Recommendation method based on a user motion state and electronic equipment
CN109829107A
Method for triggering service based on user scene perception, terminal equipment and system
CN110365721A