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

Extensible universal code generation system and method

A generation system and coding technology, which is applied in the direction of instruments, calculations, electrical digital data processing, etc., can solve the problems of inability to cope with business expansion, coding rule changes, enterprise-defined personalized coding, etc., and achieve the goal of ensuring consistency and correctness Effect

Pending Publication Date: 2020-10-30
HUAZHONG UNIV OF SCI & TECH +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing coding tools are usually integrated in the information system, oriented to specific fields, and realize code generation through preset coding object types and coding rules, which can meet the needs of coding management in the business field of information systems, but cannot cope with business expansion , changes in coding rules, and the needs of enterprises to customize personalized coding

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
  • Extensible universal code generation system and method
  • Extensible universal code generation system and method
  • Extensible universal code generation system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0090] Taking a general code generator to code the "company notification number" rule file of an enterprise as an example, the coding method of the company notification file is as follows:

[0091]

[0092] Among them, the first 3 digits c 1 c 2 c 3 It is a company code, that is, the first letter of the company's abbreviation is capitalized [MGS]; c 4 c 5 Two representatives to notify the category, such as administrative, financial, business; c 6 c 7 c 8 c 9 4-digit year; c 10 c 11 c 12 It is a 3-digit document serial number.

[0093] The steps of encoding generation using the present invention are:

[0094] 1) First, register the notification type information in the OA (Office Automation, office automation) system. In this example the notification type is:

[0095] Notification = {id, type, post_time, title, content, signer, scope, create_time, create_user}.

[0096] Including the type name "Notification" and the attributes of the notification object, such as...

Embodiment 2

[0105] Take a company that newly implements a product code in a product management system as an example. In this example, the product type in the product system is:

[0106] Product={id,is_standard,type,code,name,short_name,en_name,version,description,ext_json,create_user,create_time,update_user,update_time}

[0107] Among them, is_standard identifies whether the product is a standard product: standard product [0], customized product [1]; type is the type of product, including: 0 (control class), 1 (protection class), 2 (monitoring class) three product types ;name, short_name, and en_name are the name, abbreviation, and English name of the product, version is the version number of the product, description is a brief description of the product, and ext_json is an extended attribute set in json format. In this system, the product number is defined as:

[0108]

[0109] where: c 1 c 2 c 3 is the company code; c 4 It is the product category code, calculated from the is_st...

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 belongs to the technical field of computer science informatization, and discloses an extensible universal code generation system and method, and the method comprises the steps that a code object registration center manages all object type information needing to be coded; the coding rule definition device defines a coding rule; a code generator obtains a corresponding attribute valuefrom an object to be coded according to the definition of a coding rule, obtains a new code value through attribute calculation, code conversion and fragment combination, and distributes the new codevalue to a code applicant, wherein the coding object type library stores all registered object types; the encoding rule base stores all encoding rule definitions; the code library stores the code andgenerates an object attribute value of the code. According to the invention, a new coding object type can be dynamically registered according to business requirements, a coding generation rule is customized, a new code is generated, the management of the coding object type, the coding rule and the code is provided, and the correctness, uniqueness and consistency of the code are ensured.

Description

technical field [0001] The invention belongs to the technical field of computer science informatization, and in particular relates to an expandable general code generation system and method. Background technique [0002] Currently, coding is widely used in many business fields. The role of coding is to standardize the classification and labeling of substances. The government and industry associations will formulate standard coding systems for common objects, such as the official document coding system; for the convenience of management, enterprises will also code business objects, for example, within the enterprise, people, documents, materials, etc. are usually coded to standardize distinguish and identify. [0003] The planning of the coding rule system is difficult, and it is generally formulated by an expert group in the field. After the rule system is formulated, objects are managed according to standard identification methods. During use, it is necessary to ensure ...

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): G06F40/126
CPCG06F40/126
Inventor 王超熊体凡巨冠军
Owner HUAZHONG UNIV OF SCI & TECH
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