Intelligent management system and method for number data based on cold and hot data isolation technology
Through the intelligent management system of number data based on hot and cold data isolation technology, the number data is divided and stored according to the frequency of use and status of the number, which solves the problem of indistinguishability between hot data and cold data in number data management, and improves storage efficiency and Access performance, reduce costs and enhance data security.
Patent Information
- Application Number
- CN202311261003.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-09-27
AI Technical Summary
Existing number data management has the problem of not distinguishing hot data and cold data storage, which results in number data with widely different consumption habits being stored in the same access priority data space, resulting in resource occupation and unreasonable response time.
Adopt an intelligent number data management system based on hot and cold data isolation technology. Through the number scoring module, classification module and storage distribution module, the number data is divided into hot data, warm data and cold data according to the frequency of use and status of the number, and Stored in memory, disk and database respectively to achieve efficient use of resources.
It improves the storage efficiency and access performance of number data, reduces storage costs, enhances data security, and ensures rapid response to frequently accessed number data and reasonable management of infrequently accessed number data.
Smart Images

Figure CN117376303B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data management, and relates to a cold and hot data isolation technology, and specifically to an intelligent management system and method for number data based on the cold and hot data isolation technology. Background Art
[0002] A number is a digital code used to identify and identify a telephone communication terminal (such as a telephone or a mobile phone). The earliest telephone system used a manual operator to connect the two parties of a call, and there was no fixed number system. With the advancement of technology, the invention of automatic telephone exchanges made telephone communications more convenient and popular. In order to manage and identify the growing number of telephone users, telephone numbers were introduced. Telephone numbers divide numbers into different areas and parts in order to distinguish different geographical areas, telephone service providers and telephone types. With the rapid development of the economy, the number of telephone users has increased dramatically, and the corresponding numbers and number data have also increased. Therefore, it is extremely important to rationally manage numbers and number-related number data.
[0003] At present, there are some unreasonable aspects in the management of number data. For example, the data of two numbers with very different consumption habits are stored in the data space with the same access priority. When users need to view the number data, users with more consumption and ordinary users need to wait for the same response time, which is obviously unreasonable; or the number data of numbers that have not been used for a long time and the number data of numbers with high recent activity are stored in the data space with the same access priority, which leads to the problem of occupying space resources. Obviously, the data of numbers that have not been used for a long time can be stored in a low-priority data space.
[0004] To this end, we propose an intelligent management system and method for number data based on cold and hot data isolation technology. Summary of the invention
[0005] The purpose of the present invention is to propose an intelligent management system and method for number data based on the cold and hot data isolation technology, aiming to improve the management efficiency of number data by network operators. In order to achieve the above purpose, the present invention is implemented through the following technical solutions:
[0006] The number data intelligent management system based on the cold and hot data isolation technology is characterized in that the specific system includes:
[0007] The number scoring module is used to identify and score the number data of the mobile phone numbers to be managed;
[0008] The number classification module is used to isolate and judge the hot and cold data of the managed mobile phone numbers;
[0009] A number storage allocation module is used to allocate memory according to the set to which each mobile phone number to be managed belongs;
[0010] The number resource sharing module is used to share the number resources stored in the number storage and allocation module.
[0011] Furthermore, it also includes a database, which stores the number data of all mobile phone numbers to be managed, and the number data includes the number itself, number status, number location, call records, total payment amount and the number of complaints about the mobile phone number for each mobile phone number to be managed; the number status is whether the mobile phone number is shut down, and the call records are the number of incoming calls, the number of outgoing calls and the total duration of the calls.
[0012] Furthermore, the working process of the number scoring module is as follows:
[0013] Obtain the number status of each mobile phone number to be managed. If the number status of the mobile phone number to be managed is downtime, the mobile phone number to be managed is classified into the cold data set;
[0014] Obtain the call records of each mobile phone number to be managed, and record the number of incoming calls as HURn, the number of outgoing calls as HUCn, and the total duration of the calls as THSn, where n is the number of each mobile phone number to be managed n = 1, 2, ..., z, and z is a positive integer;
[0015] Obtain the number of complaints for each mobile phone number to be managed and record it as TSn, and obtain the total payment amount for each mobile phone number to be managed;
[0016] Calculate the number classification value HMFn of each mobile phone number to be managed based on the number of incoming calls HURn, the number of outgoing calls HUCn, the total duration of the call THSn, and the fixed proportional coefficient a1 of the number of incoming calls, the fixed proportional coefficient a2 of the number of outgoing calls, and the fixed proportional coefficient a3 of the total duration of the call;
[0017] The calculation result of process M14 is sent to the number classification module.
[0018] Furthermore, the calculation steps of the fixed proportional coefficient are as follows:
[0019] The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database in the previous year; they are recorded as m21, m22 and m23 respectively;
[0020] The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database last year; they are recorded as m11, m12 and m13 respectively;
[0021] The number scoring module obtains the number of all mobile phone numbers to be managed in the database in the previous year, recorded as m24; the number of all mobile phone numbers to be managed last year, recorded as m14;
[0022] Calculate first fixed proportional coefficients n11, n12, n13 (hereinafter referred to as first proportional coefficients) of the number of incoming calls, the number of outgoing calls and the total duration of calls respectively;
[0023] Calculate the value of n11+n12+n13, recorded as b1; determine whether b1 is equal to 1 or between 0.90 and 1.0; if b1 is equal to 1 or between 0.90 and 1.0, then use n11 as a1; n12 as a2; and n13 as a3; if b1 is not equal to 1 or between 0.90 and 1.0, calculate the historical number of mobile phone numbers to be managed, recorded as c;
[0024] Calculate second proportional coefficients n21, n22, n23 based on c;
[0025] Substitute n21, n22, n23 into n11, n12, n13, and repeat the calculation process of n11, n12, n13 until the second proportional coefficients n21, n22, n23 satisfy that the value of n21+n22+n23 is equal to 1 or between 0.90 and 1.0;
[0026] The final result of the loop execution is: n21 is used as the number of incoming calls a1, n22 is used as the number of outgoing calls a2, and n23 is used as the fixed proportional coefficient a3 of the total duration of the call.
[0027] Furthermore, the working steps of the number classification module are as follows:
[0028] The number classification module receives the calculation result HMFn of the above process M14;
[0029] Analysis of HMFn:
[0030] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set;
[0031] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0032] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set;
[0033] The number classification module sends the set of each mobile phone number to be managed to the number storage allocation module.
[0034] Furthermore, the working process of the number storage and allocation module is as follows:
[0035] Get hot data set, warm data set, warm data set, cold data set;
[0036] Resetting the data format of the number data in the hot data set, the warm data set, the warm data set, and the cold data set;
[0037] The processed number data in the hot data set is stored in the cache server in the memory; the number data in the warm data set is stored in the disk; the number data in the warm data set and the cold data set is stored in the database.
[0038] Furthermore, the steps of resetting the data format are as follows:
[0039] Extract all number data from the hot data set, warm data set, warm data set, and cold data set;
[0040] Extract the number of the mobile phone number to be managed from the number data;
[0041] Extract the first three digits of the network identification code, the fourth to seventh digits of the area code, and the eighth to eleventh digits of the user number from the mobile phone number;
[0042] Create a network identification code for the mobile phone numbers in the hot data set, warm data set, warm data set, and cold data set with respect to the area code and user number, denoted as x;
[0043] Select the mapping with the same mobile network identification code in x, denoted as x1;
[0044] Select the mapping with the same mobile network identification code in x1, and record it as x2;
[0045] According to the data mapping relationship of x2, create a Graph data relationship for the mobile phone numbers in the hot data set; create a Graph data relationship for the mobile phone numbers in the warm data set;
[0046] According to the data mapping relationship of x2, the mobile phone numbers in the warm data set and the mobile phone numbers in the cold data set are truncated.
[0047] Furthermore, the steps for storing the Graph data relationship are as follows:
[0048] Storing the mobile phone number network identification code in a cache server or a disk array to obtain a first address code;
[0049] Open up new storage space in the cache server or disk array, store the area code of the mobile phone number, and obtain the second address code;
[0050] Open up new storage space in the cache server or disk array again, store the mobile phone number and user number, and obtain the third location code;
[0051] Read the data mapping relationship of x2 in the above process M328, set the rear index of the corresponding mobile phone number network identification code to the second address code; set the front index of the corresponding mobile phone number area code to the first address code, and the rear index to the second address code; set the front index of the corresponding mobile phone number user number to the second address code.
[0052] Furthermore, the working process of the number resource sharing module is as follows:
[0053] Obtain geographical location information, data receiving port information and type information of network operators in various regions;
[0054] Classify the mobile phone numbers stored in the number storage and allocation module according to the network operator type and obtain the classification result;
[0055] Classify the mobile phone numbers stored in the number storage and allocation module by specific regions according to the classification results;
[0056] Based on the classification results, the number data is sent to the data receiving ports of the corresponding network operators in various places to realize distributed number resource sharing.
[0057] The method for intelligent management of number data based on the cold and hot data isolation technology is characterized in that the method for intelligent management includes:
[0058] Step S1: Calculate the fixed ratio coefficient of the participating number data to the mobile phone number score;
[0059] Step S2: scoring the mobile phone number according to the number data;
[0060] Step S3: classify the mobile phone numbers according to the number classification values of the mobile phone numbers;
[0061] Step S4: resetting the data format of the number data;
[0062] Step S5: Allocate memory according to the set to which each mobile phone number to be managed belongs;
[0063] Step S6: Use the cache server to share number resources.
[0064] Furthermore, the complete classification criteria of step S3 are:
[0065] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set;
[0066] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the warm data set;
[0067] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0068] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set;
[0069] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0070] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set.
[0071] Furthermore, the idea of processing the data in the shared cache server and disk in step S6 is as follows:
[0072] The network identification number field, area code field, and user number field of the specific mobile phone number in the cache server are converted into corresponding int type data using a hash function; network operators in various places send their own geographic location information and data receiving port information to the corresponding network operator headquarters, and the headquarters uploads the geographic location information and data receiving port information of network operators in various places to the number resource sharing module, which then parses the information and sends it to network operators in various places.
[0073] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0074] 1. Through the hot and cold data isolation technology, hot data and cold data are stored in different storage media. Hot data is usually frequently accessed and updated data, while cold data is infrequently accessed and updated data, which effectively utilizes storage resources and improves the efficiency and cost-effectiveness of data storage.
[0075] 2. Improved data access performance: Storing hot data in high-performance storage media can improve data read and write speeds and response times, which is very important for application scenarios that require fast access and processing of number data, such as number query and number allocation.
[0076] 3. Enhanced data security: Through hot and cold data isolation technology, sensitive and important data can be stored in more secure storage media, providing better data protection and security. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0078] Figure 1 is a block diagram of the management system of the present invention;
[0079] Figure 2 It is a step diagram of the management method of the present invention;
[0080] Figure 3 This is a data node demonstration diagram of the present invention. DETAILED DESCRIPTION
[0081] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0082] Embodiment 1
[0083] See also Figure 1 ,The present invention provides a technical solution: an intelligent management system for number data based on cold and hot data isolation technology, including a database, a number scoring module, a number classification module, a number storage and allocation module, and a number resource sharing module;
[0084] The database stores the number data of all mobile phone numbers to be managed, and the number data includes the number itself, number status, number location, call records, total payment amount and number of complaints against the mobile phone number for each mobile phone number to be managed; the number status is whether the mobile phone number is shut down, and the call records are the number of incoming calls, the number of outgoing calls and the total duration of the calls;
[0085] Process M1: Number scoring module is used to identify and score the number data of the mobile phone numbers to be managed. The specific working steps are as follows:
[0086] Process M11: First, the number status of each mobile phone number to be managed is obtained. If the number status of the mobile phone number to be managed is downtime, the mobile phone number to be managed is classified into the cold data set;
[0087] Process M12: Obtain the call records of each mobile phone number to be managed, and record the number of incoming calls as HURn, the number of outgoing calls as HUCn, and the total duration of the calls as THSn, where n is the number of each mobile phone number to be managed n = 1, 2, ..., z, where z is a positive integer;
[0088] Process M13: Obtain the number of complaints for each mobile phone number to be managed and record it as TSn, and obtain the total payment amount for each mobile phone number to be managed;
[0089] Process M14: Please refer to the consumption coefficient reference table and calculate the number classification value HMFn of each mobile phone number to be managed according to the formula. The specific formula is: Where a1, a2 and a3 are fixed proportional coefficients of the number of incoming calls, the number of outgoing calls and the total duration of calls, the values of a1, a2 and a3 are all greater than 0 and a1+a2+a3=1, and λ is the consumption coefficient corresponding to different consumption amounts of the mobile phone number to be managed;
[0090] Among them, the reference table of consumption coefficient is:
[0091]
[0092] Process M15: Send the calculation result of process M14 to the number classification module;
[0093] The calculation process of the proportionality coefficient in the process M14 is as follows:
[0094] Process M141: The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database in the previous year; record them as m21, m22 and m23 respectively;
[0095] Process M142: The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database last year; record them as m11, m12 and m13 respectively;
[0096] Process M143: The number scoring module obtains the number of all mobile phone numbers to be managed in the database in the previous year, recorded as m24; the number of all mobile phone numbers to be managed last year, recorded as m14;
[0097] Process M144: Calculate the first fixed proportional coefficients n11, n12, n13 (hereinafter referred to as the first proportional coefficients) of the number of incoming calls, the number of outgoing calls and the total duration of the calls respectively; n1 = m21 / m11; n2 = m22 / m12; n3 = m23 / m13;
[0098] Process M145: Calculate the value of n11+n12+n13, recorded as b1; determine whether b1 is equal to 1 or between 0.90 and 1.0; if b1 is equal to 1 or between 0.90 and 1.0, then take n11 as a1; n12 as a2; n13 as a3; if b1 is not equal to 1 or between 0.90 and 1.0, calculate the historical number of mobile phone numbers to be managed, recorded as c; c = (m24 + m14) / 2, enter process M146;
[0099] Process M146: Calculate the second proportional coefficients n21, n22, and n23; n21 = n11 - (1 / c); n22 = n12 - (1 / c); n23 = n13 - (1 / c);
[0100] Process M147: Bring the calculation result of process M146 into process M145, and repeat process M145 to process M147 until the second proportional coefficients n21, n22, and n23 satisfy that the value of n21+n22+n23 is equal to 1 or between 0.90 and 1.0;
[0101] Process M148: The final result of the loop execution of process M147 is: n21 is used as the number of incoming calls a1, n22 is used as the number of outgoing calls a2, and n23 is used as the fixed proportional coefficient a3 of the total duration of the call.
[0102] Process M2: Number classification module is used to isolate and judge the cold and hot data of the mobile phone numbers to be managed. The specific working steps are as follows:
[0103] Process M21: The number classification module receives the calculation result HMFn of the above process M14;
[0104] Process M22: Refer to the classification reference table and analyze HMFn;
[0105] The classification reference table is as follows:
[0106]
[0107] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set;
[0108] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the warm data set;
[0109] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0110] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set;
[0111] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0112] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set;
[0113] It should be noted that the first classification threshold and the second classification threshold are data pre-stored in the database. Generally, the first classification threshold is 89.9 and the second classification threshold is 79.9. If the network operator already has specific parameters for different levels of thresholds, or has a sound system for classifying different levels of thresholds, the threshold setting in process M15 shall be based on the existing regulations of the network operator.
[0114] It should be noted that if the mobile phone number to be managed is in the hot data set, it means that the mobile phone number to be managed has been used frequently recently and has no bad usage records. The user of the mobile phone number to be managed is a high-quality user and needs to be provided with high-quality services; if the mobile phone number to be managed is in the warm data set, it means that the mobile phone number to be managed has been used frequently or has few bad usage records. The user of the mobile phone number to be managed is a good user and needs to be provided with relatively excellent services; if the mobile phone number to be managed is in the warm data set, it means that the mobile phone number to be managed has been used frequently or has few bad usage records. The user of the mobile phone number to be managed is a general user and needs to be provided with ordinary services; if the mobile phone number to be managed is in the cold data set, it means that the mobile phone number to be managed has been used very rarely or has multiple bad usage records and has been complained about many times, and only basic services need to be provided;
[0115] Process M23: The number classification module sends the set of each mobile phone number to be managed to the number storage allocation module;
[0116] Process M3: Number storage allocation module, used to allocate memory according to the set of each mobile phone number to be managed. The specific allocation process is as follows:
[0117] Process M31: Obtain hot data set, warm data set, warm data set, and cold data set;
[0118] Process M32: resetting the data format of the number data in the hot data set, the warm data set, the warm data set, and the cold data set;
[0119] Process M33: store the number data in the hot data set processed by process M32 into the cache server in the memory; store the number data in the warm data set into the disk; store the number data in the warm data set and the cold data set into the database;
[0120] It should be noted that the access speed of the cache server in memory is faster than the access speed of the disk, and the access speed of the disk is faster than the access speed of the database; when accessing number data, the cache server in memory is accessed first, followed by the disk, and finally the database; and the cache server in memory adopts a distributed storage architecture, the number data is distributed on multiple nodes, each storage node stores a part of the number data and provides a corresponding data access interface, when accessing, the number data can be obtained only through the access interface to improve performance;
[0121] The process of resetting the data format of the number data in the process M32 is as follows:
[0122] Process M321: extract all number data in the hot data set, warm data set, warm data set, and cold data set;
[0123] Process M322: extracting the number of the mobile phone number to be managed from the number data;
[0124] Process M323: Extract the first three digits of the network identification code, the fourth to seventh digits of the area code, and the eighth to eleventh digits of the user number from the mobile phone number;
[0125] Process M324: Create a network identification code for the mobile phone numbers in the hot data set, the warm data set, the warm data set, and the cold data set with respect to the area code and the user number, denoted as x;
[0126] Process M325: Refer to the mobile phone number network identification number table and select the mapping with the same mobile phone network identification code in x, which is recorded as x1;
[0127] Among them, the mobile phone number network identification number table is as follows:
[0128]
[0129] Process M326: Please refer to Table 4, select the mapping with the same mobile network identification code in x1, record it as x2; wherein, the region code reference table is as follows:
[0130]
[0131]
[0132] Process M327: Please refer to Figure 3 , based on the data mapping relationship of x2, create a Graph data relationship for the mobile phone numbers in the hot data set; create a Graph data relationship for the mobile phone numbers in the warm data set;
[0133] Process M328: Refer to the mobile phone number storage table and cut off the mobile phone numbers in the warm data set and the mobile phone numbers in the cold data set according to the data mapping relationship of x2;
[0134] Among them, the mobile phone number storage table is as follows:
[0135]
[0136] It should be noted that in the present application, if numbers appear in tables or figures, the numbers are only examples and have no actual meaning.
[0137] The process of storing the number data of the Graph data relationship in the process M33 is as follows:
[0138] Process M331: storing the mobile phone number network identification code in a cache server or a disk array to obtain a first address code;
[0139] Process M332: Open up new storage space in the cache server or disk array, store the mobile phone number area code, and obtain a second address code;
[0140] Process M333: Open up new storage space in the cache server or disk array again, store the mobile phone number and user number, and obtain the third location code;
[0141] Process M334: Read the data mapping relationship of x2 in the above process M328, set the rear index of the corresponding mobile phone number network identification code to the second address code; set the front index of the corresponding mobile phone number area code to the first address code, and the rear index to the second address code; set the front index of the corresponding mobile phone number user number to the second address code.
[0142] Process M4: a number resource sharing module, used to share the number resources stored in the number storage and allocation module;
[0143] Process M41: Obtaining geographical location information, data receiving port information and type information of network operators in various regions (type information refers to specific network operators, such as China Mobile, China Unicom, China Telecom, etc.);
[0144] Process M42: Classify the mobile phone numbers stored in the number storage and allocation module according to the network operator type. The main SQL statements are as follows: SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY network identification number;
[0145] Process M43: Classify the mobile phone numbers stored in the number storage and allocation module by specific regions according to the classification results of process M42. The main SQL statements are as follows: SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY region number in (SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY network identification number;);
[0146] Process M44: Send the classification results of process M43 and the number data to the data receiving ports of the corresponding network operators in various places to realize distributed number resource sharing.
[0147] Embodiment 2
[0148] See also Figure 2 , the number data intelligent management method based on the cold and hot data isolation technology includes the following steps:
[0149] Step S1: Calculate the fixed ratio coefficient of the participating number data to the mobile phone number score;
[0150] Step S11: The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database in the previous year; record them as m21, m22 and m23 respectively;
[0151] Step S12: The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database last year; record them as m11, m12 and m13 respectively;
[0152] Step S13: The number scoring module obtains the number of all mobile phone numbers to be managed in the database in the previous year, recorded as m24; the number of all mobile phone numbers to be managed last year, recorded as m14;
[0153] Step S14: Calculate the first fixed proportional coefficients n11, n12, n13 (hereinafter referred to as the first proportional coefficient) of the number of incoming calls, the number of outgoing calls and the total duration of the call respectively; n1 = m21 / m11; n2 = m22 / m12; n3 = m23 / m13;
[0154] Step S15: Calculate the value of n11+n12+n13, recorded as b1; determine whether b1 is equal to 1 or between 0.90 and 1.0; if b1 is equal to 1 or between 0.90 and 1.0, then take n11 as a1; n12 as a2; n13 as a3; if b1 is not equal to 1 or between 0.90 and 1.0, calculate the historical number of mobile phone numbers to be managed, recorded as c; c = (m24 + m14) / 2, and enter process M146;
[0155] Step S16: Calculate the second proportional coefficients n21, n22, n23; n21 = n11-(1 / c); n22 = n12-(1 / c); n23 = n13-(1 / c);
[0156] Step S17: Bring the calculation result of step S16 into step S15, and repeat step S15 to step S17; until the second proportional coefficients n21, n22, and n23 satisfy that the value of n21+n22+n23 is equal to 1 or between 0.90 and 1.0;
[0157] Step S18: The final result of the loop execution of step S17: n21 is used as the number of incoming calls a1, n22 is used as the number of outgoing calls a2, and n23 is used as the fixed proportional coefficient a3 of the total duration of the call.
[0158] Step S2: scoring the mobile phone number according to the number data;
[0159] Step S21: obtaining the number status of each mobile phone number to be managed. If the number status of the mobile phone number to be managed is downtime, the mobile phone number to be managed is classified into a cold data set;
[0160] Step S22: Obtain the call records of each mobile phone number to be managed, and record the number of incoming calls as HURn, the number of outgoing calls as HUCn, and the total duration of the calls as THSn, where n is the number of each mobile phone number to be managed n=1, 2, ..., z, and z is a positive integer;
[0161] Step S23: Obtain the number of complaints received by each mobile phone number to be managed, and record it as TSn, and simultaneously obtain the total payment amount of each mobile phone number to be managed;
[0162] Step S24: Please refer to the consumption coefficient reference table above and calculate the number classification value HMFn of each mobile phone number to be managed according to the formula. The specific formula is: Where a1, a2 and a3 are fixed proportional coefficients of the number of incoming calls, the number of outgoing calls and the total duration of calls, the values of a1, a2 and a3 are all greater than 0 and a1+a2+a3=1, and λ is the consumption coefficient corresponding to different consumption amounts of the mobile phone number to be managed;
[0163] Step S3: classify the mobile phone numbers according to the number classification values of the mobile phone numbers;
[0164] Please refer to the classification reference table above for analysis of HMFn;
[0165] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set;
[0166] If the number classification value of a mobile phone number to be managed is greater than the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the warm data set;
[0167] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0168] If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set;
[0169] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set;
[0170] If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set.
[0171] Step S4: resetting the data format of the number data;
[0172] Step S41: extract all number data in the hot data set, warm data set, warm data set, and cold data set;
[0173] Step S42: extracting the number of the mobile phone number to be managed from the number data;
[0174] Step S43: extracting the first three digits of the network identification code, the fourth to seventh digits of the area code, and the eighth to eleventh digits of the user number from the mobile phone number;
[0175] Step S44: establishing a network identification code for the mobile phone numbers in the hot data set, the warm data set, the warm data set, and the cold data set with respect to the area code and the user number, recorded as x;
[0176] Step S45: Refer to the above mobile phone number network identification number table, select the mapping with the same mobile phone network identification code in x, and record it as x1;
[0177] Step S46: Refer to the above-mentioned area code reference table and select the mapping with the same mobile network identification code in x1, which is recorded as x2;
[0178] Step S47: Please refer to Figure 3 , based on the data mapping relationship of x2, create a Graph data relationship for the mobile phone numbers in the hot data set; create a Graph data relationship for the mobile phone numbers in the warm data set;
[0179] Step S48: Please refer to the above-mentioned mobile phone number storage table, and according to the data mapping relationship of x2, cut off the mobile phone numbers in the warm data set and the mobile phone numbers in the cold data set.
[0180] Step S5: Allocate memory according to the set to which each mobile phone number to be managed belongs;
[0181] Step S51: obtaining a hot data set, a warm data set, a warm data set, and a cold data set;
[0182] Step S52: resetting the data format of the number data in the hot data set, the warm data set, the warm data set, and the cold data set;
[0183] Step S53: storing the number data in the hot data set processed in step S52 into the cache server in the memory; storing the number data in the warm data set into the disk; and storing the number data in the warm data set and the cold data set into the database;
[0184] Step S6: using the cache server to share number resources;
[0185] Step S61: Obtaining geographical location information, data receiving port information and type information of network operators in various regions;
[0186] Step S62: Classify the mobile phone numbers stored in the number storage and allocation module according to the network operator type. The main SQL statement is as follows: SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY network identification number;
[0187] Step S63: Classify the mobile phone numbers stored in the number storage and allocation module by specific regions according to the classification result of step S62. The main SQL statements are as follows: SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY region number in (SELECT complete mobile phone number FROM mobile phone number storage table GROUP BY network identification number;);
[0188] Step S64: Send the classification result of step S63 and the number data to the data receiving ports of the corresponding network operators in various places to realize distributed number resource sharing.
[0189] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the present invention to only specific implementation methods.
[0190] It should be noted that there is no unified query statement format for the data in the cache server and disk, so the corresponding processing ideas are explained here:
[0191] The network identification number field, area code field, and user number field of the specific mobile phone number in the cache server are converted into corresponding int type data using a hash function; network operators in various places send their own geographic location information and data receiving port information to the corresponding network operator headquarters, and the headquarters uploads the geographic location information and data receiving port information of network operators in various places to the number resource sharing module, which then parses the information and sends it to network operators in various places.
[0192] It should be noted that in the present application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficients and proportional coefficients can be determined as long as they do not affect the proportional relationship between the parameters and the result values.
[0193] Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and describes these embodiments in detail in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. An intelligent management system for number data based on cold and hot data isolation technology, characterized in that: Specific systems include: The number scoring module is used to identify and score the number data of the mobile phone numbers to be managed; The number classification module is used to isolate and judge the hot and cold data of the managed mobile phone numbers; A number storage allocation module is used to allocate memory according to the set to which each mobile phone number to be managed belongs; A number resource sharing module, used for sharing the number resources stored in the number storage and allocation module; The working process of the number scoring module recognition scoring is as follows: Obtain the number status of each mobile phone number to be managed. If the number status of the mobile phone number to be managed is downtime, the mobile phone number to be managed is classified into the cold data set; Obtain the call records of each mobile phone number to be managed, and record the number of incoming calls as HURn, the number of outgoing calls as HUCn, and the total duration of the calls as THSn, where n is the number of each mobile phone number to be managed, n=1, 2, ..., z, and z is a positive integer; Obtain the number of complaints for each mobile phone number to be managed and record it as TSn, and obtain the total payment amount for each mobile phone number to be managed; Calculate the number classification value HMFn of each mobile phone number to be managed based on the number of incoming calls HURn, the number of outgoing calls HUCn, the total duration of the call THSn, and the fixed proportional coefficient a1 of the number of incoming calls, the fixed proportional coefficient a2 of the number of outgoing calls, and the fixed proportional coefficient a3 of the total duration of the call; Send the calculation results to the number classification module; The working steps of the number classification module are as follows: The number classification module receives the calculation result HMFn; Analysis of HMFn: If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set; If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set; If the number classification value of a mobile phone number to be managed is greater than the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the warm data set; If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set; The number classification module sends the set of each mobile phone number to be managed to the number storage allocation module; The working process of the number storage allocation module is as follows: Get hot data set, warm data set, warm data set, cold data set; Resetting the data format of the number data in the hot data set, the warm data set, the warm data set, and the cold data set; The processed number data in the hot data set is stored in the cache server in the memory; the number data in the warm data set is stored in the disk; the number data in the warm data set and the cold data set is stored in the database.
2. The intelligent management system for number data based on the cold and hot data isolation technology according to claim 1 is characterized in that: It also includes a database, which is used to store the number data of all mobile phone numbers to be managed, the number data includes the number itself, number status, number location, call records, total payment amount and number of complaints about the mobile phone number for each mobile phone number to be managed; the number status is whether the mobile phone number is shut down, and the call records are the number of incoming calls, the number of outgoing calls and the total duration of the calls. The number data of the mobile phone numbers to be managed are identified and scored through the number scoring module.
3. The intelligent management system for number data based on the cold and hot data isolation technology according to claim 1 is characterized in that: The calculation steps of the fixed proportional coefficient are as follows: The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database in the previous year; they are recorded as m21, m22 and m23 respectively; The number scoring module obtains the total number of incoming calls, total number of outgoing calls and total call duration of all mobile phone numbers to be managed in the database last year; they are recorded as m11, m12 and m13 respectively; The number scoring module obtains the number of all mobile phone numbers to be managed in the database in the previous year, recorded as m24; the number of all mobile phone numbers to be managed last year, recorded as m14; Calculate first proportional coefficients n11, n12, n13 of the number of incoming calls, the number of outgoing calls and the total duration of calls respectively; Calculate the value of n11+n12+n13, recorded as b1; determine whether b1 is equal to 1 or between 0.90 and 1.0; if b1 is equal to 1 or between 0.90 and 1.0, then use n11 as a1; n12 as a2; and n13 as a3; if b1 is not equal to 1 or between 0.90 and 1.0, calculate the historical number of mobile phone numbers to be managed, recorded as c; Calculate second proportional coefficients n21, n22, n23 based on c; Substitute n21, n22, n23 into n11, n12, n13, and repeat the calculation process of n11, n12, n13 until the second proportional coefficients n21, n22, n23 satisfy that the value of n21+n22+n23 is equal to 1 or between 0.90 and 1.0; The final result of the loop execution is: n21 is used as the number of incoming calls a1, n22 is used as the number of outgoing calls a2, and n23 is used as the fixed proportional coefficient a3 of the total duration of the call.
4. The intelligent management system for number data based on the cold and hot data isolation technology according to claim 1 is characterized in that: The steps of resetting the data format are as follows: Extract all number data from the hot data set, warm data set, warm data set, and cold data set; Extract the number of the mobile phone number to be managed from the number data; Extract the first three digits of the network identification code, the fourth to seventh digits of the area code, and the eighth to eleventh digits of the user number from the mobile phone number; Establish a mapping between the network identification code and the area code and the user number for the mobile phone numbers in the hot data set, the warm data set, the warm data set, and the cold data set, denoted as x; Select the mapping with the same mobile network identification code in x, denoted as x1; Select the mapping with the same regional code in x1, denoted as x2; According to the data mapping relationship of x2, create a Graph data relationship for the mobile phone numbers in the hot data set; create a Graph data relationship for the mobile phone numbers in the warm data set; According to the data mapping relationship of x2, the mobile phone numbers in the warm data set and the mobile phone numbers in the cold data set are truncated.
5. The intelligent management system for number data based on the cold and hot data isolation technology according to claim 4 is characterized in that: The steps for storing Graph data relationships are as follows: Storing the mobile phone number network identification code in a cache server or a disk array to obtain a first address code; Open up new storage space in the cache server or disk array, store the area code of the mobile phone number, and obtain the second address code; Open up new storage space in the cache server or disk array again, store the mobile phone number and user number, and obtain the third location code; Read the data mapping relationship of x2, set the rear index of the corresponding mobile phone number network identification code to the second address code; set the front index of the corresponding mobile phone number area code to the first address code, and the rear index to the third address code; set the front index of the corresponding mobile phone number user number to the second address code.
6. The intelligent management system for number data based on the cold and hot data isolation technology according to claim 1 is characterized in that: The working process of the number resource sharing module is as follows: Obtain geographical location information, data receiving port information and type information of network operators in various regions; Classifying the mobile phone numbers stored in the number storage and allocation module according to the network operator type to obtain classification results; Classify the mobile phone numbers stored in the number storage and allocation module by specific regions according to the classification results; Based on the classification results, the number data is sent to the data receiving ports of the corresponding network operators in various places to realize distributed number resource sharing.
7. The intelligent management method of number data based on the cold and hot data isolation technology is characterized in that: The intelligent management system for number data based on the cold and hot data isolation technology according to any one of claims 1 to 6, wherein the management method comprises: Step S1: Calculate the fixed ratio coefficient of the participating number data to the mobile phone number score; Step S2: scoring the mobile phone number according to the number data; Step S3: classify the mobile phone numbers according to the number classification values of the mobile phone numbers; Step S4: resetting the data format of the number data; Step S5: Allocate memory according to the set to which each mobile phone number to be managed belongs; Step S6: Use the cache server to share number resources.
8. The method for intelligent management of number data based on cold and hot data isolation technology according to claim 7 is characterized in that: The complete classification criteria of step S3 are: If the number classification value of a mobile phone number to be managed is greater than the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the hot data set; If the number classification value of a mobile phone number to be managed is greater than the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the warm data set; If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set; If the number classification value of a mobile phone number to be managed is greater than the second classification threshold and less than or equal to the first classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set; If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold and there is no complaint record, the mobile phone number to be managed is classified into the warm data set; If the number classification value of a mobile phone number to be managed is less than or equal to the second classification threshold but there is a complaint record, the mobile phone number to be managed is classified into the cold data set.
9. The method for intelligent management of number data based on cold and hot data isolation technology according to claim 7, characterized in that: The idea of processing the data in the shared cache server and disk in step S6 is as follows: The network identification number field, area code field, and user number field of the specific mobile phone number in the cache server are converted into corresponding int type data using a hash function; network operators in various places send their own geographic location information and data receiving port information to the corresponding network operator headquarters, and the headquarters uploads the geographic location information and data receiving port information of network operators in various places to the number resource sharing module, which then parses the information and sends it to network operators in various places.
