An information updating method, device, apparatus, and storage medium
By categorizing user information into different types and adopting real-time and periodic update methods, the problem of untimely user information updates is solved, update efficiency is improved, and resource waste is avoided.
Patent Information
- Application Number
- CN202310189379.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-02-23
AI Technical Summary
In existing technologies, user information is not updated in a timely manner, resulting in the inability to update frequently updated information in a timely manner, leading to resource waste and time loss.
User information is divided into two types: Type 1 information and Type 2 information. Type 1 information is updated in real time when a user visits a relevant page, while Type 2 information is updated periodically according to the update frequency.
It improves the efficiency of user information updates, enabling timely updates of frequently updated information and avoiding resource waste and time loss.
Smart Images

Figure CN116226148B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer, in particular to the field of data processing, and more particularly to an information updating method and device, equipment and storage medium. BACKGROUND
[0002] With the rapid development of the Internet, the number of Internet users (or simply users) is increasing, and the amount of user information of the users is also increasing, so that the amount of data in the user information system is large, and the user information stored in the user information system needs to be updated in real time with the update of the user information of the users. SUMMARY
[0003] The present disclosure provides an information updating method, device, equipment and storage medium.
[0004] According to a first aspect of the present disclosure, an information updating method is provided, comprising: the method is used for updating user information of a user; the user information of the user comprises first type information of the user and second type information of the user; the first type information is information with an update frequency greater than a preset threshold; and the second type information is information with an update frequency less than or equal to the preset threshold.
[0005] In response to access of a target page by the user, the first type information in the user information of the user is updated based on access behavior information of the user; wherein the target page is a front page of a page having an association relationship with the first type information; and / or;
[0006] Based on the update frequency of the second type information, the second type information in the user information is periodically acquired and updated.
[0007] According to a second aspect of the present disclosure, an information updating device is provided, comprising:
[0008] A first updating module, in response to access of a target page by the user, updates the first type information in the user information of the user based on access behavior information of the user; wherein the target page is a front page of a page having an association relationship with the first type information; and / or;
[0009] A second updating module, based on the update frequency of the second type information, periodically acquires and updates the second type information in the user information.
[0010] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0011] At least one processor; and
[0012] A memory in communication connection with the at least one processor; wherein,
[0013] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any of the methods of the first aspect.
[0014] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to perform any of the methods of the first aspect.
[0015] The technical solution of the present disclosure solves the problem of not timely updating user information in the related art, improves the efficiency of updating user information, can update user information with a higher update frequency in a timely manner, and can also effectively avoid problems such as resource waste and time loss caused by updating user information.
[0016] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:
[0018] Figure 1 is a system architecture diagram of the information updating method provided by the present disclosure;
[0019] Figure 2 is a structural block diagram of the information updating method provided by the present disclosure;
[0020] Figure 3 is a method flowchart of an information updating method provided by the present disclosure;
[0021] Figure 4 is a method flowchart of another information updating method provided by the present disclosure;
[0022] Figure 5 is a structural block diagram of an information updating device provided by the present disclosure;
[0023] Figure 6 is a schematic block diagram of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0024] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to help understanding, and should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, in order to make the description clear and concise, the description of well-known functions and structures is omitted in the following description.
[0025] In the technical solutions of the present disclosure, the acquisition, storage, use, processing, and application of user information comply with relevant laws and regulations, necessary security measures are taken, and the public order and good customs are not violated.
[0026] In the technical solutions of the present disclosure, the authorization or consent of the user is obtained before the user information is acquired.
[0027] The following explains some terms in the embodiments of the present disclosure to facilitate understanding by those skilled in the art:
[0028] 1. Consumption willingness information
[0029] Consumption willingness information refers to the subjective probability or likelihood of a user purchasing a product. The consumption willingness information reflects the subjective attitude of the user towards the product and also reflects the probability of the user making a purchase decision for the product.
[0030] 2. Price sensitivity information
[0031] Price sensitivity information refers to the proportion of the price factor among various factors that affect the user's purchase of a product. According to the proportion of the price factor, users can be divided into price-sensitive users and price-insensitive users. Price-sensitive users are users whose probability of making a purchase decision for a product is greatly affected by the price factor. Price-insensitive users are users whose probability of making a purchase decision for a product is less affected by the price factor.
[0032] 3. Full volume update
[0033] Full volume update refers to updating all data.
[0034] With the rapid development of the Internet, the number of Internet users (referred to as users in the present disclosure) is increasing, and with the complexity of the access behavior information of Internet users, the user information of Internet users is also becoming more and more complex. For example, in addition to basic user information such as name, age, and birthday, user information also includes price sensitivity information, device type, consumption willingness information, and page access duration, which are related to user daily network access behavior information. And the user information of the user will be updated with the user's network access behavior information and / or over time.
[0035] Currently, when updating user information (including user basic information and user associated information), a script update method is needed to update new user information to a database (or user information system) storing user information. For example, when a preset update period is reached, the user information corresponding to the information field in the script is obtained, and the user information stored in the database is updated according to the obtained user information.
[0036] The script update method updates the user information only when the preset update period is reached, and does not update the user information when the preset update period is not reached. Therefore, the script update method cannot update the user information (for example, user associated information) with a high update frequency in a timely manner.
[0037] To solve the problem of untimely updating of user information, the present disclosure provides an information updating method, device, equipment and storage medium. The information updating method is used to update user information of a user, and specifically: the user information is divided into first type information and second type information; the first type information is information with an update frequency greater than a preset threshold; the second type information is information with an update frequency less than or equal to the preset threshold; for the first type information, the update of the first type information is triggered in response to the user accessing a pre-page (which can be referred to as a target page in the present disclosure) associated with the first type information, such as updating the first type information in the user information based on the user's access behavior information. For the second type information, the second type information in the user information is periodically obtained and updated based on the update frequency of the second type information. The user information of the user includes the first type information of the user and the second type information of the user. Through the above method, the first type information with an update frequency greater than the preset threshold can be updated when the pre-page is accessed, which not only improves the update efficiency of the user information, but also updates the first type information with an update frequency greater than the preset threshold in a timely manner. The second type information with a slow update is periodically updated according to its update frequency, that is, the information accuracy is ensured and the waste of update resources caused by frequent updates is avoided.
[0038] Figure 1 An exemplary system architecture diagram of the information updating method provided by the present disclosure is shown.
[0039] It should be noted that, Figure 1 The system architecture shown is only an example of a system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios, etc. For example, in another embodiment, a terminal device can be included in the system architecture, but the terminal device can not need to interact with the server to implement the information updating method and device provided by the embodiments of the present disclosure.
[0040] like Figure 1 As shown in the diagram, the system architecture may include a terminal device 101, a network 102, and a server 103. The network 102 serves as the medium for providing a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired and / or wireless communication links, etc.
[0041] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send messages, etc. Various client applications can be installed on terminal device 101, such as knowledge reading applications, web browser applications, search applications and / or social platform software, etc. (for example only).
[0042] Terminal device 101 can be various electronic devices with information collection functions, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0043] Server 103 can be a server providing various services, such as a backend management server supporting the content browsed by the user using terminal device 101 (for example only). The backend management server can analyze and process received user requests and other data, and feed back the processing results (such as web pages, information, or data obtained or generated based on user requests) to the terminal device. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system. The server can also be a server for a distributed system, or a server integrated with blockchain technology.
[0044] It should be noted that the information update method provided in this embodiment can be executed by server 103. Accordingly, the information update device provided in this embodiment can generally be located in server 103. Alternatively, the information update method provided in this embodiment can also be executed by terminal device 101. Accordingly, the information update device provided in this embodiment can also be located in terminal device 101.
[0045] It should be understood that Figure 1 The number of terminal devices 101, networks 102, and servers 103 shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0046] First Embodiment
[0047] based on Figure 1 The system architecture shown is as follows: Figure 2 An exemplary structural block diagram of the information updating method provided in this disclosure is shown.
[0048] likeFigure 2 As shown, the structure diagram can include a first page, a post page (a post page of the first page), a configuration center, an authorized buried point, a trigger, a message queue, a policy system, a database, user information, a first updating manner and a second updating manner. The configuration center can include a preset association list, wherein the preset association list includes an association relationship between a page and an information field, and the information field is used to carry user information.
[0049] In the embodiments of the present disclosure, the database can include but is not limited to a Redis database, which is not limited in the present disclosure.
[0050] In the embodiments of the present disclosure, when updating the user information of a user, different types of user information contained in the user information of the user can be updated in different ways. Specifically, the user information can include first type information with an update frequency greater than a preset threshold, and second type information with an update frequency less than or equal to the preset threshold; the first type information in the user information can be updated in a real-time updating manner, and the second type information in the user information can be updated in a timing updating manner. The information updating manners of the first type information and the second type information will be described in detail below.
[0051] (I) First type information
[0052] The first type information can include original information or processed information, wherein the original information refers to information that can be directly obtained, such as page access duration, access content features, and device types of access devices. The processed information refers to information obtained by further processing the original information, such as price sensitivity information and consumption willingness information. Specifically, the first type information can be updated in the following manner:
[0053] After obtaining the access request of the user to the first page, based on the post page of the first page, the information field associated with the post page of the first page is determined through the preset association list included in the configuration center. If the first information field associated with the post page of the first page exists in the preset association list, the first page is taken as a target page, and the first information field associated with the post page of the first page is taken as the first type information of the user intent update. After determining the first type information of the user intent update, it can be determined through the configuration center whether the first type information of the user intent update is original information or processed information.
[0054] If the first type information of the user intent update is original information, the trigger can be started, and the access behavior information of the user can be extracted in the target page (i.e., the first page). After obtaining the target information, the first type information contained in the user information stored in the database can be updated according to the extracted target information.
[0055] If the first type of information that the user intends to update is processing information, a trigger can be started, and the target page (i.e., the first page) can be authorized for burying point processing. The user's access behavior information can be obtained by the authorized burying point processing of the target page. After obtaining the user's access behavior information, the obtained user's access behavior information and the information field of the first type of information can be sent to the policy system through a message queue. After receiving the user's access behavior information and the information field of the first type of information, the policy system can determine and obtain the user information associated with the information field of the first type of information in the database according to the information field of the first type of information. Then, the first type of information can be determined according to the received user's access behavior information and the determined user information associated with the information field of the first type of information in the database. The user information stored in the database can be updated according to the determined first type of information.
[0056] In the embodiments of the present disclosure, the first page can be a web page, can be a page of a client application, or can be a page of a small program, and the present disclosure does not limit this.
[0057] (II) Second type of information
[0058] For the second type of information in the user information, the second type of information in the user information can be periodically obtained and updated based on the update frequency of the second type of information. Specifically, in an optional implementation, the second type of information can include first update information with an update frequency equal to a preset threshold and second update information with an update frequency less than the preset threshold. Therefore, the first update period corresponding to the first update information and the second update period corresponding to the second update information can be determined according to the update frequency of the information included in the second type of information. The first update information can be updated by the following first update method, and the second update information can be updated by the following second update method:
[0059] First update method: periodically obtain the first update information based on the first update period. After obtaining the first update information, the obtained first update information can be sent to the policy system. After receiving the first update information, the policy system can update the first update information stored in the database according to the received first update information.
[0060] Second update method: periodically obtain the second update information based on the second update period. After obtaining the second update information, the obtained second update information can be sent to the policy system. After receiving the second update information, the policy system can update the second update information stored in the database according to the received second update information.
[0061] Second embodiment
[0062] Based on Figure 1 the system architecture shown, Figure 3 An exemplary method flowchart of an information updating method provided by the present disclosure is shown, which is used to update user information of a user; the user information of the user includes first type information of the user and second type information of the user; the first type information is information with an update frequency greater than a preset threshold; and the second type information is information with an update frequency less than or equal to the preset threshold. Specifically, as shown in Figure 3 the method includes S301 and S302.
[0063] It should be understood that Figure 3 S301 and S302 in the above embodiment are sequentially numbered, but the execution order is not sequential / serial execution, but parallel execution according to different types of information. For example, S301 is executed for the first type information, and S302 is executed for the second type information:
[0064] S301, in response to the user accessing a target page, updates the first type information in the user information of the user based on the access behavior information of the user.
[0065] As described above, the first type information can include, but is not limited to, page access duration, access content features, device type of access device, price sensitivity information, and consumption willingness information, etc. with an update frequency greater than the threshold, in other words, the first type information can be information that is frequently updated.
[0066] The target page is a preceding page of a page that has an association relationship with the first type information. The page that has an association relationship with the first type information can refer to a page whose page information can be used to generate / obtain the first type information, wherein the association relationship is used to represent the corresponding relationship between the first type information and the preceding page of the target page. The preceding page and the subsequent page in the present disclosure are relative concepts, and the page displayed first in the two pages is the preceding page. The page displayed after the user performs an operation (such as clicking a certain page object in the preceding page) on the preceding page is called the subsequent page.
[0067] Specifically, the page that has an association relationship with the first type information and the target page can be pre-set, and the setting method can refer to the description in Figure 4 .
[0068] It can be understood that in the present disclosure, the user's access to the target page can be used as a trigger condition for updating the first type information of the user. Once it is monitored that the user accesses the target page, the first type information of the user is triggered to be updated.
[0069] In an optional embodiment, before S301, the developer can pre-classify which information is the first type of information with a faster update frequency, and create a trigger for the first type of information, and set the trigger listening event and the trigger execution event contained in the trigger. Illustratively, the trigger listening event can be set as "monitoring the current page, and when the target page is monitored, executing the execution event of the trigger", and the trigger execution event can be set as "updating the first type of information in the user information of the user based on the access behavior information of the user".
[0070] After the trigger is created in the above manner, the trigger listening event can be executed, that is, the current page is monitored, and when the target page is monitored, the trigger execution event can be executed in response to the user accessing the target page, that is, the first type of information in the user information of the user is updated based on the access behavior information of the user.
[0071] Among them, the access behavior information of the user includes at least one of the user access duration, the device type of the access device, and the access content feature; the first type of information includes at least one of the user access duration, the device type of the access device, the access content feature, the price sensitivity information, and the consumption willingness information. Specifically, the implementation process of S301 can refer to the steps shown in the following Figure 4
[0072] Illustratively, in an embodiment, assuming that the first type of information includes the price sensitivity information and the consumption willingness information, when the current page is monitored as the target page, the trigger execution event can be executed, that is, the price sensitivity information and the consumption willingness information in the user information of the user are updated based on at least one of the user access duration, the device type of the access device, and the access content feature.
[0073] S302, periodically acquiring and updating the second type of information in the user information based on the update frequency of the second type of information.
[0074] Specifically, in an optional embodiment, the second type of information can include first update information with an update frequency equal to a preset threshold and second update information with an update frequency less than the preset threshold, so when S302 is executed, the first update period and the second update period can be determined according to the update frequency of the information included in the second type of information, and then the first update information can be periodically acquired and updated based on the first update period; the second update information can be periodically acquired and updated based on the second update period. Among them, the first update information corresponds to the first update period, and the second update information corresponds to the second update frequency; the first update period is less than the second update period.
[0075] In the embodiments of the present disclosure, the first update information comprises user interest; and the second update information comprises at least one of user name, user age and user occupation.
[0076] Exemplarily, in an embodiment, it is assumed that the determined first update period is 1 day and the second update period is 30 days. Therefore, the information such as interest and hobby of the user (i.e. the first update information) can be acquired every 1 day, and the acquired information such as interest and hobby of the user is compared with the information such as interest and hobby contained in the user information stored in the database. If the acquired information such as interest and hobby of the user is inconsistent with the information such as interest and hobby contained in the user information stored in the database, the information such as interest and hobby contained in the user information stored in the database is updated according to the acquired information such as interest and hobby of the user. In addition, the information such as name and occupation of the user (i.e. the second update information) can be acquired every 30 days, and then the acquired information such as name and occupation of the user is used to update the second update information stored in the database.
[0077] In an alternative embodiment, before the first update period and the second update period are determined according to the update frequency of the information included in the second type information, the update frequency of the information included in the second type information can also be determined. Specifically, the number of updates of the information included in the second type information in a preset time period can be recorded, and the number of updates of the information included in the second type information in the preset time period is stored in a pre-set update configuration file. After the storage is completed, the update frequency of each user information can be determined according to the number of updates of the information included in the second type information in the preset time period stored in the update configuration file.
[0078] In the embodiments of the present disclosure, before the information update method shown in Figure 3 Before the information update method shown in
[0079] By the above-mentioned method, for the first type information with an update frequency greater than a preset threshold, the first type information in the user information of the user can be updated based on the access behavior information of the user in response to the access of the user to the target page, i.e. the first type information is updated in a real-time manner; for the second type information with an update frequency less than or equal to the preset threshold, the second type information in the user information can be periodically acquired and updated based on the update frequency of the second type information, i.e. the second type information is updated in a timing manner; therefore, not only the update efficiency of the user information can be improved, but also the information with an update frequency greater than the preset threshold can be timely updated.
[0080] Third Embodiment
[0081] For the first type of information, Figure 4 An example of the method flowchart provided by the present disclosure for updating the first type of information in the user information is shown as Figure 4 As shown, the method comprises:
[0082] S401, obtaining an access request of a user.
[0083] The access request is used to request access to the first page. The access request can include a URL (Uniform Resource Location) link of the first page input by the user, or can include a click operation for opening the first page based on the execution of the first page in the front page of the first page, which is not limited by the present disclosure.
[0084] S402, based on the back page of the first page, checking whether there is an information field associated with the back page in the preset association list; if yes, performing step S404; if no, performing step S403;
[0085] The preset association list contains the association relationship between the page and the information field; the information field is used to carry the user information.
[0086] S403, no update is triggered, and the process ends.
[0087] Specifically, if no information field associated with the back page is found in the preset association list based on the back page of the first page, the first page can be displayed through the terminal device used by the user, but the update process is not triggered.
[0088] S404, determining that the first page is the target page.
[0089] S405, in response to the user's access to the target page, updating the first type of information in the user information of the user based on the user's access behavior information.
[0090] The user's access behavior information can represent the user's access behavior, and the user's access behavior can include the entire process from the user initiating the access request to the user ending the access to the target page, or the entire process from the user initiating the access request to the user ending the access to the back page of the target page (i.e. the page associated with the first type of information).
[0091] After the first page is determined as the target page through S404, the user information corresponding to the first information field associated with the post-page (i.e., the second page) of the target page can be obtained as the first type information to be obtained in response to the user accessing the target page, and the first type information can be obtained based on the access behavior information of the user, and finally the first type information in the user information of the user can be updated based on the obtained first type information.
[0092] Specifically, in an optional embodiment, the user's access behavior information can be extracted from the process of the user accessing the target page in response to the user accessing the target page, and the first type information in the user information of the user can be updated according to the extracted user's access behavior information.
[0093] For example, in an embodiment, it is assumed that the user's access behavior information includes the user access duration and the device type of the access device, and the user access duration and the device type of the access device are obtained as the first type information to be obtained, and the user access duration and the device type of the access device are extracted from the process of the user accessing the target page.
[0094] The user access duration can be determined according to the duration between the time when the user starts accessing the target page and the time when the user ends accessing the target page, and the device type of the access device can be determined according to the device type of the access device used by the user to access the target page. For example, the access time of the user accessing the target page can be recorded in response to the user accessing the target page, and the leaving time of the user leaving the target page can be recorded in response to the user accessing the post-page of the target page, and the user access duration can be determined according to the difference between the recorded leaving time and the access time. For another example, the device type of the access device can also be determined through the device type contained in the access request of the user received in S401. After the user access duration and the device type of the access device are extracted in the above manner, the first type information in the user information of the user can be updated according to the extracted user access duration and the device type of the access device.
[0095] In another optional embodiment, the user's access behavior information can be obtained by performing authorized burying point processing on the target page in response to the user accessing the target page, and the first type information in the user information can be updated according to the user's access behavior information and the user information in the user information associated with the first type information.
[0096] The user information associated with the first type information in the user information of the user can refer to user information that can be determined by data processing to be the first type information. For example, assuming that the first type information is consumption willingness information, the consumption willingness information can be determined by weighting processing on the user access duration, the user occupation, and the user gender, and therefore the user information associated with the first type information includes the user access duration, the user occupation, and the user gender.
[0097] Exemplarily, in an embodiment, assuming that the user information corresponding to the first information field associated with the back page (i.e., the second page) of the target page includes price sensitivity information, the price sensitivity information can be taken as the first type information to be obtained, and the access behavior information (such as the user access duration, the device type of the access device, and the access content feature) of the user is obtained by performing authorized burying point processing on the target page. After the access behavior information of the user is obtained, the obtained access behavior information of the user and the first information field are sent to the strategy center. After the strategy center receives the access behavior information of the user and the first information field, the strategy center can determine the user information associated with the first information field included in the database according to the first information field and obtain the user information. Then, the first type information is determined according to the received access behavior information of the user and the determined user information associated with the first information field included in the database, and the user information stored in the database is updated according to the determined first type information.
[0098] In the embodiments of the present disclosure, when the strategy center determines the first type information according to the received access behavior information of the user and the user information associated with the first information field, the strategy center can determine the first type information by using a manner including but not limited to data weighting processing, and the present disclosure does not limit this. The following is described by taking the data weighting processing as an example:
[0099] Specifically, assuming that the received access behavior information of the user includes the user access duration, the device type of the access device, and the access content feature, the user information corresponding to the first information field is the consumption willingness information, and the user information associated with the first information field includes the user access duration, the user occupation, and the user gender. Therefore, after the strategy center receives the access behavior information of the user and the first information field, the strategy center can first obtain the user occupation and the user gender from the database, and then perform weighting processing on the user access duration, the user occupation, and the user gender according to the weight information corresponding to the user information associated with the first information field, to determine the consumption willingness information.
[0100] Exemplarily, in an embodiment, assuming that the weight information corresponding to the user access duration is 50%, the weight information corresponding to the user occupation is 20%, and the weight information corresponding to the user gender is 10%, the consumption willingness information can be determined according to the calculation manner of consumption willingness information = user access duration * 50% + user occupation * 20% + user gender * 10%.
[0101] In an optional embodiment, in the process of sending the acquired user access behavior information to the policy center, the acquired user access behavior information can be sent to the policy center through a message queue. Specifically, after acquiring the user access behavior information, the acquired user access behavior information can be sent to the message queue, and the message queue can send the acquired user access behavior information to the policy center according to a pre-set information processing method after receiving the acquired user access behavior information.
[0102] In the embodiments of the present disclosure, the pre-set information processing method can include but is not limited to sending the received user access behavior information to the policy center at a preset time step. Exemplarily, assuming that the current time is 12:10:30 and the preset time step is 3 seconds, the user access behavior information received between 12:10:30-12:10:33 can be sent to the policy center first, and then the user access behavior information received between 12:10:33-12:10:36 can be sent to the policy center, and so on until all the received user access behavior information is sent to the policy center. By this method, the problem of too high instantaneous update QPS (Query Per Second) and too large pressure of the policy center can be effectively avoided.
[0103] In an optional embodiment, before responding to the user's access to the target page, a setting request can also be acquired, and based on the setting request, the first page is set as the target page, and the association relationship between the second page and the first information field is added to the pre-set association list. The setting request is used to request to set the second page, and the second page is a post page of the first page.
[0104] For example, in one embodiment, after receiving a setting request from a developer, one or more pages with frequent information updates can be identified based on information update data within a preset time period, or one or more pages with frequent user access can be identified based on user access data within a preset time period. These identified pages and / or pages with frequent user access are then displayed on a terminal device, allowing the developer to select one page as a second page from the displayed pages. Assuming the developer selects the checkout page as the second page, and the preceding page for the checkout page is the shopping cart page, in response to the developer's setting request for the checkout page, the shopping cart page can be set as the target page, and the association between the checkout page and the first information field can be added to a preset association list.
[0105] In one optional implementation, the association between the second page and the first information field can be added to a preset association list using methods including but not limited to the following two approaches:
[0106] Method 1: In response to the user's association operation between the second page and the first information field, the first information field can be set as an information field associated with the second page, and the association relationship between the second page and the first information field can be added to the preset association list.
[0107] Method 2: After determining the target page using the above method, you can identify information fields with a high update frequency based on your experience with information updates within a preset time period. Then, set this information field as the information field associated with the second page and add the association between the second page and the first information field to the preset association list.
[0108] In one alternative implementation, before obtaining the tracking information of the target page, tracking operations can also be performed on the target page in response to the user's settings operation for the target page.
[0109] In this embodiment of the disclosure, before updating the user information according to the first type of information obtained, the user information stored in the database can also be detected. If the database does not contain the information field corresponding to the first type of information obtained, the information field is added to the database first, and then the user information corresponding to the information field is updated according to the first type of information obtained.
[0110] Exemplarily, in an embodiment, it is assumed that the acquired first type information is actual price sensitive information of the user, and the database does not contain an information field corresponding to the price sensitive information, then the information field "price sensitive information" can be added to the database first, and then the user information is updated according to the acquired actual price sensitive information of the user. Through this method, a specific information field (for example, the "price sensitive information" field) can be added only for specific users (for example, users with shopping needs), without setting the information field for all users, so that the data storage capacity of the database can be effectively reduced, and the data storage redundancy problem can be effectively reduced.
[0111] After the above-mentioned method of updating the user information is completed, the display information of the target page can be updated according to the updated user information through the pre-set upper access interface, so as to realize the personalized display of the target page.
[0112] Fourth embodiment
[0113] The above-mentioned method embodiments can be executed by an information updating apparatus, which can be used to realize the function modules or units of the method of the embodiments of the present disclosure. As shown in the Figure 5 The present disclosure provides an information updating apparatus 500, which comprises:
[0114] A first updating module 501 is configured to update a first type information in user information of a user based on access behavior information of the user in response to access of a target page by the user, wherein the target page is a front page of a page having an association relationship with the first type information;
[0115] A second updating module 502 is configured to periodically acquire and update a second type information in the user information based on an update frequency of the second type information.
[0116] Optionally, the first updating module 501 is specifically configured to:
[0117] Acquire an access request of the user, wherein the access request is used to request to access a first page;
[0118] Based on a back page of the first page, determine whether an information field associated with the back page exists in a preset association list, wherein the preset association list contains an association relationship between a page and an information field, and the information field is used to carry user information;
[0119] If it is determined that the first information field associated with the back page exists in the preset association list, it is determined that the first page is the target page, and the access of the target page by the user is responded.
[0120] Optionally, the back page of the first page is a second page, and the first updating module 501 is further configured to:
[0121] obtaining a setting request; the setting request is used to request to set the second page;
[0122] based on the setting request, setting the first page as the target page, and adding the association relationship between the second page and the first information field to the preset association list.
[0123] Optionally, the first updating module 501 is specifically configured to:
[0124] extracting the user's access behavior information from the process of the user accessing the target page, and updating the first type information in the user information of the user according to the extracted user's access behavior information; or
[0125] by performing authorized burying point processing on the target page, obtaining the user's access behavior information, and updating the first type information in the user information according to the user's access behavior information and the user information associated with the first type information in the user information of the user.
[0126] Optionally, the user's access behavior information includes at least one of the user's access duration, the device type of the access device, and the access content feature;
[0127] The first type information includes at least one of the user's access duration, the device type of the access device, the access content feature, the price sensitivity information, and the consumption willingness information.
[0128] Optionally, the second type information includes first updating information with an updating frequency equal to a preset threshold; the second type information includes second updating information with an updating frequency less than the preset threshold; and the second updating module 502 is specifically configured to:
[0129] determining a first updating period and a second updating period according to the updating frequency of the information included in the second type information; wherein the first updating information corresponds to the first updating period, and the second updating information corresponds to the second updating frequency; and the first updating period is less than the second updating period;
[0130] periodically obtaining and updating the first updating information based on the first updating period;
[0131] periodically obtaining and updating the second updating information based on the second updating period.
[0132] Optionally, before the first updating module 501, the information updating apparatus can further include a setting module, which is specifically configured to:
[0133] in response to a setting request of the user for the first page, determining the front page of the first page;
[0134] setting the front page of the first page as the target page.
[0135] Optionally, the first update information comprises user interest.
[0136] The second update information comprises at least one of user name, user age and user occupation.
[0137] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
[0138] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.
[0139] As shown in Figure 6 The electronic device 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded into a random access memory (RAM) 603 from a storage unit 608. Various programs and data required for the operation of the electronic device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0140] Various components in the electronic device 600 are connected to the I / O interface 605, including an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, a speaker, etc.; the storage unit 608, such as a magnetic disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0141] The computing unit 601 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any appropriate processors, controllers, microcontrollers, and the like. The computing unit 601 performs various methods and processes described above, such as the information updating method. For example, in some embodiments, the information updating method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded onto the RAM 603 and executed by the computing unit 601, one or more steps of the information updating method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the information updating method by any other appropriate means, such as by means of firmware.
[0142] Various implementations of the systems and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a System on Chip (SOC), a Complex Programmable Logic Device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0143] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0144] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory, read-only memory, erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0145] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device, e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0146] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0147] The computer system can include clients and servers. This relationship can be. The servers are typically remote from the clients with the interactions between them occurring over a communication network. The relationship between a client and a server is one of client-server. The server can be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
[0148] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in series, or executed in different orders, as long as the desired results of the technical solutions of the present disclosure are achieved, and the present disclosure is not limited herein.
[0149] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. An information updating method, comprising: The method is used for updating user information of a user; The user information of the user comprises first type information of the user; The first type information is information with an update frequency greater than a preset threshold; The first type information in the user information of the user is updated based on access behavior information of the user in response to access of the user to a target page; The target page is a front page of a page having an association relationship with the first type information.
2. The method of claim 1, wherein, The response to the access of the user to the target page comprises: An access request of the user is obtained, and the access request is used to request access to a first page; Based on a back page of the first page, it is determined whether an information field associated with the back page exists in a preset association list; the preset association list comprises association relationships between pages and information fields; the information field is used to carry user information; If it is determined that a first information field associated with the back page exists in the preset association list, it is determined that the first page is the target page, and the access of the user to the target page is responded to.
3. The method of claim 2, wherein, The back page of the first page is a second page; before the response to the access of the user to the target page, the method further comprises: A setting request is obtained; the setting request is used to request setting of the second page; Based on the setting request, the first page is set as the target page, and an association relationship between the second page and the first information field is added to the preset association list.
4. The method according to any one of claims 1 to 3, wherein, The first type information in the user information of the user is updated based on the access behavior information of the user; or The access behavior information of the user is obtained through authorized burying point processing of the target page, and the first type information in the user information is updated according to the access behavior information of the user and user information associated with the first type information in the user information of the user.
5. The method of any one of claims 1-3, wherein The access behavior information of the user comprises at least one of user access duration, device type of an access device, and access content feature; The first type information comprises at least one of user access duration, device type of an access device, access content feature, price sensitivity information, and consumption willingness information. The user information of the user further comprises second type information of the user; the second type information is information with an update frequency less than or equal to the preset threshold; 6. The method of any one of claims 1-3, wherein, The method further comprises: The second type information in the user information is periodically obtained and updated based on the update frequency of the second type information. The second type information comprises first update information with an update frequency equal to the preset threshold; and the second type information comprises second update information with an update frequency less than the preset threshold.
7. The method of claim 6, wherein, The second type of information in the user information is periodically acquired and updated based on an update frequency of the second type of information, including: According to the update frequency of the information included in the second type of information, a first update period and a second update period are determined; wherein the first update information corresponds to the first update period, and the second update information corresponds to the second update frequency; the first update period is less than the second update period; The first update information is periodically acquired and updated based on the first update period; The second update information is periodically acquired and updated based on the second update period.
8. The method of claim 7, wherein, The first update information includes user interest; The second update information includes at least one of user name, user age and user occupation.
9. An information updating apparatus comprising: The device is used to update the user information of a user; The user information of the user includes first type information of the user; the first type information is information with an update frequency greater than a preset threshold; The first update module is configured to update the first type information in the user information of the user based on the access behavior information of the user in response to the user accessing a target page; The target page is a front page of a page having an association with the first type information.
10. An electronic device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
11. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-8.
Citation Information
Patent Citations
Multi-dimensional user smart contact method and system based on user data update
CN105809556A
Course pushing method, device, storage medium and server
CN110472834A