Coding management method and platform, computer equipment and storage medium
Through the coding management method and platform of user-defined coding grouping, generation rules and section operations, the problems of low coding generation performance and inflexible management in the existing technology are solved, and efficient and unified coding management is realized, which is suitable for the industrial Internet. and other fields.
Patent Information
- Application Number
- CN202410690762.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology that generates codes based on database stored procedures has problems of low performance, poor efficiency, and inflexibility. It lacks a unified coding management platform and cannot cope with the challenges brought by the explosive growth of data scale, resulting in coding management models and system integrated management. Conflicts deepen.
Provide a coding management method and platform that allows users to customize coding grouping, generation rules and section operations. Through the operation permission confirmation module, custom operation execution module and coding deployment application module, users can realize visual coding generation and management, and support online Configure, test and monitor, providing centralized coding management.
It realizes user-defined coding management, improves the flexibility and accuracy of coding generation rules, improves efficiency differences, and provides a unified coding management platform, which is suitable for unified management of enterprise full resource coding and supports industrial Internet logo analysis and other fields.
Smart Images

Figure CN118733044A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of coding management, and in particular to a coding management method, platform, computer device and storage medium. Background Art
[0002] The system coding in the prior art all uses specific database stored procedures and specific code generation logic to achieve simple code generation management, for example: users generate codes through stored procedures in the database. In the case of distributed scenarios, the uniqueness of code generation can be guaranteed, so that in the code storage process, the current maximum code value can be obtained and the incrementing sequence number can be returned +1. Very few software in the prior art will provide simple page configuration support, and some relatively complex coding scenarios, such as adding year, month, and day to the code or more complex scenarios.
[0003] Currently, the code generated based on database stored procedures has problems such as low performance, poor efficiency and lack of flexibility. The stored procedures generated based on database stored procedures are not easy to maintain, so database scripts have been gradually eliminated in mainstream technical solutions. Each software needs to develop and maintain the code of its own business data according to its own business scenarios.
[0004] The above methods will be used in conjunction with some auxiliary information to calculate and generate codes. System codes are implemented by technicians with fixed configurations and fixed algorithms, but there is a lack of a coding management platform that allows users to flexibly customize configurations and conduct simulation tests. The company lacks a unified coding management platform, and the backward coding management concepts and technical implementations that have been used for many years are no longer able to withstand the challenges brought about by the current explosive growth of data scale, making the contradiction between the decentralized management mode of coding and the integrated management of the system increasingly serious. Summary of the invention
[0005] In order to improve the problem that users lack customized operations on system encoding, the present application provides an encoding management method, platform, computer device and storage medium.
[0006] In the first aspect, the present application provides a coding management method, which adopts the following technical solution: A coding management method, the method comprising the following steps: Receive a custom operation request sent by a user terminal, and immediately judge the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority; When the user terminal is determined to have the operation authority, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code sections; After the user terminal completes the custom operation, a comprehensive judgment is made on the result of the custom operation, and the code generated by the custom operation is selectively applied according to the result of the comprehensive judgment.
[0007] By adopting the above technical solution, it is achieved that users can flexibly customize the configuration and perform coding management for simulation testing.
[0008] Optionally, the method further comprises the following steps: Receive a request for changing the coding generation rule sent by the user terminal, and immediately judge the user terminal corresponding to the change request to determine whether the user terminal has the operation authority; When the user terminal determines that it has the operation authority, stopping the operation on each of the codes under the code generation rule according to the change request; After each of the encoding stops, the user terminal is allowed to customize the encoding generation rule.
[0009] By adopting the above technical solution, the effects of instant judgment of coding generation rules and real-time customized operation are achieved.
[0010] Optionally, the method further comprises the following steps: Receiving a coding editing request sent by the user terminal, and immediately judging the user terminal corresponding to the editing request to determine whether the user terminal has operation authority; When the user terminal determines that it has the operation authority, stopping the encoding operation according to the editing request; When the encoding is stopped, the user terminal is allowed to customize the name and description information of the encoding; When the encoding is stopped, the user terminal is allowed to delete and format the encoding.
[0011] Optionally, the comprehensive judgment includes the following steps: According to the type and value in the coding section, obtain the code generated by the coding section; Obtaining a custom code generation rule included in the custom operation request; Verify whether the code is generated in accordance with the code generation rule, and record the verification result of each code in real time; When the code is generated according to the code generation rule, the code is deployed and applied.
[0012] By adopting the above technical solution, online configuration, online testing and online monitoring are realized, and the effect of centralized coding management is provided, and the effect of improving the accuracy of the coding generated by the coding generation rules is improved.
[0013] Optionally, the instant determination of whether the user terminal has the operation authority comprises the following steps: Obtain user information of the client associated with the custom operation request; According to the information of the screening condition customized by the management party, determine whether the user information meets the screening condition; When the user information meets the screening condition, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code sections.
[0014] By adopting the above technical solution, the management party can increase and decrease the user terminals associated with the custom operation request at any time, which improves the problem of poor efficiency in generating codes based on database stored procedures.
[0015] Optionally, the user terminal customizes the code generation rule, specifically: When each of the codes is in a stopped state, the user terminal directly edits the code generation rule; When the code generation rule is edited, the edited code generation rule will be automatically synchronized to each of the codes generated by the code generation rule; When the encoding is in the activated state, the encoding is directly changed according to the edited encoding generation rule.
[0016] Optionally, the verification result of each of the codes is recorded in real time, specifically: When the result of the custom operation is comprehensively judged, the verification result of the code will be recorded and saved immediately; Receive a code query request sent by a user terminal, and immediately judge the user terminal corresponding to the code query request to determine whether the user terminal has operation authority; When the user terminal is determined to have the operation authority, the user terminal is allowed to view the verification result of the code within half a minute and the historical records of all codes.
[0017] In the second aspect, the present application provides a coding management platform, which adopts the following technical solutions: Optionally, a coding management platform, comprising: The operation authority confirmation module is used to receive the user-defined operation request sent by the user terminal, and immediately judge the user terminal corresponding to the user-defined operation request to determine whether the user terminal has the operation authority; A custom operation execution module, used to allow the user terminal to execute custom operations of custom code grouping, custom code generation rules and custom code sections when the user terminal is determined to have operation authority; The code deployment application module is used to make a comprehensive judgment on the result of the custom operation after the user terminal completes the custom operation, and selectively apply the code generated by the custom operation according to the result of the comprehensive judgment.
[0018] The above platform solidifies the method into hardware, combines various business objects of intelligent manufacturing, performs custom operations of induction, analysis and design, realizes online custom configuration, online custom testing and online custom monitoring of coding, and provides centralized coding management effect; it is designed and built based on the concepts of custom coding generation rules, custom coding sections and custom coding, which allows users to visualize custom coding generation rules.
[0019] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method when executing the computer program.
[0020] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.
[0021] In summary, this application includes the following beneficial technical effects: 1. If there is no unified coding management method within the enterprise, it will seriously restrict the pace of enterprise informatization and the rapid implementation of industrial Internet identity resolution. This coding management method has the effect of flexible user customization and coding management that can perform simulation tests; 2. Design and build based on the concepts of custom code generation rules, custom code sections and custom codes, which allows users to visualize custom code generation rules; 3. The management party can add and reduce the user terminals associated with the custom operation request at any time, which can improve the efficiency problem of generating codes based on database stored procedures. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a method flow chart of a coding management method provided in an embodiment of the present application.
[0023] Figure 2 It is a flow chart of the method for changing the encoding generation rule in the embodiment of the present application.
[0024] Figure 3 It is a flow chart of the coding editing method described in the embodiment of the present application.
[0025] Figure 4 It is a flow chart of the method for instant judgment of operation authority described in the embodiment of the present application.
[0026] Figure 5 It is a flow chart of the method for comprehensive judgment of the operation results described in the embodiments of the present application.
[0027] Figure 6 It is a structural diagram of a coding management platform provided in an embodiment of the present application.
[0028] Figure 7 It is a structural diagram of the operation authority confirmation module in an embodiment of the present application.
[0029] Figure 8 It is a structural diagram of the coding deployment application module in the embodiment of the present application.
[0030] Fig. 9 It is a schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following is combined with Figure 1-9 The present application is further described in detail.
[0032] The present invention supports code generation management across industries, especially the one-to-one-code scenario in the field of industrial Internet identification resolution, such as equipment coding, product coding, material coding, warehouse area coding, and warehouse location coding, and is suitable for unified management of all enterprise resource coding.
[0033] The embodiment of the present invention provides a coding management method, which can be applied to various system operating platforms. The execution subject adopts microservices, memory computing and cross-platform technologies to achieve coding management, and provides various standard interfaces such as http, webservice, interface extension, etc. The method flow chart of the method is as follows Figure 1 As shown, specifically including: S1. Receive a custom operation request sent by a user terminal, and immediately judge the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority; The operation authority is a screening condition customized by the management party; Furthermore, the customization operation request sent by the user terminal includes customization of the coding grouping, coding generation rule, coding section and coding description information executed by the user terminal.
[0034] S2. When the user terminal is determined to have the operation authority, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code segments; The management party may select one or more user terminals with operation authority; Furthermore, based on the screening conditions customized by the administrator, the administrator only allows users with operation permissions to call the customized code generation rules to generate codes.
[0035] S3. After the user terminal completes the custom operation, a comprehensive judgment is made on the result of the custom operation, and the code generated by the custom operation is selectively applied according to the result of the comprehensive judgment.
[0036] The custom operation supports 11 different types of custom coding segments; Furthermore, the code is generated according to the type and value in the custom code segment, and the user terminal freely combines, defines and expands the custom code segment. The types of the custom code segment specifically include: A1, Auto increment type: the user terminal combines, defines and expands the custom code segment of this type according to the code generation rule, and the custom code segment of this type will gradually increase according to the base selected by the user terminal; The user terminal can select the following seven base types: 0, 2, 4, 6, 8, 10, and 16. The user terminal can limit the length of the code and the starting value of the code. If the length of the code is less than the minimum length of the code limited in the custom code generation rule, the user terminal can supplement the base value with custom characters.
[0037] It should be noted that, if the user terminal selects the 0-base type in the Auto self-increment type, since the 0-base type belongs to a custom base type, the user terminal can customize any character value through the "Coding Generation Rule Definition" displayed on the right side of the interface of the coding management platform.
[0038] A2. GUID type: It is a globally unique identifier, which is a digital identifier with a binary length of 128 bits generated by an algorithm; the user terminal combines, defines and expands the custom code segment of this type according to the code generation rules, and generates the code according to the type and value of the custom code segment.
[0039] A3, StaticString, SysParam, InstanceParam, IncomingParam types: the user end combines, defines and expands the custom code segment of this type according to the code generation rule, and generates the code according to the type and value of the custom code segment.
[0040] A4. AccountID type: the user terminal obtains the ID information of the user terminal as a parameter combination and expands it to the custom coding section according to the coding generation rule, and generates the code according to the type and value of the custom coding section.
[0041] A5. AccountName type: the user terminal obtains the user terminal's account nickname as a parameter combination and expands it to the custom coding section according to the coding generation rule, and generates the code according to the type and value of the custom coding section.
[0042] A6. DateTime type: The user terminal obtains time values from multiple sources as parameter combinations and expands them to the custom coding segment according to the coding generation rules, and generates the code according to the type and value of the custom coding segment.
[0043] A7, ResourcePool type: the user terminal combines and expands to the custom code section according to the code generation rule by allowing CSV file import, and generates code according to the type and value of the custom code section; It should be noted that the CSV file is a plain text format file used to store data. The first header row of the imported CSV file does not take values, and values are taken in sequence from the second row until the last value is taken.
[0044] A8, JavaScript type: the user terminal generates the code according to the code generation rule, combines and extends the generated values of the custom JavaScript function to the custom code segment, and generates the code according to the type and value of the custom code segment; It should be noted that the generated value of the custom JavaScript function supports multiple ways of input, including: AccountId, AccountName, SysParam, InstanceParam, IncomingParam, CodeGenTime and segment type.
[0045] As an embodiment of the present invention, Figure 2 As shown, based on the content of the above step S1, the present invention receives a custom operation request sent by a user terminal, and immediately judges the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority, which may specifically include: S11, receiving a request for changing the coding generation rule sent by the user terminal, and immediately judging the user terminal corresponding to the change request to determine whether the user terminal has operation authority; S12, when the user terminal determines that it has the operation authority, stopping the operation on each of the codes under the code generation rule according to the change request; S13: After each of the encoding stops, the user terminal is allowed to customize the encoding generation rules.
[0046] As an embodiment of the present invention, Figure 3 As shown, based on the content of the above step S1, the present invention receives a custom operation request sent by a user terminal, and immediately judges the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority, which may specifically include: S14, receiving a coding editing request sent by the user terminal, and immediately judging the user terminal corresponding to the editing request to determine whether the user terminal has operation authority; S15, when the user terminal determines that it has the operation authority, stopping the encoding operation according to the editing request; S16, when the encoding is in the stopped state, allowing the user terminal to customize the name and description information of the encoding; S17: When the encoding is stopped, the user terminal is allowed to delete and format the encoding.
[0047] As an embodiment of the present invention, Figure 4 As shown, based on the content described in the above step S2, when the user terminal determines that it has the operation authority, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code segments, which may specifically include: S21, obtaining user information of the user terminal associated with the custom operation request; S22, judging whether the user information meets the screening condition according to the information of the screening condition customized by the management party; S23. When the user information meets the screening condition, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code sections.
[0048] As an embodiment of the present invention, Figure 5 As shown, the present invention is based on the content described in the above step S3. After the user terminal completes the custom operation, a comprehensive judgment is made on the result of the custom operation. According to the result of the comprehensive judgment, the code generated by the custom operation is selectively applied, which may specifically include: S31, obtaining the code generated by the coding segment according to the type and value in the coding segment; S32, obtaining a custom code generation rule included in the custom operation request; S33, verifying whether the code is generated in accordance with the code generation rule, and recording the verification result of each code in real time; S34. When the code is generated in accordance with the code generation rule, the code is deployed and applied.
[0049] As an embodiment of the present invention, based on the content of step S13, the present invention allows the user terminal to customize the coding generation rule after each coding stop state, which may include: S131, when each of the codes is in a stopped state, the user terminal directly edits the code generation rule; S132, when the editing of the code generation rule is completed, the edited code generation rule will be automatically synchronized to each of the codes generated by the code generation rule; S133: When the coding is in the activated state, the coding is directly changed according to the edited coding generation rule.
[0050] As an embodiment of the present invention, the present invention verifies whether the code is generated in accordance with the code generation rule based on the content of the above step S33, and records the verification result of each code in real time, which may specifically include: S331, when the result of the custom operation is comprehensively judged, the verification result of the code will be recorded and saved immediately; S332, receiving a code query request sent by a user terminal, and immediately judging the user terminal corresponding to the code query request to determine whether the user terminal has operation authority; S333: When the user terminal is determined to have the operation authority, the user terminal is allowed to view the verification result of the code within half a minute and the historical records of all codes.
[0051] As an embodiment of the present invention, Figure 6 As shown, an embodiment of the present invention provides a coding management platform, including an operation authority confirmation module S1, a custom operation execution module S2 and a coding deployment application module S3.
[0052] The operation authority confirmation module 41 is used to receive a custom operation request sent by a user terminal, and to immediately judge the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority; A custom operation execution module 42, used to allow the user terminal to execute custom operations of custom code grouping, custom code generation rules and custom code sections when the user terminal has the operation authority; The custom coding group corresponds to the custom classification node of the custom operation execution module 42; Further, the user terminal clicks the small plus sign next to the coding tree to add the custom classification node, the custom classification node is set below the coding tree, and one or more custom classification nodes can also be added below the custom classification node; Furthermore, the user terminal can edit the name of the custom classification node through the "node name" that appears on the right side of the encoding management platform.
[0053] Wherein, the custom code generation rule corresponds to the custom rule node in the custom operation execution module; Further, the custom rule node is added according to the small plus sign next to the custom classification node, the custom rule node is set below the custom classification node, and one or more rule nodes can also be added below the rule node; Furthermore, after the user clicks on the rule node, he can set the required custom coding generation rules through the "Coding Generation Rule Definition" that appears on the right side of the coding management platform. The custom coding generation rules can set one or more coding segments, and the user end can select different types of custom coding segments to combine and define.
[0054] Wherein, the custom coding section corresponds to the custom instance node in the custom operation execution module; Furthermore, an instance node is added according to the small plus sign next to the rule node, the user terminal selects the instance node, and then the "coding definition" that appears on the right side of the coding management platform can be used to fill in the instance information that needs to be added.
[0055] Furthermore, each segment in the instance information is in a non-editable state, and the coded segment can be directly synchronized from the custom rule node of the upper layer.
[0056] The code deployment and application module 43 is used to make a comprehensive judgment on the result of the custom operation after the user terminal completes the custom operation, and selectively apply the code generated by the custom operation according to the result of the comprehensive judgment.
[0057] The rule information changing module 44 is used to stop the operation of each code under the code generation rule according to the change request when the user terminal determines that it has the operation authority; when each code is stopped, the user terminal is allowed to make customized changes to the code generation rule.
[0058] The premise for the user end to customize the code generation rule is that the code generation action is in a stopped state; Furthermore, the user terminal selects the rule node to be changed, and directly changes the rule node through the "Coding Generation Rule Definition" that appears on the right side of the coding management platform. The changed rule node will be saved; Furthermore, the rule node that has been changed is automatically synchronized to each code under the rule node, and when the instance under the rule node is started again, a new code is generated according to the changed code generation rule; Furthermore, the user terminal selects the rule node to be deleted, and the user terminal can delete all the codes covered by the rule node, and the deleted codes can be viewed through the code deployment application module 43.
[0059] Coding information editing module 45: When the user terminal determines that it has the operation authority, the coding is stopped according to the editing request; when the coding is stopped, the user terminal is allowed to customize the name and description information of the coding; when the coding is stopped, the user terminal is allowed to delete and format the coding.
[0060] The custom instance node includes two states: start and stop; Furthermore, the startup state of the custom instance node: the newly added custom code generation rule can only generate new codes when the code generation rule is started; Furthermore, the stop state of the custom instance node: when the code is stopped, the newly added code can be initialized, edited and deleted, including: Initial operation of the code: after the custom code generation rule is initialized, all previously generated codes are cleared and regenerated; The code change operation: the user terminal selects the newly added code and edits the code according to the "Code Definition" label that appears on the right side of the code management platform, but can only edit the name, description, content of the section in the instance and description information of the code; Deletion operation of the code: when the newly added code below the rule node is stopped, the user terminal can delete the code, and the deleted code can be checked in the code generation monitoring module.
[0061] As an embodiment of the present invention, Figure 7 As shown, based on the contents described in the above-mentioned operation authority confirmation module 41, it may specifically include: A user information acquisition unit 411 is used to acquire user information of the user terminal associated with the custom operation request; The screening condition acquisition unit 412 is used to determine whether the user information meets the screening condition according to the information of the screening condition customized by the management party; The user information judging unit 413 is used to allow the user terminal to perform custom operations of custom coding grouping, custom coding generation rules and custom coding sections when the user information meets the screening condition.
[0062] As an embodiment of the present invention, Figure 8 As shown, based on the content described in the above-mentioned coding deployment application module 43, it may specifically include: The coding information acquisition unit 431 is used to acquire the code generated by the coding segment according to the type and value in the coding segment; A rule information acquisition unit 432 is used to acquire a custom code generation rule included in the custom operation request; A coding information verification unit 433, used to verify whether the coding is generated in accordance with the coding generation rule, and to record the verification result of each coding in real time; The code deployment and application unit 434 is used to deploy and apply the code when the code is generated according to the code generation rule.
[0063] Furthermore, the code is in the startup state, and the code is tested in the "code generation test" of the code management platform to see whether it is generated according to the code generation rule, and to verify whether the code is generated according to the code generation rule defined by the user end. If the code is generated according to the code generation rule, the code is deployed and applied; Further, the client selects the instance name to be tested and enters the number of generated codes, and then clicks the code list on the right side of the code management platform to view the generated codes in a timely manner; Furthermore, the generation status of each code is determined in real time, and the code deployment application module 43 records hourly statistics, daily statistics, weekly statistics and code recycling scenarios.
[0064] The various modules of the encoding management platform can be implemented in whole or in part through software, hardware and their combination, supporting processors embedded in or independent of computer devices in hardware form, and also supporting memories stored in computer devices in software form, so that the processor can call and execute the corresponding operations of the above modules.
[0065] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0066] A computer device, referring to Fig. 9 As shown, the computer device used to execute the above-mentioned coding management platform includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities; the memory of the computer device includes a non-volatile storage medium and an internal memory; the processor of the computer device implements the steps of the above-mentioned coding management method when executing the computer program; the non-volatile storage medium stores an operating system, a computer program and a database; the internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium.
[0067] It should be noted that the user information (including but not limited to user device information and personal information, etc.) and data (including but not limited to data used for analysis, stored data and displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0068] A computer storage medium, when executed by a processor, can implement the steps of the above-mentioned encoding management method.
[0069] Specifically, a person of ordinary skill in the art completes all or part of the processes in the above-mentioned embodiment method through hardware related to computer program instructions. The computer program may be stored in a non-volatile computer-readable storage medium, and the computer program may include the processes of the embodiments of the above-mentioned methods when executed. Any reference to a memory, a database or other medium used in the embodiments of the present application may include at least one of a non-volatile and a volatile memory. The non-volatile memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM) or a flash memory. The volatile memory may include a random access memory (RAM) or an external cache memory. RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), double data rate SDRAM (DDRSDRAM), synchronous DRAM (SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus dynamic RAM (RDRAM), memory bus (Rambus) direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0070] Technical personnel in the relevant field can clearly understand that the division of the above-mentioned functional units and modules is only used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0071] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A coding management method, It is characterized in that The method comprises the following steps: Receive a custom operation request sent by a user terminal, and immediately judge the user terminal corresponding to the custom operation request to determine whether the user terminal has the operation authority; When the user terminal is determined to have the operation authority, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code sections; After the user terminal completes the custom operation, a comprehensive judgment is made on the result of the custom operation, and the code generated by the custom operation is selectively applied according to the result of the comprehensive judgment.
2. A coding management method according to claim 1, It is characterized in that The method further comprises the steps of: Receive a request for changing the coding generation rule sent by the user terminal, and immediately judge the user terminal corresponding to the change request to determine whether the user terminal has the operation authority; When the user terminal determines that it has the operation authority, stopping the operation on each of the codes under the code generation rule according to the change request; When each of the codes is in a stopped state, the user terminal is allowed to customize the code generation rule.
3. A coding management method according to claim 1, It is characterized in that The method further comprises the steps of: Receiving a coding editing request sent by the user terminal, and immediately judging the user terminal corresponding to the editing request to determine whether the user terminal has operation authority; When the user terminal determines that it has the operation authority, stopping the encoding operation according to the editing request; When the code is in a stopped state, the user terminal is allowed to customize the name and description information of the code; When the code is in a stopped state, the user terminal is allowed to delete and format the code.
4. A coding management method according to claim 1, It is characterized in that The comprehensive judgment comprises the following steps: According to the type and value in the coding section, obtain the code generated by the coding section; Obtaining a custom code generation rule included in the custom operation request; Verify whether the code is generated in accordance with the code generation rule, and record the verification result of each code in real time; When the code is generated according to the code generation rule, the code is deployed and applied.
5. A coding management method according to claim 1, It is characterized in that The instant judgment of whether the user terminal has the operation authority includes the following steps: Obtain user information of the client associated with the custom operation request; According to the information of the screening condition customized by the management party, determine whether the user information meets the screening condition; When the user information meets the screening condition, the user terminal is allowed to perform custom operations of custom code grouping, custom code generation rules and custom code sections.
6. A coding management method according to claim 2, It is characterized in that The user terminal customizes the code generation rule, specifically: When each of the codes is in a stopped state, the user terminal directly edits the code generation rule; When the code generation rule is edited, the edited code generation rule will be automatically synchronized to each of the codes generated by the code generation rule; When the encoding is in the activated state, the encoding is directly changed according to the edited encoding generation rule.
7. A coding management method according to claim 4, It is characterized in that The verification result of each code is recorded in real time, specifically: When the result of the custom operation is comprehensively judged, the verification result of the code will be recorded and saved immediately; Receive a code query request sent by a user terminal, and immediately judge the user terminal corresponding to the code query request to determine whether the user terminal has operation authority; When the user terminal is determined to have the operation authority, the user terminal is allowed to view the verification result of the code within half a minute and the historical records of all codes.
8. A coding management platform, It is characterized in that include: The operation authority confirmation module is used to receive the user-defined operation request sent by the user terminal, and immediately judge the user terminal corresponding to the user-defined operation request to determine whether the user terminal has the operation authority; A custom operation execution module, used to allow the user terminal to execute custom operations of custom code grouping, custom code generation rules and custom code sections when the user terminal is determined to have operation authority; The code deployment application module is used to make a comprehensive judgment on the result of the custom operation after the user terminal completes the custom operation, and selectively apply the code generated by the custom operation according to the result of the comprehensive judgment.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 7.
