CN110569424A - Information recommendation method and device - Google Patents

Information recommendation method and device Download PDF

Info

Publication number
CN110569424A
CN110569424A CN201810486864.7A CN201810486864A CN110569424A CN 110569424 A CN110569424 A CN 110569424A CN 201810486864 A CN201810486864 A CN 201810486864A CN 110569424 A CN110569424 A CN 110569424A
Authority
CN
China
Prior art keywords
log
user behavior
information
rule
server
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
CN201810486864.7A
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810486864.7A priority Critical patent/CN110569424A/en
Publication of CN110569424A publication Critical patent/CN110569424A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

the invention discloses an information recommendation method and device, and relates to the technical field of computers. One embodiment of the method comprises: monitoring the clicking operation of a user on an equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log; detecting the log type of a user behavior log and determining a corresponding verification rule; and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying. The embodiment can directly carry out real-time inspection and information recommendation on the user behavior log generated by the user currently operating at the client, and compared with the verification of the server, the embodiment avoids the delay of network transmission and has higher response speed and more timeliness.

Description

Information recommendation method and device
Technical Field
the present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for information recommendation.
Background
Under the background of big data, the analysis of website user behavior data becomes an enterprise standard distribution, and a plurality of statistical tools such as hundred-degree statistics and Tencent analysis are also available in the market. However, as the number of enterprises increases, more and more websites start to build acquisition systems by themselves, and the mainstream data acquisition mode is based on the BS architecture (Browser/Server, Browser and Server structure) of Javascript (JS for short).
The existing log collection processing mode is mainly based on browsing of a website page by a user, a corresponding log request is generated and sent to a server, and finally, the log is verified based on the server so as to generate a corresponding log file in a ground mode.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
1) The personalized recommendation of the user mainly depends on user behavior data, the existing scheme mainly judges the attribute and preference of the user by analyzing user offline data and then reaches the user, but the user may have completed operation behaviors such as price comparison, purchase and the like at present, and the existing scheme has hysteresis;
2) the method is limited in applicable scenes, the JS codes of the client sides need to be modified and on-line under the scenes needing other front-end real-time responses, the whole operation flow is long, and the change expansion and the later maintenance of the codes are difficult.
disclosure of Invention
in view of this, embodiments of the present invention provide an information recommendation method and apparatus, which can at least solve the problems that a client cannot respond in real time and cannot meet various scene requirements in the prior art.
to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided an information recommendation method including: monitoring the clicking operation of a user on an equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log; detecting the log type of a user behavior log and determining a corresponding verification rule; and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
Optionally, detecting a log type of the user behavior log, and determining the corresponding validation rule includes: detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and includes at least a validation rule.
Optionally, detecting a log type of the user behavior log, and transmitting the detected log type to the server to receive the policy information fed back by the server further includes:
detecting the log type of a user behavior log, traversing a preset strategy information base, and extracting strategy information when strategy information corresponding to the log type is inquired; or
And when the strategy information corresponding to the log type cannot be inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
optionally, the policy information further includes a preprocessing rule; the preprocessing rules at least comprise storage preprocessing rules and calculation preprocessing rules;
before determining recommendation information corresponding to the click operation when the user behavior log conforms to the verification rule, the method further includes: temporarily storing a user behavior log based on a storage preprocessing rule; and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
Optionally, the policy information further includes a threshold of number of times of touch;
Determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for display further comprises: and counting the number of times of reaching the user in a preset time period, if the counted number of times is less than a reaching number threshold value, determining recommendation information corresponding to the clicking operation, and transmitting the recommendation information to an equipment interface for displaying.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an information recommendation apparatus including:
The monitoring module is used for monitoring the clicking operation of a user on the equipment interface, acquiring data associated with the clicking operation and generating a user behavior log;
The detection module is used for detecting the log type of the user behavior log and determining a corresponding verification rule;
And the recommendation module is used for determining recommendation information corresponding to the click operation when the user behavior log conforms to the verification rule, and transmitting the recommendation information to the equipment interface for displaying.
optionally, the detection module is configured to: detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and includes at least a validation rule.
optionally, the detection module is further configured to: detecting the log type of a user behavior log, traversing a preset strategy information base, and extracting strategy information when strategy information corresponding to the log type is inquired; or
And when the strategy information corresponding to the log type cannot be inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
Optionally, the policy information further includes a preprocessing rule; the preprocessing rules at least comprise storage preprocessing rules and calculation preprocessing rules;
The device of the embodiment of the invention also comprises a preprocessing module used for: temporarily storing a user behavior log based on a storage preprocessing rule; and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
optionally, the policy information further includes a threshold of number of times of touch;
a recommendation module to: and counting the number of times of reaching the user in a preset time period, if the counted number of times is less than a reaching number threshold value, determining recommendation information corresponding to the clicking operation, and transmitting the recommendation information to an equipment interface for displaying.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an electronic device for information recommendation.
The electronic device of the embodiment of the invention comprises: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement any of the information recommendation methods described above.
to achieve the above object, according to a further aspect of the embodiments of the present invention, there is provided a computer-readable medium having a computer program stored thereon, the computer program implementing any of the information recommendation methods described above when executed by a processor.
according to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: through the design of the strategy center and the localstorage, the existing log collection and processing mode is subjected to light weight transformation, real-time response capability is achieved under various application scenes, and the method has the advantages of being low in cost and high in flexibility. The method can be used for timely, accurately and automatically recommending business in marketing and other scenes, improves the information input conversion, reduces the user loss probability and has scene universality.
further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic flow chart of an information recommendation method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alternative information recommendation method according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating an alternative information recommendation method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating an alternative information recommendation method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating yet another alternative information recommendation method according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for recommending information according to an embodiment of the present invention;
FIG. 7 is a block diagram of an information recommendation device according to an embodiment of the present invention;
FIG. 8 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 9 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiment of the present invention is applicable to various scenarios, for example, marketing activities of an e-commerce platform, fast response of system offloading degradation, real-time response of wind control interception, risk user identification, and the like.
referring to fig. 1, a main flowchart of an information recommendation method according to an embodiment of the present invention is shown, including the following steps:
S101: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
S102: and detecting the log type of the user behavior log and determining a corresponding verification rule.
s103: and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
in the above embodiment, for step S101, the user accesses the interface through the client and performs any operation on the page interface, for example, clicks a browser to access the service interface, where the browser is any browser known in the art, the present invention mainly takes the service interface as an example, and the corresponding recommendation information takes the service recommendation information as an example for description.
For monitoring the click operation of the user on the service interface, a page tag point burying technology may be used, that is, for reporting the click data at a specific location or the custom log data (e.g., browsing type log data), a code tag needs to be added at a corresponding page location to monitor the click operation at a corresponding location, specifically, JS monitoring at the client.
And loading and acquiring JS on a page of the client, acquiring data related to the click operation of the user on the service interface, such as terminal data, page data, visitor data, source channel data and the like, and combining the data to generate a corresponding user behavior log.
the generated user behavior log may be temporarily stored locally at the client, for example, in a localstorage of the client, so as to facilitate subsequent extraction.
For step S102, in order to facilitate the instant response of the client, the user behavior log may be verified based on the client JS without being transmitted to the server for verification, so that the response speed is faster and more timely.
In order to make the verification have pertinence and the verification result more accurate, corresponding different verification rules can be set aiming at different user behavior log types.
the type of log involved may be the type of page clicked on, e.g., item detail page, or the type of application, e.g., shopping application. Corresponding verification rules, for example, the number of clicks on the business interface exceeds three; in addition, the verification rule can be stored in the server or written into the JS of the client.
For the rule stored in the server, the client needs to send a log type to the server; and the server side inquires corresponding verification rules according to the received log types and sends the verification rules to the client side. After the client obtains the validation rule, the operation of the client may be:
1) The rule is initialized and stored locally, such as localstorage, so as to facilitate subsequent extraction; or updating and adjusting based on the subsequently acquired new version rule;
2) the rules can be temporarily stored in the client in a temporary storage mode, and the rules can be deleted after the user behavior logs are checked, so that the memory resources of the client are saved.
If the client locally stores the verification rule, traversing locally before sending the log type to the server, and if the query exists, extracting the verification rule; otherwise, the log type needs to be sent to the server to obtain the verification rule stored in the server.
In step S103, the user behavior log is checked in the client, and if the check result is that the user behavior log is in line with the user behavior log, the action type may be determined while the service content is transmitted to the service interface, and service recommendation is performed. For example, in a marketing scene, the JS calls a marketing interface, displays marketing content, and realizes real-time marketing.
Specifically, the number of times of clicking operations of the user on the service interface may be counted, and whether the verification rule is satisfied is determined, for example, whether the specified commodity is continuously searched for more than 3 times, and if the result is satisfied, the service recommendation information such as the advertisement is transmitted to the service interface in the device to be displayed, so that an effect of contacting with the user requirement is achieved, that is, the user is contacted.
The method provided by the embodiment reduces the information delay caused by network transmission delay by performing inspection and information recommendation on the client side for the user behavior log generated in real time by the user currently operating at the client side, and has faster and more timely response speed compared with the verification at the server side.
Referring to fig. 2, a schematic flow chart of an alternative information recommendation method according to an embodiment of the present invention is shown, including the following steps:
S201: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
S202: detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and includes at least a validation rule.
s203: and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
in the above embodiment, the descriptions of steps S101 and S103 in fig. 1 can be referred to for steps S201 and S203, respectively, and are not repeated herein.
In the above embodiment, in step S202, a configuration module of the policy center is provided on the server side, and the policy information is stored in the module. The authentication rule used by the client is included in the policy information.
the policy center is configured with a specific rule for verifying the behavior log and is used for guiding the client JS script to verify the behavior log. Taking the precise marketing scenario as an example, the included contents can be seen in table 1:
TABLE 1 strategic information of marketing scenarios
Wherein the content of the first and second substances,
1) The log type: including a page type, which is a processing of a log having a certain specific page, such as extracting a search list page or a commodity detail page;
2) And (4) service type: defining categories to which user behaviors belong in a specific business scene, for example, a marketing scene; for example, a user's click-to-browse behavior on the item detail page of item class 1;
3) reach/verify rule: a threshold that would generate a touch-up in a particular scene;
4) And limiting the touch times: for the same user, the number of times of reaching is limited within a certain period of time, for example within a day, so as to avoid the user being disturbed;
5) The action type is as follows: under the condition of meeting the rules, the action type corresponding to the JS to be executed is specified according to the click action of the user, for example, in a marketing scene, a corresponding interface is called to obtain marketing information such as coupons, promotion activity recommendation and the like;
6) Controlling a touch switch: to control whether the specified rule is valid/on, 1-on, 0-off.
For policy information, there may be different settings:
1) Different types of user behavior logs are executed according to the same strategy information;
2) And setting corresponding different strategy information aiming at different types of user behavior logs.
in order to improve the processing pertinence and accuracy of the user behavior log, the invention mainly adopts a second mode.
Before transmitting the policy request, the client first determines the log type of the user behavior log to identify a scene corresponding to the policy, and sends the scene to the server.
the server determines and transmits corresponding policy information to the client, and after receiving the policy information, the client can cache the policy information locally, so that the client JS can conveniently check the cached user behavior log, for example, judge whether the operation behavior of the current user meets the marketing rule.
In addition, the generated user behavior log can be uploaded to the server side, so that statistics, user attribute judgment and the like of the server side are facilitated, and the log type can be acquired when a user uploads a log request to the server side.
The method provided by the embodiment can identify the scene corresponding to the policy based on the log type of the user behavior log, and acquire corresponding policy information to verify the user behavior log in a targeted manner, so that the accuracy of behavior verification is improved; in addition, through the design of the server policy center, the modification and online of the used verification rules are facilitated, and the maintenance and the updating are easy.
referring to fig. 3, a schematic flow chart of another alternative information recommendation method according to an embodiment of the present invention is shown, including the following steps:
S301: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
s302: and detecting the log type of the user behavior log, and traversing a preset strategy information base.
S303: when strategy information corresponding to the log type is inquired, extracting the strategy information; the policy information corresponds to the log type and includes at least a validation rule.
S303': and when the strategy information corresponding to the log type cannot be inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
S304: and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
in the above embodiment, steps S301 and S304 can be referred to the descriptions of steps S101 and S103 shown in fig. 1, respectively, and are not described again here.
In the above embodiment, for steps S302, S303, and S303', in order to facilitate immediate validation of the client JS and improve log processing efficiency, part of the policy information may be written in the JS content in advance, and the on or off may be controlled by the policy center of the server in the form of a switch.
However, it should be noted that, because the business rule is complex, a large amount of log operations are required, and the rule exceeding the storage authority cannot be stored in the client.
Before transmitting the log type to the server, the client can traverse in the local policy information base to judge whether corresponding policy information exists:
1) If the inquiry exists, the strategy information is directly extracted;
if the policy information is not effective currently, transmitting a policy information effective request to a server, and executing effective operation on the rule after receiving an effective instruction transmitted by the server; for example, the state of the policy information is set to be in effect;
If the policy information is currently effective, the subsequent operation can be executed according to the policy information.
2) If the query does not exist, the log type needs to be transmitted to the server side so as to obtain the policy information.
according to the method provided by the embodiment, part of the strategy information is directly written in the client, so that the client script can take effect immediately; in addition, because the content in the JS is fixed, the version cannot be updated, the control management of the opening or closing of the strategy information in the client is realized through the server, and when the client needs rule verification, the strategy information can be quickly validated without on-line operation.
referring to fig. 4, a schematic flow chart of another alternative information recommendation method according to an embodiment of the present invention is shown, including the following steps:
S401: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
s402: detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and at least comprises a verification rule and a preprocessing rule, and the preprocessing rule at least comprises a storage preprocessing rule and a calculation preprocessing rule.
s403: and temporarily storing the user behavior log based on the storage preprocessing rule.
S404: and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
S405: and when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
in the above embodiment, the steps S401 and S405 can be respectively described with reference to the steps S101 and S103 shown in fig. 1, and are not repeated herein.
In the above embodiment, for the acquisition of the policy information in step S402, refer to the description of step S202 shown in fig. 2, and also refer to the descriptions of steps S302 to S303' shown in fig. 3, which are not described again here.
The related preprocessing rules are also generally stored in a policy center of the server as the verification rules, so that the server can conveniently and centrally control and manage, and the client is guided to preprocess the log.
For steps S403 and S404, the preprocessing operation on the user behavior log may include:
1) Storage preprocessing operation: for a behavior log of a specific type, if the configuration content of the policy center is matched with the type, the client JS temporarily stores the behavior log in the client so as to perform simple operation locally;
Further, the temporary storage of the user behavior log may be finished after the service recommendation information is acquired; for example, after the marketing scenario recommendation is completed, the user behavior log is deleted.
2) Calculating preprocessing operation: and calculating the temporarily stored user behavior log, such as a format conversion rule, and continuing the subsequent verification rule.
In addition, the pre-processing rules may also include filtering rules, etc., to filter for certain content in a particular log type; for example, the empty click type log does not report or the pv (page view) stock-rate (e.g., the percentage of goods in the sold goods) type access log does not report, so that the system degradation can be realized timely and rapidly during the short term period of goods and the peak period of system access, and the pressure on the server-side log receiving and processing module is reduced.
the preprocessing rules may also include distribution rules, for example, for access to a specific region, jump to a different page for service, and implement distribution.
the method provided by the embodiment can improve the quality of the behavior log based on the preprocessing rule in the strategy information, and meanwhile, timely shunting and degrading are carried out during the peak period of network access; in addition, the caching processing of the client is fully utilized, logs required by different scenes can be cached locally for rule verification, the real-time responsiveness, the flexibility and the autonomy of the system are greatly improved, and the technical cost is low.
Referring to fig. 5, a schematic flow chart of yet another alternative information recommendation method according to an embodiment of the present invention is shown, including the following steps:
S501: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
S502: detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and at least comprises a verification rule and a threshold of the number of times of touch.
S503: and when the user behavior log conforms to the verification rule, counting the times of reaching the user in a preset time period.
s504: and if the counted times are less than the threshold of the touch times, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
In the above embodiment, step S501 may refer to the description of step S101 shown in fig. 1, and is not repeated herein.
In the above embodiment, for the acquisition of the policy information in step S502, refer to the description of step S202 shown in fig. 2, and also refer to the descriptions of steps S302 to S303' shown in fig. 3, which are not described herein again.
the server side can set a threshold value of the touch times in the strategy center so as to reduce the condition that the user experience effect is not ideal due to frequent recommendation of the service content; for example, the upper limit of the number of defined touches is 5 for the same user over a certain period of time (e.g. within a day), avoiding that the user is disturbed.
In steps S503 and S504, before displaying the service content recommendation, it is necessary to determine whether the accumulated number of touch times exceeds the threshold value of the number of touch times.
Taking the example of searching for commodities of a specified category, whether the number of service recommendation times for a current user is less than three needs to be judged, and if the condition is met, the action of the next link is triggered; for example, the coupon interface is invoked to display the offer information.
Taking a wind control scene as an example, for the identification of a risk user, when the same user continuously accesses a page of the same type for more than 100 times, or continuously clicks elements of the same type for more than 100 times, the access behavior of the user is limited, because the user may be maliciously accessed.
further, for the condition that the number of times of touch exceeds the threshold value, whether content recommendation exists or not can be transmitted to the service interface, and if the user clicks yes, the service content recommendation is continued; otherwise, it is not displayed.
The method provided by the embodiment limits the upper limit of the times of business information recommendation to the user based on the threshold of the touch times, avoids the user from being disturbed, and is convenient for the server to control and manage recommendation information.
Referring to fig. 6, a flow chart of a method for specifically recommending information according to an embodiment of the present invention is shown, including the following steps:
S601: and monitoring the clicking operation of the user on the equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log.
S602: and detecting the log type of the user behavior log, and traversing a preset strategy information base.
S603: when strategy information corresponding to the log type is inquired, extracting the strategy information; the policy information corresponds to the log type and at least comprises a verification rule, a preprocessing rule and a touch time threshold, and the preprocessing rule at least comprises a storage preprocessing rule and a calculation preprocessing rule.
S603': and when the strategy information corresponding to the log type cannot be inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
S604: and temporarily storing the user behavior log based on the storage preprocessing rule.
S605: and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
s606: and when the calculated user behavior log conforms to the verification rule, counting the times of reaching the user in a preset time period.
S607: and if the counted times are less than the threshold of the touch times, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
In the above embodiment, step S601 may refer to the description of step S101 shown in fig. 1, steps S602, S603, and S603 'may refer to the descriptions of steps S302, S303, and S303' shown in fig. 3, steps S604 and S605 may refer to the descriptions of steps S403 and S404 shown in fig. 4, and steps S606 and S607 may refer to the descriptions of step S103 shown in fig. 1 and steps S503 and S504 shown in fig. 5, which are not repeated herein.
It should be noted that the present invention mainly uses a localstorage to temporarily store the user behavior log, the cache policy information, and the like. The localstorage is a local storage characteristic, and solves the problem of insufficient storage space of cookies (used for storing data on a local terminal of a user); for example, the amount supported by a general browser in a localStorage is 5M, and localStorage in different browsers may be different.
In addition, the localstorage can realize instant response at the client, even if the user restarts after closing the current browser, the data still exists, and the life cycle of the data cannot be finished until the user or the program explicitly specifies deletion.
however, the browser data of each browser manufacturer are independent of each other. That is, if a set of data is stored in the firefox using localstorage, it cannot be read under the chrome browser.
The method provided by the embodiment of the invention is used for carrying out light weight transformation on the existing log acquisition and processing mode through the design of the strategy center and the localstorage, has real-time response capability in various application scenes, and has the characteristics of low cost and high flexibility. The method can be used for timely, accurately and automatically recommending information in marketing and other scenes, improves the putting conversion of the information, reduces the loss probability of users and has scene universality.
Referring to fig. 7, a schematic diagram of main modules of an information recommendation apparatus 700 according to an embodiment of the present invention is shown, including:
the monitoring module 701 is configured to monitor a click operation of a user on an equipment interface, acquire data associated with the click operation, and generate a user behavior log;
A detection module 702, configured to detect a log type of a user behavior log, and determine a corresponding validation rule;
the recommendation module 703 is configured to determine recommendation information corresponding to the click operation when the user behavior log meets the verification rule, and transmit the recommendation information to the device interface for display.
In the apparatus of the embodiment of the present invention, the detecting module 702 is configured to:
Detecting the log type of a user behavior log, and transmitting the detected log type to a server so as to receive strategy information fed back by the server; the policy information corresponds to the log type and includes at least a validation rule.
In the apparatus according to the embodiment of the present invention, the detecting module 702 is further configured to:
Detecting the log type of a user behavior log, traversing a preset strategy information base, and extracting strategy information when strategy information corresponding to the log type is inquired; or
and when the strategy information corresponding to the log type cannot be inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
In the device of the embodiment of the invention, the strategy information also comprises a preprocessing rule; the preprocessing rules at least comprise storage preprocessing rules and calculation preprocessing rules;
Also included is a preprocessing module 704 (not shown in FIG. 7) for:
Temporarily storing a user behavior log based on a storage preprocessing rule;
and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
In the device of the embodiment of the invention, the strategy information further comprises a touch time threshold;
The recommending module 703 is further configured to:
and counting the number of times of reaching the user in a preset time period, if the counted number of times is less than a reaching number threshold value, determining recommendation information corresponding to the clicking operation, and transmitting the recommendation information to an equipment interface for displaying.
In addition, the detailed implementation of the information recommendation device in the embodiment of the present invention has been described in detail in the above information recommendation method, and therefore, the repeated content will not be described again.
The device provided by the embodiment of the invention performs light weight transformation on the existing log acquisition and processing mode through the design of the strategy center and the localstorage, has real-time response capability in various application scenes, and has the characteristics of low cost and high flexibility. The method can be used for timely, accurately and automatically recommending business in marketing and other scenes, improves the information input conversion, reduces the user loss probability and has scene universality.
Referring to fig. 8, an exemplary system architecture 800 of an information recommendation method or information recommendation apparatus to which embodiments of the present invention may be applied is shown.
As shown in fig. 8, the system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. The network 804 serves to provide a medium for communication links between the terminal devices 801, 802, 803 and the server 805. Network 804 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 801, 802, 803 to interact with a server 805 over a network 804 to receive or send messages or the like. The terminal devices 801, 802, 803 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
the terminal devices 801, 802, 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 805 may be a server that provides various services, such as a back-office management server (for example only) that supports shopping-like websites browsed by users using the terminal devices 801, 802, 803. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
it should be noted that the information recommendation method provided by the embodiment of the present invention is generally executed by the server 805, and accordingly, the information recommendation apparatus is generally disposed in the server 805.
It should be understood that the number of terminal devices, networks, and servers in fig. 8 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
as shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.
it should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a monitoring module, a detection module and a recommendation module. The names of these modules do not in some cases constitute a limitation on the module itself, for example, the recommendation module may also be described as a "recommendation information module corresponding to a log type".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
monitoring the clicking operation of a user on an equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log;
Detecting the log type of a user behavior log and determining a corresponding verification rule;
And when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
According to the technical scheme of the embodiment of the invention, an upgrading and transforming idea of a log collecting and processing mode is provided, a user behavior log is preprocessed at a client, a scene rule of real-time response is configured and maintained through a strategy center, and when the user behavior log conforms to the scene and the rule, the client can call a related interface to recommend related content.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. an information recommendation method, comprising:
Monitoring the clicking operation of a user on an equipment interface, acquiring data associated with the clicking operation, and generating a user behavior log;
Detecting the log type of the user behavior log and determining a corresponding verification rule;
And when the user behavior log conforms to the verification rule, determining recommendation information corresponding to the click operation, and transmitting the recommendation information to the equipment interface for displaying.
2. the method of claim 1, wherein detecting the log type of the user behavior log and determining the corresponding validation rule comprises:
Detecting the log type of the user behavior log, and transmitting the detected log type to a server so as to receive the strategy information fed back by the server; wherein the policy information corresponds to the log type and includes at least the validation rule.
3. The method of claim 2, wherein the detecting the log type of the user behavior log and transmitting the detected log type to a server to receive the policy information fed back by the server further comprises:
detecting the log type of the user behavior log, traversing a preset strategy information base, and extracting the strategy information when the strategy information corresponding to the log type is inquired; or
And when the strategy information corresponding to the log type is not inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
4. the method of claim 2, wherein the policy information further comprises pre-processing rules; wherein the preprocessing rule at least comprises a storage preprocessing rule and a calculation preprocessing rule;
Before determining recommendation information corresponding to the click operation when the user behavior log meets the verification rule, the method further includes:
temporarily storing the user behavior log based on the storage preprocessing rule;
And calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
5. the method of claim 2, wherein the policy information further comprises a threshold number of touches;
The determining recommendation information corresponding to the click operation and transmitting the recommendation information to the device interface for display further includes:
And counting the number of times of reaching the user within a preset time period, if the counted number of times is smaller than the reaching number threshold, determining recommendation information corresponding to the clicking operation, and transmitting the recommendation information to the equipment interface for displaying.
6. An information recommendation device, comprising:
The monitoring module is used for monitoring the clicking operation of a user on an equipment interface, acquiring data associated with the clicking operation and generating a user behavior log;
the detection module is used for detecting the log type of the user behavior log and determining a corresponding verification rule;
And the recommendation module is used for determining recommendation information corresponding to the click operation when the user behavior log conforms to the verification rule, and transmitting the recommendation information to the equipment interface for displaying.
7. the apparatus of claim 6, wherein the detection module is configured to:
Detecting the log type of the user behavior log, and transmitting the detected log type to a server so as to receive the strategy information fed back by the server; wherein the policy information corresponds to the log type and includes at least the validation rule.
8. The apparatus of claim 7, wherein the detection module is further configured to:
detecting the log type of the user behavior log, traversing a preset strategy information base, and extracting the strategy information when the strategy information corresponding to the log type is inquired; or
and when the strategy information corresponding to the log type is not inquired, transmitting the log type to the server so as to receive the strategy information fed back by the server.
9. The apparatus of claim 7, wherein the policy information further comprises pre-processing rules; wherein the preprocessing rule at least comprises a storage preprocessing rule and a calculation preprocessing rule;
the apparatus further comprises a preprocessing module to:
Temporarily storing the user behavior log based on the storage preprocessing rule;
and calculating the temporarily stored user behavior log based on the calculation preprocessing rule.
10. The apparatus of claim 7, wherein the policy information further comprises a threshold number of touches;
The recommendation module is further configured to:
And counting the number of times of reaching the user within a preset time period, if the counted number of times is smaller than the reaching number threshold, determining recommendation information corresponding to the clicking operation, and transmitting the recommendation information to the equipment interface for displaying.
11. An electronic device, comprising:
One or more processors;
A storage device for storing one or more programs,
When executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. a computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201810486864.7A 2018-05-18 2018-05-18 Information recommendation method and device Pending CN110569424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810486864.7A CN110569424A (en) 2018-05-18 2018-05-18 Information recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810486864.7A CN110569424A (en) 2018-05-18 2018-05-18 Information recommendation method and device

Publications (1)

Publication Number Publication Date
CN110569424A true CN110569424A (en) 2019-12-13

Family

ID=68771826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810486864.7A Pending CN110569424A (en) 2018-05-18 2018-05-18 Information recommendation method and device

Country Status (1)

Country Link
CN (1) CN110569424A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581518A (en) * 2020-05-14 2020-08-25 北京易数科技有限公司 Information pushing method and device
CN113032355A (en) * 2021-04-06 2021-06-25 上海英方软件股份有限公司 Method and device for collecting logs in batches by Web application

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160092914A1 (en) * 2014-09-25 2016-03-31 Oracle International Corporation Evaluating page content to determine user interest
CN107273267A (en) * 2017-06-09 2017-10-20 环球智达科技(北京)有限公司 Log analysis method based on elastic components

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160092914A1 (en) * 2014-09-25 2016-03-31 Oracle International Corporation Evaluating page content to determine user interest
CN107273267A (en) * 2017-06-09 2017-10-20 环球智达科技(北京)有限公司 Log analysis method based on elastic components

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581518A (en) * 2020-05-14 2020-08-25 北京易数科技有限公司 Information pushing method and device
CN113032355A (en) * 2021-04-06 2021-06-25 上海英方软件股份有限公司 Method and device for collecting logs in batches by Web application

Similar Documents

Publication Publication Date Title
CN107679211B (en) Method and device for pushing information
CN107809331B (en) Method and device for identifying abnormal flow
US10572548B2 (en) System and method for improving access to search results
CN111124819B (en) Method and device for full link monitoring
CN107480277B (en) Method and device for collecting website logs
US9949149B2 (en) Online and distributed optimization framework for wireless analytics
CN106302445B (en) Method and apparatus for handling request
CN110442712B (en) Risk determination method, risk determination device, server and text examination system
CN111061956B (en) Method and apparatus for generating information
CN110020162B (en) User identification method and device
CN102792299A (en) User specific feed recommendations
CN108810047B (en) Method and device for determining information push accuracy rate and server
CN107679897A (en) A kind of security risk control method and device
CN107835132B (en) Method and device for tracking flow source
CN108595448B (en) Information pushing method and device
CN110866040A (en) User portrait generation method, device and system
CN112784152A (en) Method and device for marking user
CN110569424A (en) Information recommendation method and device
CN111699487A (en) System for fast and secure content provision
CN107634942B (en) Method and device for identifying malicious request
CN115496544A (en) Data processing method and device
CN107920100B (en) Information pushing method and device
CN110875856B (en) Method and apparatus for activation data anomaly detection and analysis
CN113761433A (en) Service processing method and device
CN111178696A (en) Service processing time overtime early warning method and device

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