CN114444440A - Identifier generation method, device, storage medium and system - Google Patents

Identifier generation method, device, storage medium and system Download PDF

Info

Publication number
CN114444440A
CN114444440A CN202210113902.0A CN202210113902A CN114444440A CN 114444440 A CN114444440 A CN 114444440A CN 202210113902 A CN202210113902 A CN 202210113902A CN 114444440 A CN114444440 A CN 114444440A
Authority
CN
China
Prior art keywords
number segment
cache region
identifier
target
stored
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.)
Pending
Application number
CN202210113902.0A
Other languages
Chinese (zh)
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202210113902.0A priority Critical patent/CN114444440A/en
Publication of CN114444440A publication Critical patent/CN114444440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The embodiment of the invention discloses an identifier generation method, an identifier generation device, a storage medium and a system, wherein the method comprises the following steps: in response to an identifier acquisition event being triggered, acquiring a target identifier from a number segment stored in a current number segment cache region based on identifier configuration parameters; when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; when the identifiers in the number segments stored in the current number segment cache are used up, the other number segment cache area is used as the current number segment cache area, and the target identifiers are obtained from the number segments stored in the current number segment cache area based on the identifier configuration parameters in a return execution mode. According to the technical scheme provided by the embodiment of the invention, the identifier can be acquired from the system database without blocking through the double-cache number segment, and the problems of machine downtime and resource waste caused by sudden increase of traffic can be effectively avoided.

Description

Identifier generation method, device, storage medium and system
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to an identifier generation method, an identifier generation device, a storage medium and a system.
Background
In today's big data age, large amounts of data and messages are generated every day. To better distinguish between different data and messages, unique identification of the data and messages is often required. Among the most common identification methods is to add a unique identifier to data and messages. While the identifier may be a primary element of the information system analyzing user behavior, locating system faults, and accounting for system performance.
In the related art, a number segment mode is adopted by a number sender component to generate a globally unique identifier, so that the uniqueness of the identifier in a distributed system architecture is ensured. Specifically, each service instance first gets the identifier from the system in bulk and caches it locally. When the service application requests to acquire the identifier, the identifier is locally added back until the number segment is exhausted and then the next number segment is acquired again in the system.
However, this solution has significant limitations. If the client side is abnormal suddenly but the number segments are not used up, the client side can access the system again to obtain new number segments when being restarted, and therefore a great deal of waste of number segment resources is caused. In addition, the scheme is to synchronously acquire the next number segment after the number segment is used up, and if the network shakes or the system slowly inquires, the response time of the whole system is slowed down.
Disclosure of Invention
Embodiments of the present invention provide an identifier generation method, apparatus, storage medium, and system, which can obtain an identifier from a system through a double-cache number segment without blocking, and can effectively avoid the problems of machine downtime and resource waste caused by a sudden increase in traffic.
In a first aspect, an embodiment of the present invention provides an identifier generating method, which is applied to an identifier generating system, where the identifier generating system includes a first segment cache area and a second segment cache area, and the method includes:
in response to an identifier acquisition event being triggered, acquiring a target identifier from a number segment stored in a current number segment cache region based on identifier configuration parameters; wherein, the current number segment cache region is the first number segment cache region or the second number segment cache region;
when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region;
and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters.
In a second aspect, an embodiment of the present invention further provides an identifier generating apparatus, which is applied to an identifier generating system, where the identifier generating system includes a first segment cache region and a second segment cache region, and the apparatus includes:
the target identifier acquisition module is used for acquiring a target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter in response to the identifier acquisition event being triggered; the current number segment cache region is the first number segment cache region or the second number segment cache region;
a destination number segment determining module, configured to determine a destination number segment and store the destination number segment in another number segment cache region when the destination identifier is greater than a preset threshold in number segments stored in the current number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region;
and the target identifier cyclic acquisition module is used for taking the other number segment cache region as the current number segment cache region when the identifiers in the number segments stored in the current number segment cache are used up, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the identifier generation method provided by the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides an identifier generation system, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the identifier generation method provided by the embodiment of the present invention is implemented.
The embodiment of the invention provides an identifier generation scheme, which comprises the steps of responding to the triggering of an identifier acquisition event, and acquiring a target identifier from a number segment stored in a current number segment cache region based on an identifier configuration parameter; the current number section cache region is a first number section cache region or a second number section cache region; when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region; and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters. According to the technical scheme provided by the embodiment of the invention, the identifier can be acquired from the system database without blocking through the double-cache number section, so that the problem of requesting thread blocking when the number section is acquired from the database and the number section is updated is effectively avoided, the timeliness of acquiring the identifier is effectively ensured, and the problems of machine downtime and resource waste caused by sudden increase of traffic can be effectively avoided.
Drawings
Fig. 1 is a flowchart of an identifier generation method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a number buffer according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for generating an identifier according to another embodiment of the present invention;
FIG. 4 is a flow chart of a preferred identifier generation method provided by another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an identifier generation system according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an identifier generating apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an identifier generation system according to another embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of an identifier generation method provided by an embodiment of the present invention, and the embodiment of the present invention is applicable to a case where a dual-cache number is used to obtain a target identifier, and the method is applied to an identifier generation system, where the identifier generation system includes a first number cache region and a second number cache region, and the method may be executed by an identifier generation apparatus, which may be composed of hardware and/or software, and may be generally integrated in the identifier generation system. As shown in fig. 1, the method specifically includes the following steps:
step 110, in response to the identifier obtaining event being triggered, obtaining a target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter; and the current number section cache region is a first number section cache region or a second number section cache region.
The identifier may refer to an identification symbol of the data or the message, and may be used to uniquely identify the data or the message. Illustratively, the identifier may be an ID number. The identifier acquisition event may refer to a task event for instructing acquisition of an identifier. When the system detects an instruction for identifier retrieval, an identifier retrieval event may be triggered, instructing the system to retrieve the identifier from the database. The identifier configuration parameter may refer to a parameter for configuring the identifier, for example, the identifier configuration parameter may include a modulus value, a remainder, and the like. The number segment may refer to a block segment containing multiple identifiers. For example, if the identifier is set as an ID number, 1-1000 in the ID number can be used as one number segment, and 1001-2000 can be used as another number segment. The number segment cache region may refer to a region in the system for pre-storing the number segment. The first number segment cache region and the second number segment cache region are only used for explaining two different number segment cache regions in the system, and the sequence is not distinguished. The current number segment cache region can be understood as a cache region where the current number segment is located, wherein the current number segment cache region is a first number segment cache region or a second number segment cache region.
In the embodiment of the present invention, when the identifier obtaining event is triggered, the target identifier may be obtained from the number segment stored in the current number segment cache region in different manners according to the identifier configuration parameter. Specifically, the target identifier may be directly obtained in an incremental manner, or may be obtained by configuring a modulus value and a remainder. Illustratively, if the current number segment is 1-10000, i.e. the starting value is 1 and the maximum value is 10000, when the modulus value is 2 and the remainder is 0, the obtained target identifiers are 2, 4, 6,. multidrug, 9998, 10000 respectively; when the modulus value is 2 and the remainder is 1, the obtained target identifiers are 1, 3, 5,. ang., 9997, 9999, respectively.
In embodiments of the present invention, conversion between identifiers of different formats may be supported. For example, numeric value to designated binary string can be supported, and string to designated binary numeric value can also be supported. Specifically, conversion between a positive integer value and a character string within a 2-62 system can be realized according to actual requirements. For example, if the obtained identifier is an integer value 1234567890, after the obtained identifier is converted into 36-ary, the character string may be KF12OI, and the original 10-bit value is converted into a 6-bit character string.
The advantage of this arrangement is that identifiers in multiple formats can be supported by simple data compression and encoding mechanisms, and information security can be improved, thereby effectively avoiding information leakage and crawling.
Step 120, when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment, and storing the target number segment in another number segment cache region; and the other number section cache region is a number section cache region except the current number section cache region in the first number section cache region and the second number section cache region.
The preset threshold may be a low-level value in a preset number segment, and may be used to indicate that the number segment stored in the current number segment cache region is about to be used up. Specifically, the preset threshold may be set to a certain fixed value in the number segment stored in the current number segment cache region, and the preset threshold is fixed at this time, or may be set according to a percentage, and at this time, the preset threshold may change according to the number segment stored in the current number segment cache region. For example, the preset threshold may be set to 90% of the maximum number of segments stored in the current number of segments buffer. Assuming that the current number segment is 1-1000, the preset threshold is 1000 × 90% — 900; assuming the current number segment is 1-900, the preset threshold is 900 × 90% — 810.
In the embodiment of the present invention, the another number of segment cache regions may refer to the number of segment cache regions except the current number of segment cache region in the first number of segment cache regions and the second number of segment cache regions. It should be noted that, the current number of cache blocks and the other number of cache blocks are relative, and only two cache blocks in the system are involved, and the current number of cache blocks and the other number of cache blocks are not fixed but alternate according to the location of the current number of cache blocks. Fig. 2 is a diagram illustrating a number cache according to an embodiment of the present invention. The buffer comprises two buffer areas, namely, a buffer area A and a buffer area B, wherein the number of the buffer area A is 1-1000, and the number of the buffer area B is 1001-2000. Specifically, if the current number segment is located in a, a is the current number segment cache region, and at this time B is another number segment cache region; if the current number segment is located in B, B is the current number segment buffer area, and A is another number segment buffer area at the moment. Therefore, both A and B can be used as the current number segment buffer or another number segment buffer, and one of them is used as the current number segment buffer and the other is used as the other number segment buffer.
In the embodiment of the present invention, the obtained target identifier may be respectively compared with a preset threshold in the number segment stored in the current number segment cache region, and when the target identifier is greater than the preset threshold, it indicates that the number segment stored in the current number segment cache region is about to be used up, at this time, the target number segment is determined, and the target number segment is stored in another number segment cache region. For example, assuming that the current number of segments is 1-1000 and the preset threshold is 900, when the acquired target identifier is greater than 900, the target number of segments is determined and stored in another segment buffer. It should be noted that the number segments stored in the target number segment buffer and the number segments stored in the current number segment buffer may be continuous or discontinuous, and the length of the target number segment and the length of the number segments stored in the current number segment buffer may be the same or different, and is not limited herein.
Step 130, when the identifier in the number segment stored in the current number segment cache is used up, taking the other number segment cache as the current number segment cache, and returning to execute the acquisition of the target identifier from the number segment stored in the current number segment cache based on the identifier configuration parameter.
In the embodiment of the present invention, when the last identifier that can be obtained is obtained from the number segment stored in the current number segment cache, it may be considered that the identifiers in the number segment stored in the current number segment cache are used up. It should be noted that the identifier is used up and does not represent that the identifier can not obtain the end position of the number segment stored in the current number segment cache, that is, the last identifier that can be obtained is not necessarily the identifier of the end position of the number segment stored in the current number segment cache, and may also be an identifier at another position before the end position. For example, assuming that the current number segment is 1-10000, and the obtained identifiers are 1, 3, 5., 9997, 9999, respectively, the termination value 10000 cannot be obtained, so that when 9999 is obtained, it may indicate that the identifiers in the number segments stored in the current number segment cache are used up.
In the embodiment of the present invention, when the target identifier is greater than the preset threshold in the number segment stored in the current number segment cache region, if the target number segment is not updated, the target number segment may be updated by using the asynchronous thread in the asynchronous thread pool. If the identifiers in the number segments stored in the current number segment cache are used up, namely after the current number segments are all issued, the other number segment cache region can be used as the current number segment cache region, namely the current number segments are switched to the target number segments, and the identifiers are issued in a circulating and reciprocating manner.
The embodiment of the invention provides an identifier generation method, which comprises the steps of responding to an identifier acquisition event to be triggered, and acquiring a target identifier from a number segment stored in a current number segment cache region based on an identifier configuration parameter; the current number section cache region is a first number section cache region or a second number section cache region; when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region; and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters. According to the technical scheme provided by the embodiment of the invention, the identifiers can be acquired from the database of the system through the double-cache number sections without blocking, so that the problem of requesting thread blocking when the number sections are acquired from the database and the number sections are updated is effectively avoided, the timeliness of acquiring the identifiers is effectively ensured, and the problems of machine downtime and resource waste caused by the surge of traffic can be effectively avoided.
In some embodiments, when the target identifier is greater than a preset threshold in the number segments stored in the current number segment cache, determining the target number segment includes: when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment according to the number segment stored in the current number segment cache region; and the difference value between the initial value of the target number segment and the termination value of the number segment stored in the current number segment cache region is 1.
Wherein, the start value and the end value can be identifiers corresponding to the start position and the end position in the number segment, respectively. In the embodiment of the present invention, when the target identifier is greater than the preset threshold in the number segment stored in the current number segment cache region, the target number segment may be determined according to the number segment stored in the current number segment cache region. The difference between the start value of the target number segment and the end value of the number segment stored in the current number segment cache region is 1, that is, the sum of the end value of the number segment stored in the current number segment cache region and 1 is the start value of the target number segment. It is understood that the difference between the start value of the target number segment and the end value of the number segment stored in the current number segment buffer is 1, indicating that the target number segment is consecutive to the number segment stored in the current number segment buffer. For example, assume that the number stored in the current number buffer is 1-1000, that is, the initial value of the number stored in the current number buffer is 1 and the end value is 1000, and the initial value of the target number is 1000+1 — 1001.
The method has the advantages that the target number segment and the number segment stored in the current number segment cache region can be ensured to be continuous, and resource waste of the identifier in the number segment is avoided.
Optionally, determining a target number segment according to the number segment stored in the current number segment cache region includes: determining the step length and the termination value of the number segment stored in the current number segment cache region; and determining the target number segment according to the step length and the termination value of the number segment stored in the current number segment cache region.
In the embodiment of the present invention, when the number segment stored in the current number segment buffer is known, the start value, the step size, and the end value of the number segment can be determined. The step size may be expressed as a difference between the end value and the start value, i.e., the step size is the end value — the start value. Then adding 1 to the ending value of the number segment stored in the current number segment cache region to obtain the starting value of the target number segment. And then the target number segment can be determined according to the initial value and the step length of the target number segment. It should be noted that the step size of the target number segment may be greater than, less than, or equal to the step size of the number segment stored in the current number segment buffer, that is, the two may be the same or different.
Optionally, determining the target number segment according to the step length and the end value of the number segment stored in the current number segment cache region includes: calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor; determining the termination value of the target number segment according to the termination value of the number segment stored in the current number segment cache region and the step length of the target number segment; and the ending value of the target number segment is the sum of the ending value of the number segment stored in the current number segment cache region, the step length of the target number segment and 1.
The preset adjustment factor may refer to a preset value for adjusting the step length. In the embodiment of the invention, the step length of the target number segment can be calculated according to the step length of the number segment stored in the current number segment cache region and the preset adjustment factor. For example, the step size of the target number segment may be obtained by taking the product of the step size of the number segment stored in the current number segment buffer and the preset adjustment factor, or the ratio of the step size of the number segment stored in the current number segment buffer and the preset adjustment factor, which is not limited herein.
In the embodiment of the invention, the termination value of the target number segment can be obtained by calculation according to the termination value of the number segment stored in the current number segment cache region and the step length of the target number segment. Specifically, the end value of the target number segment may be represented as the sum of the end value of the number segment stored in the current number segment buffer, the step size of the target number segment, and 1, that is, the end value of the target number segment is equal to the end value of the number segment stored in the current number segment buffer + the step size of the target number segment + 1. Wherein, the ending value +1 of the number segment stored in the current number segment cache region is the starting value of the target number segment.
The advantage of setting up like this is on the basis of guaranteeing the number section is continuous, can carry out the flexibility adjustment to the step length of target number section according to actual demand through presetting adjustment factor to the flexibility and the adaptability of target number section have been strengthened.
Optionally, the preset adjustment factor is greater than 1; before calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor, the method further comprises the following steps: determining the updating period of the number segments stored in the current number segment cache region; wherein, the updating period is the difference value between the asynchronous updating number segment time and the time for starting to use the number segment stored in the current number segment cache region; the asynchronous number segment updating time is the time when the target identifier begins to be larger than a preset threshold value in the number segment stored in the current number segment cache region; correspondingly, calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor, wherein the step length of the target number segment includes: when the updating period is smaller than a first time threshold, calculating the product of the step length of the number segment stored in the current number segment cache region and the preset adjusting factor, and determining the product as the step length of the target number segment; when the updating period is larger than the first time threshold and smaller than a second time threshold, taking the step length of the number segment stored in the current number segment cache region as the step length of the target number segment; and when the updating period is greater than the second time threshold, calculating the ratio of the step length of the number segment stored in the current number segment cache region to the preset adjusting factor, and determining the ratio as the step length of the target number segment.
The update period may refer to a time period for updating the number segment. Specifically, the update period may be expressed as a difference between the asynchronous update number segment time and the time when the use of the number segment stored in the current number segment buffer begins. The asynchronous number segment updating time may be a time when the target identifier starts to be greater than a preset threshold in the number segment stored in the current number segment cache region, which is equivalent to a time when the first occurrence of the target identifier is greater than the preset threshold in the number segment stored in the current number segment cache region. For example, it is assumed that when the number of preceding segments is 1-1000, the preset threshold is 900, and the obtained target identifiers are 1, 3, 5, 7, …, 997, 999 respectively, the update period is the time difference between the obtained target identifier being 901 and the obtained target identifier being 1.
In the embodiment of the present invention, the preset adjustment factor is greater than 1. After determining the update period of the number segment stored in the current number segment cache region, the update period may be compared with a preset time threshold, and the step length of the target number segment is adjusted by using the step length of the number segment stored in the current number segment cache region and a preset adjustment factor according to the comparison result. The time threshold may include a first time threshold and a second time threshold, and the first time threshold is smaller than the second time threshold. Specifically, when the update period is less than the first time threshold, it indicates that the current traffic volume is increased sharply, so that the demand for obtaining the identifier is increased, and at this time, the product of the step size of the number segment stored in the current number segment cache region and the preset adjustment factor can be used as the step size of the target number segment, so as to increase the step size of the target number segment, so as to meet the requirement of larger traffic volume; when the update period is greater than the first time threshold and less than the second time threshold, the required quantity of the currently acquired identifier is in a normal range, and the step length of the number segment stored in the current number segment cache area can be directly used as the step length of the target number segment; when the update period is greater than the second time threshold, it indicates that the demand for obtaining the identifier currently is in a lower range, and at this time, the ratio of the step size of the number segment stored in the current number segment cache region to the preset adjustment factor may be used as the step size of the target number segment, so as to reduce the step size of the target number segment, and avoid the waste of number segment resources.
For example, it is assumed that in the number segment stored in the current number segment buffer, the initial value and the step size are 0 and 3000, respectively, the preset adjustment factor is 3, the preset threshold is 30% of the termination value, and the first time threshold and the second time threshold are 5 minutes and 10 minutes, respectively. When the throughput of a single server in the system is 1.5-3TPS, the step length of the target number segment does not need to be adjusted. When the throughput of the single server is increased to 50TPS, when the asynchronous segment update is triggered for the first time, the step size of the target segment can be changed to 3 × 3000, that is, 9000, at which time the target segment is changed to 3000-. When the single server throughput is reduced to 2TPS, the loop iteration is again reduced from a step size of 54000 to 3000. Preferably, the step size of the target number segment may be set to 600 times of the throughput of the system server in the peak period of the service. Where throughput may refer to the number of identifiers that need to be acquired. In this case, even if the system server goes down, the system server can continuously send the number for 10-20 minutes through the number sender without being influenced. In addition, the time threshold and the preset threshold in the present invention may also refer to this configuration.
The method has the advantages that the step length of the target number segment can be adaptively and iteratively adjusted through the preset adjusting factor, the preset threshold value, the number segment updating period and the time threshold value according to the current service throughput, so that the current service requirement can be better adapted.
In some embodiments, before the acquiring the target identifier from the number segment stored in the current number segment cache area based on the identifier configuration parameter in response to the identifier acquisition event being triggered, the method further comprises: and reading an initial number segment from any number segment database in the number segment database set, and storing the initial number segment in the current number segment cache region.
The number segment database may refer to a database for generating and storing number segments. A database set may refer to a set consisting of a plurality of databases, that is, a database set includes at least two databases. The initial number segment may refer to the number segment that is read from the number segment database for the first time. In an embodiment of the invention, a plurality of number segment databases may be provided for use by the server. The different number segment databases can autonomously configure the identifier configuration parameters, and do not interfere with each other. For example, the same number segment and different module values and remainders may be configured, and different number segments and the same module values and remainders may be configured. Assuming that there are two number segment databases, the number segment database 1 configures the number segment with a starting value of 1, a maximum value of 10000, a modulus value of 2, and a remainder of 0, and the generated identifier is 2, 4, 6. The number segment database 2 configures the number segment to have a start value of 1, a maximum value of 10000, a modulus value of 2, and a remainder of 1, and then generates identifiers of 1, 3, 5. After reading the initial number segment from any one of the number segment databases in the number segment database set, the initial number segment may be stored in the current number segment cache region.
The method has the advantages that the database with a plurality of number segments can be provided for the server to use, so that a database multi-master mode is realized, and the usability problem caused by the breakdown of a single database and the hot bank problem caused by frequent access to the single database can be effectively avoided.
Fig. 3 is a flowchart of an identifier generation method according to another embodiment of the present invention. The method is applied to an identifier generation system, wherein the identifier generation system comprises a first number segment cache region and a second number segment cache region. As shown in fig. 3, the method specifically includes the following steps:
step 310, in response to the identifier obtaining event being triggered, obtaining the service type matching the identifier obtaining event.
Wherein the traffic type may be used to distinguish between different traffic. In the embodiment of the invention, the table creation and data bottom laying work of the number segment can be made in the number segment database according to the data type, and the step length of the number segment can be divided according to the service type. The data types may include Oracle, Mysql, and the like. It should be noted that the initial creation of the generator can be completed when the number segment number sender is accessed for the first time, and the subsequent access again can be directly used without creating again. In addition, two number segment buffer areas are arranged in the number segment sender of any service type. When it is detected that an identifier acquisition event is triggered, a service type matching the identifier acquisition event may be acquired.
Step 320, determining the identifier configuration parameter corresponding to the service type according to the pre-stored corresponding relationship between the service type and the identifier configuration parameter.
In the embodiment of the present invention, the service type and the identifier configuration parameter have a corresponding relationship, and the corresponding relationship between the service type and the identifier configuration parameter may be stored in the system in advance. When the service type matched with the identifier acquisition event is acquired, the identifier configuration parameter corresponding to the service type can be acquired according to the pre-stored corresponding relationship between the service type and the identifier configuration parameter.
Step 330, obtaining a target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter; and the current number section cache region is a first number section cache region or a second number section cache region.
Step 340, when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment, and storing the target number segment in another number segment cache region; and the other number section cache region is a number section cache region except the current number section cache region in the first number section cache region and the second number section cache region.
Step 350, when the identifier in the number segment stored in the current number segment cache is used up, taking the other number segment cache as the current number segment cache, and returning to execute the acquisition of the target identifier from the number segment stored in the current number segment cache based on the identifier configuration parameter.
The specific implementation manner of steps 330-350 can be seen in the detailed description of steps 110-130.
The embodiment of the invention provides an identifier generation method, which can not only acquire identifiers from a system database through double cache number sections without blocking and effectively avoid the problem of requesting thread blocking when the number sections are acquired from the database and the number sections are updated, thereby effectively ensuring the timeliness of the acquisition of the identifiers, but also effectively avoiding the problems of machine downtime and resource waste caused by surge of traffic and acquiring corresponding identifiers according to the types of the traffic.
Fig. 4 is a flowchart of a preferred identifier generation method according to another embodiment of the present invention. The method can monitor the consumption speed of the identifier in real time aiming at the number segment senders with different service types through the management interface. The initial value, the step length, the preset threshold value and the time threshold value of the identifier in the number segment database can be modified through the management interface, and the number segment can be obtained again through the number obtaining device after the modification is completed.
Fig. 5 is a schematic structural diagram of an identifier generation system according to another embodiment of the present invention. The identifier generation system comprises a number segment sender table configuration module, a number segment sender service module and a number segment sender number taking module. The number segment sender table configuration module can be used for configuring corresponding number segments in the number segment database according to the service types, and the number segment of different service types is prevented from being duplicated. The number segment sender service module can be used for loading the service type and the number segment configured in the table into the cache service, and can convert the format of the identifier and shorten the length according to the service requirement after the identifier is obtained so as to obtain the final identifier. It should be noted that the number segment issuer service module may be used by the present application to acquire a unique identifier in the number segment cache region, or may be used by the number segment issuer number fetching module to acquire a unique identifier by a network request. In addition, if the application does not need to use the number segment sender service module, an http request can also be sent to the application using the number segment sender service module to acquire the unique identifier needed to be used by the service.
Specifically, the identifier generation system executes the following processes: (1) planning the whole interval, step length, modulus, remainder, preset adjustment factor and time threshold of the business name and number segment according to the factors such as system scale, business volume and the like; (2) when a user service request accesses an application server, the application can acquire an identifier from a local number segment number sender service module, and can also initiate a network request to other applications through a number sender number taking module to acquire the identifier; (3) the number segment generator service module generates a double-cache number segment generator in a memory according to the configuration in the table; (4) when the number segment generator triggers a preset threshold value to asynchronously update the number segment, the step length and the termination value of the number segment can be adaptively and iteratively changed according to the throughput, and the number segment is updated into a number segment database; (5) depending on the business application rules, conversion between identifiers of different formats may be performed.
Fig. 6 is a schematic structural diagram of an identifier generating apparatus according to another embodiment of the present invention. The device is applied to an identifier generation system, wherein the identifier generation system comprises a first number segment cache region and a second number segment cache region. As shown in fig. 6, the apparatus includes: a target identifier acquisition module 610, a target number segment determination module 620 and a target identifier loop acquisition module 630. Wherein the content of the first and second substances,
a target identifier obtaining module 610, configured to, in response to an identifier obtaining event being triggered, obtain a target identifier from a number segment stored in the current number segment cache area based on an identifier configuration parameter; wherein, the current number segment cache region is the first number segment cache region or the second number segment cache region;
a destination number segment determining module 620, configured to determine a destination number segment and store the destination number segment in another number segment cache region when the destination identifier is greater than a preset threshold in number segments stored in the current number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region;
and a destination identifier cyclic obtaining module 630, configured to, when the identifier in the number segment stored in the current number segment cache is used up, use the other number segment cache as the current number segment cache, and return to perform obtaining the destination identifier from the number segment stored in the current number segment cache based on the identifier configuration parameter.
The embodiment of the invention provides an identifier generation device, which responds to the triggering of an identifier acquisition event and acquires a target identifier from a number segment stored in a current number segment cache region based on an identifier configuration parameter; the current number section cache region is a first number section cache region or a second number section cache region; when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region; and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters. According to the technical scheme provided by the embodiment of the invention, the identifier can be acquired from the system database without blocking through the double-cache number section, so that the problem of requesting thread blocking when the number section is acquired from the database and the number section is updated is effectively avoided, the timeliness of acquiring the identifier is effectively ensured, and the problems of machine downtime and resource waste caused by sudden increase of traffic can be effectively avoided.
Optionally, the target number segment determining module includes:
a target number segment determining submodule, configured to determine a target number segment according to the number segment stored in the current number segment cache region when the target identifier is greater than a preset threshold value in the number segment stored in the current number segment cache region; and the difference value between the initial value of the target number segment and the termination value of the number segment stored in the current number segment cache region is 1.
Optionally, the target number segment determining sub-module includes:
a current number segment step length determining unit, configured to determine a step length and a termination value of a number segment stored in the current number segment cache region;
and the target number segment determining unit is used for determining the target number segment according to the step length and the termination value of the number segment stored in the current number segment cache region.
Optionally, the target number segment determining unit includes:
a target number segment step length determining subunit, configured to calculate a step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor;
a destination number segment termination value determining subunit, configured to determine a termination value of the destination number segment according to the termination value of the number segment stored in the current number segment cache area and the step length of the destination number segment; and the ending value of the target number segment is the sum of the ending value of the number segment stored in the current number segment cache region, the step length of the target number segment and 1.
Optionally, the preset adjustment factor is greater than 1; the target number segment determining unit further includes:
an update cycle determining subunit, configured to determine an update cycle of the number segment stored in the current number segment cache region before calculating the step size of the target number segment according to the step size of the number segment stored in the current number segment cache region and a preset adjustment factor; wherein, the updating period is the difference value between the asynchronous updating number segment time and the time for starting to use the number segment stored in the current number segment cache region; the asynchronous number segment updating time is the time when the target identifier begins to be larger than a preset threshold value in the number segment stored in the current number segment cache region;
correspondingly, the target number segment step length determining subunit is configured to:
when the updating period is smaller than a first time threshold, calculating the product of the step length of the number segment stored in the current number segment cache region and the preset adjusting factor, and determining the product as the step length of the target number segment;
when the updating period is larger than the first time threshold and smaller than a second time threshold, taking the step length of the number segment stored in the current number segment cache region as the step length of the target number segment;
and when the updating period is greater than the second time threshold, calculating the ratio of the step length of the number segment stored in the current number segment cache region to the preset adjustment factor, and determining the ratio as the step length of the target number segment.
Optionally, the target identifier obtaining module is configured to:
in response to an identifier acquisition event being triggered, acquiring a service type matched with the identifier acquisition event;
determining an identifier configuration parameter corresponding to the service type according to a pre-stored corresponding relationship between the service type and the identifier configuration parameter;
and acquiring the target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter.
Optionally, the apparatus further comprises:
and the initial number section reading module is used for reading an initial number section from any one number section database in the number section database set and storing the initial number section in the current number section cache region.
The device can execute the identifier generation method provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the embodiments of the present invention, reference may be made to the identifier generation methods provided in all the foregoing embodiments of the present invention.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the identifier generation method provided by the embodiments of the present invention.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the identifier generation operation described above, and may also perform the relevant operations in the identifier generation method provided by any embodiments of the present invention.
The embodiment of the invention provides an identifier generation system, and the identifier generation device provided by the embodiment of the invention can be integrated in the identifier generation system. Fig. 7 is a block diagram of a structure of an identifier generation system according to an embodiment of the present invention. The identifier generation system 700 may include: a memory 701, a processor 702 and a computer program stored on the memory 701 and executable by the processor, wherein the processor 702 implements the identifier generation method according to the embodiment of the present invention when executing the computer program.
In the identifier generation system provided in the embodiment of the present invention, in response to an identifier obtaining event being triggered, a target identifier is obtained from a number segment stored in a current number segment cache area based on an identifier configuration parameter; the current number section cache region is a first number section cache region or a second number section cache region; when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region; and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters. According to the technical scheme provided by the embodiment of the invention, the identifier can be acquired from the system database without blocking through the double-cache number section, so that the problem of requesting thread blocking when the number section is acquired from the database and the number section is updated is effectively avoided, the timeliness of acquiring the identifier is effectively ensured, and the problems of machine downtime and resource waste caused by sudden increase of traffic can be effectively avoided.
The identifier generation apparatus, the storage medium, and the identifier generation system provided in the above embodiments may execute the identifier generation method provided in any embodiment of the present invention, and have functional modules and advantageous effects corresponding to the execution of the method. Technical details that are not described in detail in the above embodiments may be referred to an identifier generation method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. An identifier generation method applied to an identifier generation system, wherein the identifier generation system comprises a first segment cache and a second segment cache, the method comprising:
in response to an identifier acquisition event being triggered, acquiring a target identifier from a number segment stored in a current number segment cache region based on identifier configuration parameters; wherein, the current number segment cache region is the first number segment cache region or the second number segment cache region;
when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment and storing the target number segment in another number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region;
and when the identifiers in the number segments stored in the current number segment cache are used up, taking the other number segment cache region as the current number segment cache region, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters.
2. The method of claim 1, wherein determining a target number segment when the target identifier is greater than a preset threshold in number segments stored in the current number segment cache comprises:
when the target identifier is larger than a preset threshold value in the number segment stored in the current number segment cache region, determining a target number segment according to the number segment stored in the current number segment cache region; and the difference value between the initial value of the target number segment and the termination value of the number segment stored in the current number segment cache region is 1.
3. The method of claim 2, wherein determining the target number segment from the number segments stored in the current number segment buffer comprises:
determining the step length and the termination value of the number segment stored in the current number segment cache region;
and determining the target number segment according to the step length and the termination value of the number segment stored in the current number segment cache region.
4. The method of claim 3, wherein determining the target number segment according to the step size and the end value of the number segment stored in the current number segment buffer comprises:
calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor;
determining the termination value of the target number segment according to the termination value of the number segment stored in the current number segment cache region and the step length of the target number segment; and the ending value of the target number segment is the sum of the ending value of the number segment stored in the current number segment cache region, the step length of the target number segment and 1.
5. The method of claim 4, wherein the preset adjustment factor is greater than 1;
before calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor, the method further comprises the following steps:
determining the updating period of the number segments stored in the current number segment cache region; wherein, the updating period is the difference value between the asynchronous updating number segment time and the time for starting to use the number segment stored in the current number segment cache region; the asynchronous number segment updating time is the time when the target identifier begins to be larger than a preset threshold value in the number segment stored in the current number segment cache region;
calculating the step length of the target number segment according to the step length of the number segment stored in the current number segment cache region and a preset adjustment factor, wherein the step length of the target number segment comprises the following steps:
when the updating period is smaller than a first time threshold, calculating the product of the step length of the number segment stored in the current number segment cache region and the preset adjusting factor, and determining the product as the step length of the target number segment;
when the updating period is larger than the first time threshold and smaller than a second time threshold, taking the step length of the number segment stored in the current number segment cache region as the step length of the target number segment;
and when the updating period is greater than the second time threshold, calculating the ratio of the step length of the number segment stored in the current number segment cache region to the preset adjusting factor, and determining the ratio as the step length of the target number segment.
6. The method of claim 1, wherein retrieving the destination identifier from the number segment stored in the current number segment cache based on the identifier configuration parameter in response to the identifier retrieval event being triggered comprises:
in response to an identifier acquisition event being triggered, acquiring a service type matched with the identifier acquisition event;
determining an identifier configuration parameter corresponding to the service type according to a pre-stored corresponding relationship between the service type and the identifier configuration parameter;
and acquiring the target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter.
7. The method of claim 1, further comprising, prior to retrieving the target identifier from the number segment stored in the current number segment cache based on the identifier configuration parameter in response to the identifier retrieval event being triggered:
and reading an initial number segment from any number segment database in the number segment database set, and storing the initial number segment in the current number segment cache region.
8. An identifier generation apparatus applied to an identifier generation system including a first segment buffer and a second segment buffer, the apparatus comprising:
the target identifier acquisition module is used for acquiring a target identifier from the number segment stored in the current number segment cache region based on the identifier configuration parameter in response to the identifier acquisition event being triggered; wherein, the current number segment cache region is the first number segment cache region or the second number segment cache region;
a destination number segment determining module, configured to determine a destination number segment and store the destination number segment in another number segment cache region when the destination identifier is greater than a preset threshold in number segments stored in the current number segment cache region; wherein, the other number segment cache region is the number segment cache region except the current number segment cache region in the first number segment cache region and the second number segment cache region;
and the target identifier cyclic acquisition module is used for taking the other number segment cache region as the current number segment cache region when the identifiers in the number segments stored in the current number segment cache are used up, and returning to execute the acquisition of the target identifiers from the number segments stored in the current number segment cache region based on the identifier configuration parameters.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processing device, carries out an identifier generation method according to any one of claims 1 to 7.
10. An identifier generation system comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the identifier generation method according to any of claims 1-7 when executing the computer program.
CN202210113902.0A 2022-01-30 2022-01-30 Identifier generation method, device, storage medium and system Pending CN114444440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210113902.0A CN114444440A (en) 2022-01-30 2022-01-30 Identifier generation method, device, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210113902.0A CN114444440A (en) 2022-01-30 2022-01-30 Identifier generation method, device, storage medium and system

Publications (1)

Publication Number Publication Date
CN114444440A true CN114444440A (en) 2022-05-06

Family

ID=81371578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210113902.0A Pending CN114444440A (en) 2022-01-30 2022-01-30 Identifier generation method, device, storage medium and system

Country Status (1)

Country Link
CN (1) CN114444440A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103024A (en) * 2022-06-21 2022-09-23 联仁健康医疗大数据科技股份有限公司 Serial number generation method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103024A (en) * 2022-06-21 2022-09-23 联仁健康医疗大数据科技股份有限公司 Serial number generation method and device, electronic equipment and storage medium
CN115103024B (en) * 2022-06-21 2024-03-15 联仁健康医疗大数据科技股份有限公司 Sequence number generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107133234B (en) Method, device and system for updating cache data
CN107622091B (en) Database query method and device
CN111767143A (en) Transaction data processing method, device, equipment and system
CN109918382A (en) Data processing method, device, terminal and storage medium
CN110162512B (en) Log retrieval method, device and storage medium
CN107179940B (en) Task execution method and device
US20210334409A1 (en) Integrity verification in cloud key-value stores
WO2017095820A1 (en) Methods and devices for acquiring data using virtual machine and host machine
CN112256433B (en) Partition migration method and device based on Kafka cluster
CN112130996A (en) Data monitoring control system, method and device, electronic equipment and storage medium
EP3497586A1 (en) Discovery of calling application for control of file hydration behavior
CN112269661B (en) Partition migration method and device based on Kafka cluster
US8055744B2 (en) Resolution of group membership for resources
CN108399175B (en) Data storage and query method and device
CN113794764A (en) Request processing method and medium for server cluster and electronic device
CN114444440A (en) Identifier generation method, device, storage medium and system
CN111147605A (en) Service registration method, device and equipment
CN107276998B (en) OpenSSL-based performance optimization method and device
CN110764930A (en) Request or response processing method and device based on message mode
CN115756955A (en) Data backup and data recovery method and device and computer equipment
JP6233846B2 (en) Variable-length nonce generation
CN115543690A (en) Cold and hot data redundancy method, device, equipment and storage medium
CN114513469A (en) Traffic shaping method and device for distributed system and storage medium
CN112148712A (en) Data processing method, device, equipment and medium
CN107679093B (en) Data query method 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