Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Business code generation method and apparatus

A business code and coding technology, applied in the field of data processing, can solve problems such as poor scalability, difficult data migration, and poor transmission performance

Inactive Publication Date: 2018-04-06
XIAMEN ANSCEN NETWORK TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0028] Embodiments of the present invention provide a method and device for generating service codes, which are used to solve the problems of poor scalability, poor readability, poor transmission performance, and difficult data migration in existing methods of generating service codes

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
  • Business code generation method and apparatus
  • Business code generation method and apparatus
  • Business code generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] Embodiment 1 of the present invention provides a method for generating service codes, such as figure 1 As shown, it is a schematic flowchart of the method for generating a service code according to Embodiment 1 of the present invention, and the method may include the following steps:

[0070] Step 101: The Nth business code generation service receives a business code acquisition request.

[0071] Step 102: According to the service code acquisition request, configure the prefetch service code program corresponding to the service code acquisition request, wherein the prefetch service code program corresponds to the Nth service code generation service, and N is A positive integer greater than zero.

[0072] Step 103: Send a prefetch service code program request to the server, the prefetch service code program request carries a prefetch service code program, and when it is determined that the sequence number in the service code queue is less than a preset threshold value, ...

Embodiment 2

[0112] Based on the same inventive concept as that of Embodiment 1 of the present invention, Embodiment 2 of the present invention provides a device for generating service codes. For the specific implementation of the device, please refer to the relevant descriptions in Embodiment 1 of the above-mentioned method, and the repetition is omitted. To repeat, the schematic diagram of its structure is as follows Figure 4 As shown, the device mainly includes:

[0113] The first receiving unit 41 is configured to receive a service code acquisition request;

[0114] The configuration unit 42 is configured to configure a prefetch service code step corresponding to the service code acquisition request according to the service code acquisition request, wherein the prefetch service code step corresponds to the Nth service generation service, N is a positive integer greater than zero;

[0115] Generating unit 43, can be used for sending pre-fetch service code program request to server, a...

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 discloses a business code generation method and apparatus. The method comprises the steps of reading data corresponding to a business code pre-obtaining pace from a server by configuringthe business code pre-obtaining pace corresponding to a business code obtaining request through an Nth business generation service, and generating business codes; and then according to a received business code reading request, reading the business codes corresponding to the business code pre-obtaining pace from a business code queue, and returning the business codes to a caller. According to thetechnical scheme, horizontal expansion can be supported, and codes with format requirements such as invoice numbers and the like also can be met; and while business functions are met, unified management of the business codes in a system is facilitated, demand changes can be quickly responded, configuration information of the business codes can be changed during operation, and re-configuration canbe realized without any change.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method and device for generating service codes. Background technique [0002] In the application system, the business technology device is used in many places, such as a simple application form, the document number is generated by the business counter, the document number can be an increasing number, including letters and numbers String, according to different business needs, it is also possible to limit its length, and it may contain some business information, such as adding it as scheduled, or adding some business-related information to the prefix, through the document number You will be able to know what type of documents. The business order number is just one of the ways to use it, and asset tags, food tags, etc. will all use the function of business counting. The business counter is mainly to generate a string of unique and non-repeated character strings ...

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
IPC IPC(8): G06F17/30H04L29/12
CPCH04L61/3015G06F16/2291G06F16/24578H04L2101/30
Inventor 黄峰梁煜麓罗佳
Owner XIAMEN ANSCEN NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products