CN112911068A - Content recommendation method, device and storage medium - Google Patents

Content recommendation method, device and storage medium Download PDF

Info

Publication number
CN112911068A
CN112911068A CN202110193803.3A CN202110193803A CN112911068A CN 112911068 A CN112911068 A CN 112911068A CN 202110193803 A CN202110193803 A CN 202110193803A CN 112911068 A CN112911068 A CN 112911068A
Authority
CN
China
Prior art keywords
interface
application
target service
information
currently displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110193803.3A
Other languages
Chinese (zh)
Inventor
路晓创
温檬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202110193803.3A priority Critical patent/CN112911068A/en
Publication of CN112911068A publication Critical patent/CN112911068A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a content recommendation method, device and storage medium, the content recommendation method is applied to an electronic device, and includes: acquiring interface information of a currently displayed interface of the electronic equipment; determining a target service in the interface according to the interface information; displaying, on the interface, an entry for an application associated with the target service; and when the touch operation aiming at the entrance is detected, calling a function corresponding to the target service in the application. In this way, content recommendation can be performed according to the interface information on the interface, so that the matching degree of the content recommendation is higher.

Description

Content recommendation method, device and storage medium
Technical Field
The present disclosure relates to the field of information processing, and in particular, to a content recommendation method and apparatus, and a storage medium.
Background
With the popularization of smart phone usage, more and more functions are developed and applied. And for the convenience of the user, the function of the voice assistant is often triggered in different scenes so as to execute the recommendation function. However, the use of the voice assistant in the current market is triggered only by depending on a scene, that is, a user performs a certain operation in the system to trigger the recommendation function of the voice assistant, but the matching degree of the recommendation and the requirement of the user is not high, and the operation capable of being triggered is relatively limited and fixed.
Disclosure of Invention
The disclosure provides a content recommendation method, a content recommendation device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a content recommendation method applied to an electronic device, including:
acquiring interface information of a currently displayed interface of the electronic equipment;
determining a target service in the interface according to the interface information;
displaying, on the interface, an entry for an application associated with the target service;
and when the touch operation aiming at the entrance is detected, calling a function corresponding to the target service in the application.
Optionally, the acquiring interface information of the interface currently displayed by the electronic device includes:
when the voice interaction function of the electronic equipment is in an awakening state, acquiring interface information of an interface currently displayed by the electronic equipment; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
Optionally, the obtaining interface information of the interface currently displayed by the electronic device when the voice interaction function of the electronic device is in the wake-up state includes:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screenshot on the interface to acquire interface information.
Optionally, the determining a target service in the interface according to the interface information includes:
extracting identification information related to the alternative service from the interface information based on a preset identification model;
and determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
Optionally, the method further comprises:
determining a storage path of an application associated with the target service;
generating the entry for the target service based on the storage path.
Optionally, the method further comprises:
launching an application associated with the target service in a background of the electronic device;
when the touch operation for the entrance is detected, invoking a function corresponding to the target service in the application, including:
when touch operation aiming at the entrance is detected, switching the interface currently displayed by the electronic equipment to the interface where the function corresponding to the target service is located in the application.
According to a second aspect of the embodiments of the present disclosure, there is provided a content recommendation apparatus applied to an electronic device, including:
the acquisition module is used for acquiring interface information of an interface currently displayed by the electronic equipment;
the service determining module is used for determining target services in the interface according to the interface information;
a display module for displaying an entry of an application associated with the target service on the interface;
and the calling module is used for calling the function corresponding to the target service in the application when the touch operation aiming at the entrance is detected.
Optionally, the obtaining module further includes:
the wake-up acquisition module is used for acquiring interface information of an interface currently displayed by the electronic equipment when the voice interaction function of the electronic equipment is in a wake-up state; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
Optionally, the wake-up acquisition module is further configured to:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screenshot on the interface to acquire interface information.
Optionally, the service determination module includes:
the extraction module is used for extracting identification information related to the alternative service from the interface information based on a preset identification model;
and the service determining submodule is used for determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
Optionally, the apparatus is configured to:
a path determination module to determine a storage path of an application associated with the target service;
and the entrance generation module is used for generating the entrance of the target service based on the storage path.
Optionally, the apparatus further comprises:
a starting module for starting an application associated with the target service in a background of the electronic device;
the calling module is further configured to switch, when a touch operation for the entry is detected, an interface currently displayed by the electronic device to an interface where a function corresponding to the target service is located in the application.
According to a third aspect of the embodiments of the present disclosure, there is provided a content recommendation apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the method of any of the above first aspects is implemented when executable instructions stored in the memory are executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the steps of the method provided by any one of the above-mentioned first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the content recommendation method provided by the embodiment of the disclosure, the target service in the interface is determined by acquiring the interface information on the interface currently displayed by the electronic equipment; and further, an entry of the application associated with the target service is directly displayed on the interface, and if the entry is triggered by touch operation, a function corresponding to the target service in the application can be called. Therefore, on one hand, the current intention (namely the desired target service) of the user can be controlled more accurately and is more in line with the needs of the user due to the recommendation of the interface information on the currently displayed interface which is directly acquired. On the other hand, the recommendation based on the interface information on the currently displayed interface enables different recommendation contents to be available for different interface information, and the recommendation is more flexible and rich. And when recommendation is executed, the entrance of the application associated with the target service is directly displayed on the interface, so that a user can call the corresponding function through touch operation when the function is really needed, and the recommendation method is convenient and quick.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a first flowchart illustrating a content recommendation method according to an exemplary embodiment.
FIG. 2 is a diagram illustrating a wake-up icon with a voice interaction function suspended in an exemplary embodiment.
Fig. 3 is a flowchart illustrating a content recommendation method according to an exemplary embodiment.
Fig. 4 is a schematic diagram of an interface of which the current interface is browsing english articles in an exemplary embodiment.
Fig. 5 is a schematic structural diagram illustrating a content recommendation apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a content recommendation device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
An embodiment of the present disclosure provides a content recommendation method, fig. 1 is a first flowchart illustrating a content recommendation method according to an exemplary embodiment, and as shown in fig. 1, the content recommendation method includes:
step 101, acquiring interface information of a currently displayed interface of electronic equipment;
step 102, determining a target service in the interface according to the interface information;
103, displaying an entrance of an application associated with the target service on the interface;
and 104, when the touch operation aiming at the entrance is detected, calling a function corresponding to the target service in the application.
The content recommendation method can be applied to any electronic equipment, and the electronic equipment can be: a smart phone, a tablet computer, or a wearable electronic device, etc. The electronic equipment comprises a display screen, and when the electronic equipment is in an operating state, a corresponding interface is displayed on the display screen. According to the embodiment of the disclosure, when it is detected that the display screen of the electronic device is in a bright screen state, interface information of an interface currently displayed by the electronic device is acquired.
The interface refers to a screen picture which is displayed on a display screen of the electronic equipment and contains touch control icons or application contents. Wherein, the interface containing a plurality of touch control icons is called a desktop interface; interfaces that contain application content are referred to as application interfaces. When the electronic device is at the application interface, characterizing that the application is running on the electronic device.
The interface information refers to information displayed on the interface. The interface information includes: desktop icon information or application content information.
In different Application (APP) use stages, displayed interfaces are different, and corresponding application content information is different. For example, when the WeChat APP is run, the obtained interface may be an address list interface, a chat interface, or a friend circle interface. When the address list interface is displayed, the corresponding interface information is the name information of each account; when the chat interface is displayed, the corresponding interface information is chat information; when the friend circle interface is displayed, the corresponding interface information is the sharing information. For another example, when the reader APP is run, the acquired interface may be a bookshelf list interface or a reading interface. When the bookshelf list interface is displayed, the corresponding interface information is the information of each book; when the reading interface is displayed, the corresponding interface information is text information.
In order to make content recommendation more accurate, the embodiment of the disclosure analyzes interface information by acquiring the interface information of an interface currently displayed by an electronic device, determines a target service in the interface, and then recommends according to the target service. In this way, content more in line with the user's needs can be recommended.
The target service refers to a service corresponding to the user intention in the interface. For example, when a chat interface is displayed, by analyzing chat information of the chat interface, the intention of the user can be determined through the content of the chat, and after the intention is known, an entry of an application related to the intention of the user can be displayed on the chat interface, and at this time, if the user touches the entry, a function corresponding to the intention of the user in the application can be called.
As a specific example, when a chat interface is displayed and "the winner" is displayed on the chat interface, it can be determined through the content of the chat that the user's intention is to go to the winner to have a meal, and the application related to "go to the winner to have a meal" is a food type APP, such as a group purchase or take-away type APP. At this time, an entrance of the group purchase or takeout APP can be displayed on the chat interface, and if the user touches the entrance, a page corresponding to the "must win guest" in the group purchase or takeout APP can be called. The target service in this particular example is the service "go must have a guest meal".
Here, the determination of the application associated with the target service may be: determining an application associated with the target service according to the type of the target service; wherein the types of target services include: eating service, shopping service, lodging service, transportation service, office service, etc.
For example, a meal-like service may correspond to a restaurant on a gourmet group purchase or take-away APP; the shopping-like service may correspond to a store in a shopping or documentary-like APP; the accommodation service may correspond to a hotel in the travel APP; the traffic service can correspond to a certain line in the APP of the subway, public transport or high-speed rail; an office class service may correspond to a tool in a translation or document editing class APP.
The portals of the application may be: a portal in the form of a link or a portal in the form of an application icon.
After the application associated with the target service is determined, the entry of the application is displayed on the interface, and may be displayed in a floating manner on the currently displayed interface, and specifically may be displayed in a floating manner on any position of the currently displayed interface. However, in order not to affect the use of the currently displayed interface by the user, the entry may be displayed at a corner of the currently displayed interface when the entry is displayed in a floating manner, for example, at the upper right, lower left, or right side of the currently displayed interface.
Therefore, even if content recommendation is performed based on the interface information on the currently displayed interface, the user may not start the corresponding function in a non-triggering manner when the user does not want to start the application, so that the user can use the application conveniently.
The function corresponding to the target service in the application is a function related to the target service in the application. For example, if the determined target service is dining by the winner guest, and the determined application is a beauty group APP, when an entrance of the beauty group APP is touched, a package recommendation function corresponding to the winner guest in the beauty group APP is called.
Thus, the content recommendation of the present disclosure is more suitable for the user's needs compared to the recommendation triggered by the user performing a certain operation in the system, such as turning on a certain application or flashlight. Moreover, the recommendations triggered by the event that a certain application or a flashlight is turned on are all recommendations with fixed content, and the matching degree of the recommendations with the requirements of the user is not high. The content recommendation method disclosed by the invention is used for recommending the interface information on the currently displayed interface which is directly acquired, so that the current intention (namely the desired target service) of the user can be more accurately controlled.
In some embodiments, the obtaining interface information of an interface currently displayed by the electronic device includes:
when the voice interaction function of the electronic equipment is in an awakening state, acquiring interface information of an interface currently displayed by the electronic equipment; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
Here, the voice interaction function is a function corresponding to a voice interaction application on the electronic device, and the user can be helped to solve the problem through intelligent interaction of intelligent dialogue and instant question and answer. In some embodiments, the voice interaction function may be a function corresponding to a voice assistant. Voice assistants in different types of electronic devices are different, for example, a favorite in a millet mobile phone, Siri in an apple mobile phone, and the like all belong to voice assistants.
In the embodiment of the disclosure, the interface information of the interface currently displayed by the electronic device is acquired by starting the voice interaction function of the electronic device. For example, after waking up a voice assistant on the electronic device, interface information of an interface currently displayed by the electronic device is acquired by the voice assistant.
The voice interaction function of the electronic equipment belongs to the function set in the electronic equipment, for example, because the voice assistant belongs to the system-level application, the voice interaction function can also run synchronously in the running of each application. Then, the embodiment of the present disclosure may monitor the application running condition of the electronic device by waking up the voice interaction function and using the monitor of the voice interaction function, so as to obtain the interface information of the interface currently displayed by the electronic device.
Here, the voice interaction function of the electronic device may be awakened by a voice signal containing a keyword, for example, a "love heart" voice signal is emitted. Or, the voice interaction function of the electronic device may be awakened by turning on the voice interaction function of the electronic device in the setting.
Therefore, the interface information of the currently displayed interface can be obtained by utilizing the operation characteristics of the voice interaction function in the awakening state, and the method is convenient and quick.
Here, after the voice interaction function is woken up, the display may be a full screen display or a floating display.
The interactive interface of the voice interactive function can display that: displaying an icon of the voice interaction function, or displaying an identifier of the voice interaction function. The identification may be an image identification or a text identification, e.g. showing an image of a microphone, or showing a "love".
The awakening icon of the voice interaction function is displayed in a floating mode, namely, the awakening icon is suspended above the currently displayed interface; for example, the floating display is at a corner of the interface, specifically, at the upper right, lower left, or right side of the current display.
Fig. 2 is a schematic diagram of a wake-up icon for a voice interaction function in an exemplary embodiment, and as shown in fig. 2, a wake-up icon 200 for the voice interaction function is suspended in the lower left corner of an icon interface.
In some embodiments, the obtaining interface information of an interface currently displayed by the electronic device when the voice interaction function of the electronic device is in the wake-up state includes:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screenshot on the interface to acquire interface information.
It should be noted that, when the wake-up state of the interactive interface of the voice interaction function is displayed in a full screen, the interactive interface of the voice interaction function is displayed on the whole page, which may affect the use of the electronic device by the user. Therefore, in the embodiment of the disclosure, after the voice interaction function is awakened, the awakening icon of the display voice interaction function is displayed in a floating manner, so that the awakening icon is located at a certain position of the current interface, the user is not hindered from using the electronic equipment, and the running state of the electronic equipment is conveniently monitored.
The running state of each application on the electronic equipment comprises the following steps: an unopened state and an opened state. The open state includes: and the system is started and in a foreground running state or started and in a background running state.
Here, since there are many kinds of applications, it is only necessary to execute the content recommendation method according to the embodiment of the present disclosure in relation to an application that can make information recommendation.
The kind of application may be a communication kind, a news kind, a document tool kind, a map kind, etc. There are some kinds of applications that do not need content recommendation, e.g. counter applications or gallery applications. Some applications can perform recommendation based on the use condition of the user, so that better use experience is provided for the user, for example, communication applications can relate to the intention of the user, and the recommendation can be performed more accurately.
The target application is an application that needs content recommendation.
In the embodiment of the disclosure, whether an application to which a currently displayed interface belongs is a target application is determined by monitoring the running state of each application on the electronic device, and when it is determined that the application to which the currently displayed interface belongs is the target application, a screenshot is performed on the interface to obtain interface information. For example, when the current application is determined to be WeChat through monitoring, screenshot is performed on the current chat interface in the WeChat, and then interface information is obtained.
Here, the screenshot is performed on the interface, and interface information is acquired, including:
performing screenshot on the interface to obtain a screenshot image;
and processing the screenshot image based on a preset extraction model to obtain interface information in the screenshot image.
The preset extraction model is a neural network model which is stored in the electronic equipment in advance and used for extracting information. For example, the extraction model may be a Convolutional Neural Network (CNN) model, a Long/short term memory (LSTM) model, or the like.
In some embodiments, the determining a target service in the interface according to the interface information includes:
extracting identification information related to the alternative service from the interface information based on a preset identification model;
and determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
In the embodiment of the disclosure, the alternative service is a service corresponding to the user intention; for example, a meal-like service, a shopping-like service, or an accommodation-like service.
In some embodiments, the identification information comprises one of:
service name information;
service icon information;
the service linking address.
Here, the service name information is a name feature included in the service. Such as a restaurant name specified in a meal-like service. The service icon information is the icon information corresponding to the service. For example, an icon corresponding to a specific restaurant in the dining service, such as an icon corresponding to mcdonald's worth or an icon corresponding to a must-win guest. The service link address is website address information corresponding to the service or storage path information corresponding to the service when the service is stored in the electronic device.
Here, after the interface information is obtained, the identification information related to the alternative service is extracted from the interface information through a preset identification model, for example, if a keyword "must win guest" appears in the wechat interface, the service name information of "must win guest" is extracted, and further, according to the communication software of the wechat to which the service name information and the service name information belong, it can be determined that the current intention of the user may be that the must win guest is wanted to have a meal, and at this time, the eating service is determined from the multiple alternative services.
In the embodiment of the present disclosure, the electronic device stores in advance a corresponding relationship between the alternative service and the related identification information. For example, for a meal service, the corresponding identification information may be the name of each restaurant or the icon of each restaurant in the food group purchase APP. The identification information corresponding to the shopping service may be a name of each hotel or an icon of each hotel in the shopping APP.
It should be noted that the same kind of identification information may appear in different applications, and the user intentions corresponding to the appearance of the identification information in different applications may be different. For example, the user intents corresponding to "winner" appearing in the document editing class APP and "winner" appearing in the WeChat APP are different. The 'must-win guest' appearing in the WeChat APP may represent that the user wants to go to eat, but the 'must-win guest' appearing in the document editing APP is unlikely to be that the user wants to go to eat.
Therefore, after the identification information is extracted, it is further required to determine whether the application type of the application to which the interface information belongs is a preset type, and if it is determined that the currently displayed interface is the preset type, more accurate pushing can be further achieved.
In some embodiments, the method further comprises:
determining a storage path of an application associated with the target service;
generating the entry for the target service based on the storage path.
Here, in order to make information recommendation more conveniently and also to facilitate that the user can use the target service conveniently and quickly, the portal of the application associated with the target service may be generated after determining the application associated with the target service.
The inlet may be: a portal in the form of a link or a portal in the form of an application icon.
The entries for this form of linking may be: and applying corresponding storage path information when the application is stored in the electronic equipment.
In the embodiment of the present disclosure, the entry existing in the form of the application icon means that the storage path information corresponding to the application stored in the electronic device is encapsulated into the application icon, and then when the application icon is touched, the application icon is directly jumped to the interface corresponding to the application.
And the entrance in the link form encapsulates the corresponding storage path information when the application is stored in the electronic equipment into a link, and directly jumps to the page corresponding to the application when the link is touched.
Here, when the corresponding application is stored on the electronic device, it is possible to directly jump to the interface corresponding to the application. In order to facilitate directly jumping from the currently displayed interface to the interface corresponding to the application associated with the target service, the application may be directly encapsulated in a storage path on the electronic device to generate an entry.
In some embodiments, the method further comprises:
launching an application associated with the target service in a background of the electronic device;
when the touch operation for the entrance is detected, invoking a function corresponding to the target service in the application, including:
when touch operation aiming at the entrance is detected, switching the interface currently displayed by the electronic equipment to the interface where the function corresponding to the target service is located in the application.
Here, to implement the jump more quickly, an application associated with the target service may be launched in the background of the electronic device. For example, after the keyword 'must win the guest' is obtained on the wechat interface, it is determined that the target service is going to eat for the must win the guest, and then, an application that can realize the intention of going to eat for the must win the guest, such as starting a beauty group APP, can be started immediately in the background of the electronic device.
Here, in the above example, after the american society APP is started, an entry is generated based on a storage path of the american society APP on the electronic device, and the entry is displayed on the currently displayed interface, and at this time, if it is detected that the entry is touched, the interface currently displayed by the electronic device is directly switched to an interface where a function corresponding to the target service in the application is located, for example, the interface corresponding to a must-win guest in the american society APP is switched from a wechat interface. In this way, jumps can be implemented as quickly as possible when the user wants to.
The present disclosure also provides the following embodiments:
fig. 3 is a flowchart illustrating a second content recommendation method according to an exemplary embodiment, where as shown in fig. 3, the content recommendation method includes:
step 301, acquiring interface information of a currently displayed interface of the electronic equipment;
step 302, determining a target service in the interface according to the interface information;
step 303, starting an application associated with the target service in a background of the electronic device;
step 304, determining a storage path of an application associated with the target service;
step 305, generating the entry of the target service based on the storage path;
step 306, displaying an entrance of an application associated with the target service on the interface;
step 307, when the touch operation for the entry is detected, switching the interface currently displayed by the electronic device to the interface where the function corresponding to the target service in the application is located.
As a specific example, the voice interaction function xiaocai is awakened, and the xiaocai may be in an awakening state of displaying the interaction interface in a full screen manner after being awakened, or may be in an awakening state of displaying the awakening icon in a floating manner. Furthermore, the operating state of each application on the electronic equipment is monitored through the favorite, when the application to which the currently displayed interface belongs is determined to be the target application, the current interface is subjected to screenshot, the screenshot image is analyzed, and the user intention (namely the desired target service) is presumed. When the current interface of the electronic equipment is a WeChat chat interface, if a link for popular comment is detected in chat information, the link is obtained, meanwhile, a shortcut for opening the popular comment APP is recommended to a user in a mode that an entrance of an application associated with a target service is displayed on the interface, and after the entrance is touched, the user can directly jump to the interface of the popular comment APP.
As another specific example, fig. 4 is a schematic diagram of an interface with a current interface for browsing an english article in an exemplary embodiment, where the left diagram in fig. 4 is a schematic diagram of the interface for browsing an english article in which the voice interaction function widget 400 is suspended in the lower left corner of the interface, the right diagram in fig. 4 is a schematic diagram of the interface for browsing an english article in which the voice interaction function widget 400 is suspended in the lower left corner of the interface, and the translation entry 401 is also displayed in the lower left corner of the interface. As shown in fig. 4, if the current interface of the electronic device is an interface for browsing an english article, and the young love is in an awake state at this time, the young love can capture an obtained english article interface for reading the APP by monitoring the reading APP, analyze the captured image, and presume that the user intends to translate the english article. At this time, an entrance for translating the APP is displayed on the current interface, and the translation interface is entered after clicking the entrance.
In this way, on one hand, the content recommendation method of the embodiment of the disclosure is a recommendation performed by directly acquiring the interface information on the currently displayed interface, so that the current intention (i.e. the desired target service) of the user can be more accurately controlled, and the content recommendation method more meets the user needs. On the other hand, the recommendation based on the interface information on the currently displayed interface enables different recommendation contents to be available for different interface information, and the recommendation is more flexible and rich. And when recommendation is executed, the entrance of the application associated with the target service is directly displayed on the interface, so that a user can call the corresponding function through touch operation when the function is really needed, and the recommendation method is convenient and quick.
An embodiment of the present disclosure further provides a content recommendation device, and fig. 5 is a schematic structural diagram of a content recommendation device according to an exemplary embodiment, and as shown in fig. 5, the content recommendation device 500 includes:
an obtaining module 501, configured to obtain interface information of an interface currently displayed by an electronic device;
a service determination module 502, configured to determine a target service in the interface according to the interface information;
a display module 503, configured to display, on the interface, an entry of an application associated with the target service;
a calling module 504, configured to call, when a touch operation for the entry is detected, a function corresponding to the target service in the application.
In some embodiments, the obtaining module further comprises:
the wake-up acquisition module is used for acquiring interface information of an interface currently displayed by the electronic equipment when the voice interaction function of the electronic equipment is in a wake-up state; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
In some embodiments, the wake acquisition module is further configured to:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screenshot on the interface to acquire interface information.
In some embodiments, the service determination module comprises:
the extraction module is used for extracting identification information related to the alternative service from the interface information based on a preset identification model;
and the service determining submodule is used for determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
In some embodiments, the apparatus further comprises:
determining a storage path of an application associated with the target service;
generating the entry for the target service based on the storage path.
In some embodiments, the apparatus further comprises:
a starting module for starting an application associated with the target service in a background of the electronic device;
the calling module is further configured to switch, when a touch operation for the entry is detected, an interface currently displayed by the electronic device to an interface where a function corresponding to the target service is located in the application.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a content recommendation device 1800 according to an example embodiment. For example, the apparatus 1800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and so forth.
Referring to fig. 6, apparatus 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1814, and a communications component 1816.
The processing component 1802 generally controls the overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may also include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1804 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 1806 provide power to various components of device 1800. The power components 1806 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1800.
The multimedia component 1808 includes a screen that provides an output interface between the device 1800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1814 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor assembly 1814 can detect an open/closed state of the device 1800, the relative positioning of components such as a display and keypad of the device 1800, the sensor assembly 1814 can also detect a change in position of the device 1800 or a component of the device 1800, the presence or absence of user contact with the device 1800, orientation or acceleration/deceleration of the device 1800, and a change in temperature of the device 1800. The sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communications between the apparatus 1800 and other devices in a wired or wireless manner. The device 1800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
In an exemplary embodiment, the apparatus 1800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1804 including instructions that are executable by the processor 1820 of the apparatus 1800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor, enable performance of the above-described method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A content recommendation method applied to an electronic device includes:
acquiring interface information of a currently displayed interface of the electronic equipment;
determining a target service in the interface according to the interface information;
displaying, on the interface, an entry for an application associated with the target service;
and when the touch operation aiming at the entrance is detected, calling a function corresponding to the target service in the application.
2. The method of claim 1, wherein the obtaining interface information of an interface currently displayed by the electronic device comprises:
when the voice interaction function of the electronic equipment is in an awakening state, acquiring interface information of an interface currently displayed by the electronic equipment; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
3. The method according to claim 2, wherein the acquiring interface information of the interface currently displayed by the electronic device when the voice interaction function of the electronic device is in the wake-up state comprises:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screenshot on the interface to acquire interface information.
4. The method of claim 1, wherein the determining the target service in the interface according to the interface information comprises:
extracting identification information related to the alternative service from the interface information based on a preset identification model;
and determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
5. The method of claim 1, further comprising:
determining a storage path of an application associated with the target service;
generating the entry for the target service based on the storage path.
6. The method of claim 1, further comprising:
launching an application associated with the target service in a background of the electronic device;
when the touch operation for the entrance is detected, invoking a function corresponding to the target service in the application, including:
when touch operation aiming at the entrance is detected, switching the interface currently displayed by the electronic equipment to the interface where the function corresponding to the target service is located in the application.
7. A content recommendation device applied to an electronic device includes:
the acquisition module is used for acquiring interface information of an interface currently displayed by the electronic equipment;
the service determining module is used for determining target services in the interface according to the interface information;
a display module for displaying an entry of an application associated with the target service on the interface;
and the calling module is used for calling the function corresponding to the target service in the application when the touch operation aiming at the entrance is detected.
8. The apparatus of claim 7, wherein the obtaining module further comprises:
the wake-up acquisition module is used for acquiring interface information of an interface currently displayed by the electronic equipment when the voice interaction function of the electronic equipment is in a wake-up state; wherein the wake-up state comprises: displaying the awakening state of the interactive interface of the voice interactive function in a full screen mode, or displaying the awakening state of the awakening icon of the voice interactive function in a suspension mode.
9. The apparatus of claim 8, wherein the wake acquisition module is further configured to:
when the awakening state of the awakening icon of the voice interaction function is displayed in a suspended mode, whether the application to which the currently displayed interface belongs is a target application or not is determined by monitoring the running state of each application on the electronic equipment;
and when the application to which the currently displayed interface belongs is determined to be the target application, performing screen capture on the interface to acquire interface information.
10. The apparatus of claim 7, wherein the service determination module comprises:
the extraction module is used for extracting identification information related to the alternative service from the interface information based on a preset identification model;
and the service determining submodule is used for determining a target service from the alternative services corresponding to the identification information according to the identification information and the application type of the application to which the interface information belongs.
11. The apparatus of claim 7, wherein the apparatus is configured to:
a path determination module to determine a storage path of an application associated with the target service;
and the entrance generation module is used for generating the entrance of the target service based on the storage path.
12. The apparatus of claim 7, further comprising:
a starting module for starting an application associated with the target service in a background of the electronic device;
the calling module is further configured to switch, when a touch operation for the entry is detected, an interface currently displayed by the electronic device to an interface where a function corresponding to the target service is located in the application.
13. A content recommendation apparatus characterized by comprising:
a processor and a memory for storing executable instructions operable on the processor, wherein:
the processor is configured to execute the executable instructions, and the executable instructions perform the steps of the method provided by any one of the preceding claims 1 to 6.
14. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform steps in a method as provided by any one of claims 1 to 6.
CN202110193803.3A 2021-02-20 2021-02-20 Content recommendation method, device and storage medium Pending CN112911068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110193803.3A CN112911068A (en) 2021-02-20 2021-02-20 Content recommendation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110193803.3A CN112911068A (en) 2021-02-20 2021-02-20 Content recommendation method, device and storage medium

Publications (1)

Publication Number Publication Date
CN112911068A true CN112911068A (en) 2021-06-04

Family

ID=76124140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110193803.3A Pending CN112911068A (en) 2021-02-20 2021-02-20 Content recommendation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112911068A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783808A (en) * 2017-09-28 2018-03-09 努比亚技术有限公司 A kind of terminal processing method, terminal and computer-readable recording medium
CN108122161A (en) * 2017-12-25 2018-06-05 珠海市魅族科技有限公司 A kind of Method of Commodity Recommendation, device, terminal and readable storage medium storing program for executing
CN110138959A (en) * 2019-04-10 2019-08-16 华为技术有限公司 Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110162707A (en) * 2019-05-23 2019-08-23 维沃移动通信有限公司 A kind of information recommendation method, terminal and computer readable storage medium
WO2019183788A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method and apparatus for recommending applications based on scenario
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783808A (en) * 2017-09-28 2018-03-09 努比亚技术有限公司 A kind of terminal processing method, terminal and computer-readable recording medium
CN108122161A (en) * 2017-12-25 2018-06-05 珠海市魅族科技有限公司 A kind of Method of Commodity Recommendation, device, terminal and readable storage medium storing program for executing
WO2019183788A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method and apparatus for recommending applications based on scenario
CN110138959A (en) * 2019-04-10 2019-08-16 华为技术有限公司 Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110162707A (en) * 2019-05-23 2019-08-23 维沃移动通信有限公司 A kind of information recommendation method, terminal and computer readable storage medium
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
US10372469B2 (en) Method and device for displaying information
CN104166689B (en) The rendering method and device of e-book
CN108038102B (en) Method and device for recommending expression image, terminal and storage medium
RU2603538C2 (en) Method of inscription making, device and terminal
EP3561692A1 (en) Method and device for displaying web page content
CN107229403B (en) Information content selection method and device
CN106354504B (en) Message display method and device
CN105404401A (en) Input processing method, apparatus and device
CN105447109A (en) Key word searching method and apparatus
CN112256164B (en) Page display method and device, electronic equipment and storage medium
CN105677023A (en) Information presenting method and device
CN108803892B (en) Method and device for calling third party application program in input method
CN112181265B (en) Touch signal processing method, device and medium
CN105117115B (en) A kind of method and apparatus for showing electronic document
CN104951522B (en) Method and device for searching
CN113901241A (en) Page display method and device, electronic equipment and storage medium
CN112130719B (en) Page display method, device and system, electronic equipment and storage medium
CN110213062B (en) Method and device for processing message
CN105101121A (en) Information transmitting method and device
CN115379113B (en) Shooting processing method, device, equipment and storage medium
CN106126050A (en) Menu display method and device
CN104991779A (en) Presentation method and device
CN105677406A (en) Application operating method and device
CN104933107A (en) Searching method of push message and searching device of push message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210604