CN107786628A - Business numbering distribution method, device, computer equipment and storage medium - Google Patents

Business numbering distribution method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN107786628A
CN107786628A CN201710608517.2A CN201710608517A CN107786628A CN 107786628 A CN107786628 A CN 107786628A CN 201710608517 A CN201710608517 A CN 201710608517A CN 107786628 A CN107786628 A CN 107786628A
Authority
CN
China
Prior art keywords
numbering
business
distribution
user account
generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710608517.2A
Other languages
Chinese (zh)
Other versions
CN107786628B (en
Inventor
和太贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201710608517.2A priority Critical patent/CN107786628B/en
Publication of CN107786628A publication Critical patent/CN107786628A/en
Priority to PCT/CN2018/080169 priority patent/WO2019019676A1/en
Priority to SG11201913403PA priority patent/SG11201913403PA/en
Application granted granted Critical
Publication of CN107786628B publication Critical patent/CN107786628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention relates to a kind of business numbering distribution method, device, computer equipment and storage medium, methods described to include:Acquisition business numbering generation quantity;Business numbering is generated according to the business numbering generation quantity;The business numbering of generation is added in numbering distribution queue;Acquisition business numbering distribution request;Extract the request quantity allotted and user account in the business numbering distribution request;Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;By the business extracted numbering distribution to the user account.In business numbering assigning process, numbered by extracting business in order from numbering distribution queue, the business numbering for ensureing to extract is not in the situation of repetition, so as to reduce the probability for business numbering duplicate allocation occur, improves the accuracy of business numbering distribution.

Description

Business numbering distribution method, device, computer equipment and storage medium
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of business numbering distribution method, device, computer Equipment and storage medium.
Background technology
With the development of Internet technology, the business that can be handled on the internet is more and more, some business processions In, it is necessary to for user distribute business numbering.
Traditional business numbering distribution technique, numbered by generating business at random, the business numbering of generation is distributed into use Family.It is more and more to the quantity required of business numbering with the growth of number of services, numbered using the business generated at random, it is right The business numbering generated at random is allocated, and the probability for business numbering duplicate allocation occur is higher.
The content of the invention
Based on this, it is necessary to for there is the problem of probability of business numbering duplicate allocation is higher, there is provided a kind of business is compiled Number distribution method, device, computer equipment and storage medium.
A kind of business numbering distribution method, methods described include:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
A kind of business numbering distributor, described device include:
Quantity acquisition module, for obtaining business numbering generation quantity;
Numbering generation module, for generating business numbering according to the business numbering generation quantity;
Queue add module, for the business numbering of generation to be added in numbering distribution queue;
Acquisition request module, for obtaining business numbering distribution request;
Number of extracted module, for extracting request quantity allotted and user account in the business numbering distribution request;
Numbering extraction module, for extracting industry from the numbering distribution queue in order according to the request quantity allotted Business numbering;
Numbering distribute module, for the business extracted numbering to be distributed to the user account.
A kind of computer equipment, the computer equipment include memory, processor and are stored on the memory simultaneously The computer program that can be run on the processor, following steps are realized during computer program described in the computing device:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
One or more is stored with the storage medium of computer executable instructions, and the computer executable instructions are by one Or during multiple computing devices so that one or more of computing device following steps:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
Above-mentioned business numbering distribution method, device, computer equipment and storage medium, given birth to according to business numbering generation quantity Numbered into business, ensure business numbering assignable enough.The business numbering of generation is added in numbering distribution queue, obtained After taking business numbering distribution request, the request quantity allotted in business numbering distribution request is extracted from numbering distribution queue Business is numbered, by the business extracted numbering distribution to the user account in business numbering distribution request.Number and distribute in business During, numbered by extracting business in order from numbering distribution queue, the business numbering for ensureing to extract is not in weight Multiple situation, so as to reduce the probability for business numbering duplicate allocation occur, improve the accuracy of business numbering distribution.
Brief description of the drawings
Fig. 1 is the applied environment figure of business numbering distribution method in one embodiment;
Fig. 2 is the structured flowchart of the server in business numbering distribution system in one embodiment;
Fig. 3 is the schematic flow sheet of business numbering distribution method in one embodiment;
Fig. 4 is schematic flow sheet the step of signing notice in being generated in one embodiment;
Fig. 5 is schematic flow sheet the step of service ending notice is generated in one embodiment;
Fig. 6 is schematic flow sheet the step of signing business numbering in being extracted in one embodiment;
Fig. 7 is the structured flowchart of business numbering distributor in one embodiment;
Fig. 8 is the structured flowchart of business numbering distributor in another embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of business numbering distribution method in one embodiment.Reference picture 1, business numbering distribution Method is applied to business numbering distribution system.Business numbering distribution system includes terminal 110, terminal 120 and server 130, its Middle terminal 110 and terminal 120 are connected by network with server 130.Terminal 110 and terminal 120 can be fixed terminal or shifting Dynamic terminal, fixed terminal can be specifically at least one of printer, scanner and monitor, and mobile terminal can be specifically At least one of tablet personal computer, smart mobile phone, personal digital assistant and digital camera.
Fig. 2 is the internal structure schematic diagram of the server 130 in Fig. 1 business numbering distribution systems in one embodiment.Such as Shown in Fig. 2, the server 130 includes processor, memory and the network interface connected by system bus.Wherein, server 130 processor, which is used to provide, to be calculated and control ability, supports the operation of whole server 130, memory be used for data storage, Code command etc., network interface are used to carry out network service with terminal 110 and terminal 120.It is stored with memory at least one Computer executable instructions, the computer executable instructions can be executed by processor, to realize what is provided in the embodiment of the present application Suitable for the business numbering distribution method of server 120.Memory may include magnetic disc, CD, read-only memory (Read- Only Memory, ROM) etc. non-volatile memory medium, or random access memory (Random Access Memory, RAM) Deng.For example, in one embodiment, memory includes non-volatile memory medium and built-in storage;Non-volatile memory medium Operating system and computer executable instructions are stored with, the computer executable instructions can be executed by processor above-mentioned to realize Business numbering distribution method;Built-in storage provides for the operating system in non-volatile memory medium and computer executable instructions The running environment of cache.
As shown in figure 3, in one embodiment, there is provided a kind of business numbering distribution method, the present embodiment in this way should Come in server 130 for example, this method specifically includes herein below:
S302, obtain business numbering generation quantity.
Specifically, business personnel is inputted by incoming traffic personnel account and password login to the business information of terminal 110 The page, business personnel's incoming traffic numbering generation quantity in business information input page.Terminal 110 will obtain the business of input Numbering generation quantity, the business numbering generation quantity of acquisition is sent to server 130.The receiving terminal 110 of server 130 is sent Business numbering generation quantity.
In one embodiment, business personnel's incoming traffic information, business information in the business input page of terminal 110 Including subject matter price, at least one of Business Name, subject matter title and business effective time can also be included.Terminal 110 obtain the business information of input, and business information is sent to server 130.The industry that the receiving terminal 110 of server 130 is sent Business information, extracts the subject matter price in business information, business numbering generation quantity is determined according to the subject matter price extracted.
In another embodiment, server 130 extracts subject matter price and numbering quantity determination side from business information Formula, business numbering generation quantity is determined according to the subject matter price and numbering quantity determination mode extracted.
For example, subject matter is mobile phone, the price of mobile phone is 5000 yuan, if numbering quantity determination mode is with subject matter Price divided by 2 obtained numerals are business numbering generation quantity, i.e., 5000 divided by 2 obtain 2500, and business numbering generation quantity is 2500;If numbering quantity determination mode is using subject matter price as business numbering generation quantity, that is, the business numbering determined generates Quantity is 5000.
S304, business numbering is generated according to business numbering generation quantity.
Specifically, server 130 is numbered according to number order generation and the business that business numbering generation quantity matches.Its In, the digit for the business numbering that server 130 generates can be with identical.For example, business numbering generation quantity is 10, then give birth to Into " 00,01,02,03,04,05,06,07,08 and 09 " 10 business numbering for including 2 digit order numbers.
In one embodiment, server 130 obtains corresponding business numbering Random Generation, is calculated according to random generation Method, which generates, to match with business numbering generation quantity and is numbered in the absence of the business repeated.
S306, the business numbering of generation is added in numbering distribution queue.
Specifically, server 130 is after generating the business to match with business numbering generation quantity and numbering, at random from generation Business numbering in extract business numbering, the business being drawn into numbering is added in numbering distribution queue, then from being left Business numbering in extract business numbering, then the business being drawn into numbering is added in numbering distribution queue until will life Into all business numbering be added in numbering distribution queue.
In one embodiment, S306 is specifically further comprising the steps of:The business numbering of generation is converted into unordered industry Business numbering;Unordered business numbering is added in numbering distribution queue.
Specifically, server 130 is being generated with after the business of business numbering quantity Matching numbering, calling data to break up calculation Method, all business numbering progress data of generation are broken up into processing and obtain unordered business numbering, unordered business numbering is added Add in numbering distribution queue.
S308, obtain business numbering distribution request.
Specifically, user signs in the business numbering acquisition page in the input user account of terminal 120, numbers and obtains in business The request quantity allotted that incoming traffic is numbered in the page.The acquisition business of terminal 120 numbering obtains the request distribution inputted in the page Quantity and the user account logged in, business numbering distribution request is generated according to request quantity allotted and the user account logged in, will The business numbering distribution request of generation is sent to server 130.The business numbering distribution that the receiving terminal 120 of server 130 is sent Request.Request quantity allotted refers to that user's request corresponding to user account is assigned to the quantity of business numbering.
S310, extract request quantity allotted and user account in business numbering distribution request.
Specifically, server 130 enters after the numbering distribution request of the transmission of terminal 120 is received to numbering distribution request Row parsing, by parsing the request quantity allotted and user account extracted in numbering distribution request.
S312, business numbering is extracted from numbering distribution queue according to request quantity allotted in order.
Specifically, server 130 is according to the request quantity allotted extracted from numbering distribution request, by number in distribution queue The business of the quantity identical with request quantity allotted of the extraction from numbering distribution queue that puts in order of business numbering is numbered.
S314, by the business extracted numbering distribution to user account.
Specifically, server 130 is allocated successfully notice according to the business numbering generation numbering extracted from numbering queue, Numbering is allocated successfully into notice to send to the terminal 120 logged in user account, and the business extracted is numbered and user's account Number corresponding storage generation numbering assignment record.
In the present embodiment, business numbering is generated according to business numbering generation quantity, ensures business numbering assignable enough. The business numbering of generation is added in numbering distribution queue, after business numbering distribution request is obtained, according to business numbering point Business numbering is extracted from numbering distribution queue with the request quantity allotted in request, by the business extracted numbering distribution to industry User account in numbering distribution request of being engaged in.In business numbering assigning process, by being carried in order from numbering distribution queue Business is taken to number, the business numbering for ensureing to extract is not in the situation of repetition, business numbering repetition occurs so as to reduce The probability of distribution, improve the accuracy of business numbering distribution.
As shown in figure 4, in one embodiment, specific the step of also including signing notice in generation, the step after S314 Specifically include herein below:
S402, detects whether business numbering in numbering distribution queue is assigned.
Specifically, server 130 is detected in numbering distribution queue after by the business mentioned numbering distribution to user account Numbered with the presence or absence of business to be allocated, if business numbering to be allocated be present, then it represents that the business that numbering is divided in paired row is compiled It is number unallocated to finish;Business to be allocated is such as not present to number, then it represents that the business numbering in numbering distribution queue has distributed Finish.
In one embodiment, server 130 is after by the business extracted numbering distribution to user account, to having distributed Business numbering quantity carry out stored count, after each count, institute's count number business numbering generation quantity is compared, When institute's count number is equal with business numbering generation quantity, represent that the numbering of the business in numbering distribution queue has been assigned;When When institute's count number is less than business numbering generation quantity, represent that the business that numbering is divided in paired row numbers unallocated finish.
In another embodiment, server 130 is provided with unallocated numbering in numbering distribution queue and counted, unallocated volume Number count initial value be business numbering generation quantity, server 130 from numbering divide in paired row extract business number after, general Unallocated numbering counts the extraction quantity for subtracting business numbering.Server 130 is detecting that the value that unallocated numbering counts is 0 When, represent that the numbering of the business in numbering distribution queue has been assigned;Server 130 is detecting the value of unallocated numbering counting When not being 0, represent that the business that numbering is divided in paired row numbers unallocated finish.
In one embodiment, S402 specifically includes following steps:Detection is in preset time in numbering distribution queue Whether business numbering is assigned.
Specifically, server 130 starts timing when the business of generation numbering is added in numbering distribution queue, when When reaching preset time between institute's timing, whether the service queue in detection numbering distribution queue, which is allocated, finishes.
S404, finish if the business numbering for detecting in numbering distribution queue is allocated, taken out from the business of generation numbering Middle label business is taken to number.
Specifically, server 130 is when the business numbering in detecting numbering distribution queue is allocated and finished, from generation The business numbering of predetermined number is extracted in business numbering, is numbered using the business of extraction and business numbering is signed in.Wherein, extract pre- If the business numbering of quantity can be randomly selected or extracted according to preset rules.
S406, inquiry are assigned to the user account of middle label business numbering.
Specifically, business numbering is signed in being inquired about in the numbering assignment record that server 130 is numbered according to business, from numbering point With user account corresponding to business numbering is signed in being obtained in record, the user account got is to be assigned to middle label business to number User account.
S408, sign and notify in the user account generation numbered and inquired according to middle label business.
Specifically, the user account that the centering label business of server 130 is numbered and inquired is packaged, and is generated by encapsulating Middle label notice.At least one of Business Name, subject matter information and middle label expired time can also be included in middle label notice.
S410, middle label notice is sent to the terminal logged in the user account inquired.
Specifically, the terminal address corresponding to terminal that the user account that server 130 determines to inquire logs in, according to The terminal address of determination sends middle label notice to the terminal logged in the user account inquired.
In the present embodiment, after the business numbering in detecting numbering distribution queue is assigned, compiled from the business of generation Business is signed in extracting in number to number, and is numbered and is assigned to according to middle label business to sign in the user account generation of middle label business numbering and lead to Know, middle label notice is sent to be assigned to the terminal that the user account of middle label business numbering logs in, ensures to sign in being drawn into After business numbering, user is signed in notice in time, improves middle label notice efficiency.
As shown in figure 5, in one embodiment, specific the step of also including generation service ending notice after S314, should Step specifically includes herein below:
S502, detects whether the numbering of the business in preset time in numbering distribution queue is assigned.
Specifically, server 130 starts timing when the business of generation numbering is added in numbering distribution queue, when When reaching preset time between institute's timing, whether the service queue in detection numbering distribution queue, which is allocated, finishes.
S504, detect that the numbering of the business in numbering distribution queue is unassigned and finish, acquisition has distributed business numbering pair The user account answered.
Specifically, when the business in preset time in numbering distribution queue that detects numbers unassigned finish, knot The beam business.Server 130 obtains from numbering assignment record have been distributed business numbering and has distributed corresponding to business numbering User account.Wherein, the user account of acquisition is the user account for having been dispensed into business numbering.
S506, notified according to the user account and corresponding business numbering generation service ending of having distributed that get.
Specifically, server 130 has distributed business numbering the use corresponding with business numbering has been distributed according to what is got Family account generation service ending notice.It can also include service ending reason in service ending notice.
In one embodiment, server 130 is inquired about in numbering assignment record corresponding to the user account got Multiple business numberings, according to the user account got and the multiple business inquired numbering generation service ending notice.
S508, service ending notice is sent to the terminal logged in the user account got.
Specifically, server 130 inquires about the terminal address corresponding to the terminal of the user account of acquisition login, according to looking into The terminal address ask sends service ending notice to the terminal logged in the user account got.
In the present embodiment, finished detecting that the numbering of the business in preset time in numbering distribution queue is unassigned When, business corresponding to winding-up numbering, the business corresponding to non-complete business numbering in preset time that avoids takes more Calculation resources.Acquisition has distributed business numbering corresponding user account, according to the user account that gets and corresponding has distributed Business numbering generation service ending notice, service ending notice is sent to the terminal logged in the user account got, protected The notice demonstrate,proved in winding-up notifies to have distributed user corresponding to business numbering in time.
As shown in fig. 6, in one embodiment, S404 specifically includes the step of business numbering is signed in extraction, step tool Body includes herein below:
S602, choose the user account for being assigned to business numbering of predetermined number.
Specifically, the user account of predetermined number is chosen in the numbering assignment record of server 130, the user account of selection is It has been assigned to the user account of business numbering.Wherein, server 130 can randomly select the user account of predetermined number.
In one embodiment, server 130 have recorded selected each user account point in numbering assignment record It is fitted on the business numbering distribution time of business numbering.Server 130 can also number the distribution time to user account according to business It is ranked up, chooses the user account for coming most preceding or last predetermined number.For example, according to business number distribution the time to Family account is ranked up, and selection comes 50 last user accounts.
S604, obtain the business numbering distribution time corresponding to selected each user account and distributed business numbering.
Specifically, server 130 obtains business corresponding to selected each user account from numbering assignment record and compiled Number distribution the time and distributed business number.Wherein, the business numbering distribution time is represented with the numeric string of identical data digit, example Such as, the business numbering distribution time is 39 seconds 14: 23 parts of Mays 11 day in 2017, then to include the numeric string of 14 digit order numbers 20170511142339 represent.
S606, according to the business numbering distribution time got and label business numbering during business numbering determines is distributed.
Specifically, all business got are numbered the distribution time and distributed business numbering by server 130 carries out phase Add, it is will add up to obtain and divided by business numbering generation quantity, obtain will obtain with divided by business numbering generation quantity obtain Remainder, business numbering is signed in being determined according to the remainder that gets.Wherein, according to the remainder got can also determine it is multiple in Label business is numbered.
In the present embodiment, the user account of predetermined number is chosen, the business numbering distribution time according to corresponding to user account Business numbering is distributed and has been numbered by calculating label business in determination, ensure that and the fairness that business is numbered is signed in extracting;Needing When determining multiple middle label business numberings, the situation that the middle label business numbering of determination duplicates is avoided, is improved in determination The accuracy of label business numbering.
For example, business personnel passes through the incoming traffic information of terminal 110, industry with business personnel's account registration terminal 110 Business information includes subject matter information, and subject matter information is included in subject matter title, subject matter price and subject matter detail parameters It is at least one.Wherein, the entitled mobile phone of subject matter, subject matter price be 5000 yuan, subject matter detail parameters include memory size, The parameter such as screen size and processor model.Terminal 110 sends the business information of input to server 130.
Server 130 determines 5000 business numberings of business numbering generation quantity for 5000 yuan according to subject matter price, each Business numbering needs user to spend 1 yuan to buy.5000 business numbering of generation is converted to unordered business by server 130 Numbering, unordered business numbering is added in numbering distribution queue.User passes through end by user account registration terminal 120 The input of end 120 purchase business numbering quantity.After the completion of user is paid by terminal 120 according to the business numbering quantity of purchase, Server 130 obtains business numbering distribution request, and business numbering distribution request is included corresponding to user account and user account Purchase business numbering quantity, server 130 extract business according to purchase business numbering quantity from numbering distribution queue and numbered, will The business numbering extracted is distributed to the user account in business numbering distribution request.
Server 130 is after the business numbering in detecting numbering distribution queue is assigned, from all business of generation Business numbering is signed in being extracted in numbering, user account corresponding to being assigned to middle label business numbering is inquired about, is logged in user account Terminal send in sign notice.User is notified as voucher with the middle label received, to 5000 yuan of hand of business personnel's conversion price Machine.
As shown in fig. 7, in one embodiment, there is provided a kind of business numbering distributor 700, the device specifically include with Lower content:Quantity acquisition module 702, numbering generation module 704, queue add module 706, acquisition request module 708, quantity carry Modulus block 710, numbering extraction module 712 and numbering distribute module 714.
Quantity acquisition module 702, for obtaining business numbering generation quantity.
Numbering generation module 704, for generating business numbering according to business numbering generation quantity.
Queue add module 706, for the business numbering of generation to be added in numbering distribution queue.
Acquisition request module 708, for obtaining business numbering distribution request.
Number of extracted module 710, for extracting request quantity allotted and user account in business numbering distribution request.
Numbering extraction module 712, compiled for extracting business from numbering distribution queue in order according to request quantity allotted Number.
Numbering distribute module 714, for the business extracted numbering to be distributed to user account.
In one embodiment, queue add module is additionally operable to for the business numbering of generation to be converted into unordered business volume Number;Unordered business numbering is added in numbering distribution queue.
In the present embodiment, business numbering is generated according to business numbering generation quantity, ensures business numbering assignable enough. The business numbering of generation is added in numbering distribution queue, after business numbering distribution request is obtained, according to business numbering point Business numbering is extracted from numbering distribution queue with the request quantity allotted in request, by the business extracted numbering distribution to industry User account in numbering distribution request of being engaged in.In business numbering assigning process, by being carried in order from numbering distribution queue Business is taken to number, the business numbering for ensureing to extract is not in the situation of repetition, business numbering repetition occurs so as to reduce The probability of distribution, improve the accuracy of business numbering distribution.
As shown in figure 8, in one embodiment, the business numbering distributor 700 specifically also includes herein below:Queue Detection module 716, middle label abstraction module 718, account enquiry module 720, notice generation module 722 and notice sending module 724.
Queue detection module 716, for detecting whether business numbering in numbering distribution queue is assigned.
Middle label abstraction module 718, if being finished for detecting that the numbering of the business in numbering distribution queue is allocated, from generation Business numbering in extract in sign business numbering.
Account enquiry module 720, the user account of middle label business numbering is assigned to for inquiring about.
Generation module 722 is notified, the user account for signing business numbering in and inquiring signs notice in generating.
Sending module 724 is notified, for middle label notice to be sent to the terminal logged in the user account inquired.
Queue detection module 716 is additionally operable to whether business numbering of the detection in preset time in numbering distribution queue distributes Finish.
Account enquiry module 720 is additionally operable to detect that the business numbering in numbering distribution queue is unassigned and finished, and obtains User account corresponding to business numbering is distributed.
Notice generation module 722 is additionally operable to generate industry according to the user account and corresponding business numbering of having distributed that get Business end notification.
Notice sending module 724 is additionally operable to send service ending notice to the end logged in the user account got End.
In the present embodiment, after the business numbering in detecting numbering distribution queue is assigned, compiled from the business of generation Business is signed in extracting in number to number, and is numbered and is assigned to according to middle label business to sign in the user account generation of middle label business numbering and lead to Know, middle label notice is sent to be assigned to the terminal that the user account of middle label business numbering logs in, ensures to sign in being drawn into After business numbering, user is signed in notice in time, improves middle label notice efficiency.Detecting the numbering distribution team in preset time When business in row numbers unassigned finish, business corresponding to winding-up numbering, avoid not complete in preset time Business corresponding to business numbering takes more calculation resources.Acquisition has distributed business numbering corresponding user account, according to acquisition To user account and it is corresponding distributed business numbering generation service ending notice, by service ending notice send to obtain The terminal that the user account arrived logs in, the notice ensured in winding-up notify to have distributed user corresponding to business numbering in time.
In one embodiment, it is middle label abstraction module 718 be additionally operable to choose predetermined number be assigned to business numbering User account;Obtain the business numbering distribution time corresponding to selected each user account and distribute business numbering;According to The business numbering got, which is distributed the time and distributed during business numbering determines, signs business numbering.
In the present embodiment, the user account of predetermined number is chosen, the business numbering distribution time according to corresponding to user account Business numbering is distributed and has been numbered by calculating label business in determination, ensure that and the fairness that business is numbered is signed in extracting;Needing When determining multiple middle label business numberings, the situation that the middle label business numbering of determination duplicates is avoided, is improved in determination The accuracy of label business numbering.
A kind of computer equipment, computer equipment include memory, processor and storage on a memory and can handled The computer program run on device, following steps are realized during computing device computer program:Acquisition business numbering generation quantity; Business numbering is generated according to business numbering generation quantity;The business numbering of generation is added in numbering distribution queue;Obtain industry Business numbering distribution request;Request quantity allotted and user account in extraction business numbering distribution request;Number is distributed according to request Amount extracts business numbering from numbering distribution queue in order;By the business extracted numbering distribution to user account.
In one embodiment, the business numbering of generation is added in numbering distribution queue, including:By the business of generation Numbering is converted into unordered business numbering;Unordered business numbering is added in numbering distribution queue.
In one embodiment, the business extracted numbering is distributed to user account, computing device computer Following steps are also realized during program:Whether business numbering is assigned in detection numbering distribution queue;If detect numbering distribution Business numbering in queue, which is allocated, to be finished, and business numbering is signed in being extracted from the business numbering of generation;Inquiry is assigned to middle label The user account of business numbering;Notice is signed in the user account generation numbered and inquired according to middle label business;Middle label are notified Send to the terminal logged in the user account inquired.
In one embodiment, the business extracted numbering is distributed to user account, computing device computer Following steps are also realized during program:Detect whether the numbering of the business in preset time in numbering distribution queue is assigned;Inspection Measure in numbering distribution queue business numbering it is unassigned finish, acquisition distributed business numbering corresponding to user account;Root Notified according to the user account and corresponding business numbering generation service ending of having distributed that get;Service ending notice is sent extremely The terminal logged in the user account got.
In one embodiment, business numbering is signed in being extracted from the business numbering of generation, including:Choose predetermined number It has been assigned to the user account of business numbering;Obtain business numbering distribution time corresponding to selected each user account and Distribution business is numbered;According to the business numbering distribution time got and label business numbering during business numbering determines is distributed.
In the present embodiment, business numbering is generated according to business numbering generation quantity, ensures business numbering assignable enough. The business numbering of generation is added in numbering distribution queue, after business numbering distribution request is obtained, according to business numbering point Business numbering is extracted from numbering distribution queue with the request quantity allotted in request, by the business extracted numbering distribution to industry User account in numbering distribution request of being engaged in.In business numbering assigning process, by being carried in order from numbering distribution queue Business is taken to number, the business numbering for ensureing to extract is not in the situation of repetition, business numbering repetition occurs so as to reduce The probability of distribution, improve the accuracy of business numbering distribution.
One or more is stored with the storage medium of computer executable instructions, and computer executable instructions are by one or more During individual computing device so that one or more processors perform following steps:Acquisition business numbering generation quantity;According to business Numbering generation quantity generation business numbering;The business numbering of generation is added in numbering distribution queue;Acquisition business numbering point With request;Request quantity allotted and user account in extraction business numbering distribution request;According to request quantity allotted in order Business numbering is extracted from numbering distribution queue;By the business extracted numbering distribution to user account.
In one embodiment, the business numbering of generation is added in numbering distribution queue, including:By the business of generation Numbering is converted into unordered business numbering;Unordered business numbering is added in numbering distribution queue.
In one embodiment, by after the business extracted numbering distribution to user account, processor also performs following Step:Whether business numbering is assigned in detection numbering distribution queue;If detect the business numbering in numbering distribution queue It is allocated and finishes, business numbering is signed in being extracted from the business numbering of generation;Inquiry is assigned to user's account of middle label business numbering Number;Notice is signed in the user account generation numbered and inquired according to middle label business;Middle label notice is sent extremely to inquire The terminal that user account logs in.
In one embodiment, by after the business extracted numbering distribution to user account, processor also performs following Step:Detect whether the numbering of the business in preset time in numbering distribution queue is assigned;Detect numbering distribution queue In business numbering it is unassigned finish, acquisition distributed business numbering corresponding to user account;According to the user's account got Number and it is corresponding distributed business numbering generation service ending notice;Service ending notice is sent to user's account to get Number log in terminal.
In one embodiment, business numbering is signed in being extracted from the business numbering of generation, including:Choose predetermined number It has been assigned to the user account of business numbering;Obtain business numbering distribution time corresponding to selected each user account and Distribution business is numbered;According to the business numbering distribution time got and label business numbering during business numbering determines is distributed.
In the present embodiment, business numbering is generated according to business numbering generation quantity, ensures business numbering assignable enough. The business numbering of generation is added in numbering distribution queue, after business numbering distribution request is obtained, according to business numbering point Business numbering is extracted from numbering distribution queue with the request quantity allotted in request, by the business extracted numbering distribution to industry User account in numbering distribution request of being engaged in.In business numbering assigning process, by being carried in order from numbering distribution queue Business is taken to number, the business numbering for ensureing to extract is not in the situation of repetition, business numbering repetition occurs so as to reduce The probability of distribution, improve the accuracy of business numbering distribution.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, the computer program can be stored in a computer-readable storage and be situated between In matter, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, foregoing storage medium can be The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM), or random storage note Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of business numbering distribution method, methods described include:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
2. according to the method for claim 1, it is characterised in that described that the business numbering of generation is added to numbering distribution team In row, including:
The business numbering of generation is converted into unordered business to number;
The unordered business numbering is added in numbering distribution queue.
3. according to the method for claim 2, it is characterised in that described by the business extracted numbering distribution to the user After account, in addition to:
Detect whether business numbering in the numbering distribution queue is assigned;
If detecting that the numbering of the business in the numbering distribution queue is allocated to finish, signed in being extracted from the business numbering of generation Business is numbered;
Inquiry is assigned to the user account of the middle label business numbering;
Notice is signed in the user account generation numbered and inquired according to the middle label business;
The middle label notice is sent to the terminal logged in the user account inquired.
4. according to the method for claim 3, it is characterised in that business numbering is in the detection numbering distribution queue It is no to be assigned, including:
Detect whether the numbering of the business in preset time in the numbering distribution queue is assigned;
After whether business numbering of the detection in preset time in the numbering distribution queue is assigned, in addition to:
Detect that the numbering of the business in the numbering distribution queue is unassigned to finish, acquisition has distributed to be used corresponding to business numbering Family account;
Business numbering generation business knot has been distributed according to corresponding to the user account and the user account got that get Shu Tongzhi;
Service ending notice is sent to the terminal logged in the user account got.
5. according to the method for claim 3, it is characterised in that sign business in being extracted in the business numbering from generation and compile Number, including:
Choose the user account for being assigned to business numbering of predetermined number;
Obtain the business numbering distribution time corresponding to selected each user account and distribute business numbering;
According to the business numbering distribution time got and label business numbering during business numbering determines is distributed.
6. a kind of business numbering distributor, it is characterised in that described device includes:
Quantity acquisition module, for obtaining business numbering generation quantity;
Numbering generation module, for generating business numbering according to the business numbering generation quantity;
Queue add module, for the business numbering of generation to be added in numbering distribution queue;
Acquisition request module, for obtaining business numbering distribution request;
Number of extracted module, for extracting request quantity allotted and user account in the business numbering distribution request;
Numbering extraction module, compiled for extracting business from the numbering distribution queue in order according to the request quantity allotted Number;
Numbering distribute module, for the business extracted numbering to be distributed to the user account.
7. device according to claim 6, it is characterised in that described device also includes:
Queue detection module, for detecting whether business numbering in the numbering distribution queue is assigned;
Middle label abstraction module, if being finished for detecting that the numbering of the business in the numbering distribution queue is allocated, from generation Business numbering is signed in being extracted in business numbering;
Account enquiry module, the user account of the middle label business numbering is assigned to for inquiring about;
Generation module is notified, the user account for numbering and inquiring according to the middle label business is signed in generating and notified;
Sending module is notified, for the middle label notice to be sent to the terminal logged in the user account inquired.
8. device according to claim 7, it is characterised in that the middle label abstraction module is additionally operable to choose predetermined number It has been assigned to the user account of business numbering;Obtain business numbering distribution time corresponding to selected each user account and Distribution business is numbered;According to the business numbering distribution time got and label business numbering during business numbering determines is distributed.
9. a kind of computer equipment, the computer equipment includes memory, processor and is stored on the memory and can The computer program run on the processor, following steps are realized during computer program described in the computing device:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
10. one or more is stored with the storage medium of computer executable instructions, the computer executable instructions are by one Or during multiple computing devices so that one or more of computing device following steps:
Acquisition business numbering generation quantity;
Business numbering is generated according to the business numbering generation quantity;
The business numbering of generation is added in numbering distribution queue;
Acquisition business numbering distribution request;
Extract the request quantity allotted and user account in the business numbering distribution request;
Business numbering is extracted from the numbering distribution queue according to the request quantity allotted in order;
By the business extracted numbering distribution to the user account.
CN201710608517.2A 2017-07-24 2017-07-24 Service number distribution method and device, computer equipment and storage medium Active CN107786628B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710608517.2A CN107786628B (en) 2017-07-24 2017-07-24 Service number distribution method and device, computer equipment and storage medium
PCT/CN2018/080169 WO2019019676A1 (en) 2017-07-24 2018-03-23 Service number assigning method and device, computer apparatus, and storage medium
SG11201913403PA SG11201913403PA (en) 2017-07-24 2018-03-23 Service number assigning method and device, computer apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710608517.2A CN107786628B (en) 2017-07-24 2017-07-24 Service number distribution method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107786628A true CN107786628A (en) 2018-03-09
CN107786628B CN107786628B (en) 2020-08-18

Family

ID=61437799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710608517.2A Active CN107786628B (en) 2017-07-24 2017-07-24 Service number distribution method and device, computer equipment and storage medium

Country Status (3)

Country Link
CN (1) CN107786628B (en)
SG (1) SG11201913403PA (en)
WO (1) WO2019019676A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921374A (en) * 2018-05-16 2018-11-30 中国平安人寿保险股份有限公司 Declaration form distribution method, unit and computer readable storage medium
WO2019019676A1 (en) * 2017-07-24 2019-01-31 深圳壹账通智能科技有限公司 Service number assigning method and device, computer apparatus, and storage medium
CN109491772A (en) * 2018-09-28 2019-03-19 深圳财富农场互联网金融服务有限公司 Business serial number gencration method, apparatus, computer equipment and storage medium
CN110247828A (en) * 2019-07-30 2019-09-17 北京达佳互联信息技术有限公司 Identity assignments method and device
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065034B (en) * 2021-03-29 2022-11-18 上海安畅网络科技股份有限公司 Distributed system number generation method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060064921A (en) * 2004-12-09 2006-06-14 엘지전자 주식회사 Order management system
CN102063678A (en) * 2011-01-05 2011-05-18 北京凯铭风尚网络技术有限公司 Method and device for distributing gifts to net friends on line
CN104486407A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Method and device for generating numbers
CN105872830A (en) * 2016-05-31 2016-08-17 广州华多网络科技有限公司 Interaction method and device for live channel
CN106506663A (en) * 2016-11-22 2017-03-15 北京科摩仕捷科技有限公司 A kind of number distributing method, server and system
CN106657216A (en) * 2016-09-19 2017-05-10 腾讯征信有限公司 Serial number generation method and serial number generation device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786628B (en) * 2017-07-24 2020-08-18 深圳壹账通智能科技有限公司 Service number distribution method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060064921A (en) * 2004-12-09 2006-06-14 엘지전자 주식회사 Order management system
CN102063678A (en) * 2011-01-05 2011-05-18 北京凯铭风尚网络技术有限公司 Method and device for distributing gifts to net friends on line
CN104486407A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Method and device for generating numbers
CN105872830A (en) * 2016-05-31 2016-08-17 广州华多网络科技有限公司 Interaction method and device for live channel
CN106657216A (en) * 2016-09-19 2017-05-10 腾讯征信有限公司 Serial number generation method and serial number generation device
CN106506663A (en) * 2016-11-22 2017-03-15 北京科摩仕捷科技有限公司 A kind of number distributing method, server and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019676A1 (en) * 2017-07-24 2019-01-31 深圳壹账通智能科技有限公司 Service number assigning method and device, computer apparatus, and storage medium
CN108921374A (en) * 2018-05-16 2018-11-30 中国平安人寿保险股份有限公司 Declaration form distribution method, unit and computer readable storage medium
CN108921374B (en) * 2018-05-16 2022-07-12 中国平安人寿保险股份有限公司 Policy distribution method, device and apparatus and computer readable storage medium
CN109491772A (en) * 2018-09-28 2019-03-19 深圳财富农场互联网金融服务有限公司 Business serial number gencration method, apparatus, computer equipment and storage medium
CN109491772B (en) * 2018-09-28 2020-10-27 深圳财富农场互联网金融服务有限公司 Service sequence number generation method and device, computer equipment and storage medium
CN110247828A (en) * 2019-07-30 2019-09-17 北京达佳互联信息技术有限公司 Identity assignments method and device
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system

Also Published As

Publication number Publication date
CN107786628B (en) 2020-08-18
SG11201913403PA (en) 2020-01-30
WO2019019676A1 (en) 2019-01-31

Similar Documents

Publication Publication Date Title
CN107786628A (en) Business numbering distribution method, device, computer equipment and storage medium
US10785345B2 (en) Information processing method, client, server and computer-readable storage medium
CN106549974B (en) Device, method and system for predicting whether social network account is malicious or not
WO2018001283A1 (en) Data processing method, apparatus, and computer storage medium
CN107833029B (en) Resource transfer method and device, and red packet sending method and device
CN107743138A (en) Push server distribution method, device, computer equipment and storage medium
CN104933207B (en) The acquisition methods and system of user behavior data in application program
CN110070359A (en) Verification of data system, method, calculating equipment and storage medium based on block chain
CN107528818B (en) Data processing method and device for media file
TWI712969B (en) Business realization method, payment method and device
CN107360117B (en) Data processing method, device and system
CN108228363A (en) A kind of message method and device
CN104660555B (en) A kind of confirmation processing method, relevant apparatus and system
CN105245620B (en) The method, apparatus and system of information transmission
US11533163B2 (en) Mining method and device based on blockchain, and computer readable storage medium
CN107784585A (en) Bid business paper processing method, device, computer equipment and storage medium
CN107396145B (en) One kind getting through IPTV, the advertisement placement method and advertisement delivery system of OTT resources
CN109302300A (en) Data distributing method and device, data processing method and server
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN109413022A (en) A kind of method and apparatus based on user behavior detection HTTP FLOOD attack
CN107784418A (en) List data distribution method and device
CN108009809B (en) Electronic red packet issuing method and device based on position and time
CN106790215A (en) A kind of particular service interactive controlling strategy and system
CN105718314A (en) Event execution method, device and system
JP2008305147A (en) Data charging system and data charging method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180524

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd.

Address before: 200000 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant before: Shanghai Financial Technologies Ltd

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd.

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: Shenzhen one ledger Intelligent Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant