A method and system for displaying traffic package pages based on regional dimensions

By calculating the similarity of traffic packet data, determining the target traffic packet data and displaying it, the problem of inaccurate display in the prior art is solved, and the efficiency of traffic packet service is improved.

CN120104904BActive Publication Date: 2025-08-08E-JOINED INTERNET & TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510590116.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-08-08
Estimated Expiration
2045-05-08

AI Technical Summary

Technical Problem

The existing technology cannot accurately display the traffic package package based on the traffic usage characteristics of different regions, resulting in inefficient handling of traffic package services.

Method used

By calculating the similarity between candidate traffic packet data and standard traffic packet data in the same region, the target traffic packet data is determined and displayed in the display page, using the Jaccard similarity and Manhattan distance algorithm for filtering and sorting.

Benefits of technology

It improves the accuracy and rationality of traffic packet display and improves the efficiency of traffic packet processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104904B_ABST
    Figure CN120104904B_ABST
Patent Text Reader

Abstract

The present application discloses a method and system for displaying a traffic package page based on a regional dimension. The method includes: obtaining multiple traffic package usage data and corresponding traffic package processing areas, and dividing the traffic package usage data into regions based on the traffic package processing areas; extracting at least two standard traffic package data for the same traffic package processing area based on a preset feature extraction algorithm and the regional division results of the traffic package usage data; obtaining multiple candidate traffic package data, and determining the target traffic package data for each traffic package processing area based on the similarity between the candidate traffic package data and the standard traffic package data; determining the target traffic package data associated with the current traffic package processing target area, and displaying the target traffic package data associated with the traffic package processing target area on the traffic package display page. Through this technical solution, the accuracy and rationality of displaying traffic packages in different regions can be improved, thereby improving the efficiency of traffic package processing.
Need to check novelty before this filing date? Find Prior Art

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 regional dimension. Background Art

[0002] With the continuous expansion of internet applications and the increasing frequency of communications across regions, data traffic has become extremely important as a medium for connecting devices to the internet. The demand for online data package services through operators' data service platforms is also increasing. To meet the data usage needs of different regions, the operator's data service platform displays data package options for different regions on the display page, allowing for online data package selection and service processing, which can improve service processing efficiency.

[0003] In the existing technology, the traffic package page is displayed mainly by determining the corresponding processing area based on the login information in the request after receiving an access request to the traffic service processing platform, and randomly displaying the multiple optional traffic package services launched by the operator for the region and the whole country on the traffic package processing page for selection based on the received operator name and its corresponding processing area. However, the traffic data usage characteristics of different regions are different. The existing technology is unable to accurately display the optional traffic packages in different regions based on the actual usage characteristics and actual usage needs of different regions. There is a problem that the traffic package display results are not accurate enough, which affects the processing efficiency of the traffic package business. Summary of the Invention

[0004] The purpose of the embodiment of the present application is to provide a method and system for displaying a traffic package page based on a regional dimension, which solves the problem of inaccurate traffic package display results in the prior art. By respectively calculating the similarity between the candidate traffic package data and the standard traffic package data in the same traffic package processing area, the target traffic package data of each traffic package processing area is determined, and then the target traffic package data is displayed on the traffic package display page based on the current traffic package processing target area. This can achieve the purpose of displaying traffic package data on the traffic package display page based on the traffic usage characteristics of the regional dimension, improve the accuracy and rationality of displaying traffic packages in different regions, and help improve the efficiency of traffic package processing.

[0005] In a first aspect, an embodiment of the present application provides a method for displaying a traffic package page based on a region dimension, the method comprising:

[0006] Obtaining multiple traffic package usage data and corresponding traffic package application areas, and dividing the traffic package usage data into regions based on the traffic package application areas;

[0007] Based on the preset feature extraction algorithm and the regional division results using the traffic package data, extract at least two standard traffic package data for the same traffic package processing area;

[0008] Acquire multiple candidate traffic package data, calculate the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package processing area, and determine the target traffic package data for each traffic package processing area based on the similarity;

[0009] The current traffic package processing target area accessed to the traffic package display page is obtained, the target traffic package data associated with the traffic package processing target area is determined, and the target traffic package data associated with the traffic package processing target area is displayed on the traffic package display page.

[0010] Optionally, the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area is calculated separately, including:

[0011] Calculating a first similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area based on the Jaccard similarity algorithm, and filtering out the candidate traffic package data based on the first similarity and a preset similarity threshold;

[0012] The second similarity between the candidate traffic packet data filtering result and each standard traffic packet data in the same traffic packet handling area is calculated based on the Manhattan distance, and the target traffic packet data of each traffic packet handling area is determined based on the second similarity.

[0013] Optionally, calculating a second similarity between the candidate traffic packet data filtering result and each standard traffic packet data in the same traffic packet handling area based on Manhattan distance includes:

[0014] Reading candidate feature data of a plurality of preset features in a candidate traffic packet data filtering result, and standard feature data in each standard traffic packet data;

[0015] Based on the Manhattan distance, candidate feature data and standard feature data, the feature similarity between the candidate traffic packet data filtering results and each standard traffic packet data under each preset feature is calculated respectively;

[0016] The standard feature data in each standard traffic packet data is sorted, feature weights are assigned to feature similarities based on the sorting results, and a weighted sum of feature similarities is calculated based on the feature similarities and the corresponding feature weights to obtain a second similarity.

[0017] Optionally, target traffic package data for each traffic package processing area is determined based on similarity, including:

[0018] Sort candidate traffic packet data based on similarity;

[0019] Based on the preset target traffic package number and the candidate traffic package data sorting results, the candidate traffic package data is filtered to obtain the target traffic package data for each traffic package processing area.

[0020] Optionally, the preset feature extraction algorithm includes a clustering algorithm;

[0021] Accordingly, based on the preset feature extraction algorithm and the regional division result using the traffic package data, at least two standard traffic package data of the same traffic package handling area are extracted, including:

[0022] Perform cluster analysis on the regional division results of traffic package data based on a clustering algorithm to obtain traffic package data of at least two cluster centers in each traffic package handling area;

[0023] Use at least two cluster center traffic package data as at least two standard traffic package data for the same traffic package processing area.

[0024] Optionally, after performing cluster analysis on the regional division results using the traffic packet data based on a clustering algorithm, the method further includes:

[0025] Based on the traffic package data in the cluster analysis results, a cluster image of the same traffic package handling area is drawn, and the number of overlapping images and the total number of cluster images in the cluster image are read;

[0026] Calculating the ratio of the number of overlapping images to the total number of clustered images, and determining the relationship between the ratio and a preset ratio threshold;

[0027] Determine whether the cluster analysis result is qualified based on the size relationship. If the cluster analysis result is qualified, determine at least two cluster center traffic package data for each traffic package handling area in the cluster analysis result.

[0028] Optionally, the target traffic package data associated with the target area for the traffic package is displayed on the traffic package display page, including:

[0029] Obtaining first attribute parameters corresponding to a plurality of target traffic packet data and second attribute parameters corresponding to historical traffic packet data;

[0030] Calculating the difference between the second attribute parameter and each first attribute parameter, and using the difference as the display priority of the plurality of target traffic packet data;

[0031] Based on the display priority, multiple target traffic package data associated with the traffic package processing target area are displayed on the traffic package display page.

[0032] In a second aspect, an embodiment of the present application provides a traffic package page display system based on a regional dimension, the system comprising:

[0033] A regional division module is used to obtain multiple traffic package usage data and corresponding traffic package processing areas, and to divide the traffic package usage data into regions based on the traffic package processing areas;

[0034] A standard traffic package data extraction module is used to extract at least two standard traffic package data of the same traffic package handling area based on a preset feature extraction algorithm and a regional division result using traffic package data;

[0035] a target traffic package data determination module, configured to obtain a plurality of candidate traffic package data, calculate the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area, and determine the target traffic package data for each traffic package handling area based on the similarity;

[0036] The traffic package data display module is used to obtain the current traffic package processing target area for accessing the traffic package display page, determine the target traffic package data associated with the traffic package processing target area, and display the target traffic package data associated with the traffic package processing target area on the traffic package display page.

[0037] In a third aspect, an embodiment of the present application provides an electronic device comprising 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.

[0038] 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.

[0039] 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. 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.

[0040] In an embodiment of the present application, a plurality of traffic package usage data and corresponding traffic package processing areas are obtained, and the traffic package usage data are regionalized based on the traffic package processing areas; based on a preset feature extraction algorithm and the regional division results of the traffic package usage data, at least two standard traffic package data of the same traffic package processing area are extracted; a plurality of candidate traffic package data are obtained, and the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package processing area is calculated respectively, and the target traffic package data of each traffic package processing area is determined based on the similarity; the current traffic package processing target area accessed to the traffic package display page is obtained, the target traffic package data associated with the traffic package processing target area is determined, and the target traffic package data associated with the traffic package processing target area is displayed on the traffic package display page. The above-mentioned method for displaying traffic packages on a page based on regional dimensions solves the problem of inaccurate traffic package display results in the prior art. By respectively calculating the similarity between the candidate traffic package data and the standard traffic package data in the same traffic package processing area, the target traffic package data for each traffic package processing area is determined, and then the target traffic package data is displayed on the traffic package display page based on the current traffic package processing target area. This can achieve the purpose of displaying traffic package data on the traffic package display page based on the traffic usage characteristics of the regional dimension, thereby improving the accuracy and rationality of displaying traffic packages in different regions, and is conducive to improving the efficiency of traffic package processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flow chart of a method for displaying a traffic package page based on a regional dimension provided by an embodiment of the present application;

[0042] Figure 2 This is a flow chart of determining target traffic packet data provided by an embodiment of the present application;

[0043] Figure 3 This is a flow chart of pre-processing traffic correlation data provided by an embodiment of the present application;

[0044] Figure 4 This is a schematic diagram of clustering images using traffic packet data provided by this application;

[0045] Figure 5 This is a structural block diagram of a traffic package page display system based on regional dimensions provided by an embodiment of the present application;

[0046] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] To further clarify the objectives, technical solutions, and advantages of this application, specific embodiments of the present application are described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are intended only to illustrate this application and are not intended to limit the present application. It should also be noted that, for ease of description, the drawings only illustrate portions relevant to this application, not all of them. Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts depict the various operations (or steps) as sequential processes, many of the operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. A process may terminate upon completion of its operations, but may also have additional steps not shown in the accompanying drawings. A process may correspond to a method, function, procedure, subroutine, subprogram, and the like.

[0048] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0049] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0050] First of all, the usage scenario of this solution can be a scenario in which recommended traffic packages are displayed through the display page of the traffic service processing platform, especially a scenario in which recommended traffic packages are displayed on the display page based on the processing area and the traffic usage characteristics of the area. By respectively calculating the similarity between the candidate traffic package data and the standard traffic package data in the same traffic package processing area, the target traffic package data of each traffic package processing area is determined, and then the target traffic package data is displayed on the traffic package display page based on the current traffic package processing target area. This can achieve the purpose of displaying traffic package data on the traffic package display page based on the traffic usage characteristics of the regional dimension, thereby improving the accuracy and rationality of displaying traffic packages for different regions, and helping to improve 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.

[0051] Below, in combination with the accompanying drawings, a method and system for displaying a traffic package page based on a regional dimension provided by an embodiment of the present application is described in detail through specific embodiments and their application scenarios.

[0052] Figure 1 This is a flow chart of a method for displaying a traffic package page based on regional dimensions provided by an embodiment of the present application. Figure 1 As shown, the specific steps include:

[0053] S101, obtaining a plurality of traffic package usage data and corresponding traffic package handling areas, and dividing the traffic package usage data into regions based on the traffic package handling areas.

[0054] Among them, the traffic package usage data can be data used to describe the usage of the traffic package. The traffic package usage data can include the traffic usage type and the usage amount for each type. The traffic usage type includes local traffic in the traffic package application area and universal traffic available nationwide. The traffic package application area can be the area selected or filled in when applying for the traffic package service. Since the traffic package services launched by various operators for different regions may be different, that is, the traffic package available data in different traffic package application areas may be different, multiple traffic package usage data can be divided based on the regional dimension.

[0055] In one embodiment, the traffic handling and usage data recorded by the traffic package business handling platform can be used to obtain multiple traffic package usage data and corresponding traffic package handling areas, and the traffic package usage data in the same area can be divided into the same category according to the traffic package handling area.

[0056] S102, based on a preset feature extraction algorithm and the regional division result using the traffic package data, extract at least two standard traffic package data of the same traffic package handling area.

[0057] The preset feature extraction algorithm may be a preset algorithm for extracting usage characteristics from traffic package data. Standard traffic package data may be traffic package data that meets most usage characteristics in the same traffic package application area. Standard traffic package data may be available data corresponding to a traffic package launched by a specific operator, or may be traffic package data derived from a combination of actual usage of various traffic usage items.

[0058] In one embodiment, feature extraction can be performed on the traffic package data used in the same traffic package handling area based on a preset feature extraction algorithm and the regional division results of the traffic package data used, to obtain at least two standard traffic package data. For example: in the process of feature extraction, multiple basic traffic usage items can be pre-set, and multiple usage data corresponding to each basic traffic usage item can be obtained based on the traffic package data used in the same traffic package handling area, and the median of the multiple usage data can be extracted as the value of the basic traffic usage item of the current extraction round, and the extracted values can be filtered out, and then the extraction rounds can be traversed again based on the filtering results to obtain at least two groups of basic traffic usage item data, and the at least two groups of basic traffic usage item data can be used as at least two standard traffic package data for the same traffic package handling area.

[0059] S103, obtaining multiple candidate traffic package data, respectively calculating the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area, and determining the target traffic package data of each traffic package handling area based on the similarity.

[0060] The candidate traffic package data may be traffic package data that can be processed in the same traffic package processing area. The target traffic package data may be candidate traffic package data that is finally launched to the corresponding traffic package processing area and meets the traffic usage characteristics of the area.

[0061] In one embodiment, multiple candidate traffic package data of each operator can be obtained through the traffic package processing platform, the regional data in each candidate traffic package data can be determined, and the Euclidean distance between each candidate traffic package data and each standard traffic package data in the corresponding traffic package processing area can be calculated respectively. The Euclidean distance calculation result is used as the similarity between each candidate traffic package data and each standard traffic package data, and the candidate traffic package data with the highest similarity is determined as the target traffic package data of its corresponding traffic package processing area, and all traffic package processing areas are traversed to obtain the target traffic package data of each traffic package processing area.

[0062] In one embodiment, optionally, determining target traffic package data for each traffic package handling area based on similarity includes:

[0063] Sort candidate traffic packet data based on similarity;

[0064] Based on the preset target traffic package number and the candidate traffic package data sorting results, the candidate traffic package data is filtered to obtain the target traffic package data for each traffic package processing area.

[0065] Among them, the preset target number of traffic packages can be the pre-set number of traffic packages that are finally displayed on the traffic package page.

[0066] In one embodiment, the candidate traffic package data can be sorted in descending order of similarity, and the target traffic package data of each traffic package processing area can be obtained based on the candidate traffic package data with a preset target traffic package number in the candidate traffic package data sorting result.

[0067] This solution, by sorting the candidate traffic package data according to similarity, and screening the target traffic package data of each traffic package processing area based on the preset target traffic package number and the candidate traffic package data sorting results, can achieve the purpose of determining multiple target traffic package data based on the similarity between the candidate traffic package data and the standard traffic package data, thereby improving the accuracy of displaying traffic packages for different regions.

[0068] S104, obtaining the current traffic package processing target area accessed to the traffic package display page, determining the target traffic package data associated with the traffic package processing target area, and displaying the target traffic package data associated with the traffic package processing target area on the traffic package display page.

[0069] The traffic package display page may be a page for displaying available traffic packages on a terminal. The traffic package application target area may be the area corresponding to the selection instruction or input data received from the terminal when applying for the traffic package service, or may be the exclusive area corresponding to the applied traffic package.

[0070] In one embodiment, the area corresponding to the traffic package currently input or selected for accessing the traffic package display page can be obtained as the target area for traffic package processing, the target traffic package data associated with the target area for traffic package processing can be determined, and the target traffic package data associated with the target area for traffic package processing can be displayed on the traffic package display page.

[0071] In one embodiment, optionally, displaying target traffic package data associated with the target area for traffic package processing on the traffic package display page includes:

[0072] Obtaining first attribute parameters corresponding to a plurality of target traffic packet data and second attribute parameters corresponding to historical traffic packet data;

[0073] Calculating the difference between the second attribute parameter and each first attribute parameter, and using the difference as the display priority of the plurality of target traffic packet data;

[0074] Based on the display priority, multiple target traffic package data associated with the traffic package processing target area are displayed on the traffic package display page.

[0075] The first attribute parameter may be the price of the target traffic package, and the second attribute parameter may be the average price of all traffic packages that have been processed in the target area.

[0076] In one embodiment, the first attribute parameter corresponding to each target traffic package can be obtained based on the price parameter in each target traffic package data, and the second attribute parameter corresponding to the historical traffic package data can be determined based on the price corresponding to all traffic package data that have been processed in the target area for the traffic package processing. The difference between the second attribute parameter and each first attribute parameter is calculated, and the difference is used as the display priority of multiple target traffic package data. For example: the larger the difference, the lower the price of the target traffic package under the premise of meeting the usage characteristics, the easier it is to be processed, and the higher the corresponding display priority; otherwise, the lower the corresponding display priority. The multiple target traffic package data associated with the target area for the traffic package processing are displayed on the traffic package display page according to the display priority.

[0077] This solution obtains the display priority of multiple target traffic package data by calculating the difference between the first attribute parameter of each target traffic package data and the second attribute parameter corresponding to the historical traffic package data, and displays the multiple target traffic package data on the traffic package display page according to the display priority. This can achieve the purpose of further display adjustment based on the business attributes of the traffic package, and improve the full accuracy of the display results on the traffic package display page.

[0078] The technical solution provided in the embodiment of the present application obtains multiple usage traffic package data and corresponding traffic package processing areas, and divides the usage traffic package data into regions based on the traffic package processing areas; extracts at least two standard traffic package data of the same traffic package processing area based on a preset feature extraction algorithm and the regional division results of the usage traffic package data; obtains multiple candidate traffic package data, calculates the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package processing area, and determines the target traffic package data of each traffic package processing area based on the similarity; obtains the current traffic package processing target area visited on the traffic package display page, determines the target traffic package data associated with the traffic package processing target area, and displays the target traffic package data associated with the traffic package processing target area on the traffic package display page. The above-mentioned method for displaying traffic packages on a page based on regional dimensions solves the problem of inaccurate traffic package display results in the prior art. By respectively calculating the similarity between the candidate traffic package data and the standard traffic package data in the same traffic package processing area, the target traffic package data for each traffic package processing area is determined, and then the target traffic package data is displayed on the traffic package display page based on the current traffic package processing target area. This can achieve the purpose of displaying traffic package data on the traffic package display page based on the traffic usage characteristics of the regional dimension, thereby improving the accuracy and rationality of displaying traffic packages in different regions, and is conducive to improving the efficiency of traffic package processing.

[0079] Figure 2 This is a flow chart of determining target traffic packet data provided by an embodiment of the present application. Figure 2 As shown, the specific steps include:

[0080] S201, calculating a first similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area based on the Jaccard similarity algorithm, and filtering out the candidate traffic package data based on the first similarity and a preset similarity threshold.

[0081] The Jaccard similarity algorithm may be an algorithm for calculating the degree of overlap in traffic usage items between the candidate traffic packet data and the standard traffic packet data. The first similarity may be the degree of overlap in traffic usage items between the candidate traffic packet data and the standard traffic packet data. The preset similarity threshold may be a preset minimum value of the first similarity when the candidate traffic packet data meets the usage characteristics.

[0082] In one embodiment, the available traffic usage items in each candidate traffic package data and the actually used traffic usage items in each standard traffic package data can be determined based on pre-stored traffic usage item identifiers. A first similarity between the available traffic usage items in each candidate traffic package data and the actually used traffic usage items in each standard traffic package data in the same traffic package processing area can be calculated based on the Jaccard similarity algorithm, and the first similarity is compared to see whether it is less than a preset similarity threshold, and the candidate traffic package data that is less than the preset similarity threshold is filtered out.

[0083] S202, calculating the second similarity between the candidate traffic packet data filtering result and each standard traffic packet data in the same traffic packet handling area based on the Manhattan distance, and determining the target traffic packet data of each traffic packet handling area based on the second similarity.

[0084] The Manhattan distance may be an algorithm for calculating the degree of consistency in traffic usage between the candidate traffic package data and the standard traffic package data. The second similarity may be the degree of consistency in traffic usage between the candidate traffic package data and the standard traffic package data.

[0085] In one embodiment, the available traffic usage in each candidate traffic package data can be read separately, and the actual traffic usage in each standard traffic package data can be determined. The second similarity is obtained by calculating the Manhattan distance between the available traffic usage in the candidate traffic package data in the candidate traffic package data filtering result and the actual traffic usage in each standard traffic package data in the same traffic package processing area, and the candidate traffic package data with the highest second similarity is determined as the target traffic package data for each traffic package processing area.

[0086] In one embodiment, optionally, calculating a second similarity between the candidate traffic packet data filtering result and each standard traffic packet data in the same traffic packet handling area based on Manhattan distance includes:

[0087] Reading candidate feature data of a plurality of preset features in a candidate traffic packet data filtering result, and standard feature data in each standard traffic packet data;

[0088] Based on the Manhattan distance, candidate feature data and standard feature data, the feature similarity between the candidate traffic packet data filtering results and each standard traffic packet data under each preset feature is calculated respectively;

[0089] The standard feature data in each standard traffic packet data is sorted, feature weights are assigned to feature similarities based on the sorting results, and a weighted sum of feature similarities is calculated based on the feature similarities and the corresponding feature weights to obtain a second similarity.

[0090] Preset features can be pre-set basic features common to all traffic packages. For example, nationwide universal traffic and traffic type. Candidate feature data can be the values corresponding to the preset features in the candidate traffic package data. Standard feature data can be the values corresponding to the preset features in the standard feature data. Feature similarity can be the degree of consistency between the candidate traffic package data and the standard feature data in terms of traffic usage under the preset feature dimensions.

[0091] In one embodiment, the candidate feature data of multiple preset features in the candidate traffic packet data filtering results and the standard feature data in each standard traffic packet data can be read, and the Manhattan distance between the candidate feature data and the standard feature data can be calculated. The Manhattan distance calculation result is used as the feature similarity between the candidate traffic packet data filtering result and the standard traffic packet data under each preset feature. The standard feature data in each standard traffic packet data is sorted according to the size relationship, and the weight allocation level and the adjustment ratio between the levels are set according to the number of preset features. The weight level of each preset feature is determined according to the sorting result, and the feature weight is assigned to the feature similarity corresponding to each preset feature according to the adjustment ratio between the levels, and the weighted sum of the feature similarity is calculated based on the feature similarity and the corresponding feature weight to obtain the second similarity.

[0092] This solution reads the candidate feature data in the candidate traffic packet data filtering results and the standard feature data in the standard traffic packet data, calculates the feature similarity based on the Manhattan distance, and then assigns feature weights to the feature similarities to calculate the weighted sum of the feature similarities to obtain the second similarity, which can improve the accuracy of the second similarity calculation result.

[0093] The technical solution provided in the embodiment of the present application calculates the first similarity between candidate traffic package data and standard traffic package data based on the Jaccard similarity algorithm, filters out the candidate traffic package data based on the first similarity and a preset similarity threshold, calculates the second similarity between the filtered candidate traffic package data results and the standard traffic package data in the same traffic package processing area based on the Manhattan distance, and determines the target traffic package data of each traffic package processing area based on the second similarity. This can achieve the purpose of calculating the similarity of traffic package data in a hierarchical manner in combination with traffic usage items and usage amounts, and further improves the accuracy of the target traffic package data screening results.

[0094] Figure 3 This is a flow chart of pre-processing traffic correlation data provided by the embodiment of the present application. Figure 3 As shown, the specific steps include:

[0095] S301, obtaining a plurality of traffic package usage data and corresponding traffic package handling areas, and dividing the traffic package usage data into regions based on the traffic package handling areas.

[0096] S302: Perform cluster analysis on the regional division results of the traffic package data based on a clustering algorithm to obtain traffic package data of at least two cluster centers in each traffic package handling area.

[0097] The clustering algorithm may be an algorithm for grouping and feature extraction of traffic packet data. The cluster center traffic packet data may be standard data for determining whether a certain data belongs to the cluster to which it belongs.

[0098] In one embodiment, cluster analysis can be performed on the regional division results of the traffic package data according to the clustering algorithm to cluster and group the traffic package data of each traffic package processing area and extract the cluster center of each group to obtain at least two cluster center traffic package data of each traffic package processing area.

[0099] In one embodiment, optionally, after performing cluster analysis on the regional division results of the traffic packet data based on a clustering algorithm, the method further includes:

[0100] Based on the traffic package data in the cluster analysis results, a cluster image of the same traffic package handling area is drawn, and the number of overlapping images and the total number of cluster images in the cluster image are read;

[0101] Calculating the ratio of the number of overlapping images to the total number of clustered images, and determining the relationship between the ratio and a preset ratio threshold;

[0102] Determine whether the cluster analysis result is qualified based on the size relationship. If the cluster analysis result is qualified, determine at least two cluster center traffic package data for each traffic package handling area in the cluster analysis result.

[0103] The cluster image may describe the location distribution of each traffic packet data within the corresponding cluster group.

[0104] In one embodiment, a cluster image of the same traffic package handling area can be drawn based on the traffic package data used in the cluster analysis results, and the number of overlapping images and the total number of cluster images in the cluster image can be determined through image recognition. The ratio of the number of overlapping images to the total number of cluster images is calculated, and the size relationship between the number ratio and the preset ratio threshold is compared. The cluster analysis result is determined to be qualified based on the size relationship. If the number ratio is greater than or equal to the preset ratio threshold, the cluster analysis result is determined to be unqualified, the number of cluster groups is too small, and further grouping is required; if the number ratio is less than the preset ratio threshold, at least two cluster center traffic package data for each traffic package handling area in the cluster analysis results are determined.

[0105] Figure 4 This is a schematic diagram of clustering images using traffic packet data provided by this application.

[0106] like Figure 4 As shown in the figure, multiple traffic package data in traffic package processing area A are clustered and grouped into 5 groups through a clustering algorithm. Each dot in the cluster group represents a traffic package data, and the similarity of different traffic package data can be represented by the distance between the dots in the figure. Among them, there is overlap between cluster group 1 and cluster group 2. The reason for the overlap may be that the distance between some traffic package data and the cluster center data of cluster group 1 is equal to the distance between the data and the cluster center data of cluster group 2. There is also overlap between cluster group 4 and cluster group 5. At this time, the number of overlapping images is 4, the total number of cluster images is 5, and the ratio of the number of overlapping images to the total number of cluster images is.

[0107] This solution draws cluster images of the same traffic package processing area, calculates the ratio of the number of overlapping images to the total number of cluster images to determine whether the cluster analysis results are qualified, and can avoid the problem of inaccurate extraction of cluster center traffic package data due to too few cluster grouping groups, thereby improving the accuracy of standard traffic package data extraction results.

[0108] S303: Use at least two cluster center traffic package data as at least two standard traffic package data in the same traffic package handling area.

[0109] In one embodiment, at least two cluster center traffic packet data may be used as at least two standard traffic packet data for the same traffic packet handling area.

[0110] S304, obtaining multiple candidate traffic package data, respectively calculating the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area, and determining the target traffic package data of each traffic package handling area based on the similarity.

[0111] S305, obtaining the current traffic package processing target area accessed to the traffic package display page, determining the target traffic package data associated with the traffic package processing target area, and displaying the target traffic package data associated with the traffic package processing target area on the traffic package display page.

[0112] The technical solution provided in the embodiment of the present application performs cluster analysis on the regional division results using traffic package data through a clustering algorithm, obtains at least two cluster center traffic package data for each traffic package processing area, and then uses the at least two cluster center traffic package data as at least two standard traffic package data for the same traffic package processing area, which can improve the efficiency of extracting standard traffic package data for each traffic package processing area and further improve the efficiency of subsequent display of target traffic package data.

[0113] Figure 5 This is a structural block diagram of a traffic package page display system based on regional dimensions provided by an embodiment of the present application. Figure 5 As shown, specifically including the following:

[0114] A region division module 501 is used to obtain a plurality of traffic package usage data and corresponding traffic package handling regions, and to divide the traffic package usage data into regions based on the traffic package handling regions;

[0115] The standard traffic package data extraction module 502 is used to extract at least two standard traffic package data of the same traffic package handling area based on a preset feature extraction algorithm and the regional division result using the traffic package data;

[0116] The target traffic package data determination module 503 is used to obtain multiple candidate traffic package data, calculate the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package processing area, and determine the target traffic package data for each traffic package processing area based on the similarity;

[0117] The traffic package data display module 504 is used to obtain the current traffic package processing target area for accessing the traffic package display page, determine the target traffic package data associated with the traffic package processing target area, and display the target traffic package data associated with the traffic package processing target area on the traffic package display page.

[0118] Optionally, the target traffic packet data determination module 503 is specifically configured to:

[0119] Calculating a first similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area based on the Jaccard similarity algorithm, and filtering out the candidate traffic package data based on the first similarity and a preset similarity threshold;

[0120] The second similarity between the candidate traffic packet data filtering result and each standard traffic packet data in the same traffic packet handling area is calculated based on the Manhattan distance, and the target traffic packet data of each traffic packet handling area is determined based on the second similarity.

[0121] Optionally, the target traffic packet data determination module 503 is specifically configured to:

[0122] Reading candidate feature data of a plurality of preset features in a candidate traffic packet data filtering result, and standard feature data in each standard traffic packet data;

[0123] Based on the Manhattan distance, candidate feature data and standard feature data, the feature similarity between the candidate traffic packet data filtering results and each standard traffic packet data under each preset feature is calculated respectively;

[0124] The standard feature data in each standard traffic packet data is sorted, feature weights are assigned to feature similarities based on the sorting results, and a weighted sum of feature similarities is calculated based on the feature similarities and the corresponding feature weights to obtain a second similarity.

[0125] Optionally, the target traffic packet data determination module 503 is specifically configured to:

[0126] Sort candidate traffic packet data based on similarity;

[0127] Based on the preset target traffic package number and the candidate traffic package data sorting results, the candidate traffic package data is filtered to obtain the target traffic package data for each traffic package processing area.

[0128] Optionally, the preset feature extraction algorithm includes a clustering algorithm;

[0129] Accordingly, the standard traffic packet data extraction module 502 is specifically configured to:

[0130] Perform cluster analysis on the regional division results of traffic package data based on a clustering algorithm to obtain traffic package data of at least two cluster centers in each traffic package handling area;

[0131] Use at least two cluster center traffic package data as at least two standard traffic package data for the same traffic package processing area.

[0132] Optionally, the standard traffic packet data extraction module 502 is further configured to:

[0133] Based on the traffic package data in the cluster analysis results, a cluster image of the same traffic package handling area is drawn, and the number of overlapping images and the total number of cluster images in the cluster image are read;

[0134] Calculating the ratio of the number of overlapping images to the total number of clustered images, and determining the relationship between the ratio and a preset ratio threshold;

[0135] Determine whether the cluster analysis result is qualified based on the size relationship. If the cluster analysis result is qualified, determine at least two cluster center traffic package data for each traffic package handling area in the cluster analysis result.

[0136] Optionally, the traffic packet data display module 504 is specifically configured to:

[0137] Obtaining first attribute parameters corresponding to a plurality of target traffic packet data and second attribute parameters corresponding to historical traffic packet data;

[0138] Calculating the difference between the second attribute parameter and each first attribute parameter, and using the difference as the display priority of the plurality of target traffic packet data;

[0139] Based on the display priority, multiple target traffic package data associated with the traffic package processing target area are displayed on the traffic package display page.

[0140] The technical solution provided in the embodiment of the present application includes a regional division module for obtaining multiple usage traffic package data and corresponding traffic package processing areas, and performing regional division of the usage traffic package data based on the traffic package processing areas; a standard traffic package data extraction module for extracting at least two standard traffic package data of the same traffic package processing area based on a preset feature extraction algorithm and the regional division result of the usage traffic package data; a target traffic package data determination module for obtaining multiple candidate traffic package data, respectively calculating the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package processing area, and determining the target traffic package data of each traffic package processing area based on the similarity; a traffic package data display module for obtaining the current traffic package processing target area for accessing the traffic package display page, determining the target traffic package data associated with the traffic package processing target area, and displaying the target traffic package data associated with the traffic package processing target area on the traffic package display page. The above-mentioned traffic package page display system based on regional dimensions solves the problem of inaccurate traffic package display results in the existing technology. By calculating the similarity between the candidate traffic package data and the standard traffic package data in the same traffic package processing area, the target traffic package data of each traffic package processing area is determined, and then the target traffic package data is displayed on the traffic package display page based on the current traffic package processing target area. This can achieve the purpose of displaying traffic package data on the traffic package display page based on the traffic usage characteristics of the regional dimension, improve the accuracy and rationality of displaying traffic packages in different regions, and is conducive to improving the efficiency of traffic package processing.

[0141] In the embodiments of the present application, a regional-based traffic package page display system can be configured as a component, integrated circuit, or chip in a terminal. This can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), while the non-mobile electronic device can be a server, network attached storage (NAS), personal computer (PC), television, ATM, or self-service machine, etc., without specific limitations in the embodiments of the present application.

[0142] In the embodiment of the present application, a regional-based traffic package page display system 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.

[0143] The traffic package page display system based on regional dimensions provided in the embodiment of the present application can implement the various processes implemented in the above-mentioned method embodiments. To avoid repetition, they will not be repeated here.

[0144] 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 method for displaying a traffic package page based on a regional dimension is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0145] 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.

[0146] 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 embodiment of the traffic package page display method based on the regional dimension are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0147] 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), random access memory (RAM), a magnetic disk, or an optical disk.

[0148] The present application also provides a program product comprising program code. When the program product is executed on a computer device, the program code is used to cause the computer device to execute the steps of the methods described above in accordance with various exemplary embodiments of the present application. For example, the computer device may execute a method for displaying a traffic package page based on a regional dimension as described in the present application. The program product may be implemented using any combination of one or more readable media.

[0149] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system comprising the element. In addition, it should be noted that the scope of the methods and systems in the embodiments 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 the opposite 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.

[0150] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of this application.

[0151] 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 this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

[0152] The above are only preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that are possible for those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been 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. 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 regional dimension, characterized in that: The method comprises: Acquire a plurality of traffic package usage data and corresponding traffic package handling areas, and divide the traffic package usage data into regions based on the traffic package handling areas; Extracting at least two standard traffic package data of the same traffic package handling area based on a preset feature extraction algorithm and the regional division result of the traffic package data; Acquire multiple candidate traffic package data, and respectively calculate the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area, including: calculating a first similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area based on the Jaccard similarity algorithm, and filtering the candidate traffic package data based on the first similarity and a preset similarity threshold, reading candidate feature data of multiple preset features in the candidate traffic package data filtering results, and standard feature data in each standard traffic package data, respectively calculating the feature similarity between the candidate traffic package data filtering results and each standard traffic package data under each preset feature based on the Manhattan distance, the candidate feature data and the standard feature data, sorting the standard feature data in each standard traffic package data, assigning a feature weight to the feature similarity based on the sorting result, and calculating a weighted sum of the feature similarities based on the feature similarity and the corresponding feature weight to obtain a second similarity, and determining the target traffic package data for each traffic package handling area based on the second similarity; The current traffic package processing target area accessed to the traffic package display page is obtained, target traffic package data associated with the traffic package processing target area is determined, and the target traffic package data associated with the traffic package processing target area is displayed on the traffic package display page.

2. The method for displaying a traffic package page based on regional dimensions according to claim 1, characterized in that: The determining of target traffic package data for each traffic package handling area based on the second similarity includes: Sorting the candidate traffic packet data based on the second similarity; The candidate traffic package data is filtered based on the preset target traffic package quantity and the candidate traffic package data sorting result to obtain the target traffic package data of each traffic package processing area.

3. The method for displaying a traffic package page based on a regional dimension according to claim 1, characterized in that: The preset feature extraction algorithm includes a clustering algorithm; Accordingly, the method of extracting at least two standard traffic package data of the same traffic package handling area based on the preset feature extraction algorithm and the regional division result of the traffic package data includes: Performing cluster analysis on the regional division results of the traffic package data based on a clustering algorithm to obtain traffic package data of at least two cluster centers for each of the traffic package handling areas; The at least two cluster center traffic package data are used as at least two standard traffic package data in the same traffic package handling area.

4. The method for displaying a traffic package page based on a regional dimension according to claim 3, characterized in that: After performing cluster analysis on the regional division results of the traffic packet data based on a clustering algorithm, the method further includes: Drawing a cluster image of the same traffic package handling area based on the traffic package data in the cluster analysis result, and reading the number of overlapping images and the total number of cluster images in the cluster image; Calculating a ratio of the number of the overlapping images to the total number of the clustered images, and determining a magnitude relationship between the ratio and a preset ratio threshold; Based on the size relationship, it is determined whether the cluster analysis result is qualified. If the cluster analysis result is qualified, at least two cluster center traffic package data of each traffic package handling area in the cluster analysis result are determined.

5. The method for displaying a traffic package page based on a regional dimension according to claim 1, characterized in that: The displaying of the target traffic package data associated with the target area for the traffic package processing on the traffic package display page includes: Obtaining first attribute parameters corresponding to a plurality of target traffic packet data and second attribute parameters corresponding to historical traffic packet data; Calculating a difference between the second attribute parameter and each of the first attribute parameters, and using the difference as a display priority of the plurality of target traffic packet data; Based on the display priority, the plurality of target traffic package data associated with the traffic package processing target area are displayed on the traffic package display page.

6. A traffic package page display system based on regional dimensions, characterized in that: The system comprises: A region division module is used to obtain a plurality of traffic package usage data and corresponding traffic package handling areas, and to divide the traffic package usage data into regions based on the traffic package handling areas; A standard traffic package data extraction module is used to extract at least two standard traffic package data of the same traffic package handling area based on a preset feature extraction algorithm and the regional division result of the traffic package data; a target traffic package data determination module, configured to obtain a plurality of candidate traffic package data, and respectively calculate the similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area, including: calculating a first similarity between each candidate traffic package data and each standard traffic package data in the same traffic package handling area based on a Jaccard similarity algorithm, filtering the candidate traffic package data based on the first similarity and a preset similarity threshold, reading candidate feature data of a plurality of preset features in the candidate traffic package data filtering results, and standard feature data in each standard traffic package data, respectively calculating the feature similarity between the candidate traffic package data filtering results and each standard traffic package data under each preset feature based on Manhattan distance, the candidate feature data, and the standard feature data, sorting the standard feature data in each standard traffic package data, assigning a feature weight to the feature similarity based on the sorting result, and calculating a weighted sum of the feature similarities based on the feature similarity and the corresponding feature weight to obtain a second similarity, and determining the target traffic package data for each traffic package handling area based on the second similarity; The traffic package data display module is used to obtain the current traffic package processing target area for accessing the traffic package display page, determine the target traffic package data associated with the traffic package processing target area, and display the target traffic package data associated with the traffic package processing target area on the traffic package display page.

7. 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 method for displaying a traffic package page based on a regional dimension are implemented as described in any one of claims 1 to 5.

8. 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 method for displaying a traffic package page based on a regional dimension as described in any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Recommendation method and device, electronic equipment and storage medium

    CN115563391A

  • Analysis and recommendation method and system based on big data

    CN118606557A