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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com