CN109978678B - Parameter management method and related equipment - Google Patents

Parameter management method and related equipment Download PDF

Info

Publication number
CN109978678B
CN109978678B CN201910251615.4A CN201910251615A CN109978678B CN 109978678 B CN109978678 B CN 109978678B CN 201910251615 A CN201910251615 A CN 201910251615A CN 109978678 B CN109978678 B CN 109978678B
Authority
CN
China
Prior art keywords
function
service
parameter
module
function parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910251615.4A
Other languages
Chinese (zh)
Other versions
CN109978678A (en
Inventor
张志亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lewo Wuxian Technology Co ltd
Original Assignee
Beijing Lewo Wuxian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lewo Wuxian Technology Co ltd filed Critical Beijing Lewo Wuxian Technology Co ltd
Priority to CN201910251615.4A priority Critical patent/CN109978678B/en
Publication of CN109978678A publication Critical patent/CN109978678A/en
Application granted granted Critical
Publication of CN109978678B publication Critical patent/CN109978678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a parameter management method and related equipment, comprising the following steps: the information management center firstly obtains a function label of a function module in a service system; then determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance; and then searching the target function parameter of the function module from the plurality of function parameters according to the function label and at least one service attribute of each function parameter. By adopting the embodiment of the invention, the maintenance and management of the functional parameters can be simplified, and the project development cost of the service system can be reduced.

Description

Parameter management method and related equipment
Technical Field
The present invention relates to the field of information management technologies, and in particular, to a parameter management method and related devices.
Background
Background business systems based on Hypertext Preprocessor (PHP) currently include a large number of business functions, wherein almost every business function relates to a specific function parameter (action), and the action refers to a character with a specific meaning. As the business functions continue to increase, the number of actions involved also continues to increase. However, in the prior art, the execution modules corresponding to each service function need to maintain the corresponding relationship between the module and the involved action, and the whole life cycle of the involved action. Each time a new action is added or the status of the action changes, the information related to the action maintained by the execution module of the service function needs to be updated correspondingly, so that the action maintenance of the whole service system becomes complicated and inefficient, and the development cost of the PHP project is high.
Disclosure of Invention
The invention provides a parameter management method and related equipment. The maintenance and management of the parameters can be simplified, and the project development cost of the service system can be reduced.
A first aspect of an embodiment of the present invention provides a parameter management method, including:
the information management center acquires a function label of a function module in the service system;
the information management center determines at least one service attribute of each function parameter in a plurality of function parameters generated in advance;
and the information management center searches the target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute.
Wherein, the searching, by the information management center, the target function parameter of the function module from the plurality of function parameters according to the function tag and the at least one service attribute comprises:
the information management center matches each service attribute in the at least one service attribute with the function label;
and when a target service attribute in the at least one service attribute is matched with the function label, the information management center determines the function parameter to which the target service attribute belongs as the target function parameter.
Wherein the method further comprises:
the information management center stores the service information of each function parameter;
the step of searching the target function parameter of the function module from the plurality of function parameters by the information management center according to the function tag and the at least one service attribute comprises:
the information management center searches at least one candidate function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute;
and the information management center determines the target function parameter from the at least one candidate function parameter according to the service information.
Wherein the service information comprises a service status;
the information management center determining the target function parameter from the at least one candidate function parameter according to the service information comprises:
the information management center determines whether the service state of each candidate function parameter in the at least one candidate function parameter is an available state;
and the information management center determines the candidate function parameter with the service state as the available state as the target function parameter.
Wherein the service information includes a generation time;
the information management center determining the target function parameter from the at least one candidate function parameter according to the service information includes:
the information management center determines the interval duration between the generation time of each candidate function parameter in the at least one candidate function parameter and the current time;
and the information management center takes the candidate function parameter of which the interval duration does not exceed a preset threshold value as the target function parameter.
Wherein the method further comprises:
when the service system adds a service function, the information management center updates at least one of the function parameter and the service attribute; or
And the information management center updates at least one of the functional parameters and the service attributes according to a preset frequency.
Accordingly, a second aspect of the embodiments of the present invention provides an information management center, including:
the acquisition module is used for acquiring the function label of the function module in the service system;
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance;
and the searching module is used for searching the target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute.
Wherein the lookup module is further configured to:
matching each service attribute in the at least one service attribute with the function label;
and when a target service attribute in the at least one service attribute is matched with the function label, determining the function parameter to which the target service attribute belongs as the target function parameter.
Wherein, the information management center further comprises a storage module, which is used for:
storing the service information of each function parameter;
the lookup module is further configured to:
searching at least one candidate function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute;
determining the target function parameter from the at least one candidate function parameter according to the service information.
Wherein the service information comprises a service status;
the lookup module is further configured to:
determining whether a service status of each of the at least one candidate functional parameter is an available status;
and determining the candidate function parameter with the service state as the available state as the target function parameter.
Wherein the service information includes a generation time;
the lookup module is further configured to:
determining an interval duration between the generation time of each candidate function parameter in the at least one candidate function parameter and the current time;
and taking the candidate function parameter of which the interval duration does not exceed a preset threshold value as the target function parameter.
Wherein, the information management center further comprises an update module, which is used for:
when the service system increases a service function, updating at least one of the function parameter and the service attribute; or
And updating at least one of the functional parameters and the service attributes according to a preset frequency.
Accordingly, an embodiment of the present invention provides an information management center, including: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor reads the executable program code stored in the memory to run a program corresponding to the executable program code, so as to execute the parameter management method disclosed in the first aspect of the embodiment of the present invention.
Accordingly, an embodiment of the present invention provides a storage medium, where the storage medium is used to store an application program, and the application program is used to execute, at runtime, the parameter management method disclosed in the first aspect of the embodiment of the present invention.
Accordingly, an embodiment of the present invention provides an application program, where the application program is configured to execute, during running, the parameter management method disclosed in the first aspect of the embodiment of the present invention.
In the embodiment of the invention, an information management center in a service system firstly acquires a function label of a function module in the service system; then determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance; and then searching the target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute. By performing centralized management on the functional parameters depended on by all the functional modules in the information management center, each functional module does not need to maintain the corresponding relation between the functional module and the functional parameters independently, or each project does not need to maintain the corresponding relation between the project and the functional parameters independently, and only the information management center needs to apply for the functional parameters when the functional parameters are used. Therefore, the maintenance and management of the parameters can be simplified, and the project development cost of the service system can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a service system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a parameter management method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of interaction between a function module and an information management center according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another parameter management method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information management center according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another information management center according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a service system according to an embodiment of the present invention. The service system may be a service system implemented based on PHP. As shown, the business system may include an information management center and a plurality of function modules, wherein each function module performs a business function of the business system, such as a financial settlement module, a lottery module. There are various functional parameters in the service system implemented based on PHP, and the functional parameters may be numbers having a designated meaning, such as a drawing probability, in the embodiment of the present application. The information management center is used for generating a plurality of different types of functional parameters and managing the generated functional parameters. When each functional module executes the corresponding service function, if the functional parameters need to be used, the functional modules can apply for the information management center. Based on the service system, the embodiment of the invention provides the following parameter management method.
Referring to fig. 2, fig. 2 is a schematic flow chart of a parameter management method according to an embodiment of the present invention. As shown in the figure, the method in the embodiment of the present invention includes:
s201, the information management center obtains the function label of the function module in the service system.
In specific implementation, the information management center may receive a data request submitted by an existing functional module or a newly added functional module in the service system, where the data request may carry a functional tag of the functional module. The function label may be, but is not limited to, a character string for representing the service function corresponding to each function module. For example, the functional tag of the financial settlement module is Finance, i.e. the functional tag Finance corresponds to the financial settlement function.
S202, the information management center determines at least one service attribute of each of a plurality of pre-generated functional parameters.
It should be noted that, in the business system to which the information management center belongs, but not limited to, the functional parameters with a value between 1 and 100 may be regarded as the functional parameters of type a, the functional parameters between 100 and 200 may be regarded as the parameters of type B, and so on, all the functional parameters may be divided into types a, B, C, 8230, and N, etc. Thus. After the information management center is established, one or more functional parameters can be generated for each type, so that the plurality of pre-generated functional parameters can be obtained.
In a specific implementation, the information management center may determine a service attribute of each pre-generated function parameter according to a type (e.g., a type a and a type B) of a function parameter that is depended on by a service function currently included in the service system. That is to say, for any one of a plurality of function parameters generated in advance, Y (Y does not exceed X) service functions having a dependency relationship with the function parameter among X service functions currently included in the service system may be determined first; then, according to the meaning of the function parameter expressed in each business function in the Y business functions, Y business attributes of the function parameter are determined, or the Y business attributes of the function parameter can be directly determined according to each business function in the Y business functions, if the business function is financial settlement, the business attribute of the function parameter is determined to be financial settlement.
For example: the business system comprises type A functional parameters of 1-100, type B functional parameters of 100-200 and type C parameters in other value ranges. Therefore, as shown in table 1, the information management center can generate one function parameter "1" of type a, one function parameter "138" of type B, and one function parameter "10000" of type C. Currently, the functional modules in the business system include a financial settlement module, a lottery module, and an XX product functional module. The financial settlement module needs to use the type a functional parameters as the inventory turnover standard values. The lottery module needs to use the function parameter of type a as the lottery probability, for example, the function parameter of type a is "3", determine that the lottery probability is 3/1000=0.003, and use the function parameter of type C as the alarm threshold. The XX product function module needs to use the function parameter of type B as the user identity verification information. Therefore, the information management center can determine that the service attribute of the function parameter "3" of type a includes the stock turnover rate standard value, the lottery probability. The service attribute of the type B function parameter "138" includes user identity verification information. The service attribute of the functional parameter "10000" of type C includes a lottery alarm threshold.
TABLE 1 functional parameter List-1
Type of parameter Parameter value
A 3
B 138
C 10000
Optionally, when a new service function is added to the service system to which the information management center belongs, the information management center may update the pre-generated function parameter and the service attribute of the function parameter. For example: the newly added service function needs to depend on the A-type function parameter between 1 and 100, and the A-type function parameter can be newly added if the current information management center does not include the A-type function parameter. For another example, if the newly added service function needs to depend on the B-type function parameter of the information management center, the service attribute corresponding to the newly added service function may be added to the B-type function parameter. By including the function parameter of the new type related to the new service function and the service attribute corresponding to the new service function in the information management center, the coverage range of the information managed by the information management center can be ensured, and the information management center can adapt to the change of a service system in time.
Optionally, the information management center updates the pre-generated function parameter and/or the service attribute of the function parameter according to a preset frequency (e.g. 1 time/week). By setting a proper updating frequency, the information management center can perform adaptive updating according to the newly added functional modules, and the method is more favorable for saving system operation resources compared with a method of performing updating once when one functional module information management center is added.
S203, the information management center searches the target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute.
In specific implementation, the information management center matches, for each function parameter, each service attribute of the at least one service attribute of the function parameter with a function tag of a function module, and determines, when the at least one service attribute of the function parameter includes a target service attribute matched with the function tag, the function parameter as a target function parameter of the function module corresponding to the function tag.
For example: the functional label of the lottery module is "lottery", and the parameter list of the information management center is shown in table 2, it can be determined that the service attribute "lottery probability" of the functional parameter "3" matches "lottery", and the service attribute "draw-alarm threshold" of the functional parameter "10000" matches "lottery". The function parameters "3" and "10000" are thus determined as target function parameters of the lottery module.
TABLE 2 functional parameter List-2
Type of parameter Parameter value Service attributes
A 3 Standard value of stock turnover rate, lottery probability
B 138 User identity verification information
C 10000 Lottery alarm threshold
In another possible implementation, in order to improve the efficiency of parameter query and information matching, the service attribute and the function tag may be respectively represented by associated character strings. For example, if the function label of the lottery module is "lottery", as shown in fig. 2, the service attribute "lottery probability" may be represented as "lottery _1", and the "lottery alarm threshold" may be represented as "lottery _2", so that a function parameter list as shown in table 3 may be obtained. For another example, assuming that the functional tag of the financial settlement module is "Finance", it can be determined from table 3 that "Finance _1" matches "Finance", thereby determining that the functional parameter "3" is the target functional parameter on which the financial settlement module depends.
TABLE 3 functional parameter List-3
Type of parameter Parameter value Service attributes
A 3 Finance_1、lottery_1
B 138 XX_1
C 10000 lottery_2
And finally, the information management center returns the target function parameters to the function module corresponding to the function label so that the function module executes the corresponding service function according to the target function parameters.
For example: as shown in fig. 3, a new functional module may submit a data request carrying a functional tag of the module to the information management center. The information management center is triggered by the data request to start working, wherein a function tag can be extracted from the data request firstly; matching the functional label with each service attribute of each functional parameter stored in the information management center, and if the matching is successful, determining a target functional parameter from the corresponding functional parameter; and then returning the determined at least one target function parameter as request response information to the function module corresponding to the extracted function label so that the function module executes the service function.
In the embodiment of the invention, an information management center firstly acquires a function label of a function module in a service system to which the information management center belongs; then determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance; and then searching a target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute. By performing centralized management on the functional parameters depended on by all the functional modules in the information management center, each functional module does not need to maintain the corresponding relation between the functional module and the functional parameters independently, or each project does not need to maintain the corresponding relation between the project and the functional parameters independently, and only the information management center needs to apply for the functional parameters when the functional parameters are used. Therefore, the management and maintenance of the functional parameters can be simplified, and the development cost of the project can be reduced.
Referring to fig. 4, fig. 4 is a flowchart illustrating another parameter management method according to an embodiment of the present invention. As shown in the figure, the method in the embodiment of the present invention includes:
s401, the information management center obtains the function label of the function module in the service system. This step is the same as S201 in the previous embodiment, and is not described again.
S402, the information management center determines at least one service attribute of each function parameter in a plurality of function parameters generated in advance. This step is the same as S202 in the previous embodiment, and is not described again.
And S403, the information management center searches at least one candidate function parameter of the function module from the plurality of function parameters according to the function label and the service attribute of each function parameter.
In a specific implementation, each service attribute of each function parameter may be matched with a function tag of a function module, and when at least one service attribute of the function parameter includes a service attribute matched with the function tag, the function parameter is determined as a candidate function parameter of the function module.
Optionally, when the plurality of functional parameters do not include a candidate functional parameter that satisfies the condition, the information management center may generate a corresponding functional parameter as a target functional parameter according to the functional label, and determine a service attribute of the functional parameter according to a service function corresponding to the functional label.
S404, the information management center determines the target function parameter of the function module from at least one candidate function parameter according to the service information of each candidate function parameter.
In a specific implementation, the service information of each function parameter may include a service status, where the service status includes an available status and an unavailable status. Therefore, the information management center may first determine whether a service state of each candidate functional parameter of the at least one candidate functional parameter is an available state; and then determining the candidate function parameter with the service state as the available state as the target function parameter. The availability of the selected target function parameter can be ensured through checking the service state, so that the fluency of the function module for executing the corresponding service function is ensured.
Optionally, the generation time of the functional parameter may be checked as the service information. The timeliness of the target function parameters can be ensured through the verification of the generation time, so that the reliability of the service execution result of the functional module is improved. The information management center can firstly determine the interval duration between the generation time and the current time of each candidate function parameter in at least one candidate function parameter; and then determining candidate function parameters with the interval duration not exceeding a preset threshold as target function parameters, wherein the preset threshold can be any duration such as 5 days, one week, 0.5 month, one year and the like.
Optionally, the service information may include a generation time of the function parameter and a service status. The information management center may determine, as the target function parameter, a candidate function parameter whose service state is an available state and an interval duration between the generation time and the current time does not exceed a preset threshold.
It should be noted that, after generating a plurality of functional parameters, the information management center may store and manage the generation time and the service state of each functional parameter.
For example: if the function label of the lottery module is "lottery", the service attribute "lottery _1" of the function parameter "3" and the service attribute "lottery _2" of the function parameter "10000" may be determined to match "lottery" from the function parameter list shown in table 4, and thus the function parameters "3" and "10000" are determined to be two candidate function parameters of the lottery activity module. Next, as can be seen from table 4, the service status of the function parameter "3" is "1", where "1" indicates an available status, "0" indicates an unavailable status, and the generation time is 2019-03-18. The service state of the function parameter "10000" is "1", and the generation time is 2019-03-17. The interval duration between the generation time of the functional parameters '3' and '10000' and the current time 2019-03-20 is 2 days and 3 days respectively, and the interval duration does not exceed 5 days, so that the functional parameters '3' and '10000' are determined as the target functional parameters of the lottery module.
TABLE 4 functional parameter List-4
Figure BDA0002012555520000101
And finally, the information management center returns the target function parameters to the function module corresponding to the function label. So that the functional module executes the corresponding service function according to the target function parameter.
Optionally, the information management center may also delete, or update, the functional parameter in the unavailable state, according to a preset frequency (e.g., 1 time/week), the functional parameter in which the time interval between the generation time and the current time exceeds a preset threshold or the service state is the unavailable state. By deleting or updating invalid functional parameters with low timeliness in time, the effectiveness of parameter management can be improved, and the problem that the efficiency of parameter query is reduced because functional parameters with service information which does not meet conditions are queried is avoided.
In the embodiment of the invention, an information management center firstly acquires a function label of a function module in a service system to which the information management center belongs; then determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance; then according to the function label and at least one service attribute, at least one candidate function parameter of the function module is searched from the plurality of function parameters; and finally, selecting the target function parameter of the function module from at least one candidate function parameter according to the service information of each candidate function parameter. Management and maintenance of functional parameters can be simplified, and development cost of the project can be reduced. In addition, by checking the service information of each candidate function parameter, the finally determined target function parameter can be ensured to be available, thereby improving the effectiveness of the target function parameter searching operation.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an information management center according to an embodiment of the present invention. As shown in the figure, the information management center in the embodiment of the present invention includes:
an obtaining module 501, configured to obtain a function label of a function module in the service system.
In specific implementation, a data request submitted by an existing functional module or a newly added functional module in a service system may be received, where the data request may carry a functional tag of the functional module. The function label may be, but is not limited to, a character string for representing the service function corresponding to each function module. For example, the functional tag of the financial settlement module is Finance, i.e. the functional tag Finance corresponds to the financial settlement function.
A determining module 502, configured to determine at least one service attribute of each of a plurality of pre-generated function parameters.
It should be noted that, in the business system to which the information management center belongs, but not limited to, the functional parameters with the value between 1 and 100 may be regarded as the functional parameters of the a type, the functional parameters between 100 and 200 may be regarded as the parameters of the B type, and by analogy, all the functional parameters may be divided into N types, such as the a type, the B type, the C type, 8230;, and the like. Thus. After the information management center is established, one or more than one functional parameters can be generated for each type, so that a plurality of pre-generated functional parameters can be obtained.
In a specific implementation, the service attribute of each pre-generated function parameter may be determined according to the type (e.g., a type and B type) of the function parameter that the service function currently included in the service system depends on. That is to say, for any one of a plurality of function parameters generated in advance, it may be determined that, among X service functions currently included in the service system, Y (Y does not exceed X) service functions having a dependency relationship with the function parameter; then, according to the meaning of the function parameter expressed in each business function in the Y business functions, Y business attributes of the function parameter are determined, or the Y business attributes of the function parameter can be directly determined according to each business function in the Y business functions, if the business function is financial settlement, the business attribute of the function parameter is determined to be financial settlement.
Optionally, the information management center in the embodiment of the present invention may further include an updating module, configured to update a plurality of pre-generated function parameters and service attributes of the function parameters when a new service function is added to the service system. For example: adding new functional parameters, or adding new service attributes for one or some or all of the plurality of functional parameters. Or the pre-generated functional parameters and the service attributes of the functional parameters may be updated according to the preset frequency.
A searching module 503, configured to search a target function parameter of the function module from the plurality of function parameters according to the function tag and the at least one service attribute.
In specific implementation, for each functional parameter, each service attribute in at least one service attribute of the functional parameter is matched with a functional tag of a functional module, and when the at least one service attribute of the functional parameter includes a target service attribute matched with the functional tag, the functional parameter is determined as a target functional parameter of the functional module corresponding to the functional tag.
Optionally, the information management center in the embodiment of the present invention may further include a storage module, configured to store and manage the service information of each functional parameter. Wherein, the storage module can also store the plurality of functional parameters.
Optionally, the searching module 503 may also search at least one candidate function parameter of the function module from the multiple function parameters according to the function tag and the service attribute of each function parameter, where each service attribute of each function parameter may be matched with the function tag of the function module, and when at least one service attribute of the function parameter includes the service attribute matched with the function tag, determine the function parameter as one candidate function parameter of the function module. And then determining the target function parameter of the function module from at least one candidate function parameter according to the service information of each candidate function parameter.
Optionally, when the candidate function parameters meeting the condition are not included in the plurality of function parameters, the corresponding function parameter may be generated according to the function tag as the target function parameter, and the service attribute of the function parameter may be determined according to the service function corresponding to the function tag.
Optionally, the service information of each function parameter may include a service status, wherein the service status includes an available status and an unavailable status. Therefore, the lookup module 503 may also first determine whether the service status of each candidate function parameter in the at least one candidate function parameter is an available status; and then determining the candidate function parameter with the service state as the available state as the target function parameter.
Optionally, the service information may include a generation time of the function parameter. The searching module 503 may also first determine an interval duration between the generation time of each candidate function parameter in the at least one candidate function parameter and the current time; and then determining candidate function parameters with the interval duration not exceeding a preset threshold as target function parameters, wherein the preset threshold can be any duration such as 5 days, one week, 0.5 month, one year and the like.
Optionally, the service information may include a generation time of the function parameter and a service status. The search module 503 may further determine, as the target function parameter, a candidate function parameter whose service status is an available status and the interval duration between the generation time and the current time does not exceed a preset threshold.
Optionally, the updating module may further clean all the managed functional parameters according to a predetermined frequency (e.g., 1 time/week), and update or delete the functional parameters whose generation time and current time interval duration exceed a preset threshold or whose service state is an unavailable state.
In the embodiment of the invention, an information management center firstly acquires a function label of a function module in a service system to which the information management center belongs; then determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance; then, according to the functional label and at least one service attribute, at least one candidate functional parameter of the functional module is searched from the plurality of functional parameters; and finally, selecting the target function parameter of the function module from at least one candidate function parameter according to the service information of each candidate function parameter. Management and maintenance of functional parameters can be simplified, and development cost of the project can be reduced. In addition, the service information of each candidate function parameter is verified, so that the effectiveness of the target function parameter can be guaranteed, and the reliability of the execution result of the service function is improved. .
Referring to fig. 6, fig. 6 is a schematic structural diagram of another information management center according to an embodiment of the present invention. As shown, the information management center may include: at least one processor 601, e.g., a CPU, at least one communication interface 602, at least one memory 603, at least one bus 604. Bus 604 is used to enable, among other things, connectivity communications between these components. In this embodiment of the present invention, the communication interface 602 of the electronic device is a wired sending port, and may also be a wireless device, for example, including an antenna apparatus, configured to perform signaling or data communication with other node devices. The memory 603 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 603 may optionally be at least one storage device located remotely from the processor 601. A set of program code is stored in the memory 603 and the processor 601 is used to call the program code stored in the memory for performing the following operations:
acquiring a function label of a function module in the service system;
determining at least one service attribute of each function parameter in a plurality of function parameters generated in advance;
and searching the target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute.
Wherein, the processor 601 is further configured to perform the following operation steps:
matching each service attribute in the at least one service attribute with the function label;
and when a target service attribute in the at least one service attribute is matched with the function label, determining the function parameter to which the target service attribute belongs as the target function parameter.
Wherein, the processor 601 is further configured to execute the following operation steps:
storing the service information of each function parameter;
wherein, the processor 601 is further configured to perform the following operation steps:
searching at least one candidate function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute;
determining the target function parameter from the at least one candidate function parameter according to the service information.
Wherein the service information comprises a service status;
the processor 601 is further configured to perform the following operation steps:
determining whether a service status of each of the at least one candidate functional parameter is an available status;
and determining the candidate function parameter with the service state as the available state as the target function parameter.
Wherein the service information includes a generation time;
the processor 601 is further configured to perform the following operation steps:
determining an interval duration between the generation time and the current time of each candidate function parameter in the at least one candidate function parameter;
and taking the candidate function parameter of which the interval duration does not exceed a preset threshold value as the target function parameter.
Wherein, the processor 601 is further configured to perform the following operation steps:
when the service system increases a service function, updating at least one of the function parameter and the service attribute; or
And updating at least one of the functional parameters and the service attributes according to a preset frequency.
It should be noted that the embodiment of the present invention also provides a storage medium, where the storage medium is used to store an application program, and the application program is used to execute, at runtime, the operations in the parameter management method shown in fig. 2 and fig. 4.
It should be noted that the embodiment of the present invention also provides an application program, and the application program is used for executing the operations in the parameter management method shown in fig. 2 and fig. 4 when the application program is executed.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the present invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The content downloading method, the related device and the system provided by the embodiment of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the embodiment of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A parameter management method is applied to a service system, the service system comprises an information management center, and the method comprises the following steps:
the information management center acquires a function label of a function module in the service system;
the information management center stores service information of each function parameter in a plurality of function parameters generated in advance, and determines at least one service attribute of each function parameter, wherein the service information comprises service state or generation time;
the information management center searches a target function parameter of the function module from the plurality of function parameters according to the function label and the at least one service attribute, and the method comprises the following steps: according to the function label and the at least one service attribute, at least one candidate function parameter of the function module is searched from the plurality of function parameters, whether the service state of each candidate function parameter in the at least one candidate function parameter is an available state or not is determined, and the candidate function parameter of which the service state is the available state is determined as the target function parameter; or determining an interval duration between the generation time and the current time of each candidate function parameter in the at least one candidate function parameter, and taking the candidate function parameter of which the interval duration does not exceed a preset threshold value as the target function parameter.
2. The method of claim 1, wherein the method further comprises:
when the service system adds a service function, the information management center updates at least one of the function parameter and the service attribute.
3. The method of claim 1, wherein the method further comprises:
and the information management center updates at least one of the functional parameters and the service attributes according to a preset frequency.
4. An information management center, characterized in that the information management center comprises:
the acquisition module is used for acquiring the function label of the function module in the service system;
the storage module is used for storing service information of each function parameter in a plurality of pre-generated function parameters, and the service information comprises a service state or generation time;
a determining module, configured to determine at least one service attribute of each of the function parameters;
a searching module, configured to search a target function parameter of the function module from the plurality of function parameters according to the function tag and the at least one service attribute, where the searching module includes: according to the function label and the at least one service attribute, at least one candidate function parameter of the function module is searched from the plurality of function parameters, whether the service state of each candidate function parameter in the at least one candidate function parameter is an available state or not is determined, and the candidate function parameter of which the service state is the available state is determined as the target function parameter; or determining an interval duration between the generation time and the current time of each candidate function parameter in the at least one candidate function parameter, and taking the candidate function parameter of which the interval duration does not exceed a preset threshold value as the target function parameter.
5. The information management center of claim 4, wherein the information management center further comprises an update module to:
and when the service system increases a service function, updating at least one of the function parameter and the service attribute.
6. The information management center according to claim 5, wherein the information management center further comprises an update module for:
and updating at least one of the functional parameters and the service attributes according to a preset frequency.
7. An information management center, comprising: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the parameter management method according to any one of claims 1 to 3.
8. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform a parameter management method according to any one of claims 1-3.
CN201910251615.4A 2019-03-29 2019-03-29 Parameter management method and related equipment Active CN109978678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910251615.4A CN109978678B (en) 2019-03-29 2019-03-29 Parameter management method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910251615.4A CN109978678B (en) 2019-03-29 2019-03-29 Parameter management method and related equipment

Publications (2)

Publication Number Publication Date
CN109978678A CN109978678A (en) 2019-07-05
CN109978678B true CN109978678B (en) 2022-11-25

Family

ID=67081824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910251615.4A Active CN109978678B (en) 2019-03-29 2019-03-29 Parameter management method and related equipment

Country Status (1)

Country Link
CN (1) CN109978678B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782120A (en) * 2020-07-16 2020-10-16 上海乾臻信息科技有限公司 Expense calculation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2888071A1 (en) * 2005-06-30 2007-01-05 France Telecom MODULE AND COMMUNICATION SYSTEM FOR IMPLEMENTING A SYSTEM FOR REMOTELY MANAGING EQUIPMENT
CN101615130A (en) * 2009-07-24 2009-12-30 方正国际软件(武汉)有限公司 Service function management system and method
CN104363112A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Parameter management method and parameter management device
CN109460279A (en) * 2018-12-14 2019-03-12 平安城市建设科技(深圳)有限公司 Forms pages development approach, device, equipment and storage medium based on small routine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006576A1 (en) * 2012-06-28 2014-01-02 International Business Machines Corporation Managing service specifications and the discovery of associated services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2888071A1 (en) * 2005-06-30 2007-01-05 France Telecom MODULE AND COMMUNICATION SYSTEM FOR IMPLEMENTING A SYSTEM FOR REMOTELY MANAGING EQUIPMENT
CN101615130A (en) * 2009-07-24 2009-12-30 方正国际软件(武汉)有限公司 Service function management system and method
CN104363112A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Parameter management method and parameter management device
CN109460279A (en) * 2018-12-14 2019-03-12 平安城市建设科技(深圳)有限公司 Forms pages development approach, device, equipment and storage medium based on small routine

Also Published As

Publication number Publication date
CN109978678A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106682215B (en) Data processing method and management node
CN105808633A (en) Data archiving method and system
CN108614976A (en) Authority configuring method, device and storage medium
CN110427386B (en) Data processing method, device and computer storage medium
CN111311005B (en) Distribution path planning method, distribution path planning device, distribution path planning medium and computer equipment
CN113392330A (en) Big data processing method and system based on internet behaviors
CN111966287A (en) Data storage method, electronic device and storage medium
CN113672624A (en) Data processing method, system and storage medium
CN113961510A (en) File processing method, device, equipment and storage medium
CN109978678B (en) Parameter management method and related equipment
CN111125240B (en) Distributed transaction realization method and device, electronic equipment and storage medium
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
CN111625264B (en) Method, device, equipment and medium for upgrading multi-level management system
CN110543465B (en) Directory operation method and device, computer equipment and storage medium
CN110489416B (en) Information storage method based on data processing and related equipment
CN107577433B (en) Storage medium and file data migration method, device and equipment
CN105721527A (en) Data processing method and server
US11372832B1 (en) Efficient hashing of data objects
US11940879B2 (en) Data protection method, electronic device and computer program product
CN114706608A (en) Method for upgrading firmware and electronic equipment
CN114518848A (en) Hierarchical storage system, and method, apparatus, device, and medium for processing storage data
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN108763498B (en) User identity identification method and device, electronic equipment and readable storage medium
CN111552703A (en) Data processing method and device
CN115586871B (en) Cloud computing scene-oriented data additional writing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant