Movatterモバイル変換


[0]ホーム

URL:


CN103455481A - System and method for generating digital identification codes - Google Patents

System and method for generating digital identification codes
Download PDF

Info

Publication number
CN103455481A
CN103455481ACN201210168047XACN201210168047ACN103455481ACN 103455481 ACN103455481 ACN 103455481ACN 201210168047X ACN201210168047X ACN 201210168047XACN 201210168047 ACN201210168047 ACN 201210168047ACN 103455481 ACN103455481 ACN 103455481A
Authority
CN
China
Prior art keywords
digital code
digital identification
code
identification code
client
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
CN201210168047XA
Other languages
Chinese (zh)
Other versions
CN103455481B (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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co LtdfiledCriticalChina Unionpay Co Ltd
Priority to CN201210168047.XApriorityCriticalpatent/CN103455481B/en
Publication of CN103455481ApublicationCriticalpatent/CN103455481A/en
Application grantedgrantedCritical
Publication of CN103455481BpublicationCriticalpatent/CN103455481B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention provides a system for generating digital identification codes. The system comprises a digital identification code server side, a client side which is coupled with the digital identification code server side and a digital identification code distribution module which is coupled with a parameter storage module, wherein the digital identification code server side comprises the parameter storage module which is used for storing relevant parameters of the digital identification codes, in response to a request of the client side for obtaining of the digital identification codes, the digital identification code distribution module distributes the digital identification codes on the basis of digital identification code basic codes stored in the parameter storage module and according to quantities specified by digital identification code distribution quantities stored in the parameter storage module, and the client side is provided with a storage module which is used for storing the received digital identification codes and a client side distribution module which distributes the digital identification codes again according to the distributed digital identification codes. The invention also provides a corresponding method. By the aid of the system and the method, the pressure of the server side can be effectively reduced.

Description

Translated fromChinese
数字识别码生成系统及方法Digital identification code generation system and method

技术领域technical field

本发明涉及网络数据处理,尤其涉及网络数据处理中的数字识别码生成技术。The invention relates to network data processing, in particular to digital identification code generation technology in network data processing.

背景技术Background technique

数字识别码用于标识网络相关的数据服务中的各笔具体的数据处理,再次提及的各笔数据处理例如是网络金融服务中的各笔交易。The digital identification code is used to identify each specific data processing in network-related data services, and each data processing mentioned again is, for example, each transaction in online financial services.

数字识别码的生成通常采用即用即分配的方式顺序生成。具体地说,当需要为新的数据服务的具体数据处理给予新的识别码时,便从数据库中取得存放的数字识别码,或者是取得该数字识别码后对其加1作为该具体输出处理的数字识别码,后一种情况对应的是数据库中所存放的是已分配过的数字识别码。Digital IDs are typically generated sequentially in a ready-to-use, distributed manner. Specifically, when a new identification code needs to be given for the specific data processing of the new data service, the stored digital identification code is obtained from the database, or the digital identification code is obtained and added to it as the specific output processing In the latter case, the digital identification code stored in the database is assigned.

这种方式下,如果数据服务并发量大,针对存放数字识别码的数据库的访问(即针对该数据库的读和写操作)将非常频繁,有可能导致数据库瘫痪;而且在这种并发访问超过一定数量时,可能会造成读写操作效率低下。In this way, if the data service has a large amount of concurrency, the access to the database storing the digital identification code (that is, the read and write operations to the database) will be very frequent, which may cause the database to be paralyzed; and when this concurrent access exceeds a certain When the number is large, it may cause inefficient read and write operations.

发明内容Contents of the invention

本发明提供一种数字识别码生成系统,可解决上述问题。本发明所述的数字识别码生成系统可包括数字识别码服务端,与所述数字识别码服务端耦接的客户端,其中,所述数字识别码服务端包括存储数字识别码相关参数的参数存储模块,与所述参数存储模块耦接的数字识别码分配模块,其中,响应于所述客户端获取数字识别码的请求,所述数字识别码分配模块基于存储在所述参数存储模块的数字识别码基码、按照存储在所述参数存储模块的数字识别码分配量所指定的数量分配数字识别码,所述客户端设置有存储所接收的数字识别码的存储模块以及根据所分配的数字识别码,再分配数字识别码的客户端分配模块。The invention provides a digital identification code generation system, which can solve the above problems. The digital identification code generation system according to the present invention may include a digital identification code server, and a client coupled to the digital identification code server, wherein the digital identification code server includes parameters for storing relevant parameters of the digital identification code A storage module, a digital identification code distribution module coupled to the parameter storage module, wherein, in response to the client's request for obtaining a digital identification code, the digital identification code distribution module is based on the digital identification code stored in the parameter storage module The identification code base code, according to the number specified by the digital identification code distribution amount stored in the parameter storage module, distributes the digital identification code, and the client is provided with a storage module for storing the received digital identification code and according to the assigned digital identification code Identification code, and then assign the client-side distribution module of the digital identification code.

优选地,所述数字识别码服务端还包括数字识别码基码更新模块,所述更新模块在所述数字识别码服务端分配了数字识别码之后即用已分配的数字识别码中的最大数字识别码更新所述数字识别码基码。Preferably, the digital identification code server further includes a digital identification code base code updating module, and the updating module uses the largest number in the allocated digital identification code after the digital identification code server has allocated the digital identification code. The identification code updates the digital identification code base code.

优选地,所述客户端分配模块基于所述存储模块存储的数字识别码,依照时间顺序向所述客户端的应用所进行的各笔数据服务分配数字识别码。Preferably, the client allocation module assigns a digital identification code to each data service performed by the application of the client in chronological order based on the digital identification code stored in the storage module.

本发明还提供一种客户端,其与生成数字识别码的数字识别码服务端耦接,其中,所述客户端包括应用数字识别码的多个应用、用于存储由所述数字识别码服务端分配的多个数字识别码的存储模块、以及根据所分配的数字识别码,再分配数字识别码给所述应用所进行的各笔数据服务的客户端分配模块,其中所述数字识别码处理服务端响应于所述客户端获取数字识别码的请求向所述客户端分配多个数字识别码。The present invention also provides a client, which is coupled to a digital identification code server that generates a digital identification code, wherein the client includes a plurality of applications that use the digital identification code, and is used to store A storage module for multiple digital identification codes allocated by the terminal, and a client allocation module for redistributing digital identification codes to each data service performed by the application according to the allocated digital identification codes, wherein the digital identification code processing The server assigns a plurality of digital identification codes to the client in response to the client's request for acquiring digital identification codes.

优选地,所述客户端分配模块基于所述存储模块存储的数字识别码,依照时间顺序向所述客户端的应用所进行的各笔数据服务分配数字识别码。Preferably, the client allocation module assigns a digital identification code to each data service performed by the application of the client in chronological order based on the digital identification code stored in the storage module.

本发明还提供一种数字识别码服务端,其与客户端耦接,其中,所述数字识别码服务端包括存储数字识别码相关参数的参数存储模块,与所述参数存储模块耦接的数字识别码分配模块,其中,响应于所述客户端获取数字识别码的请求,所述数字识别码分配模块基于存储在所述参数存储模块的数字识别码基码、按照存储在所述参数存储模块的数字识别码分配量所指定的数量分配数字识别码。The present invention also provides a digital identification code server, which is coupled with a client, wherein the digital identification code server includes a parameter storage module for storing relevant parameters of the digital identification code, and the digital identification code coupled with the parameter storage module An identification code allocation module, wherein, in response to the client's request for obtaining a digital identification code, the digital identification code allocation module is based on the digital identification code base code stored in the parameter storage module, according to the The number of numeric IDs specified in Allocation Amount of NIDs is allocated.

优选地,还包括数字识别码基码更新模块,所述更新模块在所述数字识别码服务端分配了数字识别码之后即用已分配的数字识别码中的最大数字识别码更新所述数字识别码基码。Preferably, it also includes a digital identification code base code updating module, which updates the digital identification code with the largest digital identification code in the distributed digital identification codes after the digital identification code server distributes the digital identification code code base code.

本发明还提供一种数字识别码生成方法,其应用在包括相互耦接的数字识别码服务端与客户端的系统中,所述方法包括:The present invention also provides a method for generating a digital identification code, which is applied in a system including a digital identification code server and a client coupled to each other, and the method includes:

所述客户端向所述数字识别码服务端发送获取数字识别码的请求;The client sends a request for obtaining a digital identification code to the digital identification code server;

响应于该请求,所述数字识别码服务端基于已有的数字识别码基码,按照预先存储的数字识别码分配量指定的数量分配数字识别码给所述客户端;以及In response to the request, the digital identification code server assigns the digital identification code to the client according to the number specified by the pre-stored digital identification code distribution amount based on the existing digital identification code base code; and

所述客户端存储所述数字识别码,并将所述数字识别码依次分配给所述客户端的应用所涉及的各笔数据服务。The client stores the digital identification code, and sequentially distributes the digital identification code to each data service involved in the application of the client.

所述方法中,优选地,所述数字识别码服务端在分配了所述数字识别码之后,将所述数字识别码基码更新为已分配的数字识别码中的最大数字识别码。In the method, preferably, after the digital identification code is allocated by the digital identification code server, the digital identification code base code is updated to the largest digital identification code among the allocated digital identification codes.

本发明还提供一种执行在客户端的数字识别码维护方法,所述客户端与生成数字识别码的数字识别码服务端耦接,所述方法包括所述客户端向所述数字识别码服务端发送获取数字识别码的请求;所述客户端在接收到来自所述数字识别码服务端的数字识别码之后,存储所接收到的数字识别码并依次分配给设置在其中的客户端应用所涉及的各笔数据服务;其中,响应于所述客户端获取数字识别码的请求,所述数字识别码服务端根据数字识别码基码、按照预先存储的数字识别码分配量所指定的数量分配数字识别码。The present invention also provides a method for maintaining a digital identification code executed on a client, where the client is coupled to a digital identification code server that generates a digital identification code, and the method includes sending the digital identification code from the client to the digital identification code server Send a request to obtain a digital identification code; after the client receives the digital identification code from the digital identification code server, it stores the received digital identification code and assigns it to the client application set in it in turn. Each data service; wherein, in response to the client’s request to obtain a digital identification code, the digital identification code server allocates digital identification codes according to the digital identification code base code and according to the number specified by the pre-stored digital identification code distribution amount code.

本发明还提供一种执行在数字识别码服务端的识别码处理方法,所述数字识别码服务端与客户端耦接,其特征在于,所述数字识别码服务端响应于所述客户端获取数字识别码的请求,基于数字识别码基码,按照预先存储的数字识别码分配量指定的数量分配数字识别码给所述客户端。The present invention also provides an identification code processing method performed on the digital identification code server, the digital identification code server is coupled to the client, and the feature is that the digital identification code server responds to the client to obtain the digital The identification code request is based on the digital identification code base code, and the digital identification code is allocated to the client according to the number specified by the pre-stored digital identification code distribution amount.

所述执行在数字识别码服务端的识别码处理方法中,优选地,所述数字识别码服务端在分配了所述数字识别码之后,将所述数字识别码基码更新为所分配的数字识别码中的最大数字识别码。In the identification code processing method performed at the digital identification code server, preferably, after the digital identification code server has allocated the digital identification code, the digital identification code base code is updated to the allocated digital identification code The largest numeric identifier in the code.

本发明所述的解决方案,可在所述客户端存储多个数字识别码存储以供其多个应用依次使用,由此缓解了存放数字识别码的服务端的相关压力。The solution of the present invention can store a plurality of digital identification codes on the client side for sequential use by multiple applications thereof, thereby alleviating the related pressure on the server side storing the digital identification codes.

附图说明Description of drawings

图1是根据本发明的一个实施例的数字识别码生成系统的结构示意图。Fig. 1 is a schematic structural diagram of a digital identification code generating system according to an embodiment of the present invention.

图2是根据本发明所述的数字识别码生成方法的流程图。Fig. 2 is a flowchart of a method for generating a digital identification code according to the present invention.

图3是根据本发明的一个实施例的执行在客户端的数字识别码维护方法。Fig. 3 is a method for maintaining a digital identification code performed on a client side according to an embodiment of the present invention.

图4是根据本发明的一个实施例所述的执行在数字识别码服务端的识别码分配方法。Fig. 4 is a method for distributing an identification code executed on a digital identification code server according to an embodiment of the present invention.

具体实施方式Detailed ways

下文将参照附图全面描述本发明的实施例。应说明的是,本发明可实施为不同的形式,并不以在此所阐释的实施例为限。这些实施例的提供旨在使本公开透彻而完整,并将本发明的范围完整地传达给本领域技术人员。Hereinafter, embodiments of the present invention will be fully described with reference to the accompanying drawings. It should be noted that the present invention can be implemented in different forms and is not limited to the embodiments illustrated here. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

除非另有限定,否则在此使用的所有术语(包括技术和科学术语)都具有与本发明所属领域的普通技术人员所普遍理解的含义相同的含义。还应当进一步理解到,此处使用的术语应当解释为具有与其在本说明书和相关领域的背景中的含义相一致的含义,并且不应在理想化或过于形式的意义上来进行解释,除非本文明确地进行了这样的限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It should be further understood that the terms used herein should be interpreted to have a meaning consistent with their meanings in this specification and in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense, unless clearly stated herein made such a limitation.

图1是根据本发明的一个实施例的数字识别码生成系统的结构示意图。如图所示,该系统包括服务端10,与所述服务端耦接的客户端20。服务端10和客户端20均可以是数据处理装置,例如计算机。客户端10还可以是手持式电子设备,例如手机、ipad、MP4播放设备等。在该系统中,客户端可以有多个,在此示例但非限制性地以该系统包含一个客户端为例进行说明。Fig. 1 is a schematic structural diagram of a digital identification code generating system according to an embodiment of the present invention. As shown in the figure, the system includes aserver 10 and aclient 20 coupled to the server. Both theserver 10 and theclient 20 can be data processing devices, such as computers. Theclient 10 can also be a handheld electronic device, such as a mobile phone, ipad, MP4 player, etc. In the system, there may be multiple clients, and the system includes one client as an example for illustration but not limitation.

客户端20上设置有应用201、存储模块203、以及客户端分配模块205,应用201用于处理数据服务,一个客户端20上可以设置有多个应用,以便处理不同类型的数据服务。每个应用在进行时可处理多笔交易。服务端10包括参数存储模块101,数字识别码分配模块103,和数字识别码基码更新模块105。参数存储模块101用于存储与数字识别码相关的参数,数字识别码分配模块103根据参数存储模块101所存储的相关参数分配数字识别码,数字识别码基码更新模块105则会在每次分配之后用已经分配的数字识别码中最大的数字识别码更新数字识别码基码。Theclient 20 is provided with anapplication 201, astorage module 203, and aclient allocation module 205. Theapplication 201 is used to process data services. Oneclient 20 may be provided with multiple applications to process different types of data services. Each application can handle multiple transactions in progress. Theserver 10 includes aparameter storage module 101 , a digital identificationcode distribution module 103 , and a digital identification code basecode update module 105 . Theparameter storage module 101 is used to store the parameters relevant to the digital identification code, the digital identificationcode distribution module 103 distributes the digital identification code according to the relevant parameters stored in theparameter storage module 101, and the digital identification code basecode update module 105 will distribute the digital identification code every time. The DID base is then updated with the largest DID among the already assigned DIDs.

如上所述,客户端20设置有多个应用,每个应用在进行时可处理多笔交易。针对每个应用所进行的多笔交易中的每一笔都会分配一个数字识别码,而且该数字识别码优选地依序分配,例如按照各笔交易所进行的时间顺序分配,在这样的情况下,后一笔交易的数字识别码比前一笔交易的数据识别码大;但是本发明也不排除按照其它方式来分配数字识别码。As mentioned above, theclient terminal 20 is provided with multiple applications, each of which can process multiple transactions in progress. Each of the plurality of transactions made for each application is assigned a numerical identifier, and the numerical identifier is preferably assigned sequentially, such as in the chronological order in which the transactions took place, in which case , the digital identification code of the latter transaction is larger than the data identification code of the previous transaction; however, the present invention does not exclude the allocation of digital identification codes in other ways.

在本发明的示例中,服务端10的参数存储模块101存储如下参数:数字识别码最小值、数字识别码最大值、数字识别码分配量、以及数字识别码基码。数字识别码最小值和数字识别码最大值分别表征可使用的数字识别码的最小和最大值,即所使用的数字识别码在该范围之内。数字识别码分配量指明可一次性分配给客户端的供其使用的数字识别码的数目。In the example of the present invention, theparameter storage module 101 of theserver 10 stores the following parameters: the minimum value of the digital identification code, the maximum value of the digital identification code, the allocation amount of the digital identification code, and the base code of the digital identification code. The minimum value of the digital identification code and the maximum value of the digital identification code respectively represent the minimum and maximum value of the available digital identification code, that is, the used digital identification code is within the range. The digital ID allocation amount indicates the number of digital IDs that can be allocated to the client at one time for its use.

客户端20向服务端10发送请求,请求服务端10向其发送数字识别码。响应于该请求,服务端10向客户端20分配数字识别码分配量所指示的N个数字识别码,分配过程如下:服务端10接收到请求之后,根据数字识别码基码确认当前可分配的数字识别码的基数,随后根据数字识别码分配量参数确认按照该基数分配时,所产生的最大数字识别码是否小于或等于所述数字识别码最大值,如果是,便将起始于当前数字识别码基码加1的数作为要分配的最小数字识别码、总数为数字识别码分配量、而数字识别码基码加数字识别码分配量作为最大的数字识别码分配给客户端20。作为示例,本发明中,数字识别码的相邻两个码之间的差值为1,假设数字识别码基码为B,而数字识别码分配量参数为N(其表示可一次性分配N个数字识别码给发出请求的客户端),则在可分配给客户端20的数字识别码的最大值B+N不大于服务端10所存储的数字识别码最大值的情况下,将从B+1开始到B+N、总数为N的数字识别码分配给客户端20。随后,服务端10的数字识别码基码更新模块105即用B+N替代之前的数字识别码基码B。Theclient 20 sends a request to theserver 10, requesting theserver 10 to send a digital identification code to it. In response to the request, theserver 10 allocates N digital identification codes indicated by the allocation amount of digital identification codes to theclient 20. The distribution process is as follows: After receiving the request, theserver 10 confirms the current assignable number according to the base code of the digital identification code. The base of the digital identification code, and then confirm according to the digital identification code allocation amount parameter whether the maximum digital identification code generated when allocating according to the base number is less than or equal to the maximum digital identification code, and if so, it will start at the current digital identification code The number of the base code of the identification code plus 1 is used as the minimum digital identification code to be allocated, the total number is the allocation amount of the digital identification code, and the base code of the digital identification code plus the allocation amount of the digital identification code is allocated to theclient 20 as the largest digital identification code. As an example, in the present invention, the difference between two adjacent codes of the digital identification code is 1, assuming that the base code of the digital identification code is B, and the distribution amount parameter of the digital identification code is N (it means that N digital identification codes to the requesting client), then if the maximum value B+N of the digital identification codes that can be assigned to theclient 20 is not greater than the maximum value of the digital identification codes stored in theserver 10, it will start from B+1 to the maximum value of the digital identification codes stored in theserver 10. B+N, a total of N digital identification codes are allocated to theclient 20 . Subsequently, the digital identification code base code updatingmodule 105 of theserver 10 replaces the previous digital identification code base code B with B+N.

客户端20接收到分配的数字识别码之后,便将所分配的数字识别码的最小值B+1和最大值B+N存储到存储模块203。客户端20的客户端分配模块205在应用201的交易处理过程中从B+1开始依次向各笔交易给予数字识别码直到B+N;具体地,客户端分配模块205向当前正在发生的交易分配B+1,随后的交易则分配B+2,依次类推,直到分配到B+N;在分配中,客户端分配模块205会检查将要分配的数字识别码是否不大于B+N,如果不大于,则分配,如果大于,则通知客户端20再次向服务端10请求数字识别码。随后,客户端20再向服务端10请求分配数字识别码。服务端10即在B+N+N小于服务端10所存储的参数——数字识别码最大值的情况下,将从B+N+1开始到B+N+N、总数为N的数字识别码分配给客户端20。服务端10的数字识别码基码更新模块105即用B+N+N替代之前的数字识别码基码B+N。After theclient 20 receives the assigned digital identification code, it stores the minimum value B+1 and the maximum value B+N of the assigned digital identification code in thestorage module 203 . Theclient allocation module 205 of theclient 20 assigns digital identification codes to each transaction sequentially from B+1 to B+N during the transaction processing process of theapplication 201; specifically, theclient allocation module 205 assigns B+1 to the current transaction, and then B+2 will be assigned to the transaction, and so on, until it is assigned to B+N; in the assignment, theclient assignment module 205 will check whether the digital identification code to be assigned is not greater than B+N, if it is not larger, then assign it, if it is larger, then notify theclient 20 requests the digital identification code from theserver 10 again. Subsequently, theclient 20 requests theserver 10 to assign a digital identification code. When B+N+N is less than the maximum value of the digital identification code stored in theserver 10, theserver 10 allocates a total of N digital identification codes starting from B+N+1 to B+N+N to theclient 20. The digital identification code basecode updating module 105 of theserver 10 replaces the previous digital identification code base code B+N with B+N+N.

在上述以及本公开后续的例子中,数字识别码基码表征的是已分配数字识别码中最大的数字识别码,作为替代,其也可以是已分配数字识别码中最大数字识别码加1等。在数字识别码基码表征的是已分配数字识别码中最大数字识别码加1的情况下,各例子中分配给客户端的数字识别码的起始数字识别码不再是数字识别码基码加1而是数字识别码基码本身。由于上述示例是以一个客户端应用201作为例子来说明的,所以在上述说明中分配给其的数字识别码是连续的。但本领域技术人员可以理解到,在有多个客户端应用的情况下,同一次分配给一个客户端应用的数字识别码是连续的,但再次分配给该客户端应用的数字识别码与前次分配给其的数字识别码不一定连续。In the above and subsequent examples of the present disclosure, the digital identification code base code represents the largest digital identification code among the assigned digital identification codes, as an alternative, it can also be the largest digital identification code among the assigned digital identification codes plus 1, etc. . In the case where the DID base represents the largest DID plus 1 among the assigned DIDs, the starting DID of the DID assigned to the client in each example is no longer the DID base plus 1. 1 instead of the DIN base code itself. Since the above example is described with oneclient application 201 as an example, the digital identification codes assigned thereto are continuous in the above description. However, those skilled in the art can understand that, in the case of multiple client applications, the digital identification codes assigned to one client application at the same time are continuous, but the digital identification codes assigned to the client application again are the same as the previous ones. The numeric identifiers assigned to them are not necessarily consecutive.

与常规的即用即分配的数字识别码生成技术相比较,本发明所述的数字识别码生成系统可一次性向客户端分配多个数字识别码,从而该客户端应用在处理交易时,不必一笔一笔地向服务端请求识别码,而是从自身所在的客户端取得,如此,有效地降低了频繁访问对服务端所造成的压力。Compared with the conventional digital identification code generation technology that is ready to use and distribute, the digital identification code generation system of the present invention can distribute multiple digital identification codes to the client at one time, so that the client application does not need to process transactions. The identification code is requested from the server in one stroke, but obtained from the client where it is located. In this way, the pressure on the server caused by frequent access is effectively reduced.

图1中的客户端20为数据处理设备,与常规的数据处理设备相比,在输入部件、输出部件、处理器、网络接入部件等输出处理设备的基本部件之外,还包用于存储分配给其的数字识别码的存储模块203、以及根据其存储模块存储的数字识别码,再分配数字识别码的客户端分配模块205。Theclient 20 in Fig. 1 is a data processing device, compared with conventional data processing devices, in addition to the basic components of output processing devices such as input components, output components, processors, and network access components, it also includes storage Thestorage module 203 of the digital identification code assigned to it, and theclient distribution module 205 of re-distributing the digital identification code according to the digital identification code stored in its storage module.

同样,图1中的服务端10可为例如计算机等数据处理设备,与常规的数据处理设备相比,在输入部件、输出部件、处理器、网络接入部件等输出处理设备的基本部件之外,它还包括如上所述的参数存储模块101,数字识别码分配模块103,和数字识别码基码更新模块105。在一个可替代的实施例中,参数存储模块101、数字识别码分配模块103和数字识别码基码更新模块105可被集成在其处理器中。在另一个可替代的实施例中,参数存储模块101可集成在其存储部件中,而数字识别码分配模块103和数字识别码基码更新模块105可集成在其处理器中。Similarly, theserver 10 in FIG. 1 can be a data processing device such as a computer. Compared with a conventional data processing device, it is outside the basic components of an output processing device such as an input unit, an output unit, a processor, and a network access unit. , it also includes the above-mentionedparameter storage module 101, digital identificationcode allocation module 103, and digital identification code basecode update module 105. In an alternative embodiment, theparameter storage module 101, the digital identificationcode assignment module 103 and the digital identification code basecode update module 105 can be integrated in its processor. In another alternative embodiment, theparameter storage module 101 can be integrated in its storage unit, and the digital identificationcode allocation module 103 and the digital identification code basecode updating module 105 can be integrated in its processor.

图1中的服务端10和客户端20可分别被单独使用,即,客户端20可与其它涉及数字识别码处理的设备耦接使用。与该客户端耦接的设备可响应于其请求,发送多个数字识别码给该客户端供其使用。作为示例,与该客户端耦接的设备只需要其可以处理客户端对数字识别码的相关请求并一次性分配给其多个数字识别码即可,其例如可以是服务端20类的设备。而服务端10可以和其它客户端耦接使用,并一次性发送多个数字识别码给客户端供其使用。Theserver 10 and theclient 20 in FIG. 1 can be used independently, that is, theclient 20 can be coupled with other devices involved in digital identification code processing. A device coupled to the client may, in response to its request, send a plurality of digital identification codes to the client for its use. As an example, the device coupled to the client only needs to be able to process the client's request for the digital identification code and allocate multiple digital identification codes to it at one time, which can be, for example, aserver 20 type of device. Theserver 10 can be used in conjunction with other clients, and send multiple digital identification codes to the clients at one time for their use.

图2是根据本发明所述的数字识别码生成方法的流程图。该方法应用在包括相互耦接的数字识别码服务端与客户端的系统中,该系统例如是如图1所示的数字识别码生成系统,但并不限于该系统。在以下的实施例中,以该方法应用在图1所示的系统中为例进行说明。Fig. 2 is a flowchart of a method for generating a digital identification code according to the present invention. The method is applied in a system including a digital identification code server and a client coupled to each other. The system is, for example, the digital identification code generation system shown in FIG. 1 , but is not limited to this system. In the following embodiments, the application of the method in the system shown in FIG. 1 is taken as an example for illustration.

在步骤300,客户端20向数字识别码服务端10发送获取数字识别码的请求。响应于该请求,在步骤302,数字识别码服务端10基于已有的数字识别码基码,按照预先存储的数字识别码分配量指定的数量生成数字识别码,并将生成的数字识别码发送给客户端20。在步骤304,客户端20存储所述数字识别码,并将所述数字识别码依次分配给所述客户端应用所涉及的各笔交易。进一步,在步骤302中,数字识别码服务端10在分配了数字识别码之后,即用已分配的数字识别码中最大的数字识别码更新数字识别码基码。Instep 300 , theclient 20 sends a request for obtaining a digital identification code to the digitalidentification code server 10 . In response to the request, in step 302, the digitalidentification code server 10 generates a digital identification code according to the number specified by the pre-stored digital identification code distribution amount based on the existing digital identification code base code, and sends the generated digital identification code to Give theclient 20. Instep 304, theclient 20 stores the digital identification code, and sequentially distributes the digital identification code to each transaction involved in the client application. Further, in step 302, after the digital identification code is allocated, the digitalidentification code server 10 uses the largest digital identification code among the allocated digital identification codes to update the digital identification code base code.

如上文中结合图1所描述的,客户端20上设置有应用201、存储模块203、以及客户端分配模块205,应用201用于处理数据服务,一个客户端20上可以设置有多个应用,以便处理不同类型的数据服务。每个应用在进行时可处理多笔交易。服务端10包括参数存储模块101,数字识别码分配模块103,和数字识别码基码更新模块105。参数存储模块101用于存储与数字识别码相关的参数,数字识别码分配模块103根据参数存储模块101所存储的相关参数分配数字识别码,数字识别码基码更新模块105则会在每次分配之后用已经分配的数字识别码中最大的数字识别码更新数字识别码基码。As described above in conjunction with FIG. 1, theclient 20 is provided with anapplication 201, astorage module 203, and aclient allocation module 205. Theapplication 201 is used to process data services, and oneclient 20 may be provided with multiple applications, so that Handles different types of data services. Each application can handle multiple transactions in progress. Theserver 10 includes aparameter storage module 101 , a digital identificationcode distribution module 103 , and a digital identification code basecode update module 105 . Theparameter storage module 101 is used to store the parameters relevant to the digital identification code, the digital identificationcode distribution module 103 distributes the digital identification code according to the relevant parameters stored in theparameter storage module 101, and the digital identification code basecode update module 105 will distribute the digital identification code every time. The DID base is then updated with the largest DID among the already assigned DIDs.

参考图2,本实施例中,客户端20向数字识别码服务端10发送获取数字识别码的请求(步骤300)之后,由服务端10所获得的数字识别码将首先存储在客户端20的存储模块203中,并且由客户端再分配模块205依据所存储的数字识别码,向应用201执行时所涉及的各笔交易依序分配数字识别码;例如按照各笔交易所进行的时间顺序分配,在这样的情况下,后一笔交易的数字识别码比前一笔交易的数据识别码大;但是本发明也不排除以其它顺序或规则来分配数字识别码的方式。Referring to FIG. 2 , in this embodiment, after theclient 20 sends a request for obtaining a digital identification code to the digital identification code server 10 (step 300 ), the digital identification code obtained by theserver 10 will first be stored in theclient 20 In thestorage module 203, and according to the stored digital identification code, theclient redistribution module 205 assigns the digital identification code to each transaction involved in the execution of theapplication 201; for example, according to the chronological order of each transaction. , in such a case, the digital identification code of the latter transaction is larger than the data identification code of the previous transaction; but the present invention does not exclude the way of assigning the digital identification codes in other orders or rules.

服务端10的参数存储模块101存储如下参数:数字识别码最小值、数字识别码最大值、数字识别码分配量、以及数字识别码基码。数字识别码最小值和数字识别码最大值分别表征可使用的数字识别码的最小和最大值,即所使用的数字识别码在该范围之内。数字识别码分配量指明按照客户端的请求,可一次性分配给客户端的供其使用的数字识别码的数目。Theparameter storage module 101 of theserver 10 stores the following parameters: the minimum value of the digital identification code, the maximum value of the digital identification code, the allocation amount of the digital identification code, and the base code of the digital identification code. The minimum value of the digital identification code and the maximum value of the digital identification code respectively represent the minimum and maximum value of the available digital identification code, that is, the used digital identification code is within the range. The digital identification code allocation amount indicates the number of digital identification codes that can be allocated to the client at one time according to the request of the client.

服务端10在接收到来自客户端20的数字识别码分配请求之后,向客户端20分配(步骤302)数字识别码分配量所指示的例如N个数字识别码,具体而言,服务端10在接收到请求之后,首先获得数字识别码基码(例如为B),随后根据数字识别码分配量N以及数字识别码分配时,所产生的最大数字识别码是否小于或等于所述数字识别码最大值,如果是,便将数字识别码基码加1作为要分配的数字识别码的最小值、将当前数字识别码基码加N作为要分配的数字识别码的最大值,总数为数字识别码分配量的数字识别码分配给客户端20。作为示例,数字识别码的相邻两个码之间的差值为1。若数字识别码基码为B,而数字识别码分配量为N,则在可分配给客户端20的数字识别码的最大值,即B+N不大于服务端10所存储的数字识别码最大值的情况下,将从B+1开始到B+N结束、总数为N的数字识别码分配给客户端20。进一步,服务端10的数字识别码基码更新模块105即用B+N替代之前的数字识别码基码B。After receiving the digital identification code allocation request from theclient 20, theserver 10 allocates (step 302) the digital identification codes indicated by the digital identification code allocation amount to theclient 20, for example, N digital identification codes. Specifically, theserver 10 in After receiving the request, first obtain the base code of the digital identification code (for example, B), and then according to the distribution amount N of the digital identification code and whether the generated maximum digital identification code is less than or equal to the maximum digital identification code value, if it is, add 1 to the base code of the digital identification code as the minimum value of the digital identification code to be assigned, add N to the current digital identification code base code as the maximum value of the digital identification code to be assigned, and the total is the digital identification code A distributed amount of digital identification codes is distributed toclients 20 . As an example, the difference between two adjacent codes of the digital identification code is 1. If the base code of the digital identification code is B, and the distribution amount of the digital identification code is N, then the maximum value of the digital identification code that can be allocated to theclient 20, that is, B+N is not greater than the maximum value of the digital identification code stored in theserver 10 In this case, a total of N digital identification codes starting from B+1 and ending at B+N are allocated to theclient 20 . Further, the digital identification code basecode update module 105 of theserver 10 replaces the previous digital identification code base code B with B+N.

回到图2的步骤304,客户端20接收到分配的数字识别码之后,便将所分配的数字识别码的最小值B+1和最大值B+N存储到存储模块203。客户端20的客户端分配模块205在应用201的交易处理过程中从B+1开始依次向各笔交易给予数字识别码直到B+N;具体地,客户端分配模块205向当前正在发生的交易分配B+1,随后的交易则分配B+2,依次类推,直到分配完B+N;在分配中,客户端分配模块205会检查将要分配的数字识别码是否不大于B+N,如果不大于,则分配,如果大于,则通知客户端20再次向服务端10请求数字识别码。随后,客户端20再次执行图2所示的方法,向服务端10请求分配数字识别码。服务端10即在B+N+N小于服务端10所存储的参数——数字识别码最大值的情况下,将从B+N+1开始到B+N+N、总数为N的数字识别码分配给客户端20。服务端10的数字识别码基码更新模块105即用B+N+N替代之前的数字识别码基码B+N。Returning to step 304 in FIG. 2 , after receiving the assigned digital identification code, theclient 20 stores the assigned minimum value B+1 and maximum value B+N of the assigned digital identification code in thestorage module 203 . Theclient allocation module 205 of theclient 20 assigns digital identification codes to each transaction sequentially from B+1 to B+N during the transaction processing process of theapplication 201; specifically, theclient allocation module 205 assigns B+1 to the current transaction, and then B + 2 will be allocated for the transaction, and so on until B + N is allocated; in the allocation, theclient allocation module 205 will check whether the digital identification code to be allocated is not greater than B + N, if it is not greater, it will be allocated, if it is greater, it will notify theclient 20 requests the digital identification code from theserver 10 again. Subsequently, theclient 20 executes the method shown in FIG. 2 again, and requests theserver 10 to assign a digital identification code. When B+N+N is less than the maximum value of the digital identification code stored in theserver 10, theserver 10 allocates a total of N digital identification codes starting from B+N+1 to B+N+N to theclient 20. The digital identification code basecode updating module 105 of theserver 10 replaces the previous digital identification code base code B+N with B+N+N.

图3是根据本发明的一个实施例的执行在客户端的数字识别码维护方法。该客户端与分配数字识别码的数字识别码服务端耦接。该客户端可以是上文中描述的客户端,例如图1中所示意的客户端20;该服务端可以是上文中描述的服务端,例如图1中所示意的服务端10。以下即结合图1中所示的客户端20来示例性而非限制性地描述该维护方法。Fig. 3 is a method for maintaining a digital identification code performed on a client side according to an embodiment of the present invention. The client is coupled to a digital identification code server that distributes digital identification codes. The client may be the client described above, such as theclient 20 shown in FIG. 1 ; the server may be the server described above, such as theserver 10 shown in FIG. 1 . The following describes the maintenance method with reference to theclient 20 shown in FIG. 1 by way of example and not limitation.

在步骤400,客户端20向数字识别码服务端发送获取数字识别码的请求。客户端20上设置有应用201、存储模块203、以及客户端分配模块205,应用201用于处理数据服务,一个客户端20上可以设置有多个应用,以便处理不同类型的数据服务。每个应用在进行时可处理多笔交易。Instep 400, theclient 20 sends a request for obtaining a digital identification code to the digital identification code server. Theclient 20 is provided with anapplication 201, astorage module 203, and aclient allocation module 205. Theapplication 201 is used to process data services. Oneclient 20 may be provided with multiple applications to process different types of data services. Each application can handle multiple transactions in progress.

在步骤402,客户端20接收到数字识别码服务端所分配的数字识别码,并将其存储在存储模块203中。根据本发明的一个实施例,数字识别码服务端存储了如下参数:数字识别码最小值、数字识别码最大值、数字识别码分配量、以及数字识别码基码。数字识别码最小值和数字识别码最大值分别表征可使用的数字识别码的最小和最大值,即所使用的数字识别码在该范围之内。数字识别码分配量指明按照客户端的请求,可一次性分配给客户端的供其使用的数字识别码的数目。服务端分配给客户端的数字识别码是按照如下方式分配的:服务端在接收到请求之后,首先获得数字识别码基码(例如为B),随后根据数字识别码分配量(例如为N)确认按照该基码以及该分配量进行分配时,所产生的最大数字识别码是否小于或等于所述数字识别码最大值,如果是,便将数字识别码基码加1作为要分配的数字识别码的最小值、数字识别码基码加N作为要分配的数字识别码的最大值,总数为数字识别码分配量的数字识别码分配给客户端20。作为示例,数字识别码的相邻两个码之间的差值为1,假设数字识别码基码为B,而数字识别码分配量参数为N,则在可分配给客户端20的数字识别码的最大值,即B+N不大于服务端所存储的数字识别码最大值的情况下,将从B+1开始到B+N结束、总数为N的数字识别码分配给客户端20。进一步,服务端10的数字识别码基码更新模块105即用B+N替代之前的数字识别码基码B。Instep 402 , theclient 20 receives the digital identification code assigned by the digital identification code server and stores it in thestorage module 203 . According to an embodiment of the present invention, the digital identification code server stores the following parameters: the minimum value of the digital identification code, the maximum value of the digital identification code, the allocation amount of the digital identification code, and the base code of the digital identification code. The minimum value of the digital identification code and the maximum value of the digital identification code respectively represent the minimum and maximum value of the available digital identification code, that is, the used digital identification code is within the range. The digital identification code allocation amount indicates the number of digital identification codes that can be allocated to the client at one time according to the request of the client. The digital identification code assigned by the server to the client is allocated as follows: After receiving the request, the server first obtains the base code of the digital identification code (for example, B), and then confirms according to the allocated amount of the digital identification code (for example, N) When distributing according to the base code and the allocation amount, whether the generated maximum digital identification code is less than or equal to the maximum value of the digital identification code, if yes, add 1 to the digital identification code base code as the digital identification code to be distributed The minimum value of the digital identification code base code plus N is used as the maximum value of the digital identification code to be distributed, and the total number of digital identification codes assigned to the digital identification code is distributed to theclient 20. As an example, the difference between two adjacent codes of the digital identification code is 1, assuming that the base code of the digital identification code is B, and the distribution amount parameter of the digital identification code is N, then the digital identification code that can be assigned to theclient 20 The maximum value of codes, that is, when B+N is not greater than the maximum value of the digital identification codes stored in the server, a total of N digital identification codes starting from B+1 and ending with B+N are assigned to theclient 20. Further, the digital identification code basecode update module 105 of theserver 10 replaces the previous digital identification code base code B with B+N.

在步骤404,客户端20存储分配给其的数字识别码,并将所述数字识别码依次分配给位于所述客户端的应用所涉及的各笔交易。具体地,客户端20接收到分配的数字识别码之后,便将所分配的数字识别码的最小值B+1和最大值B+N存储到存储模块203。客户端20的客户端分配模块205在应用201的交易处理过程中从B+1开始依次向各笔交易给予数字识别码直到B+N;具体而言,客户端分配模块205向当前正在发生的交易分配B+1,随后的交易则分配B+2,依次类推,直到分配完B+N;在分配中,客户端分配模块205会检查将要分配的数字识别码是否不大于B+N,如果不大于,则分配,如果大于,则通知客户端20再次向服务端10请求数字识别码。随后,客户端20再次执行图2所示的方法,向服务端10请求分配数字识别码。服务端10即在B+N+N小于服务端10所存储的参数——数字识别码最大值的情况下,将从B+N+1开始到B+N+N、总数为N的数字识别码分配给客户端20。服务端10的数字识别码基码更新模块105即用B+N+N替代之前的数字识别码基码B+N。Instep 404, theclient terminal 20 stores the digital identification code assigned thereto, and sequentially assigns the digital identification code to each transaction involved in the application located at the client terminal. Specifically, after receiving the assigned digital identification code, theclient 20 stores the assigned minimum value B+1 and maximum value B+N of the assigned digital identification code in thestorage module 203 . Theclient allocation module 205 of theclient 20 assigns digital identification codes to each transaction from B+1 to B+N sequentially during the transaction processing process of theapplication 201; specifically, theclient allocation module 205 allocates B+1 to the current transaction, Subsequent transactions will be allocated B+2, and so on, until B+N is allocated; in the allocation, theclient allocation module 205 will check whether the digital identification code to be allocated is not greater than B + N, if it is not greater, it will be allocated, if it is greater, it will notify the client The terminal 20 requests the digital identification code from theserver 10 again. Subsequently, theclient 20 executes the method shown in FIG. 2 again, and requests theserver 10 to assign a digital identification code. When B+N+N is less than the maximum value of the digital identification code stored in theserver 10, theserver 10 allocates a total of N digital identification codes starting from B+N+1 to B+N+N to theclient 20. The digital identification code basecode updating module 105 of theserver 10 replaces the previous digital identification code base code B+N with B+N+N.

图4是根据本发明的一个实施例所述的执行在数字识别码服务端的识别码分配方法。该服务端与需要数字识别码的客户端耦接。该服务端可以是上文中描述的服务端,例如图1中所示意的服务端10;而该客户端可以是上文中描述的客户端,例如图1中所示意的客户端20。以下即结合图1中所示的服务端20来示例性而非限制性地描述该分配方法。Fig. 4 is a method for distributing an identification code executed on a digital identification code server according to an embodiment of the present invention. The server is coupled with a client that requires a digital ID. The server may be the server described above, such as theserver 10 shown in FIG. 1 ; and the client may be the client described above, such as theclient 20 shown in FIG. 1 . The allocation method will be described below in conjunction with theserver 20 shown in FIG. 1 by way of example and not limitation.

在步骤500,数字识别码服务端响应于客户端对数字识别码的请求,基于数字识别码基码,按照预先存储的数字识别码分配量指定的数量分配数字识别码给客户端。在步骤502,数字识别码服务端在分配了数字识别码之后,便会更新数字识别码基码,即用已分配的数字识别码中的最大数字识别码来更新数字识别码基码。Instep 500, in response to the client's request for a digital identification code, the digital identification code server allocates digital identification codes to the client according to the number specified by the pre-stored digital identification code allocation amount based on the digital identification code base code. Instep 502, after the digital identification code is allocated, the digital identification code server will update the digital identification code base code, that is, update the digital identification code base code with the largest digital identification code among the allocated digital identification codes.

服务端10包括参数存储模块101,数字识别码分配模块103,和数字识别码基码更新模块105。参数存储模块101用于存储与数字识别码相关的参数,数字识别码分配模块103根据参数存储模块101所存储的相关参数分配数字识别码,数字识别码基码更新模块105则会在每次分配之后用已经分配的数字识别码中最大的数字识别码更新数字识别码基码。Theserver 10 includes aparameter storage module 101 , a digital identificationcode distribution module 103 , and a digital identification code basecode update module 105 . Theparameter storage module 101 is used to store the parameters relevant to the digital identification code, the digital identificationcode distribution module 103 distributes the digital identification code according to the relevant parameters stored in theparameter storage module 101, and the digital identification code basecode update module 105 will distribute the digital identification code every time. The DID base is then updated with the largest DID among the already assigned DIDs.

回到步骤500,响应于客户端的请求,服务端10根据数字识别码基码(例如为B)确认当前可分配的数字识别码的基数,随后确认按照数字识别码分配量(例如为N)以及该数字识别码基码进行分配时,所产生的最大数字识别码是否不大于所述数字识别码最大值,如果是,便将数字识别码基码加1作为分配给客户端的最小数字识别码、数字识别码基码加N作为分配给客户端的最大数字识别码,总数为数字识别码分配量参数所指示的数字识别码分配给客户端20。作为示例,本发明中,数字识别码的相邻两个码之间的差值为1,假设数字识别码基码为B,而数字识别码分配量参数为N(其表示可一次性分配N个数字识别码发出请求的客户端),则在可分配给客户端20的数字识别码的最大值B+N小于服务端10所存储的数字识别码最大值的情况下,将从B+1开始到B+N、总数为N的数字识别码分配给客户端20。随后,服务端10的数字识别码基码更新模块105即用B+N替代之前的数字识别码基码B。Returning to step 500, in response to the request from the client, theserver 10 confirms the base number of the currently assignable digital identification code according to the base code of the digital identification code (for example, B), and then confirms the allocation amount according to the digital identification code (for example, N) and When the digital identification code base code is distributed, whether the generated maximum digital identification code is not greater than the maximum value of the digital identification code, if so, add 1 to the digital identification code base code as the minimum digital identification code assigned to the client, The base code of the digital identification code plus N is used as the maximum digital identification code allocated to the client, and the total number of digital identification codes indicated by the digital identification code allocation amount parameter is allocated to theclient 20 . As an example, in the present invention, the difference between two adjacent codes of the digital identification code is 1, assuming that the base code of the digital identification code is B, and the distribution amount parameter of the digital identification code is N (it means that N number of digital identification codes to send requests), then in the case that the maximum value B+N of digital identification codes that can be assigned to theclient 20 is less than the maximum value of digital identification codes stored in theserver 10, it will start from B+1 to B+N, A total of N digital identification codes are allocated to theclients 20 . Subsequently, the digital identification code basecode updating module 105 of theserver 10 replaces the previous digital identification code base code B with B+N.

随后,在步骤502,服务端10的数字识别码基码更新模块105即用B+N+N替代之前的数字识别码基码B+N。Subsequently, instep 502, the digital identification code basecode updating module 105 of theserver 10 replaces the previous digital identification code base code B+N with B+N+N.

如上所述的系统、客户端、服务端、以及方法应用在可包括多家机构的数据服务处理系统中时,上述示例中,服务端中的数字识别码最小值和数字识别码的最小值之间的数字识别码针对的是已经构建到该数据服务处理系统中的机构。针对那些还没有构建到该系统中的机构的数据识别码,可通过两种方式将用于它们的数字识别码配置进去,一个是人工配置,即在涉及该机构的数据服务没有进行之前,即将针对它的数据识别码配置进去,再就是在数据服务进行中插入全局识别码中,亦即在进行到该机构的数据服务时,即由服务端产生针对该机构的数字识别码。When the above-mentioned system, client, server, and method are applied to a data service processing system that may include multiple institutions, in the above example, the minimum value of the digital identification code in the server and the minimum value of the digital identification code The numeric identifiers in between are for organizations that have built into this data service processing system. For the data identification codes of institutions that have not yet been built into the system, the digital identification codes used for them can be configured in two ways. One is manual configuration, that is, before the data services involving the institution are performed, the Configure the data identification code for it, and then insert the global identification code during the data service, that is, when the data service of the organization is performed, the server will generate the digital identification code for the organization.

此外,虽然没有具体描述,但本领域技术人员可以理解到,数字识别码分配量是可配置的,其可根据实际情况配置为不同的值。作为示例,可动态调节数字识别码分配量,比如,通过一个监控模块动态地采集服务端内交易数量的情况,在交易数量较大时,将数字识别码分配量根据单位时间内交易数量与客户端数量的比值来进行调整,该比值较大,则将数字识别码分配量调整得大些,反之则调整得小些。In addition, although not specifically described, those skilled in the art can understand that the allocation amount of the digital identification code is configurable, and can be configured as a different value according to actual conditions. As an example, the distribution amount of the digital identification code can be dynamically adjusted. For example, a monitoring module can dynamically collect the transaction quantity in the server. The ratio of the number of terminals is adjusted. If the ratio is larger, the allocation amount of the digital identification code is adjusted to be larger, otherwise, the amount is adjusted to be smaller.

另外,需要说明的是,在上文所述的系统和方法中,如果数字识别码的最大值和最小值之间的识别码(包括该最大值和最小值)已经全部分配完毕,则再次从该识别码最小值和最大值之间开始分配,比如从最小值开始进行分配。In addition, it should be noted that, in the system and method described above, if the identification codes between the maximum value and the minimum value of the digital identification code (including the maximum value and the minimum value) have all been allocated, then from The identification code is distributed between the minimum value and the maximum value, for example, the distribution starts from the minimum value.

本发明所示的各个示例中,包括客户端应用的客户端每次可向服务端获取一定数量的数字识别码,从而在客户端应用和服务端之间设立了数字识别码的缓冲区域,从而减轻了因频繁访问引起的服务端压力,也改善了服务端的效率。In each example shown in the present invention, the client including the client application can obtain a certain number of digital identification codes from the server each time, thereby setting up a buffer area for digital identification codes between the client application and the server, thereby The pressure on the server side caused by frequent access is reduced, and the efficiency of the server side is also improved.

尽管在附图和说明书中,已经公开了本发明的典型实施例,但其并不用于限制的目的,本发明的范围由所附的权利要求所限定。While there have been disclosed typical embodiments of the invention in the drawings and specification, these are not intended for limiting purposes, the scope of the invention being defined by the appended claims.

Claims (12)

1. a digital code generation system, comprise the digital code service end, the client coupled with described digital code service end, it is characterized in that, described digital code service end comprises the parameter memory module of storage digital code correlation parameter, the digital code distribution module coupled with described parameter memory module, wherein, obtain the request of digital code in response to described client, the digital code base code of described digital code distribution module based on being stored in described parameter memory module, the specified quantity distribute digital identification code according to the digital code sendout that is stored in described parameter memory module, described client is provided with the memory module of the digital code that storage receives and according to distributed digital code, the client distribution module of reallocation digital code.
CN201210168047.XA2012-05-282012-05-28Digital code generates system and methodActiveCN103455481B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210168047.XACN103455481B (en)2012-05-282012-05-28Digital code generates system and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210168047.XACN103455481B (en)2012-05-282012-05-28Digital code generates system and method

Publications (2)

Publication NumberPublication Date
CN103455481Atrue CN103455481A (en)2013-12-18
CN103455481B CN103455481B (en)2016-12-14

Family

ID=49737863

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210168047.XAActiveCN103455481B (en)2012-05-282012-05-28Digital code generates system and method

Country Status (1)

CountryLink
CN (1)CN103455481B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106210091A (en)*2016-07-182016-12-07百融(北京)金融信息服务股份有限公司Mark generates and management method and system
CN106506663A (en)*2016-11-222017-03-15北京科摩仕捷科技有限公司A kind of number distributing method, server and system
CN107846412A (en)*2017-11-282018-03-27五八有限公司Identifying code request processing method, device and identifying code processing system
CN111325511A (en)*2020-03-112020-06-23上海东普信息科技有限公司Express item bar code management method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1313554A (en)*2000-03-102001-09-19张凯Information management system for visiting cards
US20080059228A1 (en)*2004-04-242008-03-06Christopher BossiOperation Of A Remote Medication Management System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1313554A (en)*2000-03-102001-09-19张凯Information management system for visiting cards
US20080059228A1 (en)*2004-04-242008-03-06Christopher BossiOperation Of A Remote Medication Management System

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106210091A (en)*2016-07-182016-12-07百融(北京)金融信息服务股份有限公司Mark generates and management method and system
CN106506663A (en)*2016-11-222017-03-15北京科摩仕捷科技有限公司A kind of number distributing method, server and system
CN106506663B (en)*2016-11-222019-04-02北京科摩仕捷科技有限公司A kind of number distributing method, server and system
CN107846412A (en)*2017-11-282018-03-27五八有限公司Identifying code request processing method, device and identifying code processing system
CN111325511A (en)*2020-03-112020-06-23上海东普信息科技有限公司Express item bar code management method, device, equipment and storage medium

Also Published As

Publication numberPublication date
CN103455481B (en)2016-12-14

Similar Documents

PublicationPublication DateTitle
CN105224392B (en)A kind of virtual computing resource quota management method and platform
CN107291546B (en) A resource scheduling method and device
CN108510389A (en)Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN109451088A (en)A kind of data access method and device
CN103297412B (en)Thin client system, connection management server, connection management method and computer-readable medium
CN109379448B (en)File distributed deployment method and device, electronic equipment and storage medium
CN110209490A (en) A memory management method and related equipment
CN110515969A (en) Data query processing method, electronic device, computer equipment and storage medium
CN101799797A (en)Dynamic allocation method of user disk quota in distributed storage system
WO2017088393A1 (en)Bandwidth allocation method and system
CN103455481B (en)Digital code generates system and method
WO2020119029A1 (en)Distributed task scheduling method and system, and storage medium
CN111163186B (en)ID generation method, device, equipment and storage medium
CN110891087B (en) A log transmission method, device, electronic device and storage medium
CN106302640A (en)Data request processing method and device
JP2018180942A (en) Distributed data management program, distributed data management method, and distributed data management device
CN111179008B (en)Information state updating method, device, system and storage medium
CN109582445A (en)Message treatment method, device, electronic equipment and computer readable storage medium
WO2021036319A1 (en)Data cleaning method and system
CN112671871A (en)Mirror image distribution method and device, terminal equipment and storage medium
CN110750517A (en) A data processing method, device and device of a local storage engine system
CN105607955A (en)Calculation task distribution method and apparatus
JP6093315B2 (en) Computer resource management apparatus, computer resource management method, and computer resource management program
CN106469091A (en)Method and apparatus for distributing available area
KR101728873B1 (en)Graph query language distribution process system and query language distribution process method thereof

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp