Order identifier generation method and device, server and storage medium

A server and order technology, which is applied in the field of servers, storage media, devices, and order identification generation methods, can solve problems such as database access conflicts, and achieve the effects of avoiding blockages and freezes, avoiding conflicts, and reducing access impacts

Pending Publication Date: 2020-09-22
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For data in different databases, if you continue to use the method of auto-incrementing the order number of the database to generate the order ID, it obviously cannot meet the requirements, and it is easy to cause conflicts when accessing different databases

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Order identifier generation method and device, server and storage medium
  • Order identifier generation method and device, server and storage medium
  • Order identifier generation method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0052] The terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be interpreted as indicating or Implying their relative importance or implying the number of technical features indicated. It should be understood that the data so used are interchangeable under appropriate circumstances,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a blockchain technology, and provides an order identifier generation method, which comprises the steps of receiving an order determination 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 amount data of the order, and querying an organization identifier corresponding to the area to which the order belongs from a corresponding relationship between the area to which the preset order belongs and a preset organization identifier; in a plurality of databases included in the distributed system, determining a server database identifier corresponding to the target database through naming service of a distributed service framework; loading a first preset number of first number segments into a remote dictionary service cache from a number segment information table of the target database; extracting a target number identifier of the first segment from the cache; generating an order identifier according to the order number identifier, the institution identifier, the server database identifier and the target number identifier; and sending the order identifier to the front-end device, wherein the related data and information can be stored in the blockchain node.

Description

technical field [0001] The present invention relates to the distributed technical field of blockchain, and in particular to a method, device, server and storage medium for generating an order identifier. Background technique [0002] At present, the system uses a single database to generate the order number through the sequence auto-increment of the database. For distributed systems, different fields use different databases, and it is necessary to distinguish the uniqueness of a large amount of data and messages. For data in different databases, if you continue to use the method of auto-incrementing the order number of the database to generate the order ID, it obviously cannot meet the requirements, and it is easy to cause conflicts when accessing different databases. Contents of the invention [0003] In view of the above, it is necessary to provide a method, device, server and storage medium for generating an order identifier. The present invention also relates to the f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22G06F16/23G06F16/2455G06F16/27G06Q30/06G06Q40/08
CPCG06Q30/0635G06Q40/08G06F16/22G06F16/2365G06F16/24552G06F16/27
Inventor 陈平
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products