Private number retrieval method and private number resource pool library construction method and device
By obtaining the privacy account application information and searching the corresponding resource pool from the privacy account resource pool library, the problem of quickly finding the target privacy account in a large number of privacy account resources is solved, and efficient privacy retrieval and powerful privacy protection are achieved.
Patent Information
- Application Number
- CN202311164962.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2025-03-11
AI Technical Summary
Among the massive privacy account resources, how to quickly determine the target privacy account that meets user needs and improve the retrieval efficiency and user experience of privacy account.
By obtaining the application information of the target privacy number, including the target type and target function, determine the target privacy number resource pool corresponding to the target type and target function from the privacy number resource pool library, and retrieve the target privacy number from the resource pool.
It realizes automatic matching of privacy accounts, improves the retrieval efficiency of privacy accounts, saves labor costs, and ensures the confidentiality and privacy protection of numbers.
Smart Images

Figure CN119603396A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method for retrieving a privacy number, and a method and device for constructing a privacy number resource pool library. Background Art
[0002] Number privacy protection is a service that provides users with communication capabilities through private numbers. As a key resource for number privacy protection, private numbers usually belong to different types of communication service providers, and the personalized functions they support vary. How to quickly identify the target private number that meets user needs among the massive amount of private number resources is an urgent problem to be solved. Summary of the invention
[0003] The embodiments of the present application provide a privacy number retrieval method, a privacy number resource pool library construction method and device to quickly determine the target privacy number.
[0004] In the first aspect, an embodiment of the present application provides a privacy number retrieval method, comprising: obtaining application information of a target privacy number; wherein the application information includes a target type and a target function of the target privacy number; wherein the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider; from a privacy number resource pool library, determining a target privacy number resource pool corresponding to both the target type and the target function; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function; retrieving the target privacy number from the target privacy number resource pool.
[0005] In the second aspect, an embodiment of the present application provides a method for constructing a privacy number resource pool library, including: constructing multiple privacy number resource pools; establishing a mapping relationship between multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and establishing a mapping relationship between multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to a physical communication service provider and types belonging to a virtual communication service provider; storing multiple privacy numbers in corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
[0006] In the third aspect, an embodiment of the present application provides a privacy number retrieval device, including: an application information acquisition module, used to obtain application information of a target privacy number; wherein the application information includes a target type and a target function of the target privacy number; wherein the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider; a resource pool determination module, used to determine a target privacy number resource pool corresponding to both the target type and the target function from a privacy number resource pool library; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function; a target privacy number retrieval module, used to retrieve the target privacy number from the target privacy number resource pool.
[0007] In a fourth aspect, an embodiment of the present application provides a device for constructing a privacy number resource pool library, comprising: a resource pool construction module, used to construct multiple privacy number resource pools; a mapping relationship establishment module, used to establish a mapping relationship between multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and to establish a mapping relationship between multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to a physical communication service provider and types belonging to a virtual communication service provider; a privacy number storage module, used to store multiple privacy numbers into corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
[0008] In a fifth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, and the processor implements the method provided in any embodiment of the present application when executing the computer program.
[0009] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.
[0010] Compared with the prior art, the technical solution of the embodiment of the present application has the following advantages:
[0011] On the one hand, by obtaining the application information of the target privacy number and determining the target privacy number resource pool corresponding to the target type and target function from the privacy number resource pool library, and retrieving the target privacy number from the target privacy number resource pool, automatic matching of the privacy number can be achieved, thereby improving the retrieval efficiency of the privacy number and saving labor costs.
[0012] By determining the first privacy number resource set corresponding to the target type and the second privacy number resource set corresponding to the target function from the privacy number resource pool library, and using the privacy number resource pool at the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool, the target privacy number resource pool that meets the needs of the privacy number applicant can be efficiently retrieved from the privacy number resource pool library, thereby improving the retrieval efficiency of the target privacy number.
[0013] By determining the first privacy number resource set corresponding to the target type and determining multiple privacy number resource sets to be selected corresponding to each target function from the privacy number resource pool library, the privacy number resource pool at the intersection of the multiple privacy number resource sets to be selected is divided into the second privacy number resource set, and finally the privacy number resource pool at the intersection of the first privacy number resource set and the second privacy number resource set is used as the target privacy number resource pool. The target privacy number resource pool that matches the target type and multiple target functions can be accurately determined from the privacy number resource pool library, thereby achieving precise matching of the privacy number.
[0014] By retrieving the target privacy number corresponding to the target attribute from multiple privacy numbers with different attributes in the target privacy number resource pool, the retrieval and matching of the target attribute can determine the target privacy number that better meets the actual needs, thereby improving the user experience and ease of use. Specifically, in the case where the target attribute includes the place of origin, by matching the place of origin, the target privacy number can be selected according to the geographical location requirements of the privacy number applicant, thereby improving the credibility and privacy of the target privacy number. In the case where the target attribute includes a number segment, a privacy number in a specific number segment can be selected as the target privacy number, thereby improving the authenticity and availability of the target privacy number.
[0015] By traversing each target privacy number resource pool to retrieve the target privacy number corresponding to the target attribute from each target privacy number resource pool until the number of target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed, the target privacy number matching the target attribute can be found from multiple privacy numbers with different attributes, thereby meeting the needs of the privacy number applicant.
[0016] By providing the target privacy number to the applicant of the application information, the automatic matching and delivery of the privacy number can be realized, and the delivery efficiency can be improved. By changing the application status of the target privacy number in the privacy number resource pool from the applicable status to the non-applicable status, other users will no longer be able to apply for the target privacy number, thereby ensuring that the target privacy number is only used by the privacy number applicant, improving the confidentiality and privacy protection of the number, and at the same time ensuring that the privacy number applicant can monopolize the target privacy number and avoid sharing number resources with other users, thereby preventing number conflicts and confusion, and better meeting the privacy protection needs of the privacy number applicant.
[0017] On the other hand, by constructing multiple privacy number resource pools, establishing mapping relationships between multiple privacy number resource pools and multiple types, and establishing mapping relationships between multiple privacy number resource pools and multiple functions, and storing multiple privacy numbers in corresponding privacy number resource pools, more personalized, diversified and efficient privacy number services can be provided to privacy number applicants. When a privacy number applicant applies for a privacy number, the privacy number applicant's needs can be quickly matched, and a target privacy number that meets the privacy number applicant's needs can be provided, thereby achieving efficient matching and delivery of the target privacy number. In addition, the construction of a privacy number resource pool library is conducive to the privacy number service provider to better manage and maintain privacy number resources, thereby improving resource utilization efficiency.
[0018] By determining the target set corresponding to the provider of the privacy number and storing the privacy number in a privacy number resource pool of the same type as the privacy number under the target set, the privacy number can be quickly stored in the corresponding privacy number resource pool, making the process of privacy number storage more efficient.
[0019] By marking the privacy numbers in each privacy number resource pool as available for application, the privacy numbers marked as available for application can be applied for and used by the privacy number applicant. When the privacy number applicant applies for a privacy number, the privacy number service provider can quickly match the required privacy number based on the application information, further improving the efficiency of matching and delivering privacy numbers. In addition, by marking the status of the privacy number, the status of the privacy number in the privacy number resource pool can be kept clear and orderly, which is convenient for query and update at any time.
[0020] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0022] Figure 1 An application scenario diagram of the privacy number retrieval method provided in an embodiment of the present application is shown;
[0023] Figure 2 Another application scenario diagram of the privacy number retrieval method provided in an embodiment of the present application is shown;
[0024] Figure 3 A flowchart showing a method for retrieving a private number provided in an embodiment of the present application is shown;
[0025] Figure 4 An example diagram showing an application of the privacy number retrieval method provided in an embodiment of the present application;
[0026] Figure 5 A flowchart showing a method for constructing a privacy number resource pool library provided in an embodiment of the present application;
[0027] Figure 6 The following is an architecture diagram of a privacy number retrieval device provided in an embodiment of the present application;
[0028] Figure 7 An architectural diagram showing a device for constructing a privacy number resource pool library provided in an embodiment of the present application;
[0029] Figure 8 A block diagram of an electronic device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0031] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0032] The following terms are used in this article:
[0033] Privacy Number: A mobile phone number provided by a physical communication service provider or a virtual communication service provider, used for number forwarding of number privacy protection services, so that the privacy number can be used instead of the user's real mobile phone number for communication during the communication process.
[0034] Physical communication service providers: refers to companies or organizations that actually own and manage communication infrastructure. They usually have their own communication networks, including mobile communication base stations, fixed telephone lines, etc., for providing communication services. For example, physical communication service providers usually include the four major operators: China Telecom, China Broadcasting and Television, China Unicom, and China Mobile. Different operator platforms have provincial sub-platforms, such as the Guangxi Unicom operator platform.
[0035] Virtual communication service provider: refers to a company or organization that does not have an independent communication network, borrows the network resources of a physical communication service provider, and provides communication services through virtual technology.
[0036] Physical communication service provider number: mobile phone number provided by the physical communication service provider, which is managed and operated by the physical communication service provider.
[0037] Virtual communication service provider number: a virtual mobile phone number provided by a virtual communication service provider. These numbers are virtual phone numbers implemented through Internet technology and are often used in some specific service scenarios, such as SMS verification codes, virtual calls, etc.
[0038] Embodiment 1
[0039] In the related art, the privacy number is the core resource of the number privacy protection service. It can be used as an intermediate number to replace the user's real mobile phone number for communication. By establishing a binding relationship between the privacy number and the user's real mobile phone number, the association between the privacy number and the real mobile phone number can be achieved, so that the user's real mobile phone number can be effectively protected and will not be obtained and abused by others. In order to meet the needs of different users, the privacy number service provider needs to have privacy number resources of types belonging to multiple communication service providers and privacy number resources with multiple personalized functions. As the amount of privacy number resources increases and the demand for privacy number applicants to apply for privacy numbers becomes more and more frequent, the matching relationship between the needs of privacy number applicants and privacy number resources becomes more and more complicated. The efficiency of manually retrieving target privacy numbers that meet the requirements and delivering them to privacy number applicants is getting lower and lower.
[0040] Figure 1 The following is a diagram showing an application scenario of the privacy number retrieval method provided in the embodiment of the present application. Figure 1 As shown, in this application scenario, a communication service provider 101, a privacy number service provider 102 and a privacy number applicant 103 are included. The communication service provider 101 can provide users with communication services such as calls, text messages, and data transmission. The communication service provider 101 includes a physical communication service provider and a virtual communication service provider. Among them, the physical communication service provider has a wider communication network coverage and more stable service quality. The virtual communication service provider provides services based on the network rental resources of the physical communication service provider, has certain advantages in cost and flexibility, and can provide relatively low-cost and flexible communication services. The privacy number service provider 102 is used to provide the privacy number applicant 103 with a target privacy number whose type and function meet the requirements. The type of the target privacy number includes a type belonging to the physical communication service provider or a type belonging to the virtual communication service provider.
[0041] Specifically, the privacy number applicant 103 can send application information including the target type and target function of the target privacy number to the privacy number service provider 102. After obtaining the application information of the target privacy number, the privacy number service provider 102 determines the target privacy number resource pool corresponding to the target type and target function from the privacy number resource pool library, and then retrieves the target privacy number from the target privacy number resource pool, and provides the target privacy number to the privacy number applicant 103. In this way, the target privacy number that meets the requirements in terms of type and function can eventually be automatically delivered to the privacy number applicant 103, realizing the automatic matching and delivery of the privacy number, which can effectively improve the delivery efficiency of the privacy number, reduce human intervention, thereby reducing manual workload, and further ensure that the user's privacy is effectively protected.
[0042] Among them, the privacy number resource pool library can be pre-constructed by the privacy number service provider 102. In the process of the privacy number service provider 102 constructing the privacy number resource pool library, multiple privacy number resource pools can be constructed first. Then establish a mapping relationship between multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and establish a mapping relationship between multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein, the multiple types include types belonging to the physical communication service provider and types belonging to the virtual communication service provider. Finally, multiple privacy numbers are stored in the corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein, the type of the privacy number is the same as the type of the stored privacy number resource pool. Among them, the privacy number of the type belonging to the physical communication service provider is the physical communication service provider number, and the privacy number of the type belonging to the virtual communication service provider is the virtual communication service provider number. For example: when the privacy number is a physical communication service provider number, the privacy number resource pool in which the privacy number is stored is a resource pool belonging to the physical communication service provider type; when the privacy number is a virtual communication service provider number, the privacy number resource pool in which the privacy number is stored is a resource pool belonging to the virtual communication service provider type.
[0043] Figure 2 Another application scenario diagram of the privacy number retrieval method provided by the embodiment of the present application is shown. Figure 1 The difference in the application scenarios is that Figure 2The application scenario also includes a privacy number provider 104. The privacy number provider 104 can add personalized functions to the physical communication service provider number or the virtual communication service provider number by providing some value-added services. Among them, personalized functions refer to functions other than basic functions such as voice and text messages provided by the communication service provider 101, such as: playback recording, sequential vibration, Waveform Audio File Format (WAV), real-time media streaming, recording priority download, intelligent status code and other functions. The privacy number provider 104 provides the privacy number service provider 102 with a privacy number with personalized functions, and the privacy number service provider 102 stores the acquired privacy number in the privacy number resource pool of the corresponding type. Among them, the privacy number provided by the same privacy number provider 104 to the privacy number service provider 102 has the same personalized functions. The personalized functions of the privacy number provided by different privacy number providers 104 to the privacy number service provider 102 can be the same or different.
[0044] Exemplarily, the privacy number service provider 102 can be deployed on a server-side device, such as a single server, a cloud server array, and a virtual machine (VM) running in a cloud server array. In addition, the server-side device can also be other devices, such as computers, mobile phones, notebooks, and other terminal devices that can run corresponding service programs, etc., and the embodiments of this application do not limit this.
[0045] The privacy number applicant 103 can be a system platform of the user party who applies for the privacy number. Such a system platform can be an e-commerce platform, for example, a food delivery platform, an online car-hailing platform, various intermediary platforms or website shopping platforms, etc. The privacy number applicant 103 can use the target privacy number determined by the privacy number service provider 102 to provide privacy number services to its users. Alternatively, the privacy number applicant 103 can also be the user end who applies for the privacy number. In this type of scenario, the user end does not need to implement certain specific services through an operating service platform (such as a food delivery platform, an online car-hailing platform, etc.), but the user end directly interacts with the privacy number service provider 102 to realize personal privacy protection needs. Among them, the user end can be a terminal device with call and communication functions. Such as a mobile phone, a tablet computer or a wearable device.
[0046] The privacy number retrieval method of the embodiment of the present application can determine the target privacy number resource pool corresponding to the target type and target function from the privacy number resource pool library, and retrieve the target privacy number from the target privacy number resource pool, which can realize automatic matching of privacy numbers and quickly retrieve the target privacy number, while saving labor costs.
[0047] It should be noted that the above-mentioned application scenarios or application examples of the privacy number retrieval method provided in the embodiments of the present application are for easy understanding, and the embodiments of the present application do not specifically limit the application of the privacy number retrieval method.
[0048] Figure 3 The flowchart of the privacy number retrieval method provided by the embodiment of the present application is shown. The privacy number retrieval method can be applied to the privacy number service provider. Figure 3 As shown, the privacy number retrieval method includes:
[0049] Step S301: Obtain application information of the target privacy number; wherein the application information includes the target type and target function of the target privacy number; the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider.
[0050] Exemplarily, when applying for a target privacy number, the privacy number applicant needs to fill in the application information including the target type and target function of the target privacy number. Then the application information is sent to the privacy number service provider so that the privacy number service provider can obtain the application information. Among them, the target privacy number whose target type belongs to the type of the physical communication service provider is the physical communication service provider number; the target privacy number whose target type belongs to the type of the virtual communication service provider is the virtual communication service provider number. The target function can be the above-mentioned personalized function.
[0051] Step S302: Determine a target privacy number resource pool corresponding to both the target type and the target function from the privacy number resource pool library; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function.
[0052] Step S303: Retrieve the target private number from the target private number resource pool.
[0053] Exemplarily, the privacy number resource pool library can be pre-built by the privacy number service provider. Figure 4 The following is an example diagram showing an application of the privacy number retrieval method provided in the embodiment of the present application. Figure 4As shown, when constructing a privacy number resource pool library, it is first necessary to construct multiple privacy number resource pools. Then construct a resource pool type mapping table and a resource pool function mapping table. Among them, the resource pool type mapping table can be obtained by establishing a mapping relationship between multiple privacy number resource pools and multiple types; the multiple types include the types belonging to the physical communication service provider and the types belonging to the virtual communication service provider. The resource pool function mapping table can be obtained by establishing a mapping relationship between multiple privacy number resource pools and multiple functions. Finally, multiple privacy numbers are stored in the corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool. When applying for the target privacy number, the privacy number applicant needs to fill in the application information including the target type and target function of the target privacy number. The privacy number service provider obtains the application information of the target privacy number, and then determines the target privacy number resource pool corresponding to both the target type and the target function from the privacy number resource pool library. Then retrieve the target privacy number from the target privacy number resource pool, so that the target privacy number can be automatically matched according to the needs of the privacy number applicant. Finally, provide the target privacy number to the privacy number applicant to realize the delivery of the privacy number. Of course, the number of target privacy numbers determined by the privacy number service provider can also be zero. In this case, there is no privacy number in the privacy number resource library that corresponds to both the target type and the target function.
[0054] Among them, the types of all privacy numbers in the same privacy number resource pool are the same, for example, all are physical communication service party numbers or all are virtual communication service party numbers. The functions of all privacy numbers in the same privacy number resource pool are the same. Among them, the function of the privacy number in each privacy number resource pool can be one or more. The types of privacy numbers in different privacy number resource pools can be the same or different. The functions of privacy numbers in different privacy number resource pools can be the same or different. For example: the multiple privacy number resource pools in the privacy number resource pool library are privacy number resource pool A1, privacy number resource pool A2...privacy number resource pool A(n-1), privacy number resource pool An, and n is an integer greater than 2. The multiple privacy numbers in the privacy number resource pool A1 are all physical communication service provider numbers, and the functions of the multiple privacy numbers in the privacy number resource pool A1 are all smart status codes; the multiple privacy numbers in the privacy number resource pool A2 are all virtual communication service provider numbers, and the functions of the multiple privacy numbers in the privacy number resource pool A2 are all smart status codes and real-time media streams... The multiple privacy numbers in the privacy number resource pool A(n-1) can all be virtual communication service provider numbers, and the functions of the multiple privacy numbers in the privacy number resource pool A(n-1) are all recording priority download; the multiple privacy numbers in the privacy number resource pool An can all be physical communication service provider numbers, and the functions of the multiple privacy numbers in the privacy number resource pool An are all playback, recording and sequential ringing.
[0055] It should be noted that the above description of the types and functions of the privacy numbers in the privacy number resource pool is only for illustrative purposes. This application does not limit the types and functions of the privacy numbers in each privacy number resource pool of the privacy number resource pool library.
[0056] According to the privacy number retrieval method of the embodiment of the present application, by obtaining the application information of the target privacy number, and determining the target privacy number resource pool corresponding to the target type and target function from the privacy number resource pool library, and retrieving the target privacy number from the target privacy number resource pool, automatic matching of privacy numbers can be achieved, thereby improving the retrieval efficiency of privacy numbers and saving labor costs.
[0057] In one embodiment, in step S302, determining a target privacy number resource pool corresponding to both the target type and the target function from a privacy number resource pool library may include: determining a first privacy number resource set corresponding to the target type from the privacy number resource pool library based on a mapping relationship between the privacy number resource pool and the type; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; determining a second privacy number resource set corresponding to the target function from the privacy number resource pool library based on a mapping relationship between the privacy number resource pool and the function; wherein the second privacy number resource set includes a second number of privacy number resource pools, and the second number is greater than or equal to 0; and taking a privacy number resource pool at the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool.
[0058] Exemplarily, based on the type of the privacy number resource pool, the multiple privacy number resource pools in the privacy number resource pool library can be divided into a resource set belonging to the physical communication service provider type and a resource set belonging to the virtual communication service provider type. Among them, the resource set belonging to the physical communication service provider type includes multiple privacy number resource pools belonging to the physical communication service provider type. The resource set belonging to the virtual communication service provider type includes multiple privacy number resource pools belonging to the virtual communication service provider type. In the case where the target type in the application information is a type belonging to the physical communication service provider, the first privacy number resource set is a resource set belonging to the physical communication service provider type; in the case where the target type in the application information is a type belonging to the virtual communication service provider, the first privacy number resource set is a resource set belonging to the virtual communication service provider type. According to the mapping relationship between the privacy number resource pool and the function, the second privacy number resource set corresponding to the target function can be determined. In the second privacy number resource set, the functions of the privacy numbers in different privacy number resource pools may not be exactly the same. For example: the functions of the privacy numbers in each privacy number resource pool may include other personalized functions in addition to the target function. Since the privacy number resource pools in the first privacy number resource set all correspond to the target type, and the privacy number resource pools in the second privacy number resource set all correspond to the target function, the intersection of the first privacy number resource set and the second privacy number resource set is obtained, and the target privacy number resource pool corresponding to both the target type and the target function can be obtained.
[0059] In an embodiment of the present application, by determining a first privacy number resource set corresponding to the target type and a second privacy number resource set corresponding to the target function from a privacy number resource pool library, and using a privacy number resource pool at the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool, the target privacy number resource pool that meets the needs of the privacy number applicant can be efficiently retrieved from the privacy number resource pool library, thereby improving the retrieval efficiency of the target privacy number.
[0060] In one embodiment, there are multiple target functions. In step S302, a target privacy number resource pool corresponding to both the target type and the target function is determined from the privacy number resource pool library, which may include: determining a first privacy number resource set corresponding to the target type from the privacy number resource pool library; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; according to the mapping relationship between the privacy number resource pool and the function, determining multiple privacy number resource sets to be selected that correspond one to one to each target function from the privacy number resource pool library; wherein the privacy number resource set to be selected includes a third number of privacy number resource pools, and the third number is greater than or equal to 1; dividing the privacy number resource pools in the intersection of the multiple privacy number resource sets to be selected into the second privacy number resource set; and taking the privacy number resource pool in the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool.
[0061] Exemplarily, the number of target functions is three, and they are the first target function, the second target function, and the third target function. According to the mapping relationship between the privacy number resource pool and the function, three privacy number resource sets to be selected can be determined from the privacy number resource pool library, namely the first privacy number resource set to be selected Fun1, the second privacy number resource set to be selected Fun2, and the third privacy number resource set to be selected Fun3. Among them, the multiple privacy numbers of each privacy number resource pool in the first privacy number resource set Fun1 include the first target function; the multiple privacy numbers of each privacy number resource pool in the second privacy number resource set Fun2 include the second target function; the multiple privacy numbers of each privacy number resource pool in the third privacy number resource set Fun3 include the third target function. By taking the intersection of the three privacy number resource sets to be selected, the second privacy number resource set Fun corresponding to the three target functions can be obtained, that is, Fun = Fun1∩Fun2∩Fun3. Assume that the determined first privacy number resource set is Bc, then the intersection Ta of the first privacy number resource set Bc and the second privacy number resource set Fun is Bc∩Fun, that is, Ta=Bc∩Fun1∩Fun2∩Fun3. The privacy number resource pool in the intersection Ta is the target privacy number resource pool corresponding to the target type and the three target functions.
[0062] In an embodiment of the present application, by determining from a privacy number resource pool library a first privacy number resource set corresponding to the target type and determining a plurality of selected privacy number resource sets corresponding one-to-one to each target function, the privacy number resource pool at the intersection of the plurality of selected privacy number resource sets is divided into a second privacy number resource set, and finally the privacy number resource pool at the intersection of the first privacy number resource set and the second privacy number resource set is used as the target privacy number resource pool. The target privacy number resource pool that matches both the target type and the plurality of target functions can be accurately determined from the privacy number resource pool library, thereby achieving precise matching of the privacy number.
[0063] In one embodiment, the application information also includes target attributes of the target privacy number, and the target attributes include the place of origin and / or number segment. Among them, the number segment can be the first few digits of the mobile phone number, and different number segments usually represent different communication service providers or regions. The attributes of the privacy number are fixed attributes that will not change, and are unrelated to the privacy number provider and the type of the privacy number. In step S303, the target privacy number is retrieved from the target privacy number resource pool, including: retrieving the target privacy number corresponding to the target attribute from multiple privacy numbers with different attributes in the target privacy number resource pool.
[0064] Therefore, the retrieval and matching of target attributes can determine a target privacy number that better meets actual needs, thereby improving user experience and ease of use. Specifically, when the target attribute includes the place of origin, by matching the place of origin, the target privacy number can be selected based on the geographical location requirements of the privacy number applicant, thereby improving the credibility and privacy of the target privacy number. When the target attribute includes a number segment, a privacy number in a specific number segment can be selected as the target privacy number, thereby improving the authenticity and availability of the target privacy number.
[0065] In one embodiment, the application information also includes a target number of target privacy numbers; retrieving the target privacy number corresponding to the target attribute from multiple privacy numbers with different attributes in the target privacy number resource pool, including: traversing each target privacy number resource pool to retrieve the target privacy number corresponding to the target attribute from each target privacy number resource pool until the number of target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed.
[0066] Exemplarily, after determining the target privacy number resource pool from the privacy number resource pool library, the privacy number service provider begins to traverse the privacy numbers in each target privacy number resource pool in turn to find the target privacy number corresponding to the target attribute. For each traversed privacy number, the privacy number service provider will determine whether its attributes match the target attributes, for example, whether the location and / or number segment of the privacy number matches the target attribute. If the traversed privacy number matches the target attribute, the privacy number service provider will determine the privacy number as the target privacy number. When the determined target privacy number reaches the target number, or all target privacy number resource pools have been traversed, the privacy number service provider will stop traversing.
[0067] Exemplarily, it is assumed that the above-mentioned target privacy number resource pool includes e target privacy number resource pools, and the target number of target privacy numbers is f, e>1, f≥1. For the e target privacy number resource pools, traverse from the first target privacy number resource pool. If f target privacy numbers corresponding to the target attributes are determined in the first target privacy number resource pool, the traversal is stopped, and the f target privacy numbers are provided to the privacy number applicant. If the number of target privacy numbers g determined in the first target privacy number resource pool is less than f, the second target privacy number resource pool is continued to be traversed. If fg target privacy numbers corresponding to the target attributes are determined in the second target privacy number resource pool, the traversal is stopped, and the f target privacy numbers are provided to the privacy number applicant. If the number of target privacy numbers determined in the second target privacy number resource pool is less than fg, the third target privacy number resource pool is continued to be traversed. And so on, until the number of target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed.
[0068] In an embodiment of the present application, by traversing each target privacy number resource pool to retrieve the target privacy number corresponding to the target attribute from each target privacy number resource pool until the number of target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed, the target privacy number matching the target attribute can be found from multiple privacy numbers with different attributes, thereby meeting the needs of the privacy number applicant.
[0069] In one embodiment, the privacy number retrieval method of the embodiment of the present application also includes: providing the target privacy number to the applicant of the application information; changing the application status of the target privacy number in the privacy number resource pool library from an applicable state to an unavailable state. Among them, the applicant of the application information is the above-mentioned privacy number applicant. Exemplarily, the target privacy number can be provided to the applicant of the application information by displaying the target privacy number on the target interface.
[0070] Therefore, by providing the target privacy number to the applicant of the application information, the automatic matching and delivery of the privacy number can be realized, and the delivery efficiency can be improved. By changing the application status of the target privacy number in the privacy number resource pool from the applicable status to the non-applicable status, other users will no longer be able to apply to use the target privacy number, thereby ensuring that the target privacy number is only used by the privacy number applicant, improving the confidentiality and privacy protection of the number, and at the same time ensuring that the privacy number applicant can monopolize the target privacy number and avoid sharing number resources with other users, thereby preventing number conflicts and confusion, and better meeting the privacy protection needs of the privacy number applicant.
[0071] Embodiment 2
[0072] Figure 5 The flowchart of the method for constructing a privacy number resource pool library provided by the embodiment of the present application is shown. The method for constructing a privacy number resource pool library can be applied to a privacy number service provider. Figure 5 As shown, the method for constructing the privacy number resource pool library may include:
[0073] Step S501: construct multiple private number resource pools. Exemplarily, the capacities of the private number resource pools (i.e., the number of private numbers that can be stored) can be the same or different.
[0074] Step S502: Establish mapping relationships between multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and establish mapping relationships between multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to physical communication service providers and types belonging to virtual communication service providers. Since at least two privacy number resource pools are of different types, more diverse privacy number options can be provided. Different types of privacy number resource pools can meet the needs of different privacy number applicants, increasing the flexibility and adaptability of privacy number services.
[0075] Exemplarily, based on the type of privacy number resource pool, multiple privacy number resource pools can be divided into a resource set belonging to a physical communication service provider type and a resource set belonging to a virtual communication service provider type. Among them, the resource set belonging to the physical communication service provider type includes multiple privacy number resource pools belonging to the physical communication service provider type. The resource set belonging to the virtual communication service provider type includes multiple privacy number resource pools belonging to the virtual communication service provider type.
[0076] Exemplarily, assume that multiple privacy number resource pools have a total of i functions, where i>1. By establishing a mapping relationship between multiple privacy number resource pools and multiple functions, multiple privacy number resource pools can be constructed into i function resource sets corresponding to i functions one by one, and each function resource set can include multiple privacy number resource pools. Among them, the privacy numbers of the multiple privacy number resource pools in the first function resource set all have the first function; the privacy numbers of the multiple privacy number resource pools in the second function resource set all have the second function; and so on, the privacy numbers of the multiple privacy number resource pools in the i-th function resource set all have the i-th function. The privacy numbers of privacy number resource pools in different function resource sets may include the same functions.
[0077] By establishing a resource pool type mapping table and a resource pool function mapping table, the type of each privacy number resource pool and the functions it supports can be quickly found. In this way, when a privacy number applicant applies for a privacy number, the privacy number service provider can select a target privacy number that corresponds to both the target type and the target function according to the actual needs of the privacy number applicant, fully meeting the needs of the privacy number applicant.
[0078] Step S503: Store multiple privacy numbers in corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
[0079] Exemplarily, multiple privacy numbers can be provided by a privacy number provider. For example, when the privacy number is a physical communication service provider number, the privacy number is stored in a resource pool belonging to the physical communication service provider type; when the privacy number is a virtual communication service provider number, the privacy number is stored in a resource pool belonging to the virtual communication service provider type. In this way, each type of privacy number can be stored in the corresponding privacy number resource pool, thereby reducing the confusion and redundancy between privacy number resources and improving resource utilization efficiency.
[0080] According to the method for constructing a privacy number resource pool library of the embodiment of the present application, by constructing multiple privacy number resource pools, establishing mapping relationships between multiple privacy number resource pools and multiple types, and establishing mapping relationships between multiple privacy number resource pools and multiple functions, and storing multiple privacy numbers in corresponding privacy number resource pools, a more personalized, diversified and efficient privacy number service can be provided for the privacy number applicant. When the privacy number applicant applies for a privacy number, the needs of the privacy number applicant can be quickly matched, and a target privacy number that meets the needs of the privacy number applicant can be provided, thereby achieving efficient matching and delivery of the target privacy number. In addition, the construction of the privacy number resource pool library is conducive to the privacy number service provider to better manage and maintain the privacy number resources, thereby improving resource utilization efficiency.
[0081] In one embodiment, multiple privacy number resource pools are divided into multiple sets, each set includes a privacy number resource pool belonging to a physical communication service provider type and a privacy number resource pool belonging to a virtual communication service provider type, and the providers of the privacy numbers in each set are different. In step S503, multiple privacy numbers are stored in corresponding privacy number resource pools respectively, including: for any privacy number, determining the target set corresponding to the provider of the privacy number, and storing the privacy number in a privacy number resource pool of the same type as the privacy number under the target set.
[0082] Exemplarily, suppose that the privacy number service provider has m privacy number providers, where m≥1. Then the privacy number service provider needs to create 2m privacy number resource pools, and the 2m privacy number resource pools are divided into m sets corresponding to the m privacy number providers. Each set includes a privacy number resource pool belonging to the physical communication service provider type and a privacy number resource pool belonging to the virtual communication service provider type, that is, each privacy number provider corresponds to a privacy number resource pool belonging to the physical communication service provider type and a privacy number resource pool belonging to the virtual communication service provider type. In the process of storing multiple privacy numbers in the privacy number resource pool, it is first necessary to determine the privacy number provider. Then, the corresponding target set is determined based on the provider of the privacy number. Finally, the privacy number is stored in the privacy number resource pool of the corresponding type under the target set according to the type of the privacy number. The privacy numbers in each privacy number resource pool correspond to the same type, the same function and the same privacy number provider.
[0083] In an embodiment of the present application, by determining the target set corresponding to the provider of the privacy number, and storing the privacy number in a privacy number resource pool of the same type as the privacy number under the target set, the privacy number can be quickly stored in the corresponding privacy number resource pool, thereby making the process of privacy number storage more efficient.
[0084] In one embodiment, the method for constructing the privacy number resource pool library of the embodiment of the present application also includes: marking the privacy numbers in each resource pool as being in an applicable state. With this arrangement, the privacy numbers marked as being in an applicable state can be applied for and used by the privacy number applicant. When the privacy number applicant applies for a privacy number, the privacy number service provider can quickly match the required privacy number based on the application information, further improving the matching and delivery efficiency of the privacy number. In addition, by marking the status of the privacy number, the status of the privacy number in the privacy number resource pool library can be kept clear and orderly, making it easy to query and update at any time.
[0085] Embodiment 3
[0086] Corresponding to the method provided in Example 1 of the present application, the embodiment of the present application provides a privacy number retrieval device. Figure 6 The following is a diagram showing the architecture of the privacy number retrieval device provided in the embodiment of the present application. Figure 6As shown, the privacy number retrieval device includes: an application information acquisition module 601, which is used to obtain application information of a target privacy number; wherein the application information includes a target type and a target function of the target privacy number; wherein the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider; a resource pool determination module 602, which is used to determine a target privacy number resource pool corresponding to both the target type and the target function from a privacy number resource pool library; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function; a target privacy number retrieval module 603, which is used to retrieve a target privacy number from a target privacy number resource pool.
[0087] In one embodiment, the resource pool determination module 602 is also used to: determine a first privacy number resource set corresponding to the target type from the privacy number resource pool library according to a mapping relationship between the privacy number resource pool and the type; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; determine a second privacy number resource set corresponding to the target function from the privacy number resource pool library according to a mapping relationship between the privacy number resource pool and the function; wherein the second privacy number resource set includes a second number of privacy number resource pools, and the second number is greater than or equal to 0; and use the privacy number resource pool in the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool.
[0088] In one embodiment, there are multiple target functions, and the resource pool determination module 602 is also used to: determine a first privacy number resource set corresponding to the target type from the privacy number resource pool library according to the mapping relationship between the privacy number resource pool and the type; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; determine a plurality of selected privacy number resource sets corresponding to each target function from the privacy number resource pool library according to the mapping relationship between the privacy number resource pool and the function; wherein the selected privacy number resource set includes a third number of privacy number resource pools, and the third number is greater than or equal to 1; divide the privacy number resource pools in the intersection of the plurality of selected privacy number resource sets into the second privacy number resource set; and use the privacy number resource pool in the intersection of the first privacy number resource set and the second privacy number resource set as the target privacy number resource pool.
[0089] In one embodiment, the application information also includes target attributes of the target privacy number, and the target attributes include the place of origin and / or number segment; the target privacy number retrieval module 603 includes: a target privacy number determination submodule, which is used to retrieve a target privacy number corresponding to the target attributes from multiple privacy numbers with different attributes in a target privacy number resource pool.
[0090] In one embodiment, the application information also includes a target number of target privacy numbers; the target privacy number determination submodule is also used to: traverse each target privacy number resource pool to retrieve the target privacy number corresponding to the target attribute from each target privacy number resource pool until the number of target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed.
[0091] In one embodiment, the privacy number retrieval device provided in the embodiment of the present application also includes: a target privacy number providing module, which is used to provide the target privacy number to the applicant of the application information; a status change module, which is used to change the application status of the target privacy number in the privacy number resource pool library from an applicable status to an unavailable status.
[0092] Embodiment 4
[0093] Corresponding to the method provided in Example 2 of the present application, the embodiment of the present application provides a device for constructing a privacy number resource pool library. Figure 7 The following is an architecture diagram of a device for constructing a privacy number resource pool library provided in an embodiment of the present application. Figure 7 As shown, the construction device of the privacy number resource pool library includes: a resource pool construction module 701, which is used to construct multiple privacy number resource pools; a mapping relationship establishment module 702, which is used to establish a mapping relationship between multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and establish a mapping relationship between multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to a physical communication service provider and types belonging to a virtual communication service provider; a privacy number storage module 703, which is used to store multiple privacy numbers into corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
[0094] In one embodiment, multiple privacy number resource pools are divided into multiple sets, each set includes a privacy number resource pool belonging to a physical communication service provider type and a privacy number resource pool belonging to a virtual communication service provider type, and the privacy number provider of each set is different; the privacy number storage module 703 is also used to: based on the privacy number provider, store the privacy number in the privacy number resource pool in the corresponding set.
[0095] In one embodiment, the construction device of the privacy number resource pool library provided in the embodiment of the present application also includes: a marking module, which is used to mark the privacy numbers in each privacy number resource pool as being in an application-available state.
[0096] Embodiment 5
[0097] Figure 8 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Figure 8As shown, the electronic device includes: a memory 801 and a processor 802. The memory 801 stores a computer program that can be run on the processor 802. When the processor 802 executes the computer program, the method in the above embodiment is implemented. The number of the memory 801 and the processor 802 can be one or more.
[0098] The electronic device also includes: a communication interface 803, which is used to communicate with external devices and perform data exchange transmission.
[0099] If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the memory 801, the processor 802 and the communication interface 803 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0100] Optionally, in a specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on a chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through an internal interface.
[0101] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method provided in any embodiment of the present application.
[0102] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes a method provided in any embodiment of the present application.
[0103] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in any embodiment of the application.
[0104] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
[0105] Optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example: Static RAM (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Sync Link DRAM (SLDRAM) and Direct Rambus RAM (DRRAM).
[0106] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0107] It should be noted that the user information (including but not limited to user device information, user personal information, user operation information, etc.) and data (including but not limited to data used for processing, data for analysis, data for storage, data for display, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant information and data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0108] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0110] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or used in combination with these instruction execution systems, devices or apparatuses.
[0112] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0113] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for retrieving a private number, comprising: Obtain application information of a target privacy number; wherein the application information includes a target type and a target function of the target privacy number; wherein the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider; Determine a target privacy number resource pool corresponding to both the target type and the target function from the privacy number resource pool library; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function; The target private number is retrieved from the target private number resource pool.
2. The method according to claim 1, wherein: Determining a target privacy number resource pool corresponding to both the target type and the target function from the privacy number resource pool library includes: According to the mapping relationship between the privacy number resource pool and the type, determine a first privacy number resource set corresponding to the target type from the privacy number resource pool library; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; According to the mapping relationship between the privacy number resource pool and the function, determine a second privacy number resource set corresponding to the target function from the privacy number resource pool library; wherein the second privacy number resource set includes a second number of privacy number resource pools, and the second number is greater than or equal to 0; The privacy number resource pool in the intersection of the first privacy number resource set and the second privacy number resource set is used as the target privacy number resource pool.
3. The method according to claim 1, wherein: The target functions are multiple, and a target privacy number resource pool corresponding to both the target type and the target function is determined from the privacy number resource pool library, including: According to the mapping relationship between the privacy number resource pool and the type, determine a first privacy number resource set corresponding to the target type from the privacy number resource pool library; wherein the first privacy number resource set includes a first number of privacy number resource pools, and the first number is greater than or equal to 1; According to the mapping relationship between the privacy number resource pool and the function, a plurality of privacy number resource sets to be selected corresponding to each of the target functions are determined from the privacy number resource pool library; wherein the privacy number resource set to be selected includes a third number of privacy number resource pools, and the third number is greater than or equal to 1; Divide the privacy number resource pool in the intersection of the plurality of privacy number resource sets to be selected into the second privacy number resource set; The privacy number resource pool in the intersection of the first privacy number resource set and the second privacy number resource set is used as the target privacy number resource pool.
4. The method according to claim 1, wherein: The application information also includes target attributes of the target private number, where the target attributes include a location and / or a number segment; retrieving the target private number from the target private number resource pool includes: A target privacy number corresponding to the target attribute is retrieved from a plurality of privacy numbers with different attributes in the target privacy number resource pool.
5. The method according to claim 4, wherein: The application information also includes the target number of the target privacy numbers; Retrieving a target privacy number corresponding to the target attribute from a plurality of privacy numbers with different attributes in the target privacy number resource pool includes: Each of the target privacy number resource pools is traversed to retrieve the target privacy number corresponding to the target attribute from each of the target privacy number resource pools until the number of the target privacy numbers reaches the target number or the traversal of the target privacy number resource pool is completed.
6. The method according to any one of claims 1 to 5, further comprising: Providing the target privacy number to the applicant of the application information; The application status of the target privacy number in the privacy number resource pool library is changed from an applicable state to an unavailable state.
7. A method for constructing a privacy number resource pool library, comprising: Build multiple privacy account resource pools; Establishing a mapping relationship between the multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and establishing a mapping relationship between the multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to a physical communication service provider and types belonging to a virtual communication service provider; Store multiple privacy numbers in corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
8. The method according to claim 7, wherein: The multiple privacy number resource pools are divided into multiple sets, each set includes a privacy number resource pool belonging to the physical communication service provider type and a privacy number resource pool belonging to the virtual communication service provider type, and the providers of the privacy numbers in each set are different; storing the multiple privacy numbers in the corresponding privacy number resource pools respectively includes: For any private number, determine the target set corresponding to the provider of the private number, and store the private number in a private number resource pool of the same type as the private number under the target set.
9. The method according to claim 7, further comprising: The private numbers in each of the private number resource pools are marked as being in an available application status.
10. A privacy number retrieval device, comprising: An application information acquisition module, used to acquire application information of a target privacy number; wherein the application information includes a target type and a target function of the target privacy number; wherein the target type includes a type belonging to a physical communication service provider or a type belonging to a virtual communication service provider; A resource pool determination module, used to determine a target privacy number resource pool corresponding to both the target type and the target function from a privacy number resource pool library; wherein the privacy number resource pool library includes multiple privacy number resource pools, and the privacy numbers in each privacy number resource pool correspond to the same type and the same function; The target privacy number retrieval module is used to retrieve the target privacy number from the target privacy number resource pool.
11. A device for constructing a privacy number resource pool library, comprising: Resource pool construction module, used to build multiple privacy number resource pools; A mapping relationship establishment module, used to establish a mapping relationship between the multiple privacy number resource pools and multiple types to obtain a resource pool type mapping table, and to establish a mapping relationship between the multiple privacy number resource pools and multiple functions to obtain a resource pool function mapping table; wherein the multiple types include types belonging to a physical communication service provider and types belonging to a virtual communication service provider; The privacy number storage module is used to store multiple privacy numbers into corresponding privacy number resource pools respectively to obtain a privacy number resource pool library; wherein the type of the privacy number is the same as the type of the stored privacy number resource pool.
12. An electronic device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method according to any one of claims 1 to 9 when executing the computer program.
13. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.