A code number polling method and device

By calculating and generating a code number supplement list, the problem of code number supplement delay caused by manual operations is solved, and fast and accurate code number resource supplementation is achieved, ensuring the sufficient code number resources and the efficiency of data transmission are ensured.

CN114490637BActive Publication Date: 2025-02-11CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111631900.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2025-02-11
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In the prior art, the replenishment of code number resources of the national local network mainly relies on manual statistics, resulting in delays in data transmission.

Method used

By calculating the number of codes to be supplemented for each local network in the omnichannel, a set of code numbers to be supplemented is formed, and a list of available code numbers is generated based on the pre-created index matching data aggregation relationship, so as to achieve the accuracy of the local network code number resources of the omnichannel channel. Quick addition.

Benefits of technology

It avoids data delivery delay caused by manual operations, realizes large throughput and data backtracking, and can automatically supplement the omni-channel local network sales code numbers, ensuring sufficient code resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490637B_ABST
    Figure CN114490637B_ABST
Patent Text Reader

Abstract

The present application provides a code number polling method and device, including: calculating the number of code numbers to be supplemented in each local network of all channels; extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented to form a code number set to be supplemented; generating a list of saleable code numbers according to a pre-created index matching data aggregation relationship of the code number set to be supplemented; and accurately and quickly supplementing the code number resources of the local network of all channels according to the saleable code numbers to solve the current problem of delay in data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a code number polling method and device. Background Art

[0002] At present, the number resource replenishment of local networks across the country is mainly carried out by manually counting the demand of each local network one by one, and then replenishing the number of each local network according to the demand. The above manual operation execution process is cumbersome, so there is a delay in data transmission. Summary of the invention

[0003] The present application provides a polling and device for code number supplementation to solve the current problem of data transmission delay.

[0004] In order to solve the above problems, the present application discloses a polling method for code numbers, comprising:

[0005] Calculate the number of codes to be supplemented in each local network of all channels;

[0006] Extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, to form a code number set to be supplemented;

[0007] The code number set to be supplemented generates a list of saleable code numbers according to the pre-created index matching data aggregation relationship;

[0008] The code number resources of the omni-channel local network are accurately and quickly supplemented according to the list of available code numbers.

[0009] Optionally, before the step of calculating the number of codes to be supplemented in the omni-channel local network, the step further includes:

[0010] Capture warning information of each local network through regular expressions;

[0011] When the warning information is lower than the warning threshold, the number of codes to be supplemented in each local network of all channels is calculated.

[0012] Optionally, the step of calculating the number of codes to be supplemented in each local network of all channels includes:

[0013] Obtaining the upper limit value of the code number of each local network of the omni-channel;

[0014] Obtaining the sales volume of the code number of each local network of the omni-channel;

[0015] The number of code numbers to be replenished is determined based on the upper limit value and the sales volume.

[0016] Optionally, the pre-created index conforming data aggregation relationship includes: a number pool guide table, a number association channel table, a number status table, a level positioning table, a prefecture-level city index table, and a province association table;

[0017] The step of generating a list of saleable code numbers according to the pre-created index matching data aggregation relationship of the code number set to be supplemented includes:

[0018] Searching the code number associated channel table according to the code number to be supplemented, and determining the code number pool information of the code number to be supplemented;

[0019] Determine the sales channel corresponding to the number pool according to the number pool guidance table;

[0020] According to the code number to be supplemented, searching the city index table to determine the local network information of the code number to be supplemented;

[0021] Searching the province association table according to the local network to determine the province information of the code number to be supplemented;

[0022] Searching the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented;

[0023] The status of the code number to be supplemented is determined according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a saleable code number.

[0024] Optionally, the step of accurately and quickly supplementing the code resources of the omni-channel local network according to the list of available code numbers includes:

[0025] The list of available numbers is split according to the channel information and number pool information of the numbers to be supplemented, so as to obtain lists of available sub-numbers in different channels and number pools;

[0026] The code number resources of the omni-channel local network are supplemented according to the list of available sub-code numbers.

[0027] Optionally, the method further includes:

[0028] A mapping relationship between the list of saleable sub-code numbers and all channels is established, the mapping relationship is compiled into an executable file, and interaction with the all channels is performed through the executable file.

[0029] In order to solve the above problems, the present application also discloses a polling device for code numbers, comprising:

[0030] A calculation module, used to calculate the number of codes to be supplemented in each local network of all channels;

[0031] An extraction module, used for extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, so as to form a code number set to be supplemented;

[0032] A saleable code number module, used for generating a saleable code number list according to a pre-created index matching data aggregation relationship of the code number set to be supplemented;

[0033] The supplement module is used to accurately and quickly supplement the code number resources of the omni-channel local network according to the list of available code numbers.

[0034] Optionally, the device further comprises:

[0035] The early warning module is used to capture the early warning information of each local network through regular expressions; when the early warning information is lower than the early warning threshold, the number of codes to be supplemented for each local network in all channels is calculated.

[0036] Optionally, the calculation module includes:

[0037] A code number upper limit value unit, used to obtain the upper limit value of each local network code number of the omni-channel;

[0038] A sales volume unit, used to obtain the sales volume of each local network code number of the omni-channel;

[0039] The code number resource quantity module is used to determine the number of code numbers to be replenished based on the upper limit value and the sales volume.

[0040] Optionally, the pre-created index conforming data aggregation relationship includes: a number pool guide table, a number association channel table, a number status table, a level positioning table, a prefecture-level city index table, and a province association table;

[0041] The saleable code number module includes:

[0042] A code number pool unit, used for searching the code number associated channel table according to the code number to be supplemented, and determining the code number pool information of the code number to be supplemented;

[0043] A channel unit, used to determine the sales channel corresponding to the number pool according to the number pool guidance table;

[0044] A local network unit, configured to search a city index table according to the code number to be supplemented to determine the local network information of the code number to be supplemented;

[0045] A province unit, used to search the province association table according to the local network to determine the province information of the code to be supplemented;

[0046] A package unit, used for searching the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented;

[0047] The status unit is used to determine the status of the code number to be supplemented according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a sellable code number.

[0048] Optionally, the supplementary module includes:

[0049] A splitting unit, used to split the list of available numbers according to the channels and number pools of the numbers to be supplemented, and obtain lists of available sub-numbers in different channels and number pools;

[0050] A supplement unit is used to supplement the code number resources of the omni-channel local network according to the list of saleable sub-code numbers.

[0051] Optionally, the device further comprises:

[0052] A compiling module is used to establish a mapping relationship between the list of saleable sub-code numbers and all channels, compile the mapping relationship into an executable file, and interact with the all channels through the executable file.

[0053] Compared with the prior art, this application has the following advantages:

[0054] The present application calculates the number of code numbers to be supplemented in each local network of all channels; extracts the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, so as to form a code number set to be supplemented; generates a list of saleable code numbers according to a pre-created index matching data aggregation relationship of the code number set to be supplemented; supplements the code number resources of the local network of all channels according to the list of saleable code numbers. Compared with the existing manual operation, it avoids data transmission delay, realizes high throughput and data backtracking, and can automatically supplement the saleable code numbers of the local network of all channels, thereby ensuring that the code numbers of the local network of all channels are sufficient.

[0055] Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a flowchart of a code number polling method described in Embodiment 1 of the present application;

[0057] Figure 2 This is a structural diagram of the index matching data aggregation relationship pre-created in the embodiment of the present application;

[0058] Figure 3 It is a flowchart of a code number polling method described in Embodiment 2 of the present application;

[0059] Figure 4 It is a schematic diagram of generating a saleable code number in an embodiment of the present application;

[0060] Figure 5 It is a structural diagram of a code number polling device described in Example 3 of the present application. DETAILED DESCRIPTION

[0061] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0062] Embodiment 1

[0063] Reference Figure 1 , which shows a flowchart of a code number polling method described in Embodiment 1 of the present application, specifically comprising:

[0064] Step 101: Calculate the number of codes to be supplemented in each local network of all channels.

[0065] Omni-channel is to meet the needs of consumers to buy at any time, any place and any way, and to sell goods or services. Omni-channel includes multiple sales channels, which can be Internet business halls, Tmall business halls, mobile business halls, etc. Each sales channel includes: different number pools, different provinces and different local networks. When numbers are supplemented, numbers are supplemented for different number pools of different channels of the omni-channel, different provinces of different number pools, and different local networks of different provinces.

[0066] The calculation of the number of codes to be supplemented in the local network of all channels here actually means calculating the number of codes to be supplemented in different channels, different code pools of different channels, and different local networks of different code pools, that is, the number of codes to be supplemented is the number of codes to be supplemented in different local networks of multiple channels and multiple code pools. In other words, one local network corresponds to one number of codes to be supplemented, and multiple local networks correspond to multiple numbers of codes to be supplemented. In actual applications, the number of codes to be supplemented and the local network can be stored in the form of a list.

[0067] Step 102: extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, to form a code number set to be supplemented.

[0068] Among them, all code number data are stored in the code number library.

[0069] In this step, the code numbers to be supplemented can be extracted from the code number library according to the number of code numbers to be supplemented, that is, the real telephone number is extracted from the code number library according to the number of code numbers. Since step 101 obtains the number of code numbers to be supplemented of multiple local networks, multiple code numbers to be supplemented are extracted from the code number library according to the number of code numbers to be supplemented, and these multiple code numbers to be supplemented constitute a code number set to be supplemented.

[0070] For example: the number of code numbers to be supplemented in the A local network of the A channel number pool is 10, the number of code numbers to be supplemented in the A local network of the B channel number pool is 20, and the number of code numbers to be supplemented in the B local network of the B channel number pool is 30. Then 10 code numbers to be supplemented, 20 code numbers to be supplemented, and 30 code numbers to be supplemented are extracted from the code number database respectively, and all the extracted code numbers to be supplemented constitute the code number set to be supplemented.

[0071] Step 103: The code set to be supplemented generates a list of saleable code numbers according to the pre-created index matching data aggregation relationship.

[0072] A list of saleable code numbers is generated from a pre-created index matching data aggregation relationship according to the code numbers to be supplemented in the code number set to be supplemented.

[0073] The pre-created indexes match the data aggregation relationship. Figure 2 As shown, it specifically includes: number pool guidance table, code number association channel table, code number status table, level positioning table, city index table and province association table.

[0074] Among them, the number pool guidance table stores the relationship between the channel number pool and the sales channel.

[0075] The code number association channel table stores the relationship between the code number information and the number pool.

[0076] The code number status table stores the relationship between code number information and code number status, wherein the code number status includes used and unused.

[0077] The level positioning table stores the relationship between the code number information and the code number package, among which the code number package is generally a minimum consumption pre-deposit.

[0078] The city index table stores the relationship between the code number information and the national local network.

[0079] The province association table stores the relationship between provinces and national local networks.

[0080] Step 104: Accurately and quickly supplement the code resources of the omni-channel local network according to the list of available code numbers.

[0081] In this embodiment, the number of code numbers to be supplemented in each local network of all channels is calculated; the code numbers to be supplemented are extracted from the code number library according to the number of code numbers to be supplemented, so as to form a code number set to be supplemented; the code number set to be supplemented generates a list of saleable code numbers according to a pre-created index matching data aggregation relationship; the code number resources of the local network of all channels are accurately and quickly supplemented according to the list of saleable code numbers. Compared with the existing manual operation, data transmission delay is avoided, high throughput and data backtracking are achieved, and at the same time, the saleable code numbers of the local network of all channels can be automatically supplemented, thereby ensuring that the code numbers of the local network of all channels are sufficient.

[0082] Embodiment 2

[0083] Reference Figure 3 , which shows a flow chart of a code number polling method described in Embodiment 2 of the present application, specifically comprising:

[0084] Step 301: Capture the warning information of each local network through regular expressions.

[0085] Step 302: When the warning information is lower than the warning threshold, the number of codes to be supplemented in each local network of all channels is calculated.

[0086] By traversing the number database, the lower limit of the number inventory of each local network in the country in each number pool of each channel is located. When the lower limit of the number inventory is lower than the warning threshold, it means that the local network needs to supplement the number, and then the number of numbers to be supplemented in each local network in each number pool of each channel is calculated.

[0087] As an implementation, step 302 includes the following sub-steps:

[0088] Sub-step 3021: Obtain the upper limit value of the code number of each local network of the omni-channel.

[0089] By traversing the code number library, the upper limit value of the code number of each local network in each number pool of each channel is located.

[0090] Generally speaking, the omni-channel includes 6 channels, each channel includes: 42 number pools (sales number pools), 31 provinces and 342 local networks.

[0091] Sub-step 3022: Obtain the sales volume of the code number of each local network of the omni-channel.

[0092] Sub-step 3023: Determine the number of codes to be replenished based on the upper limit value and the sales volume.

[0093] The sales volume of the local network codes of each number pool of each channel is located by traversing the code number library, and the number of code numbers to be replenished is determined based on the upper limit value and the sales volume.

[0094] Step 303: extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, to form a code number set to be supplemented.

[0095] Through step 302, the number of code numbers to be supplemented required by each local network of each channel is known, and then a corresponding number of code numbers are extracted from the code number library according to the number of code numbers to be supplemented, and then a set of code numbers to be supplemented is formed.

[0096] Step 304: The code set to be supplemented generates a list of saleable code numbers according to the pre-created index matching data aggregation relationship.

[0097] Through step 303, the code number set to be supplemented is known. It is necessary to match the code numbers to be supplemented in the selected code number set to the corresponding channels, number pools, provinces, local networks, code number status and other information. Therefore, the above information can be determined through the pre-created index matching data aggregation relationship, and a list of available code numbers can be generated.

[0098] The specific process of generating a list of available code numbers is as follows:

[0099] Among them, based on Figure 2 It can be seen that the pre-created indexes match the data aggregation relationship including: number pool guidance table, code number association channel table, code number status table, level positioning table, city index table and province association table.

[0100] Sub-step 3041: searching the code number associated channel table according to the code number to be supplemented, and determining the code number pool information of the code number to be supplemented.

[0101] According to the code number to be supplemented, the number pool information where the code number to be supplemented is located is determined in the code number associated channel table.

[0102] Sub-step 3042: Determine the sales channel corresponding to the number pool according to the number pool guidance table.

[0103] The number pool of the code numbers to be supplemented has been determined through sub-step 3041, and then the sales channel corresponding to the number pool is determined through the number pool guidance table.

[0104] Sub-step 3043: Search the city index table according to the code number to be supplemented to determine the local network information of the code number to be supplemented.

[0105] Through sub-steps 3041 and 3042, the sales channels of the numbers to be supplemented and the number pools corresponding to the sales channels have been determined, and then the local network corresponding to the number pool, as well as the province, number status and package corresponding to the number, etc. are further determined.

[0106] Sub-step 3044: Search the province association table according to the local network information to determine the province information of the code to be supplemented.

[0107] Sub-step 3045: Search the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented.

[0108] Since the package selected for each code number to be supplemented is different, it is necessary to determine the package of the code number to be supplemented.

[0109] Sub-step 3046: Determine the status of the code number to be supplemented according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a saleable code number, and a saleable code number list is formed.

[0110] Through the above sub-steps, the sales channel, number pool, province, local network and other information of the code number to be supplemented have been determined, and finally it is determined whether the code number to be supplemented is available. If the status of the code number is unallocated, the code number to be supplemented will be used as a saleable code number.

[0111] It should be noted that the operation sequence of the above sub-steps can be adjusted at any time as needed in practical applications, and this application does not impose any specific restrictions on this.

[0112] Step 305: Accurately and quickly supplement the code resources of each local network in all channels according to the list of available code numbers.

[0113] The list of saleable code numbers includes saleable code numbers for all channels. Therefore, it is necessary to split the list of saleable code numbers according to the channel information and number pool of the code numbers to be supplemented, and obtain a list of saleable sub-code numbers for different channels and different number pools; and supplement the code number resources of the local network of different channels and different number pools according to the list of saleable sub-code numbers.

[0114] Step 306: Establish a mapping relationship between the list of saleable sub-code numbers and all channels, compile the mapping relationship into an executable file, and interact with the all channels through the executable file.

[0115] The list of saleable sub-code numbers is the supplementary code number for each local network of different code number pools of different sales channels. Therefore, it is necessary to establish a mapping relationship between the list of saleable sub-code numbers and different sales channels, and load the mapping relationship into the local cache file, perform syntax parsing on the local cache file, build a complete business tree, and convert it into SQL logical statements by searching the source code type of the business tree to generate an executable file. By adjusting the grouping rules, it is split into multiple executable files in the corresponding business scenarios. Through the executable file, it interacts with different sales channels, processes the return results of different sales channels, verifies the accuracy of data uploaded by different sales channels, and ensures that users can purchase and activate cards normally.

[0116] Based on the above embodiments, Figure 2 and Figure 4 Take for example to explain the process of application number polling.

[0117] The number of codes to be supplemented in each local network of different channels and number pools is calculated to be N1-Nn.

[0118] Figure 3 The code number library includes S1-Sn code numbers. The scanning code number library selects corresponding code numbers from the code number library according to the number of supplemented code numbers N1-Nn, and generates code number sets to be supplemented, namely {G1-Gn}, {F1-Fn}...{P1-Pn}.

[0119] The above code number to be supplemented is used Figure 3The GS part generates a list of available code numbers L{Ls1-Ls6}, where Ls1-Ls6 are the code number resources that need to be supplemented in different channel local networks. The maximum count is set to 6 channels {Gs1-6}, 42 number pools (sales number pools) {Gs1-42}, 31 provinces {Gs1-31}, and 342 local networks {Gs1-342}. The minimum count s is 1 code number unit. In actual applications, the list of available code numbers is determined by cyclic polling of 6 channels, 42 number pools, 31 provinces, and 342 local networks.

[0120] {G1-Gn1} performs join and branch reduction operations, respectively querying Figure 2 The number pool guidance table, associated channel table, code number status table, level positioning table, city index table and province association table are used to generate the list of available code numbers {Ls1} for the S1 channel.

[0121] {F1-Fn} Perform join and branch reduction operations, respectively query Figure 2 The number pool guidance table, associated channel table, code number status table, level positioning table, city index table and province association table are used to generate the list of saleable codes {Ls1, Ls2} for the S2 channel.

[0122] And so on for the list of saleable code numbers of the S3-5 channel {Ls1, Ls2, Ls3-Ls5}.

[0123] {P1-Pn} performs join and branch reduction operations, respectively querying Figure 2 The number pool guidance table, associated channel table, code number status table, level positioning table, city index table and province association table generate the list of saleable codes {Ls1, Ls2, Ls3-Ls6} for the S6 channel.

[0124] The list of saleable code numbers {Ls1-Ls6} obtained by the above operation is stored in a large table. Therefore, the channel information and number pool of the code numbers to be supplemented are needed to split the list of saleable code numbers to obtain the list of saleable sub-code numbers of different channels and different number pools; the code number resources of the local network of different channels and different number pools are supplemented according to the list of saleable sub-code numbers.

[0125] In this embodiment, the present application calculates the number of code numbers to be supplemented in each local network of all channels; extracts the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, forming a code number set to be supplemented; the code number set to be supplemented generates a list of saleable code numbers according to a pre-created index matching data aggregation relationship; the code number resources of the local network of all channels are supplemented according to the list of saleable code numbers. Compared with the existing manual operation, data transmission delays are avoided, high throughput and data backtracking are achieved, and at the same time, the saleable code numbers of the local network of all channels can be automatically supplemented, ensuring that the code numbers of the local network of all channels are sufficient.

[0126] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required for the present application.

[0127] Based on the description of the above method embodiments, the present application also provides corresponding device embodiments to implement the contents described in the above method embodiments.

[0128] Embodiment 3

[0129] Reference Figure 5 , which shows a structural diagram of a polling device for a code number according to Embodiment 3 of the present application, specifically comprising:

[0130] The calculation module 501 is used to calculate the number of codes to be supplemented in each local network of all channels;

[0131] An extraction module 502, configured to extract the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, to form a code number set to be supplemented;

[0132] A saleable code number module 503 is used to generate a saleable code number list according to the pre-created index matching data aggregation relationship of the code number set to be supplemented;

[0133] The supplement module 504 is used to accurately and quickly supplement the code resources of the omni-channel local network according to the list of available code numbers.

[0134] Optionally, the device further comprises:

[0135] The early warning module is used to capture the early warning information of each local network through regular expressions; when the early warning information is lower than the early warning threshold, the number of codes to be supplemented for each local network in all channels is calculated.

[0136] Optionally, the calculation module includes:

[0137] A code number upper limit value unit, used to obtain the upper limit value of each local network code number of the omni-channel;

[0138] A sales volume unit, used to obtain the sales volume of each local network code number of the omni-channel;

[0139] The code number resource quantity module is used to determine the number of code numbers to be replenished based on the upper limit value and the sales volume.

[0140] Optionally, the pre-created index conforming data aggregation relationship includes: a number pool guide table, a number association channel table, a number status table, a level positioning table, a prefecture-level city index table and a province association table;

[0141] The saleable code number module includes:

[0142] A code number pool unit, used for searching the code number associated channel table according to the code number to be supplemented, and determining the code number pool information of the code number to be supplemented;

[0143] A channel unit, used to determine the sales channel corresponding to the number pool according to the number pool guidance table;

[0144] A local network unit, configured to search a city index table according to the code number to be supplemented to determine the local network information of the code number to be supplemented;

[0145] A province unit, used to search the province association table according to the local network to determine the province information of the code to be supplemented;

[0146] A package unit, used for searching the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented;

[0147] The status unit is used to determine the status of the code number to be supplemented according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a sellable code number.

[0148] Optionally, the supplementary module includes:

[0149] A splitting unit, used to split the list of available numbers according to the channels and number pools of the numbers to be supplemented, and obtain lists of available sub-numbers in different channels and number pools;

[0150] The supplement unit is used to accurately and quickly supplement the code number resources of the omni-channel local network according to the list of available sub-code numbers.

[0151] Optionally, the device further comprises:

[0152] A compiling module is used to establish a mapping relationship between the list of saleable sub-code numbers and all channels, compile the mapping relationship into an executable file, and interact with the all channels through the executable file.

[0153] In this embodiment, the number of code numbers to be supplemented in each local network of all channels is calculated; the code numbers to be supplemented are extracted from the code number library according to the number of code numbers to be supplemented, so as to form a code number set to be supplemented; the code number set to be supplemented generates a list of saleable code numbers according to a pre-created index matching data aggregation relationship; the code number resources of the local network of all channels are accurately and quickly supplemented according to the list of saleable code numbers. Compared with the existing manual operation, data transmission delay is avoided, high throughput and data backtracking are achieved, and at the same time, the saleable code numbers of the local network of all channels can be automatically supplemented, thereby ensuring that the code numbers of the local network of all channels are sufficient.

[0154] For the above-mentioned device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts are referred to in Figure 1 A partial description of the illustrated method embodiment will suffice.

[0155] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0156] It is easy for a person skilled in the art to think that any combination of the above embodiments is feasible, so any combination of the above embodiments is an implementation scheme of the present application. However, due to space limitations, this specification will not describe them in detail here.

[0157] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0158] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0159] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0160] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0161] The above is a detailed introduction to a method and device for supplementing code resources provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A polling method for a code number, characterized in that: include: Calculate the number of codes to be supplemented in each local network of all channels; Extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, to form a code number set to be supplemented; The code number set to be supplemented generates a list of saleable code numbers according to the pre-created index matching data aggregation relationship; Accurately and quickly supplement the code resources of the omni-channel local network according to the list of available code numbers; The pre-created index conforming data aggregation relationship includes: number pool guidance table, number association channel table, number status table, level positioning table, city index table and province association table; The step of generating a list of saleable code numbers according to the pre-created index matching data aggregation relationship of the code number set to be supplemented includes: Searching the code number associated channel table according to the code number to be supplemented, and determining the code number pool information of the code number to be supplemented; Determine the sales channel corresponding to the number pool according to the number pool guidance table; According to the code number to be supplemented, searching the city index table to determine the local network information of the code number to be supplemented; Searching the province association table according to the local network to determine the province information of the code number to be supplemented; Searching the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented; The status of the code number to be supplemented is determined according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a saleable code number.

2. The method according to claim 1, characterized in that Before the step of calculating the number of codes to be supplemented in the omni-channel local network, the method further includes: Capture warning information of each local network through regular expressions; When the warning information is lower than the warning threshold, the number of codes to be supplemented in each local network of all channels is calculated.

3. The method according to claim 1, characterized in that The step of calculating the number of codes to be supplemented in each local network of the omni-channel comprises: Obtaining the upper limit value of the code number of each local network of the omni-channel; Obtaining the sales volume of the code number of each local network of the omni-channel; The number of code numbers to be replenished is determined based on the upper limit value and the sales volume.

4. The method according to claim 1, characterized in that: The step of accurately and quickly supplementing the code resources of the omni-channel local network according to the list of available code numbers includes: The list of available numbers is split according to the channel information and number pool information of the numbers to be supplemented, so as to obtain lists of available sub-numbers in different channels and number pools; The code number resources of the omni-channel local network are supplemented according to the list of available sub-code numbers.

5. The method according to claim 4, characterized in that The method further comprises: A mapping relationship between the list of saleable sub-code numbers and all channels is established, the mapping relationship is compiled into an executable file, and interaction with the all channels is performed through the executable file.

6. A polling device for a code number, characterized in that: include: A calculation module, used to calculate the number of codes to be supplemented in each local network of all channels; An extraction module, used for extracting the code numbers to be supplemented from the code number library according to the number of code numbers to be supplemented, so as to form a code number set to be supplemented; A saleable code number module, used for generating a saleable code number list according to a pre-created index matching data aggregation relationship of the code number set to be supplemented; A supplement module, used to accurately and quickly supplement the code resources of the omni-channel local network according to the list of available code numbers; The pre-created index conforming data aggregation relationship includes: number pool guidance table, number association channel table, number status table, level positioning table, city index table and province association table; The saleable code number module includes: A code number pool unit, used to search the code number associated channel table according to the code number to be supplemented, and determine the code number pool information of the code number to be supplemented; A channel unit, used to determine the sales channel corresponding to the number pool according to the number pool guidance table; A local network unit, used to search the city index table according to the code number to be supplemented to determine the local network information of the code number to be supplemented; A province unit, used to search the province association table according to the local network to determine the province information of the code to be supplemented; A package unit, used for searching the level positioning table according to the code number to be supplemented to determine the package of the code number to be supplemented; The status unit is used to determine the status of the code number to be supplemented according to the code number status table. If the code number status is unused, the code number to be supplemented is used as a sellable code number.

7. The device according to claim 6, characterized in that The device also includes: The early warning module is used to capture the early warning information of each local network through regular expressions; when the early warning information is lower than the early warning threshold, the number of codes to be supplemented for each local network in all channels is calculated.

8. The device according to claim 6, characterized in that The calculation module comprises: A code number upper limit value unit, used to obtain the upper limit value of each local network code number of the omni-channel; A sales volume unit, used to obtain the sales volume of each local network code number of the omni-channel; The code number resource quantity module is used to determine the number of code numbers to be replenished based on the upper limit value and the sales volume.

9. The device according to claim 6, characterized in that The supplementary module comprises: A splitting unit, used to split the list of available numbers according to the channels and number pools of the numbers to be supplemented, and obtain lists of available sub-numbers in different channels and number pools; A supplement unit is used to supplement the code number resources of the omni-channel local network according to the list of saleable sub-code numbers.

10. The device according to claim 9, characterized in that The device also includes: A compiling module is used to establish a mapping relationship between the list of saleable sub-code numbers and all channels, compile the mapping relationship into an executable file, and interact with the all channels through the executable file.

Citation Information

Patent Citations

  • Commodity quota distribution method and device

    CN113657822A

  • Stock management, system for providing guarantee service for stock amount at delivery destination, and its method

    JP2004338926A