Recommendation information processing method and device, and advertisement processing method and device
By obtaining historical IP address change data of terminal devices to predict cache duration, the problem of recommendation information monitoring error caused by periodic changes in IP addresses is solved, and the accuracy of monitoring results is improved.
Patent Information
- Application Number
- CN202011218279.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-04
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2040-11-04
AI Technical Summary
The periodic changes in the IP addresses of terminal devices lead to differences between the regions where recommendation information is distributed and the regions where it is displayed, resulting in a large error in the monitoring of recommendation effectiveness and making it impossible to guarantee the accuracy of the monitoring results.
By acquiring historical IP address change data of terminal devices, the cache duration is predicted using IP address change duration information. The cache duration of the data to be used is obtained and sent to the terminal devices to control the processing of recommended information in the cache, so that the cache duration is less than the IP address change duration, ensuring that the IP address is as consistent as possible when information is acquired and displayed.
This reduced the regional gap, decreased the error in monitoring the effectiveness of recommendations, and improved the accuracy of monitoring results.
Smart Images

Figure CN114443991B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of computer technology, and in particular, to a processing method and device of recommendation information, an advertisement processing method and device, an electronic device, and a computer storage medium. BACKGROUND
[0002] Generally, in order to provide information recommendation more conveniently, such as recommending advertisements and the like, and to avoid the situation that the recommendation is not timely due to slow network connection, a cache pool is generally established in a terminal device, and the recommendation information can be preloaded into the cache pool, and the preloaded recommendation information is displayed to a user at an appropriate time.
[0003] In order to accurately monitor the recommendation effect, the terminal device reports the IP address of the terminal device when obtaining the recommendation content and displaying the recommendation content, so as to monitor the delivery region and the display region of the recommendation information according to the IP address.
[0004] However, since the terminal device displays the recommendation information after a period of time after loading the recommendation information, there is a difference between the delivery region and the display region of the recommendation information, that is, the problem of regional GAP, which further leads to a large error of the recommendation effect monitoring and cannot guarantee the accuracy of the monitoring result. SUMMARY
[0005] Therefore, embodiments of the present application provide a processing method and device of recommendation information, an advertisement processing method and device, an electronic device, and a computer storage medium, to at least partially solve the above problems.
[0006] According to a first aspect of embodiments of the present application, a processing method of recommendation information is provided, including: obtaining IP address history change data of a terminal device with periodically changed IP addresses; performing data cache time length prediction on cache in the terminal device according to IP address change time length information in the IP address history change data, to obtain a to-be-used data cache time length, wherein the to-be-used data cache time length is less than the time length indicated by the IP address change time length information; and sending the to-be-used data cache time length to the terminal device, so that the terminal device performs recommendation processing on recommendation information in the cache of the terminal device according to the to-be-used data cache time length.
[0007] According to a second aspect of the embodiments of the present application, a processing method of recommendation information is provided, which is applied to a terminal device that periodically changes IP addresses, and the method comprises the following steps: sending a data cache time length obtaining request to a server; receiving a to-be-used data cache time length returned by the server, wherein the to-be-used data cache time length is obtained by performing data cache time length prediction according to IP address change time length information in IP address history change data of the terminal device; and performing recommendation processing on recommendation information in the cache according to the to-be-used data cache time length.
[0008] According to a third aspect of the embodiments of the present application, an advertisement processing method is provided, which comprises the following steps: obtaining IP address history change data of a terminal device that periodically changes IP addresses; performing advertisement cache time length prediction on cached advertisements in the terminal device according to IP address change time length information in the IP address history change data, to obtain a to-be-used advertisement cache time length, wherein the to-be-used advertisement cache time length is less than a time length indicated by the IP address change time length information; and sending the to-be-used advertisement cache time length to the terminal device, so that the terminal device performs recommendation processing on the advertisements in the cache of the terminal device according to the to-be-used advertisement cache time length.
[0009] According to a fourth aspect of the embodiments of the present application, an advertisement processing method is provided, which is applied to a terminal device that periodically changes IP addresses, and the method comprises the following steps: sending an advertisement cache time length obtaining request to a server; receiving a to-be-used advertisement cache time length returned by the server, wherein the to-be-used advertisement cache time length is obtained by performing advertisement cache time length prediction according to IP address change time length information in IP address history change data of the terminal device; and performing recommendation processing on advertisements in the cache according to the to-be-used advertisement cache time length.
[0010] According to a fifth aspect of the embodiments of the present application, a processing device of recommendation information is provided, which comprises the following steps: a data obtaining module is configured to obtain IP address history change data of a terminal device that periodically changes IP addresses; a time length predicting module is configured to perform data cache time length prediction on a cache in the terminal device according to IP address change time length information in the IP address history change data, to obtain a to-be-used data cache time length, wherein the to-be-used data cache time length is less than a time length indicated by the IP address change time length information; and a sending module is configured to send the to-be-used data cache time length to the terminal device, so that the terminal device performs recommendation processing on recommendation information in the cache of the terminal device according to the to-be-used data cache time length.
[0011] According to a sixth aspect of the embodiments of the present application, a processing device for recommendation information is provided, which is applied to a terminal device that periodically changes IP addresses, and the device comprises: a sending module configured to send a data cache duration acquisition request to a server; a receiving module configured to receive a data cache duration to be used returned by the server, wherein the data cache duration to be used is obtained by data cache duration prediction according to at least IP address change duration information in IP address history change data of the terminal device; and a processing module configured to perform recommendation processing on recommendation information in cache according to the data cache duration to be used.
[0012] According to a seventh aspect of the embodiments of the present application, an advertisement processing device is provided, which comprises: a data acquisition module configured to acquire IP address history change data of a terminal device that periodically changes IP addresses; a duration prediction module configured to perform advertisement cache duration prediction on advertisements cached in the terminal device according to at least IP address change duration information in the IP address history change data, to obtain an advertisement cache duration to be used, wherein the advertisement cache duration to be used is less than a duration indicated by the IP address change duration information; and a sending module configured to send the advertisement cache duration to be used to the terminal device, so that the terminal device performs recommendation processing on advertisements in cache of the terminal device according to the advertisement cache duration to be used.
[0013] According to an eighth aspect of the embodiments of the present application, an advertisement processing device is provided, which is applied to a terminal device that periodically changes IP addresses, and the device comprises: a sending module configured to send an advertisement cache duration acquisition request to a server; a receiving module configured to receive an advertisement cache duration to be used returned by the server, wherein the advertisement cache duration to be used is obtained by advertisement cache duration prediction according to at least IP address change duration information in IP address history change data of the terminal device; and a processing module configured to perform recommendation processing on advertisements in cache according to the advertisement cache duration to be used.
[0014] According to a ninth aspect of the embodiments of the present application, an Internet of Things device is provided, which is an Internet of Things device that periodically changes IP addresses, and the Internet of Things device comprises a processor; the processor is configured to send an advertisement cache duration acquisition request to a server, and configured to receive an advertisement cache duration to be used returned by the server, wherein the advertisement cache duration to be used is obtained by advertisement cache duration prediction according to at least IP address change duration information in IP address history change data of the Internet of Things device; and the processor is further configured to control a display to display advertisements in cache according to the advertisement cache duration to be used.
[0015] According to a tenth aspect of the embodiments of the present application, an electronic device is provided, comprising a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface complete communication with each other through the communication bus; the memory is used to store at least one executable instruction, the executable instruction makes the processor execute the operation corresponding to the processing method of recommendation information or the advertisement processing method.
[0016] According to an eleventh aspect of the embodiments of the present application, a computer storage medium is provided, and the computer storage medium stores a computer program, and the computer program is executed by a processor to implement the processing method of recommendation information or the advertisement processing method.
[0017] The processing method of recommendation information provided by the embodiments of the present application comprises the following steps: obtaining IP address history change data of a terminal device with periodically changed IP address; and performing data cache time length prediction on the cache in the terminal device according to IP address change time length information in the IP address history change data, to obtain data cache time length to be used. Since the IP address of the terminal device is periodically changed, the IP address change time length information in the IP address history change data can reflect the periodic change rule of the IP address, and the time length prediction is performed accordingly. The data cache time length to be used obtained is less than the time length indicated by the IP address change time length information. Then, the data cache time length to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache time length to be used. By ensuring that the data cache time length to be used is less than the time length indicated by the IP address change time length information, the IP address reported when a certain recommendation information is obtained and displayed is made as same as possible, thereby reducing the regional GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can also be obtained by those skilled in the art according to these drawings.
[0019] Figure 1A A flow chart of the steps of the processing method of recommendation information according to the first embodiment of the present application;
[0020] Figure 1B A schematic diagram of a scene example in the embodiment shown in the figure; Figure 1A
[0021] Figure 2 A step flow chart of a recommended information processing method according to Embodiment Two of the present application;
[0022] Figure 3 A step flow chart of a recommended information processing method according to Embodiment Three of the present application;
[0023] Figure 4 A step flow chart of a recommended information processing method according to Embodiment Four of the present application;
[0024] Figure 5A A step flow chart of an advertisement processing method according to Embodiment Five of the present application;
[0025] Figure 5B A schematic diagram of a scene example in the embodiment shown in Figure 5A
[0026] Figure 6 A structural block diagram of a recommended information processing device according to Embodiment Six of the present application;
[0027] Figure 7 A structural block diagram of a recommended information processing device according to Embodiment Seven of the present application;
[0028] Figure 8 A structural schematic diagram of an electronic device according to Embodiment Eleven of the present application. DETAILED DESCRIPTION
[0029] In order to make personnel in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the embodiments of the present application shall belong to the scope of protection of the embodiments of the present application.
[0030] The specific implementation of the embodiments of the present application will be further described below in conjunction with the drawings of the embodiments of the present application.
[0031] Embodiment One
[0032] Figure 1A A flow schematic diagram of a recommended information processing method provided by the embodiments of the present application is shown, as shown in the figure, the recommended information processing method comprises:
[0033] S101, acquiring IP address history change data of a terminal device with periodically changed IP address.
[0034] The method provided by the present embodiment can be applied to a server. The server and the terminal device can be connected through an Internet communication.
[0035] IP address (Internet Protocol Address) refers to an Internet Protocol address, also known as an Internet Protocol address. When a terminal device accesses the Internet, the Internet will allocate an IP address to it.
[0036] In this embodiment, the terminal device can be a mobile phone, a palm computer, a smart watch, smart glasses, and other terminal devices that may be periodically changed in IP address due to reasons such as operators.
[0037] Periodic change of IP address means that the IP address of the terminal device will change, and the time of change is periodic. Because public IP resources are limited, the number of users and terminal devices accessing the Internet is growing explosively. Therefore, appropriate strategies need to be used when accessing the Internet so that a large number of users or terminal devices share multiple IP addresses. Due to user habits and other reasons, the number of users or the number of terminal devices connected to the network changes periodically, including peak and trough periods, and thus the IP address of the terminal device changes periodically.
[0038] For example, a terminal device accesses the Internet through a base station distributed in each place, and an IP address pool can be allocated to one or more base stations. The base station constantly allocates IP addresses in the IP address pool to terminal devices accessing the Internet through the base station, and constantly collects the IP addresses of the terminal devices back to the IP address pool, resulting in a constantly changing IP address of the terminal device. When the number of terminal devices accessing the Internet through a certain base station is large, the IP address of the terminal device changes frequently; when the number of terminal devices accessing the Internet through a certain base station is small, the IP address of the terminal device changes less frequently. Due to user habits and other factors, the number of terminal devices accessing the Internet through the base station changes periodically, resulting in a periodic change in the IP address of the terminal device.
[0039] For example, the change period of the IP address can be one day or one week, and in addition, the change time curves of multiple change periods can be the same or similar, which is not limited in this embodiment.
[0040] Of course, the above is only an example, and in actual use, the reason for the change of the IP address can be other, and the change period can also be other, which is not limited by the above.
[0041] Since the IP address is periodically changed, if the preloaded recommended information A is locally stored in the terminal device, the IP address reported by the request sent by the terminal device when obtaining the recommended information A and the IP address reported by the request sent when displaying the recommended information A may be different, resulting in different regional information according to the IP addresses reported by the two requests, and thus the regional GAP problem. For example, 1000 pieces of recommended information are distributed in region A, but only 50% of the display regions of the 1000 pieces of recommended information are in region A.
[0042] In addition, since the IP address is periodically changed, the IP address history change data can reflect the change period of the IP address.
[0043] The IP address history change data can be the IP address history change data of the terminal device in a preset historical time period. The IP address history change data can specifically include the IP addresses historically used by the terminal device and the corresponding IP address change duration information.
[0044] The IP address change duration information is used to indicate the duration information of changing from a certain IP address to the next IP address. Specifically, the IP address change duration information in the IP address history change data can be determined by the timestamps of the change of two adjacent IP addresses in the IP address history change data.
[0045] S102, at least according to the IP address change duration information in the IP address history change data, data cache duration prediction is performed on the cache in the terminal device, and a to-be-used data cache duration is obtained.
[0046] In this embodiment, since the IP address is periodically changed, according to the IP address change duration information in the IP address history change data, the data cache duration prediction can be performed on the cache in the terminal device, and the to-be-used data cache duration smaller than the duration indicated by the IP address change duration information can be obtained.
[0047] For example, the IP address change duration information in the IP address history change data can be predicted first, and a predicted IP address change duration information is obtained. Then, on this basis, duration prediction is continued, and a to-be-used data cache duration smaller than the predicted IP address change duration is obtained. Alternatively, the to-be-used data cache duration can also be directly predicted on the basis of the IP address change duration information in the IP address history change data. This embodiment is not limited in this regard.
[0048] In an example, in the embodiment, sample data can be collected first, the sample data can include IP address change sample data and sample data cache duration, the IP address change sample data can include a plurality of sample IP addresses and the time stamp of changing to each IP address; after the sample data is collected, the neural network model can be trained according to the sample data.
[0049] When the step S102 is performed, the IP address history change data can be input into the trained neural network model, the duration prediction is performed through the neural network model, and the data cache duration to be used is output.
[0050] S103, the data cache duration to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used.
[0051] After the data cache duration to be used is determined, the data cache duration to be used can be sent to the terminal device through the Internet.
[0052] In an example, the terminal device can send a data cache duration acquisition request to the server, and the server sends the data cache duration to be used to the terminal device in response to the data cache duration acquisition request; or the server can actively send the data cache duration to be used to the terminal device after the data cache duration to be used is updated each time. The embodiment is not limited in this regard.
[0053] Since the data cache duration to be used is less than the duration indicated by the IP address change duration information, after the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used, the cache duration of the recommendation information can be less than the duration indicated by the IP address change duration information, so that the IP address reported when a certain recommendation information is acquired and displayed is as same as possible, so as to reduce the regional GAP as much as possible.
[0054] In an example, the terminal device can delete the recommendation information in the cache whose cache duration exceeds the data cache duration to be used; the terminal device can display the recommendation information in the cache which is not deleted to the user to perform recommendation when the recommendation time arrives.
[0055] The scheme provided by the embodiment can obtain the data cache time length to be used which is less than the time length indicated by the IP address change time length information by obtaining the IP address history change data of the terminal device which changes the IP address periodically and performing data cache time length prediction on the cache in the terminal device according to the IP address change time length information in the IP address history change data, and the terminal device can perform recommendation processing on the recommended information in the cache of the terminal device according to the data cache time length to be used, so that the IP addresses reported when obtaining and displaying a certain recommended information are as same as possible, thereby reducing the regional GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0056] With reference to Figure 1B , the scheme of the present application will be exemplarily described below through a specific implementation manner.
[0057] As shown in Figure 1B , the server can be in communication connection with multiple terminal devices through the Internet.
[0058] The server can obtain the IP address history change data of the multiple terminal devices. In the embodiment, the terminal device is a terminal device which changes the IP address periodically.
[0059] The cache time length estimation module can be arranged in the server, and the IP address history change data can be input to the cache time length estimation module; the cache time length estimation module performs data cache time length prediction on the cache in the terminal device according to at least the IP address change time length information in the IP address history change data, and outputs the data cache time length to be used, which is less than the time length indicated by the IP address change time length information.
[0060] The multiple terminal devices, such as terminal device 1, terminal device 1', etc., can respectively send a cache time length obtaining request to the server based on the Internet, and the server can return the data cache time length to be used to each terminal device in response to the received request.
[0061] Each terminal device can perform recommendation processing on the recommended information in the cache according to the data cache time length to be used obtained by the terminal device.
[0062] Taking the recommended information as an advertisement as an example, the terminal device 1 can perform recommendation processing on the advertisements 1, 2, 3, etc. in the cache of the terminal device 1 according to the data cache time length to be used obtained by the terminal device 1, for example, delete the advertisement 1 whose cache time length is greater than the data cache time length to be used, and display the advertisement 2 to the user for recommendation; the terminal device 1' can also perform recommendation processing on the advertisements 1', 2', 3', etc. in the cache of the terminal device 1' according to the data cache time length to be used obtained by the terminal device 1'.
[0063] The processing method of recommendation information provided in the embodiments of the present application comprises: obtaining IP address history change data of a terminal device which changes IP address periodically; and performing data cache duration prediction on cache in the terminal device according to IP address change duration information in the IP address history change data, to obtain data cache duration to be used. Since the IP address of the terminal device changes periodically, the IP address change duration information in the IP address history change data can reflect the periodic change rule of the IP address, and the data cache duration to be used obtained through the duration prediction is less than the duration indicated by the IP address change duration information. The data cache duration to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used. By ensuring that the data cache duration to be used is less than the duration indicated by the IP address change duration information, the IP address reported when a certain recommendation information is obtained and the IP address reported when a certain recommendation information is displayed can be made as same as possible, thereby reducing the regional GAP problem, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0064] The processing method of recommendation information of the embodiments can be executed by any appropriate electronic device with data processing capability, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.), a PC, and the like.
[0065] Embodiment Two
[0066] Figure 2 A flowchart of a processing method of recommendation information provided in the embodiments of the present application is shown, as shown in the figure, the processing method of recommendation information comprises:
[0067] S201, obtaining IP address history change data of a terminal device which changes IP address periodically.
[0068] The specific implementation of this step is referred to the above embodiments, which will not be repeated here.
[0069] S202, obtaining history cache duration data of the recommendation information cached in the terminal device.
[0070] In the embodiments, the history cache duration data can be the cache duration of the recommendation information in the cache of the terminal device in a historical preset time period. The cache duration of the recommendation information can be the duration from when the recommendation information is cached to when the recommendation information is deleted.
[0071] S203, performing data cache duration prediction on cache in the terminal device according to the IP address change duration information in the IP address history change data and the history cache duration data, to obtain data cache duration to be used.
[0072] In this embodiment, the data cache duration to be used is less than the duration indicated by the IP address change duration information.
[0073] In this embodiment, the data cache duration to be used is obtained by predicting the data cache duration of the cache in the terminal device according to the IP address change duration information in the IP address history change data and the history cache duration data, so as to ensure that the data cache duration to be used does not change abruptly.
[0074] Optionally, in this embodiment, step S203 can include:
[0075] The data cache duration to be used is obtained by predicting the data cache duration of the cache in the terminal device according to at least the IP address change duration information in the IP address history change data, and predicting and adjusting the candidate data cache duration according to the history average cache duration of the history cache duration data in a first preset time period.
[0076] In this embodiment, the difference between the data cache duration to be used and the history average cache duration is less than the difference between the candidate data cache duration and the history average cache duration.
[0077] If the recommendation information is recommended according to the data cache duration to be used, some of the recommendation information may be deleted. However, the purpose of caching the recommendation information is to display the recommendation information to the user, and if the recommendation information is deleted, it means that the resources (such as traffic resources, memory resources, etc.) used to cache the recommendation information are wasted.
[0078] Therefore, in this embodiment, the candidate data cache duration is adjusted according to the history average cache duration, so that the difference between the data cache duration to be used and the history average cache duration is less than the difference between the candidate data cache duration and the history average cache duration, thereby avoiding that the data cache duration to be used is too small, and prolonging the cache time of the recommendation information as much as possible, so as to improve the utilization rate of the recommendation information and the resource utilization rate.
[0079] In this embodiment, the first preset time period can be set by those skilled in the art according to the change period of the IP address, for example, if the change period of the IP address is 1 day, the first preset time period can be set as 1 week, and the like, which is not limited in this embodiment. Similarly, the method for adjusting the candidate data cache duration is not limited in this embodiment, and those skilled in the art can set it according to the requirement, as long as the difference between the to-be-used data cache duration and the historical average cache duration is less than the difference between the candidate data cache duration and the historical average cache duration.
[0080] S204, the to-be-used data cache duration is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the to-be-used data cache duration.
[0081] The specific implementation mode of this step can refer to step S103 of the above embodiment, which will not be described here.
[0082] The processing method of the recommendation information provided in this embodiment adjusts the candidate data cache duration according to the historical average cache duration of the historical cache duration data in the first preset time period, obtains the to-be-used data cache duration, so that the difference between the to-be-used data cache duration and the historical average cache duration is less than the difference between the candidate data cache duration and the historical average cache duration, thereby avoiding that the to-be-used data cache duration is too small, increasing the value of the to-be-used data cache duration on the basis of reducing the regional GAP, improving the utilization rate of the recommendation information, and improving the utilization rate of the flow and other resources.
[0083] Embodiment three
[0084] Figure 3 A flowchart of a processing method of recommendation information provided by an embodiment of the application is shown, as shown in the figure, the processing method of recommendation information comprises:
[0085] S301, obtaining IP address historical change data of a plurality of terminal devices.
[0086] In this embodiment, an application program can be installed on the terminal device, and the application program can obtain the IP address change data of the terminal device under the condition of user authorization and report to the server regularly. The server can obtain the data reported by a plurality of terminal devices, that is, the IP address historical change data of a plurality of terminal devices.
[0087] S302, according to the periodic change rule of the IP address corresponding to each of the plurality of terminal devices, grouping the IP address historical change data to obtain a plurality of groups of the IP address historical change data.
[0088] In this embodiment, the IP address periodic change rule is used to indicate the IP address change duration. Different IP address periodic change rules correspond to different IP address change durations. Therefore, in this embodiment, the IP address historical change data is divided into multiple groups according to the IP address periodic change rules corresponding to the multiple terminal devices, so that in the subsequent steps, the data cache duration to be used can be determined for the multiple IP address periodic change rules.
[0089] Optionally, S302 comprises: determining the IP address periodic change rule corresponding to each terminal device according to information of a cellular mobile network accessed by the terminal device, grouping the IP address historical change data according to the determined IP address periodic change rule, and obtaining multiple groups of the IP address historical change data, wherein the IP address periodic change rule corresponding to the terminal device is different according to different cellular mobile networks.
[0090] In this embodiment, the information of the accessed cellular mobile network can specifically include: the operator of the accessed cellular mobile network, the base station of the accessed cellular mobile network, the location of the accessed cellular mobile network, etc.
[0091] According to the information of the accessed cellular mobile network, the IP address periodic change rule corresponding to the terminal device can be determined. For example, the terminal device accesses a 4G network through an operator A, and the access location is Mumbai, India, so the IP address periodic change rule of the terminal device can be determined as the rule determined by the operator A for the 4G base station and adapted to the user Internet habits in Mumbai.
[0092] For example, after obtaining the IP address historical change data of multiple terminal devices, the terminal devices can be first grouped according to the operators, and then grouped again according to the network environment parameters of the terminal devices, wherein the network environment parameters are used to indicate that the cellular mobile network accessed by the terminal device is a 3G network, a 4G network, etc. If the terminal device also reports its own address information, the terminal devices can be further grouped according to the address information.
[0093] S303, determining the IP address historical change data group corresponding to each IP address periodic change rule.
[0094] S304, predicting the data cache duration of the cache in the terminal device to which the IP address periodic change rule is applied according to the IP address change duration information in each IP address historical change data group, and obtaining the data cache duration to be used.
[0095] The data cache duration to be used is less than the duration indicated by the IP address change duration information.
[0096] In this embodiment, the IP address change duration information in the IP address history change data packet can be used to determine the data cache duration to be used corresponding to each packet, i.e., the data cache duration to be used corresponding to each IP address periodic change rule.
[0097] S305, the data cache duration to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used.
[0098] In this embodiment, the terminal device can send a cache duration acquisition request to the server, and the request can carry information capable of identifying the IP address change rule corresponding to the terminal device, such as information of a cellular mobile network accessed by the terminal device.
[0099] The server can return the data cache duration to be used to the client in response to the acquired request.
[0100] The recommendation information processing method provided by the embodiments of the present application can make the data cache duration to be used obtained by the client adapt to the IP address periodic change rule applicable to the terminal device, thereby improving the utilization rate of the recommendation information in the terminal device and the utilization rate of the traffic and other resources.
[0101] The recommendation information processing method of the embodiments can be executed by any appropriate electronic device with data processing capability, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.), and a PC, etc.
[0102] Embodiment Four
[0103] Figure 4 A flowchart of a recommendation information processing method provided by the embodiments of the present application, the scheme provided by the embodiments of the present application is applied to a terminal device, which is a terminal device periodically changing IP addresses. As shown in the figure, the recommendation information processing method comprises:
[0104] S401, a data cache duration acquisition request is sent to a server.
[0105] For example, the data cache duration obtaining request can be automatically generated by the terminal device at a certain time interval. For example, the data cache duration obtaining request is generated and sent every 3 minutes.
[0106] S402, receiving the data cache duration to be used returned by the server.
[0107] The scheme for specifically determining the data cache duration to be used can refer to the above-mentioned embodiments, which will not be described here again.
[0108] S403, performing recommendation processing on the recommendation information in the cache according to the data cache duration to be used.
[0109] The related content of the specific recommendation processing can refer to the related art, and will not be described here again.
[0110] Optionally, in the embodiment, step S403 can specifically include: deleting the recommendation information with a cached duration greater than the data cache duration to be used from the cache. In this way, the recommendation information that may cause the regional GAP can be deleted. For example, if the cached duration of recommendation information A is 15 minutes, the cached duration of recommendation information B is 2 minutes, and the data cache duration to be used is 12 minutes, recommendation information A is deleted from the cache, and recommendation information B is retained.
[0111] The processing method of the recommendation information provided by the embodiment of the application, by obtaining the IP address history change data of the terminal device with periodically changed IP address; and at least according to the IP address change duration information in the IP address history change data, predicting the data cache duration of the cache in the terminal device, obtaining the data cache duration to be used, since the IP address of the terminal device is periodically changed, the IP address change duration information in the IP address history change data can reflect the periodic change rule of the IP address, and the duration prediction is performed accordingly, so that the data cache duration to be used obtained is less than the duration indicated by the IP address change duration information; and the data cache duration to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used, by ensuring that the data cache duration to be used is less than the duration indicated by the IP address change duration information, the IP address reported when obtaining and displaying a certain recommendation information can be made as same as possible, thereby reducing the regional GAP, reducing the error of the recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0112] Embodiment five
[0113] Figure 5AA flowchart of an advertisement processing method provided in an embodiment of the present application, which includes a terminal device and a server, as shown in the figure. The advertisement processing method includes the following steps.
[0114] In S501, the server acquires IP address history change data of a terminal device that changes IP addresses periodically.
[0115] First, in order to more clearly illustrate the scheme of the present application, the caching and display process of an advertisement are described first.
[0116] When the application program of the terminal device acquires an advertisement, an advertisement acquisition request is generated and sent to a content provider, such as an advertisement system or a demand side platform (DSP), etc. The advertisement acquisition request carries the IP address of the terminal device, denoted as IP1.
[0117] After the content provider receives the advertisement acquisition request, IP1 is recorded, and the advertisement is delivered to the terminal device. The content provider can count the delivery region of the advertisement based on IP1, for example, by counting to determine that 1000 advertisements are delivered in region A and 500 advertisements are delivered in region B.
[0118] The terminal device stores the acquired advertisement in the cache, and when the display opportunity arrives, the advertisement is displayed to the user, and advertisement display information is sent to a third-party advertisement monitoring platform. The advertisement display information carries the IP address of the terminal device, denoted as IP2. The third-party advertisement monitoring platform can count the display region of the advertisement according to IP2, for example, among the 1000 advertisements delivered to region A, 800 are displayed in region A and 200 are displayed in region B.
[0119] Since the IP address of the terminal device is periodically changed, IP1 and IP2 may be different, resulting in a region GAP problem caused by IP drift of the terminal device.
[0120] Therefore, in the present embodiment, by ensuring that the cache duration of the advertisement to be used is less than the duration indicated by the IP address change duration information, the IP address reported when a certain advertisement is acquired and the IP address reported when a certain advertisement is displayed can be made as same as possible, thereby reducing the region GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0121] Optionally, in the present embodiment, step S501 can include: acquiring IP address history change data of a plurality of terminal devices; grouping the IP address history change data according to IP address periodic change rules corresponding to the plurality of terminal devices respectively, to obtain a plurality of groups of IP address history change data; wherein the IP address periodic change rule is used to indicate the IP address change duration.
[0122] According to the IP address periodic change rule corresponding to each of the terminal devices, the IP address history change data is grouped to obtain a plurality of groups of the IP address history change data, including:
[0123] According to information of a plurality of cellular mobile networks accessed by the terminal devices, the IP address periodic change rule corresponding to each of the terminal devices is determined, and the IP address history change data is grouped according to the determined IP address periodic change rule to obtain a plurality of groups of the IP address history change data, wherein the IP address periodic change rule corresponding to each of the terminal devices is different according to different cellular mobile networks.
[0124] S502, the server at least according to the IP address change time length information in the IP address history change data, the advertisement cached in the terminal device is carried out advertisement cache time length prediction, obtains the advertisement cache time length to be used.
[0125] Among them, the advertisement cache time length to be used is less than the time length indicated by the IP address change time length information.
[0126] Optionally, in the embodiment, the advertisement processing method can further include: obtaining the historical cache time length data of the advertisement cached in the terminal device; correspondingly, step S502 includes: at least according to the IP address change time length information in the IP address history change data and the historical cache time length data, the data cache time length of the cache in the terminal device is predicted to obtain the advertisement cache time length to be used.
[0127] Optionally, in the embodiment of the application, at least according to the IP address change time length information in the IP address history change data and the historical cache time length data, the data cache time length of the cache in the terminal device is predicted to obtain the advertisement cache time length to be used, which can include:
[0128] At least according to the IP address change time length information in the IP address history change data, the data cache time length of the cache in the terminal device is predicted to obtain the candidate data cache time length to be used;
[0129] According to the historical average cache time length of the historical cache time length data in the first preset time period, the candidate data cache time length is predicted and adjusted to obtain the advertisement cache time length to be used, wherein the difference between the advertisement cache time length to be used and the historical average cache time length is less than the difference between the candidate data cache time length and the historical average cache time length.
[0130] In this embodiment, if the IP address historical change data is grouped according to the IP address periodic change rules corresponding to the plurality of terminal devices in step S501, and a plurality of groups of IP address historical change data are obtained, step S502 can include: determining the IP address historical change data group corresponding to each IP address periodic change rule.
[0131] According to the IP address change duration information in each IP address historical change data group, the data cache duration of the cache in the terminal device to which the corresponding IP address periodic change rule is applied is predicted, and the to-be-used advertisement cache duration is obtained.
[0132] For example, in this embodiment, the IP address historical change data of the terminal device can be grouped according to the operator, the network environment data (such as 3G network, 4G network, etc.) of the terminal device, and the like. Then, the advertisement cache duration prediction module is used to predict the duration according to each group of IP address historical change data, so as to obtain the to-be-used advertisement cache duration corresponding to each group of IP address historical change data. Figure 5B As shown, the IP address historical change data groups corresponding to the operator 1 and the operator 1' are input into the advertisement cache duration prediction module, the duration is predicted by the advertisement cache duration prediction module, and the to-be-used advertisement cache duration corresponding to each group of IP address historical change data is output.
[0133] S503, the terminal device sends an advertisement cache duration acquisition request to the server.
[0134] For example, the terminal device can include an advertisement cache management module, which is used to send an advertisement cache duration acquisition request to the server at a regular time.
[0135] S504, the server returns the to-be-used advertisement cache duration to the terminal device.
[0136] S505, the terminal device performs recommendation processing on the advertisements in the cache according to the to-be-used advertisement cache duration.
[0137] Optionally, in this embodiment, the terminal device can delete the advertisements with a cached duration greater than the to-be-used advertisement cache duration from the cache.
[0138] For example, in this embodiment, the advertisement cache management module can perform a recommendation operation on the advertisements in the cache according to the to-be-used advertisement cache duration. For example Figure 5BAs shown, the operator of the terminal device 1 is 1, and the advertisement cache management module therein can perform a deletion operation on the cached advertisements_1, advertisements_2, etc. in the terminal device 1 according to the advertisement cache duration corresponding to the operator 1; the operator of the terminal device 1' is 1', and the advertisement cache management module therein can perform a deletion operation on the cached advertisements_1', advertisements_2', etc. in the terminal device 1' according to the advertisement cache duration corresponding to the operator 1'.
[0139] The advertisement processing method provided by the embodiments of the present application comprises the following steps: obtaining IP address history change data of a terminal device periodically changing IP addresses; and performing data cache duration prediction on cache in the terminal device according to at least IP address change duration information in the IP address history change data, to obtain an advertisement cache duration to be used. Since the IP address of the terminal device is periodically changed, the IP address change duration information in the IP address history change data can reflect the periodic change rule of the IP address, and the duration prediction is performed accordingly, so that the obtained advertisement cache duration to be used is less than the duration indicated by the IP address change duration information. The advertisement cache duration to be used is sent to the terminal device, so that the terminal device performs recommendation processing on advertisements in the cache of the terminal device according to the advertisement cache duration to be used. By ensuring that the advertisement cache duration to be used is less than the duration indicated by the IP address change duration information, the IP address reported when a certain advertisement is obtained and displayed is made as same as possible, thereby reducing the regional GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0140] Embodiment six
[0141] Figure 6 As shown in the structural schematic diagram of the recommendation information processing apparatus provided by the embodiments of the present application, it comprises: a data acquisition module 601, configured to acquire IP address history change data of a terminal device periodically changing IP addresses; a duration prediction module 602, configured to perform data cache duration prediction on cache in the terminal device according to at least IP address change duration information in the IP address history change data, to obtain a data cache duration to be used, wherein the data cache duration to be used is less than the duration indicated by the IP address change duration information; and a sending module 603, configured to send the data cache duration to be used to the terminal device, so that the terminal device performs recommendation processing on recommendation information in the cache of the terminal device according to the data cache duration to be used.
[0142] Optionally, in an embodiment of the present application, the data obtaining module is further configured to obtain historical cache time length data of the terminal device caching the recommended information; and the time length prediction module is specifically configured to predict the data cache time length of the cache in the terminal device according to at least the IP address change time length information in the IP address history change data and the historical cache time length data, and obtain the data cache time length to be used.
[0143] Optionally, in an embodiment of the present application, the time length prediction module comprises: a candidate time length prediction module, configured to predict the data cache time length of the cache in the terminal device according to at least the IP address change time length information in the IP address history change data, and obtain a candidate data cache time length to be used; and an adjustment module, configured to adjust the candidate data cache time length according to a historical average cache time length of the historical cache time length data in a first preset time period, and obtain the data cache time length to be used, wherein a difference between the data cache time length to be used and the historical average cache time length is smaller than a difference between the candidate data cache time length and the historical average cache time length.
[0144] Optionally, in an embodiment of the present application, the data obtaining module comprises: a data obtaining sub-module, configured to obtain IP address history change data of a plurality of terminal devices; and a grouping module, configured to group the IP address history change data according to IP address periodic change rules respectively corresponding to the plurality of terminal devices, and obtain a plurality of groups of the IP address history change data; wherein the IP address periodic change rule is used to indicate an IP address change time length.
[0145] Optionally, in an embodiment of the present application, the time length prediction module comprises: a grouping determination module, configured to determine IP address history change data groups corresponding to each IP address periodic change rule; and a grouping prediction module, configured to predict the data cache time length of the cache in the terminal device to which the IP address periodic change rule is applied according to the IP address change time length information in each IP address history change data group, and obtain the data cache time length to be used.
[0146] Optionally, in an embodiment of the present application, the grouping module is specifically configured to determine the IP address periodic change rule corresponding to each terminal device according to information of a cellular mobile network accessed by the terminal device, group the IP address history change data according to the determined IP address periodic change rule, and obtain a plurality of groups of the IP address history change data, wherein the IP address periodic change rule corresponding to the terminal device is different according to different cellular mobile networks.
[0147] The scheme provided by the embodiments of the present application comprises the following steps: obtaining IP address history change data of a terminal device which changes IP addresses periodically; and performing data cache time length prediction on the cache in the terminal device according to IP address change time length information in the IP address history change data, to obtain a data cache time length to be used. Since the IP address of the terminal device changes periodically, the IP address change time length information in the IP address history change data can reflect the periodic change rule of the IP address, and accordingly, the time length prediction can make the data cache time length to be used less than the time length indicated by the IP address change time length information. Then, the data cache time length to be used is sent to the terminal device, so that the terminal device performs recommendation processing on the recommendation information in the cache of the terminal device according to the data cache time length to be used. By ensuring that the data cache time length to be used is less than the time length indicated by the IP address change time length information, the IP address reported when a certain recommendation information is obtained and displayed can be made as same as possible, thereby reducing the regional GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0148] Embodiment seven
[0149] Figure 7 The structure diagram of the processing device for recommendation information provided by the embodiments of the present application is applied to a terminal device which changes IP addresses periodically, and comprises: a sending module 701 configured to send a data cache time length obtaining request to a server; a receiving module 702 configured to receive a data cache time length to be used returned by the server, wherein the data cache time length to be used is determined by the above embodiments; and a processing module 703 configured to perform recommendation processing on recommendation information in the cache according to the data cache time length to be used.
[0150] Optionally, in the embodiments, the processing module is specifically configured to delete, from the cache, the recommendation information whose cached time length is greater than the data cache time length to be used.
[0151] The scheme provided in the embodiments of the present application comprises the following steps: obtaining IP address history change data of a terminal device which changes IP addresses periodically; and performing data cache time length prediction on cache in the terminal device according to IP address change time length information in the IP address history change data, to obtain a data cache time length to be used. Since the IP address of the terminal device is changed periodically, the IP address change time length information in the IP address history change data can reflect the periodic change rule of the IP address, and accordingly, the time length prediction can make the data cache time length to be used less than the time length indicated by the IP address change time length information. The data cache time length to be used is sent to the terminal device, so that the terminal device performs recommendation processing on recommended information in the cache of the terminal device according to the data cache time length to be used. By ensuring that the data cache time length to be used is less than the time length indicated by the IP address change time length information, the IP address reported when a certain recommended information is obtained and displayed can be made as same as possible, thereby reducing the regional GAP, reducing the error of recommendation effect monitoring, and improving the accuracy of the monitoring result.
[0152] Embodiment eight
[0153] Another embodiment of the present application further provides an advertisement processing apparatus applied to a server, comprising: a data obtaining module, configured to obtain IP address history change data of a terminal device which changes IP addresses periodically; a time length predicting module, configured to perform advertisement cache time length prediction on cache of the terminal device according to IP address change time length information in the IP address history change data, to obtain a data cache time length to be used, wherein the data cache time length to be used is less than the time length indicated by the IP address change time length information; and a sending module, configured to send the data cache time length to be used to the terminal device, so that the terminal device performs recommendation processing on the cache of the terminal device according to the data cache time length to be used.
[0154] Embodiment nine
[0155] Another embodiment of the present application further provides an advertisement processing apparatus applied to a terminal device, wherein the terminal device is a terminal device which changes IP addresses periodically, and the advertisement processing apparatus comprises: a sending module, configured to send an advertisement cache time length obtaining request to a server; a receiving module, configured to receive a data cache time length to be used returned by the server, wherein the data cache time length to be used is determined by the above method embodiment; and a processing module, configured to perform recommendation processing on cache according to the data cache time length to be used.
[0156] Embodiment ten
[0157] Another embodiment of the present application also provides an Internet of Things device, the Internet of Things device is an Internet of Things device periodically changing an IP address, the Internet of Things device comprises a processor; the processor is configured to send an advertisement cache time length obtaining request to a server, and receive an advertisement cache time length to be used returned by the server, wherein the advertisement cache time length to be used is obtained by predicting the advertisement cache time length according to IP address change time length information in IP address history change data of the Internet of Things device; and the processor is further configured to control a display to display an advertisement in the cache according to the advertisement cache time length to be used.
[0158] The method for obtaining the advertisement cache time length to be used can refer to the above embodiments, which will not be described here.
[0159] For example, in the embodiments of the present application, the Internet of Things device can comprise a microphone configured to receive a voice instruction of a user; the processor of the Internet of Things device can be configured to send a voice recognition request to a voice recognition server in response to the voice instruction; after the Internet of Things device receives a returned voice recognition result, the processor is configured to control the display to display an advertisement in the cache according to the advertisement cache time length to be used in response to the voice recognition result.
[0160] For example, the Internet of Things device can comprise a smart speaker, a user can input a voice instruction of “help me search for down jackets” to the smart speaker, the smart speaker can send a voice recognition request to a voice recognition server based on the voice instruction; the smart speaker can receive a returned voice recognition result, and can control a display to display an advertisement with a cached time length less than the to-be-used time length to the user in response to the voice recognition result according to the advertisement cache time length to be used.
[0161] When displaying the advertisement, the advertisement can be directly displayed through the display of the smart speaker, or the advertisement can be displayed through other displays connected to the smart speaker, such as a television.
[0162] The displayed advertisement can be an advertisement corresponding to the voice recognition result, for example, an advertisement related to “search” and “down jackets”, or can be an advertisement related to a version update of the Internet of Things device, or can be any other advertisement, which is not limited in the present application.
[0163] For example, the Internet of Things device can further include a smart delivery screen. A user can input a corresponding instruction, such as a movie session query instruction, by triggering a screen or a button of the smart delivery screen. The smart delivery screen can send the instruction of the user to a server and obtain data returned by the server. While sending the instruction to the server, the smart delivery screen can buffer an advertisement for a to-be-used time length, and control the display to show the user the advertisement whose buffered time length is less than the to-be-used time length. The displayed advertisement can be related to a location where the smart delivery screen is located. For example, the smart delivery screen in a shopping mall can show popular shops or goods in the shopping mall. The displayed advertisement can also be any other advertisement, which is not limited in the present application.
[0164] Similarly, the Internet of Things device can also be a smart watch, a camera, an access control, a router, a driving recorder, and the like, which are not limited in the present application.
[0165] The specific implementation of the apparatus can refer to the corresponding description in the corresponding steps and units in the method embodiments of processing the recommendation information or processing the advertisement, which is not repeated here. It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, the specific working process of the apparatus and the module described above can refer to the corresponding process description in the foregoing method embodiments, which is not repeated here.
[0166] Embodiment Eleven
[0167] Referring to Figure 8 , a structural schematic diagram of an electronic device according to an embodiment of the present application is shown, and the specific implementation of the electronic device is not limited in the embodiment of the present application.
[0168] As Figure 8 shown, the electronic device can include a processor 802, a communications interface 804, a memory 806, and a communications bus 808.
[0169] The processor 802, the communications interface 804, and the memory 806 can communicate with each other through the communications bus 808.
[0170] The communications interface 804 is configured to communicate with other electronic devices or servers.
[0171] The processor 802 is configured to execute the program 810, and specifically can execute the related steps in the method embodiments of processing the recommendation information or processing the advertisement.
[0172] Specifically, the program 810 can include program code including computer operation instructions.
[0173] The processor 802 can be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement one or more embodiments of the present application. The one or more processors included in the smart device can be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
[0174] The memory 806 is configured to store a program 810. The memory 806 can include a high-speed RAM memory, and can further include a non-volatile memory, such as at least one disk memory.
[0175] The program 810 can be specifically configured to enable the processor 802 to perform the operations of the above-described method embodiments.
[0176] The specific implementation of each step in the program 810 can refer to the corresponding description in the above-described processing method of recommendation information or the processing method embodiments of advertisements, and will not be described here in detail. It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the foregoing method embodiments, and will not be described here in detail.
[0177] It should be noted that, according to the needs of implementation, each component / step described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or part of the operations of the components / steps can be combined into a new component / step, to achieve the purpose of the embodiments of the present application.
[0178] The above-described methods according to embodiments of the present application can be implemented in hardware, firmware, or software, or any combination thereof, and can be stored in a recording medium such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or be downloaded by network from a remote recording medium or non-transitory machine-readable medium originally stored in a local recording medium and then stored in a local recording medium, so that such software implementing the methods described herein can be processed by a general-use computer, a special-purpose processor, or programmable or special-purpose hardware (such as ASIC or FPGA) using the recording medium. It can be understood that the computer, processor, microprocessor controller, or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is accessed and executed by the computer, processor, or hardware, the processing method of recommendation information or the advertising processing method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the processing method of recommendation information or the advertising processing method shown herein, the execution of the code will convert the general-purpose computer into a special-purpose computer for executing the processing method of recommendation information or the advertising processing method shown herein.
[0179] Those skilled in the art can appreciate that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.
[0180] The above embodiments are only used to illustrate but not limit the embodiments of the present application, and a person of ordinary skill in the relevant art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application, therefore all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.
Claims
1. A method for processing recommendation information, comprising: Obtain historical IP address change data for terminal devices that periodically change their IP addresses; Based at least on the IP address change duration information in the historical IP address change data, the data cache duration in the terminal device is predicted to obtain the data cache duration to be used, wherein the data cache duration to be used is less than the duration indicated by the IP address change duration information; Send the data cache duration to be used to the terminal device, so that the terminal device can perform recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used; The method further includes: obtaining historical cache duration data of the recommended information cached in the terminal device; The step of predicting the data cache duration in the terminal device based at least on the IP address change duration information in the historical IP address change data, and obtaining the data cache duration to be used, includes: Based at least on the IP address change duration information in the historical IP address change data and the historical cache duration data, the data cache duration in the terminal device is predicted to obtain the data cache duration to be used.
2. The method according to claim 1, wherein, The step of predicting the data cache duration in the terminal device based at least on the IP address change duration information in the historical IP address change data and the historical cache duration data, to obtain the data cache duration to be used, includes: At least based on the IP address change duration information in the historical IP address change data, the data cache duration in the terminal device is predicted to obtain the candidate data cache duration to be used. Based on the historical cache duration data, the historical average cache duration within a first preset time period is used to predict and adjust the candidate data cache duration to obtain the data cache duration to be used. The difference between the data cache duration to be used and the historical average cache duration is less than the difference between the candidate data cache duration and the historical average cache duration.
3. The method according to claim 1, wherein, The method for obtaining historical IP address change data of terminal devices that periodically change IP addresses includes: Obtain historical IP address change data of multiple terminal devices; Based on the periodic change rules of the IP addresses corresponding to the multiple terminal devices, the historical change data of the IP addresses are grouped to obtain multiple groups of historical change data of the IP addresses. The IP address periodic change rule is used to indicate the duration of IP address changes.
4. The method according to claim 3, wherein, The step of predicting the data cache duration in the terminal device based at least on the IP address change duration information in the historical IP address change data, and obtaining the data cache duration to be used, includes: Identify the IP address historical change data groups corresponding to the periodic change rules for each IP address; Based on the IP address change duration information in each IP address historical change data group, the data cache duration in the cache of the terminal device to which the corresponding IP address periodic change rule applies is predicted to obtain the data cache duration to be used.
5. The method according to claim 3, wherein, The step involves grouping the historical IP address change data according to the periodic change rules of the IP addresses corresponding to the multiple terminal devices, to obtain multiple groups of historical IP address change data, including: Based on the information of the cellular mobile networks accessed by the multiple terminal devices, the periodic change rules of the IP addresses corresponding to each terminal device are determined. The historical change data of the IP addresses are grouped according to the determined periodic change rules of the IP addresses to obtain multiple groups of historical change data of the IP addresses. The periodic change rules of the IP addresses corresponding to the terminal devices are different depending on the cellular mobile network.
6. A method for processing recommendation information, applied to a terminal device, wherein the terminal device is a terminal device that periodically changes its IP address, the method comprising: Send a request to the server to retrieve the data cache duration; The server receives the data cache duration to be used, wherein the data cache duration to be used is obtained by the server through data cache duration prediction based at least on the IP address change duration information in the IP address historical change data of the terminal device and the historical cache duration data of the recommendation information in the cache, and the data cache duration to be used is less than the duration indicated by the IP address change duration information; The recommended information in the cache is processed according to the cache duration of the data to be used.
7. The method according to claim 6, wherein, The step of performing recommendation processing on the cached information based on the cache duration of the data to be used includes: Remove the recommended information from the cache whose cache duration is longer than the cache duration of the data to be used.
8. An advertising processing method, comprising: Obtain historical IP address change data for terminal devices that periodically change their IP addresses; Based at least on the IP address change duration information in the historical IP address change data, the advertising cache duration cached in the terminal device is predicted to obtain the advertising cache duration to be used, wherein the advertising cache duration to be used is less than the duration indicated by the IP address change duration information; Send the advertising cache duration to be used to the terminal device, so that the terminal device can recommend advertisements in the cache of the terminal device according to the advertising cache duration to be used; The method further includes: obtaining historical cache duration data of the advertisement cached in the terminal device; The step of predicting the ad caching duration of cached ads in the terminal device based at least on the IP address change duration information in the historical IP address change data, and obtaining the ad caching duration to be used, includes: Based at least on the IP address change duration information in the historical IP address change data and the historical caching duration data of the advertisement, the advertisement caching duration in the terminal device is predicted to obtain the advertisement caching duration to be used.
9. An advertising processing method applied to a terminal device, wherein the terminal device is a terminal device that periodically changes its IP address, the method comprising: Send a request to the server to retrieve the ad cache duration; The server receives the ad cache duration to be used, wherein the ad cache duration to be used is obtained by the server predicting the ad cache duration based on at least the IP address change duration information in the IP address historical change data of the terminal device and the historical cache duration data of the ads in the cache, and the ad cache duration to be used is less than the duration indicated by the IP address change duration information; The ads in the cache are recommended based on the cache duration to be used.
10. A device for processing recommendation information, comprising: The data acquisition module is used to acquire historical IP address change data of terminal devices that periodically change their IP addresses; The duration prediction module is used to predict the data cache duration of the cache in the terminal device based at least on the IP address change duration information in the IP address historical change data, and to obtain the data cache duration to be used, wherein the data cache duration to be used is less than the duration indicated by the IP address change duration information; The sending module is used to send the data cache duration to be used to the terminal device, so that the terminal device can perform recommendation processing on the recommendation information in the cache of the terminal device according to the data cache duration to be used; The duration prediction module is further configured to obtain historical cache duration data of the recommended information in the terminal device, and at least based on the IP address change duration information in the historical IP address change data and the historical cache duration data, predict the data cache duration in the terminal device to obtain the data cache duration to be used.
11. A recommendation information processing apparatus, applied to a terminal device, wherein the terminal device is a terminal device that periodically changes its IP address, the apparatus comprising: The sending module is used to send a request to the server to retrieve the data cache duration; The receiving module is used to receive the data cache duration to be used returned by the server, wherein the data cache duration to be used is obtained by the server by predicting the data cache duration based at least on the IP address change duration information in the IP address historical change data of the terminal device and the historical cache duration data of the recommendation information in the cache, and the data cache duration to be used is less than the duration indicated by the IP address change duration information; The processing module is used to perform recommendation processing on the recommended information in the cache according to the cache duration of the data to be used.
12. An advertising processing device, comprising: The data acquisition module is used to acquire historical IP address change data of terminal devices that periodically change their IP addresses; The duration prediction module is used to predict the advertising cache duration of the advertisements cached in the terminal device based at least on the IP address change duration information in the IP address historical change data, and to obtain the advertising cache duration to be used, wherein the advertising cache duration to be used is less than the duration indicated by the IP address change duration information; The sending module is used to send the advertising cache duration to be used to the terminal device, so that the terminal device can perform recommendation processing on the advertisements in the cache of the terminal device according to the advertising cache duration to be used. The duration prediction module is also used to obtain historical cache duration data of the advertisement in the terminal device, and at least based on the IP address change duration information in the historical IP address change data and the historical cache duration data of the advertisement, to predict the advertisement cache duration in the terminal device and obtain the advertisement cache duration to be used.
13. An advertising processing apparatus, applied to a terminal device, wherein the terminal device is a terminal device that periodically changes its IP address, the apparatus comprising: The sending module is used to send a request to the server to obtain the ad cache duration; The receiving module is used to receive the ad cache duration to be used returned by the server, wherein the ad cache duration to be used is obtained by predicting the ad cache duration based at least on the IP address change duration information in the IP address historical change data of the terminal device and the historical cache duration data of the ads in the cache, and the ad cache duration to be used is less than the duration indicated by the IP address change duration information; The processing module is used to recommend ads in the cache based on the cache duration to be used.
14. An Internet of Things (IoT) device, wherein the IoT device is an IoT device that periodically changes its IP address, and the IoT device includes a processor; The processor is configured to send an ad cache duration acquisition request to the server, and to receive the ad cache duration to be used returned by the server, wherein... The ad cache duration to be used is predicted by the server based on the IP address change duration information in the historical IP address change data of the IoT device and the historical cache duration data of the ads in the cache. The ad cache duration to be used is less than the duration indicated by the IP address change duration information. The processor is also used to control the display to show the ads in the cache based on the duration of the ad cache to be used.
15. An electronic device comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the recommendation information processing method as described in any one of claims 1-7 or the advertising processing method as described in any one of claims 8 and 9.
16. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for processing recommendation information as described in any one of claims 1-7 or the method for processing advertising as described in any one of claims 8 and 9.
Citation Information
Patent Citations
System and method for providing targeted advertising through traffic analysis in a network environment
CN102986195A
Internet data representation control method and system
CN107590605A