A method and system for retrieving numbers based on user operation data
By responding to user operation data, calculating and sorting candidate numbers in the number library, the problem of inaccurate number pickup is solved, the number selection efficiency and user satisfaction are improved, and the business transaction rate is enhanced.
Patent Information
- Application Number
- CN202510222590.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-02-27
AI Technical Summary
The results of the number picking in the prior art are not accurate enough, resulting in low user number selection efficiency and affecting the efficiency and transaction rate of business package processing.
By responding to user operation data, the matching similarity between the candidate number and the first number is calculated, and the second number is retrieved from the preset number library based on the similarity sorting and selection limit information, and a forward or reverse sorting method is adopted to improve accuracy.
It improves the accuracy of number picking results, improves user's number selection satisfaction and business processing efficiency, and promotes transaction transaction rate.
Smart Images

Figure CN119719178B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of data processing, and particularly relates to a method and system for retrieving numbers based on user operation data. Background Art
[0002] With the development of the communication industry, people's usage frequency of telephones has been continuously increasing, and communication operators provide users with a variety of communication service packages. As an intermediary for users' telephone communication, the telephone number is one of the considerations when users handle communication service packages. Retrieving and displaying the available numbers of users in a timely and effective manner through the service package handling system for users to select online is conducive to promoting the transaction rate of service package handling and bringing greater benefits to the operator.
[0003] In the prior art, the method of retrieving telephone numbers displayed on the service package handling page is often to determine the available number pool corresponding to the user according to the service package to be handled selected by the user after receiving the service package handling request of the user, retrieve the available numbers of the user in the available number pool by means of random retrieval, and display them on the communication service package handling page. However, the prior art cannot retrieve and display numbers in combination with user needs. When selecting a number, the user needs to change the randomly retrieved available numbers multiple times to find a number that meets their expectations, resulting in inaccurate number retrieval results, and thus the problem of low user number selection efficiency, which affects the service package handling efficiency and sales success rate of the operator. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a method and system for retrieving numbers based on user operation data, which solves the problem of inaccurate number retrieval results in the prior art, thereby resulting in low user number selection efficiency. By responding to the first selection operation data of the user for the first number, determining the sorting method of the matching similarity between the candidate number and the first number, and retrieving the second number in the preset number library based on the sorting result and the number selection restriction information, it is possible to retrieve communication numbers in combination with user needs for users to select numbers, improve the accuracy of number retrieval results, and thus effectively improve the satisfaction of users in the number selection process and the efficiency of service handling, further promoting the transaction rate and bringing greater commercial value to the operator.
[0005] In a first aspect, the embodiments of this application provide a method for retrieving numbers based on user operation data, and the method includes:
[0006] Obtain the number selection restriction information of the user, and retrieve the first number in the preset number library based on the number selection restriction information;
[0007] In response to the first selection operation data of the user for the first number, determine whether the first number is used as a reference number for fishing, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively;
[0008] In the case where the first number is used as a reference number for fishing, sort the candidate numbers in a positive order based on the first matching similarity, and fish for the second number in the preset number library based on the positive sorting result, the preset number fishing quantity, and the number selection restriction information;
[0009] In the case where the first number is not used as a reference number for fishing, sort the candidate numbers in a reverse order based on the first matching similarity, and fish for the second number in the preset number library based on the reverse sorting result, the preset number fishing quantity, and the number selection restriction information.
[0010] Optionally, fishing for the second number in the preset number library based on the reverse sorting result, the preset number fishing quantity, and the number selection restriction information includes:
[0011] Traverse the reverse sorting result based on the preset similarity threshold to obtain at least two candidate second numbers, where the candidate second numbers are candidate numbers in the preset number library with a first matching similarity lower than the preset similarity threshold;
[0012] Filter the candidate second numbers based on the number selection restriction information and the preset number fishing quantity to obtain the second number fishing result.
[0013] Optionally, before filtering the candidate second numbers based on the number selection restriction information and the preset number fishing quantity, the method further includes:
[0014] Obtain the current used number of the user, and calculate the second matching similarity between the current used number and the first number;
[0015] Identify whether the second matching similarity is lower than the preset similarity threshold;
[0016] In the case where the second matching similarity is lower than the preset similarity threshold, calculate the third matching similarity between at least two candidate second numbers and the current used number respectively, and update the candidate second numbers based on the third matching similarity.
[0017] Optionally, after updating the candidate second numbers based on the third matching similarity, the method further includes:
[0018] Identify whether the number of candidate second numbers in the update result is less than the preset number fishing quantity;
[0019] In the case where the number of candidate second numbers in the update result is less than the preset number fishing quantity, supplement the update result of the candidate second numbers based on the reverse sorting result to obtain the final update result of the candidate second numbers.
[0020] Optionally, after retrieving the second number from the preset number library based on the reverse sorting result, the preset number retrieval quantity, and the number selection restriction information, the method further includes:
[0021] In response to the second selection operation data of the user for the second number, determining whether the second number is the final number, where the second selection operation data includes whether to use the selected number as the final number;
[0022] In the case where the second number is not the final number, retrieving the second number in a loop from the preset number library based on the second selection operation data and the number selection restriction information until the second selection operation data is to use the selected number as the final number.
[0023] Optionally, after retrieving the second number in a loop from the preset number library based on the second selection operation data and the number selection restriction information, the method further includes:
[0024] Identifying whether the loop retrieval count of the second number reaches a preset retrieval count threshold;
[0025] In the case where the loop retrieval count of the second number reaches the preset retrieval count threshold, calculating the ratio of the retrieval count of the same second number to the preset retrieval count threshold;
[0026] Determining the numbers to be filtered out in the preset number library based on the ratio, and updating the preset number library based on the numbers to be filtered out.
[0027] Optionally, retrieving the first number from the preset number library based on the number selection restriction information includes:
[0028] Determining the number levels of at least two candidate numbers in the preset number library based on the number selection restriction information, and grouping the at least two candidate numbers by level based on the number levels;
[0029] Retrieving the first number based on the preset number retrieval quantity and the level grouping result of the candidate numbers.
[0030] In a second aspect, an embodiment of the present application provides a number retrieval system based on user operation data, where the system includes:
[0031] A first number retrieval module, configured to obtain the user's number selection restriction information and retrieve the first number from the preset number library based on the number selection restriction information;
[0032] A first matching similarity calculation module, configured to determine whether the first number is used as a retrieval reference number in response to the first selection operation data of the user for the first number, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively;
[0033] A number extraction module, which is used to, when the first number is used as the reference number for extraction, perform a forward sorting on candidate numbers based on the first matching similarity, and extract a second number from a preset number library based on the forward sorting result, the preset number extraction quantity, and the number selection restriction information;
[0034] The number extraction module is further used to, when the first number is not used as the reference number for extraction, perform a reverse sorting on candidate numbers based on the first matching similarity, and extract a second number from a preset number library based on the reverse sorting result, the preset number extraction quantity, and the number selection restriction information.
[0035] 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. When the program or instruction is executed by the processor, the steps of the method in the first aspect are implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
[0037] In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program. The computer program is 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 executes the method in the first aspect.
[0038] In the embodiments of the present application, obtain the number selection restriction information of the user, retrieve the first number from the preset number library based on the number selection restriction information; in response to the first selection operation data of the user for the first number, determine whether the first number is used as a retrieval reference number, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively; in the case where the first number is used as a retrieval reference number, sort the candidate numbers in a positive order based on the first matching similarity, and retrieve the second number from the preset number library based on the positive sorting result, the preset number retrieval quantity, and the number selection restriction information; in the case where the first number is not used as a retrieval reference number, sort the candidate numbers in a reverse order based on the first matching similarity, and retrieve the second number from the preset number library based on the reverse sorting result, the preset number retrieval quantity, and the number selection restriction information. Through the above number retrieval method based on user operation data, the problem that the number retrieval result in the prior art is not accurate enough, which leads to low user number selection efficiency, is solved. By determining the sorting method of the matching similarity between the candidate numbers and the first number in response to the first selection operation data of the user for the first number, calculating the matching similarity between at least two candidate numbers in the preset number library and the first number respectively, and retrieving the second number from the preset number library based on the sorting result and the number selection restriction information, it is possible to achieve the purpose of retrieving communication numbers in combination with user needs for the user to select numbers, improve the accuracy of the number retrieval result, and further effectively improve the satisfaction of the user in the number selection process and the efficiency of business handling, and further promote the transaction success rate, bringing greater commercial value to the operator. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flowchart of a number retrieval method based on user operation data provided by an embodiment of the present application;
[0040] Figure 2 is a flowchart of retrieving the second number provided by an embodiment of the present application;
[0041] Figure 3 is a flowchart of another number retrieval method based on user operation data provided by an embodiment of the present application;
[0042] Figure 4 is a structural block diagram of a number retrieval system based on user operation data provided by an embodiment of the present application;
[0043] Figure 5 is a structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following further describes the specific embodiments of this application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application. Additionally, it should be noted that for ease of description, only the parts related to this application rather than all the content are shown in the drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations 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 operations are completed, but it can also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0045] The following will clearly describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of this application.
[0046] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this 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 the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0047] First, the usage scenario of this solution can be a scenario where, when a user applies for a communication service package, optional numbers are retrieved for the user to select from, especially a scenario where, based on the user's selection restrictions and operation data, numbers that meet the user's needs are accurately retrieved for the user. By responding to the user's first selection operation data for the first number, determining the sorting method of the matching similarity between the candidate numbers and the first number, calculating the matching similarity between at least two candidate numbers in the preset number library and the first number respectively, and retrieving the second number from the preset number library based on the sorting result and the number selection restriction information, it is possible to retrieve communication numbers in combination with the user's needs for the user to select, achieving the purpose of improving the accuracy of the number retrieval result, thereby effectively improving the user's satisfaction and the efficiency of service application during the number selection process, further promoting the transaction success rate, and bringing greater commercial value to the operator. Based on the above usage scenario, it can be understood that the execution entity of this solution can be a server for executing the tasks of the communication service package application system or platform.
[0048] The following will, with reference to the accompanying drawings, through specific embodiments and their application scenarios, elaborate in detail on a method and system for retrieving numbers based on user operation data provided by an embodiment of the present application.
[0049] Figure 1 It is a flowchart of a method for retrieving numbers based on user operation data provided by an embodiment of the present application. As Figure 1 shown, it specifically includes the following steps:
[0050] S101, obtain the user's number selection restriction information, and retrieve the first number from the preset number library based on the number selection restriction information.
[0051] Among them, the number selection restriction information can be information used to describe the numbers that the user cannot select. The number selection restriction information includes information defined by the operator to restrict the user's number selection, such as numbers restricted by the amount of the communication service package applied by the user; it also includes information defined by the user that needs to be avoided during the number selection process, such as not selecting numbers with a certain digit or a certain combination of digits. The preset number library can be a database pre-set by the operator for storing all numbers. The first number can be the number in the preset number library after filtering out the numbers that meet the number selection restrictions.
[0052] In one embodiment, it is possible to determine the package data of the package to be handled by the user according to the communication service package handling request issued by the user, obtain the number selection avoidance data input by the user, and determine the number selection restriction information of the user according to the package data and the number selection avoidance data. Filter the numbers in the preset number library according to the number selection restriction information, retrieve the first number after filtering out the numbers that meet the number selection restriction, and display the first number in the number selection module on the communication service package handling display page. The first number is the optional number of the user in the preset number library, and the number of the first numbers can be multiple.
[0053] In one embodiment, optionally, retrieving the first number from the preset number library based on the number selection restriction information includes:
[0054] Determine the number levels of at least two candidate numbers in the preset number library based on the number selection restriction information, and group the at least two candidate numbers according to the number levels;
[0055] Retrieve the first number based on the preset number retrieval quantity and the result of the hierarchical grouping of the candidate numbers.
[0056] Among them, the candidate numbers can be all the numbers in the preset number library. The specific numbers in the preset number library are related to the operator corresponding to the communication service package handled by the user. The number level can be a parameter indicating the degree of compliance of the candidate number with the number selection restriction. The hierarchical grouping can be an operation of grouping the candidate numbers with the same number level into one group. The candidate numbers with the same number level have the same degree of compliance with the number selection restriction. The preset number retrieval quantity can be the number of numbers pre-set to be displayed on the communication service package handling display page, or can also be the minimum number of numbers retrieved from the preset number library in each round of number retrieval.
[0057] In one embodiment, it is possible to determine the number level of the candidate number according to the number of restriction conditions in the number selection restriction information that each candidate number in the preset number library meets. For example: sort the compliance degrees of each candidate number according to the number of restriction conditions in the number selection restriction information that each candidate number meets. The more restriction conditions a candidate number meets, the higher its compliance degree ranking, and thus the lower its corresponding number level. Group the candidate numbers with the same level among the multiple candidate numbers according to the number level, and according to the preset number retrieval quantity, screen the result of the hierarchical grouping of the candidate numbers in the order of the number level, retrieve the screened numbers from the preset number library to obtain the first number, and display the first number in the number selection module on the communication service package handling display page.
[0058] In this solution, by determining the number level of candidate numbers according to the number selection restriction information, performing level grouping, and retrieving numbers from the grouping result of the candidate numbers according to the preset number retrieval quantity, the first number can be obtained, achieving the purpose of retrieving numbers according to the compliance degree between the numbers and the number selection restriction information, avoiding the problem of retrieving the user's selected restricted numbers, improving the accuracy of retrieving the first number, and thus improving the user's satisfaction.
[0059] S102. In response to the first selection operation data of the user for the first number, determine whether the first number is used as a reference number for retrieval, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively.
[0060] Among them, the first selection operation data may be the operation data of the user on whether to select the first number. The first selection operation data includes whether the user clicks the selection button of a certain number in the first number to perform an operation of selecting or not selecting the number, and whether to click the confirmation button to confirm that the number is used as their final number in the case of selection. The final number may be the number that the user finally uses for communication. The reference number for retrieval may be a number that meets the user's needs and is used as a reference when retrieving candidate numbers in the preset number library. The first matching similarity may be the similarity degree between the number characteristics of each candidate number in the preset number library and the number characteristics of the first number. The number characteristics may include the numbers that make up the number, the position of a certain number in the number, and the combination of numbers, etc.
[0061] In one embodiment, it is possible to determine whether the user has selected the first number and whether the number is used as the final communication number according to the first selection operation data of the user for the first number. If the first number includes multiple numbers, it is possible to determine whether the user has selected a certain number in the first number and whether the number is used as the final communication number according to the first selection operation data. In the case where the user has selected but has not used the number as the final communication number, determine the first number as the reference number for retrieval, otherwise determine that the first number is not used as the reference number for retrieval. Calculate the first matching similarity between each candidate number and the first number respectively according to the number characteristics of each candidate number in the preset number library and the number characteristics of the first number. For example: use the ratio of the number of identical numbers between the numbers that make up the candidate number and the numbers that make up the first number to the total number of numbers that make up the number as the first matching similarity between the candidate number and the first number.
[0062] S1031. In the case where the first number is used as the reference number for retrieval, sort the candidate numbers in a positive direction based on the first matching similarity, and retrieve the second number from the preset number library based on the positive sorting result, the preset number retrieval quantity, and the number selection restriction information.
[0063] Among them, the forward sorting can be an operation of sorting the corresponding candidate numbers in descending order according to the magnitude of the first matching similarity. The second number can be a user-selectable number in the preset number library that conforms to the number characteristics of the retrieved reference number.
[0064] In one embodiment, when the first number is used as the retrieved reference number, it can be determined that the first number meets the user's number selection requirement. At this time, candidate numbers with a relatively high first matching similarity to the first number can be retrieved as the second number. The candidate numbers can be sorted forward in descending order according to the magnitude of the first matching similarity, the candidate numbers in the forward sorting result can be filtered according to the number selection restriction information, and the candidate numbers after filtering can be sequentially selected in the number order of the forward sorting result to obtain the preset number of retrieved candidate numbers as the second number.
[0065] S1032. When the first number is not used as the retrieved reference number, the candidate numbers are sorted reversely based on the first matching similarity, and the second number is retrieved from the preset number library based on the reverse sorting result, the preset number of retrieved numbers, and the number selection restriction information.
[0066] Among them, the reverse sorting can be an operation of sorting the corresponding candidate numbers in ascending order according to the magnitude of the first matching similarity.
[0067] In one embodiment, when the first number is not used as the retrieved reference number, it can be determined that the first number does not meet the user's number selection requirement. At this time, the numbers that do not meet the user's requirement among the candidate numbers can be excluded according to the first number, and the candidate numbers with a relatively low first matching similarity to the first number can be retrieved as the second number. The candidate numbers can be sorted reversely in ascending order according to the magnitude of the first matching similarity, the candidate numbers in the reverse sorting result can be filtered according to the number selection restriction information, and the candidate numbers after filtering can be sequentially selected in the number order of the reverse sorting result to obtain the preset number of retrieved candidate numbers as the second number.
[0068] The technical solution provided by the embodiments of the present application obtains the number selection restriction information of the user, retrieves the first number in the preset number library based on the number selection restriction information; in response to the first selection operation data of the user for the first number, determines whether the first number is used as a retrieval reference number, and calculates the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively; in the case where the first number is used as a retrieval reference number, sorts the candidate numbers in a positive order based on the first matching similarity, and retrieves the second number in the preset number library based on the positive sorting result, the preset number retrieval quantity, and the number selection restriction information; in the case where the first number is not used as a retrieval reference number, sorts the candidate numbers in a reverse order based on the first matching similarity, and retrieves the second number in the preset number library based on the reverse sorting result, the preset number retrieval quantity, and the number selection restriction information. Through the above number retrieval method based on user operation data, the problem in the prior art that the number retrieval result is not accurate enough, resulting in low user number selection efficiency, is solved. By responding to the first selection operation data of the user for the first number, determining the sorting method of the matching similarity between the candidate numbers and the first number, calculating the matching similarity between at least two candidate numbers in the preset number library and the first number respectively, and retrieving the second number in the preset number library based on the sorting result and the number selection restriction information, the purpose of retrieving communication numbers in combination with user needs for the user to select numbers can be achieved, the accuracy of the number retrieval result is improved, and thus the satisfaction of the user in the number selection process and the efficiency of business handling are effectively improved, further promoting the transaction success rate and bringing greater commercial value to the operator.
[0069] Figure 2 It is the flowchart of retrieving the second number provided by the embodiments of the present application. As Figure 2 shown, it specifically includes the following steps:
[0070] S201, traverse the reverse sorting result based on the preset similarity threshold to obtain at least two candidate second numbers, where the candidate second numbers are candidate numbers in the preset number library whose first matching similarity is lower than the preset similarity threshold.
[0071] Among them, the preset similarity threshold can be the minimum value of the similarity between the candidate numbers and the first number when the first number meets the user's needs. The candidate second numbers are candidate numbers in the preset number library whose first matching similarity is lower than the preset similarity threshold.
[0072] In one embodiment, since the first number at this time does not meet the user's number selection requirements, the numbers that do not meet the user's needs in the candidate numbers can be excluded according to the first number. Compare the sizes of the first matching similarities of each candidate number in the reverse sorting result with the preset similarity threshold respectively, and use the candidate numbers smaller than the preset similarity threshold as the candidate second numbers.
[0073] S202. Filter the candidate second numbers based on the number selection restriction information and the preset number fetching quantity, and obtain the second number fetching result.
[0074] In one embodiment, the candidate second numbers can be filtered according to the number selection restriction information, and the filtered candidate second numbers can be screened according to the preset number fetching quantity to obtain the second number fetching result.
[0075] In one embodiment, optionally, before filtering the candidate second numbers based on the number selection restriction information and the preset number fetching quantity, the method further includes:
[0076] Obtain the user's current used number, and calculate the second matching similarity between the current used number and the first number;
[0077] Identify whether the second matching similarity is lower than the preset similarity threshold;
[0078] In the case where the second matching similarity is lower than the preset similarity threshold, calculate the third matching similarity between at least two candidate second numbers and the current used number respectively, and update the candidate second numbers based on the third matching similarity.
[0079] Wherein, the user's current used number can be the number used by the user for communication services at the current moment. The second matching similarity can be the degree of similarity between the number characteristics of the user's current used number and the number characteristics of the first number. The third matching similarity is the degree of similarity between the number characteristics of the candidate second number and the number characteristics of the current used number.
[0080] In one embodiment, the current used number of the user can be determined according to the user's login information or the number to be replaced input by the user. According to the above calculation method of number similarity, the second matching similarity between the current used number and the first number is calculated based on the number characteristics of the current used number and the number characteristics of the first number. Determine whether the second matching similarity is lower than the preset similarity threshold according to the value of the second matching similarity and the preset similarity threshold. When the second matching similarity is lower than the preset similarity threshold, it indicates that the current used number of the user deviates greatly from the first number, and the current used number of the user may be more in line with the user's number selection requirements. At this time, the third matching similarity between at least two candidate second numbers and the current used number can be calculated respectively according to the above calculation method of number similarity, and the candidate second numbers can be further screened according to the third matching similarity. For example: if the third matching similarity of a certain candidate second number is lower than the preset similarity threshold, it indicates that the candidate second number deviates greatly from the current used number of the user. At this time, it can be determined that the candidate second number does not meet the user's needs, and the candidate second number can be filtered out to update the candidate second number, and the update result is the number that meets the user's needs.
[0081] In this solution, by calculating the second matching similarity between the current used number of the user and the first number, and when the second matching similarity is lower than the preset similarity threshold, calculating the third matching similarity between at least two candidate second numbers and the current used number respectively, and updating the candidate second numbers based on the third matching similarity, the purpose of further screening the candidate numbers according to the actual used number of the user can be achieved, reducing the number of numbers to be retrieved that do not meet the user's needs, and improving the accuracy and efficiency of subsequent number retrieval.
[0082] In one embodiment, optionally, after updating the candidate second numbers based on the third matching similarity, the method further includes:
[0083] Identifying whether the number of the updated result of the candidate second numbers is less than the preset number retrieval quantity;
[0084] When the number of the updated result of the candidate second numbers is less than the preset number retrieval quantity, supplementing the updated result of the candidate second numbers based on the reverse sorting result to obtain the final updated result of the candidate second numbers.
[0085] In one embodiment, since the number of candidate second numbers after further screening the candidate second numbers according to the third matching similarity may be less than the preset number of numbers to be retrieved, in order to avoid the problem that the number of finally retrieved and displayed numbers is too small due to excessive screening of the candidate second numbers, it is possible to identify whether the number of numbers in the candidate second number update result is less than the preset number of numbers to be retrieved. When the number of numbers in the candidate second number update result is less than the preset number of numbers to be retrieved, calculate the difference between the number of numbers in the candidate second number update result and the preset number of numbers to be retrieved, use the difference as the number of numbers to be supplemented, and supplement the candidate second number update result according to the order of the candidate numbers in the reverse sorting result and the number of numbers to be supplemented to obtain the final update result of the candidate second numbers.
[0086] In this solution, by supplementing the candidate second number update result based on the reverse sorting result when the number of numbers in the candidate second number update result is less than the preset number of numbers to be retrieved, the final update result of the candidate second numbers is obtained, which can avoid the problem that the number of finally retrievable numbers is too small due to excessive screening of the candidate second numbers, ensure the user's number selection options, and is beneficial to improving the user's satisfaction.
[0087] The technical solution provided by the embodiments of the present application traverses the reverse sorting result through a preset similarity threshold to obtain at least two candidate second numbers, screens the candidate second numbers according to the number selection restriction information and the preset number of numbers to be retrieved, and obtains the second number retrieval result, which can achieve the purpose of further screening the second numbers based on the matching similarity, ensure that the retrieved second numbers better meet the user's needs, and thus improve the user's number selection efficiency and satisfaction.
[0088] Figure 3 It is a flowchart of another method for retrieving numbers based on user operation data provided by the embodiments of the present application. As Figure 3 shown, it specifically includes the following steps:
[0089] S301 Obtain the user's number selection restriction information, and retrieve the first number in the preset number library based on the number selection restriction information.
[0090] S302, in response to the user's first selection operation data for the first number, determine whether the first number is used as a retrieval reference number, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively.
[0091] S3031, when the first number is used as a retrieval reference number, perform a forward sorting on the candidate numbers based on the first matching similarity, and retrieve the second number in the preset number library based on the forward sorting result, the preset number of numbers to be retrieved, and the number selection restriction information.
[0092] S3032: When the first number is not used as the reference number for fetching, reverse-sort the candidate numbers based on the first matching similarity, and fetch the second number from the preset number library based on the reverse-sorting result, the preset number fetching quantity, and the number selection restriction information.
[0093] S304: In response to the second selection operation data of the user for the second number, determine whether the second number is the final number. The second selection operation data includes whether to use the selected number as the final number.
[0094] Among them, the second selection operation data can be the operation data of the user's selection of the second number. The second selection operation data includes whether the user clicks the selection button of a certain number in the second number, performs the operation of selecting or not selecting the number, and whether to click the confirmation button to confirm using the number as its final number in the case of selection.
[0095] In one embodiment, it is possible to determine whether the user has selected the second number and whether to use the number as the final communication number according to the second selection operation data of the user for the second number.
[0096] S305: When the second number is not the final number, circularly fetch the second number from the preset number library based on the second selection operation data and the number selection restriction information until the second selection operation data is to use the selected number as the final number.
[0097] In one embodiment, when the second number is not the final number and it is determined that a number needs to be fetched again from the preset number library, it is possible to determine whether the user has selected a certain number in the second number according to the second selection operation data, and circularly fetch the second number from the preset number library according to the above number fetching steps and the number selection restriction information until the second selection operation data is to use the selected number as the final number.
[0098] In one embodiment, optionally, after circularly fetching the second number from the preset number library based on the second selection operation data and the number selection restriction information, the method further includes:
[0099] Identify whether the circular fetching times of the second number reach the preset fetching times threshold;
[0100] When the circular fetching times of the second number reach the preset fetching times threshold, calculate the ratio of the fetching times of the same second number to the preset fetching times threshold;
[0101] Determine the numbers to be filtered out in the preset number library based on the ratio, and update the preset number library based on the numbers to be filtered out.
[0102] Among them, the preset fetching times threshold can be the average number of times for circularly fetching the second number when the user determines the final number in advance. The number to be filtered can be the number in the preset number library that affects the fetching accuracy when fetching numbers. The number to be filtered does not meet the user's number selection requirements, but there is a situation where the number characteristics of the number to be filtered are close to the preset similarity with the number characteristics of most numbers in the preset number library.
[0103] In one embodiment, it is possible to identify whether the circular fetching times of the second number reach the preset fetching times threshold according to the number of times of the received second operation data. When the circular fetching times of the second number reach the preset fetching times threshold, it indicates that there is a second number that has been fetched multiple times but still does not meet the user's requirements. At this time, it is necessary to determine this number as a number that interferes with number fetching and filter it. Since there may be multiple second numbers that are fetched multiple times during the multiple circular fetching processes, therefore, the ratio of the number of times a same second number that is fetched multiple times is fetched during circular fetching to the preset fetching times threshold can be calculated respectively, and the second number with the largest ratio is determined as the number to be filtered in the preset number library, and the preset number library is updated based on the number to be filtered.
[0104] In this solution, when the circular fetching times of the second number reach the preset fetching times threshold, by calculating the ratio of the fetching times of the same second number to the preset fetching times threshold, determining the number to be filtered in the preset number library according to the ratio, and updating the preset number library based on the number to be filtered, the purpose of filtering out interfering numbers can be achieved, avoiding the problem of multiple invalid fetching caused by the existence of interfering numbers, and improving the efficiency of number fetching.
[0105] The technical solution provided by the embodiment of the present application, by responding to the user's second selection operation data for the second number, determining whether the second number is the final number, and circularly fetching the second number according to the second selection operation data and the number selection restriction information, can achieve the purpose of continuously screening numbers that meet the user's requirements, and ensure the user's satisfaction with number selection.
[0106] Figure 4 It is a structural block diagram of a number fetching system based on user operation data provided by an embodiment of the present application. As Figure 4 shown, it specifically includes the following:
[0107] The first number fetching module 401 is used to obtain the user's number selection restriction information and fetch the first number in the preset number library based on the number selection restriction information;
[0108] The first matching similarity calculation module 402 is configured to determine whether the first number is used as a reference number for fetching in response to the first selection operation data of the user for the first number, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively;
[0109] The number fetching module 403 is configured to, when the first number is used as a reference number for fetching, perform a forward sorting on the candidate numbers based on the first matching similarity, and fetch a second number in the preset number library based on the forward sorting result, the preset number fetching quantity, and the number selection restriction information;
[0110] The number fetching module 403 is further configured to, when the first number is not used as a reference number for fetching, perform a reverse sorting on the candidate numbers based on the first matching similarity, and fetch a second number in the preset number library based on the reverse sorting result, the preset number fetching quantity, and the number selection restriction information.
[0111] Optionally, the number fetching module 403 is specifically configured to:
[0112] Traverse the reverse sorting result based on a preset similarity threshold to obtain at least two candidate second numbers, where the candidate second numbers are candidate numbers in the preset number library whose first matching similarity is lower than the preset similarity threshold;
[0113] Screen the candidate second numbers based on the number selection restriction information and the preset number fetching quantity to obtain the second number fetching result.
[0114] Optionally, the number fetching module 403 is further configured to:
[0115] Obtain the current used number of the user, and calculate the second matching similarity between the current used number and the first number;
[0116] Identify whether the second matching similarity is lower than the preset similarity threshold;
[0117] When the second matching similarity is lower than the preset similarity threshold, calculate the third matching similarity between at least two candidate second numbers and the current used number respectively, and update the candidate second numbers based on the third matching similarity.
[0118] Optionally, the number fetching module 403 is further configured to:
[0119] Identify whether the number quantity of the updated result of the candidate second numbers is less than the preset number fetching quantity;
[0120] When the number quantity of the updated result of the candidate second numbers is less than the preset number fetching quantity, supplement the updated result of the candidate second numbers based on the reverse sorting result to obtain the final updated result of the candidate second numbers.
[0121] Optionally, the number fetching module 403 is further configured to:
[0122] In response to the second selection operation data of the user for the second number, determine whether the second number is the final number, where the second selection operation data includes whether to use the selected number as the final number;
[0123] In the case where the second number is not the final number, based on the second selection operation data and the number selection restriction information, fetch the second number in a loop from the preset number library until the second selection operation data is to use the selected number as the final number.
[0124] Optionally, the number fetching module 403 is further configured to:
[0125] Identify whether the loop fetching times of the second number reach the preset fetching times threshold;
[0126] In the case where the loop fetching times of the second number reach the preset fetching times threshold, calculate the ratio of the fetching times of the same second number to the preset fetching times threshold;
[0127] Based on the ratio, determine the numbers to be filtered out in the preset number library, and update the preset number library based on the numbers to be filtered out.
[0128] Optionally, the first number fetching module 401 is specifically configured to:
[0129] Based on the number selection restriction information, determine the number levels of at least two candidate numbers in the preset number library, and perform level grouping on the at least two candidate numbers based on the number levels;
[0130] Based on the preset number fetching quantity and the level grouping result of the candidate numbers, fetch the first number.
[0131] In the technical solution provided by the embodiment of the present application, a first number fetching module is configured to obtain the number selection restriction information of a user, and fetch a first number from a preset number library based on the number selection restriction information; a first matching similarity calculation module is configured to, in response to the first selection operation data of the user for the first number, determine whether the first number is used as a fetching reference number, and calculate the first matching similarity between at least two candidate numbers in the preset number library and the first number respectively; a number fetching module is configured to, in the case where the first number is used as a fetching reference number, perform a forward sorting on the candidate numbers based on the first matching similarity, and fetch a second number from the preset number library based on the forward sorting result, the preset number fetching quantity, and the number selection restriction information; the number fetching module is further configured to, in the case where the first number is not used as a fetching reference number, perform a reverse sorting on the candidate numbers based on the first matching similarity, and fetch a second number from the preset number library based on the reverse sorting result, the preset number fetching quantity, and the number selection restriction information. Through the above-mentioned number fetching system based on user operation data, the problem in the prior art that the number fetching result is not accurate enough, resulting in low user number selection efficiency, is solved. By responding to the first selection operation data of the user for the first number, determining the sorting method of the matching similarity between the candidate numbers and the first number, calculating the matching similarity between at least two candidate numbers in the preset number library and the first number respectively, and fetching the second number from the preset number library based on the sorting result and the number selection restriction information, the purpose of fetching a communication number in combination with the user's needs for the user to select a number can be achieved, the accuracy of the number fetching result is improved, and further the satisfaction of the user in the number selection process and the efficiency of business handling are effectively improved, and further the transaction closing rate is promoted, bringing greater commercial value to the operator.
[0132] A number fetching system based on user operation data in the embodiment of the present application can be configured in components, integrated circuits, or chips in a 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 handheld computer, a vehicle-mounted 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. The embodiment of the present application does not make specific limitations.
[0133] One number retrieval system based on user operation data in the embodiments of the present application can be an operating system. This operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0134] The number retrieval system based on user operation data provided by the embodiments of the present application can implement each process implemented by the above method embodiments. To avoid repetition, it will not be elaborated here.
[0135] As Figure 5 shown, the embodiments of the present application also provide an electronic device 500, including a processor 501, a memory 502, a program or instruction stored on the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, it implements each process of the above embodiments of the number retrieval method based on user operation data and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0136] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0137] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above embodiments of the number retrieval method based on user operation data and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0138] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0139] The embodiments of the present application further provide a program product, which includes program code. When the program product runs on a computer device, the program code is used to cause the computer device to execute the steps in the methods according to various exemplary embodiments of the present application described above in this specification. For example, the computer device can execute a number retrieval method based on user operation data recorded in the embodiments of the present application. The program product can be implemented by any combination of one or more readable media.
[0140] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or system including a series of elements not only includes those elements but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or system including that element. In addition, it should be pointed out 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 reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
[0142] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
[0143] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope 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. Without departing from the concept of the present application, it may also include more other equivalent embodiments, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for retrieving numbers based on user operation data, characterized in that, The method includes: Obtaining the number selection restriction information of the user, determining the number levels of at least two candidate numbers in the preset number library based on the number selection restriction information, performing level grouping on the at least two candidate numbers based on the number levels, and retrieving a first number based on the preset number retrieval quantity and the level grouping result of the candidate numbers; Responding to the first selection operation data of the user for the first number, determining whether the first number is used as a retrieval reference number, and respectively calculating the first matching similarity between at least two candidate numbers in the preset number library and the first number; In the case where the first number is used as a retrieval reference number, sorting the candidate numbers in a positive order based on the first matching similarity, and retrieving a second number in the preset number library based on the positive sorting result, the preset number retrieval quantity, and the number selection restriction information; In the case where the first number is not used as a retrieval reference number, sorting the candidate numbers in a reverse order based on the first matching similarity, traversing the reverse sorting result based on a preset similarity threshold to obtain at least two candidate second numbers, where the candidate second numbers are candidate numbers in the preset number library with a first matching similarity lower than the preset similarity threshold, obtaining the currently used number of the user, calculating the second matching similarity between the currently used number and the first number, identifying whether the second matching similarity is lower than the preset similarity threshold, in the case where the second matching similarity is lower than the preset similarity threshold, respectively calculating the third matching similarity between the at least two candidate second numbers and the currently used number, updating the candidate second numbers based on the third matching similarity, screening the candidate second numbers based on the number selection restriction information and the preset number retrieval quantity to obtain a second number retrieval result, responding to the second selection operation data of the user for the second number, determining whether the second number is the final number, where the second selection operation data includes whether to use the selected number as the final number, in the case where the second number is not the final number, circularly retrieving the second number in the preset number library based on the second selection operation data and the number selection restriction information, identifying whether the circular retrieval times of the second number reach a preset retrieval times threshold, in the case where the circular retrieval times of the second number reach the preset retrieval times threshold, calculating the ratio of the retrieval times of the same second number to the preset retrieval times threshold, determining the numbers to be filtered out in the preset number library based on the ratio, and updating the preset number library based on the numbers to be filtered out until the second selection operation data is to use the selected number as the final number.
2. The method for retrieving numbers based on user operation data according to claim 1, wherein After updating the candidate second numbers based on the third matching similarity, the method further includes: Identifying whether the number quantity of the updated result of the candidate second numbers is less than the preset number retrieval quantity; When the number of numbers in the candidate second number update result is less than the preset number fetching quantity, supplementarily fetch the candidate second number update result based on the reverse sorting result to obtain the final update result of the candidate second number.
3. A number extraction system based on user operation data, characterized in that, The system includes: A first number fetching module, configured to obtain the number selection restriction information of the user, determine the number levels of at least two candidate numbers in the preset number library based on the number selection restriction information, group the at least two candidate numbers by level based on the number levels, and fetch the first number based on the preset number fetching quantity and the level grouping result of the candidate numbers; A first matching similarity calculation module, configured to, in response to the first selection operation data of the user for the first number, determine whether the first number is used as a fetching reference number, and calculate the first matching similarities between at least two candidate numbers in the preset number library and the first number respectively; A number fetching module, configured to, when the first number is used as a fetching reference number, sort the candidate numbers in a forward direction based on the first matching similarity, and fetch the second number in the preset number library based on the forward sorting result, the preset number fetching quantity, and the number selection restriction information; The number fetching module is further configured to, when the first number is not used as a fetching reference number, sort the candidate numbers in a reverse direction based on the first matching similarity, traverse the reverse sorting result based on a preset similarity threshold to obtain at least two candidate second numbers, where the candidate second numbers are candidate numbers in the preset number library with a first matching similarity lower than the preset similarity threshold, obtain the currently used number of the user, calculate the second matching similarity between the currently used number and the first number, identify whether the second matching similarity is lower than the preset similarity threshold, when the second matching similarity is lower than the preset similarity threshold, calculate the third matching similarities between the at least two candidate second numbers and the currently used number respectively, update the candidate second numbers based on the third matching similarities, screen the candidate second numbers based on the number selection restriction information and the preset number fetching quantity to obtain the second number fetching result, in response to the second selection operation data of the user for the second number, determine whether the second number is the final number, where the second selection operation data includes whether to use the selected number as the final number, when the second number is not the final number, circularly fetch the second number in the preset number library based on the second selection operation data and the number selection restriction information, identify whether the circular fetching times of the second number reach a preset fetching times threshold, when the circular fetching times of the second number reach the preset fetching times threshold, calculate the ratio of the fetching times of the same second number to the preset fetching times threshold, determine the numbers to be filtered out in the preset number library based on the ratio, and update the preset number library based on the numbers to be filtered out until the second selection operation data is to use the selected number as the final number.
4. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the steps of a method for retrieving numbers based on user operation data as described in any one of claims 1-2 are implemented.
5. A readable storage medium, characterized in that, A program or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, the steps of a method for retrieving numbers based on user operation data as described in any one of claims 1-2 are implemented.
Citation Information
Patent Citations
Personalized recommendation method based on commodity property entropy
CN102411754A
Number determination method and device and storage medium
CN116228348A
Integrated number card management system
CN118504872A