Parameter value acquisition method and device, electronic equipment, storage medium and product
By determining cross-process parameter types and process matching rules in the business orchestration system of the autonomous network, the problem of obtaining cross-process parameter values is solved, efficient acquisition of cross-process parameter values is achieved, and the business needs of the autonomous network system are met.
Patent Information
- Application Number
- CN202410591147.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology lacks a parameter value acquisition method suitable for cross-process parameters, which makes it difficult to obtain parameter values across multiple CFS processes in the business orchestration system of the autonomous network.
By determining the parameter type of the cross-process parameter, the process matching rules are determined based on the type, and then the parameter value is extracted from the corresponding process, including the processing of dependent types and non-dependent types, and the process matching rules are established to achieve the acquisition of cross-process parameters.
It achieves efficient acquisition of cross-process parameter values, enhances the ability of the business orchestration system to handle multiple CFS-level work orders, and meets the need for parameter value acquisition across multiple CFS processes.
Smart Images

Figure CN118740935A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a parameter value acquisition method, device, electronic equipment, storage medium and product. Background Art
[0002] With the development of network technology, major operators are accelerating the transformation and upgrading of Autonomous Networks (AN) to meet the business needs of data integration, capability sharing and reuse, and flexible service orchestration, which puts higher requirements on the service orchestration system based on Autonomous Networks.
[0003] The CFS / RFS specification is a business specification in the telecommunications field. In the SID (Shared Information and Data) system, there are three concepts involved: products, services, and resources. Services are divided into customer-oriented services CFS (Customer Facing Service) and resource-oriented services RFS (Resource Facing Service). A product can be composed of one or more CFSs, a CFS is composed of one or more RFSs, and RFS can be composed of one or more resources.
[0004] The business orchestration system based on the self-intelligent network needs to comply with the requirements of the CFS / RFS specification on service order management, and split the customer-level work order into multiple CFS-level work orders. Each CFS-level work order can be regarded as a CFS process. When processing multiple CFS-level work orders, the business orchestration system needs to have the ability to obtain parameter values across multiple CFS processes (i.e., CFS-level work orders), that is, the ability to obtain parameter values of cross-process parameters.
[0005] However, there is no method for obtaining parameter values applicable to cross-process parameters in the prior art. Summary of the invention
[0006] The present invention provides a parameter value acquisition method, device, electronic device, storage medium and product, which are used to solve the defect that there is no parameter value acquisition method suitable for cross-process parameters in the prior art.
[0007] The present invention provides a parameter value acquisition method, comprising: determining a parameter type of a cross-process parameter; determining a process matching rule based on the parameter type; determining a process corresponding to the cross-process parameter based on the process matching rule, and extracting the parameter value of the cross-process parameter from the process.
[0008] According to a parameter value acquisition method provided by the present invention, the parameter type includes a dependency type, and the process matching rule includes a dependent process rule; based on the parameter type, the process matching rule is determined, including: if the parameter type is a dependent type, the process matching rule is determined to be a dependent process rule; based on the process matching rule, the process corresponding to the cross-process parameter is determined, and the parameter value of the cross-process parameter is extracted from the process, including: obtaining the dependent process identifier corresponding to the cross-process parameter; the dependent process identifier is used to identify the dependent process where the cross-process parameter is located; based on the dependent process rule and the dependent process identifier, the dependent process corresponding to the cross-process parameter is determined; the number of dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the dependent process.
[0009] According to a parameter value acquisition method provided by the present invention, the parameter type includes a non-dependent type, and the process matching rule includes a non-dependent process rule; based on the parameter type, the process matching rule is determined, including: if the parameter type is a non-dependent type, the process matching rule is determined to be a non-dependent process rule; based on the process matching rule, the process corresponding to the cross-process parameter is determined, and the parameter value of the cross-process parameter is extracted from the process, including: obtaining the non-dependent process identifier corresponding to the cross-process parameter; the non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; based on the non-dependent process rule and the non-dependent process identifier, the non-dependent process corresponding to the cross-process parameter is determined; the number of non-dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the non-dependent process.
[0010] According to a parameter value acquisition method provided by the present invention, before determining the parameter type of a cross-process parameter, it also includes: responding to a parameter value acquisition request, determining the parameter to be acquired based on the parameter value acquisition request; judging whether the parameter to be acquired is a cross-process parameter; if it is determined that the parameter to be acquired is not a cross-process parameter, extracting the parameter value of the parameter to be acquired from the process in which the parameter to be acquired is currently located.
[0011] According to a parameter value acquisition method provided by the present invention, before determining the parameter type of the cross-process parameter, it also includes: responding to a first configuration instruction of a user, generating a process matching rule based on the first configuration instruction; and storing the process matching rule in a database.
[0012] A parameter value acquisition method provided according to the present invention also includes: responding to a second configuration instruction of the user, modifying the parameter type of the cross-process parameter based on the configuration instruction; and storing the modified parameter type of the cross-process parameter in a database.
[0013] The present invention also provides a parameter value acquisition device, comprising: a first determination module, used to determine the parameter type of a cross-process parameter; a second determination module, used to determine a process matching rule based on the parameter type; an acquisition module, used to determine the process corresponding to the cross-process parameter based on the process matching rule, and extract the parameter value of the cross-process parameter from the process.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the parameter value acquisition methods described above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for obtaining parameter values as described above is implemented.
[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for obtaining a parameter value as described above is implemented.
[0017] The present invention provides a parameter value acquisition method, device, electronic device, storage medium and product, which determine the parameter type of a cross-process parameter; determine the process matching rule based on the parameter type; determine the process corresponding to the cross-process parameter based on the process matching rule, and extract the parameter value of the cross-process parameter from the process. Through the above method, the corresponding process matching rule is first determined according to the parameter type of the cross-process parameter, and then the process corresponding to the cross-process parameter is determined based on the process matching rule, and the parameter value of the cross-process parameter is extracted from the process. By setting the process matching rule, the connection between the cross-process parameter and the process corresponding to the cross-process parameter is established. After the process corresponding to the cross-process parameter is determined based on the process matching rule, the parameter value of the cross-process parameter can be directly extracted from the process corresponding to the cross-process parameter, thereby realizing efficient acquisition of the parameter value of the cross-process parameter. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 This is one of the flow charts of the parameter value acquisition method provided by the present invention;
[0020] Figure 2 This is the second flow chart of the parameter value acquisition method provided by the present invention;
[0021] Figure 3 It is a structural schematic diagram of a parameter value acquisition device provided by the present invention;
[0022] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0025] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] See also Figure 1 , Figure 1 This is one of the flow charts of the parameter value acquisition method provided by the present invention. In this embodiment, the parameter value acquisition method is applied to a service orchestration system based on an intelligent network, and specifically includes steps S110 to S130, each of which is as follows:
[0027] S110: Determine the parameter type of the cross-process parameter.
[0028] When processing multiple CFS-level work orders, the business orchestration system needs to have the ability to obtain parameter values across multiple CFS processes (ie, CFS-level work orders), that is, the ability to obtain parameter values of cross-process parameters.
[0029] Generally, there are dependencies between different CFS processes. For example, the execution of CFS process A depends on CFS process B and CFS process C, and the execution of CFS process B depends on CFS process D, and so on.
[0030] It is understandable that since the business data or parameters in different CFS processes are related, when processing the current CFS process, it may be necessary to use the parameter values in other CFS processes. For example, when processing CFS process A, it may be necessary to use the parameter values in CFS process C. At this time, the business orchestration system needs to obtain cross-process parameters and extract the parameter values required for CFS process A from CFS process C.
[0031] Generally, parameter types of cross-process parameters include dependent types and non-dependent types.
[0032] For each cross-process parameter, if there is a dependency relationship between the CFS process where the cross-process parameter is located (i.e. the CFS process corresponding to the cross-process parameter) and other CFS processes, the parameter type of the cross-process parameter is a dependent type; if there is no dependency relationship between the CFS process where the cross-process parameter is located (i.e. the CFS process corresponding to the cross-process parameter) and other CFS processes, the parameter type of the cross-process parameter is a non-dependent type.
[0033] If the parameter types of cross-process parameters are different, the methods of obtaining parameter values across processes are also different. Therefore, you need to determine the parameter types of cross-process parameters first.
[0034] S120: Determine a process matching rule based on the parameter type.
[0035] Since the parameter types of cross-process parameters are different, the methods of obtaining parameter values across processes are also different. Therefore, different process matching rules can be set according to the parameter types of cross-process parameters.
[0036] The process matching rule refers to a preset rule for searching and determining the CFS process corresponding to the cross-process parameter based on the parameter type.
[0037] Generally, process matching rules include dependent process rules and non-dependent process rules, wherein dependent process rules refer to rules for searching and determining the corresponding CFS process for cross-process parameters of dependent types, and non-dependent process rules refer to rules for searching and determining the corresponding CFS process for cross-process parameters of non-dependent types.
[0038] Specifically, based on the parameter type, a process matching rule is determined.
[0039] S130: Determine the process corresponding to the cross-process parameter based on the process matching rule, and extract the parameter value of the cross-process parameter from the process.
[0040] The present embodiment provides a parameter value acquisition method, which determines the parameter type of a cross-process parameter; determines the process matching rule based on the parameter type; determines the process corresponding to the cross-process parameter based on the process matching rule, and extracts the parameter value of the cross-process parameter from the process. In the above manner, the corresponding process matching rule is first determined according to the parameter type of the cross-process parameter, and then the process corresponding to the cross-process parameter is determined based on the process matching rule, and the parameter value of the cross-process parameter is extracted from the process. By setting the process matching rule, a connection is established between the cross-process parameter and the process corresponding to the cross-process parameter. After the process corresponding to the cross-process parameter is determined based on the process matching rule, the parameter value of the cross-process parameter can be directly extracted from the process corresponding to the cross-process parameter, thereby realizing efficient acquisition of the parameter value of the cross-process parameter.
[0041] In some embodiments, the parameter type includes a dependency type, and the process matching rule includes a dependency process rule.
[0042] Based on the parameter type, a process matching rule is determined, including: if the parameter type is a dependent type, determining the process matching rule to be a dependent process rule.
[0043] Based on the process matching rules, the process corresponding to the cross-process parameter is determined, and the parameter value of the cross-process parameter is extracted from the process, including: obtaining the dependent process identifier corresponding to the cross-process parameter; the dependent process identifier is used to identify the dependent process where the cross-process parameter is located; based on the dependent process rules and the dependent process identifier, the dependent process corresponding to the cross-process parameter is determined; the number of dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the dependent process.
[0044] Specifically, the service orchestration system may process each CFS process in sequence based on the dependency relationship between all CFS processes.
[0045] For the CFS process (ie, the current process) currently processed by the business orchestration system, if the processing process of the current process needs to use the parameter value of a certain parameter, a parameter value acquisition request may be generated.
[0046] Furthermore, in response to the parameter value acquisition request, the business orchestration system first determines the parameter to be acquired (ie, the parameter to be utilized) based on the parameter value acquisition request, and determines whether the parameter to be acquired is a cross-process parameter.
[0047] If it is determined that the parameter to be obtained is not a cross-process parameter, it means that the parameter to be obtained is a parameter in the current process, so the parameter value of the parameter to be obtained can be directly extracted from the process where the parameter to be obtained currently resides (ie, the current process).
[0048] If it is determined that the parameter to be obtained is a cross-process parameter, it means that the parameter to be obtained is a parameter in other CFS processes and cross-process parameter acquisition is required.
[0049] Specifically, after determining that the parameter to be obtained is a cross-process parameter, the parameter type of the cross-process parameter is first determined.
[0050] If the parameter type is a dependent type, the engine module of the business orchestration system is called, and the engine module can determine that the process matching rule is a dependent process rule according to the parameter type.
[0051] The engine module can determine all CFS processes that have dependencies on the current process based on the process ID (i.e., process identifier) of the current process and the dependency relationship between all CFS processes, and determine the dependent processes corresponding to the cross-process parameters from all CFS processes that have dependencies on the current process, i.e., the dependent processes where the cross-process parameters are located.
[0052] Among them, the number of dependent processes is at least one.
[0053] Specifically, the engine module may determine the dependent process identifier corresponding to the cross-process parameter from all CFS processes that have a dependency relationship with the current process, and determine the dependent process corresponding to the cross-process parameter based on the dependent process rule and the dependent process identifier.
[0054] Furthermore, parameter values of cross-process parameters are extracted from dependent processes.
[0055] Specifically, the engine module can obtain the keyword (Key) of the cross-process parameter; based on the keyword of the cross-process parameter, search for the dependent process containing the keyword of the cross-process parameter from all CFS processes that have a dependency relationship with the current process, extract the parameter value of the cross-process parameter from the dependent process containing the keyword of the cross-process parameter; and return the obtained parameter value of the cross-process parameter to the current process.
[0056] In some embodiments, the parameter type includes a non-dependent type, and the process matching rule includes a non-dependent process rule.
[0057] Based on the parameter type, a process matching rule is determined, including: if the parameter type is a non-dependent type, determining the process matching rule to be a non-dependent process rule.
[0058] Based on the process matching rules, the process corresponding to the cross-process parameter is determined, and the parameter value of the cross-process parameter is extracted from the process, including: obtaining the non-dependent process identifier corresponding to the cross-process parameter; the non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; based on the non-dependent process rules and the non-dependent process identifier, the non-dependent process corresponding to the cross-process parameter is determined; the number of non-dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the non-dependent process.
[0059] Specifically, after determining that the parameter to be obtained is a cross-process parameter, the parameter type of the cross-process parameter is first determined.
[0060] If the parameter type is a non-dependent type, the engine module of the business orchestration system is called, and the engine module can determine that the process matching rule is a non-dependent process rule according to the parameter type.
[0061] The engine module can determine the non-dependent process corresponding to the cross-process parameter, that is, the dependent process where the cross-process parameter is located, from all CFS processes based on the process ID (i.e., process identifier) of the current process and the configured process code (Code) through the subordinate relationship of all CFS processes.
[0062] Specifically, the engine module can determine the non-dependent process identifier corresponding to the cross-process parameter based on the process ID (i.e., process identifier) of the current process, the configured process code (Code) and the subordinate relationship of all CFS processes, and determine the non-dependent process corresponding to the cross-process parameter based on the non-dependent process rule and the non-dependent process identifier;
[0063] Among them, the non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; the number of non-dependent processes is at least one.
[0064] Furthermore, parameter values of cross-process parameters are extracted from non-dependent processes.
[0065] Specifically, the engine module can obtain the keyword (Key) of the cross-process parameter; based on the keyword of the cross-process parameter, search for the CFS process containing the keyword of the cross-process parameter from all non-dependent processes, extract the parameter value of the cross-process parameter from the CFS process containing the keyword of the cross-process parameter; and return the obtained parameter value of the cross-process parameter to the current process.
[0066] This embodiment provides a method for obtaining parameter values. The engine module can automatically match and obtain the corresponding cross-process parameter values through the pre-configured process matching rules, the process ID and the keywords of the cross-process parameters, and return them to the current process, thereby realizing the acquisition of cross-process parameter values.
[0067] In some embodiments, before determining the parameter type of the cross-process parameter, it also includes: responding to a parameter value acquisition request, determining the parameter to be acquired based on the parameter value acquisition request; judging whether the parameter to be acquired is a cross-process parameter; if it is determined that the parameter to be acquired is not a cross-process parameter, extracting the parameter value of the parameter to be acquired from the process in which the parameter to be acquired is currently located.
[0068] See also Figure 2 , Figure 2 This is the second flow chart of the parameter value acquisition method provided by the present invention.
[0069] like Figure 2 As shown, for the CFS process (ie, the current process) currently processed by the business orchestration system, if the processing process of the current process needs to use the parameter value of a certain parameter, a parameter value acquisition request can be generated.
[0070] Furthermore, in response to the parameter value acquisition request, the business orchestration system first determines the parameter to be acquired (ie, the parameter to be utilized) based on the parameter value acquisition request, and determines whether the parameter to be acquired is a cross-process parameter.
[0071] If it is determined that the parameter to be obtained is not a cross-process parameter, it means that the parameter to be obtained is a parameter in the current process, so the parameter value of the parameter to be obtained can be directly extracted from the process where the parameter to be obtained currently resides (ie, the current process).
[0072] If it is determined that the parameter to be obtained is a cross-process parameter, it means that the parameter to be obtained is a parameter in other CFS processes and cross-process parameter acquisition is required.
[0073] Specifically, after determining that the parameter to be obtained is a cross-process parameter, the parameter type of the cross-process parameter is first determined.
[0074] If the parameter type is a dependent type, the engine module of the business orchestration system is called, and the engine module can determine that the process matching rule is a dependent process rule according to the parameter type.
[0075] The engine module can determine all CFS processes that have dependencies on the current process based on the process ID (i.e., process identifier) of the current process and the dependency relationship between all CFS processes, and determine the dependent processes corresponding to the cross-process parameters from all CFS processes that have dependencies on the current process, i.e., the dependent processes where the cross-process parameters are located.
[0076] Among them, the number of dependent processes is at least one.
[0077] Specifically, the engine module may determine the dependent process identifier corresponding to the cross-process parameter from all CFS processes that have a dependency relationship with the current process, and determine the dependent process corresponding to the cross-process parameter based on the dependent process rule and the dependent process identifier.
[0078] Furthermore, parameter values of cross-process parameters are extracted from dependent processes.
[0079] Specifically, the engine module can obtain the keyword (Key) of the cross-process parameter; based on the keyword of the cross-process parameter, search for the dependent process containing the keyword of the cross-process parameter from all CFS processes that have a dependency relationship with the current process, extract the parameter value of the cross-process parameter from the dependent process containing the keyword of the cross-process parameter; and return the obtained parameter value of the cross-process parameter to the current process.
[0080] If the parameter type is a non-dependent type, the engine module of the business orchestration system is called, and the engine module can determine that the process matching rule is a non-dependent process rule according to the parameter type.
[0081] The engine module can determine the non-dependent process corresponding to the cross-process parameter, that is, the dependent process where the cross-process parameter is located, from all CFS processes based on the process ID (i.e., process identifier) of the current process and the configured process code (Code) through the subordinate relationship of all CFS processes.
[0082] Specifically, the engine module can determine the non-dependent process identifier corresponding to the cross-process parameter based on the process ID (i.e., process identifier) of the current process, the configured process code (Code) and the subordinate relationship of all CFS processes, and determine the non-dependent process corresponding to the cross-process parameter based on the non-dependent process rule and the non-dependent process identifier;
[0083] The non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; the number of non-dependent processes is at least one.
[0084] Furthermore, parameter values of cross-process parameters are extracted from non-dependent processes.
[0085] Specifically, the engine module can obtain the keyword (Key) of the cross-process parameter; based on the keyword of the cross-process parameter, search for the CFS process containing the keyword of the cross-process parameter from all non-dependent processes, extract the parameter value of the cross-process parameter from the CFS process containing the keyword of the cross-process parameter; and return the obtained parameter value of the cross-process parameter to the current process.
[0086] In some embodiments, before determining the parameter type of the cross-process parameter, the method further includes: generating a process matching rule based on the first configuration instruction in response to a first configuration instruction of a user; and storing the process matching rule in a database.
[0087] Specifically, the business orchestration system may be provided with a process management module, and the process management module is used to manage the dependencies and process matching rules of all CFS processes.
[0088] Specifically, in response to the first configuration instruction of the user, a process matching rule is generated based on the first configuration instruction; the process matching rule and the dependency relationship of all CFS processes are stored in a database for invocation by the engine module.
[0089] Optionally, the first configuration instruction includes a rule adding instruction, a rule deleting instruction, a rule modifying instruction, a rule querying instruction, etc.; based on the first configuration instruction, the process matching rules in the business orchestration system can be managed.
[0090] In some embodiments, the method further includes: responding to a second configuration instruction of the user, modifying the parameter type of the cross-process parameter based on the configuration instruction; and storing the modified parameter type of the cross-process parameter in a database.
[0091] It is understandable that the user may need to manage the process parameters, so the business orchestration system may set a parameter management module, which is used to manage the process parameters in all CFS processes.
[0092] Specifically, in response to the second configuration instruction of the user, based on the configuration instruction, the parameter type of the cross-process parameter is modified; and the modified parameter type of the cross-process parameter is stored in the database.
[0093] Optionally, the second configuration instruction includes a parameter adding instruction, a parameter deleting instruction, a parameter modifying instruction, a parameter querying instruction, etc.; based on the second configuration instruction, the process parameters in the business orchestration system can be managed.
[0094] Optionally, in the configuration of the process parameter, a mapping identifier Mapping is used to identify the parameter type of the process parameter.
[0095] Optionally, if the mapping identifier Mapping is empty, it means that the process parameter is a non-cross-process parameter, that is, the parameter in the current process; if the mapping identifier Mapping is a dependent type, it means that the process parameter is a cross-process parameter, and the parameter type of the cross-process parameter is a dependent type; if the mapping identifier Mapping is a cross-process type, it means that the process parameter is a cross-process parameter, and the parameter type of the cross-process parameter is a non-dependent type, and the expected associated CFS process name or CFS process ID needs to be configured in the process matching rule.
[0096] A parameter value acquisition method provided in this embodiment can flexibly configure and manage process matching rules and process parameters, realize cross-process parameter value acquisition when the existing system processes the CFS process, and also make the system more configurable and scenario adaptable.
[0097] The present invention also provides a parameter value acquisition device, see Figure 3 , Figure 3 3 is a schematic diagram of the structure of the parameter value acquisition device provided by the present invention. In this embodiment, the parameter value acquisition device includes a first determination module 310, a second determination module 320 and an acquisition module 330.
[0098] The first determination module 310 is used to determine the parameter type of the cross-process parameter.
[0099] The second determination module 320 is used to determine a process matching rule based on the parameter type.
[0100] The acquisition module 330 is used to determine the process corresponding to the cross-process parameter based on the process matching rule, and extract the parameter value of the cross-process parameter from the process.
[0101] In some embodiments, the parameter type includes a dependency type, and the process matching rule includes a dependency process rule.
[0102] The second determination module 320 is configured to determine that the process matching rule is a dependent process rule if the parameter type is a dependent type.
[0103] Acquisition module 330 is used to obtain the dependent process identifier corresponding to the cross-process parameter; the dependent process identifier is used to identify the dependent process where the cross-process parameter is located; based on the dependent process rule and the dependent process identifier, the dependent process corresponding to the cross-process parameter is determined; the number of dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the dependent process.
[0104] In some embodiments, the parameter type includes a non-dependent type, and the process matching rule includes a non-dependent process rule.
[0105] The second determination module 320 is configured to determine that the process matching rule is a non-dependent process rule if the parameter type is a non-dependent type.
[0106] Acquisition module 330 is used to obtain the non-dependent process identifier corresponding to the cross-process parameter; the non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; based on the non-dependent process rule and the non-dependent process identifier, the non-dependent process corresponding to the cross-process parameter is determined; the number of non-dependent processes is at least one; and the parameter value of the cross-process parameter is extracted from the non-dependent process.
[0107] In some embodiments, the parameter value acquisition device also includes a judgment module.
[0108] A judgment module is used to respond to a parameter value acquisition request, determine the parameter to be acquired based on the parameter value acquisition request; judge whether the parameter to be acquired is a cross-process parameter; if it is determined that the parameter to be acquired is not a cross-process parameter, extract the parameter value of the parameter to be acquired from the process in which the parameter to be acquired is currently located.
[0109] In some embodiments, the parameter value acquisition device also includes a management module.
[0110] The management module is used to respond to the first configuration instruction of the user, generate a process matching rule based on the first configuration instruction, and store the process matching rule in a database.
[0111] In some embodiments, the management module is used to respond to a second configuration instruction of the user and modify the parameter type of the cross-process parameter based on the configuration instruction; and store the modified parameter type of the cross-process parameter in a database.
[0112] The present invention also provides an electronic device, Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor (processor) 410, a communication interface (CommunicationsInterface) 420, a memory (memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the parameter value acquisition method.
[0113] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0114] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the parameter value acquisition method provided by the above methods is implemented.
[0115] The present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the parameter value acquisition method provided by the above methods.
[0116] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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. However, 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 invention.
Claims
1. A method for obtaining a parameter value, characterized in that: include: Determine the parameter type of cross-process parameters; Based on the parameter type, determining a process matching rule; Based on the process matching rule, the process corresponding to the cross-process parameter is determined, and the parameter value of the cross-process parameter is extracted from the process.
2. The parameter value acquisition method according to claim 1, characterized in that: The parameter type includes a dependency type, and the process matching rule includes a dependency process rule; The determining of a process matching rule based on the parameter type includes: If the parameter type is a dependent type, determining that the process matching rule is a dependent process rule; The determining, based on the process matching rule, the process corresponding to the cross-process parameter, and extracting the parameter value of the cross-process parameter from the process includes: Obtaining a dependent process identifier corresponding to the cross-process parameter; the dependent process identifier is used to identify the dependent process where the cross-process parameter is located; Determine the dependent process corresponding to the cross-process parameter based on the dependent process rule and the dependent process identifier; the number of the dependent processes is at least one; Extracting the parameter value of the cross-process parameter from the dependent process.
3. The parameter value acquisition method according to claim 1, characterized in that: The parameter type includes a non-dependent type, and the process matching rule includes a non-dependent process rule; The determining of a process matching rule based on the parameter type includes: If the parameter type is a non-dependent type, determining that the process matching rule is a non-dependent process rule; The determining, based on the process matching rule, the process corresponding to the cross-process parameter, and extracting the parameter value of the cross-process parameter from the process includes: Obtaining a non-dependent process identifier corresponding to the cross-process parameter; the non-dependent process identifier is used to identify the non-dependent process where the cross-process parameter is located; Determine the non-dependent process corresponding to the cross-process parameter based on the non-dependent process rule and the non-dependent process identifier; the number of the non-dependent processes is at least one; The parameter value of the cross-process parameter is extracted from the independent process.
4. The parameter value acquisition method according to claim 1, characterized in that: Before determining the parameter type of the cross-process parameter, the method further includes: In response to a parameter value acquisition request, determining a parameter to be acquired based on the parameter value acquisition request; Determine whether the parameter to be obtained is a cross-process parameter; If it is determined that the parameter to be obtained is not a cross-process parameter, the parameter value of the parameter to be obtained is extracted from the process where the parameter to be obtained currently resides.
5. The parameter value acquisition method according to claim 1, characterized in that: Before determining the parameter type of the cross-process parameter, the method further includes: In response to a first configuration instruction of a user, generating the process matching rule based on the first configuration instruction; The process matching rules are stored in a database.
6. The parameter value acquisition method according to claim 1, characterized in that: Also includes: In response to a second configuration instruction of a user, modifying a parameter type of the cross-process parameter based on the configuration instruction; The modified parameter type of the cross-process parameter is stored in a database.
7. A parameter value acquisition device, characterized in that: include: A first determination module, used to determine the parameter type of the cross-process parameter; A second determination module, used to determine a process matching rule based on the parameter type; The acquisition module is used to determine the process corresponding to the cross-process parameter based on the process matching rule, and extract the parameter value of the cross-process parameter from the process.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the parameter value acquisition method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the parameter value acquisition method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the parameter value acquisition method according to any one of claims 1 to 6 is implemented.
