CN114861051A - Information flow recommendation method and device - Google Patents

Information flow recommendation method and device Download PDF

Info

Publication number
CN114861051A
CN114861051A CN202210466799.8A CN202210466799A CN114861051A CN 114861051 A CN114861051 A CN 114861051A CN 202210466799 A CN202210466799 A CN 202210466799A CN 114861051 A CN114861051 A CN 114861051A
Authority
CN
China
Prior art keywords
information
target
target object
work
user
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
CN202210466799.8A
Other languages
Chinese (zh)
Inventor
韩楷明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202210466799.8A priority Critical patent/CN114861051A/en
Publication of CN114861051A publication Critical patent/CN114861051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides an information flow recommendation method and device, wherein the method comprises the following steps: acquiring attribute data related to the information flow concerned by the target user; determining an information flow acquisition mode adapted by the target user according to the attribute data, wherein the information flow acquisition mode comprises a pull mode or a push mode, the pull mode is used for providing information flow for the target user when responding to an access request of the target user, and the push mode is used for actively providing the information flow for the target user when generating the information flow; and providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user. According to the embodiment of the disclosure, the user pays attention to the attribute data related to the information flow, and the adaptive information flow acquisition mode is dynamically adjusted, so that the stable operation of the system can be effectively ensured, and the access performance of the system is improved.

Description

Information flow recommendation method and device
Technical Field
The disclosure relates to the technical field of electronics, in particular to a recommendation method and device for obtaining information streams.
Background
The social life is full of a great deal of internet information, and the push information flow by the application becomes the main form for users to acquire the internet information.
Generally, a fixed acquisition mode is adopted by a platform for providing information streams for each user, in this way, when there are more target objects concerned by a user or some target objects are updated dynamically and frequently, a very large data volume is generated, and for a scheme adopting the fixed acquisition mode, a huge test is brought to the stability and the access performance of an application. In severe cases, a large access delay may be brought to the user, and even an error in acquiring the information stream may occur.
Disclosure of Invention
The embodiment of the disclosure at least provides an information flow recommendation method and device, which are used for ensuring stable operation of a system and reducing time-consuming delay of a communication link.
In a first aspect, an embodiment of the present disclosure provides an information flow recommendation method, where the method is applied to a server, and the method may include: acquiring attribute data related to the information flow concerned by the target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing the number of target objects of interest to the target user; for characterizing the degree of interaction of the target user with a target object of interest; determining an information flow acquisition mode adapted by the target user according to the attribute data, wherein the information flow acquisition mode comprises a pull mode or a push mode, the pull mode is used for providing information flow for the target user when responding to an access request of the target user, and the push mode is used for actively providing the information flow for the target user when generating the information flow; and providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user.
According to the embodiment of the invention, the user pays attention to the attribute data related to the information flow, and the adaptive information flow acquisition mode is dynamically adjusted, so that the stable operation of the system can be effectively ensured, and the time-consuming delay of a communication link is reduced.
In an optional implementation manner, in a case that the attribute data includes the number of target objects of interest to the target user, determining, according to the attribute data, an information flow acquisition mode adapted by the target user includes: if the number of the target objects is smaller than a target number threshold, determining that the information flow acquisition mode adapted to the target user is the pull mode; and if the number of the target objects is larger than or equal to the target number threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
According to the embodiment, a more appropriate information flow acquisition mode can be determined based on the number of the target objects concerned by the target user and the preset target number threshold, so that the stable operation of the system is effectively ensured, and the access performance of the system is improved.
In another optional implementation manner, in a case that the attribute data includes the activity degree and/or the interaction degree, determining, according to the attribute data, an information flow obtaining mode adapted by the target user includes:
if the activity degree and/or the interaction degree within the latest preset time duration is smaller than a target threshold, determining that the information flow acquisition mode adapted to the target user is the pull mode;
and if the activity degree and/or the interaction degree within the latest preset time duration is greater than or equal to a target threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
According to the embodiment, a more appropriate information flow acquisition mode can be determined based on the activity degree and/or the interaction degree of the target user within the latest preset time duration, so that the stable operation of the system is effectively ensured, and the access performance of the system is improved.
In an optional implementation manner, providing a corresponding information flow to a target user according to an information flow obtaining mode adapted by the target user may include: if the information flow acquisition mode adapted by the target user is the pull mode, when an access request sent by the user side is received, corresponding work change information can be determined from at least one target object creative work information set. The target object creative work information set is configured in advance for the server side, and each target object concerned by the target user corresponds to one target object creative work information set. Then, the information set of the attention target object works can be updated according to the at least one piece of work change information. The information set of the attention target object works is configured in advance by the server, and the information set of the attention target object works corresponds to the target user. And then, sending the work information in the updated attention target object work information set to the user side.
In the embodiment, in a pull mode, according to an access request of a user terminal, concurrent access is performed on a target object creative work information set of each target object concerned by a target user, the work change information of each target object is obtained, and then the concerned target object work information set of the target user is updated based on the work change information, which is equivalent to pulling the work information of each target object maintained by the server terminal into a work information set maintained for the target user, and then sending the work information in the work information set maintained for the target user to a corresponding user terminal through a communication link.
In an optional embodiment, before determining corresponding work alteration information from at least one target object creative work information set, the method may further comprise: a first timestamp is obtained. The first timestamp is the time when the user terminal initiates the access request last time. Then, a first time interval of the first timestamp from the current time is determined. Determining corresponding work alteration information from at least one target object creative work information set may include: and if the first time interval is greater than or equal to the first time length threshold value, determining corresponding work change information from at least one target object creative work information set.
In this embodiment, when the time interval at which the target user initiates the access request (e.g., performs information flow refresh) is relatively small, for example, when the time interval is only several minutes apart, the possibility of the target object performing the work information update is relatively low, and in order to avoid the situation that the number of concurrent accesses to each target object created work information set is large due to frequent accesses, and thus unnecessary access pressure is caused to the system, the target object created work information set may be accessed again when the access time interval is greater than a certain threshold, so as to reduce the system access pressure.
In an optional embodiment, the method may further include: and if the first time interval is smaller than the first time threshold, sending the work information in the current attention target object work information set to the user side. That is, when the access time interval is short, the corresponding work information can be directly obtained from the target object concerned work information set of the target user and sent to the target user.
In an alternative embodiment, the work alteration information includes: the first work information with the deletion identification and/or the second work information with the addition identification. Updating the information set of the attention target object works may include: deleting first work information in the attention target work information set; and/or adding the second work information to the set of focus target work information. Therefore, different identifications can be adopted to mark the state of the work information in the attention target object work information set so as to ensure the timely update of the target object information in the attention target object work information set and the accuracy of the information.
In an optional implementation manner, providing a corresponding information flow to a target user according to an information flow obtaining mode adapted by the target user may include: and if the information flow acquisition mode adapted by the target user is a push mode, updating the information set of the target object works concerned according to the work change information when the work change information exists in at least one information set of the target object creative works. When the user terminal initiates an access request, the updated work information in the attention target object work information set is sent to the user terminal. The system comprises a server, a target user, a target object creative work information set and an attention target object information set, wherein the target object creative work information set and the attention target object creative work information set are preconfigured by the server, each target object which is concerned by the target user corresponds to one target object creative work information set, and the attention target object creative work information set corresponds to the target user.
The method and the device can actively update the focused target object work information set of the target user according to the work change information when the target object has the work change information in the push mode, namely, the work change information of the target object maintained by the server is pushed to the work information set maintained for the target user, and then the latest updated work information in the work information set of the target user can be directly sent to the corresponding user side when the target user initiates access.
In an optional implementation manner, after determining that the information flow obtaining mode adapted by the target user is the push mode, the method may further include: and when the user terminal initiates an access request, determining a second timestamp. And the second timestamp is the release time of the latest work information in the attention target work information set. Thereafter, a second time interval of a second timestamp and a current time may be determined. And if the second time interval is greater than the second duration threshold, providing the work information corresponding to the concerned target object to the target user by adopting a pull mode.
In the push mode, when the work information in the attention target work information set is not updated for a long time, the pull mode can be adopted to provide the work information for the target user, so that the target user can still obtain the latest work information through the pull mode under the condition that the push mode is invalid due to uncontrollable factors and the attention target work information set of the user is not updated in time.
In an optional implementation manner, sending the work information in the updated information set of the target object of interest work to the user side includes: and sequencing each piece of work information in the attention target object work information set according to the target object attribute characteristics and/or the work attribute characteristics corresponding to each piece of work information in the attention target object work information set. And then, sending the work information in the attention target object work information set and the corresponding sequencing result to the user side.
In an alternative embodiment, the target object attribute feature may include: the target user aims at least one of the behavior data of other works of the target object, the platform rating of the target object, the number of fans of the target object and the number of times of reading the works of the target object.
In an alternative embodiment, the composition attribute feature may include: at least one of a release time of the work, historical behavior data of the work information, and whether the work information is consumed by the target user. The embodiment of the disclosure can accurately reflect the situation of the corresponding works through the characteristics, thereby ensuring that the sequencing result of the work information is more in line with the watching habits of users.
Based on the embodiment, the information of each work in the information set of the attention target work can be displayed in a sequencing mode at the user terminal according to the value of the work, so that the high-value work can be preferentially browsed by the user; in addition, whether the works are consumed by the user or not is considered, so that the target user can preferentially browse the information of the works different from the works browsed last time when browsing next time, and the browsing efficiency of the user is improved.
In an optional embodiment, the method may further include: and receiving a change request of the attention target object sent by the user side. Then, the attention target object work information set is updated according to the attention target object change request. In an optional implementation manner, updating the information set of the target object work of interest according to the target object change request may include: and if the attention target object change request is a new attention target object request, acquiring the work information of the target object corresponding to the new attention target object request. Then, the work information of the target object corresponding to the newly added attention target object request is added to the attention target object work information set.
In an optional implementation manner, updating the information set of the target object work of interest according to the target object change request may include: and if the attention target object change request is a request for canceling the attention target object, deleting the work information of the target object corresponding to the request for canceling the attention target object in the attention target object work information set.
The embodiment can allow the user to dynamically update the condition of the attention target object, thereby better adapting to the user requirement.
In a second aspect, an embodiment of the present disclosure further provides an information flow recommendation apparatus, where the apparatus is applied to a server, and the apparatus may include: the acquisition module is used for acquiring attribute data related to the information flow concerned by the target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing a number of target objects of interest to the target user; for characterizing the degree of interaction of the target user with a target object of interest; a determining module, configured to determine, according to the attribute data, an information flow obtaining mode adapted to the target user, where the information flow obtaining mode includes a pull mode or a push mode, the pull mode is used to provide an information flow for the target user when responding to an access request of the target user, and the push mode is used to actively provide the information flow for the target user when generating the information flow; and the providing module is used for providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing processor-executable machine-readable instructions, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
According to the information flow recommendation method and device provided by the embodiment of the disclosure, for each user, the adaptive information flow acquisition mode can be dynamically selected according to the attribute data related to the information flow concerned by the user, so that the access requirement of the user can be met, and the stability and the access performance of the system can be better improved. For example, if the number of target objects that the current user pays attention to is small, and the concurrent access amount of the user to the work list of each target object is not so large when the user acquires the information stream, a pull mode for pulling the information stream can be selected, and the concurrent access to the database is in an acceptable range under the condition, in addition, the manner of immediate access is needed, so that the system resource waste caused by information stream pushing without access requirements is saved to a certain extent; for another example, if the number of target objects that the current user pays attention to is large, the concurrent access amount to the work list of each target object is large when the user acquires the information stream, and in this case, the pull mode is no longer suitable for being adopted, and the push mode can be matched for the work list. Therefore, the stable operation of the system can be effectively ensured and the access performance of the system can be improved by the way of individually adapting the information flow acquisition mode for each user.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 is a schematic view illustrating a scene for acquiring an information stream according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method for information flow recommendation provided by an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a specific method of S202 in an information flow recommendation method provided by an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a specific method of S203 in an information flow recommendation method provided by an embodiment of the present disclosure;
fig. 5 shows a flowchart of a specific method of S401 in an information flow recommendation method provided by an embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating another information flow recommendation method provided by an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating a method for updating an information set of a target object of interest work in a push mode according to an embodiment of the present disclosure;
FIG. 8 is a flowchart illustrating a method for providing work information corresponding to a target object of interest to a target user according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating an architecture of an information flow recommendation apparatus provided in an embodiment of the present disclosure;
fig. 10 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Research shows that, today, some methods for realizing information stream pulling exist in the industry, and one way is to actively push the target object works to the user when the target object works are updated. For example, when a target object a generates new dynamic information, the dynamic information may be stored in a target object creative information set in the database under the name of the target object. Thereafter, all fans of the target object a (i.e., users or accounts paying attention to the target object a) may be traversed, and the dynamic information may be pushed to the attention target object work information sets of the respective fans of the target object a. Such an approach may be referred to as a push mode.
Another mode exists where the information stream is pulled based on a user request. For example, each time the user B performs a refresh operation, the user B may traverse the target object creative work information sets corresponding to all the concerned target objects of the user B, determine that there is work update information, and pull the work update information to the concerned target object work information set of the user. Such an approach may be referred to as a pull mode.
A general method for providing information streams to target users, which is set by a platform, may fixedly adopt a pull mode or a push mode, which mode is generally satisfactory when the amount of data is relatively small, but when the number of target objects concerned by a target user is relatively large, concurrent access amount adopting the pull mode may bring a huge test on the stability of the system and the storage design of data, and when the number of target objects concerned by a target user is relatively small and the works of the target objects are dynamically updated relatively frequently, system performance consumption brought by adopting the push mode may be very large.
Based on this, the embodiments of the present disclosure provide an information flow recommendation method and apparatus, which may dynamically select, for a specific user, an adaptive information flow acquisition mode according to attribute data related to an information flow currently focused by the user, for example, when the number of target objects focused by the current user is small, the concurrent access amount of the work list of each target object by using a pull mode is not large, and the use of a push mode may cause system resource waste due to information flow push when the user does not have an access demand, so the pull mode may be used in this case; accordingly, when the number of target objects that the current user pays attention to is large, the amount of concurrent access to the work list of each target object by using the pull mode is large, which causes a great stress on the system performance, and in this case, the push mode may be adopted.
The defects existing in the above solutions and the proposed solutions are the results obtained after the inventor has made practice and careful study, therefore, the discovery process of the above problems and the solutions proposed by the present disclosure in the following problems should be the contribution of the inventor to the present disclosure in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a detailed description is given to an information flow recommendation method disclosed in the embodiments of the present disclosure, where an execution subject of the information flow recommendation method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device may be, for example, a service device that provides information flow pushing and pulling services for a user in response to a user request. The information stream pushing and pulling here may refer to determining the work update information from each target object work information set stored by the service device (specifically, may be stored in a database controlled by the service device), actively pushing the work update information to the stored target object work information set concerned by the user, or immediately pulling the work update information to the target object work information set concerned by the user based on the user access request.
An information flow recommendation method provided by the embodiments of the present disclosure is described below.
Referring to fig. 1, a scene diagram for acquiring an information stream according to an embodiment of the present disclosure is shown. The scene is mainly that a user uses an application with an information flow display function installed on a terminal device. As can be seen, the user may perform data communication with the service device 110 through the terminal device 120, thereby acquiring the information stream provided by the service device 110, and displaying the information stream through the terminal device 120. So that the user can acquire the information desired to be seen.
It is to be appreciated that in some examples, the service device 110 may be a server or a server cluster having a plurality of servers. Of course, in other examples, a virtual machine providing a server function may also be used, and the embodiment of the present disclosure is not limited.
In some examples, the terminal device 120 may include, but is not limited to, any terminal device and/or portable terminal device such as a mobile phone, a smart television, a wearable device, a tablet computer, a desktop computer, a personal computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a laptop computer (laptop), a mobile computer, an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a vehicle mounted device, and/or the like.
The service device 110 and the terminal device 120 may be connected in a wired or wireless manner for data transmission. The wireless mode may include solutions of wireless communication such as 2G/3G/4G/5G/6G. Or wireless communication solutions including Wireless Local Area Networks (WLAN), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), zigbee, and Infrared (IR) technologies. The WLAN may be, for example, a wireless fidelity (Wi-Fi) network.
In some examples, when a user opens an information flow Application (APP) in the terminal device 120 or refreshes in the information flow APP, the work information in the service device 110 may be obtained in a wired or wireless manner. Of course, it can be understood that the corresponding information flow APP in the user's terminal device 120 logs in the user's account, and the account is concerned with at least one target object. Thus, the user may also be referred to as a target user. The service device 110 may obtain the work information corresponding to the target object that the target user pays attention to according to a request, such as an access request, sent by the target user.
More specifically, it can be further explained by referring to fig. 2.
Referring to fig. 2, a flowchart of an information flow recommendation method provided in an embodiment of the present disclosure is shown, it can be understood that the method shown in fig. 2 may be applied to the service device in fig. 1. The method may include S201 to S203, wherein:
s201: and acquiring attribute data related to the information flow concerned by the target user.
Here, the attribute data includes at least one of:
1) the method is used for representing the activity degree of browsing historical information flow by a target user; for example, the number of times of logging in the information flow platform by the target user, the time length for browsing information during each login, and the like.
2) For characterizing the number of target objects of interest to a target user; for example, the target object may be an author that produces a stream of information, which may also be referred to as a work.
3) For characterizing the degree of interaction of the target user with a target object of interest; for example, the number of times of review, number of times of approval, number of times of publishing the works by the target user for the target object, and the like.
S202: and determining an information flow acquisition mode adapted to the target user according to the attribute data. The information flow acquisition mode comprises a pull mode or a push mode.
In the case that the attribute data includes the activity degree and/or the interaction degree, if the activity degree and/or the interaction degree is high, the concurrent access amount of the pull mode to the work list of each target object is large, so that the pull mode is no longer suitable to be adopted in this case, and the pull mode can be matched with the pull mode. That is, determining that the information flow acquisition mode adapted to the target user is the pull mode; and if the activity degree and/or the interaction degree within the latest preset time duration is greater than or equal to a target threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
In addition, under the condition that the attribute data comprises the number of the target objects concerned by the target user, if the number of the target objects concerned by the current user is large, the concurrent access amount of the user to the work list of each target object is large when the user acquires the information stream, and in this condition, the pull mode is not suitable any more, and the push mode can be matched for the work list.
The following further introduces the idea of the embodiment of the present disclosure by taking the number of the target objects focused by the target users as the attribute data as an example.
In one example, the service device 110 may determine the information flow obtaining mode adapted to the target user according to the number of the target objects obtained in S201. Such as a pull mode or a push mode. The pull mode provides the work information for the target user by the server side responding to the access request of the user side. The push mode actively provides the work information for the server to the target user. It is understood that the terminal device 120 may also be referred to as a user side, and the service device 110 may also be referred to as a service side.
In some examples, a specific implementation of S202 may refer to fig. 3. Referring to fig. 3, a flowchart of a specific method in S202 in an information flow recommendation method provided in the embodiment of the present disclosure is shown. Therefore, S202 may specifically include:
s301: it is determined whether the number of target objects is greater than a target number threshold.
It is understood that the target number threshold may be pre-configured and stored in the service device 110.
In some examples, if it is determined that the number of target objects is less than the target number threshold, S302 is performed. If it is determined that the number of target objects is greater than or equal to the target number threshold, S303 is performed.
S302: and determining that the information flow acquisition mode adapted to the target user is a pull mode.
S303: and determining the information flow acquisition mode adapted by the target user as a push mode.
Continuing back to fig. 2, after S202, S203 may also be performed.
S203: and providing the information flow corresponding to the concerned target object for the target user according to the information flow acquisition mode adapted by the target user.
The service device 110 may determine the information flow obtaining mode adapted by the target user according to S202 and the steps in fig. 3. Then, according to the determined information flow acquisition mode adapted to the target user, the information flow generated by the target object concerned by the target user, that is, the generated work information (which may include various media contents such as information, articles, videos, pictures, and the like) can be provided to the target user.
More specifically, for the case that the information flow obtaining mode adapted to the target user is the pull mode, the specific implementation manner of S203 may refer to fig. 4. Referring to fig. 4, a flowchart of a specific method in S203 in the information flow recommendation method provided in the embodiment of the present disclosure is shown. Therefore, S203 may specifically include:
s401: and if the information flow acquisition mode adapted by the target user is a pull mode, determining corresponding work change information from at least one target object creative work information set when receiving an access request sent by a user side.
In one example, service device 110 may receive an access request sent by terminal device 120. For example, when the user opens an APP that can be exposed to the information stream in the terminal device 120 or refreshes the content displayed in the APP, the terminal device 120 may determine the access request. After that, the terminal device 120 transmits the access request to the service device 110 by wired or wireless means. When the service apparatus 110 receives the access request transmitted by the terminal apparatus 120, corresponding work alteration information may be determined from at least one target object creative work information set maintained by the service apparatus 110. The target object creative work information set is configured in advance for the server side, and each target object concerned by the target user corresponds to one target object creative work information set.
In particular implementations, each target user may be interested in one or more target objects of interest (or target objects). Accordingly, each target object corresponds to a set of target object creative information. The target object creative work information set records the work information of the target object and the corresponding creative time. In one example, the information in the target object creative work information set may be as shown in Table 1,
work 1(id) Work 2(id) Work 3(id) Work 4(id) …… Work x (id)
0_ authoring time 1_ authoring time 1_ authoring time 0_ authoring time …… 1_ authoring time
TABLE 1
As can be seen from table 1, all the identity identifications (ids) of the works created by the target object, the creation time of each work, the deletion identifications and/or the addition identifications of the works are recorded in the information set of the works created by the target object. It can be understood that, in order to reduce the storage space occupied by the information set of the target object authored works, the corresponding works are uniquely identified by the work id, and the content of the works themselves can be stored in the database in the storage space occupied by the information set of the target object authored works.
For the deletion identifier and/or the new identifier, in some examples, 0 and 1 identifiers may be used, for example, 0 is a deletion identifier, which indicates that the work is invalid, or indicates that the work cannot be referred to by the user, and 1 is a new identifier, which indicates that the work is valid, or indicates that the work can be referred to by the user. Of course, in still other examples, the set of target object creative work information may include only valid works, i.e., only work information that may be reviewed by the user. And for invalid works, the works can be deleted from the information set of the target object creative works.
Continuing to return to fig. 4, in S401, corresponding work alteration information may be determined from the target object creative work information set corresponding to each target object focused by the target user. In one example, the work alteration information may include first work information having a deletion flag and/or second work information having an addition flag. For example, the service device 110 may obtain each work id and the corresponding deletion identifier and/or addition identifier according to the target object creative work information set corresponding to each target object.
In some examples, all the work information in each target object creative work information set may be obtained, and of course, in other examples, the creative time of each work may be referred to according to a preset time to obtain the work change information meeting the time condition. For example, each piece of work information may further include latest modification time information, i.e., a time point indicating the latest modification of the work. Meanwhile, the service device 110 may further record the time when the user initiated the access request last time, and the service device 110 may obtain, as the work change information, the work information whose latest modification time information is closer to the current time than the time when the user initiated the access request last time.
S402: and updating the information set of the attention target works according to the at least one piece of work change information.
In some examples, the service device 110 may update the focused target object work information set corresponding to the target user based on the at least one work change information determined in S401. The information set of the attention target object works is configured in advance by the server (can be considered to be maintained by the server), and the information set of the attention target object works corresponds to the target user. The service device 110 configures a set of information concerning the target object work for the target user. The system is used for recording the work information of each target object concerned by the target user, so that when the user initiates an access request, the corresponding work information is provided for the target user based on the concerned target object work information set.
In some examples, for the work alteration information determined in S401, for the first work information having the deletion flag, the first work information in the attention target object work information set may be deleted. And for the second work information with the newly added identification, the second work information can be added to the attention target object work information set. It can be understood that, for each piece of work information in the attention target work information set, a corresponding addition identifier and/or deletion identifier may also be provided to indicate whether the corresponding work is valid. Of course, in some examples, the information set of the attention target object work may also include only valid works, and the embodiments of the present disclosure are not limited thereto.
S403: and sending the work information in the updated attention target object work information set to the user side.
Then, the server 110 may send the work information in the updated attention target object work information set to the terminal device 120, so that the terminal device 120 displays the corresponding work information, thereby satisfying the browsing requirement of the user.
In some examples, when the time interval at which the target user initiates the access request (e.g., performs information flow refreshing) is relatively small, for example, when the time interval is only several minutes apart, the target object has a relatively low possibility of performing work information update, and in order to avoid a situation where the number of concurrent accesses to each target object creative work information set is large due to frequent accesses and thus unnecessary access pressure is applied to the system, the target object work information set may be accessed again when the access time interval is greater than a certain threshold, thereby reducing the system access pressure. Referring to fig. 5, a flowchart of a specific method in S401 in an information flow recommendation method provided in the embodiment of the present disclosure is shown. Therefore, S401 may specifically include:
s501: a first timestamp is obtained.
The first timestamp is the time when the user terminal initiates the access request last time. In some examples, the service device 110 may record a time when the user terminal last initiated the access request, and the service device 110 may obtain the time as the first timestamp.
S502: a first time interval of the first timestamp from the current time is determined.
The service device 110 may determine a time interval between the access request initiated by the current user end and the access request initiated last time according to the first timestamp and the current time.
S503: and if the first time interval is greater than or equal to the first time length threshold value, determining corresponding work change information from at least one target object creative work information set.
It can be understood that, if the first time interval is greater than or equal to the first time threshold value configured in advance, it may be considered that the target user has not been refreshed for a long time, and at this time, the work information of the target object concerned by the target user may have a change, and at this time, the method shown in fig. 4 may be used to actively obtain the work change information and update the set of work information of the target object concerned, so as to provide corresponding work information for the target user.
Of course, after S502, S504 may also be performed.
S504: and if the first time interval is smaller than the first time threshold, sending the work information in the current attention target object work information set to the user side.
That is, if the first time interval is smaller than the first time threshold configured in advance, it may be considered that the access request is too frequent, and there is no change in the product information of the target object focused by the target user at this time, and the corresponding product information may be directly transmitted to the terminal device 120 based on the focused target object product information set of the target user.
Returning to fig. 2, in some examples, more specifically, for a case that the information flow obtaining mode adapted by the target user is the push mode, another specific implementation manner of S203 may include:
if the information flow acquisition mode adapted by the target user is a push mode, when the work change information exists in at least one target object creative work information set, updating the concerned target object work information set according to the work change information; and when the user side initiates an access request, sending the work information in the updated attention target object work information set to the user side.
After determining that the information stream acquisition mode adapted by the target user is the push mode, when the work change information exists in the target object creative work information set corresponding to at least one target object concerned by the target user, the service device 110 may update the concerned target object work information set corresponding to the target user according to the corresponding work change information.
It should be noted that the work alteration information determined here is similar to the work alteration information determined in S401, and the update of the focused target object work information set corresponding to the target user according to the corresponding work alteration information is similar to S402, which may specifically refer to the corresponding descriptions in S401 and S402, and the details of the embodiment of the present disclosure are not repeated.
It can be understood that the difference of the above process compared to S401 is that S701 is to update the target object creative work information set concerned by the target user when there is work change information in the target object creative work information set corresponding to at least one target object concerned by the target user, and this time may be considered as a passive update, unlike the active request update performed in response to the access request initiated by the user end in S401.
In some examples, when the push mode is adopted, the information set of the target object of interest work cannot be passively updated due to unknown reasons, so that the user cannot acquire real-time effective work information. Referring to fig. 6, a flowchart of an information flow recommendation method after determining that the information flow acquisition mode adapted by the target user is the push mode provided in the embodiment of the present disclosure includes:
s601: and when the user terminal initiates an access request, determining a second timestamp.
In a case that the information flow obtaining mode adapted by the target user is the push mode, the service device 110 may determine the second timestamp when receiving the access request sent by the terminal device 120. And the second timestamp is the release time of the latest work information in the attention target work information set.
In some examples, the second timestamp may be determined from a release time of all the pieces of information in the target set of interest target piece information corresponding to the target user. Of course, in some examples, the release time of the corresponding work information of the corresponding target object may also be determined for different target objects that the target user pays attention to. For example, if the product information of each target object in the target object product information set is focused and stored in a mixed manner, in this case, the release time of the latest product information is set as the second time stamp regardless of the product information of that target object. For another example, if the work information of the corresponding target object is stored in the attention target object work information set for each of the different target objects, the release time of the latest work information of the corresponding target object may be determined as the second time stamp based on the different target objects. At this time, there may be one or more second time stamps based on different target objects.
S602: a second time interval of a second timestamp and a current time is determined.
The service device 110 may determine a time interval between the release time of the latest work information and the access request initiated by the user terminal according to the second timestamp and the current time.
S603: it is determined whether the second time interval is greater than a second duration threshold.
S604: and if the second time interval is greater than a second duration threshold, providing the work information corresponding to the target object concerned by the target user by adopting the pull mode.
S605: and if the second time interval is less than or equal to the second duration threshold, finishing providing the work information corresponding to the concerned target object to the target user in the push mode.
If the second time interval is greater than the second duration threshold, S401 may be executed. That is, the service device 110 may provide the work information corresponding to the target object of interest to the target user in the pull mode.
If the second time interval is less than or equal to the second duration threshold, the service device 110 completes providing the work information corresponding to the target object concerned by the target user in the push mode.
Here, when the work information in the attention target work information set is not updated for a long time, the work information may be provided to the target user in a pull mode, so that the target user may be ensured to still obtain the latest work information through the pull mode under the condition that the push mode is disabled due to an uncontrollable factor and the attention target work information set of the user is not updated in time.
In some examples, if the service device 110 determines that the information flow obtaining mode adapted by the target user is the push mode, the work change information is obtained by using the pull mode, and the information set of the target object of interest is successfully updated. The service apparatus 110 may confirm that the push mode is erroneous at this time and record information that may indicate that the push mode is erroneous. So that the subsequent service device 110 can directly adopt the pull mode to provide the target user with the work information corresponding to the target object concerned by the target user when providing the target user with the work information corresponding to the target object concerned by the target user next time based on the information indicating that the push mode has errors. Of course, in some examples, when the push mode is wrong, the service device 110 may further generate a prompt message to prompt the manager of the service device 110, so that the manager can repair the push mode in time. It can be understood that the prompt information may be in any prompt form such as sound, image, vibration, short message, and the like, and the embodiment of the disclosure is not limited.
Referring to fig. 7, a flowchart of a method for updating an information set of a target object of interest work in a push mode according to an embodiment of the present disclosure is shown. The process describes how to specifically determine that there is work alteration information. The method can comprise the following steps:
s701: and when the work information change operation exists in the target object creative work information set, acquiring the number of fans of the target object.
When receiving the work information change operation sent by the terminal device 120 (or called user end) corresponding to the target object, the service device 110 may obtain the number of fans of the target object.
In some examples, for each target object, the service device 110 may configure a fan interest list for recording all fan information concerning the target object.
S702: and determining the number of target objects concerned by each fan.
The service device 110 may determine the number of target objects of interest for each fan of the target object. I.e. determine the amount of attention of each fan of the target object.
S703: and determining work change information based on the work information change operation aiming at the fans of which the target object number is greater than or equal to the target number threshold value.
The service apparatus 110 may determine corresponding work alteration information based on the work alteration operation in S701 for fans having the number of target objects of interest greater than or equal to the target number threshold. Therefore, the fans with the number of the concerned target objects larger than or equal to the target number threshold value can update the information set of the works of the concerned target objects according to the change information of the works.
It can be understood that, in S703, the fans that determine that the number of target objects is greater than or equal to the target number threshold may be considered to determine which fans have a greater attention, and accordingly, such fans may also update the information set of the target object-focused work by using a push mode. Therefore, the facet for the target object in the service apparatus 110 can provide the fan in the push mode with the work alteration information based on the condition.
Referring to fig. 8, a flowchart of a method for providing work information corresponding to a target object of interest to a target user according to an embodiment of the present disclosure is shown. The process describes how to provide the target user with the work information corresponding to the target object concerned by the target user, that is, how to send the work information in the work information set of the target object concerned (or the updated work information set of the target object concerned) to the user side. The method can comprise the following steps:
s801: and sequencing each piece of work information in the attention target object work information set according to the target object attribute characteristics and/or the work attribute characteristics corresponding to each piece of work information in the attention target object work information set.
The service device 110 may determine a display weight for the corresponding work information according to the target object attribute feature and/or the work attribute feature corresponding to each work information in the attention target object work information set (or the updated attention target object work information set), and rank each work information in the attention target object work information set based on the display weight.
In some examples, the target object property characteristics may include: and the target user aims at least one of the characteristics of behavior data of other works of the target object, the platform rating of the target object, the number of fans of the target object, the number of times of reading the works of the target object and the like. In other examples, the work attribute features may include: at least one of the characteristics of the release time of the work, the historical behavior data of the work information, whether the work information is consumed by the target user and the like. It can be understood that, the features included in the target object attribute feature and/or the work attribute feature may be adaptively adjusted according to actual situations, and the embodiment of the present disclosure is not limited.
The situation of the target object concerned by the user can be accurately reflected through the target object attribute characteristics, and the situation of the corresponding works can be accurately reflected through the work attribute characteristics, so that the sequencing result of the work information can be more in line with the watching and reading habits of the user.
In one example, for the work information in the focus target object work information set, it may be, for example, as shown in table 2.
Work 1(id) Work 2(id) Work 3(id) Work 4(id) …… Work m (id)
Weight X1 Weight X2 Weight X3 Weight X4 …… Weight Xm
TABLE 2
As can be seen from table 2, the corresponding work may be identified by the work id in the information set of the target object of interest. At the same time, there is a presentation weight for each work correspondence. The information sets of the attention target object works may be sorted based on the size of the display weight, for example, the display weight with the largest rank is ranked first and sorted sequentially.
S802: and sending the work information in the attention target work information set and the corresponding sequencing result to the user side.
The service apparatus 110 may transmit the composition information in the attention target composition information set together with the ranking result determined in S1001 to the terminal apparatus 120. So that the terminal device 120 sequentially displays the work information in the work information set of the attention target object to the user for watching and reading based on the sorting result.
Of course, in some examples, if a certain piece of work information in the set of focus target work information is viewed (or consumed) by the user. The presentation weight for the production information may be subtracted by a preconfigured presentation weight threshold, which may be considered to be a de-weighting of the presentation weight. And based on the adjusted display weight, reordering the work information in the attention target work information set. So that subsequent users can preferentially see the unviewed production information.
In some examples, the terminal device 120 may feed back information of the works that the target user has viewed (or consumed) to the service device 110 through a pre-configured interface, so that the service device 110 may know which works that the target user has viewed (or consumed).
For example, after a certain piece of information in table 2 is viewed (or consumed) by the user, the reordering may be as shown in table 3.
Figure BDA0003624592630000161
Figure BDA0003624592630000171
TABLE 3
The preset display weight may be a preset fixed value y, or may be obtained according to the target object attribute feature and/or the work attribute feature and in a preset calculation manner. Thus, there may be different presentation weight thresholds based on different works.
Of course, it is assumed in table 3 that the work 1 is browsed (or consumed) by the user, and after the display weight is adjusted, the work information in the target work information set may be located at any position, for example, the last position or the next position, through reordering. It should be understood that the specific location thereof is also determined according to the actual weight.
Through the manner described in fig. 8, the pieces of work information in the information set of the target-of-interest work can be displayed in a sorted manner at the user end according to the values of the pieces of work information, so that the high-value work can be preferentially browsed by the user; meanwhile, whether the works are browsed by the user or not is considered, so that the target user can preferentially browse the information of the works different from the works browsed last time when browsing next time, and the browsing efficiency of the user is improved.
In some embodiments, the service device 110 may also respond to the attention target object change request sent by the terminal device 120 to update the attention target object work information set of the target user. Therefore, a method for updating a target object of interest by a target user according to an embodiment of the present disclosure may include:
receiving a change request of an attention target object sent by a user side; and updating the attention target object work information set according to the attention target object change request.
The service device 110 may accept the attention target object change request transmitted by the terminal device 120. In some examples, the target user may perform a change operation on the target object of interest on the terminal device 120, such as adding the target object of interest and/or canceling the target object of interest. The terminal device 120 may then determine a change request of the attention target object according to the operation. For example, it may be a request for adding an attention target object and/or a cancellation of the attention target object. The terminal device 120 may send the determined change request of the attention target object to the service device 110; the service apparatus 110 may update the attention target object work information set according to the attention target object change request received in S1101.
In some examples, for a case that the attention target object change request is a new attention target object request, updating the attention target object work information set according to the attention target object change request may specifically include:
if the attention target object change request is a new attention target object request, acquiring the work information of a target object corresponding to the new attention target object request; and adding the work information of the target object corresponding to the newly-added attention target object request into the attention target object work information set.
When determining that the received attention target object change request is a new attention target object request, the service device 110 may obtain the work information of the target object corresponding to the new attention target object request. For example, the new interest target object request may include information for identifying a target object, and the service device 110 obtains, based on the information for identifying the target object, the work information in the target object creative work information set configured for the target object in the service device 110.
Thereafter, the service device 110 may add the acquired work information of the newly added attention target object request corresponding to the target object to the attention target object work information set of the target user. So that the target user can subsequently acquire the work information corresponding to the newly added attention target object.
Of course, in some other examples, the case where the attention target object change request is a request for canceling the attention target object may include:
and if the attention target object change request is a request for canceling the attention target object, deleting the work information of the target object corresponding to the request for canceling the attention target object in the attention target object work information set.
The service device 110 may delete all the pieces of information of the target object corresponding to the request for canceling the attention target object in the attention target object piece information set of the target user when it is determined that the received request for changing the attention target object is the request for canceling the attention target object. For example, the information for identifying the target object may be included in the cancel attention target object request, and the service device 110 deletes all the pieces of work information corresponding to the target object in the set of work information of the attention target object based on the information for identifying the target object. In one example, the deleted work information may be marked with a delete identification.
It can be understood that, for the target user, in the push mode, the target user may complete the related steps such as updating the information set of the target object of interest without opening the information stream APP or initiating a request. In the pull mode, it can be considered as an online operation, i.e. it needs to use the request initiated by the target user as a trigger condition to execute the response step.
It should be noted that the work id in the above tables 1 to 3 of the embodiments of the present disclosure is only an illustration, and does not limit the actual ordering. The ordering of each piece of information in the target object creative work information set and the attention target object work information set may be adjusted according to actual conditions, and the embodiments of the present disclosure are not limited.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an information flow recommendation device corresponding to an information flow recommendation method is further provided in the embodiments of the present disclosure, and as the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the information flow recommendation method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 9, which is a schematic diagram illustrating an architecture of an information flow recommendation apparatus 900 according to an embodiment of the present disclosure, the apparatus 900 includes: an acquisition module 901, a determination module 902 and a providing module 903; wherein the content of the first and second substances,
an obtaining module 901, configured to obtain attribute data related to an information flow concerned by a target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing the number of target objects of interest to the target user; the target user interaction degree is used for representing the interaction degree of the target user and the target object of interest;
a determining module 902, configured to determine, according to the attribute data, an information flow obtaining mode adapted to the target user, where the information flow obtaining mode includes a pull mode or a push mode, the pull mode is used to provide an information flow for the target user when responding to an access request of the target user, and the push mode is used to actively provide the information flow for the target user when generating the information flow;
a providing module 903, configured to provide a corresponding information flow to the target user according to the information flow obtaining mode adapted to the target user.
In one possible implementation, the determining module 902 is further configured to: under the condition that the attribute data comprise the number of the target objects concerned by the target user, if the number of the target objects is smaller than a target number threshold value, determining that an information flow acquisition mode adapted by the target user is a pull mode; and if the number of the target objects is larger than or equal to the target number threshold, determining that the information flow acquisition mode adapted by the target user is a push mode.
In one possible implementation, the determining module 902 is further configured to: under the condition that the attribute data comprise the activity degree and/or the interaction degree, if the activity degree and/or the interaction degree in the latest preset time duration is smaller than a target threshold, determining that the information flow acquisition mode adapted by the target user is the pull mode; and if the activity degree and/or the interaction degree within the latest preset time duration is greater than or equal to a target threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
In a possible implementation manner, the determining module 902 is further configured to, if the information stream obtaining mode adapted by the target user is a pull mode, determine corresponding work change information from at least one target object creative work information set when receiving an access request sent by the user side, where the target object creative work information set is pre-configured by the server side, and each target object concerned by the target user corresponds to one target object creative work information set; the determining module 902 is further configured to update an information set of the target-object-of-interest works according to at least one piece of work change information, where the information set of the target-object-of-interest works is preconfigured by the server and corresponds to the target user; the providing module 903 is further configured to send the updated work information in the attention target object work information set to the user side.
In a possible implementation manner, before determining corresponding work change information from at least one target object creative work information set, the obtaining module 901 is further configured to obtain a first timestamp, where the first timestamp is a time when the user terminal last initiated the access request; the determining module 902 is further configured to determine a first time interval between the first timestamp and the current time; the determining module 902 is further configured to determine corresponding work alteration information from the at least one target object creative work information set if the first time interval is greater than or equal to the first time threshold.
In one possible implementation, the providing module 903 is further configured to: and if the first time interval is smaller than the first time threshold, sending the work information in the current attention target object work information set to the user side. Therefore, when the interval between the user and the last access is short, the corresponding work information can be directly obtained from the attention target work information set, and resource consumption caused by frequent access initiated by the user is avoided.
In one possible embodiment, the work alteration information includes: the first work information with the deletion identification and/or the second work information with the addition identification; the determining module 902 is further configured to: deleting first work information in the attention target work information set; and/or adding the second work information to the set of focus target work information.
In one possible implementation, the determining module 902 is further configured to: if the information flow acquisition mode adapted by the target user is a push mode, when the work change information exists in at least one target object creative work information set, updating the concerned target object work information set according to the work change information so as to send the work information in the updated concerned target object work information set to the user side when the user side initiates an access request, wherein the target object creative work information set and the concerned target object work information set are configured in advance by the service side, each target object concerned by the target user corresponds to one target object creative work information set, and the concerned target object work information set corresponds to the target user.
In a possible implementation, after determining that the information flow obtaining mode adapted by the target user is the push mode, the determining module 902 is further configured to: when a user side initiates an access request, determining a second time stamp, wherein the second time stamp is the release time of the latest work information in the attention target work information set; determining a second time interval of a second timestamp and a current time; and if the second time interval is greater than the second duration threshold, providing the work information corresponding to the concerned target object to the target user by adopting a pull mode.
In a possible implementation manner, the determining module 902 is further configured to sort, according to target object attribute features and/or work attribute features corresponding to each piece of information in the attention target object work information set, each piece of information in the attention target object work information set; the providing module 1403 is further configured to send the work information in the information set of the target work of interest and the corresponding sorting result to the user side.
In one possible embodiment, the target object attribute feature may include: the target user aims at least one of the behavior data of other works of the target object, the platform rating of the target object, the number of fans of the target object and the number of times of reading the works of the target object. The work attribute features may include: at least one of a release time of the work, historical behavior data of the work information, and whether the work information is consumed by the target user.
In a possible implementation, the apparatus 900 may further include: a receiving module 904, configured to receive a change request of a target object of interest sent by a user end; the determining module 902 is further configured to update the information set of the attention target object works according to the attention target object change request.
In a possible implementation manner, the obtaining module 901 is further configured to, if the request for changing the attention target object is a request for newly adding an attention target object, obtain the work information of the target object corresponding to the request for newly adding the attention target object; the determining module 1402 is further configured to add the work information of the target object corresponding to the new interest target object request to the interest target object work information set.
In one possible implementation, the determining module 902 is further configured to: and if the attention target object change request is a request for canceling the attention target object, deleting the work information of the target object corresponding to the request for canceling the attention target object in the attention target object work information set.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the disclosure also provides computer equipment. Referring to fig. 10, a schematic structural diagram of a computer device 1000 provided in the embodiment of the present disclosure includes a processor 1001, a memory 1002, a communication interface 1003, and a bus 1004. The communication interface 1003 includes a receiver 10031 and a transmitter 10032, which are used for data transmission with other devices. The memory 1002 is used for storing execution instructions, and includes a memory 10021 and an external memory 10022; the memory 10021 is also referred to as a memory, and is used for temporarily storing operation data in the processor 1001 and data exchanged with the external memory 10022 such as a hard disk, the processor 1001 exchanges data with the external memory 10022 through the memory 10021, and when the computer apparatus 1000 operates, the processor 1001, the memory 1002 and the communication interface 1003 communicate with each other through the bus 1004, so that the processor 1001 executes the following instructions:
acquiring attribute data related to the information flow concerned by the target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing the number of target objects of interest to the target user; for characterizing the degree of interaction of the target user with a target object of interest;
determining an information flow acquisition mode adapted by the target user according to the attribute data, wherein the information flow acquisition mode comprises a pull mode or a push mode, the pull mode is used for providing information flow for the target user when responding to an access request of the target user, and the push mode is used for actively providing the information flow for the target user when generating the information flow;
and providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user.
The embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of one of the information flow recommendation methods in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute steps of an information flow recommendation method in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
In the embodiment of the disclosure, in the pull mode, it is not necessary for the user to pull data from the target object creative information set every time of refreshing operation, but the data is pulled only when the time interval between two times of refreshing is greater than the configured threshold. Because when the time interval between two refreshes of the user is very small, the target object concerned by the user does not necessarily have new work information generated.
Further, when the number of the target objects concerned by the user is greater than the configured target quantity threshold, the mode of acquiring the work information set of the concerned target objects is automatically switched from the pull mode to the push mode, so that the situation that the access time consumption is increased due to too many concerned target objects can be reduced.
Further, in the embodiment of the present disclosure, in the push mode, the data in the target object work of interest information set of the user may be written into the target object work list of the fan interest when a new work is generated in the target object. Meanwhile, in order to avoid writing failure, the latest production time of the works in the target object work information list concerned by the target user is compared with the current time, if the latest production time is greater than a configured threshold value, the mode-pushing writing failure is indicated, and at the moment, the pull mode is adopted to obtain the work change information.
According to the configured target quantity threshold value, the mode of acquiring the works by each user can be dynamically adjusted on line in real time, the information flow of the works of the concerned target object can be stably acquired, the request pressure of the system is reduced, meanwhile, the stable operation of the system is guaranteed, and the delay of the whole link is reduced.
Meanwhile, the corresponding work information can be dynamically added or deleted in real time according to the operation behavior of the target object on the work in the target object creative work information set of the target object. Effective works generated by the target object can be displayed in time, and works changed into invalid works can be deleted in time. The method and the device enable a user to obtain real-time and accurate work information when obtaining the work information.
In addition, according to the embodiment of the disclosure, by means of real-time reporting and weight reduction of consumption data (consumption data is used as one of attribute characteristics of the target object), it is ensured that the information of the target object concerned, which is acquired by the user during the refresh operation, is not repeated, and consumption experience of the user is greatly improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into 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 non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (13)

1. An information flow recommendation method, characterized in that the method comprises:
acquiring attribute data related to the information flow concerned by the target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing the number of target objects of interest to the target user; for characterizing the degree of interaction of the target user with a target object of interest;
determining an information flow acquisition mode adapted by the target user according to the attribute data, wherein the information flow acquisition mode comprises a pull mode or a push mode, the pull mode is used for providing information flow for the target user when responding to an access request of the target user, and the push mode is used for actively providing the information flow for the target user when generating the information flow;
and providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user.
2. The method according to claim 1, wherein in case the attribute data comprises a number of target objects of interest to the target user, determining the target user adapted information flow acquisition mode according to the attribute data comprises:
if the number of the target objects is smaller than a target number threshold, determining that the information flow acquisition mode adapted to the target user is the pull mode;
and if the number of the target objects is larger than or equal to the target number threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
3. The method according to claim 1, wherein in the case that the attribute data includes the activity level and/or the interaction level, determining the information flow acquisition mode adapted by the target user according to the attribute data includes:
if the activity degree and/or the interaction degree within the latest preset time duration is smaller than a target threshold, determining that the information flow acquisition mode adapted to the target user is the pull mode;
and if the activity degree and/or the interaction degree within the latest preset time duration is greater than or equal to a target threshold, determining that the information flow acquisition mode adapted by the target user is the push mode.
4. The method according to any one of claims 1 to 3, wherein the providing the corresponding information flow to the target user according to the information flow obtaining mode adapted by the target user comprises:
if the information flow acquisition mode adapted by the target user is the pull mode, when an access request sent by the user side is received, corresponding work change information is determined from at least one target object creative work information set, wherein the target object creative work information set is configured in advance by the server side, and each target object concerned by the target user corresponds to one target object creative work information set;
updating an attention target object work information set according to at least one piece of work change information, wherein the attention target object work information set is configured in advance by the server and corresponds to the target user;
and sending the updated work information in the attention target object work information set to the user side.
5. The method of claim 4, wherein prior to determining corresponding work alteration information from at least one set of target object creative work information, the method further comprises:
acquiring a first timestamp, wherein the first timestamp is the time when the user terminal initiates the access request last time;
determining a first time interval of the first timestamp from a current time;
the determining corresponding work alteration information from at least one target object creative work information set comprises:
and if the first time interval is greater than or equal to a first time threshold, determining corresponding work change information from at least one target object creative work information set.
6. The method of claim 5, further comprising:
and if the first time interval is smaller than a first time threshold, sending the work information in the current attention target object work information set to the user side.
7. The method of claim 4, wherein the work alteration information comprises: the first work information with the deletion identification and/or the second work information with the addition identification;
the updating of the information set of the target object of interest work comprises:
deleting the first work information in the attention target object work information set; and/or the presence of a gas in the gas,
adding the second work information to the set of attention target object work information.
8. The method according to any one of claims 1 to 3, wherein the providing the corresponding information flow to the target user according to the information flow obtaining mode adapted by the target user comprises:
if the information flow acquisition mode adapted by the target user is the push mode, when at least one target object creative work information set has work change information, the information set of the target object creative work is updated according to the work change information, so that when the user side initiates the access request, the updated work information in the information set of the target object creative work is sent to the user side, wherein the information set of the target object creative work and the information set of the target object creative work are preconfigured by the service side, each target object concerned by the target user corresponds to one information set of the target object creative work, and the information set of the target object creative work corresponds to the target user.
9. The method of claim 8, wherein after determining that the target user adapted information flow acquisition mode is the push mode, the method further comprises:
when the user side initiates the access request, determining a second time stamp, wherein the second time stamp is the release time of the latest work information in the attention target work information set;
determining a second time interval of the second timestamp and the current time;
and if the second time interval is greater than a second duration threshold, providing the work information corresponding to the target object concerned by the target user by adopting the pull mode.
10. The method according to claim 4 or 8, wherein the sending the updated work information in the target object of interest work information set to the user side includes:
sequencing each piece of work information in the attention target object work information set according to target object attribute characteristics and/or work attribute characteristics corresponding to each piece of work information in the attention target object work information set;
and sending the work information in the attention target object work information set and the corresponding sequencing result to the user side.
11. An information flow recommendation device, the device comprising:
the acquisition module is used for acquiring attribute data related to the information flow concerned by the target user; the attribute data includes at least one of: the activity degree of browsing history information flow of the target user is represented; for characterizing the number of target objects of interest to the target user; for characterizing the degree of interaction of the target user with a target object of interest;
a determining module, configured to determine, according to the attribute data, an information flow obtaining mode adapted to the target user, where the information flow obtaining mode includes a pull mode or a push mode, the pull mode is used to provide an information flow for the target user when responding to an access request of the target user, and the push mode is used to actively provide the information flow for the target user when generating the information flow;
and the providing module is used for providing the corresponding information flow for the target user according to the information flow acquisition mode adapted to the target user.
12. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of a method of information flow recommendation as claimed in any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of a method of information flow recommendation according to any one of claims 1 to 10.
CN202210466799.8A 2022-04-29 2022-04-29 Information flow recommendation method and device Pending CN114861051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210466799.8A CN114861051A (en) 2022-04-29 2022-04-29 Information flow recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210466799.8A CN114861051A (en) 2022-04-29 2022-04-29 Information flow recommendation method and device

Publications (1)

Publication Number Publication Date
CN114861051A true CN114861051A (en) 2022-08-05

Family

ID=82634709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210466799.8A Pending CN114861051A (en) 2022-04-29 2022-04-29 Information flow recommendation method and device

Country Status (1)

Country Link
CN (1) CN114861051A (en)

Similar Documents

Publication Publication Date Title
US10326715B2 (en) System and method for updating information in an instant messaging application
WO2015131748A1 (en) Method and apparatus for pushing target information
CN110807710A (en) Method and system for managing invitation data of user inviting friends
US10171604B2 (en) System and method for pushing network information
CN112000911B (en) Page management method, device, electronic equipment and storage medium
US9357020B2 (en) Information source selection system, information source selection method, and program
CN103747436A (en) Application program downloading method and device
WO2014176896A1 (en) System and method for updating information in an instant messaging application
CN111966887B (en) Dynamic caching method and device, electronic equipment and storage medium
CN111930927B (en) Evaluation information display method and device, electronic equipment and readable storage medium
CN111143662A (en) Content recommendation method, device and computer storage medium
CN107666431B (en) Bookmark communication message acquisition method and device
US10104034B1 (en) Providing invitations based on cross-platform information
CN108009247B (en) Information pushing method and device
CN107480269B (en) Object display method and system, medium and computing equipment
CN114861051A (en) Information flow recommendation method and device
CN108139900B (en) Communicating information about updates of an application
CN115373831A (en) Data processing method, device and computer readable storage medium
JP7331018B2 (en) System and method for recommended system initialization based on remote profile
CN113992989A (en) Content display method, device, system, equipment and storage medium
CN107181772B (en) Method and device for updating client state on line in real time
CN105827580B (en) Page access method, device and system
KR102130017B1 (en) Method for managing contents and cloud server for executing the same
CN116185782B (en) Service monitoring method and device for social software
CN112291329B (en) Information display method, device and equipment

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