Traffic package page display method and system based on time dimension
By filtering historical traffic data, the most suitable traffic package is automatically displayed, which solves the problems of inflexible traffic package display methods and inaccurate results in the existing technology, and improves the efficiency of traffic package processing.
Patent Information
- Application Number
- CN202510501488.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-04-21
AI Technical Summary
In the prior art, the traffic packet display method is poorly flexible and the display results are not accurate enough, resulting in low efficiency in handling traffic packet services.
The first filter is performed based on the consumption data of the historical traffic package and the available data of the historical traffic package, and the second filter is performed based on the actual usage data of the historical traffic, and the final candidate traffic package is obtained and displayed on the traffic package display page.
It realizes automatic flow packet screening and display without inputting data, which improves the flexibility of traffic packet display methods and the accuracy of display results, thereby improving the efficiency of traffic packet processing.
Smart Images

Figure CN120034585A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and specifically relates to a method and system for displaying a traffic package page based on a time dimension. Background Art
[0002] With the development of the Internet industry, the access of devices to the Internet and the transmission of information require traffic as a medium, and the demand for traffic package services is increasing, especially the demand for online processing through the operator's traffic service processing platform. Operators also provide a variety of optional traffic packages. By displaying the traffic package packages on the traffic package display page for online traffic package selection and service processing, the efficiency of traffic package processing can be improved.
[0003] In the prior art, the way to display the traffic package page is mainly to receive the input operator name, determine the currently selectable traffic packages based on the traffic package services launched by the corresponding operator, and then display the selectable traffic packages in the traffic package service processing page by random display. However, the prior art is unable to display traffic packages based on the actual usage characteristics and actual usage needs of traffic, and at the same time, different traffic package data needs to be screened and displayed multiple times during the traffic package service processing. There are problems such as poor flexibility in the traffic package display method and inaccurate traffic package display results, which leads to low efficiency in traffic package service processing. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method and system for displaying a traffic package page based on a time dimension, which solves the problems of poor flexibility in the traffic package display method and inaccurate traffic package display results in the prior art. By performing a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package available data, and performing a second screening based on historical traffic actual usage data, and displaying the final candidate traffic packages obtained by screening on the traffic package display page, the purpose of automatically screening and displaying traffic packages can be achieved without entering data, thereby improving the flexibility of the traffic package display method and the accuracy of the traffic package display results, and is conducive to improving the efficiency of traffic package handling.
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a traffic package page based on a time dimension, the method comprising: Upon receiving a request to access the traffic package display page, obtaining historical traffic package consumption data, historical traffic package availability data, and historical traffic actual usage data; Obtaining the sending time of the access request, and determining the candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database; Performing a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package availability data to obtain initial candidate traffic packages; Based on the historical traffic actual usage data, the initial candidate traffic packages are screened for the second time to obtain the final candidate traffic packages, and the final candidate traffic packages are displayed on the traffic package display page.
[0006] Optionally, a second screening of the initial candidate traffic packages is performed based on historical actual traffic usage data, including: Building an actual traffic usage feature vector based on preset traffic usage feature dimensions and historical traffic actual usage data, and building multiple package available traffic feature vectors based on preset traffic usage feature dimensions and multiple initial candidate traffic packages; Based on the actual traffic usage feature vector and the available traffic feature vector of each package, the vector similarity between the actual historical traffic usage data and each initial candidate traffic package is calculated; The initial candidate traffic packages are sorted based on vector similarity, and the initial candidate traffic packages are secondarily screened based on the sorting results and the preset package display quantity.
[0007] Optionally, before sorting the initial candidate traffic packages based on vector similarity, the method further includes: Respectively obtain the value-added program identifiers in each initial candidate traffic package and the traffic usage program identifiers in the historical traffic actual usage data, and identify whether there is a target identifier in the value-added program identifier that is the same as the traffic usage program identifier; In the case that there is a target identifier identical to the traffic usage program identifier in the value-added program identifier, obtaining a first number of the target identifiers and a second number of the traffic usage program identifiers; A ratio of the first number to the second number is calculated, a corresponding vector similarity is updated based on the ratio, and the updated results of the vector similarity are sorted.
[0008] Optionally, the final candidate traffic packages are displayed on the traffic package display page, including: Obtain the operator identifiers of multiple final candidate traffic packages; Determine the display position of each final candidate traffic package on the traffic package display page based on the operator identifier and the stored display position of each operator's package; Based on the vector similarity ranking results between each final candidate traffic package and the actual historical traffic usage data, each final candidate traffic package is displayed in a displayable position.
[0009] Optionally, a second screening of the initial candidate traffic packages is performed based on historical actual traffic usage data, including: Determine the change trend of traffic usage demand based on the actual traffic usage in the historical traffic actual usage data; Based on the traffic usage demand change trend and actual traffic usage, predict the traffic demand at the sending time; Identify the relationship between the traffic demand and the candidate available traffic in multiple initial candidate traffic packages, filter out the initial candidate traffic packages whose traffic demand is greater than the candidate available traffic, and obtain the final candidate traffic packages.
[0010] Optionally, a first screening of candidate traffic packages is performed based on historical traffic package consumption data and historical traffic package availability data, including: Calculate the difference between the historical data of traffic package consumption and the package amount in the candidate traffic package, and filter the candidate traffic packages based on the difference in amount and a preset package consumption difference threshold; Determine the useless traffic items in the available data of the historical traffic packages based on the historical traffic actual usage data, and identify whether the available traffic items of the candidate traffic packages in the package filtering results include the useless traffic items; When the available traffic items of the candidate traffic packages in the package filtering results include useless traffic items, the candidate traffic packages are filtered out to obtain the initial candidate traffic packages.
[0011] Optionally, the useless traffic items in the available data of the historical traffic package are determined based on the historical actual traffic usage data, including: Based on the preset traffic usage keywords, respectively identify the actual traffic usage items in the historical traffic actual usage data and the available traffic usage items in the historical traffic package available data; The actual traffic usage items are matched with the available traffic usage items based on the same keyword principle, and the useless traffic items in the available data of the historical traffic package are determined based on the matching results.
[0012] In a second aspect, an embodiment of the present application provides a traffic package page display system based on a time dimension, the system comprising: A historical traffic data acquisition module, used to acquire historical traffic package consumption data, historical traffic package available data and historical traffic actual usage data when receiving an access request to a traffic package display page; A candidate package determination module, used to obtain the sending time of the access request, and determine the candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database; A first screening module, used to perform a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package availability data to obtain initial candidate traffic packages; The second screening module is used to perform a second screening of the initial candidate traffic packages based on the historical traffic actual usage data to obtain the final candidate traffic packages, and display the final candidate traffic packages on the traffic package display page.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0015] In the fifth aspect, an embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium, and at least one processor of the device reads and executes the computer program from the computer-readable storage medium, so that the device performs the method of the first aspect.
[0016] In an embodiment of the present application, when receiving an access request to a traffic package display page, historical traffic package consumption data, historical traffic package available data, and historical traffic actual usage data are obtained; the sending time of the access request is obtained, and a candidate traffic package is determined based on the sending time and the display time of the traffic package in the preset traffic package database; the candidate traffic packages are first screened based on the historical traffic package consumption data and the historical traffic package available data to obtain an initial candidate traffic package; the initial candidate traffic package is secondly screened based on the historical traffic actual usage data to obtain a final candidate traffic package, and the final candidate traffic package is displayed on the traffic package display page. Through the above-mentioned traffic package page display method based on the time dimension, the problem of poor flexibility in the traffic package display method and inaccurate traffic package display results in the prior art is solved. By first screening the candidate traffic packages based on the historical traffic package consumption data and the historical traffic package available data, performing a second screening based on the historical traffic actual usage data, and displaying the final candidate traffic package obtained by screening on the traffic package display page, the purpose of automatically screening and displaying the traffic package can be achieved without inputting data, thereby improving the flexibility of the traffic package display method and the accuracy of the traffic package display results, and being conducive to improving the efficiency of traffic package handling. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flow chart of a method for displaying a traffic package page based on a time dimension provided in an embodiment of the present application; Figure 2It is a flowchart of another method for displaying a traffic package page based on a time dimension provided in an embodiment of the present application; Figure 3 It is the traffic package display page displayed on the terminal provided by this application; Figure 4 This is a flowchart of screening initial candidate traffic packages provided by an embodiment of the present application; Figure 5 It is a structural block diagram of a traffic package page display system based on time dimension provided in an embodiment of the present application; Figure 6 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only part of the present application is shown in the accompanying drawings, but not all of the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0021] First of all, the usage scenario of this solution can be a scenario where the recommended traffic packages are displayed on the display page of the traffic package processing platform, especially the scenario where the traffic packages that meet the needs are displayed on the display page based on the page access time and traffic usage habits. By performing a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package available data, performing a second screening based on historical traffic actual usage data, and displaying the final candidate traffic packages obtained by screening on the traffic package display page, the purpose of automatically screening and displaying traffic packages can be achieved without entering data, thereby improving the flexibility of the traffic package display method and the accuracy of the traffic package display results, which is conducive to improving the efficiency of traffic package processing. Based on the above usage scenarios, it can be understood that the executor of this solution can be a server.
[0022] In combination with the accompanying drawings, a method and system for displaying a traffic package page based on a time dimension provided by an embodiment of the present application are described in detail through specific embodiments and their application scenarios.
[0023] Figure 1 1 is a flow chart of a method for displaying a traffic package page based on a time dimension provided by an embodiment of the present application. Figure 1 As shown, the specific steps include: S101, upon receiving an access request to a traffic package display page, obtaining historical traffic package consumption data, historical traffic package availability data, and historical traffic actual usage data.
[0024] Among them, the traffic package display page can be a page displayed on the terminal by the traffic package business processing platform for displaying the data of the traffic packages that can be processed. The historical traffic package can be the traffic package package that has been processed through the traffic package business processing platform before the current access time. The historical traffic package consumption data can be the package amounts corresponding to the historical traffic packages. The historical traffic package available data can be the available thresholds corresponding to the available content of the packages in the historical traffic packages. For example: the historical traffic package available data can include the maximum total available local traffic and the maximum total available national traffic, and can also include the maximum usage time limit for program users, etc. The historical traffic actual usage data can be data used to describe the use of the available content in the historical traffic packages. For example: whether the available content in the historical traffic package is used and the actual usage amount or usage duration, etc.
[0025] In one embodiment, when a request to access the traffic package display page is received, the historical traffic package consumption data, historical traffic package available data, and historical traffic actual usage data that have been processed and used can be obtained according to the login information. The historical traffic package consumption data, historical traffic package available data, and historical traffic actual usage data are monitored and stored in real time by the traffic purchasing platform.
[0026] S102, obtaining the sending time of the access request, and determining a candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database.
[0027] The sending time of the access request may be the time when the traffic package display page is clicked. The preset traffic package database may be a pre-set container for storing multiple traffic packages of multiple operators that can be processed in the traffic package business processing platform. The display time of the traffic package may be the start time when the traffic package is displayed on the traffic package business processing platform and can be purchased. The candidate traffic package may be a package that can be displayed and purchased at the time of access.
[0028] In one embodiment, the sending time of the access request can be obtained according to the instruction of the access request, and the traffic packages with a display time later than the sending time in the preset traffic package database can be compared, and the traffic packages with a display time later than the sending time can be used as candidate traffic packages.
[0029] S103: Perform a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package availability data to obtain initial candidate traffic packages.
[0030] The first screening may be an operation of screening candidate traffic packages based on package amount and package content. The initial candidate traffic packages may be traffic packages whose package amounts meet the characteristics of historical traffic package consumption data and whose package contents meet the characteristics of historical traffic package available data.
[0031] In one embodiment, the candidate traffic packages can be first screened based on the data characteristics of the historical traffic package consumption data and the data characteristics of the historical traffic package available data, as well as the package amount and package available data in the candidate traffic packages, and the candidate traffic packages whose package amount and package available data meet the data characteristics are used as the initial candidate traffic packages. The data characteristics of the historical traffic package consumption data can be obtained by calculating the average of the package amounts of all historical traffic packages; it can also be obtained by determining the amount change law of the historical traffic package consumption data according to the time series based on the size of the package amount of the historical traffic package consumption data. The data characteristics of the historical traffic package available data can be the most frequently appearing component structure in the component structure of the package content; it can also be the change law of the total available amount of each package content in the package content.
[0032] S104, performing a second screening on the initial candidate traffic packages based on the historical traffic actual usage data to obtain a final candidate traffic package, and displaying the final candidate traffic package on the traffic package display page.
[0033] The second screening may be an operation of screening candidate traffic packages based on actual historical traffic usage. The final candidate traffic package may be a package whose available content meets actual historical traffic usage requirements and whose available volume meets actual usage.
[0034] In one embodiment, the initial candidate traffic packages can be secondly screened according to the actual usage content and actual usage amount in the historical traffic actual usage data, as well as the package available content and package available amount of the initial candidate traffic packages, and the initial candidate traffic packages whose package available content meets the actual usage content and whose package available amount is greater than or equal to the actual usage amount are selected as final candidate traffic packages, and the final candidate traffic packages are displayed on the traffic package display page.
[0035] In one embodiment, optionally, performing a second screening on the initial candidate traffic packages based on the historical traffic actual usage data includes: Determine the change trend of traffic usage demand based on the actual traffic usage in the historical traffic actual usage data; Based on the traffic usage demand change trend and actual traffic usage, predict the traffic demand at the sending time; Identify the relationship between the traffic demand and the candidate available traffic in multiple initial candidate traffic packages, filter out the initial candidate traffic packages whose traffic demand is greater than the candidate available traffic, and obtain the final candidate traffic packages.
[0036] The traffic usage demand change trend may be a change trend of the usage content and usage amount in the traffic package. The traffic usage demand change trend includes whether to add or abandon a certain content, and the change trend of the usage amount.
[0037] In one embodiment, the traffic demand change trend can be determined based on the size relationship of the actual traffic usage in the historical traffic actual usage data at each time series point, and the traffic demand change trend at the sending time can be predicted based on the traffic demand change trend. The predicted usage difference between the traffic usage at the sending time and the previous historical traffic usage time can be predicted based on the change law of the usage difference between the actual traffic usage between two adjacent time series points, and then the traffic demand at the sending time can be calculated based on the traffic demand change trend, the traffic usage at the previous historical traffic usage time, and the predicted usage difference. Compare whether the size of the traffic demand is greater than the size of the candidate available traffic in multiple initial candidate traffic packages, filter out the initial candidate traffic packages with a traffic demand greater than the candidate available traffic, and obtain the final candidate traffic package.
[0038] This solution determines the trend of traffic usage demand changes based on the actual traffic usage in the historical traffic actual usage data, predicts the traffic demand, and then filters out the initial candidate traffic packages whose traffic demand is greater than the candidate available traffic to obtain the final candidate traffic packages. This can achieve the purpose of predicting traffic usage based on the time dimension, which is conducive to improving the accuracy of the candidate traffic package screening results.
[0039] The technical solution provided in the embodiment of the present application, when receiving an access request to the traffic package display page, obtains historical traffic package consumption data, historical traffic package available data and historical traffic actual usage data; obtains the sending time of the access request, and determines the candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database; performs a first screening on the candidate traffic package based on the historical traffic package consumption data and the historical traffic package available data to obtain the initial candidate traffic package; performs a second screening on the initial candidate traffic package based on the historical traffic actual usage data to obtain the final candidate traffic package, and displays the final candidate traffic package on the traffic package display page. Through the above-mentioned traffic package page display method based on the time dimension, the problem of poor flexibility of the traffic package display method and inaccurate traffic package display results in the prior art is solved. By first screening the candidate traffic package based on the historical traffic package consumption data and the historical traffic package available data, performing a second screening based on the historical traffic actual usage data, and displaying the final candidate traffic package obtained by screening on the traffic package display page, the purpose of automatically screening and displaying the traffic package can be achieved without inputting data, thereby improving the flexibility of the traffic package display method and the accuracy of the traffic package display results, which is conducive to improving the efficiency of traffic package handling.
[0040] Figure 2 FIG. 1 is a flow chart of another method for displaying a traffic package page based on a time dimension provided in an embodiment of the present application. Figure 2 As shown, the specific steps include: S201, upon receiving an access request to a traffic package display page, obtaining historical traffic package consumption data, historical traffic package availability data, and historical traffic actual usage data.
[0041] S202, obtaining the sending time of the access request, and determining a candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database.
[0042] S203: Perform a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package availability data to obtain initial candidate traffic packages.
[0043] S204, constructing an actual traffic usage feature vector based on preset traffic usage feature dimensions and historical traffic actual usage data, and constructing multiple package available traffic feature vectors based on preset traffic usage feature dimensions and multiple initial candidate traffic packages.
[0044] Among them, the preset traffic usage feature dimension can be a plurality of traffic usage items that have appeared in all historical traffic actual usage data pre-set based on the historical traffic actual usage content. For example: national traffic dimension, traffic usage time dimension, and traffic speed limit dimension, etc. The actual traffic usage feature vector can be a vector constructed based on the data corresponding to the preset traffic usage feature dimension in the historical traffic actual usage data, used to represent the actual traffic usage. The available traffic feature vector can be a vector constructed based on the data corresponding to the preset traffic usage feature dimension in the initial candidate traffic package, used to represent the traffic availability in the initial candidate traffic package.
[0045] In one embodiment, actual usage data corresponding to the preset traffic usage feature dimension in the historical traffic actual usage data can be obtained, and an actual traffic usage feature vector can be constructed based on the actual usage data. Package availability data corresponding to the preset traffic usage feature dimension in multiple initial candidate traffic packages are obtained respectively, and multiple package available traffic feature vectors are constructed based on the package availability data.
[0046] S205, based on the actual traffic usage feature vector and the available traffic feature vector of each package, calculate the vector similarity between the historical traffic actual usage data and each initial candidate traffic package.
[0047] Among them, the vector similarity can be a parameter used to indicate the degree of conformity of each initial candidate traffic package with the actual historical traffic usage.
[0048] In one embodiment, the Gaussian kernel function between the actual traffic usage feature vector and the available traffic feature vector of each package can be calculated respectively, and the calculation result is used as the vector similarity between the historical traffic actual usage data and each initial candidate traffic package. The smaller the value of the Gaussian kernel function, the higher the vector similarity, and the more the initial candidate traffic package conforms to the actual historical traffic usage.
[0049] S206, sorting the initial candidate traffic packages based on vector similarity, and performing a second screening on the initial candidate traffic packages based on the sorting result and the preset package display quantity to obtain a final candidate traffic package, and displaying the final candidate traffic package on the traffic package display page.
[0050] In one embodiment, the initial candidate traffic packages can be sorted in descending order according to the vector similarity, and the initial candidate traffic packages with a preset package display quantity in the sorting results are taken to perform a second screening on the initial candidate traffic packages to obtain the final candidate traffic packages, and the final candidate traffic packages are displayed on the traffic package display page.
[0051] In one embodiment, optionally, before sorting the initial candidate traffic packages based on vector similarity, the method further includes: Respectively obtain the value-added program identifiers in each initial candidate traffic package and the traffic usage program identifiers in the historical traffic actual usage data, and identify whether there is a target identifier in the value-added program identifier that is the same as the traffic usage program identifier; In the case that there is a target identifier identical to the traffic usage program identifier in the value-added program identifier, obtaining a first number of the target identifiers and a second number of the traffic usage program identifiers; A ratio of the first number to the second number is calculated, a corresponding vector similarity is updated based on the ratio, and the updated results of the vector similarity are sorted.
[0052] The value-added program identifier may be a program identifier of a program using a value-added service provided in the initial candidate traffic package. For example, a membership of a certain video software. The traffic usage program identifier may be a program identifier accessed using traffic and / or a program identifier for interaction. The target identifier may be a value-added program identifier that is the same as the traffic usage program identifier.
[0053] In one embodiment, the value-added program identifiers in each initial candidate traffic package and the traffic usage program identifiers in the historical traffic actual usage data can be obtained respectively, and the value-added program identifiers are compared to see whether they are the same as the traffic usage program identifiers, thereby determining whether there is a target identifier in the value-added program identifiers that is the same as the traffic usage program identifier. In the case where there is a target identifier in the value-added program identifiers that is the same as the traffic usage program identifier, a first number of target identifiers is counted, and a second number of traffic usage program identifiers is counted, and a ratio of the first number to the second number is calculated, and the ratio is used as an update scale, and the corresponding vector similarities are multiplied by the ratios respectively, and the corresponding vector similarities are updated, and the updated results of the vector similarities are sorted.
[0054] This scheme, by respectively identifying whether there is a target identifier that is the same as the traffic usage program identifier in the value-added program identifier in each initial candidate traffic package, calculates the ratio of the first number of target identifiers to the second number of traffic usage program identifiers, and updates the corresponding vector similarity based on the ratio, can achieve the purpose of screening candidate traffic package packages in combination with the package value-added services, thereby ensuring the accuracy of the traffic package screening results.
[0055] In one embodiment, optionally, the final candidate traffic packages are displayed on the traffic package display page, including: Obtain the operator identifiers of multiple final candidate traffic packages; Determine the display position of each final candidate traffic package on the traffic package display page based on the operator identifier and the stored display position of each operator's package; Based on the vector similarity ranking results between each final candidate traffic package and the actual historical traffic usage data, each final candidate traffic package is displayed in a displayable position.
[0056] The package display points may be product placement points of each operator on the traffic package display page. The displayable positions may be unoccupied positions in the package display points of the operator of the final candidate traffic package.
[0057] Figure 3 This is the traffic package display page displayed on the terminal provided by this application.
[0058] like Figure 3 As shown, the search box is used to search for traffic packages based on the received traffic package purchase needs. The recommended traffic packages displayed on the display page can be viewed and selected to meet the needs. The traffic packages launched exclusively for a certain operator can also be viewed by clicking the operator name. When none of the traffic packages recommended on the page meet the needs, you can click the Change Batch button on the display page to allow the traffic service processing platform to re-screen the recommended traffic packages and display the re-screened traffic packages on the page. When you see the traffic package you are interested in, you can add the package to the shopping cart or click the Buy button to process the traffic package business. The location of each operator name on the page is the package display point for the corresponding operator.
[0059] In one embodiment, the operator identifiers of multiple final candidate traffic packages can be obtained, and the displayable position of each final candidate traffic package on the traffic package display page can be determined according to the operator identifier and the stored package display points of each operator. According to the vector similarity sorting results between each final candidate traffic package and the actual historical traffic usage data, each final candidate traffic package can be displayed in a displayable position.
[0060] This solution determines the displayable position of each final candidate traffic package on the traffic package display page by obtaining the operator identifier in the final candidate traffic package, and displays each final candidate traffic package in a displayable position according to the vector similarity sorting result. This can achieve the purpose of displaying the traffic package in combination with the purchase situation of the operator's delivery points and the compliance of the candidate traffic packages with the package requirements, thereby improving the accuracy of the traffic package display.
[0061] The technical solution provided in the embodiment of the present application can achieve the purpose of screening candidate traffic packages based on similarity by constructing actual traffic usage feature vectors and package available traffic feature vectors based on preset traffic usage feature dimensions, calculating vector similarity, and sorting the initial candidate traffic packages, and performing a second screening on the initial candidate traffic packages, thereby improving the screening efficiency of traffic packages and the accuracy of screening results.
[0062] Figure 4 is a flowchart of screening initial candidate traffic packages provided by an embodiment of the present application. Figure 4 As shown, the specific steps include: S401, calculate the difference between the historical traffic package consumption data and the package amount in the candidate traffic packages, and filter the candidate traffic packages based on the amount difference and a preset package consumption difference threshold.
[0063] Among them, the preset package consumption difference threshold can be the maximum difference between the preset candidate traffic package amount and the historical traffic package amount.
[0064] In one embodiment, the amount difference between the historical traffic package consumption data and the package amount in the candidate traffic package can be calculated, and according to the amount difference and the preset package consumption difference threshold, the candidate traffic packages whose amount difference is greater than the preset package consumption difference threshold are filtered out. In this solution, the historical traffic package consumption data may include multiple historical traffic packages, and the package amounts of the multiple historical traffic packages may be different. When calculating the amount difference, the average of the package amounts of the multiple historical traffic packages can be used as the package amount of the historical traffic package consumption data, and the difference between the maximum amount and the average of the multiple package amounts is calculated as the preset package consumption difference threshold.
[0065] S402, determining useless traffic items in the available data of historical traffic packages based on the historical traffic actual usage data, and identifying whether the available traffic items of the candidate traffic packages in the package filtering results include useless traffic items.
[0066] The useless traffic item may be the traffic item that is not actually used in the available data of the historical traffic package. For example, the available data of the historical traffic package includes both local traffic and national traffic, while the historical traffic actual usage data only includes the usage data of national traffic. In this case, the local traffic is the useless traffic item.
[0067] In one embodiment, the actual traffic item can be determined based on the historical traffic actual usage data, and the unused traffic item in the historical traffic package available data can be determined based on the actual traffic item, and the unused traffic item is used as the useless traffic item. It is identified whether the available traffic items of each candidate traffic package in the package filtering result include useless traffic items.
[0068] In one embodiment, optionally, determining the useless traffic item in the available data of the historical traffic package based on the historical traffic actual usage data includes: Based on the preset traffic usage keywords, respectively identify the actual traffic usage items in the historical traffic actual usage data and the available traffic usage items in the historical traffic package available data; The actual traffic usage items are matched with the available traffic usage items based on the same keyword principle, and the useless traffic items in the available data of the historical traffic package are determined based on the matching results.
[0069] The preset traffic usage keyword may be the name of all traffic items that may appear in the traffic package. For example: local traffic, national traffic, 4G traffic, and 5G traffic. The actual traffic usage item may be the name of the traffic item actually used in the historical traffic actual usage data. The available traffic usage item may be the name of all available traffic items included in the historical traffic package available data. The same keyword principle may be that the usage items are matched if the keyword fields are the same.
[0070] In one embodiment, the actual traffic usage item can be determined by identifying the preset traffic usage keyword included in the historical traffic actual usage data, and the available traffic usage item can be determined by identifying the preset traffic usage keyword included in the historical traffic package available data. The actual traffic usage item is matched with the same item in the available traffic usage item according to the same keyword principle, and the unmatched traffic usage item is determined as the useless traffic item in the historical traffic package available data according to the matching result.
[0071] This solution identifies actual traffic usage items and available traffic usage items respectively by presetting traffic usage keywords, matches them according to the same keyword principle, and determines useless traffic items in the available data of historical traffic packages. This can simplify the steps of determining useless traffic items and improve the efficiency of screening useless traffic items.
[0072] S403: When the available traffic items of the candidate traffic packages in the package filtering result include useless traffic items, the candidate traffic packages are filtered out to obtain an initial candidate traffic package.
[0073] In one embodiment, when the available traffic items of the candidate traffic packages in the package filtering results include useless traffic items, the candidate traffic packages are filtered out to obtain the initial candidate traffic packages.
[0074] The technical solution provided in the embodiment of the present application filters the candidate traffic packages by calculating the difference between the historical traffic package consumption data and the package amount in the candidate traffic packages, determines the useless traffic items according to the actual usage data of the historical traffic, and filters out the package filtering results according to the useless traffic items to obtain the initial candidate traffic packages, which can achieve the purpose of further screening the candidate traffic packages based on actual usage, further improve the accuracy of the traffic packages finally displayed on the traffic package display page and the satisfaction with the content displayed on the page, which is conducive to improving the transaction rate of traffic packages.
[0075] Figure 5 is a structural block diagram of a traffic package page display system based on time dimension provided by an embodiment of the present application. Figure 5 As shown, specifically including the following: The historical traffic data acquisition module 501 is used to acquire historical traffic package consumption data, historical traffic package available data and historical traffic actual usage data when receiving an access request to the traffic package display page; A candidate package determination module 502 is used to obtain the sending time of the access request, and determine the candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database; A first screening module 503, configured to perform a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package availability data to obtain initial candidate traffic packages; The second screening module 504 is used to perform a second screening on the initial candidate traffic packages based on the historical traffic actual usage data to obtain the final candidate traffic packages, and display the final candidate traffic packages on the traffic package display page.
[0076] Optionally, the second screening module 504 is specifically used for: Building an actual traffic usage feature vector based on preset traffic usage feature dimensions and historical traffic actual usage data, and building multiple package available traffic feature vectors based on preset traffic usage feature dimensions and multiple initial candidate traffic packages; Based on the actual traffic usage feature vector and the available traffic feature vector of each package, the vector similarity between the actual historical traffic usage data and each initial candidate traffic package is calculated; The initial candidate traffic packages are sorted based on vector similarity, and the initial candidate traffic packages are secondarily screened based on the sorting results and the preset package display quantity.
[0077] Optionally, the second screening module 504 is further used to: Respectively obtain the value-added program identifiers in each initial candidate traffic package and the traffic usage program identifiers in the historical traffic actual usage data, and identify whether there is a target identifier in the value-added program identifier that is the same as the traffic usage program identifier; In the case that there is a target identifier identical to the traffic usage program identifier in the value-added program identifier, obtaining a first number of the target identifiers and a second number of the traffic usage program identifiers; A ratio of the first number to the second number is calculated, a corresponding vector similarity is updated based on the ratio, and the updated results of the vector similarity are sorted.
[0078] Optionally, the second screening module 504 is further used to: Obtain the operator identifiers of multiple final candidate traffic packages; Determine the display position of each final candidate traffic package on the traffic package display page based on the operator identifier and the stored display position of each operator's package; Based on the vector similarity ranking results between each final candidate traffic package and the actual historical traffic usage data, each final candidate traffic package is displayed in a displayable position.
[0079] Optionally, the second screening module 504 is specifically used for: Determine the change trend of traffic usage demand based on the actual traffic usage in the historical traffic actual usage data; Based on the traffic usage demand change trend and actual traffic usage, predict the traffic demand at the sending time; Identify the relationship between the traffic demand and the candidate available traffic in multiple initial candidate traffic packages, filter out the initial candidate traffic packages whose traffic demand is greater than the candidate available traffic, and obtain the final candidate traffic packages.
[0080] Optionally, the first screening module 503 is specifically used for: Calculate the difference between the historical data of traffic package consumption and the package amount in the candidate traffic package, and filter the candidate traffic packages based on the difference in amount and a preset package consumption difference threshold; Determine the useless traffic items in the available data of the historical traffic packages based on the historical traffic actual usage data, and identify whether the available traffic items of the candidate traffic packages in the package filtering results include the useless traffic items; When the available traffic items of the candidate traffic packages in the package filtering results include useless traffic items, the candidate traffic packages are filtered out to obtain the initial candidate traffic packages.
[0081] Optionally, the first screening module 503 is specifically used for: Based on the preset traffic usage keywords, respectively identify the actual traffic usage items in the historical traffic actual usage data and the available traffic usage items in the historical traffic package available data; The actual traffic usage items are matched with the available traffic usage items based on the same keyword principle, and the useless traffic items in the available data of the historical traffic package are determined based on the matching results.
[0082] The technical solution provided in the embodiment of the present application includes a historical traffic data acquisition module, which is used to obtain historical traffic package consumption data, historical traffic package available data and historical traffic actual usage data when receiving an access request to a traffic package display page; a candidate package determination module, which is used to obtain the sending time of the access request, and determine the candidate traffic package based on the sending time and the display time of the traffic package in a preset traffic package database; a first screening module, which is used to perform a first screening of the candidate traffic packages based on the historical traffic package consumption data and the historical traffic package available data to obtain initial candidate traffic packages; a second screening module, which is used to perform a second screening of the initial candidate traffic packages based on the historical traffic actual usage data to obtain final candidate traffic packages, and display the final candidate traffic packages on the traffic package display page. Through the above-mentioned traffic package page display system based on the time dimension, the problems of poor flexibility in the traffic package display method and inaccurate traffic package display results in the prior art are solved. By performing a first screening of candidate traffic packages based on historical traffic package consumption data and historical traffic package available data, and performing a second screening based on historical traffic actual usage data, and displaying the final candidate traffic packages obtained by screening on the traffic package display page, the purpose of automatically screening and displaying traffic packages can be achieved without entering data, thereby improving the flexibility of the traffic package display method and the accuracy of the traffic package display results, which is conducive to improving the efficiency of traffic package handling.
[0083] A traffic packet page display system based on the time dimension in the embodiment of the present application can be configured in a component, integrated circuit, or chip in the terminal. It can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0084] A traffic package page display system based on time dimension in the embodiment of the present application may be an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0085] A traffic package page display system based on time dimension provided in an embodiment of the present application can implement each process implemented in the above-mentioned method embodiments. To avoid repetition, it will not be described here.
[0086] like Figure 6 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of an embodiment of a traffic package page display method based on a time dimension is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0087] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0088] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned traffic package page display method embodiment based on the time dimension are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0089] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0090] The embodiment of the present application further provides a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device can execute a traffic package page display method based on a time dimension recorded in the embodiment of the present application. The program product can be implemented in any combination of one or more readable media.
[0091] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or system including the element. In addition, it should be pointed out that the scope of the method and system in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0093] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0094] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for displaying a traffic package page based on a time dimension, characterized in that: The method comprises: Upon receiving a request to access the traffic package display page, obtaining historical traffic package consumption data, historical traffic package availability data, and historical traffic actual usage data; Obtaining a sending time of the access request, and determining a candidate traffic package based on the sending time and a display time of the traffic package in a preset traffic package database; Performing a first screening on the candidate traffic packages based on the historical traffic package consumption data and the historical traffic package availability data to obtain an initial candidate traffic package; The initial candidate traffic packages are subjected to a second screening based on the historical traffic actual usage data to obtain a final candidate traffic package, and the final candidate traffic package is displayed on the traffic package display page.
2. The method for displaying a traffic package page based on a time dimension according to claim 1, characterized in that: The second screening of the initial candidate traffic packages based on the historical traffic actual usage data includes: Constructing an actual traffic usage feature vector based on a preset traffic usage feature dimension and the historical traffic actual usage data, and constructing a plurality of package available traffic feature vectors based on the preset traffic usage feature dimension and a plurality of the initial candidate traffic packages; Based on the actual traffic usage feature vector and the available traffic feature vector of each package, calculating the vector similarity between the historical traffic actual usage data and each of the initial candidate traffic packages; The initial candidate traffic packages are sorted based on vector similarity, and the initial candidate traffic packages are secondly screened based on the sorting result and the preset package display quantity.
3. The method for displaying a traffic package page based on a time dimension according to claim 2 is characterized in that: Before sorting the initial candidate traffic packages based on vector similarity, the method further includes: Respectively obtain the value-added program identifier in each of the initial candidate traffic packages and the traffic usage program identifier in the historical traffic actual usage data, and identify whether there is a target identifier in the value-added program identifier that is the same as the traffic usage program identifier; In the case where there is a target identifier identical to the traffic usage program identifier in the value-added program identifier, acquiring a first quantity of the target identifiers and a second quantity of the traffic usage program identifiers; A ratio of the first number to the second number is calculated, a corresponding vector similarity is updated based on the ratio, and the updated results of the vector similarities are sorted.
4. The method for displaying a traffic package page based on a time dimension according to claim 2, characterized in that: The displaying the final candidate traffic package on the traffic package display page includes: Obtaining operator identifiers of the multiple final candidate traffic packages; Determine the displayable position of each of the final candidate traffic packages on the traffic package display page based on the operator identifier and the stored display locations of the packages of each operator; Based on the vector similarity ranking result between each of the final candidate traffic packages and the historical traffic actual usage data, each of the final candidate traffic packages is displayed in the displayable position.
5. The method for displaying a traffic package page based on a time dimension according to claim 1, characterized in that: The second screening of the initial candidate traffic packages based on the historical traffic actual usage data includes: Determine the traffic usage demand change trend based on the actual traffic usage in the historical traffic actual usage data; Based on the traffic usage demand change trend and the actual traffic usage, predict the traffic demand at the sending time; Identify the relationship between the traffic demand and the candidate available traffic in the multiple initial candidate traffic packages, filter out the initial candidate traffic packages whose traffic demand is greater than the candidate available traffic, and obtain a final candidate traffic package.
6. The method for displaying a traffic package page based on a time dimension according to claim 1, characterized in that: The first screening of the candidate traffic packages based on the historical traffic package consumption data and the historical traffic package availability data includes: Calculate the difference between the historical traffic package consumption data and the package amount in the candidate traffic package, and filter the candidate traffic packages based on the amount difference and a preset package consumption difference threshold; Determine the useless traffic item in the historical traffic package available data based on the historical traffic actual usage data, and identify whether the available traffic items of the candidate traffic packages in the package filtering results include the useless traffic item; In the case where the available traffic items of the candidate traffic packages in the package filtering results include the useless traffic items, the candidate traffic packages are filtered out to obtain the initial candidate traffic packages.
7. The method for displaying a traffic package page based on a time dimension according to claim 6, characterized in that: The determining, based on the historical traffic actual usage data, the useless traffic item in the historical traffic package available data comprises: Based on the preset traffic usage keywords, respectively identify the actual traffic usage items in the historical traffic actual usage data and the available traffic usage items in the historical traffic package available data; The actual traffic usage item is matched with the available traffic usage item based on the same keyword principle, and the useless traffic item in the available data of the historical traffic package is determined based on the matching result.
8. A traffic package page display system based on time dimension, characterized in that: The system comprises: A historical traffic data acquisition module, used to acquire historical traffic package consumption data, historical traffic package available data and historical traffic actual usage data when receiving an access request to a traffic package display page; A candidate package determination module, used to obtain the sending time of the access request, and determine the candidate traffic package based on the sending time and the display time of the traffic package in the preset traffic package database; A first screening module, configured to perform a first screening on the candidate traffic packages based on the historical traffic package consumption data and the historical traffic package availability data to obtain an initial candidate traffic package; The second screening module is used to perform a second screening on the initial candidate traffic packages based on the historical traffic actual usage data to obtain a final candidate traffic package, and display the final candidate traffic package on the traffic package display page.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of a traffic package page display method based on the time dimension as described in any one of claims 1-7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of a traffic package page display method based on the time dimension as described in any one of claims 1-7 are implemented.
Citation Information
Patent Citations
Traffic packet recommendation method and device and storage medium
CN116074889A
Method, device and equipment for dynamically generating service provider package and storage medium
CN117278950A
Service package recommendation method and device, electronic equipment and storage medium
CN117715019A
Method and system for determining potential flow consumption user based on interaction information
CN119494673A
Service package recommendation method and device
WO2016180182A1
Cited By
Traffic packet page forwarding and pushing method and system based on traffic use data
CN120475071A
Traffic package page retweet method and system based on traffic usage data
CN120475071B
Communication method, communication device and communication system
CN121486775A
Communication method, communication device, and communication system
CN121486775B