CN111694841A - Order mark generation method, device, server and storage medium - Google Patents

Order mark generation method, device, server and storage medium Download PDF

Info

Publication number
CN111694841A
CN111694841A CN202010358127.6A CN202010358127A CN111694841A CN 111694841 A CN111694841 A CN 111694841A CN 202010358127 A CN202010358127 A CN 202010358127A CN 111694841 A CN111694841 A CN 111694841A
Authority
CN
China
Prior art keywords
order
identification
identifier
database
server
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
CN202010358127.6A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010358127.6A priority Critical patent/CN111694841A/en
Priority to PCT/CN2020/099301 priority patent/WO2021217863A1/en
Publication of CN111694841A publication Critical patent/CN111694841A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/22Indexing; Data structures therefor; Storage structures
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a block chain technology, and provides an order mark generation method, which comprises the following steps: receiving an order determining request sent by front-end equipment; determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the total order data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier; in a plurality of databases included in the distributed system, determining a server database identifier corresponding to a target database through a naming service of a distributed service framework; loading a first number segment with a first preset number from a number segment information table of a target database to a remote dictionary service cache; extracting the target number identification of the first number segment from the cache; generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification; and sending the order identification to the front-end equipment. Wherein the related data and information may be stored in the blockchain node.

Description

Order mark generation method, device, server and storage medium
Technical Field
The present invention relates to the field of distributed technologies of block chains, and in particular, to a method, an apparatus, a server, and a storage medium for generating an order identifier.
Background
Currently, the system uses a single database to generate order numbers in a sequential incremental manner. For distributed systems, different databases are used in different fields, and therefore, the uniqueness of a large amount of data and messages needs to be distinguished. If the data of different databases continues to adopt the self-increment order number mode of the databases to generate order identifications, obviously, the requirements cannot be met, and conflicts are easily caused when the different databases are accessed.
Disclosure of Invention
In view of the above, the present invention also relates to the technical field of artificial intelligence, and the present invention is applicable to smart city directions, and can make the generated order id unique and avoid conflict during database access.
A first aspect of the present invention provides an order identifier generating method, where the order identifier generating method includes:
receiving an order determining request sent by front-end equipment, wherein the order determining request carries an order type and an order belonging area;
determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the order total data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier;
determining a server database identifier corresponding to a target database in a plurality of databases in a distributed system through naming service of a zookeeper;
loading a first number segment with a first preset number from a number segment information table of the target database to a remote dictionary service (redis) cache;
extracting the target number identification of the first number segment from the redis cache;
generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification;
and responding to the order determination request, and sending the order identification to the front-end equipment.
In a possible implementation manner, determining the order number identifier according to the order type, the value weight of the order corresponding to the order type, and the total order amount data of the order includes:
determining the value weight of an order corresponding to the order type according to the order type;
acquiring order total data of the order;
determining order priority according to the value weight and the order total data;
and determining the priority identifier corresponding to the order priority as a single number identifier.
In a possible implementation manner, the determining, by a naming service of the zookeeper in the distributed service framework, a server database identifier corresponding to the target database in the plurality of databases included in the distributed system includes:
determining a target database in a plurality of databases included in a distributed system according to the bearing capacity value of each database;
generating a server identifier for a server to which the target database belongs through naming service of a distributed service framework zookeeper;
and determining a server database identifier corresponding to the target database according to the database identifier of the target database and the server identifier.
In one possible implementation manner, the determining, in a plurality of databases included in the distributed system, a target database according to the bearing capacity value of each of the databases includes:
acquiring historical access times of each database of the distributed system and collapse times of each database within preset time;
determining the bearing capacity value of each database according to the historical access times and the collapse times;
and determining a target database from the plurality of databases according to the bearing capacity value.
In a possible implementation manner, the generating, by the naming service of the distributed service framework zookeeper, a server identifier for a server to which the target database belongs includes:
acquiring an identification bit from a database identification bit table;
judging whether an identification bit capable of identifying a server to which the target database belongs exists in the identification bits;
if the identification position capable of identifying the server to which the target database belongs does not exist in the identification positions, a temporary node is created through a naming service of a distributed service framework zookeeper;
and determining the node identification of the temporary node as the server identification of the server.
In a possible implementation manner, the order identifier generating method further includes:
creating a monitoring event;
and monitoring the use state of the first number segment in the redis cache through the monitoring event.
In a possible implementation manner, the order identifier generating method further includes:
acquiring a current use value according to the use state;
judging whether the position of the current use value is in the boundary value range of the first number segment or not;
and if the position of the current use value is in the boundary value range of the first number segment, asynchronously loading a second number segment with a second preset number from the number segment information table into the redis cache.
A second aspect of the present invention provides an order identification generation apparatus, including:
the receiving module is used for receiving an order determining request sent by front-end equipment, wherein the order determining request carries an order type and an order belonging area;
the determining module is used for determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the total order data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier;
the determining module is further used for determining a server database identifier corresponding to a target database in a plurality of databases included in the distributed system through naming service of a zookeeper in a distributed service framework;
the loading module is used for loading a first number segment with a first preset number from the number segment information table of the target database into a remote dictionary service (redis) cache;
the extracting module is used for extracting the target number identification of the first number segment from the redis cache;
the generating module is used for generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification;
and the sending module is used for responding to the order determining request and sending the order identification to the front-end equipment.
A third aspect of the present invention provides a server comprising a processor and a memory, wherein the processor is configured to implement the order identifier generating method when executing a computer program stored in the memory.
A fourth aspect of the present invention provides a computer-readable storage medium including a storage data area storing data created according to use of a blockchain node and a storage program area storing a computer program, wherein the computer program realizes the order identification generation method when executed by a processor.
According to the technical scheme, the server database identification corresponding to the target database is determined through the naming service of the distributed service framework zookeeper, the number segment values on different servers can be distinguished, the phenomena of blocking and jamming in the use process of the system can be avoided through redis asynchronous cache, meanwhile, the access impact on the database can be reduced, the order identification generated according to the single number identification, the mechanism identification, the server database identification and the target number identification has uniqueness, the global uniqueness of the order identification is guaranteed in the distributed system, and the conflict in the access of the database is avoided.
Drawings
FIG. 1 is a flowchart illustrating a method for generating an order identifier according to an embodiment of the present invention.
FIG. 2 is a functional block diagram of an order identifier generating apparatus according to a preferred embodiment of the present invention.
FIG. 3 is a schematic structural diagram of a server according to a preferred embodiment of the present invention for implementing the order identifier generation method.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order, nor should they be construed to indicate or imply the relative importance thereof or the number of technical features indicated. It will be appreciated that the data so used are interchangeable under appropriate circumstances such that the embodiments described herein are capable of operation in sequences other than those illustrated or otherwise described herein, and that the features defined as "first" and "second" may explicitly or implicitly include at least one such feature.
Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
FIG. 1 is a flowchart illustrating a method for generating an order identifier according to an embodiment of the present invention. The order identifier generation method is applied to a server, and according to different requirements, the order of steps in the flowchart may be changed, and some steps may be omitted.
S11, receiving an order determining request sent by the front-end equipment, wherein the order determining request carries an order type and an order belonging area.
The front-end device is for a user, and the front-end device may include, but is not limited to, a smart phone, a personal computer, an IPAD, or other electronic devices that can be operated by the user. The user may perform an operation on the head-end device, such as submitting an order for an item when purchasing an online item.
In the embodiment of the present invention, when an order determining request sent by a front-end device is received, it indicates that a user needs to purchase a commodity corresponding to the order, and at this time, the order does not generate an order identifier, that is, an order number uniquely identifying the order, and a server needs to be triggered to generate the unique order identifier according to the order determining request.
The type of the order may be used to indicate the type of the goods that the user needs to purchase, such as insurance, and the area to which the order belongs may be used to indicate the area where the front-end device is located when the order is submitted, such as a city.
S12, determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the total order data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier.
The order number identifications corresponding to different order types are different, and the mechanism identifications corresponding to the areas to which different orders belong are also different.
Specifically, determining the order number identifier according to the order type, the value weight of the order corresponding to the order type, and the order total data of the order comprises:
determining the value weight of an order corresponding to the order type according to the order type;
acquiring order total data of the order;
determining order priority according to the value weight and the order total data;
and determining the priority identifier corresponding to the order priority as a single number identifier.
In this embodiment, the value weight of the order corresponding to different order types is different, the value weight may be used to measure the value of a certain order, and the range of the value weight may be set to [0,1 ]. Generally, a higher value weight indicates a higher value for the order, which also indicates that the order is very important to the user. The order total data may reflect the data that the user needs to pay to purchase the order. The order priority may be determined based on the value weight and the order total data, such as multiplying the value weight by the order total data to obtain a product value, and searching for the order priority corresponding to the product value based on the product value. And finally, determining the priority mark corresponding to the order priority as a single number mark. The order priority can reflect the priority of the order to be processed, and the order processing sequence can be determined according to the order priority in the order identifier after the order identifier is generated, so that more efficient order processing service can be provided for high-quality users, and user experience is provided.
The corresponding relationship between the area to which each order belongs and the mechanism identifier may be pre-established, where each area to which each order belongs corresponds to one mechanism identifier, for example: the corresponding agency in fuzhou city is identified as 3910.
Optionally, a corresponding relationship between the order type and the order identifier may be pre-established, where each order type corresponds to an order identifier, for example: the corresponding single number mark of the quotation is Q, and the corresponding single number mark of the policy is 10 heads.
And S13, determining a server database identifier corresponding to the target database in a plurality of databases included in the distributed system through the naming service of the zookeeper in the distributed service framework.
The distributed system may include a plurality of databases, and different servers may share one database or may configure one database separately. The target database may be a database bound to the initiating server, or the target database may be a database determined from a plurality of databases of the distributed system according to the bearing capacity of the database.
The ZooKeeper is a distributed and open-source distributed application program coordination service, is an open-source implementation of Chubby of Google, and is an important component of Hadoop and Hbase. It is a software that provides a consistent service for distributed applications, and the functions provided include: configuration maintenance, domain name service, distributed synchronization, group service, etc.
Specifically, the determining, in the multiple databases included in the distributed system, the server database identifier corresponding to the target database through the naming service of the distributed service framework zookeeper includes:
determining a target database in a plurality of databases included in a distributed system according to the bearing capacity value of each database;
generating a server identifier for a server to which the target database belongs through naming service of a distributed service framework zookeeper;
and determining a server database identifier corresponding to the target database according to the database identifier of the target database and the server identifier.
In this embodiment, a target database may be selected from a plurality of databases in a distributed system, so as to reduce the impact on the database with a weak bearing capacity, and at the same time, a unique server identifier is generated through the naming service of the distributed service framework zookeeper, and a server database identifier corresponding to the target database is determined according to the database identifier and the server identifier, where the server database identifier may be used to distinguish the number segment values of the databases of different servers. Wherein each database may pre-store a plurality of number segment values.
Specifically, in the multiple databases included in the distributed system, determining the target database according to the bearing capacity value of each of the databases includes:
acquiring historical access times of each database of the distributed system and collapse times of each database within preset time;
determining the bearing capacity value of each database according to the historical access times and the collapse times;
and determining a target database from the plurality of databases according to the bearing capacity value.
In the distributed system, the storage capacity of each database is different, the historical access number of each database is also different, and the number of times of crash of each database is also different within a preset time (for example, within one month). If the number of accesses is large and the number of crashes is small, the bearing capacity of the database is good, and therefore the target database can be selected according to the bearing capacity of the database.
Specifically, a weight value may be set for the historical access times and the crash times, respectively, where the weight value for the historical access times may be set to be higher than the weight value for the crash times. And determining the bearing capacity value of each database according to the weight value, the historical access times and the collapse times, and selecting a target database with the bearing capacity value exceeding a preset threshold value from a plurality of databases. Therefore, the database with high bearing capacity and low possibility of collapse can be selected preferentially, so that the database in the distributed system is reasonably utilized, the impact on the database with weak bearing capacity is reduced, and the service life of the database is prolonged.
Specifically, the generating, by the naming service of the distributed service framework zookeeper, a server identifier for the server includes:
acquiring an identification bit from a database identification bit table;
judging whether an identification bit capable of identifying the server exists in the identification bits;
if the identification position capable of identifying the server does not exist in the identification positions, a temporary node is created through a naming service of a distributed service framework zookeeper;
and determining the node identification of the temporary node as the server identification of the server.
The database identifier may be created for each database in advance, and a database identifier bit table may be created according to the database identifier bits. Since different servers can share the same database, in order to distinguish different servers, a unique server identifier can be created for each server through the naming service of the distributed service framework zookeeper. The database identification bit table may be updated according to the database identification and the server identification, that is, the updated database identification bit table may be used to distinguish the number segment values of the databases of different servers.
Generally, different servers are online and offline at different times, and if the server is started for the first time, the server has no server identifier, that is, the identifier in the current database identifier table cannot identify the server, so that a unique server identifier needs to be created for the server by zookeeper. And meanwhile, updating the database identification bit table.
S14, loading a first number segment with a first preset number from the number segment information table of the target database to a remote dictionary service (redis) cache.
A number segment information table is newly established in each database, and the number segment information table comprises a plurality of numbers. After the target database is determined, a first number segment of a first preset number may be loaded in the number segment information table of the target database to a remote dictionary service redis cache, where the first preset number is, for example, 100, and, for example, number segments of 1 to 100 may be loaded in the redis, and then, the number segment may be directly extracted from the redis without being extracted from the database, so that access impact on the database may be reduced.
Specifically, during loading, a number value queue may be generated in the redis cache, for example, a number segment from 1 to 100 is loaded, so as to generate a queue [1, 2, 3 … … 100] respectively.
S15, extracting the target number identification of the first number segment from the redis cache.
Typically, a server goes online or offline for some reason (e.g., human operation, failure), which may result in the loss of number segments stored on the server. In order to avoid this situation as much as possible, in the embodiment of the present invention, when the device is deployed, the redis cache is separately and independently deployed from the server, that is, the redis cache is not integrated on the server. Because the stability of the redis cache is higher than that of the server, problems rarely occur, the first number segment is stored in the remote dictionary service redis cache, the target number identification is subsequently extracted from the redis cache, the target number identification does not need to be extracted from the server, the online/offline of the server does not influence the redis, the number segment identification can be extracted from the redis cache even if the server is offline, and the loss of the number segment is reduced.
The order identification generation method further comprises the following steps:
creating a monitoring event;
and monitoring the use state of the first number segment in the redis cache through the monitoring event.
In this embodiment, each time the target number identifier is extracted from the redis cache, a snoop event may be created, where the snoop event is used to snoop the usage status of the first number segment in the redis cache, that is, which number the first number segment is currently used to, for example, if the target number identifier from which the first number segment is extracted is 90, then the number "90" is currently used to be snooped. Through monitoring the event, the service condition of the number segment cached in the redis can be monitored in time so as to prevent the number segment from being lost, and meanwhile, the subsequent number segment can be supplemented in time conveniently.
The order identification generation method further comprises the following steps:
acquiring a current use value according to the use state;
judging whether the position of the current use value is in the boundary value range of the first number segment or not;
and if the position of the current use value is in the boundary value range of the first number segment, asynchronously loading a second number segment with a second preset number from the number segment information table into the redis cache.
In this embodiment, the first number segment is composed of a plurality of numbers, i.e. represents a range of a number segment, and the boundary value range of the number segment is usually the value range of the number segment near the end, for example, the range of the first number segment is [1,100], and the boundary value range [90,100] can be set. If the position of the current usage value is in the boundary value range of the first number segment, indicating that the first number segment is about to be used up, for example, the current usage value is 90, the position is in the boundary value range, and in order to avoid a situation that the number segment in the redis is used up without loading the number segment, when the position of the current usage value is in the boundary value range of the first number segment, a second preset number of second number segments may be asynchronously loaded from the number segment information table into the redis cache, so as to ensure that enough number segments in the redis can be used. For example, 100 [101,200] segment number two values redis may be loaded.
The asynchronous cache mode avoids the blocking and jamming phenomena when the system is used.
And S16, generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification.
Optionally, the order identifier, the organization identifier, the server database identifier, and the target label identifier may be superimposed together according to a preset identifier superimposing rule to generate an order identifier.
Optionally, the order number identifier, the mechanism identifier, the server database identifier, and the target number identifier may be input into an identifier generation model, and an order identifier is generated through the identifier generation model, where the identifier generation model is pre-trained, and a unique identifier (e.g., an order identifier) is calculated by inputting identifiers of several parameters (e.g., the order number identifier, the mechanism identifier, the server database identifier, and the target number identifier).
In a distributed system, it can be used to generate a unique identification.
And S17, responding to the order determining request, and sending the order identification to the front-end equipment.
After the server sends the order identifier to the front-end device, the order identifier and other information about the order, such as an order address, an order person, an order after-sales service and the like, can be output on the front-end device.
In the method flow described in fig. 1, a server database identifier corresponding to a target database is determined through a naming service of a distributed service framework zookeeper, and can be used for distinguishing number segment values on different servers, blocking and pause phenomena during system use can be avoided through redis asynchronous cache, and meanwhile, access impact on the database can be reduced.
The above description is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and it will be apparent to those skilled in the art that modifications may be made without departing from the inventive concept of the present invention, and these modifications are within the scope of the present invention.
FIG. 2 is a functional block diagram of an order identifier generating apparatus according to a preferred embodiment of the present invention.
In some embodiments, the order identification generation means runs in a server. The order identification generating means may comprise a plurality of functional modules consisting of program code segments. Program code for various program segments in the order identification generation apparatus may be stored in the memory and executed by the at least one processor to perform some or all of the steps of the order identification generation method described in fig. 1.
In this embodiment, the order identifier generating apparatus may be divided into a plurality of functional modules according to the functions executed by the order identifier generating apparatus. The functional module may include: the device comprises a receiving module 201, a determining module 202, a loading module 203, an extracting module 204, a generating module 205 and a sending module 206. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory.
The receiving module 201 is configured to receive an order determination request sent by a front-end device, where the order determination request carries an order type and an area to which the order belongs.
The front-end device is for a user, and the front-end device may include, but is not limited to, a smart phone, a personal computer, an IPAD, or other electronic devices that can be operated by the user. The user may perform an operation on the head-end device, such as submitting an order for an item when purchasing an online item.
In the embodiment of the present invention, when an order determining request sent by a front-end device is received, it indicates that a user needs to purchase a commodity corresponding to the order, and at this time, the order does not generate an order identifier, that is, an order number uniquely identifying the order, and a server needs to be triggered to generate the unique order identifier according to the order determining request.
The type of the order may be used to indicate the type of the goods that the user needs to purchase, such as insurance, and the area to which the order belongs may be used to indicate the area where the front-end device is located when the order is submitted, such as a city.
The determining module 202 is configured to determine an order number identifier according to the order type, the value weight of the order corresponding to the order type, and the total data of the order, and query an organization identifier corresponding to an area to which the order belongs from a corresponding relationship between the area to which the preset order belongs and a preset organization identifier.
The order number identifications corresponding to different order types are different, and the mechanism identifications corresponding to the areas to which different orders belong are also different.
Optionally, a corresponding relationship between the order type and the order identifier may be pre-established, where each order type corresponds to an order identifier, for example: the order number identifier corresponding to the quotation is Q, and the order number identifier corresponding to the policy is 10, and similarly, a corresponding relationship between the area to which each order belongs and the organization identifier may be pre-established, where each area to which each order belongs corresponds to one organization identifier, for example: the corresponding agency in fuzhou city is identified as 3910.
Optionally, determining the order number identifier according to the order type, the value weight of the order corresponding to the order type, and the total order data of the order comprises:
determining the value weight of an order corresponding to the order type according to the order type;
acquiring order total data of the order;
determining order priority according to the value weight and the order total data;
and determining the priority identifier corresponding to the order priority as a single number identifier.
In this embodiment, the value weight of the order corresponding to different order types is different, the value weight may be used to measure the value of a certain order, and the range of the value weight may be set to [0,1 ]. Generally, a higher value weight indicates a higher value for the order, which also indicates that the order is very important to the user. The order total data may reflect the data that the user needs to pay to purchase the order. The order priority may be determined based on the value weight and the order total data, such as multiplying the value weight by the order total data to obtain a product value, and searching for the order priority corresponding to the product value based on the product value. And finally, determining the priority mark corresponding to the order priority as a single number mark. The order priority can reflect the priority of the order to be processed, and the order processing sequence can be determined according to the order priority in the order identifier after the order identifier is generated, so that more efficient order processing service can be provided for high-quality users, and user experience is provided.
The determining module 202 is further configured to determine, in a plurality of databases included in the distributed system, a server database identifier corresponding to the target database through a naming service of the zookeeper in the distributed service framework.
The distributed system may include a plurality of databases, and different servers may share one database or may configure one database separately. The target database may be a database bound to the initiating server, or the target database may be a database determined from a plurality of databases of the distributed system according to the bearing capacity of the database.
Specifically, the determining, in the multiple databases included in the distributed system, the server database identifier corresponding to the target database through the naming service of the distributed service framework zookeeper includes:
determining a target database in a plurality of databases included in a distributed system according to the bearing capacity value of each database;
generating a server identifier for a server to which the target database belongs through naming service of a distributed service framework zookeeper;
and determining a server database identifier corresponding to the target database according to the database identifier of the target database and the server identifier.
In this embodiment, a target database may be selected from a plurality of databases in a distributed system, so as to reduce the impact on the database with a weak bearing capacity, and at the same time, a unique server identifier is generated through the naming service of the distributed service framework zookeeper, and a server database identifier corresponding to the target database is determined according to the database identifier and the server identifier, where the server database identifier may be used to distinguish the number segment values of the databases of different servers. Wherein each database may pre-store a plurality of number segment values.
Specifically, in the multiple databases included in the distributed system, determining the target database according to the bearing capacity value of each of the databases includes:
acquiring historical access times of each database of the distributed system and collapse times of each database within preset time;
determining the bearing capacity value of each database according to the historical access times and the collapse times;
and determining a target database from the plurality of databases according to the bearing capacity value.
In the distributed system, the storage capacity of each database is different, the historical access number of each database is also different, and the number of times of crash of each database is also different within a preset time (for example, within one month). If the number of accesses is large and the number of crashes is small, the bearing capacity of the database is good, and therefore the target database can be selected according to the bearing capacity of the database.
Specifically, a weight value may be set for the historical access times and the crash times, respectively, where the weight value for the historical access times may be set to be higher than the weight value for the crash times. And determining the bearing capacity value of each database according to the weight value, the historical access times and the collapse times, and selecting a target database with the bearing capacity value exceeding a preset threshold value from a plurality of databases. Therefore, the database with high bearing capacity and low possibility of collapse can be selected preferentially, so that the database in the distributed system is reasonably utilized, the impact on the database with weak bearing capacity is reduced, and the service life of the database is prolonged.
Specifically, the generating, by the naming service of the distributed service framework zookeeper, a server identifier for the server includes:
acquiring an identification bit from a database identification bit table;
judging whether an identification bit capable of identifying the server exists in the identification bits;
if the identification position capable of identifying the server does not exist in the identification positions, a temporary node is created through a naming service of a distributed service framework zookeeper;
and determining the node identification of the temporary node as the server identification of the server.
The database identifier may be created for each database in advance, and a database identifier bit table may be created according to the database identifier bits. Since different servers can share the same database, in order to distinguish different servers, a unique server identifier can be created for each server through the naming service of the distributed service framework zookeeper. The database identification bit table may be updated according to the database identification and the server identification, that is, the updated database identification bit table may be used to distinguish the number segment values of the databases of different servers.
Generally, different servers are online and offline at different times, and if the server is started for the first time, the server has no server identifier, that is, the identifier in the current database identifier table cannot identify the server, so that a unique server identifier needs to be created for the server by zookeeper. And meanwhile, updating the database identification bit table.
The loading module 203 is configured to load a first number segment of a first preset number from the number segment information table of the target database into a remote dictionary service redis cache.
A number segment information table is newly established in each database, and the number segment information table comprises a plurality of numbers. After the target database is determined, a first number segment of a first preset number may be loaded in the number segment information table of the target database to a remote dictionary service redis cache, where the first preset number is, for example, 100, and, for example, number segments of 1 to 100 may be loaded in the redis, and then, the number segment may be directly extracted from the redis without being extracted from the database, so that access impact on the database may be reduced.
Specifically, during loading, a number value queue may be generated in the redis cache, for example, a number segment from 1 to 100 is loaded, so as to generate a queue [1, 2, 3 … … 100] respectively.
An extracting module 204, configured to extract the target number identifier of the first number segment from the redis cache.
Typically, a server goes online or offline for some reason (e.g., human operation, failure), which may result in the loss of number segments stored on the server. In order to avoid this situation as much as possible, in the embodiment of the present invention, when the device is deployed, the redis cache is separately and independently deployed from the server, that is, the redis cache is not integrated on the server. Because the stability of the redis cache is higher than that of the server, problems rarely occur, the first number segment is stored in the remote dictionary service redis cache, the target number identification is subsequently extracted from the redis cache, the target number identification does not need to be extracted from the server, the online/offline of the server does not influence the redis, the number segment identification can be extracted from the redis cache even if the server is offline, and the loss of the number segment is reduced.
A generating module 205, configured to generate an order identifier according to the order identifier, the mechanism identifier, the server database identifier, and the target number identifier.
Optionally, the order identifier, the organization identifier, the server database identifier, and the target label identifier may be superimposed together according to a preset identifier superimposing rule to generate an order identifier.
Optionally, the order number identifier, the mechanism identifier, the server database identifier, and the target number identifier may be input into an identifier generation model, and an order identifier is generated through the identifier generation model, where the identifier generation model is pre-trained, and a unique identifier (e.g., an order identifier) is calculated by inputting identifiers of several parameters (e.g., the order number identifier, the mechanism identifier, the server database identifier, and the target number identifier).
In a distributed system, it can be used to generate a unique identification.
A sending module 206, configured to respond to the order determination request, and send the order identifier to the front-end device.
After the server sends the order identifier to the front-end device, the order identifier and other information about the order, such as an order address, an order person, an order after-sales service and the like, can be output on the front-end device.
In the device described in fig. 2, the server database identifier corresponding to the target database is determined through the naming service of the distributed service framework zookeeper, and can be used for distinguishing number segment values on different servers, and through redis asynchronous cache, blocking and pause phenomena during system use can be avoided, and meanwhile, access impact on the database can be reduced.
FIG. 3 is a schematic structural diagram of a server according to a preferred embodiment of the present invention for implementing the order identifier generation method. The server 3 comprises a memory 31, at least one processor 32, a computer program 33 stored in the memory 31 and executable on the at least one processor 32, and at least one communication bus 34.
It will be appreciated by those skilled in the art that the schematic diagram shown in fig. 3 is merely an example of the server 3, and does not constitute a limitation of the server 3, and may include more or less components than those shown, or combine some components, or different components, for example, the server 3 may further include input and output devices, network access devices, etc.
The at least one Processor 32 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The processor 32 may be a microprocessor or the processor 32 may be any conventional processor or the like, and the processor 32 is a control center of the server 3 and connects the various parts of the entire server 3 by various interfaces and lines.
The memory 31 may be used to store the computer program 33 and/or the module/unit, and the processor 32 implements various functions of the server 3 by running or executing the computer program and/or the module/unit stored in the memory 31 and calling data stored in the memory 31. The memory 31 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the server 3, and the like. Further, the memory 31 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other non-volatile solid state storage device.
With reference to fig. 1, the memory 31 in the server 3 stores a plurality of instructions to implement an order identification generation method, and the processor 32 can execute the plurality of instructions to implement:
receiving an order determining request sent by front-end equipment, wherein the order determining request carries an order type and an order belonging area;
determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the order total data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier;
determining a server database identifier corresponding to a target database in a plurality of databases in a distributed system through naming service of a zookeeper;
loading a first number segment with a first preset number from a number segment information table of the target database to a remote dictionary service (redis) cache;
extracting the target number identification of the first number segment from the redis cache;
generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification;
and responding to the order determination request, and sending the order identification to the front-end equipment.
Specifically, the processor 32 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
In the server 3 described in fig. 3, the server database identifier corresponding to the target database is determined through the naming service of the distributed service framework zookeeper, and may be used to distinguish number segment values on different servers, and through redis asynchronous cache, blocking and stuck phenomena when the system is used may be avoided, and meanwhile, access impact to the database may also be reduced.
The modules/units integrated with the server 3 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, and Read-Only Memory (ROM).
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An order identifier generation method applied to a server is characterized by comprising the following steps:
receiving an order determining request sent by front-end equipment, wherein the order determining request carries an order type and an order belonging area;
determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the order total data of the order;
inquiring a mechanism identifier corresponding to an area to which a preset order belongs from a corresponding relation between the area to which the preset order belongs and a preset mechanism identifier;
determining a server database identifier corresponding to a target database in a plurality of databases in a distributed system through naming service of a zookeeper;
loading a first number segment with a first preset number from a number segment information table of the target database to a remote dictionary service (redis) cache;
extracting the target number identification of the first number segment from the redis cache;
generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification;
and responding to the order determination request, and sending the order identification to the front-end equipment.
2. The order identifier generating method according to claim 1, wherein determining the order identifier according to the order type, the value weight of the order corresponding to the order type, and the total data of the order comprises:
determining the value weight of an order corresponding to the order type according to the order type;
acquiring order total data of the order;
determining order priority according to the value weight and the order total data;
and determining the priority identifier corresponding to the order priority as a single number identifier.
3. The order identifier generating method according to claim 1, wherein the determining, in the plurality of databases included in the distributed system, the server database identifier corresponding to the target database through a naming service of a zookeeper in a distributed service framework includes:
determining a target database in a plurality of databases included in a distributed system according to the bearing capacity value of each database;
generating a server identifier for a server to which the target database belongs through naming service of a distributed service framework zookeeper;
and determining a server database identifier corresponding to the target database according to the database identifier of the target database and the server identifier.
4. The order identification generation method according to claim 3, wherein the determining a target database from the bearing capacity value of each of the plurality of databases included in the distributed system comprises:
acquiring historical access times of each database of the distributed system and collapse times of each database within preset time;
determining the bearing capacity value of each database according to the historical access times and the collapse times;
and determining a target database from the plurality of databases according to the bearing capacity value.
5. The order identifier generation method according to claim 3, wherein the generating, by the naming service of the distributed service framework zookeeper, the server identifier for the server to which the target database belongs includes:
acquiring an identification bit from a database identification bit table;
judging whether an identification bit capable of identifying a server to which the target database belongs exists in the identification bits;
if the identification position capable of identifying the server to which the target database belongs does not exist in the identification positions, a temporary node is created through a naming service of a distributed service framework zookeeper;
and determining the node identification of the temporary node as the server identification of the server.
6. The order identification generation method according to any one of claims 1 to 5, characterized in that the order identification generation method further comprises:
creating a monitoring event;
and monitoring the use state of the first number segment in the redis cache through the monitoring event.
7. The order identification generation method according to any one of claims 1 to 5, further comprising:
acquiring a current use value according to the use state;
judging whether the position of the current use value is in the boundary value range of the first number segment or not;
and if the position of the current use value is in the boundary value range of the first number segment, asynchronously loading a second number segment with a second preset number from the number segment information table into the redis cache.
8. An order identification generation apparatus, characterized by comprising:
the receiving module is used for receiving an order determining request sent by front-end equipment, wherein the order determining request carries an order type and an order belonging area;
the determining module is used for determining an order number identifier according to the order type, the value weight of the order corresponding to the order type and the total order data of the order, and inquiring an organization identifier corresponding to the area to which the order belongs from the corresponding relation between the area to which the preset order belongs and the preset organization identifier;
the determining module is further used for determining a server database identifier corresponding to a target database in a plurality of databases included in the distributed system through naming service of a zookeeper in a distributed service framework;
the loading module is used for loading a first number segment with a first preset number from the number segment information table of the target database into a remote dictionary service (redis) cache;
the extracting module is used for extracting the target number identification of the first number segment from the redis cache;
the generating module is used for generating an order identification according to the single number identification, the mechanism identification, the server database identification and the target number identification;
and the sending module is used for responding to the order determining request and sending the order identification to the front-end equipment.
9. A server, characterized in that the server comprises a processor and a memory, the processor being configured to execute a computer program stored in the memory to implement the order identification generation method according to any of claims 1 to 7.
10. A computer-readable storage medium comprising a storage data area storing data created according to use of blockchain nodes and a storage program area storing a computer program, wherein the computer program when executed by a processor implements the order identification generation method according to any one of claims 1 to 7.
CN202010358127.6A 2020-04-29 2020-04-29 Order mark generation method, device, server and storage medium Pending CN111694841A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010358127.6A CN111694841A (en) 2020-04-29 2020-04-29 Order mark generation method, device, server and storage medium
PCT/CN2020/099301 WO2021217863A1 (en) 2020-04-29 2020-06-30 Order identifier generation method and apparatus, server, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010358127.6A CN111694841A (en) 2020-04-29 2020-04-29 Order mark generation method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN111694841A true CN111694841A (en) 2020-09-22

Family

ID=72476835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010358127.6A Pending CN111694841A (en) 2020-04-29 2020-04-29 Order mark generation method, device, server and storage medium

Country Status (2)

Country Link
CN (1) CN111694841A (en)
WO (1) WO2021217863A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637043A (en) * 2020-11-17 2021-04-09 广州市玄武无线科技股份有限公司 Message filtering method, system, terminal and storage medium
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system
CN113011945A (en) * 2021-03-16 2021-06-22 深圳市微创云启科技有限公司 Order number generation method and device, terminal equipment and storage medium
CN113220682A (en) * 2021-05-08 2021-08-06 北京猿力未来科技有限公司 Business data analysis method, data processing method, data analysis system and storage medium
CN113487230A (en) * 2021-07-27 2021-10-08 平安国际智慧城市科技股份有限公司 Order distribution method and device, computer equipment and storage medium
CN113568891A (en) * 2021-08-05 2021-10-29 深圳墨世科技有限公司 Distributed ID generation method, device, server and readable storage medium
CN114331550A (en) * 2021-12-31 2022-04-12 北京金堤科技有限公司 Advertisement word price adjusting method and device, electronic equipment and computer storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331584A (en) * 2021-11-12 2022-04-12 中国邮电器材集团有限公司 Order data storage method, device, equipment and storage medium
CN115545829B (en) * 2022-09-29 2024-05-31 中航信移动科技有限公司 Checking display system of server identification, electronic equipment and storage medium
CN115564525B (en) * 2022-09-29 2024-05-03 中航信移动科技有限公司 Method for checking and displaying server identification, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9256659B1 (en) * 2012-08-08 2016-02-09 Amazon Technologies, Inc. Systems and methods for generating database identifiers based on database characteristics
CN106372994A (en) * 2016-08-31 2017-02-01 北京炎黄新星网络科技有限公司 Method and system for processing orders
CN106651193A (en) * 2016-12-29 2017-05-10 江西博瑞彤芸科技有限公司 Order information distribution method
CN107749015A (en) * 2017-09-30 2018-03-02 天脉聚源(北京)科技有限公司 The display methods and device of shopping guide's order
CN107798031A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Policy information querying method and device
CN107945064A (en) * 2017-10-27 2018-04-20 链家网(北京)科技有限公司 A kind of service order numbering generation method and device
CN109450987A (en) * 2018-10-18 2019-03-08 杭州云永网络科技有限公司 Number generation method, apparatus and system and storage medium
CN109936642A (en) * 2019-01-28 2019-06-25 中国银行股份有限公司 The method, apparatus and system of machine ID are generated in a kind of distributed system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243264A (en) * 2016-12-27 2018-07-03 中国移动通信有限公司研究院 A kind of sequence number generation method and system
US10476744B2 (en) * 2017-12-15 2019-11-12 Nicira, Inc. Coordinator in cluster membership management protocol
CN109240848A (en) * 2018-07-27 2019-01-18 阿里巴巴集团控股有限公司 A kind of data object tag generation method and device
CN109271388A (en) * 2018-09-29 2019-01-25 北京奇虎科技有限公司 A kind of generation method and terminal device of Identity Code
CN109783578B (en) * 2019-01-09 2022-10-21 腾讯科技(深圳)有限公司 Data reading method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9256659B1 (en) * 2012-08-08 2016-02-09 Amazon Technologies, Inc. Systems and methods for generating database identifiers based on database characteristics
CN106372994A (en) * 2016-08-31 2017-02-01 北京炎黄新星网络科技有限公司 Method and system for processing orders
CN106651193A (en) * 2016-12-29 2017-05-10 江西博瑞彤芸科技有限公司 Order information distribution method
CN107798031A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Policy information querying method and device
CN107749015A (en) * 2017-09-30 2018-03-02 天脉聚源(北京)科技有限公司 The display methods and device of shopping guide's order
CN107945064A (en) * 2017-10-27 2018-04-20 链家网(北京)科技有限公司 A kind of service order numbering generation method and device
CN109450987A (en) * 2018-10-18 2019-03-08 杭州云永网络科技有限公司 Number generation method, apparatus and system and storage medium
CN109936642A (en) * 2019-01-28 2019-06-25 中国银行股份有限公司 The method, apparatus and system of machine ID are generated in a kind of distributed system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈玉平: "浅谈石材行业订单号编码规则及应用", 《石材》, no. 05, 5 May 2019 (2019-05-05), pages 34 - 36 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637043A (en) * 2020-11-17 2021-04-09 广州市玄武无线科技股份有限公司 Message filtering method, system, terminal and storage medium
CN113011945A (en) * 2021-03-16 2021-06-22 深圳市微创云启科技有限公司 Order number generation method and device, terminal equipment and storage medium
CN112862574A (en) * 2021-04-08 2021-05-28 上海哔哩哔哩科技有限公司 Distributed order number generation method and system
CN113220682A (en) * 2021-05-08 2021-08-06 北京猿力未来科技有限公司 Business data analysis method, data processing method, data analysis system and storage medium
CN113487230A (en) * 2021-07-27 2021-10-08 平安国际智慧城市科技股份有限公司 Order distribution method and device, computer equipment and storage medium
CN113568891A (en) * 2021-08-05 2021-10-29 深圳墨世科技有限公司 Distributed ID generation method, device, server and readable storage medium
CN113568891B (en) * 2021-08-05 2024-02-20 深圳墨世科技有限公司 Distributed ID generation method, device, server and readable storage medium
CN114331550A (en) * 2021-12-31 2022-04-12 北京金堤科技有限公司 Advertisement word price adjusting method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
WO2021217863A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
CN111694841A (en) Order mark generation method, device, server and storage medium
AU2014262240B2 (en) Entity resolution from documents
US7444596B1 (en) Use of template messages to optimize a software messaging system
US11164115B1 (en) Capacity planning and data placement management in multi-cloud computing environment
CN110543516A (en) Intelligent contract processing method and device, computer equipment and storage medium
CN109859002B (en) Product pushing method, device, computer equipment and storage medium
CN112241506A (en) User behavior backtracking method, device, equipment and system
CN113688923A (en) Intelligent order abnormity detection method and device, electronic equipment and storage medium
CN115328759A (en) Form verification method and device
CN111899018B (en) Order data processing method, device, server and storage medium
CN111767481B (en) Access processing method, device, equipment and storage medium
CN111651248A (en) Timed task execution method and device, electronic equipment and storage medium
CN112199483A (en) Information input assisting method and device, electronic equipment and storage medium
CN112700261A (en) Suspicious community-based brushing behavior detection method, device, equipment and medium
CN112312335A (en) Reminding short message sending method and device and electronic equipment
CN110070383B (en) Abnormal user identification method and device based on big data analysis
CN112053058A (en) Index model generation method and device
CN111679959A (en) Computer performance data determination method and device, computer equipment and storage medium
CN115002062B (en) Message processing method, device, equipment and readable storage medium
CN110209347A (en) A kind of retrospective date storage method
CN115562934A (en) Service flow switching method based on artificial intelligence and related equipment
CN113656466A (en) Policy data query method, device, equipment and storage medium
CN112348687A (en) Policy data processing method and device
CN112434237A (en) Page loading method and device, electronic equipment and storage medium
CN112308440A (en) Work order processing method and device, computer equipment and computer readable storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40029469

Country of ref document: HK