CN107944928A - The distribution method and device of certificate code - Google Patents

The distribution method and device of certificate code Download PDF

Info

Publication number
CN107944928A
CN107944928A CN201711317834.5A CN201711317834A CN107944928A CN 107944928 A CN107944928 A CN 107944928A CN 201711317834 A CN201711317834 A CN 201711317834A CN 107944928 A CN107944928 A CN 107944928A
Authority
CN
China
Prior art keywords
certificate code
server
certificate
specified type
mapping relations
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
CN201711317834.5A
Other languages
Chinese (zh)
Other versions
CN107944928B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711317834.5A priority Critical patent/CN107944928B/en
Publication of CN107944928A publication Critical patent/CN107944928A/en
Application granted granted Critical
Publication of CN107944928B publication Critical patent/CN107944928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0222During e-commerce, i.e. online transactions

Abstract

The disclosure is directed to a kind of distribution method and device of certificate code.This method includes:The certificate code of each type is respectively classified into multiple certificate code sections;Establish the mapping relations between the certificate code section of each type and certificate code server;According to the mapping relations between the certificate code section of each type and certificate code server, each certificate code server is notified to load corresponding certificate code section;In the case where receiving the request of mapping relations for the acquisition specified type for coming from client, the mapping relations between the certificate code section of the specified type and certificate code server are returned into the client.The certificate code of each type is respectively classified into multiple certificate code sections by the disclosure by control server, each certificate code server loads corresponding certificate code section respectively, client obtains the mapping relations between certificate code section and certificate code server from control server, and ask certificate code to certificate code server, thus, it is possible to realize real-time, extensive, high concurrent certificate code granting, availability is high, and the service ability of certificate code granting is scalable.

Description

The distribution method and device of certificate code
Technical field
This disclosure relates to information technology field, more particularly to the distribution method and device of certificate code.
Background technology
Certificate code granting is a kind of common Internet service.At present, many platforms can be purchased various excellent to encourage user Favour certificate code (such as video website member redemption code), user is issued to as reward.Mainly pass through two methods in correlation technique To realize the granting of certificate code.First method piles up certificate in the database, and client is made a reservation for by directly accessing the database With acquisition certificate code.In this approach, in the predetermined certificate code of client, database needs to lock whole certificate code table.When When concurrent visit capacity increases, performance can drastically decline.Certificate code is loaded into the memory of a server by second method, client End obtains certificate code by accessing this server.In this approach, the service ability of single server is limited, and service is stretched Contracting ability is poor.In addition, once this server breaks down, then whole certificate code granting service will be in disabled shape State.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of distribution method and device of certificate code.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of distribution method of certificate code, including the method are applied to In control server, the described method includes:
The certificate code of each type is respectively classified into multiple certificate code sections;
Establish the mapping relations between the certificate code section of each type and certificate code server;
According to the mapping relations between the certificate code section of each type and certificate code server, each certificate code server is notified to load Corresponding certificate code section;
In the case where receiving the request of mapping relations for the acquisition specified type for coming from client, specified described Mapping relations between the certificate code section and certificate code server of type return to the client.
In a kind of possible implementation, the mapping established between the certificate code section of each type and certificate code server is closed System, including:
Acquisition can use certificate code server list;
The certificate code section of each type is distributed into each certificate code server that can be used in certificate code server list, is obtained Allocation result;
Mapping relations between the certificate code section of each type and certificate code server are established according to allocation result.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of distribution method of certificate code, the method are applied to certificate code In server, the described method includes:
According to the mapping relations between the certificate code section of each type and certificate code server, from control server described in loading The corresponding certificate code section of certificate code server;
Receive the request of the certificate code for the acquisition specified type for coming from client;
In the case that the certificate code of specified type is met the requirements described in the certificate code server, the specified type is returned Certificate code to the client.
In a kind of possible implementation, receive come from client acquisition specified type certificate code request it Afterwards, the method further includes:
In the case that the certificate code of specified type is unsatisfactory for requirement described in the certificate code server, first message is returned to extremely The client.
In a kind of possible implementation, the certificate code of specified type meets the requirements bag described in the certificate code server Include:
There are the certificate code of the specified type in the certificate code server;Alternatively,
The quantity of the certificate code of specified type described in the certificate code server is greater than or equal to the acquisition specified type The corresponding certificate number of codes of request of certificate code.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of distribution method of certificate code, the method are applied to client In end, the described method includes:
The request for the mapping relations for obtaining specified type is sent to control server;
The mapping received between the certificate code section for the specified type that the control server returns and certificate code server is closed System;
According to the mapping relations between the certificate code section of the specified type and certificate code server, send and obtain specified type The request of certificate code is to the certificate code server;
Receive the request results that the certificate code server returns.
In a kind of possible implementation, the request results that the certificate code server returns are received, including:
In the case that the certificate code of specified type is met the requirements described in the certificate code server, the certificate code service is received The certificate code for the specified type that device returns.
In a kind of possible implementation, the request results that the certificate code server returns are received, including:
In the case that the certificate code of specified type is unsatisfactory for requirement described in the certificate code server, the certificate code clothes are received The first message that business device returns.
In a kind of possible implementation, the certificate code section for the specified type that the control server returns is being received After mapping relations between certificate code server, the method further includes:
Cache the mapping relations between the certificate code section of the specified type and certificate code server.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of dispensing apparatus of certificate code, including:
Segmentation module, for the certificate code of each type to be respectively classified into multiple certificate code sections;
Module is established, for establishing the mapping relations between the certificate code section of each type and certificate code server;
Notification module, for the mapping relations between the certificate code section according to each type and certificate code server, notifies each Certificate code server loads corresponding certificate code section;
First returns to module, for the request in the mapping relations for receiving the acquisition specified type for coming from client In the case of, the mapping relations between the certificate code section of the specified type and certificate code server are returned into the client.
In a kind of possible implementation, the module of establishing includes:
Acquisition submodule, certificate code server list can be used for obtaining;
Distribution sub module, for by the certificate code section of each type distribute to it is described can use it is each in certificate code server list Certificate code server, obtains allocation result;
Setting up submodule, for establishing the mapping between the certificate code section of each type and certificate code server according to allocation result Relation.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of dispensing apparatus of certificate code, including:
Load-on module, for the mapping relations between the certificate code section according to each type and certificate code server, therefrom control takes The corresponding certificate code section of the certificate code server is loaded in business device;
First receiving module, the request of the certificate code for receiving the acquisition specified type for coming from client;
Second returns to module, the situation that the certificate code for the specified type described in the certificate code server is met the requirements Under, the certificate code of the specified type is returned to the client.
In a kind of possible implementation, described device further includes:
3rd returns to module, and the certificate code for the specified type described in the certificate code server is unsatisfactory for desired situation Under, first message is returned to the client.
In a kind of possible implementation, the certificate code of specified type meets the requirements bag described in the certificate code server Include:
There are the certificate code of the specified type in the certificate code server;Alternatively,
The quantity of the certificate code of specified type described in the certificate code server is greater than or equal to the acquisition specified type The corresponding certificate number of codes of request of certificate code.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of dispensing apparatus of certificate code, including:
First sending module, for sending the request for the mapping relations for obtaining specified type to control server;
Second receiving module, certificate code section and the certificate code of the specified type returned for receiving the control server take Mapping relations between business device;
Second sending module, for the mapping relations between the certificate code section according to the specified type and certificate code server, The request for the certificate code for obtaining specified type is sent to the certificate code server;
3rd receiving module, the request results returned for receiving the certificate code server.
In a kind of possible implementation, the 3rd receiving module includes:
First receiving submodule, the situation that the certificate code for the specified type described in the certificate code server is met the requirements Under, receive the certificate code of the specified type that the certificate code server returns.
In a kind of possible implementation, the 3rd receiving module includes:
Second receiving submodule, the certificate code for the specified type described in the certificate code server are unsatisfactory for desired feelings Under condition, the first message that the certificate code server returns is received.
In a kind of possible implementation, described device further includes:
Cache module, for caching the mapping relations between the certificate code section of the specified type and certificate code server.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of dispensing apparatus of certificate code, it is characterised in that including:Place Manage device;For storing the memory of processor-executable instruction;Wherein, the processor is configured as performing above-mentioned first aspect Method.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of dispensing apparatus of certificate code, it is characterised in that including:Place Manage device;For storing the memory of processor-executable instruction;Wherein, the processor is configured as performing above-mentioned second aspect Method.
According to the 9th of the embodiment of the present disclosure the aspect, there is provided a kind of dispensing apparatus of certificate code, it is characterised in that including:Place Manage device;For storing the memory of processor-executable instruction;Wherein, the processor is configured as performing the above-mentioned third aspect Method.
According to the tenth of the embodiment of the present disclosure the aspect, there is provided a kind of non-transitorycomputer readable storage medium, when described When instruction in storage medium is performed by processor so that the method that processor is able to carry out above-mentioned first aspect.
According to the tenth of the embodiment of the present disclosure the on the one hand, there is provided a kind of non-transitorycomputer readable storage medium, works as institute When stating the instruction in storage medium and being performed by processor so that the method that processor is able to carry out above-mentioned second aspect.
According to the 12nd of the embodiment of the present disclosure the aspect, there is provided a kind of non-transitorycomputer readable storage medium, works as institute When stating the instruction in storage medium and being performed by processor so that the method that processor is able to carry out the above-mentioned third aspect.
The technical scheme provided by this disclosed embodiment can include the following benefits:Will be each by control server The certificate code of type is respectively classified into multiple certificate code sections, and each certificate code server loads corresponding certificate code section respectively, and client is therefrom controlled Server obtains the mapping relations between certificate code section and certificate code server, and asks certificate code to certificate code server, thus, it is possible to reality When real, extensive, the certificate code granting of high concurrent, availability is high, and the service ability of certificate code granting is scalable.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.
Fig. 2 is an exemplary stream of the distribution method step S12 of certificate code according to an exemplary embodiment a kind of Cheng Tu.
Fig. 3 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.
Fig. 4 is an a kind of exemplary flow chart of the distribution method of certificate code according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Fig. 7 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Fig. 9 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Figure 10 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Figure 11 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.
Figure 12 is a kind of block diagram of the device 800 of granting for certificate code according to an exemplary embodiment.
Figure 13 is a kind of block diagram of the device 1900 of granting for certificate code according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.This method is applied to In control server.Wherein, control server can refer to the server of centralized Control certificate code granting service.The method comprising the steps of S11 to step S14.
In step s 11, the certificate code of each type is respectively classified into multiple certificate code sections.
In a kind of possible implementation, control server can be according to the ID of the certificate code of each type (Identification, numbering) scope, multiple certificate code sections are respectively classified into by the certificate code of each type.
For example, the ID scopes of the certificate code of the first kind are 1 to 100, can be by the certificate code division of the first kind into 5 certificate codes Section, is respectively the first certificate code section, the second certificate code section, the 3rd certificate code section, the 4th certificate code section and the 5th certificate code section.Wherein, the first certificate The certificate code ID scopes of code section are 1 to 20, and the certificate code ID scopes of the second certificate code section are 21 to 40, the certificate code ID scopes of the 3rd certificate code section For 41 to 60, the certificate code ID scopes of the 4th certificate code section are 61 to 80, and the certificate code ID scopes of the 5th certificate code section are 81 to 100.
It should be noted that the certificate code of the first kind refers to the certificate code of a certain type, " first " is only to state and refer to herein The convenience in generation, is not meant to necessarily to have the certificate code of the corresponding first kind in the specific implementation of the disclosure.
In alternatively possible implementation, control server can according to the ID scopes of the certificate code of each type, with And the quantity of certificate code server, the certificate code of each type is respectively classified into multiple certificate code sections.
For example, the ID scopes of the certificate code of the first kind are 1 to 100, the quantity of certificate code server is 4, then can be by first For the certificate code division of type into 4 certificate code sections, the ID scopes of 4 certificate code sections are respectively 1 to 25,26 to 50,51 to 75,76 to 100.
In alternatively possible implementation, ID scopes that control server can be according to the certificate code of each type, certificate The code quantity of server and the disposal ability of each certificate code server, multiple certificate codes are respectively classified into by the certificate code of each type Section.
For example, the ID scopes of the certificate code of the first kind are 1 to 100, the quantity of certificate code server is 4, then can be according to 4 The disposal ability of certificate code server, by the certificate code division of the first kind into 4 certificate code sections, the ID scopes of 4 certificate code sections are respectively 1 To 30,31 to 70,71 to 85,86 to 100.
In the present embodiment, for the certificate code of a certain type, the certificate number of codes of each certificate code section can be identical, can not also Together.
In the present embodiment, for the certificate code of a certain type, the quantity of certificate code section can be more than the quantity of certificate code server, The quantity of certificate code server can also be equal to, or the quantity of certificate code server can be less than, be not limited thereto.
In the present embodiment, it is not absolutely required to the certificate code division of a certain type being assigned to all certificate code servers.For example, can Include certificate code server 1, certificate code server 2, certificate code server 3, certificate code server 4 and certificate code with certificate code server list to take Business device 5, for the certificate code of the first kind, can only distribute to certificate code server 3, certificate code server 4 and certificate code server 5.
In step s 12, the mapping relations between the certificate code section of each type and certificate code server are established.
In the present embodiment, certificate code server can be directed toward the server that client provides certificate code.The number of certificate code server Measure to be multiple.By setting multiple certificate code servers, the certificate code granting service of extensive high concurrent can be suitable for.In addition, by In there are multiple certificate code servers, single certificate code server can be avoided, which to break down, causes whole certificate code granting service can not With.
In the present embodiment, by taking the certificate code section of the first kind as an example, a certificate code server can be with the one of the first kind A or multiple certificate code sections are corresponding.For example, the certificate code division of the first kind is 8 certificate code sections, certificate code server 1 and 1 phase of certificate code section Corresponding, certificate code server 2 is corresponding with certificate code section 2 and 3, and certificate code server 3 is corresponding with certificate code section 4 and 5, certificate code server 4 Corresponding with certificate code section 6, certificate code server 5 is corresponding with certificate code section 7 and 8.
In step s 13, according to the mapping relations between the certificate code section of each type and certificate code server, each certificate is notified Code server loads corresponding certificate code section.
For example, certificate code server 4 is corresponding with the certificate code section 6 of the certificate code of the first kind, then certificate code server 4 can be notified Load the certificate code section 6 of the certificate code of the first kind.
In step S14, in the situation of the request for the mapping relations for receiving the acquisition specified type for coming from client Under, the mapping relations between the certificate code section of specified type and certificate code server are returned into client.
In the present embodiment, client can refer to the terminal device for needing to obtain certificate code.
In the present embodiment, control server is receiving the mapping relations for the acquisition specified type for coming from client In the case of, it can check whether the certificate code of specified type is the allocated.If the certificate code of specified type has distributed, can directly return The mapping relations between the certificate code section of specified type and certificate code server are returned to client.If the certificate code of specified type is unallocated, First the certificate code of specified type can be then allocated, then the mapping between the certificate code section of specified type and certificate code server is closed System is back to client.
The certificate code of each type is respectively classified into multiple certificate code sections by the present embodiment by control server, establishes each type Certificate code section and certificate code server between mapping relations, according to the mapping between the certificate code section of each type and certificate code server Relation, notifies that each certificate code server loads corresponding certificate code section, and is receiving the acquisition specified type that comes from client Mapping relations request in the case of, the mapping relations between the certificate code section of specified type and certificate code server are returned into visitor Family end, thus, it is possible to realize real-time, extensive, high concurrent certificate code granting, availability is high, and the service ability of certificate code granting can It is flexible.
Fig. 2 is an exemplary stream of the distribution method step S12 of certificate code according to an exemplary embodiment a kind of Cheng Tu.As shown in Fig. 2, step S12 can include step S121 to step S123.
In step S121, acquisition can use certificate code server list.
For example, certificate code server list can be used to include certificate code server 1, certificate code server 2, certificate code server 3, certificate code Server 4 and certificate code server 5.
In step S122, each certificate code certificate code section of each type distributed in available certificate code server list takes Business device, obtains allocation result.
For example, it is the first certificate code section by the certificate code division of the first kind, the second certificate code section, the 3rd certificate code section, the 4th certificate code section With the 5th certificate code section, the first certificate code section is distributed into certificate code server 1, the second certificate code section is distributed into certificate code server 2, by Three certificate code sections distribute to certificate code server 3, and the 4th certificate code section is distributed to certificate code server 4, and the 5th certificate code section is distributed to certificate Code server 5.
In step S123, closed according to the mapping that allocation result is established between the certificate code section of each type and certificate code server System.
For example, establishing the mapping relations between the first certificate code section of the first kind and certificate code server 1, the first kind is established The second certificate code section and certificate code server 2 between mapping relations, establish the 3rd certificate code section of the first kind and certificate code server 3 Between mapping relations, establish the mapping relations between the 4th certificate code section of the first kind and certificate code server 4, establish the first kind Mapping relations between the 5th certificate code section and certificate code server 5 of type.
In a kind of possible implementation, control server is receiving the information of increase certificate code server or reduction In the case of the information of certificate code server, distribution knot can be adjusted according to the available certificate code server list after increasing or decreasing Fruit, and the pass of the mapping between the certificate code section of each type and certificate code server can be re-established according to the allocation result after adjustment System.
In a kind of possible implementation, the mapping between the certificate code section of each type and certificate code server can be closed In system write-in Zookeeper.
In a kind of possible implementation, it can pass through between control server, certificate code server and client side Protocol Buffers communicate.
Fig. 3 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.This method is applied to In certificate code server.The method comprising the steps of S21 to step S23.
In the step s 21, according to the mapping relations between the certificate code section of each type and certificate code server, therefrom control service The corresponding certificate code section of certificate code server is loaded in device.
In the present embodiment, it is corresponding only can to load the certificate code server from control server for each certificate code server Certificate code section.
In a kind of possible implementation, certificate code server can monitor Zookeeper, and can listen to In the case that the corresponding certificate code section of certificate code server changes in Zookeeper, certificate code server correspondence is reloaded Certificate code section.
In a kind of possible implementation, in the case of the loading failure of certificate code section, certificate code server can send certificate The information of code section loading failure is to control server, to notify control server certificate code server loading certificate code segment fault.In The information of failure can be loaded according to the certificate code section by controlling server, adjust the mapping relations between certificate code section and certificate code server.
In step S22, the request of the certificate code for the acquisition specified type for coming from client is received.
In step S23, in the case that the certificate code of specified type is met the requirements in the certificate code server, return and specify class The certificate code of type is to client.
In a kind of possible implementation, the certificate code of specified type is met the requirements in the certificate code server situation Under, it can return and the certificate code of the specified type of the request respective numbers of the certificate code of the acquisition specified type to client.For example, The request acquisition request 3 of the certificate code of the acquisition specified type opens the certificate code of specified type, then class is specified in the certificate code server In the case that the certificate code of type is met the requirements, the certificate codes of 3 specified types can be returned to the client.
In the present embodiment, certificate code can be issued to client, granting of the client without asynchronous wait certificate code in real time.
In a kind of possible implementation, the certificate code of specified type meets the requirements and can include in the certificate code server: There are the certificate code of specified type in the certificate code server.
In alternatively possible implementation, the certificate code of specified type meets the requirements and can wrap in the certificate code server Include:The quantity of the certificate code of specified type is greater than or equal to the request correspondence of the certificate code of the acquisition specified type in the certificate code server Certificate number of codes.
The present embodiment is according to the mapping relations between the certificate code section and certificate code server of each type, from control server Load the corresponding certificate code section of certificate code server, receive the request of the certificate code for the acquisition specified type for coming from client, and In the case that the certificate code of specified type is met the requirements in the certificate code server, the certificate code of specified type is returned to client, thus It can realize real-time, extensive, high concurrent certificate code granting, availability is high, and the service ability of certificate code granting is scalable.
Fig. 4 is an a kind of exemplary flow chart of the distribution method of certificate code according to an exemplary embodiment.Such as Shown in Fig. 4, this method can include step S21 to step S24.
In the step s 21, according to the mapping relations between the certificate code section of each type and certificate code server, therefrom control service The corresponding certificate code section of certificate code server is loaded in device.
In step S22, the request of the certificate code for the acquisition specified type for coming from client is received.
In step S23, in the case that the certificate code of specified type is met the requirements in the certificate code server, return and specify class The certificate code of type is to client.
In step s 24, in the case that the certificate code of specified type is unsatisfactory for requirement in the certificate code server, first is returned Message is to client.
The certificate code of specified type, which is unsatisfactory for requirement, in a kind of possible implementation, in the certificate code server to wrap Include:The certificate code of specified type is not present in the certificate code server.
The certificate code of specified type, which is unsatisfactory for requirement, in alternatively possible implementation, in the certificate code server to wrap Include:The quantity of the certificate code of specified type is less than the corresponding certificate yardage of request for the certificate code for obtaining specified type in the certificate code server Amount.
In a kind of possible implementation, this method can also include:In the feelings that the certificate code granting of the first kind is completed Under condition, certificate code server sends corresponding provide of the first kind and completes information to control server.By sending the first kind pair The granting answered completes information to control server, and the certificate code of the first kind in the control server certificate code server can be notified to send out Discharge into, so that control server can update the mapping relations between the certificate code section of the first kind and certificate code server.
In a kind of possible implementation, in the case of the quantity of certificate code server is increased, increase certificate can be sent The information of code server is to control server.In the case where the quantity of certificate code server is reduced, it can send and reduce certificate code clothes Be engaged in device information to control server.So as to which control server can be arranged according to the available certificate code server after increasing or decreasing Table, adjusts the allocation result of certificate code section, and can be re-established according to the allocation result after adjustment the certificate code section of each type with Mapping relations between certificate code server.
In the implementation, certificate code server can be added as needed on, remove, so that the service energy of certificate code granting Power is scalable, and the flow that can conveniently tackle large-scale activity increases sharply to pressure caused by certificate code granting service.
Fig. 5 is a kind of flow chart of the distribution method of certificate code according to an exemplary embodiment.This method is applied to In client.The method comprising the steps of S31 to step S34.
In step S31, the request for the mapping relations for obtaining specified type is sent to control server.
In a kind of possible implementation, when client needs to obtain certificate code, in being searched by Zookeeper The address of server, and the address for the control server that can be obtained according to searching are controlled, sends the mapping pass for obtaining specified type The request of system is to control server.
In step s 32, reflecting between the certificate code section for the specified type that control server returns and certificate code server is received Penetrate relation.
Wherein, the mapping relations between the certificate code section of specified type and certificate code server can include each certificate code server Address.
In a kind of possible implementation, client can pass through RPC (Remote Procedure Call, long-range mistake Journey is called) control server is accessed, to obtain the mapping relations between certificate code section and certificate code server.
As an example of the implementation, client can access control server by Thrift, to obtain certificate Mapping relations between code section and certificate code server.
In step S33, according to the mapping relations between the certificate code section of specified type and certificate code server, send acquisition and refer to The request of the certificate code of type is determined to certificate code server.
In a kind of possible implementation, client can be between the certificate code section and certificate code server according to specified type Mapping relations, a certificate code service is randomly choosed in the certificate code server from the certificate code section with specified type there are correspondence Device, and the request for the certificate code for obtaining specified type is sent to the certificate code server.
In step S34, the request results that certificate code server returns are received.
Request of the present embodiment by sending the mapping relations for obtaining specified type controls service to control server in reception Mapping relations between the certificate code section and certificate code server of the specified type that device returns, according to the certificate code section of specified type and certificate code Mapping relations between server, send the request for the certificate code for obtaining specified type to certificate code server, and receive certificate code service The request results that device returns, thus, it is possible to realize real-time, extensive, high concurrent certificate code granting, availability is high, and certificate code granting Service ability it is scalable.
In a kind of possible implementation, the request results that certificate code server returns are received, can be included:Taken in certificate code In the case that the certificate code of specified type is met the requirements in business device, the certificate code for the specified type that certificate code server returns is received.
As an example of the implementation, the certificate code of specified type meets the requirements and can wrap in the certificate code server Include:There are the certificate code of specified type in the certificate code server.
As another example of the implementation, the certificate code of specified type meets the requirements and can wrap in the certificate code server Include:The quantity of the certificate code of specified type is greater than or equal to the request correspondence of the certificate code of the acquisition specified type in the certificate code server Certificate number of codes.
In the present embodiment, certificate code can be issued to client, granting of the client without asynchronous wait certificate code in real time.
In a kind of possible implementation, the request results that certificate code server returns are received, can be included:Taken in certificate code In the case that the certificate code of specified type is unsatisfactory for requirement in business device, the first message that certificate code server returns is received.
As an example of the implementation, in the certificate code server, the certificate code of specified type, which is unsatisfactory for requirement, to wrap Include:The certificate code of specified type is not present in the certificate code server.
As another example of the implementation, in the certificate code server certificate code of specified type be unsatisfactory for requirement can be with Including:The quantity of the certificate code of specified type is less than the corresponding certificate code of request for the certificate code for obtaining specified type in the certificate code server Quantity.
In a kind of possible implementation, after the first message that a certain certificate code server returns is received, client End can select another certificate code server in the certificate code server from the certificate code section with specified type there are correspondence, and send The request of the certificate code of specified type is obtained to the certificate code server.
In a kind of possible implementation, after the first message that a certain certificate code server returns is received, client End can send the corresponding unavailable information of certificate code server to control server, to notify that control server client can not The certificate code of specified type is obtained from the certificate code server.
In a kind of possible implementation, the certificate code section and certificate code of controlling the specified type that server returns in the reception take After mapping relations between business device, this method can also include:Between the certificate code section and the certificate code server that cache specified type Mapping relations.For example, when cache-time can be 8 small.
In a kind of possible implementation, be cached with the client the certificate code section of specified type and certificate code server it Between mapping relations in the case of, if client need obtain specified type certificate code, can be directly according to the mapping of caching Relationship request certificate code server returns to the certificate code of specified type, obtains the certificate code section of specified type from control server without elder generation With the mapping relations between certificate code server.
In a kind of possible implementation, after the first message that a certain certificate code server returns is received, client End can delete the mapping relations between the certificate code section of the specified type of caching and certificate code server.
In a kind of possible implementation, deleting between the certificate code section of specified type of caching and certificate code server After mapping relations, client can reacquire between the certificate code section of specified type and certificate code server from control server Mapping relations.
Fig. 6 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.As shown in fig. 6, the dress Put including segmentation module 41, establish module 42, the return module 44 of notification module 43 and first.
The segmentation module 41 is configured as the certificate code of each type being respectively classified into multiple certificate code sections.
This is established module 42 and is configured as establishing mapping relations between the certificate code section of each type and certificate code server.
The notification module 43 is configured as the mapping relations between the certificate code section and certificate code server according to each type, leads to Know that each certificate code server loads corresponding certificate code section.
The first return module 44 is configured as receiving the mapping relations for the acquisition specified type for coming from client Request in the case of, the mapping relations between the certificate code section of specified type and certificate code server are returned into client.
Fig. 7 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.Such as Fig. 7 It is shown:
In a kind of possible implementation, establishing module 42 includes acquisition submodule 421, distribution sub module 422 and builds Vertical submodule 423.
The acquisition submodule 421, which is configured as acquisition, can use certificate code server list.
The distribution sub module 422 is configured as distributing to the certificate code section of each type in available certificate code server list Each certificate code server, obtains allocation result.
The setting up submodule 423 be configured as according to allocation result establish the certificate code section of each type and certificate code server it Between mapping relations.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The certificate code of each type is respectively classified into multiple certificate code sections by the present embodiment by control server, establishes each type Certificate code section and certificate code server between mapping relations, according to the mapping between the certificate code section of each type and certificate code server Relation, notifies that each certificate code server loads corresponding certificate code section, and is receiving the acquisition specified type that comes from client Mapping relations request in the case of, the mapping relations between the certificate code section of specified type and certificate code server are returned into visitor Family end, thus, it is possible to realize real-time, extensive, high concurrent certificate code granting, availability is high, and the service ability of certificate code granting can It is flexible.
Fig. 8 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.As shown in figure 8, the dress Put and return to module 53 including load-on module 51, the first receiving module 52 and second.
The load-on module 51 is configured as the mapping relations between the certificate code section and certificate code server according to each type, from The corresponding certificate code section of certificate code server is loaded in control server.
First receiving module 52 is configured as receiving the request of the certificate code for the acquisition specified type for coming from client.
In the case that the certificate code that the second return module 53 is configured as the specified type in certificate code server is met the requirements, The certificate code of specified type is returned to client.
Fig. 9 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.Such as Fig. 9 It is shown:
In a kind of possible implementation, which further includes the 3rd return module 54.
The certificate code that 3rd return module 54 is configured as the specified type in certificate code server is unsatisfactory for desired situation Under, first message is returned to client.
In a kind of possible implementation, in certificate code server the certificate code of specified type meet the requirements including:
There are the certificate code of specified type in certificate code server.Alternatively,
The quantity of the certificate code of specified type, which is greater than or equal to, in certificate code server asks corresponding quantity.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The present embodiment is according to the mapping relations between the certificate code section and certificate code server of each type, from control server Load the corresponding certificate code section of certificate code server, receive the request of the certificate code for the acquisition specified type for coming from client, and In the case that the certificate code of specified type is met the requirements in the certificate code server, the certificate code of specified type is returned to client, thus It can realize real-time, extensive, high concurrent certificate code granting, availability is high, and the service ability of certificate code granting is scalable.
Figure 10 is a kind of block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.As shown in Figure 10, should Device includes the first sending module 61, the second receiving module 62, the second sending module 63 and the 3rd receiving module 64.
First sending module 61 is configured as sending the request for the mapping relations for obtaining specified type to control server.
The certificate code section that second receiving module 62 is configured as receiving the specified type that control server returns takes with certificate code Mapping relations between business device.
The mapping that second sending module 63 is configured as between the certificate code section and certificate code server according to specified type is closed System, sends the request for the certificate code for obtaining specified type to certificate code server.
3rd receiving module 64 is configured as receiving the request results that certificate code server returns.
Figure 11 is an a kind of exemplary block diagram of the dispensing apparatus of certificate code according to an exemplary embodiment.Such as figure Shown in 11:
In a kind of possible implementation, the 3rd receiving module 64 includes the first receiving submodule 641.
First receiving submodule 641 is configured as the situation that the certificate code of the specified type in certificate code server is met the requirements Under, the certificate code for the specified type that reception certificate code server returns.
In a kind of possible implementation, the 3rd receiving module 64 includes the second receiving submodule 642.
The certificate code that second receiving submodule 642 is configured as the specified type in certificate code server is unsatisfactory for desired feelings Under condition, the first message that certificate code server returns is received.
In a kind of possible implementation, which further includes cache module 65.
The cache module 65 is configured as the mapping relations between the certificate code section of caching specified type and certificate code server.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Request of the present embodiment by sending the mapping relations for obtaining specified type controls service to control server in reception Mapping relations between the certificate code section and certificate code server of the specified type that device returns, according to the certificate code section of specified type and certificate code Mapping relations between server, send the request for the certificate code for obtaining specified type to certificate code server, and receive certificate code service The request results that device returns, thus, it is possible to realize real-time, extensive, high concurrent certificate code granting, availability is high, and certificate code granting Service ability it is scalable.
Figure 12 is a kind of block diagram of the device 800 of granting for certificate code according to an exemplary embodiment.For example, Device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device, is cured Treat equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 12, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor component 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor component 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor component 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor component 814 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Figure 13 is a kind of block diagram of the device 1900 of granting for certificate code according to an exemplary embodiment.Example Such as, device 1900 may be provided as a server.With reference to Figure 13, device 1900 includes processing component 1922, it is further wrapped One or more processors are included, and as the memory resource representated by memory 1932, can be by processing component for storing The instruction of 1922 execution, such as application program.The application program stored in memory 1932 can include one or one with On each correspond to the module of one group of instruction.In addition, processing component 1922 is configured as execute instruction, to perform above-mentioned side Method.
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1932 of instruction, above-metioned instruction can be performed to complete the above method by the processing component 1922 of device 1900. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (24)

  1. A kind of 1. distribution method of certificate code, it is characterised in that the method is applied in control server, the described method includes:
    The certificate code of each type is respectively classified into multiple certificate code sections;
    Establish the mapping relations between the certificate code section of each type and certificate code server;
    According to the mapping relations between the certificate code section of each type and certificate code server, each certificate code server loading is notified to correspond to Certificate code section;
    In the case where receiving the request of mapping relations for the acquisition specified type for coming from client, by the specified type Certificate code section and certificate code server between mapping relations return to the client.
  2. 2. according to the method described in claim 1, it is characterized in that, establish between the certificate code section of each type and certificate code server Mapping relations, including:
    Acquisition can use certificate code server list;
    The certificate code section of each type is distributed into each certificate code server that can be used in certificate code server list, is distributed As a result;
    Mapping relations between the certificate code section of each type and certificate code server are established according to allocation result.
  3. A kind of 3. distribution method of certificate code, it is characterised in that the method is applied in certificate code server, the described method includes:
    According to the mapping relations between the certificate code section of each type and certificate code server, the certificate code is loaded from control server The corresponding certificate code section of server;
    Receive the request of the certificate code for the acquisition specified type for coming from client;
    In the case that the certificate code of specified type is met the requirements described in the certificate code server, the certificate of the specified type is returned Code is to the client.
  4. 4. according to the method described in claim 3, it is characterized in that, receiving the certificate for the acquisition specified type for coming from client After the request of code, the method further includes:
    In the case that the certificate code of specified type is unsatisfactory for requirement described in the certificate code server, first message is returned to described Client.
  5. 5. the method according to claim 3 or 4, it is characterised in that the certificate of specified type described in the certificate code server Code meet the requirements including:
    There are the certificate code of the specified type in the certificate code server;Alternatively,
    The quantity of the certificate code of specified type described in the certificate code server is greater than or equal to the certificate code of the acquisition specified type The corresponding certificate number of codes of request.
  6. A kind of 6. distribution method of certificate code, it is characterised in that the method is applied in client, the described method includes:
    The request for the mapping relations for obtaining specified type is sent to control server;
    Receive the mapping relations between the certificate code section for the specified type that the control server returns and certificate code server;
    According to the mapping relations between the certificate code section of the specified type and certificate code server, the certificate code for obtaining specified type is sent Request to the certificate code server;
    Receive the request results that the certificate code server returns.
  7. 7. according to the method described in claim 6, it is characterized in that, receive the request results of the certificate code server return, bag Include:
    In the case that the certificate code of specified type is met the requirements described in the certificate code server, receive the certificate code server and return The certificate code for the specified type returned.
  8. 8. according to the method described in claim 6, it is characterized in that, receive the request results of the certificate code server return, bag Include:
    In the case that the certificate code of specified type is unsatisfactory for requirement described in the certificate code server, the certificate code server is received The first message of return.
  9. 9. according to the method described in claim 6, it is characterized in that, receiving the specified class of the control server return After mapping relations between the certificate code section and certificate code server of type, the method further includes:
    Cache the mapping relations between the certificate code section of the specified type and certificate code server.
  10. A kind of 10. dispensing apparatus of certificate code, it is characterised in that including:
    Segmentation module, for the certificate code of each type to be respectively classified into multiple certificate code sections;
    Module is established, for establishing the mapping relations between the certificate code section of each type and certificate code server;
    Notification module, for the mapping relations between the certificate code section according to each type and certificate code server, notifies each certificate code Server loads corresponding certificate code section;
    First returns to module, the situation for the request in the mapping relations for receiving the acquisition specified type for coming from client Under, the mapping relations between the certificate code section of the specified type and certificate code server are returned into the client.
  11. 11. device according to claim 10, it is characterised in that the module of establishing includes:
    Acquisition submodule, certificate code server list can be used for obtaining;
    Distribution sub module, for the certificate code section of each type to be distributed to each certificate code that can be used in certificate code server list Server, obtains allocation result;
    Setting up submodule, is closed for establishing the mapping between the certificate code section of each type and certificate code server according to allocation result System.
  12. A kind of 12. dispensing apparatus of certificate code, it is characterised in that including:
    Load-on module, for the mapping relations between the certificate code section according to each type and certificate code server, from control server It is middle to load the corresponding certificate code section of the certificate code server;
    First receiving module, the request of the certificate code for receiving the acquisition specified type for coming from client;
    Second returns to module, in the case that the certificate code for the specified type described in the certificate code server is met the requirements, returns The certificate code of the specified type is returned to the client.
  13. 13. device according to claim 12, it is characterised in that described device further includes:
    3rd returns to module, in the case that the certificate code for the specified type described in the certificate code server is unsatisfactory for requirement, First message is returned to the client.
  14. 14. the device according to claim 12 or 13, it is characterised in that specified type described in the certificate code server Certificate code meet the requirements including:
    There are the certificate code of the specified type in the certificate code server;Alternatively,
    The quantity of the certificate code of specified type described in the certificate code server is greater than or equal to the certificate code of the acquisition specified type The corresponding certificate number of codes of request.
  15. A kind of 15. dispensing apparatus of certificate code, it is characterised in that including:
    First sending module, for sending the request for the mapping relations for obtaining specified type to control server;
    Second receiving module, the certificate code section and certificate code server of the specified type returned for receiving the control server Between mapping relations;
    Second sending module, for the mapping relations between the certificate code section according to the specified type and certificate code server, sends The request of the certificate code of specified type is obtained to the certificate code server;
    3rd receiving module, the request results returned for receiving the certificate code server.
  16. 16. device according to claim 15, it is characterised in that the 3rd receiving module includes:
    First receiving submodule, in the case that the certificate code for the specified type described in the certificate code server is met the requirements, Receive the certificate code for the specified type that the certificate code server returns.
  17. 17. device according to claim 15, it is characterised in that the 3rd receiving module includes:
    Second receiving submodule, the certificate code for the specified type described in the certificate code server are unsatisfactory for desired situation Under, receive the first message that the certificate code server returns.
  18. 18. device according to claim 15, it is characterised in that described device further includes:
    Cache module, for caching the mapping relations between the certificate code section of the specified type and certificate code server.
  19. A kind of 19. dispensing apparatus of certificate code, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the method described in perform claim requirement 1 or 2.
  20. A kind of 20. dispensing apparatus of certificate code, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the method described in any one in perform claim requirement 3 to 5.
  21. A kind of 21. dispensing apparatus of certificate code, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the method described in any one in perform claim requirement 6 to 9.
  22. 22. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by processor, makes Processor is able to carry out method described in 1 or 2.
  23. 23. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by processor, makes Processor is able to carry out in 3 to 5 method described in any one.
  24. 24. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by processor, makes Processor is able to carry out in 6 to 9 method described in any one.
CN201711317834.5A 2017-12-12 2017-12-12 Ticket code issuing method and device Active CN107944928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711317834.5A CN107944928B (en) 2017-12-12 2017-12-12 Ticket code issuing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711317834.5A CN107944928B (en) 2017-12-12 2017-12-12 Ticket code issuing method and device

Publications (2)

Publication Number Publication Date
CN107944928A true CN107944928A (en) 2018-04-20
CN107944928B CN107944928B (en) 2021-04-27

Family

ID=61942701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711317834.5A Active CN107944928B (en) 2017-12-12 2017-12-12 Ticket code issuing method and device

Country Status (1)

Country Link
CN (1) CN107944928B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543471A (en) * 2019-07-05 2019-12-06 威富通科技有限公司 Ticket code generation method and server
CN112581139A (en) * 2020-12-31 2021-03-30 支付宝(杭州)信息技术有限公司 Electronic certificate issuing method and device and electronic equipment
CN113780962A (en) * 2021-11-12 2021-12-10 北京江融信科技有限公司 Management method and system for activity-level inventory of equity mall

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
CN103581040A (en) * 2013-11-26 2014-02-12 深圳中兴网信科技有限公司 Server distributing device and server distributing method
CN105763628A (en) * 2016-04-12 2016-07-13 上海帝联信息科技股份有限公司 Data access request processing method and device, edge node server and edge cluster
CN107451848A (en) * 2016-05-31 2017-12-08 知而行(上海)营销咨询有限公司 Based on the granting of H5 electronic coupons and check and write off system and its hair certificate method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
CN103581040A (en) * 2013-11-26 2014-02-12 深圳中兴网信科技有限公司 Server distributing device and server distributing method
CN105763628A (en) * 2016-04-12 2016-07-13 上海帝联信息科技股份有限公司 Data access request processing method and device, edge node server and edge cluster
CN107451848A (en) * 2016-05-31 2017-12-08 知而行(上海)营销咨询有限公司 Based on the granting of H5 electronic coupons and check and write off system and its hair certificate method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543471A (en) * 2019-07-05 2019-12-06 威富通科技有限公司 Ticket code generation method and server
CN112581139A (en) * 2020-12-31 2021-03-30 支付宝(杭州)信息技术有限公司 Electronic certificate issuing method and device and electronic equipment
CN113780962A (en) * 2021-11-12 2021-12-10 北京江融信科技有限公司 Management method and system for activity-level inventory of equity mall

Also Published As

Publication number Publication date
CN107944928B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN104159255B (en) Terminal room shares the method and device of network
CN104780155B (en) Apparatus bound method and device
EP3029889A1 (en) Method for instant messaging and device thereof
CN104978267B (en) webpage test method, terminal and server
CN104125162B (en) The access processing method and device of Internet resources
US20170171321A1 (en) Methods and devices for managing accounts
CN105207896A (en) Internet calling method and device
CN105515948B (en) Instant communicating method and device
CN107948093A (en) Adjust the method and device that network speed is applied in terminal device
CN104539812B (en) Recommendation information acquisition methods, terminal and server
WO2016045277A1 (en) Method, device, and system for information acquisition
CN104899083A (en) Application share method and device
CN107809491A (en) The method for down loading and device of installation kit
CN106657132A (en) Method and device for accessing website
CN107944928A (en) The distribution method and device of certificate code
CN107820300A (en) Network search method and device
CN110210007B (en) Document processing method, terminal and computer equipment
CN105392141A (en) Device control method and device
CN108848497A (en) Acquisition methods, device, terminal and the computer readable storage medium of list of application
CN105208089A (en) Information display method, apparatus and system
CN105337937B (en) Network verification method, device and computer readable storage medium
CN106487924B (en) Virtual resource sharing method and device
CN110764847B (en) User information processing method, device, electronic equipment and storage medium
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN104519057B (en) Qualification giving method, qualification acquisition methods and device

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
GR01 Patent grant
GR01 Patent grant