CN115481603A - Management method and server for generating object ID based on preset ID configuration rule - Google Patents

Management method and server for generating object ID based on preset ID configuration rule Download PDF

Info

Publication number
CN115481603A
CN115481603A CN202211153967.4A CN202211153967A CN115481603A CN 115481603 A CN115481603 A CN 115481603A CN 202211153967 A CN202211153967 A CN 202211153967A CN 115481603 A CN115481603 A CN 115481603A
Authority
CN
China
Prior art keywords
preset
configuration rule
rule information
target
configuration
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
CN202211153967.4A
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.)
BOE Technology Group Co Ltd
Beijing Zhongxiangying Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing Zhongxiangying Technology 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 BOE Technology Group Co Ltd, Beijing Zhongxiangying Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202211153967.4A priority Critical patent/CN115481603A/en
Publication of CN115481603A publication Critical patent/CN115481603A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a management method, a server and a computer storage medium for generating an object ID based on a preset ID configuration rule. The management method comprises the following steps: determining preset ID configuration rule information; determining preset ID configuration rule information bound to a service object; when a business object creates a business object, generating a target ID according to corresponding preset ID configuration rule information; and binding the target ID with the object to realize the preset ID management of the object. The management method provided by the embodiment of the application is used for binding corresponding preset ID configuration rule information preset by a user to each business object, and after the preset ID configuration rule information of the business object is determined, the business object creates an object, so that a target ID is generated according to the preset ID configuration rule information of the business object, the target ID and the object are bound, and the preset ID management of the object is realized.

Description

Management method and server for generating object ID based on preset ID configuration rule
Technical Field
The present application relates to the field of digital management, and in particular, to a management method, a server, and a computer-readable storage medium for generating an object ID based on a preset ID configuration rule.
Background
In the related art, the generation rules of the ID numbers in the production and warehousing processes are not uniform. The complicated generation rules result in the user not being able to effectively extract information in the ID, and the multiple generation rules also increase the development cost of ID generation. Therefore, how to provide a general ID generation method with high adaptability becomes a problem to be solved urgently.
Disclosure of Invention
The application provides a management method, a server and a computer readable storage medium for generating an object ID based on a preset ID configuration rule.
The management method for generating the object ID based on the preset ID configuration rule, provided by the embodiment of the application, comprises the following steps:
determining preset ID configuration rule information;
determining the preset ID configuration rule information bound to the business object;
when the business object creates the object, generating a target ID according to the preset ID configuration rule information;
and binding the target ID with the object to realize preset ID management of the object.
The management method provided by the embodiment of the application is used for binding corresponding preset ID configuration rule information preset by a user to each business object, and after the preset ID configuration rule information of the business object is determined, the business object creates an object, so that a target ID is generated according to the preset ID configuration rule information of the business object, the target ID and the object are bound, and the preset ID management of the object is realized.
In some embodiments, the determining preset ID configuration rule information includes:
acquiring user input of editing the preset ID configuration rule information in a configuration user interface by a user;
determining the preset ID configuration rule information according to the user input;
and binding the preset ID configuration rule information with the corresponding service object.
In some embodiments, the determining the preset ID configuration rule information according to the user input includes:
acquiring a plurality of configuration relation tables of user configuration rules;
acquiring a rule name in the user input, and associating a plurality of configuration relation tables according to the rule name;
and adding the parameters input by the user to the corresponding configuration relation table to determine the preset ID configuration rule information.
In some embodiments, the generating a target ID according to the corresponding preset ID configuration rule information includes:
acquiring all preset segments;
configuring each preset segment according to the corresponding preset ID configuration rule information to obtain splicing data;
and integrating the splicing data according to a user configuration rule to obtain the target ID.
In some embodiments, the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain splicing data includes:
acquiring a history generation ID;
determining a prefix segmentation value range according to the corresponding preset ID configuration rule information;
matching the historical generation ID with the prefix segmentation value range to obtain a target prefix;
and configuring the prefix segmentation according to the target prefix to obtain prefix splicing data.
In some embodiments, the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain splicing data includes:
determining a last serial number according to the historical generation ID;
calling a serial number assignment table according to the last serial number to generate a target serial number;
and configuring the serial number segments according to the target serial number to obtain serial number splicing data.
In some embodiments, the integrating the splicing data according to the user configuration rule to obtain the target ID includes:
and integrating the prefix splicing data and the serial number splicing data according to a user configuration rule to obtain the target ID.
In some embodiments, the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain splicing data includes:
determining the sub-object number of the sub-object in the object according to the corresponding preset ID configuration rule information;
calling a delimiter assignment table to obtain a target delimiter to configure a delimiter field to obtain delimiter splicing data;
and configuring suffix segments according to the sub-object numbers to obtain suffix splicing data.
The present application further provides a server, including:
a processor, and,
a memory communicatively coupled to the processor, wherein,
the memory has stored therein instructions executable by the processor to perform the method of any of the above.
The present application further provides a computer-readable storage medium, which stores computer instructions, and a computer can implement the management method according to any one of the above-mentioned embodiments by executing the computer instructions.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description, taken in conjunction with the accompanying drawings, wherein:
fig. 1 is a schematic flowchart of a management method according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram of a configuration user interface according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a configuration user interface according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a configuration user interface according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a configuration user interface according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a configuration user interface according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a memory structure according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a specific data structure of a target ID according to an embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application.
Description of reference numerals: a processor 10, a memory 20.
Detailed Description
The present application is described in detail below, and examples of the present application are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The following description, with reference to the drawings, is exemplary in nature and is intended to be illustrative of the present application and is not to be construed as limiting the present application.
The management of ID numbers in factory production and warehousing is very extensive, and the management of different objects (such as different production elements or services) requires the generation and management of corresponding ID numbers. At present, most systems are scattered in management of ID numbers, and each ID is generally managed by independently writing a set of rules. Therefore, the generation methods of the IDs are needed to match the number of the IDs, and the requirements of the user for customizing the ID rules need to be written with different programs to meet the requirements. The utility model provides a management method for generating object ID based on preset ID configuration rule, which adopts a universal preset ID configuration rule information configuration rule model and a system, meets the requirement that the system is rapidly customized according to the actual requirement of factory production, greatly reduces the cost and difficulty of system development ID number, and can still achieve the requirement of on-line change of factory production by a method that configuration is effective without shutdown according to the actual requirement after the system is on line.
Specifically, referring to fig. 1, a method for managing a preset ID configuration rule generated object ID provided in an embodiment of the present application includes:
s10, determining preset ID configuration rule information;
s20, determining preset ID configuration rule information bound to the business object;
s30, when the business object creates the object, generating a target ID according to corresponding preset ID configuration rule information;
and S40, binding the target ID with the object to realize preset ID management of the object.
The management method provided by the embodiment of the application binds corresponding preset ID configuration rule information preset by a user to each business object, and after the preset ID configuration rule information of the business object is determined, the business object creates an object, so that a target ID is generated according to the preset ID configuration rule information of the business object, the target ID and the object are bound, and the preset ID management of the object is realized.
It should be noted that each link of the factory production may correspond to different business objects, taking a semiconductor factory as an example, each link of the semiconductor factory production may include a batch (Lot), a Product (Product), a Carrier (Carrier), a Consumable material (Consumable), a reusable material or spare part (Durable), a Work Order (WO), an order (Product order, PO), a stock level (stock), a package (package), and the like, and each link may correspond to one business object. For each business object.
Wherein a batch is the smallest unit of work performed on a product, and a batch contains one or more products. The product refers to a semi-finished product or a finished product in a specific production process. The carrier is a tool for carrying and transporting a product. Consumable materials are consumables used in the production of products. Reusable materials or spare parts are reusable items that can be reused many times during the production of a product. The work order is the basis for arranging the work and task amount in the production process. Orders are the basis used in the production process to promote custom production for the customer. The storage position is a shelf or a special storage position for temporarily storing articles required by production of products, materials, carriers and the like in the production process. The wrapping is to pack the finished product into a box, a box or a bundle of the packaged articles. The business object can create object objects for each corresponding batch, each product, each carrier, each consumable material, each reusable material or spare part, each work order, each storage space and each package, and an ID is used for information binding, so as to realize the system management of the object objects.
According to the method, the preset ID configuration rule information can be bound for each business object when a system is designed, so that after the preset ID configuration rule information bound by the business objects is determined, the ID generation rule is designed in a parameter mode, and the ID rule generation method is quickly constructed.
Then, when the business object creates the object, the object ID is generated according to the preset ID configuration rule information corresponding to the business object, and the object ID and the created object are bound to realize the preset ID management of the object system.
The target ID generated by the method is composed of character strings with fixed lengths, and the target ID can reflect some basic production information so as to facilitate operators, upper-layer managers, analysts and the like to construct important sources and execution units of information man-machine interaction and management based on the target ID number, so that a convenient man-machine interaction form can be rapidly constructed, and the object objects are managed. The target ID may be composed of a prefix, a Serial number, a separator, and a Suffix, that is, the generated target ID may have four segment attributes of a prefix (prefix), a Serial number (Serial), a separator (Delimiter), and a Suffix (Suffix), each segment has some common segment types, such as a constant defined by a user, and a dynamic variable such as a year, a month, a day, and a Serial number is added to the target ID, or a variable generated when the target ID is executed according to an actual production system of a plant. Wherein, if the segment type is specified to be a constant or a serial number, the segment value generation target ID can be specified accordingly.
When the target ID is generated, based on the comprehensive consideration of multiple factors such as convenience in communication, convenience in memory, convenience in statistical analysis and convenience in computer storage in the factory production process, uniqueness and the like, the prefix is used for storing basic information, and for the same object, the prefix and the serial number are used for guaranteeing the uniqueness of the object. In order to see the mother-child relationship between the sub-object and the main object from the target ID, the target ID is produced in a form of adding a mother-child separator and a suffix on the basis of a serial number of the suffix, wherein the suffix can identify the uniqueness of the sub-object, and specifically, the suffix can determine the uniqueness of the sub-object in a split serial number manner.
After the structure of the target ID is determined, a corresponding storage structure may be designed according to the value-taking rule configured by each segment user, and a user configuration rule design configuration relation table corresponding to the preset ID configuration rule information is used to store the corresponding parameter. After the storage structure is designed, a corresponding configuration user interface model can be designed to execute user operation to generate preset ID configuration rule information of each business object.
In certain embodiments, step S10 comprises:
acquiring user input of a user for editing preset ID configuration rule information in a configuration user interface;
determining preset ID configuration rule information according to user input;
and binding the preset ID configuration rule information with the corresponding service object.
It can be understood that the configuration user interface can display parameter information required to be input for constructing the user configuration rule, and a user can execute corresponding operation for the user interface through the input device, so that corresponding parameters are input to edit the preset ID configuration rule information, that is, the system can obtain user input required by the user to edit the preset ID configuration rule information of each service object in the configuration user interface, and determine the preset ID configuration rule information according to the user input to create the user configuration rule. For example, the product specification (ProductSpec) may be bound to the corresponding preset ID configuration rule information, and the Factory (Factory) may be bound to the corresponding preset ID configuration rule information.
For a plurality of business objects, each business object may set a user configuration rule determined by one preset ID configuration rule information, or may set a user configuration rule determined by a plurality of preset ID configuration rule information. For example, for a user configuration rule adopted by a product development project in a warehouse management system, IDs are all required for BOX, warehouse location, warehouse entry and exit orders, warehouse entry and exit work orders, inventory task work orders and the like of a warehouse, and thus the IDs can be configured and bound one by one. And then binding the warehouses and the user configuration rules used by the warehouses, wherein different warehouses can adopt different user configuration rules. This allows for rapid construction of a unified management of multiple warehouses.
The configuration user interface may include a rule list interface, and the rule list interface may include a rule list, a query function control, a newly added control, and the like, where the rule list includes information such as a serial number, a rule name, a remark, a naming length, an operation, and the like. The rule list may be as shown in the first table in fig. 2. The operation information in the rule list may edit or delete the user configuration rule, and editing the user configuration rule includes modifying the rule name and remark, as shown in fig. 3. The newly added control of the rule list interface may newly add a user configuration rule, as shown in fig. 4.
Further, the configuration user interface may include a rule detail interface, and a user selecting a user configuration rule in the rule list interface may switch to the rule detail interface, so as to view the rule detail list, where the rule detail list includes information such as a sequence number, a rule name, a location, a segment name, a segment attribution, a segment value type, a segment length, a segment value, an exclusion symbol, and an operation, and the rule detail list may be shown in the second table in fig. 2. When the user deletes the user configuration rule in the rule list, the corresponding rule detail information is deleted. The rule detail list also includes an additional control, so that the rule detail can be added, as shown in fig. 5. The operation information in the rule detail list may move up, down, edit, and/or delete the user configuration rule, and the editing of the rule detail may be as shown in fig. 6.
The rule list interface and the rule detail interface can be realized through two Grid views.
In some embodiments, the step of determining the preset ID configuration rule information according to the user input includes:
acquiring a plurality of configuration relation tables of user configuration rules;
acquiring a rule name input by a user, and associating a plurality of configuration relation tables according to the rule name;
and adding the parameters input by the user to the corresponding configuration relation table to determine the preset ID configuration rule information.
The preset ID configuration rule information of the embodiment of the present application constructs a storage structure in a manner of a plurality of configuration relationship tables, so as to store parameters input by a user, and associates the plurality of configuration relationship tables with rule names.
In one embodiment, as shown in FIG. 7, the plurality of configuration relationship tables for the user configuration rule may include a NamingRauleDef, a NamingRauleAtttrDef, a NamingRauleSerial, and a NamingRauleSerit. The NamingCledef is used for registering the name and the total length of the user configuration rule; the NamingJuleAttrDef stores all components of character strings in the rule specification of preset ID configuration rule information and arranges the components from small to large according to positions; the NaningTracule service stores the last sequence number generated when the fragment value type is the sequence number; the naminggrouscope store the last split sequence number generated when the segment type is a split sequence number.
Specifically, the content of each segment of the namingrule attrdef table is designed as shown in the following table:
Figure BDA0003857606130000101
further, the segment type is designed as shown in the following table:
Figure BDA0003857606130000111
in addition, the values of the sequence number and the split sequence number can be shown in the following table:
Figure BDA0003857606130000112
specifically, pure numerical (Numeric): each bit can only be "0" to "9", but the minimum bit must start with 1, since people counting usually starts with 1. Such as "001-999," which may contain a total of 999 sequence numbers.
Pure letters (Alpha): each bit can only be "A" to "Z", such as "AAA-ZZZ".
Letter + number (alphanumerical): each bit can only be "0" to "9", then "A" to "Z".
The letter + number, but excluding all 0's following a (AlphaNumericExA a 00), all 0's are excluded because all 0's are easily generated to be out of alignment with the actual number. Each bit can only be "0" to "9", then "a" to "Z", but excluding "a" + followed by all zeros.
Letter + number (AlphaNumericlstAlpha), the first letter must be the letter: each bit can only be "0" to "9", then "a" to "Z", but the first character must be "a-Z", and all 0's following a are excluded.
Letter + number (alphanumericlstdigital), the first character must be a number: each bit can only be "0" to "9", then "A" to "Z", but the first character must be "0-9".
Thus, the uniqueness of the ID can be realized through the values of the serial number and the split serial number, and it can be understood that the serial number and the split serial number can adopt the same type of values or different types of values.
In certain embodiments, step S30 comprises:
acquiring all preset segments;
configuring each preset segment according to corresponding preset ID configuration rule information to obtain splicing data;
and integrating the splicing data according to the user configuration rule to obtain the target ID.
Therefore, the management method can carry out standardized design on the finally generated ID format, each section obtained through design is matched with one corresponding configuration rule, each splicing data used for matching is formed according to the corresponding configuration rule, each splicing data is further integrated through the preset user configuration rule, the target ID is generated through splicing, and therefore the ID generation method with high universality is provided.
In some embodiments, configuring each preset segment according to the corresponding preset ID configuration rule information to obtain the splicing data includes:
acquiring a history generation ID;
determining a prefix segmentation value range according to corresponding preset ID configuration rule information;
matching the historical generated ID and the prefix segmentation value range to obtain a target prefix;
and configuring the prefix segments according to the target prefix to obtain prefix splicing data.
In this way, the purpose of generating a new ID at this time is achieved by recording the ID generated last time each time.
Referring to fig. 8, taking factory work order management as an example, the prefix may be composed of factory workshop + year + month + date + customer number, and is divided into five parts. The plant shop is typically performed by a system operator to select which plant is conditional on entering a parameter, such as plant shop names F1, F2, F3. The year represents the year when the order was created, and usually takes 4 or two digits, for example 2022 or 22. The month represents the month when the order is created, and usually takes 2 bits or 1 bit, and two are 01-12; taking one digit is 1-C, where A represents 10 months, B represents 11 months, and C represents 12 months, or handing over the user to define which letters represent 10 months, 11 months, and 12 months, respectively. Days represent days of the month when the order was created, and are typically represented in two digits, 01-31. The client number is a client number defined in the system by selecting which client is a condition to be introduced into a parameter when the system operator performs the operation, and the system designs a plurality of client numbers at first during the design. The incoming customer number enables the customer information to be found.
In some embodiments, configuring each preset segment according to the corresponding preset ID configuration rule information, and the step of obtaining the concatenation data further includes:
determining a last serial number according to the history generation ID;
calling a serial number assignment table according to the last serial number to generate a target serial number;
and configuring the serial number segments according to the target serial number to obtain serial number splicing data.
Wherein, the sequence number is usually expressed by a sequence number with fixed length, and the sequence number adopts a self-increment mode. It is possible to set which letters cannot be included in the serial number, etc., such as "I" and "1" lower case letter "1", which are easily displayed or printed out so as to be unclear, resulting in an error in person identification. Letters and the like which are not wanted or preferred to see can also be customized, such as "13", "4", and the like.
In some embodiments, the step of integrating the splicing data according to the user configuration rule to obtain the target ID comprises: and integrating the prefix splicing data and the serial number splicing data according to a user configuration rule to obtain a target ID.
In this way, when the uniqueness of the target ID is determined by the prefix and the serial number, the prefix and the serial number are recorded at the same time so as to generate a new target ID next time with reference to the next generation of the new target ID.
In one example, the target ID of the first B6 customer worksheet for F1 factory, 2020, 1 month, 1 day may be: F1200101B600001, where F1200101B6 is a prefix, it can be understood that the prefixes in the customer work orders of the same factory and the same customer on the same day are the same, and then the system needs to remember the prefix and the current serial number, so that the second B6 customer work order on 1 month 1 of 2020 of the F1 factory can generate F1200101B600002, and the current serial number is updated to 00002. If the first B6 customer work order is given in 1/2/2020, the prefix is changed to F1200102B6, the serial number is counted again from 00001, and the system needs to remember F1200102B6 and the current serial number 00001. If the first B7 customer work order is 1/2020, the prefix is changed to F1200102B7, the sequence number is counted again from 00001, and the system needs to remember F1200101B7 and the current sequence number 00001.
In some embodiments, configuring each preset segment according to the corresponding preset ID configuration rule information, and obtaining the splicing data further includes:
determining the sub-object number of the sub-object in the object according to the corresponding preset ID configuration rule information;
calling a delimiter assignment table to obtain a target delimiter to configure a delimiter field to obtain delimiter splicing data;
and configuring suffix segments according to the sub-object numbers to obtain suffix splicing data.
Therefore, a plurality of sub-objects are split from the same object, the original main work order information is reserved, then the information of the sub-work orders is added, and the separators and the suffixes are added on the basis of the original prefixes and the original serial numbers. The separator is usually represented by an alphabetic symbol, and english half-corner characters, i.e., symbols displayable in ASCII code, can be used. Suffixes are typically represented by split ordinal numbers.
Similarly to the prefix and the serial number, the object and the ID of the child object generated last time are stored together so that the object ID of the next new child object is generated based on the master order with reference to the next generation of the object ID corresponding to the new child object.
As a work order for the F1 plant: the first sub-object work order of F1200101B600001, F1200101B600001-001, has a separator (Delimiter) of "-" and a suffix of "001". The master ID, separator, and current suffix number need to be saved. The next child work order of the parent work order is thus obtained as F1200101B600001-002.
Referring to fig. 9, the present application further provides a server, including:
the processor 10, and,
a memory 20 communicatively coupled to the processor 10, wherein,
the memory 20 stores instructions that can be executed by the processor 10 to implement any of the above-described management methods.
The server provided by the present application can execute the instructions stored in the memory 20 through the processor 10 to implement any one of the above management methods. The beneficial effects of implementing any of the above management methods have been described in detail above, and are not described herein again.
The present application also provides a computer-readable storage medium, in which computer instructions are stored, and a computer can implement the management method of any one of the above by executing the computer instructions.
The computer-readable storage medium provided by the present application stores computer instructions, and by executing such instructions, the present application can implement any one of the management methods described above. The beneficial effects of implementing any of the above management methods have been described in detail above, and are not described herein again.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In addition, in the description of the present specification, the description about the "word" and the "word" is only an illustrative description. And not to limit the length or type of word or phrase. In some embodiments, words may be replaced with similar phrases or phrases.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable actions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although the present application has been shown and described above, it is understood that the above-described embodiments are exemplary and should not be construed as limiting the present application and that variations, modifications, substitutions and alterations of the above-described embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A management method for generating an object ID based on a preset ID configuration rule is characterized by comprising the following steps:
determining preset ID configuration rule information;
determining the preset ID configuration rule information bound to the business object;
when the business object creates the object, generating a target ID according to the corresponding preset ID configuration rule information;
and binding the target ID with the object to realize the preset ID management of the object.
2. The method according to claim 1, wherein the determining preset ID configuration rule information includes:
acquiring user input of editing the preset ID configuration rule information in a configuration user interface by a user;
determining the preset ID configuration rule information according to the user input;
and binding the preset ID configuration rule information with the corresponding service object.
3. The method according to claim 2, wherein the determining the preset ID configuration rule information according to the user input includes:
acquiring a plurality of configuration relation tables of user configuration rules;
acquiring a rule name in the user input, and associating a plurality of configuration relation tables according to the rule name;
and adding the parameters input by the user to the corresponding configuration relation table to determine the preset ID configuration rule information.
4. The method according to claim 1, wherein the generating a target ID according to the corresponding preset ID configuration rule information comprises:
acquiring all preset segments;
configuring each preset segment according to the corresponding preset ID configuration rule information to obtain splicing data;
and integrating the spliced data according to a user configuration rule to obtain the target ID.
5. The management method according to claim 4, wherein the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain the concatenation data includes:
acquiring a history generation ID;
determining a prefix segmentation value range according to the corresponding preset ID configuration rule information;
matching the historical generation ID and the prefix segmentation value range to obtain a target prefix;
and configuring the prefix segmentation according to the target prefix to obtain prefix splicing data.
6. The management method according to claim 5, wherein the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain the concatenation data includes:
determining a last serial number according to the history generation ID;
calling a serial number assignment table according to the last serial number to generate a target serial number;
and configuring the serial number segments according to the target serial number to obtain serial number splicing data.
7. The method according to claim 6, wherein the integrating the splicing data according to the user configuration rule to obtain the target ID comprises:
and integrating the prefix splicing data and the serial number splicing data according to a user configuration rule to obtain the target ID.
8. The management method according to claim 6, wherein the configuring each preset segment according to the corresponding preset ID configuration rule information to obtain the concatenation data includes:
determining the sub-object number of the sub-object in the object according to the corresponding preset ID configuration rule information;
calling a separator assignment table to acquire a target separator to configure a separator field to obtain separator splicing data;
and configuring suffix segments according to the sub-object numbers to obtain suffix splicing data.
9. A server, comprising:
a processor, and, in addition,
a memory communicatively coupled to the processor, wherein,
the memory has stored therein instructions executable by the processor to perform the method of any of claims 1 to 8.
10. A computer-readable storage medium storing computer instructions, wherein a computer can implement the management method according to any one of claims 1 to 8 by executing the computer instructions.
CN202211153967.4A 2022-09-21 2022-09-21 Management method and server for generating object ID based on preset ID configuration rule Pending CN115481603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211153967.4A CN115481603A (en) 2022-09-21 2022-09-21 Management method and server for generating object ID based on preset ID configuration rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211153967.4A CN115481603A (en) 2022-09-21 2022-09-21 Management method and server for generating object ID based on preset ID configuration rule

Publications (1)

Publication Number Publication Date
CN115481603A true CN115481603A (en) 2022-12-16

Family

ID=84393030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211153967.4A Pending CN115481603A (en) 2022-09-21 2022-09-21 Management method and server for generating object ID based on preset ID configuration rule

Country Status (1)

Country Link
CN (1) CN115481603A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186796A (en) * 2023-02-21 2023-05-30 中国人民解放军海军工程大学 Sequence number generation method, system, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186796A (en) * 2023-02-21 2023-05-30 中国人民解放军海军工程大学 Sequence number generation method, system, electronic equipment and storage medium
CN116186796B (en) * 2023-02-21 2024-01-30 中国人民解放军海军工程大学 Sequence number generation method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110618983B (en) JSON document structure-based industrial big data multidimensional analysis and visualization method
US6163774A (en) Method and apparatus for simplified and flexible selection of aggregate and cross product levels for a data warehouse
US20060218160A1 (en) Change control management of XML documents
CN100447781C (en) Method and system for mapping XML to N-dimensional data structure
CN115481603A (en) Management method and server for generating object ID based on preset ID configuration rule
CN110990403A (en) Business data storage method, system, computer equipment and storage medium
CN115668266A (en) Production order decomposition method and device
CN114519067A (en) Data index query model compiled based on automatic SQL
JP4287464B2 (en) System infrastructure configuration development support system and support method
US7305411B2 (en) Methods, systems, and storage mediums for expanding the functionality of database applications
JP4562749B2 (en) Document compression storage method and apparatus
US8423523B2 (en) Apparatus and method for utilizing context to resolve ambiguous queries
CN104205134A (en) Mobile terminal management server, and mobile terminal management program
JP2009048594A (en) Global article data, article management program, and device operated by the program
CN115328908A (en) Visualization operation generation solution method based on Flink
KR101815561B1 (en) Client program of erp system
US11222174B2 (en) Systems and methods for generating logical documents for a document evaluation system
CN114201456A (en) Information processing system, information processing method, and computer-readable medium
KR101855251B1 (en) Client program of erp system
US7149711B2 (en) Apparatus for issuing commodity codes for commodity model names
RU2696295C1 (en) Method of forming and structuring an electronic database
CN113704574B (en) Address standardization method and device
Methlie Schema design using a data structure matrix
CN114154771A (en) Product pre-sale support system, method, computer readable storage medium and terminal
CN115129723A (en) Dynamic maintenance data configuration method

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