CN117951363A - Method, device and system for recommending information - Google Patents

Method, device and system for recommending information Download PDF

Info

Publication number
CN117951363A
CN117951363A CN202211324217.9A CN202211324217A CN117951363A CN 117951363 A CN117951363 A CN 117951363A CN 202211324217 A CN202211324217 A CN 202211324217A CN 117951363 A CN117951363 A CN 117951363A
Authority
CN
China
Prior art keywords
recommendation
recommended
information
request information
service
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
CN202211324217.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211324217.9A priority Critical patent/CN117951363A/en
Publication of CN117951363A publication Critical patent/CN117951363A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a method, a device and a system for recommending information, wherein the method comprises the following steps: the terminal equipment receives at least two levels of recommendation response information, wherein the at least two levels of recommendation response information are used for providing at least two levels of recommendation services; and storing the recommended contents of the recommended response information of at least two grades into at least two recommended service content cache queues of at least two grades, wherein the recommended service content cache queues of at least two grades are in one-to-one correspondence with the recommended response information of at least two grades. The method, the device and the system for recommending information can grade the recommended service, so that the terminal equipment can obtain the recommended content of a plurality of grades, thereby being convenient for providing more efficient recommended service for users and improving the use feeling of the users.

Description

Method, device and system for recommending information
Technical Field
The embodiment of the application relates to the field of electronic equipment, in particular to a method, a device and a system for recommending information.
Background
With the development of internet technology, users can acquire interesting recommended content through electronic devices. The recommendation service provided by the current recommendation system for the user is single, and the corresponding recommendation service is difficult to adjust adaptively according to the current recommendation scene of the user. In addition, the recommendation time delay and the recommendation effect of the recommendation service are usually fixed, and the recommendation time delay and the recommendation effect of the recommendation service are difficult to balance.
Therefore, how to provide a more efficient recommendation service for users to improve the user feeling is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a method, a device and a system for recommending information. The method can provide a plurality of levels of recommended services for the user, and improves the use feeling of the user.
In a first aspect, a method for recommending information is provided, including: receiving at least two levels of recommendation response information for providing at least two levels of recommendation services, the recommendation response information including recommendation content; and storing the recommended contents of the recommended response information of at least two grades into at least two recommended service content cache queues of at least two grades, wherein the recommended service content cache queues of at least two grades are in one-to-one correspondence with the recommended response information of at least two grades.
Illustratively, at least two levels of recommended service content cache queues are hierarchically in one-to-one correspondence with at least two levels of recommended response information. For example, the first level recommended service content cache queue corresponds to the first level recommended response information; the second level recommended service content cache queue corresponds to the second level recommended response information; the third level recommended service content cache queue corresponds to the third level recommended response information.
Based on the scheme, through designing the recommendation services with multiple levels, the terminal equipment can receive recommendation response information with multiple levels and store the recommendation contents in the recommendation response information into the recommendation service content cache queues with corresponding levels, and when the recommendation contents need to be presented for the user, the recommendation services can be provided for the user more conveniently and efficiently.
With reference to the first aspect, in certain implementations of the first aspect, the method includes: determining first recommendation request information in response to a recommendation request operation of a user; determining second recommendation request information of at least two grades according to the first recommendation request information, wherein the second recommendation request information of the at least two grades corresponds to recommendation response information of the at least two grades one by one; and sending the second recommendation request information of the at least two grades.
Based on the above scheme, the recommendation request operation of the user can trigger the terminal device to determine the original recommendation request information (first recommendation request information), and repackage the original recommendation request to obtain second recommendation request information with different grades. The second recommendation request information of different grades corresponds to recommendation services of different grades, and recommendation effects of the recommendation services of different grades are different. The terminal equipment can send second recommendation request information with different grades to request recommendation contents with different grades, so that recommendation requirements of users in different recommendation scenes are met. Meanwhile, the terminal equipment can perform repackaging processing by combining the current network state and the state of the recommended service content cache queue, and the second recommendation request information obtained by the repackaging processing is more suitable for the current recommendation scene of the terminal equipment.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: receiving recommendation parameter response information, the recommendation parameter response information comprising at least one of: the method comprises the steps of identifying a destination address of a recommendation server, identifying the grade of the recommendation service, recommending time delay of the recommendation service and recommending effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of the recommendation servers corresponding to the recommendation service of at least two grades.
With reference to the first aspect, in certain implementation manners of the first aspect, the determining, according to the first recommendation request information, second recommendation request information of at least two levels includes: and determining second recommendation request information of the at least two grades according to the first recommendation request information and the recommendation parameter response information.
Based on the above scheme, before the terminal device repackages the original recommendation request, the terminal device needs to acquire the recommendation parameter response information of the server, and repackages the original recommendation request according to the recommendation parameter response information, so that the repackaged recommendation request information carries relevant content in the recommendation parameter response information, and the second recommendation request information of at least two grades is conveniently sent to the recommendation service interface of the corresponding grade of the server.
With reference to the first aspect, in certain implementation manners of the first aspect, the second recommendation request information includes: the first recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the first aspect, in certain implementations of the first aspect, the at least two levels of recommended response information include at least two of: the first level of recommended response information, the second level of recommended response information, and the third level of recommended response information; the method comprises the steps of storing the recommended content of the recommended response information of at least two grades into a recommended service content cache queue of at least two grades, wherein the recommended service content cache queue comprises at least two of the following items: storing the recommended content of the recommended response information of the first level into a recommended service content cache queue of the first level; storing the recommended content of the recommended response information of the second level into a recommended service content cache queue of the second level; and storing the recommended content of the recommended response information of the third level into a recommended service content cache queue of the third level.
Based on the method, the terminal equipment caches the recommended content into the recommended service content cache queue of the corresponding level, so that the terminal equipment can provide high-quality recommended service for the user preferentially according to the current recommended scene of the user.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: determining target recommendation response information according to recommendation rules, wherein the target recommendation response information is one of the recommendation response information of the at least two grades; and displaying the recommended content of the target response recommended information.
Illustratively, the recommendation rule is to determine recommendation response information in which the recommendation effect is the best when the terminal device receives recommendation response information of a plurality of levels. The terminal device can preferentially display the recommended content of the recommended response information with good recommended effect on the user interface. For example, in the embodiment of the present application, the recommendation delay of the first level of recommended service (recommended service L1) is 100ms, and the terminal device receives the first level of recommended response information when the terminal device is 100ms, at this time, the recommended content of the first level of recommended response information is displayed by the terminal device because the other levels of recommended service have not yet reached the terminal device due to the longer recommendation delay. The recommendation delay of the second-level recommendation service (recommendation service L2) is 300ms, and the terminal equipment receives the second-level recommendation response information when the terminal equipment is 300ms, and the recommendation effect of the second-level recommendation service is better than that of the first-level recommendation service, so that the terminal equipment displays the recommendation content of the second-level recommendation information on the user interface.
Based on the scheme, the terminal equipment can preferentially display the recommended content with better recommended effect on the user interface, so that the recommended time delay and the recommended effect can be better balanced, and better recommended experience is brought to the user.
With reference to the first aspect, in certain implementation manners of the first aspect, the method further includes: determining first recommendation request information in response to a recommendation request operation of a user; and sending the first recommendation request information.
Based on the method, the terminal equipment does not perform the repackaging processing of the first recommendation request, and when the user triggers the first recommendation request information, the terminal equipment sends the first recommendation request information to the network equipment or the terminal equipment sends the first recommendation request information to the server through the network equipment, and the network equipment or the server executes the repackaging processing of the first recommendation request.
With reference to the first aspect, in certain implementation manners of the first aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of the recommended service content cache queue, and the response message comprises the recommended content.
Based on the scheme, the terminal equipment can acquire the recommendation response information of a plurality of grades, and determine a recommendation service content cache queue in which the recommendation response information can be stored according to the grading parameters in the recommendation response information.
With reference to the first aspect, in certain implementations of the first aspect: the at least two levels of second recommendation request information include at least two of: the first level of second recommendation request information, the second level of second recommendation request information, and the third level of second recommendation request information.
In a second aspect, a method for recommending information is provided, including: acquiring second recommendation request information of at least two grades, wherein the second recommendation request information of the at least two grades is used for requesting recommendation services of the at least two grades; determining at least two levels of recommendation response information according to the at least two levels of second recommendation request information, wherein the at least two levels of recommendation response information correspond to the at least two levels of second recommendation request information one by one, and the recommendation response information comprises recommendation content; and sending the recommended response information of the at least two levels.
Based on the scheme, the server can repackage the original recommendation request information, or acquire the second recommendation request information after repackaging the network equipment, or acquire the second recommendation request information after repackaging the terminal equipment, and process the recommendation request information of different grades in the recommendation server of the corresponding grade to obtain the recommendation response information of the corresponding grade. The server obtains recommendation response information of different grades according to the recommendation request information of different grades, and provides recommendation services of different grades for the terminal equipment so as to meet recommendation requirements of users.
With reference to the second aspect, in some implementations of the second aspect, the obtaining the second recommendation request information of at least two levels includes: receiving first recommendation request information; and determining second recommendation request information of the at least two grades according to the first recommendation request information.
Based on the scheme, the server receives the first recommendation request information from the terminal equipment, and when the recommendation agent module is deployed in the server, the server can repackage the first recommendation request information.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: transmitting recommended parameter response information, the recommended parameter response information including at least one of: the method comprises the steps of identifying a destination address of a recommendation server, identifying a grade of the recommendation service, recommending time delay of the recommendation service and recommending effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of the recommendation servers corresponding to the recommendation service of at least two grades; and receiving the second recommendation request information of the at least two grades.
Based on the method, before the server can receive the second recommendation request information from the terminal equipment for repackaging, the server needs to send recommendation parameter response information to the terminal equipment, so as to provide the terminal equipment with the relevant information of the recommendation service which can be provided by the server, and the terminal equipment can conveniently repackage the first recommendation request information according to the recommendation parameter response information.
With reference to the second aspect, in certain implementations of the second aspect, the second recommendation request information includes: the first recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the second aspect, in certain implementations of the second aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of a recommended service content cache queue, and the response message comprises the recommended content.
In a third aspect, a method for recommending information is provided, including: receiving first recommendation response information, wherein the first recommendation response information corresponds to a first recommendation service, the first recommendation response information comprises first recommendation content, a plurality of recommendation services are divided into at least two grades, the at least two grades are in one-to-one correspondence with at least two cache queues, and the first recommendation service belongs to the plurality of recommendation services; and storing the first recommended content into a first cache queue according to the grade of the first recommended service, wherein the first cache queue is a cache queue corresponding to the grade of the first recommended service.
For example, the first recommendation response information may be understood as recommendation response information of a first level, the first recommendation service may be understood as recommendation service of the first level, the first recommendation content may be understood as recommendation content of recommendation response of the first level, and the first cache queue may be understood as recommendation service content cache queue of the first level.
With reference to the third aspect, in certain implementations of the third aspect, the method further includes: determining original recommendation request information in response to a recommendation request operation of a user; determining first repackaged recommendation request information according to the original recommendation request information, wherein the first repackaged recommendation request information corresponds to the first recommendation response information one by one; the first repackaging recommendation request information is sent.
For example, the original recommendation request information may be understood as first recommendation request information, the repackaged recommendation request information may be understood as second recommendation request information, and the first repackaged recommendation request information may be understood as first-level second recommendation request information.
With reference to the third aspect, in certain implementations of the third aspect, recommendation parameter response information is received, the recommendation parameter response information including at least one of: the recommendation service comprises an identification of a destination address of a recommendation server, a grade identification of the recommendation service, a recommendation time delay of the recommendation service and a recommendation effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of the recommendation servers corresponding to the plurality of recommendation services.
With reference to the third aspect, in some implementations of the third aspect, the determining the first repackaged recommendation request information according to the original recommendation request information includes: determining the first repackaged recommendation request information according to the original recommendation request information and the recommendation parameter response information.
With reference to the third aspect, in certain implementations of the third aspect, the repackaging recommendation request information includes: the original recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the third aspect, in certain implementations of the third aspect, the method further includes: displaying the first recommended content; or receiving second recommendation response information, wherein the second recommendation response information corresponds to a second recommendation service, the second recommendation response information comprises second recommendation content, and the second recommendation service belongs to the plurality of recommendation services; storing the second recommended content into a second cache queue according to the grade of the second recommended service, wherein the second cache queue is a cache queue corresponding to the grade of the second recommended service; determining target recommendation response information from the first recommendation response information and the second recommendation response information according to recommendation rules; and displaying the recommended content of the target response recommended information.
For example, the second recommendation response information may be understood as recommendation response information of a second level, the second recommendation service may be understood as recommendation service of the second level, the second cache queue may be understood as recommendation service content cache queue of the second level, and the second recommendation service may be understood as recommendation content of the recommendation response information of the second level.
With reference to the third aspect, in some implementations of the third aspect, in response to a recommendation request operation by a user, original recommendation request information is determined; and sending the original recommendation request information.
With reference to the third aspect, in certain implementations of the third aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of the recommended service content cache queue, and the response message comprises the recommended content.
In a fourth aspect, a method for recommending information is provided, including: acquiring first repackaged recommendation request information corresponding to a first recommendation service, wherein a plurality of recommendation services are classified into at least two grades, and the first recommendation service belongs to the plurality of recommendation services; determining first recommendation response information according to the first repackaging recommendation request information, wherein the recommendation response information comprises recommendation content; and sending the first recommendation response information.
With reference to the fourth aspect, in some implementations of the fourth aspect, the acquiring the first repackaging recommendation request information includes: receiving original recommendation request information; the first repackaged recommendation request information is determined based on the original recommendation request information.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the method further includes: transmitting recommended parameter response information, the recommended parameter response information including at least one of: the recommendation service comprises a recommendation server destination address identification, a recommendation service grade identification, a recommendation time delay of the recommendation service and a recommendation effect of the recommendation service, wherein the recommendation server destination address identification is used for indicating addresses of recommendation servers corresponding to the plurality of recommendation services; the first repackaging recommendation request information is received.
With reference to the fourth aspect, in some implementations of the fourth aspect, the repackaging recommendation request information includes: the original recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of a cache queue, and the response message comprises the recommended content.
In a fifth aspect, there is provided a recommendation device, the recommendation device being a terminal device, or a device having some or all of the functions of the terminal device, the device comprising: the receiving and transmitting module is used for receiving at least two levels of recommendation response information, wherein the at least two levels of recommendation response information are used for providing at least two levels of recommendation services, and the recommendation response information comprises recommendation contents; and the processing module is used for storing the recommended contents of the recommended response information of the at least two grades into at least two recommended service content cache queues of the at least two grades, wherein the recommended service content cache queues of the at least two grades are in one-to-one correspondence with the recommended response information of the at least two grades.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the processing module is further configured to determine the first recommendation request information in response to a recommendation request operation of the user; the recommendation request information processing device is also used for determining second recommendation request information of at least two grades according to the first recommendation request information, wherein the second recommendation request information of the at least two grades corresponds to recommendation response information of the at least two grades one by one; the receiving and transmitting module is used for transmitting the second recommendation request information of the at least two grades. The processing module may include a recommendation agent module that may be configured to determine at least two levels of second recommendation request information based on the first recommendation request information.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the transceiver module is further configured to receive recommended parameter response information, where the recommended parameter response information includes at least one of: the method comprises the steps of identifying a destination address of a recommendation server, identifying the grade of the recommendation service, recommending time delay of the recommendation service and recommending effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of the recommendation servers corresponding to the recommendation service of at least two grades.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the processing module is further configured to determine the second recommendation request information of the at least two levels according to the first recommendation request information and the recommendation parameter response information.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the second recommendation request information includes: the first recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the at least two levels of recommended response information include at least two of: the first level of recommended response information, the second level of recommended response information, and the third level of recommended response information; the processing module is specifically used for at least two of the following: storing the recommended content of the recommended response information of the first level into a recommended service content cache queue of the first level; storing the recommended content of the recommended response information of the second level into a recommended service content cache queue of the second level; and storing the recommended content of the recommended response information of the third level into a recommended service content cache queue of the third level.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the processing module is further configured to determine target recommendation response information according to a recommendation rule, where the target recommendation response information is one of the at least two levels of recommendation response information; and the display module is used for displaying the recommended content of the target response recommended information.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the processing module is further configured to determine the first recommendation request information in response to a recommendation request operation of the user; the transceiver module is further configured to send the first recommendation request information.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of the recommended service content cache queue, and the response message comprises the recommended content.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the at least two levels of second recommendation request information include at least two of: the first level of second recommendation request information, the second level of second recommendation request information, and the third level of second recommendation request information.
In a sixth aspect, there is provided a recommendation device, the recommendation device being a server, or a device having a part or all of a server function, the device comprising: the receiving and transmitting module is used for acquiring second recommendation request information of at least two grades, and the second recommendation request information of the at least two grades is used for requesting recommendation services of the at least two grades; the processing module is used for determining at least two levels of recommendation response information according to the at least two levels of second recommendation request information, wherein the at least two levels of recommendation response information correspond to the at least two levels of second recommendation request information one by one, and the recommendation response information comprises recommendation contents; the transceiver module is further configured to send the at least two levels of recommended response information.
With reference to the sixth aspect, in certain implementation manners of the sixth aspect, the transceiver module is further configured to receive first recommendation request information; the processing module is further configured to determine second recommendation request information of the at least two levels according to the first recommendation request information. Wherein the processing module may include a recommendation agent module that may be configured to determine the at least two levels of second recommendation request information based on the first recommendation request information.
With reference to the sixth aspect, in certain implementation manners of the sixth aspect, the transceiver module is further configured to send recommended parameter response information, where the recommended parameter response information includes at least one of: the method comprises the steps of identifying a destination address of a recommendation server, identifying a grade of the recommendation service, recommending time delay of the recommendation service and recommending effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of the recommendation servers corresponding to the recommendation service of at least two grades; and is further configured to receive the at least two levels of second recommendation request information.
With reference to the sixth aspect, in certain implementations of the sixth aspect, the second recommendation request information includes: the first recommendation request information, recommendation parameters and identification of a destination address of the recommendation server, wherein the recommendation parameters comprise grade identification of the recommendation service.
With reference to the sixth aspect, in certain implementations of the sixth aspect, the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of a recommended service content cache queue, and the response message comprises the recommended content.
In a seventh aspect, there is provided an apparatus for recommending information, including: a processor coupled to a memory for storing a computer program for running the computer program for causing the means for recommending information to perform the method as in the first aspect and any of its possible implementations, or for causing the means for recommending information to perform the method as in the second aspect and any of its possible implementations, or for causing the means for recommending information to perform the method as in the third aspect and any of its possible implementations, or for causing the means for recommending information to perform the method as in the fourth aspect and any of its possible implementations.
With reference to the seventh aspect, in certain implementations of the seventh aspect, one or more of the memory and a transceiver are further included, the transceiver being configured to receive signals and/or transmit signals.
In an eighth aspect, there is provided an electronic device that is a terminal device or has a function of a part or all of the terminal device, including: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the method as in the first aspect and any of its possible implementations, or cause the electronic device to perform the method as in the third aspect and any of its possible implementations.
In a ninth aspect, there is provided an electronic device that is a server, or an electronic device having a part or all of a server function, including: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the method as in the second aspect and any of the possible implementations thereof described above; or cause the electronic device to perform the method as in the fourth aspect and any one of its possible implementations.
In a tenth aspect, there is provided a system of recommending information, the system of recommending information including: a terminal device for performing a method as in the first aspect and any one of its possible implementations, or for performing a method as in the third aspect and any one of its possible implementations; a server for performing the method as in the second aspect and any of its possible implementations, or for performing the method as in the fourth aspect and any of its possible implementations.
In an eleventh aspect, a computer readable storage medium is provided, comprising a computer program or instructions which, when run on a computer, cause a method as in the first aspect and any one of its possible implementations, or cause a method as in the second aspect and any one of its possible implementations, or cause a method as in the third aspect and any one of its possible implementations, or cause a method as in the fourth aspect and any one of its possible implementations, to be performed.
A twelfth aspect, there is provided a computer program product comprising a computer program or instructions which, when run on a computer, cause a method as in the first aspect and any one of its possible implementations to be performed, or cause a method as in the second aspect and any one of its possible implementations to be performed, or cause a method as in the third aspect and any one of its possible implementations to be performed; or cause the method as in the fourth aspect and any one of its possible implementations to be performed.
A thirteenth aspect provides a computer program which, when run on a computer, causes the method as in the first aspect and any one of its possible implementations to be performed, or causes the method as in the second aspect and any one of its possible implementations to be performed, or causes the method as in the third aspect and any one of its possible implementations to be performed; or cause the method as in the fourth aspect and any one of its possible implementations to be performed.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a schematic view of a scenario of a method for recommending information according to an embodiment of the present application.
Fig. 4 is a diagram of a system architecture according to an embodiment of the present application.
Fig. 5 is a schematic flow chart of a method 500 for recommending information according to an embodiment of the present application.
Fig. 6 is a system architecture diagram of a terminal device according to an embodiment of the present application.
Fig. 7 is a schematic diagram of repackaging an original recommendation request according to an embodiment of the present application.
Fig. 8 is a data format of a recommendation request according to an embodiment of the present application.
Fig. 9 is a system architecture diagram of a server according to an embodiment of the present application.
Fig. 10 is a schematic diagram of providing a hierarchical recommendation service according to an embodiment of the present application.
Fig. 11 is a schematic diagram of caching recommended content according to an embodiment of the present application.
Fig. 12 is a schematic flowchart of a method 1200 for recommending information according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one, two or more than two. The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Embodiments of an electronic device, a user interface for such an electronic device, and for using such an electronic device are described below. In some embodiments, the electronic device may be a portable electronic device such as a cell phone, tablet computer, wearable electronic device (e.g., smart watch) with wireless communication capabilities, etc., that also includes other functionality such as personal digital assistant and/or music player functionality. Exemplary embodiments of portable electronic devices include, but are not limited to, piggy-back Or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be appreciated that in other embodiments, the electronic device described above may not be a portable electronic device, but rather a desktop computer.
By way of example, fig. 1 shows a schematic diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an ear-piece interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a user identification (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold acts on the alarm clock application icon, an instruction to newly create an alarm clock is executed.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc. For example, when the mobile phone detects a touch operation of a user on the screen locking interface, the mobile phone can collect fingerprint information of the user through the fingerprint sensor 180H and match the collected fingerprint information with fingerprint information preset in the mobile phone. If the matching is successful, the mobile phone can enter the non-screen locking interface from the screen locking interface.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include a camera, settings, skin modules, user Interfaces (UIs), three-way applications, and the like. The three-party application program can comprise a gallery, calendar, conversation, map, navigation, WLAN, bluetooth, music, video, short message, and the like.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer may include some predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtime include core libraries and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
In addition, the system library can also comprise a state monitoring service module and the like, such as a physical state recognition module, which is used for analyzing and recognizing gestures of a user; the sensor service module is configured to monitor sensor data uploaded by various sensors in the hardware layer, and determine a physical state of the electronic device 100.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The hardware layer may include various sensors, such as the various sensors described in fig. 1, acceleration sensors, gyroscopic sensors, touch sensors, etc. involved in embodiments of the present application.
In connection with the electronic device described in fig. 1 and fig. 2, in the embodiment of the present application, the physical devices involved in the electronic device 100 mainly include hardware components such as a sensor, a decision support system (decision support systems, DSS) display chip, a touch display screen, and a fingerprint recognition module; the screen management module, the display driver, the fingerprint driver, the false touch prevention and other kernel software layers; anti-false touch input, screen control, off-screen display (always on display, AOD) service, power management, etc. application framework layer functions; application layer services such as special adaptation application (camera), three-party application, system dormancy, AOD and the like. The electronic devices shown in fig. 1 and 2 may also be understood as terminal devices in the embodiments of the present application.
With the development of internet technology, users are in a huge information age. In order to provide efficient information content to users, recommendation systems have been developed. The recommendation system can screen massive information contents and provide information contents which are interested by the user.
Current recommendations are typically deployed on the server side. When the terminal device sends the recommendation request, the server will issue a corresponding recommendation response (e.g. a recommended material list) to the terminal device. However, the recommendation system deployed in the server is difficult to acquire the network state, the buffer queue state and the like of the terminal device, and the recommendation effect and the recommendation time delay of the recommendation response cannot be adjusted according to the actual requirements of the terminal device. Meanwhile, when the network of the terminal equipment is blocked, the terminal equipment is difficult to acquire recommended content in time.
Therefore, in order to solve the above-mentioned problems, the embodiments of the present application provide a method, a system and a system for recommending information. The method provides the multi-level selection of the recommendation effect and the recommendation time delay for the user (terminal equipment), so that the terminal equipment can adjust the recommendation content displayed on the user interface according to the actual requirement, and the use experience of the user is improved.
Fig. 3 shows a schematic view of a scenario of a method of recommending information. The scenario includes at least a terminal device 310 and a server 320. Illustratively, the scenario also includes a network device. Terminal device 310 may implement communication interactions with server 320 through network devices. The user initiates a recommendation request at the terminal device side, and the recommendation request is transmitted to a server (for example, a recommendation server) through a network. The server may screen content (e.g., a recommended item list) of interest to the user from the mass data information according to the recommendation request, feed back the recommended content to the terminal device, and the terminal device may present the recommended content on the user interface. The user can realize the task of initiating the recommendation request by the terminal equipment through clicking operation in a certain application program on the terminal equipment.
As shown in fig. 4, a system architecture diagram provided by an embodiment of the present application is shown. The system may include terminal devices, recommendation servers, and may also include network devices (not shown). The terminal equipment comprises a recommendation control interface, a cache queue and a recommendation display interface. The recommendation server includes a recommendation control interface, a recommendation server L1, a recommendation server L2, and a recommendation server L3. The recommendation agent module can be deployed on the terminal device, recommendation server or network device side. The recommendation control interface can be used for interaction between the recommendation agent module and the recommendation server, so that the recommendation agent module can meet the network address and the like of the recommendation control interface required by a recommendation scene. The buffer queue is used for buffering the recommended response (recommended content) issued by the recommended server, and the recommended display interface is used for displaying the recommended content on the user interface of the terminal equipment. The recommendation servers L1, L2, L3 are respectively used for processing recommendation requests of different levels. For example, the recommendation server L1 processes the recommendation request L1; the recommendation server L2 processes the recommendation request L2; the recommendation server L3 processes the recommendation request L3. For example, the recommendation request L1 corresponds to a low-delay recommendation service, and the recommendation content can be fed back faster, but the recommendation effect is general; the recommendation request L2 corresponds to medium-delay recommendation service, and the recommendation delay and recommendation effect are moderate; the recommendation request L3 corresponds to a high-delay recommendation service, and the recommendation delay is high, but the recommendation effect is good. The recommended effect can be measured by the scale of the personalized information, recall and sequencing model, and the larger the scale is, the better the recommended effect is. It may also be understood that the higher the click rate of a user on a certain recommended content, the better the recommendation effect of the recommended content is explained.
In general, the recommendation effect is proportional to the recommendation delay, that is, the better the recommendation effect, the higher the recommendation delay is required. While good recommendation results may improve the user experience on the one hand, an increase in latency may reduce the user experience on the other hand.
Referring to fig. 5, a schematic flow chart of a method 500 for recommending information according to an embodiment of the present application is shown. The method can be applied in a system architecture as shown in fig. 4. Illustratively, in the embodiment provided by the present application, the recommended service is classified into a recommended service L1, a recommended service L2, and a recommended service L3. The recommendation service L1 is a low-delay universal recommendation service, and uses less user personalized information and a smaller-scale recall and order model. The recommendation service L2 is a medium-delay common recommendation service, and uses medium user personalized information and a medium-scale recall and sort model. The recommendation service L3 is a high-delay fine recommendation service, and uses more user personalized information and a larger-scale recall and order model. The method 500 is described in more detail below.
S501, the terminal equipment sends an original recommendation request, and accordingly, the recommendation agent module receives the original recommendation request.
For example, when a user has a recommendation requirement, an original recommendation request is sent through a terminal device, and the original recommendation request is sent to a recommendation agent module.
The user can trigger the terminal device to send the original recommendation request by clicking a certain information on a certain application program display interface of the terminal device.
It should be understood that the recommendation agent module may be deployed on a terminal device, a recommendation server, or a network device, which is not limited in this regard.
S502, the recommendation agent module encapsulates the original recommendation request.
By way of example, the recommendation agent module packages the original recommendation request sent by the terminal device through a network, so that the original one original recommendation request can be converted into a plurality of recommendation requests. The recommendation request may be transmitted in the form of a message.
For example, when the recommendation agent module is deployed in the terminal device, the recommendation agent module may acquire information such as a network state of the terminal device, a cache state of the terminal device for the current recommendation content, a behavior state of the user, a recommendation level of the recommendation server, and a corresponding destination address. The recommendation agent module repackages the original recommendation request according to the information.
S503, the recommendation agent module sends a recommendation request L1, and accordingly, the recommendation server L1 receives the recommendation request L1.
S504, the recommendation server L1 determines a recommendation response L1.
S505, the recommendation agent module sends a recommendation request L2, and accordingly, the recommendation server L2 receives the recommendation request L2.
S506, the recommendation server L2 determines a recommendation response L2.
S507, the recommendation agent module sends a recommendation request L3, and accordingly, the recommendation server L3 receives the recommendation request L3.
S508, the recommendation server L3 determines a recommendation response L3.
It should be understood that the recommendation agent module sends the repackaged recommendation request to the recommendation server of the corresponding level. After receiving the recommendation requests, the recommendation servers with different levels process the recommendation requests to obtain corresponding recommendation responses. The recommended content is included in the recommendation response.
The embodiment of the application does not limit the execution steps of the steps S503, S505 and S507, and the recommendation agent module can send the repackaged recommendation requests to different levels of recommendation servers at the same time, or can send the repackaged recommendation requests to different levels of recommendation servers in sequence according to the sequence. The recommendation agent module may be transmitted to the recommendation servers of different levels in a broadcast or unicast format, which is not limited in the present application.
The execution sequence of the step S504 is not limited in the embodiment of the present application, and the step S504 is executed between the step S503 and the step S509. Similarly, the order of execution of the step S506 is not limited in the embodiment of the present application, and the step S506 is executed between the step S505 and the step S510; the execution sequence of the step S508 is not limited in the embodiment of the present application, and the step S508 is executed between the step S507 and the step S511.
S509, the recommendation server L1 sends a recommendation response L1, and accordingly, the terminal equipment receives the recommendation response L1.
S510, the recommendation server L2 sends a recommendation response L2, and accordingly, the terminal equipment receives the recommendation response L2.
S511, the recommendation server L1 sends a recommendation response L3, and accordingly, the terminal device receives the recommendation response L3.
Illustratively, the recommendation servers of different levels send the determined recommendation responses to the terminal device via the network.
It should be appreciated that the time delays for different levels of recommendation servers are different, and therefore, the terminal device may not receive multiple levels of recommendation responses at the same time, or the terminal device may receive multiple recommendation responses at the same level. For example, the time delay of the recommendation service L1 is 100ms, the time delay of the recommendation service L2 is 300ms, the terminal device receives the recommendation response L1 at the initial time (0 ms), and if the user triggers the original recommendation request of step S501 again, the recommendation response L1 may be received once before the user receives the recommendation response L2 without considering the processing duration of the user.
S512, the terminal equipment caches the recommended content.
And the terminal equipment stores the recommendation responses of different grades into the corresponding cache list. Illustratively, the recommendation response L1 is stored in a recommendation service L1 content cache queue; storing the recommendation response L2 into a recommendation service L2 content cache queue; the recommendation response L3 is stored in a recommendation service L3 content cache queue.
The terminal equipment can obtain the recommended content from the cache queue with good recommending effect preferentially and display the recommended content on the user interface. For example, the time delay of the recommendation service L1 is 100ms, the time delay of the recommendation service L2 is 300ms, the time delay of the recommendation service L3 is 500ms, the terminal device sends an original recommendation request at the initial time (0 ms), receives a recommendation response L1 at 100ms, and displays the recommendation content of the recommendation response L1 on the user interface of the terminal device; receiving a recommendation response L2 in 300ms, and replacing the recommendation content of the recommendation response L1 displayed on the user interface of the terminal equipment with the recommendation content of the recommendation response L2; and receiving the recommendation response L3 at 500ms, and replacing the recommendation content of the recommendation response L2 displayed by the user interface of the terminal equipment with the recommendation content of the recommendation response L3. That is, when the terminal device receives the recommended content with better recommended effect, the recommended content with better recommended effect is preferentially displayed on the user interface.
In order to facilitate understanding of the method of recommending information provided by the embodiment of the present application, the steps in the method are specifically described below.
First, step S502 in the method 500 is described in detail. The embodiment of the application designs a recommendation agent module, and the recommendation request is encapsulated according to the information such as the network state, the buffer queue state and the like of the terminal equipment to obtain a recommendation request with a certain format.
As can be seen from the above description, the recommendation agent module may be deployed on a terminal device, a recommendation server, or a network device. As shown in fig. 6, the system architecture of the terminal device is taken as an example, and a specific deployment situation of the recommendation module is introduced.
The terminal device illustratively includes an application layer, a transport layer, a network layer, a link layer, and a physical layer. The application layer may carry applications of the terminal device and the transport layer may transport based on a transmission control protocol (transmission control protocol, TCP) or a user datagram protocol (user datagram protocol, UDP). The network layer may manage data communications in the network based on the internet protocol (internet protocol, IP) or the internet group management protocol (internet group management protocol, IGMP) or the like. The adaptation layer may be added between the transmission layer and the application layer of the terminal device, and the recommendation agent module may be deployed in the adaptation layer, or the recommendation agent module may be directly deployed in the application layer or the transmission layer without adding the adaptation layer. When the recommended proxy module is deployed at the adaptation layer, a plurality of transmission protocols, such as UDP, IGMP, etc., which are favorable for reducing the transmission delay can be selected. When the recommendation agent module is deployed at the application layer, an interface may be integrated within the terminal device operating system to accommodate the application call. The recommendation agent module can sense the state of the application layer cache queue and the network state of the network layer, reasonably configure recommendation request parameters, facilitate the adaptive determination of the repackaged recommendation request, and realize the balance of recommendation time delay and recommendation effect as much as possible. It should be understood that the recommendation agent module may be integrated within the operating system of the terminal device or may be integrated within an application program of the terminal device, which is not limited in this aspect of the present application.
For example, when the recommendation agent module is deployed at the recommendation server, the recommendation agent module may also be similarly deployed at an application layer, a transport layer, or an adaptation layer of the server.
As shown in fig. 7, taking the example that the recommendation agent module is integrated inside the operating system of the terminal device, the main flow of repackaging the original recommendation request is shown.
And step 1, the user executes a triggering recommendation operation.
Illustratively, the user clicks a recommendation page or a recommendation link in an application program of the terminal device, and triggers the application program on the terminal device to call the recommendation control interface.
And 2, the application program generates an original recommendation request.
For example, the original recommendation request may be generated by an application. The original recommendation request may include information of a currently recommended scene, the number of recommended contents, and the like.
And step 3, the recommendation control interface issues an original recommendation request to the recommendation agent module.
And 4, the recommendation agent module packages the original recommendation request.
The recommendation agent module performs repackaging processing on the received original recommendation request, and encapsulates the original recommendation request into a plurality of recommendation request messages with a certain data format. For example, recommendation request L1, recommendation request L2, and recommendation request L3. The recommendation agent module repackages the original recommendation request according to the network state of the terminal equipment, the cache state of the current recommendation content, the behavior state of the user, the recommendation level of the recommendation server, the corresponding destination address and other information.
For example, when the recommendation server provides three levels of recommendation services, namely recommendation service L1, recommendation service L2 and recommendation service L3, the recommendation agent module repackages the original recommendation request into corresponding three recommendation requests. When the recommendation server provides the three levels of recommendation services, but the buffer queue of the recommendation service L1 in the terminal device is crowded, the recommendation agent module may repackage the original recommendation request into a recommendation request L2 and a recommendation request L3.
And step 5, the recommendation agent module sends the repackaged recommendation request to the data sending interface.
And step 6, the data transmission interface transmits the repackaged recommendation request to the network.
The repackaged recommendation request is sent to a recommendation service interface corresponding to the recommendation server through the internet.
In step 4, the recommendation agent module repackages the original recommendation request, and the format of the repackaged recommendation request is shown in fig. 8, taking the recommendation request L1 as an example. The recommendation request L1 includes a header and a payload. The message header comprises an IP header 1 and a TCP header 1, and the message load comprises an original recommendation request. Optionally, the message load may further include a recommendation parameter 1. The message header is used for indicating the address of the recommendation server. For example, the recommendation request L1 corresponds to the recommendation server L1, the IP header 1 and the TCP header 1 of the header of the recommendation request L1 indicate the address of the recommendation server L1, and the interface of the recommendation server L1 can receive the recommendation request L1.
It should be understood that the recommendation parameters include a level identifier of the recommended service, an identifier (or address) of a content cache queue of the recommended service in which the recommended content should be stored, a maximum recommendation tolerance time delay, and information such as the required number of recommended contents.
In an exemplary embodiment, in a three-level recommendation service scenario, the recommendation agent module copies the original recommendation request into three parts, encapsulates each original recommendation request according to a data format similar to fig. 8, and obtains a recommendation request L1 (including an IP header 1, a TCP header 1, a recommendation parameter 1, and an original recommendation request), a recommendation request L2 (including an IP header 2, a TCP header 2, a recommendation parameter 2, and an original recommendation request), and a recommendation request L3 (including an IP header 3, a TCP header 3, a recommendation parameter 3, and an original recommendation request).
In the method for recommending information provided by the embodiment of the application, the single recommendation request is repackaged through the recommendation agent module, so that the recommendation requests meeting various recommendation levels are obtained, the recommendation service under different scenes is adapted, and the experience of the user is improved.
Next, steps S503 and S504 (and steps S505 and S506, and steps S507 and S508) in the method 500 will be described in detail. After repackaging the original recommendation request, the recommendation agent module in the embodiment of the application sends the recommendation requests with different grades to the recommendation server with the corresponding grade. Each level of recommendation service in the recommendation server can independently operate and respectively provide recommendation responses.
As shown in fig. 9, a server system architecture diagram is shown. By way of example, the application layer may include a plurality of levels of recommendation servers (recommendation server L1, recommendation server L2, recommendation server L3). The system architecture may also include a transport layer, a network layer, a link layer, and a physical layer.
As shown in fig. 10, a main flow of providing a hierarchical recommendation service by a server is shown. The server is illustratively a recommendation server and includes a recommendation control interface module, a recommendation server L1 module, a recommendation server L2 module, and a recommendation server L3 module. The functions of the four modules are described in detail below.
The recommendation control interface module can be used for interacting with the recommendation agent module, so that the recommendation agent module can acquire information such as network addresses and the like of recommendation interfaces meeting recommendation scene requirements. For example, before the recommendation agent module repackages the original recommendation request, a recommendation service that can be provided by the recommendation server, and a recommendation effect and a recommendation delay corresponding to the recommendation service need to be obtained. For example, the recommendation agent module sends a recommendation agent parameter request to the recommendation control interface, and accordingly, the recommendation control interface feeds back a recommendation agent parameter response of the recommendation server. In the recommended service scenario provided by the embodiment of the present application, the recommended proxy parameter response may include parameters such as an identifier of an interface network address (identifier of a destination address of a recommended server) corresponding to each of the recommended service L1, the recommended service L2, and the recommended service L3, a class identifier of the recommended service, a recommendation delay of the recommended service, and a recommendation effect of the recommended service, where the identifier of the destination address of the recommended server is used to indicate the interface network addresses corresponding to each of the recommended service L1, the recommended service L2, and the recommended service L3, and the identifier of the destination address of the recommended server may be understood as a header as shown in fig. 8.
The recommendation server L1, the recommendation server L2 and the recommendation server L3 receive the recommendation request from the recommendation agent module after being encapsulated again. The processing flow of the recommendation requests by the recommendation servers of different levels is similar.
Illustratively, the server decapsulates recommendation request 1 (including IP header 1, TCP header 1, recommendation parameter 1, and the original recommendation request). After the decapsulation process, the recommendation parameter 1 and the original recommendation request are sent to the recommendation server L1, and the recommendation server L1 executes the L1-level recommendation process according to the user information (e.g., user portraits and user history behaviors) in the recommendation request L1. The recommendation server L1 generates a recommendation response L1, wherein the recommendation response comprises an L1 grading parameter and an L1 response message. The L1 response message includes recommended content, such as a recommended content list, and may further include an identifier that indicates a recommended service level, where the identifier may be defined by the recommendation agent module. The L1 hierarchy parameter may be used to indicate a cache queue address in which the recommendation response L1 may be stored. The recommendation server L1 may encapsulate the standard IP message header before recommending the content, and send the encapsulated recommendation response to the internet.
In addition, the server may also support processing of recommendation requests that do not include recommendation parameters. For example, the network address of the recommendation server L2 in the server is set as a common interface of recommendation services that can be provided externally. The recommendation server L2 determines an L2 response message according to the original recommendation request, encapsulates the L2 response message and then sends the L2 response message to the Internet.
According to the method for recommending information, provided by the embodiment of the application, differentiated recommended services can be provided for users through the classification of the recommended service levels by the server. When a user triggers a recommendation request, the server provides recommendation contents with different grades for the user according to the current recommendation scene, so that the user can conveniently obtain the recommendation contents with low time delay and good effect, and user experience is improved.
Again, step S512 in the method 500 is described in detail. The terminal equipment in the embodiment of the application stores the received recommendation responses with different grades into the corresponding cache queues, and selects the recommendation content with the corresponding grade to be displayed on the user interface according to the current recommendation scene.
As shown in fig. 11, a main flow of the terminal device to cache recommended contents of different levels is shown. In an exemplary embodiment, a multi-level cache queue is set in the terminal device, and in the scenario of three recommended service levels provided in the embodiment of the present application, a recommended service L1 content cache queue, a recommended service L2 content cache queue, and a recommended service L3 content cache queue are set in the terminal device. The recommended response received by the terminal equipment can comprise an identifier of a recommended service level corresponding to the recommended response, the level of the recommended response is determined according to the identifier, and the recommended content in the recommended response is stored in a recommended service content cache queue of the corresponding level.
For example, when the terminal device receives the recommendation response L1 and analyzes the recommendation response L1 to obtain the L1 classification parameter, and when the recommendation service L1 content cache queue of the terminal device is not fully loaded, the recommendation content (including the content 1, the content 2 and the content 3) in the L1 response message may be stored in the recommendation service L1 content cache queue. Similarly, the terminal device receives the recommendation response L2, and analyzes the recommendation request L2 to obtain an L2 grading parameter. When the L2 content cache queue of the recommendation service of the terminal device is not fully loaded, the recommended content (including content 4 and content 5) in the L2 response message may be stored in the L2 content cache queue of the recommendation service. The terminal equipment receives the recommendation response L3, analyzes the recommendation request L3 to obtain an L3 grading parameter, and when the recommendation service L3 content cache queue of the terminal equipment is not fully loaded, the recommendation content (comprising the content 6) in the L3 response message can be stored in the recommendation service L3 content cache queue.
For example, after the content cache queues of the recommended services of different levels of the terminal device store the corresponding recommended content, the recommended content corresponding to the recommended services of different levels may be displayed on the user interface according to the actual scene.
According to the method for recommending information, provided by the embodiment of the application, the multi-level recommended service content cache queue is arranged at the terminal equipment side, and the plurality of levels of recommended contents are stored in the terminal equipment in advance, so that when the terminal equipment needs to present and render the recommended contents, the multi-level recommended contents can be presented to a user through a user interface, the requirements of the user on the recommending time delay and the recommending effect can be met at the same time, and the user experience is improved.
Referring to fig. 12, a schematic flowchart of a method 1200 for recommending information according to an embodiment of the present application is shown. The method may be applied to a system architecture as shown in fig. 4. The method 1200 specifically includes the following.
S1210, the terminal equipment receives the at least two levels of recommended response information, and accordingly, the server sends the at least two levels of recommended response information.
In the embodiment of the application, the time for receiving the at least two levels of recommended response information by the terminal equipment is not limited, and the terminal equipment can receive the at least two levels of recommended response information at different times.
It should be understood that at least two levels of recommendation response information are used to provide at least two levels of recommendation services, wherein the recommendation response information includes recommendation content. Recommended content may be understood as content that the terminal device presents to the user through a user interface.
In one implementation, the server obtains at least two levels of second recommendation request information, where the at least two levels of second recommendation request information are used to request at least two levels of recommendation services; the server determines recommendation response information of at least two grades according to the second recommendation request information of at least two grades; the server transmits at least two levels of recommended response information.
It should be understood that the server may determine response information of the request information according to the recommendation request information transmitted from the terminal device, and transmit the response information to the terminal device.
The method for obtaining the second recommendation request information of at least two levels by the server comprises the following steps: in a first mode, a server receives first recommendation request information from terminal equipment; determining second recommendation request information of at least two grades according to the first recommendation request information; in the second mode, the server receives second recommendation request information of at least two levels from the terminal device. The first recommendation request information may be understood as original recommendation request information, and may be triggered by a recommendation request operation of the user.
In one implementation, the at least two levels of recommended response information include at least two of: the first level of recommended response information, the second level of recommended response information, and the third level of recommended response information.
It should be understood that the first level of recommended response information corresponds to the first level of recommended services, the second level of recommended response information corresponds to the second level of recommended services, and the third level of recommended response information corresponds to the third level of recommended services. Illustratively, the first level of recommended services is recommended services L1 above, the second level of recommended services is recommended services L2 above, and the third level of recommended services is recommended services L3 above. The recommendation time delay and the recommendation effect of the different levels of recommendation services are different. The above-described ranking of recommended services is merely an exemplary illustration, and embodiments of the present application are not limited thereto.
S1220, the terminal equipment stores the recommended content of the recommended response information of at least two grades into a recommended service content cache queue of at least two grades.
It should be understood that at least two levels of recommended service content cache queues are in one-to-one correspondence with at least two levels of recommended response information. It may also be understood that the terminal device stores the recommended content in the recommended response information into the recommended service cache queue of the corresponding level.
By way of example, the recommended service content cache queues may include a first level recommended service content cache queue, a second level recommended service content cache queue, and a third level recommended service content cache queue.
In one implementation, the terminal device stores the recommended content of the recommended response information of the first level into a recommended service content cache queue of the first level; storing the recommended content of the recommended response information of the second level into a recommended service content cache queue of the second level; and storing the recommended content of the recommended response information of the third level into a recommended service content cache queue of the third level.
Illustratively, before the terminal device stores the recommended content in the recommended service content cache queue of the corresponding level, it needs to determine whether the recommended service cache queue of the level is full. When the recommended service queue of the level is not fully loaded, recommended content of the corresponding level can be stored.
In one implementation, the terminal device determines target recommendation response information according to a recommendation rule, wherein the target recommendation response information is one of at least two levels of recommendation response information; and the terminal equipment displays the recommended content of the target recommended response information on the user interface. The recommendation rule may be predefined by the system or may be preconfigured, which is not limited in the present application.
Illustratively, the recommendation rule is to determine recommendation response information in which the recommendation effect is the best when the terminal device receives recommendation response information of a plurality of levels. The terminal device can preferentially display the recommended content of the recommended response information with good recommended effect on the user interface. For example, in the embodiment of the present application, the recommendation delay of the first level of recommended service (recommended service L1) is 100ms, and the terminal device receives the first level of recommended response information when the terminal device is 100ms, at this time, the recommended content of the first level of recommended response information is displayed by the terminal device because the other levels of recommended service have not yet reached the terminal device due to the longer recommendation delay. The recommendation delay of the second-level recommendation service (recommendation service L2) is 300ms, and the terminal equipment receives the second-level recommendation response information when the terminal equipment is 300ms, and the recommendation effect of the second-level recommendation service is better than that of the first-level recommendation service, so that the terminal equipment displays the recommendation content of the second-level recommendation information on the user interface.
In the embodiment of the application, the recommendation service with various recommendation effects and recommendation time delay is provided, so that the terminal equipment can preferentially provide the recommendation service with better recommendation effects for the user according to the current recommendation scene.
In one implementation, a terminal device responds to a recommendation request operation of a user to determine first recommendation request information; determining second recommendation request information of at least two grades according to the first recommendation request information, wherein the second recommendation request information of the at least two grades corresponds to recommendation response information of the at least two grades one by one; the terminal device transmits second recommendation request information of at least two levels. Wherein the at least two levels of second recommendation request information include at least two of: the first level of second recommendation request information, the second level of second recommendation request information, and the third level of second recommendation request information.
Illustratively, the first recommendation request information is the original recommendation request, and the second recommendation request information is the repackaged recommendation request. The first-level second recommendation request information is a recommendation request L1, the second-level second recommendation request information is a recommendation request L2, and the third-level second recommendation request information is a recommendation request L3. The first-level second recommendation request information corresponds to the first-level recommendation service (recommendation service L1), the second-level second recommendation request information corresponds to the second-level recommendation service (recommendation service L2), and the third-level second recommendation request information corresponds to the third-level recommendation service (L3). The user's recommendation request operation may be the user clicking on a recommendation page or push link on the application.
It should be understood that the recommendation agent module above may be deployed within the terminal device, where the recommendation agent module is configured to repackage the original recommendation request into a recommendation request of a different level. Specifically, the recommendation agent module may be integrated within the terminal device system or within the application program.
In one implementation, a terminal device receives recommended parameter response information, the recommended parameter response information including at least one of: identification of a destination address of a recommendation server, grade identification of recommendation service, recommendation time delay of the recommendation service and recommendation effect of the recommendation service; the identification of the destination address of the recommendation server is used for indicating the addresses of the recommendation servers corresponding to the recommendation services of at least two levels. It is understood that this implementation corresponds to the manner in which the second server acquires at least two pieces of second recommendation request information (the second manner in step S1210). The server may previously transmit the recommended parameter response information to the terminal device.
For example, when the recommendation agent module is deployed inside the terminal device, the terminal device may previously send a recommendation agent parameter request to the server, and the server feeds back a recommendation agent parameter response (recommendation parameter response information) to the terminal device. The identification of the destination address of the recommendation server in the recommendation parameter response information can be understood as the identification of the interface network addresses corresponding to the recommendation service L1, the recommendation service L2 and the recommendation service L3 respectively.
In one implementation, the terminal device determines at least two levels of second recommendation request information according to the first recommendation request information and the recommendation parameter response information.
In one implementation, a terminal device responds to a recommendation request operation of a user to determine first recommendation request information; the terminal device sends first recommendation request information.
For example, the recommendation agent module may be deployed on the network device side or the server side. When the recommendation agent module is deployed on the network device side or the server side, the terminal device may send the original recommendation request to the network device or send the original recommendation request to the server through the network device, and the network device or the server repackages the original recommendation request.
In one implementation, the second recommendation request information includes the first recommendation request information, recommendation parameters, and an identification of a destination address of a recommendation server, where the recommendation parameters include a ranking identification of recommendation services.
For example, the original recommendation request is repackaged into recommendation request information with a certain format, and details of the description of fig. 8 are described above, which is not repeated here.
In one implementation, the recommended response information includes a rating parameter, and a response message, where the rating parameter is used to indicate an address of a recommended service content cache queue, and the response message includes recommended content.
The terminal device receives the recommendation response information, and determines a corresponding-level recommendation service content cache queue in which the recommendation content in the response message can be stored according to the grading parameter in the recommendation response information.
It should be appreciated that the above method 1200 also includes a network device. The network device may be used for communication interaction between the terminal device and the server, and of course, the network device may also deploy the recommendation agent module. When a recommendation agent module for repackaging the original recommendation request information is deployed on the network device, the network device receives the original recommendation request (first recommendation request information) from the terminal device, obtains at least two levels of second recommendation request information through repackaging processing, and sends the at least two levels of second recommendation request information to the server.
According to the recommendation information method provided by the embodiment of the application, various levels of recommendation services are designed according to the current network state, cache queue and other information of the user, so that the terminal equipment can adaptively adjust the recommendation content provided for the user according to the current recommendation scene, the user can acquire higher-quality recommendation services in time conveniently, and the use feeling of the user is improved.
An embodiment of the present application provides a computer program product, which when executed by a terminal device, causes the terminal device to execute the technical solution in the foregoing embodiment; the computer program product, when run on a server, causes the server to perform the technical solutions in the above embodiments. The implementation principle and technical effects are similar to those of the related embodiments of the method, and are not repeated here.
An embodiment of the present application provides a readable storage medium, where the readable storage medium includes instructions, when the instructions are executed by a terminal device, cause the terminal device to execute the technical solution of the foregoing embodiment; when the instruction runs on the server, the server is caused to execute the technical scheme of the embodiment. The implementation principle and technical effect are similar, and are not repeated here.
The embodiment of the application provides a chip for executing instructions, and when the chip runs, the technical scheme in the embodiment is executed. The implementation principle and technical effect are similar, and are not repeated here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the embodiment of the present application, and the changes or substitutions are covered by the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (23)

1. A method of recommending information, comprising:
receiving at least two levels of recommendation response information, wherein the at least two levels of recommendation response information are used for providing at least two levels of recommendation services, and the recommendation response information comprises recommendation contents;
and storing the recommended contents of the recommended response information of at least two grades into at least two recommended service content cache queues of at least two grades, wherein the recommended service content cache queues of at least two grades are in one-to-one correspondence with the recommended response information of at least two grades.
2. The method according to claim 1, wherein the method further comprises:
determining first recommendation request information in response to a recommendation request operation of a user;
determining second recommendation request information of at least two grades according to the first recommendation request information, wherein the second recommendation request information of the at least two grades corresponds to recommendation response information of the at least two grades one by one;
and sending the second recommendation request information of the at least two grades.
3. The method according to claim 2, wherein the method further comprises:
receiving recommended parameter response information, wherein the recommended parameter response information comprises at least one of the following:
identification of destination address of recommendation server, grade identification of recommendation service, recommendation delay of recommendation service, recommendation effect of recommendation service,
The identification of the destination address of the recommendation server is used for indicating the address of the recommendation server corresponding to the recommendation service of the at least two grades.
4. The method of claim 3, wherein the determining at least two levels of second recommendation request information based on the first recommendation request information comprises:
And determining second recommendation request information of the at least two grades according to the first recommendation request information and the recommendation parameter response information.
5. The method according to any one of claims 2 to 4, wherein the second recommendation request information includes: the first recommendation request information, recommendation parameters, identification of the recommendation server destination address,
Wherein the recommendation parameters include a rating identification of the recommended service.
6. The method of any one of claims 1 to 5, wherein the at least two levels of recommended response information include at least two of:
the first level of recommended response information, the second level of recommended response information, and the third level of recommended response information;
The storing the recommended content of the recommended response information of at least two grades into a recommended service content cache queue of at least two grades comprises at least two of the following steps:
Storing the recommended content of the recommended response information of the first level into a recommended service content cache queue of the first level;
Storing the recommended content of the recommended response information of the second level into a recommended service content cache queue of the second level;
And storing the recommended content of the recommended response information of the third level into a recommended service content cache queue of the third level.
7. The method according to any one of claims 1 to 6, further comprising:
Determining target recommendation response information according to recommendation rules, wherein the target recommendation response information is one of the recommendation response information of the at least two grades;
And displaying the recommended content of the target response recommended information.
8. The method according to claim 1, wherein the method further comprises:
determining first recommendation request information in response to a recommendation request operation of a user;
And sending the first recommendation request information.
9. The method according to any one of claims 1 to 8, wherein the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of the recommended service content cache queue, and the response message comprises the recommended content.
10. The method of claim, wherein the at least two levels of second recommendation request information comprise at least two of:
The first level of second recommendation request information, the second level of second recommendation request information, and the third level of second recommendation request information.
11. A method of recommending information, comprising:
Acquiring second recommendation request information of at least two grades, wherein the second recommendation request information of the at least two grades is used for requesting recommendation services of the at least two grades;
Determining at least two levels of recommendation response information according to the at least two levels of second recommendation request information, wherein the at least two levels of recommendation response information are in one-to-one correspondence with the at least two levels of second recommendation request information, and the recommendation response information comprises recommendation content;
And sending the recommended response information of the at least two levels.
12. The method of claim 11, wherein the obtaining the second recommendation request information for at least two levels comprises:
Receiving first recommendation request information;
and determining second recommendation request information of the at least two grades according to the first recommendation request information.
13. The method of claim 11, wherein the method further comprises:
Transmitting recommended parameter response information, wherein the recommended parameter response information comprises at least one of the following:
identification of a destination address of a recommendation server, grade identification of the recommendation service, recommendation time delay of the recommendation service and recommendation effect of the recommendation service, wherein the identification of the destination address of the recommendation server is used for indicating addresses of recommendation servers corresponding to the recommendation service of at least two grades;
and receiving the second recommendation request information of the at least two grades.
14. The method of claim 13, wherein the second recommendation request information comprises: the first recommendation request information, recommendation parameters, identification of the recommendation server destination address,
Wherein the recommendation parameters include a rating identification of the recommended service.
15. The method of any one of claims 10 to 14, wherein the recommendation response information includes: the system comprises a grading parameter and a response message, wherein the grading parameter is used for indicating the address of a recommended service content cache queue, and the response message comprises the recommended content.
16. Apparatus for recommending information, characterized by comprising means for performing the method according to any of claims 1 to 10 or means for performing the method according to any of claims 11 to 15.
17. An apparatus for recommending information, comprising: a processor coupled with a memory for storing a computer program for running the computer program to cause the recommendation device to perform the method of any one of claims 1 to 10 or to cause the recommendation device to perform the method of any one of claims 11 to 15.
18. The apparatus of claim 17, further comprising one or more of the memory and a transceiver for receiving signals and/or transmitting signals.
19. An electronic device, comprising:
one or more processors;
one or more memories;
The one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the execution of the method of any of claims 1-10.
20. An electronic device, comprising:
one or more processors;
one or more memories;
The one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 11-15.
21. A system for recommending information, the system comprising:
Terminal device for performing the method of any of claims 1 to 10;
a server for performing the method of any of claims 11 to 15.
22. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program or instructions which, when run on a computer, cause the method of any one of claims 1 to 10 to be performed or cause the method of any one of claims 11 to 15 to be performed.
23. A computer program product, characterized in that the computer program product comprises a computer program or instructions which, when run on a computer, cause the method of any one of claims 1 to 10 to be performed or cause the method of any one of claims 11 to 15 to be performed.
CN202211324217.9A 2022-10-27 2022-10-27 Method, device and system for recommending information Pending CN117951363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211324217.9A CN117951363A (en) 2022-10-27 2022-10-27 Method, device and system for recommending information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211324217.9A CN117951363A (en) 2022-10-27 2022-10-27 Method, device and system for recommending information

Publications (1)

Publication Number Publication Date
CN117951363A true CN117951363A (en) 2024-04-30

Family

ID=90798507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211324217.9A Pending CN117951363A (en) 2022-10-27 2022-10-27 Method, device and system for recommending information

Country Status (1)

Country Link
CN (1) CN117951363A (en)

Similar Documents

Publication Publication Date Title
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN109981885B (en) Method for presenting video by electronic equipment in incoming call and electronic equipment
CN114173000B (en) Method, electronic equipment and system for replying message and storage medium
CN116360725B (en) Display interaction system, display method and device
WO2020024108A1 (en) Application icon display method and terminal
CN111371849A (en) Data processing method and electronic equipment
WO2022078295A1 (en) Device recommendation method and electronic device
CN111556479B (en) Information sharing method and related device
WO2023273543A1 (en) Folder management method and apparatus
EP4250141A1 (en) Page display method and apparatus, and electronic device and readable storage medium
CN113170279B (en) Communication method based on low-power Bluetooth and related device
WO2023005711A1 (en) Service recommendation method and electronic device
WO2022052706A1 (en) Service sharing method, system and electronic device
CN113676902B (en) System, method and electronic equipment for providing wireless internet surfing
CN117951363A (en) Method, device and system for recommending information
CN114489876A (en) Text input method, electronic equipment and system
WO2022222733A1 (en) Data transmission method and related device
CN116095219B (en) Notification display method and terminal device
CN114666441B (en) Method for calling capabilities of other devices, electronic device, system and storage medium
CN114697960B (en) Method and system for connecting external camera
CN118158313A (en) Method, electronic device and system for displaying electric quantity
CN116527266A (en) Data aggregation method and related equipment
CN117850989A (en) Service calling method, system and electronic equipment
CN118113952A (en) Data processing method, device and system
CN115145665A (en) Display method, electronic equipment and system

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