Half model configuration method and device, equipment and storage medium

By configuring holiday process nodes and business components, a holiday model is formed, and the problems of complex and difficult configuration of holiday system in the existing technology are solved, and the simplification and personalized configuration of holiday management are achieved.

CN118917815APending Publication Date: 2024-11-08CHINA MERCHANTS BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411130594.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The process of configuring holidays in the existing holiday system is complicated and difficult to implement. There are too many front-end page branching conditions, which leads to difficulty in configuration and management.

Method used

By obtaining the holiday type to be configured, configuring the holiday process nodes and business components, adjusting the business components based on the preset configuration information, forming a holiday model, realizing the configuration and visualization of the process, and reducing the configuration difficulty.

Benefits of technology

The configuration process of different types of holidays is simplified, the implementation difficulty is reduced, and personalized needs are achieved through the adjustment of holiday process nodes and business components to adapt to the company's holiday management needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917815A_ABST
    Figure CN118917815A_ABST
Patent Text Reader

Abstract

The invention discloses a holiday model configuration method and device, equipment and a storage medium, relates to the technical field of system configuration, and discloses a holiday model configuration method comprising the following steps: obtaining a to-be-configured holiday type; configuring each holiday process node according to the holiday type, and configuring a service component of each holiday process node; and adjusting the service component according to preset configuration information to obtain a holiday model. The technical effect of simplifying the holiday configuration process is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of system configuration, and in particular to a vacation model configuration method, device, equipment and storage medium. Background Art

[0002] The holiday system is a system that provides holiday management for employees. As the holiday system serves more and more companies, there are too many branch conditions on the front-end page. Every time a new built-in holiday is supported, the front-end must display a personalized page based on the holiday type. It may be a simple requirement, but due to many historical backgrounds and burdens, the code needs to be evaluated and the changes have a large impact. The current holiday system has a complex process for configuring holidays and is difficult to implement. Summary of the invention

[0003] The main purpose of this application is to provide a holiday model configuration method, device, equipment and storage medium, aiming to solve the technical problems that the current holiday system configuration process is complicated and difficult to implement.

[0004] To achieve the above objectives, the present application proposes a vacation model configuration method, the method comprising:

[0005] Get the type of holiday to be configured;

[0006] Configuring each holiday process node according to the holiday type, and configuring the business components of each holiday process node;

[0007] The business components are adjusted according to the preset configuration information to obtain a holiday model.

[0008] In one embodiment, the step of configuring each holiday process node according to the holiday type, and configuring the business component of each holiday process node includes:

[0009] Acquire each holiday process node related to the holiday type, and arrange each holiday process node according to a preset calculation process;

[0010] The business components related to each of the holiday process nodes are obtained, and the business components are associated with each of the holiday process nodes.

[0011] In one embodiment, the step of adjusting the service component according to the preset configuration information includes:

[0012] Determining a target business component to be adjusted among the business components;

[0013] Obtaining rule parameter information in the preset configuration information;

[0014] According to the rule parameter information, the first rule parameter in the target business component is modified to a second rule parameter.

[0015] In one embodiment, after the step of determining the target business component to be adjusted in the business component, the step further includes:

[0016] Obtaining rule replacement information in the preset configuration information;

[0017] According to the rule replacement information, the first built-in rule in the target service component is modified to a second built-in rule.

[0018] In one embodiment, after the step of determining the target business component to be adjusted in the business component, the step further includes:

[0019] Obtaining rule definition instructions for the target business component;

[0020] Display a rule customization page according to the rule definition instructions;

[0021] Obtain a custom rule based on the rule custom page, and add the custom rule to the target business component.

[0022] In one embodiment, the method further comprises:

[0023] Get node adjustment instructions;

[0024] Inserting a new process node into the holiday model according to the node adjustment instruction;

[0025] And / or, according to the node adjustment instruction, deleting the target process node in the holiday model.

[0026] In one embodiment, after the step of obtaining the holiday type to be configured, the step further includes:

[0027] In the case where the holiday type is a holiday without a quota, the holiday process node of the holiday without a quota is configured as an application restriction node;

[0028] The business component of the application restriction node is configured as an application restriction condition component.

[0029] In addition, to achieve the above purpose, the present application also proposes a holiday model configuration device, the holiday model configuration device comprising:

[0030] The acquisition module is used to obtain the type of holiday to be configured;

[0031] A configuration module, used to configure each holiday process node according to the holiday type, and configure the business components of each holiday process node;

[0032] The adjustment module is used to adjust the business component according to preset configuration information to obtain a holiday model.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a holiday model configuration device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the holiday model configuration method described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the holiday model configuration method described above are implemented.

[0035] One or more technical solutions proposed in the present application have at least the following technical effects: by obtaining the type of holiday to be configured, determining the holiday process nodes that need to be passed in the configuration process of the holiday type; thereby configuring each holiday process node according to the holiday type, forming a holiday calculation process in series or parallel between the holiday process nodes, and configuring the business components of each holiday process node, and the business components executing the specific business logic in each holiday process node; adjusting the business components according to preset configuration information to obtain a holiday model, the preset configuration information represents the specific configuration parameters of the holiday type, and after the business components are adjusted, they are adapted to the specific holiday configuration requirements, so the holiday model can be used to calculate the holiday amount issued to different employees of the holiday type, and the holiday process is configured and visualized through the connection between the holiday process nodes. Different holiday types can be realized by adjusting the configuration of holiday process nodes and business components, rather than being processed by the front-end page, thereby simplifying the configuration process of different types of holidays in the holiday system and reducing the difficulty of implementation. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 A schematic diagram of a portion of the architecture of a holiday system involved in the holiday model configuration method according to an embodiment of the present application;

[0039] Figure 2A flowchart of the first embodiment of the holiday model configuration method of the present application is provided;

[0040] Figure 3 A schematic diagram of a scenario of a holiday model configuration involved in an embodiment of the present application;

[0041] Figure 4 This is a diagram of an annual leave configuration interface of an editor involved in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of a rule-defined page involved in an embodiment of the present application;

[0043] Figure 6 A brief flowchart diagram of the third embodiment of the holiday model configuration method of the present application;

[0044] Figure 7 This is an implementation relationship diagram of a computing engine involved in an embodiment of the present application;

[0045] Figure 8 This is a schematic diagram of the module structure of the holiday model configuration device according to an embodiment of the present application;

[0046] Fig. 9 This is a schematic diagram of the device structure of the hardware operating environment involved in the holiday model configuration method in the embodiment of the present application.

[0047] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solution of the present application and are not used to limit the present application. In order to better understand the technical solution of the present application, the following will be described in detail in conjunction with the accompanying drawings and specific implementation methods.

[0049] As the holiday system serves more and more companies, the system needs to implement more and more functions, which makes the system page configuration complex and difficult for users to understand. There are too many branch conditions on the front-end page. Every time a new built-in holiday is supported, the front-end must make personalized page displays according to the holiday type. With the continuous development of the business, the iteration of business processes has gradually become complicated, with many branches and unclear overall views. It is difficult to find the error location when problems occur. It may be a simple requirement, but due to many historical backgrounds and burdens, the intrusion code needs to be evaluated, and the impact of the change is large.

[0050] The main solution of the embodiment of the present application is: obtain the type of holiday to be configured; configure each holiday process node according to the holiday type, and configure the business components of each holiday process node; adjust the business components according to the preset configuration information to obtain a holiday model. The process configuration is realized through the connection between the holiday process nodes, the process nodes are visualized, the business components realize different functions, and the complex demand realization logic is embodied in the form of business components, which reduces the configuration difficulty. General holiday requirements can be integrated in the general components for users to choose, and it can also support the setting of custom rules to meet the personalized needs of different users.

[0051] In this embodiment, the vacation model refers to the final model after configuring vacation rules, which is used to meet the vacation needs of users. The vacation system refers to the system used by enterprises to manage employees' vacations, which includes components with different functions such as vacation policy engines. Figure 1 This is a partial architecture diagram of the holiday system. Figure 1 As shown, the holiday system at least includes a holiday model, an editor, and a calculation engine. The editor is used to configure and debug the holiday model, and the calculation engine refers to the underlying engine that combines various parameters with the holiday model to calculate the holiday amount. The following is an explanation using the editor as the execution subject.

[0052] Based on this, the present application embodiment provides a vacation model configuration method, referring to Figure 2 , Figure 2 This is a flowchart of the first embodiment of the holiday model configuration method of the present application.

[0053] In this embodiment, the vacation model configuration method includes steps S10 to S30:

[0054] Step S10, obtaining the type of holiday to be configured;

[0055] Holidays refer to national statutory holidays and also to vacation days stipulated by the company. Holidays such as weekends and statutory holidays do not need to be applied for by employees before they are granted, and are not included in the configuration of holiday types referred to in this embodiment. Holiday type refers to the type of holiday to which the holiday belongs. It can be understood that in the holiday system, each holiday type can be managed and granted through the corresponding holiday model. Holiday types can be distinguished according to the reasons for the holidays. For example, holiday types include annual leave, personal leave, sick leave, adjustment leave, maternity leave, breastfeeding leave and other types. For these types of holidays, different management methods can be used for management. For example, for employees who meet certain conditions, the means of quota management are used, such as the management of annual leave, maternity leave, and breastfeeding leave. For holidays such as personal leave and sick leave, the means of application restriction are used for management. For each type of holiday, a set of holiday calculation processes can be configured to form a holiday model. Different types of holidays can be distinguished by holiday type identifiers.

[0056] Step S20, configuring each holiday process node according to the holiday type, and configuring the business components of each holiday process node;

[0057] A holiday process node refers to a node used to calculate the holiday payment amount. A business component refers to a component used to implement a specific function. The combination of holiday process nodes and business components together implements the management of holiday amounts. It is understandable that each holiday process node can be set with at least one business component to implement the function of the holiday process node, and the various holiday process nodes are connected through serial or parallel connection between holiday process nodes to form a basic holiday model calculation process.

[0058] In one feasible manner, for different types of holidays, various holiday process nodes corresponding to each holiday type are pre-set, and each holiday process node includes a default business component. After determining the holiday type to be configured, various holiday process nodes corresponding to the holiday type are called, and each holiday process node is configured with a default business component.

[0059] In one practicable manner, step S20 includes:

[0060] Step S21, obtaining each holiday process node related to the holiday type, and arranging each holiday process node according to a preset calculation process;

[0061] The holiday process nodes included in each holiday type can be pre-set according to the issuance logic of different holidays, forming a mapping relationship between holiday types and holiday process nodes. In the process of configuring the holiday model, the holiday process nodes with which there is a mapping relationship are determined by the holiday type, and the holiday process nodes are arranged according to the preset calculation process. The preset calculation process refers to the calculation process in the holiday model of each holiday type that is preset. The preset calculation process can also be associated with the holiday type, so that after the holiday type is determined, the type of holiday process node and the arrangement order between the holiday process nodes can also be determined.

[0062] Step S22, obtaining the business components related to each of the holiday process nodes, and associating the business components to each of the holiday process nodes.

[0063] Each holiday process node can be configured with at least one business component, and the functions required by the holiday process node can be realized through the combination of business components. The holiday process node can control the holiday calculation process, while the business component realizes the specific calculation function. For each holiday process node, the relevant business component can be pre-set, and the business component can be associated with the holiday process node during the holiday process node configuration process. The parameters in the business component can be set as default parameters.

[0064] Step S30, adjusting the business components according to preset configuration information to obtain a holiday model.

[0065] The preset configuration information is information indicating specific holiday configuration requirements. The holiday system of this embodiment is for enterprises, and enterprises can manage the holiday issuance of employees through the holiday system. For each enterprise, the characteristics of production and operation are different, and the needs for holiday management are also different. There are often some personalized holiday issuance systems, or adjustments to the issuance method within the scope of laws and regulations. Then, by adjusting the business components, adaptive modifications can be made to obtain a holiday model that meets the actual needs of the enterprise. The configured holiday model can be used to calculate the holiday amount that should be issued to employees.

[0066] In one feasible method, the holiday granting rules or other holiday restriction rules are edited and presented through preset configuration information. The parameters or rules in the preset configuration information can be extracted, the parameters or rules in the business components can be adjusted, and the various holiday process nodes and business components can be combined to form a holiday model.

[0067] In one practicable manner, referring to Figure 3 , Figure 3 This is a schematic diagram of a scenario of a holiday model configuration in this embodiment, such as Figure 3As shown, the vacation model can include annual leave model, personal leave model and sick leave model. Taking the annual leave model as an example, the annual leave model is configured through the editor. The model configuration includes restriction conditions, period calculation rules, validity period calculation rules and amount calculation rules. Through rule configuration, the details of the above rules can be further set, such as selecting pre-set built-in rules, or custom rules. The conditions or rules in the model configuration process can be configured in the vacation process node to form the calculation process of the vacation model, and then the specific rule configuration in the above calculation process is performed. The rule configuration can include built-in rules and custom rules. The built-in rules are integrated in the business component, and the custom rules can be written by yourself and integrated into the business component after writing to implement the custom rules and complete the configuration of the vacation model.

[0068] In an practicable manner, step S10 includes:

[0069] Step S11, when the holiday type is a holiday without a quota, configuring the holiday process node of the holiday without a quota as an application restriction node;

[0070] Unlimited leave refers to leave without a pre-issued quota. You can manage it by applying for restrictions and setting the leave process node as an application restriction node. It is understandable that the application restriction node can limit the duration of leave applications within a certain period or the duration of consecutive leave applications. By configuring the application restriction node, you can restrict the conditions for employees to apply for unlimited leave to meet the needs of the enterprise.

[0071] Step S12: configuring the service component of the application restriction node as an application restriction condition component.

[0072] The application restriction condition component refers to the business component that implements the function of the application restriction node. The application restriction condition component can include the cycle parameter and duration parameter of the application restriction. The cycle parameter limits the time period to which the application time of the no-quota holiday belongs, and the duration parameter limits the application time of the no-quota holiday. The management of no-quota holidays is achieved through the restrictions of parameters or rules in the application restriction condition component. Different management methods and configuration methods are used for holiday models with different characteristics to adapt to the characteristics of holidays.

[0073] Through the above method, the management process of no-quota leave is clear, and the parameters or rules in the quota restriction condition component can be modified to adapt to the personalized needs of the enterprise, reducing the difficulty of management.

[0074] The present embodiment provides a vacation model configuration method, which obtains the vacation type to be configured and determines the vacation process nodes that need to be passed in the configuration process of the vacation type; thereby configuring each vacation process node according to the vacation type, forming a vacation calculation process in series or in parallel between the vacation process nodes, and configuring the business components of each vacation process node, and the business components execute the specific business logic in each vacation process node; adjusting the business components according to preset configuration information to obtain a vacation model, the preset configuration information represents the specific configuration parameters of the vacation type, and the business components are adjusted to adapt to the specific vacation configuration requirements, so the vacation model can be used to calculate the vacation amount of different employees of the vacation type, and the vacation process is configured and visualized through the connection between the vacation process nodes. Different vacation types can be realized by adjusting and configuring the vacation process nodes and business components, rather than being processed by the front-end page, thereby simplifying the configuration process of different types of vacations in the vacation system and reducing the difficulty of implementation.

[0075] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above introduction, and will not be described in detail later. Figure 4 , Figure 4 This is a diagram of an annual leave configuration interface of an editor provided in this embodiment, such as Figure 4 As shown in the figure, the editor can be used to adjust the annual leave process nodes and business components. Figure 4 In the case of quota control, the annual leave includes the holiday process nodes of issuance date, issuance limit, cycle calculation, validity period calculation and quota calculation, which are arranged in the order of the above nodes. The business components are presented in the form of boxes. Each business component can include multiple options, which can be regarded as restriction rules or restriction parameters. Based on this, the holiday model configuration method includes steps S31 to S33:

[0076] Step S31, determining a target business component to be adjusted in the business components;

[0077] The target business component refers to the business component to be modified in rules or parameters. It is understandable that in the process of configuring the business components of each holiday process node, the selected value of the business component is the default value. If the default value can meet the needs of the enterprise, no adjustment is required. If the default value does not meet the needs of the enterprise, the business component to which the default value belongs is determined as the target business component.

[0078] Step S32, obtaining rule parameter information in the preset configuration information;

[0079] Rule parameter information refers to the holiday granting parameter information set according to enterprise needs. The rule type of the rule parameter information is the same as the rule type of the target business component, so the default option selected in the target business component can be modified according to the rule parameter information. For example, for the annual leave granting restriction rule, the granting restriction is set to the length of service restriction, and the rule parameter information is that the length of service is greater than 5 years.

[0080] Step S33: modify the first rule parameter in the target business component to a second rule parameter according to the rule parameter information.

[0081] The first rule parameter refers to the parameter selected by the target business component, which can be the default value of the target business component when it is initially configured, or it can be a modified parameter. In order for the target business component to achieve the functions required by the enterprise, the first rule parameter needs to be modified. The second rule parameter refers to the parameter in the options of the target business component that can achieve the needs of the enterprise. It can be understood that in this embodiment, the purpose of meeting the needs of the enterprise can be achieved by modifying the options selected by the target business component. In the process of setting the options of the business component in the early stage, it can be set according to general holiday needs or according to the requirements of laws and regulations.

[0082] In an practicable manner, after step S31, the following steps are further included:

[0083] Step A10, obtaining rule replacement information in the preset configuration information;

[0084] Rule replacement information refers to the information of holiday payment rules set according to enterprise needs. The options in some business components represent holiday payment rules, such as Figure 4 In the business component with issuance restrictions, if the rule is different from the rule required by the enterprise, the selected rule can be replaced with other built-in rules. Business components can include different built-in rules. In the process of configuring the business components of each holiday process node, a built-in rule is set as the default rule. If the default rule can meet the needs of the enterprise, no adjustment is required. If the default rule does not meet the needs of the enterprise, the business component to which the default rule belongs is determined as the target business component. Obtain rule replacement information as the basis for replacing the built-in rules.

[0085] Step A20: modify the first built-in rule in the target business component to a second built-in rule according to the rule replacement information.

[0086] The first built-in rule refers to the rule selected by the target business component. It can be the default rule when the target business component is initially configured, or it can be a modified built-in rule. In order for the target business component to achieve the functions required by the enterprise, the first built-in rule needs to be replaced. The second built-in rule refers to the rule in the built-in rules of the target business component that can achieve the needs of the enterprise. It can be understood that in this embodiment, the purpose of meeting the needs of the enterprise can be achieved by replacing the built-in rule selected by the target business component. In the process of setting the built-in rules in the early stage, the built-in rules can be written according to general holiday needs, or they can be written according to the requirements of laws and regulations.

[0087] In an practicable manner, after step S31, the following steps are further included:

[0088] Step B10, obtaining a rule definition instruction about the target business component;

[0089] The rule definition instruction is used to indicate that the existing built-in rules do not meet the enterprise's needs and to write custom rules. In this embodiment, parameter modification and built-in rule replacement cannot meet the enterprise's needs. The enterprise's needs are met by setting the custom rules as the rules of the target business component. Figure 4 ,Business components can come with the option of customizing rules, e.g. Figure 4 The option represented by "Not satisfied, go to customize" in the interface. Click this custom option in this interface to generate rule definition instructions.

[0090] Step B20, displaying a rule customization page according to the rule definition instruction;

[0091] The rule customization page is the page that is triggered by the rule definition instructions and can be used to write custom rules. Figure 5 A schematic diagram of a rule-defined page. Figure 5 In the formula writing area, you can write your own custom rules, and this rule customization page also includes references and explanations of existing built-in rules for reference in writing custom rules.

[0092] Step B30, obtaining a custom rule based on the rule custom page, and adding the custom rule to the target business component.

[0093] Custom rules are rules used to meet the personalized needs of enterprises, which are different from built-in rules. After writing the rule formula on the custom page, the editor can add the formula to the target business component and present it with the custom rule logo. Select the custom rule logo to use the custom rule to configure the holiday model.

[0094] In this embodiment, the business components can be adjusted through different methods such as rule parameter modification, built-in rule replacement and custom rules, which can improve the adaptability to the personalized needs of the enterprise.

[0095] Based on the above embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. On this basis, the vacation model configuration method includes:

[0096] Step C10, obtaining a node adjustment instruction;

[0097] Node adjustment instructions refer to instructions for adjusting holiday process nodes in the holiday model. Adjustments to holiday process nodes may include adding, deleting, and modifying the order. It is understandable that in many cases, the holiday process nodes corresponding to each holiday type and the order between these holiday process nodes are relatively fixed, while in some cases, the personalized needs of enterprises are not completely matched with the general holiday process nodes. Therefore, the holiday process nodes can be adjusted through node adjustment instructions.

[0098] Step C20, inserting a new process node into the vacation model according to the node adjustment instruction; and / or, deleting a target process node in the vacation model according to the node adjustment instruction.

[0099] A newly added process node refers to a holiday process node that is not included in the original holiday model. A target process node refers to a holiday process node to be deleted in the original holiday model. The node adjustment instruction may instruct different operations to be performed on different holiday process nodes, which may be performed in the same configuration process or in accordance with the process sequence. According to the node position information that may be included in the node adjustment instruction, a newly added process node is inserted at an appropriate position according to the node position information, and / or the target process node at the specified position is deleted to obtain a new holiday model. It is understandable that the business components in the new holiday model may also be adjusted according to the steps in the above embodiments.

[0100] In this embodiment, the holiday process nodes can also be adjusted according to the personalized needs of the enterprise by plugging and unplugging the nodes, which has low adjustment difficulty and wide adaptability.

[0101] For example, to help understand the implementation process of the vacation model configuration method obtained by combining this embodiment with the first embodiment, please refer to Figure 6 , Figure 6A brief flow chart of a holiday model configuration method is provided, specifically: after starting holiday model configuration, first determine whether the existing general holiday model meets the needs of the enterprise. The general holiday model refers to a holiday model configured according to the holiday type, without adjusting the built-in business components. If the general holiday model meets the needs of the enterprise, end the configuration process and use the general holiday model directly. If the general holiday model does not meet the needs of the enterprise, determine whether the holiday model after replacing the built-in rules can meet the needs of the enterprise. If the built-in rule replacement can meet the needs of the enterprise, end the configuration process and use the new holiday model after replacing the built-in rules. If the built-in rule replacement still cannot meet the needs of the enterprise, customize the rules and use the new holiday model after the customized rules.

[0102] Based on the above embodiments, Figure 7 A diagram showing the implementation relationship of a computing engine is shown, such as Figure 7 As shown, in the calculation engine, the holiday model can be regarded as a set of calculation processes, and the model rules belong to the calculation nodes in the calculation process. The actual engine calculation can be regarded as calculating the node content along the set calculation process and finally outputting the calculation results. Starting from the process, the holiday model includes multiple nodes, that is, the holiday process nodes. Each node includes components, and the components have component parameters. The combination of components and nodes corresponds to a solution, and the solution is executed through scripts.

[0103] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the holiday model configuration method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0104] This application also provides a holiday model configuration device, please refer to Figure 8 , the holiday model configuration device comprises:

[0105] An acquisition module 10 is used to acquire the type of holiday to be configured;

[0106] A configuration module 20, configured to configure each holiday process node according to the holiday type, and to configure the business components of each holiday process node;

[0107] The adjustment module 30 is used to adjust the business component according to the preset configuration information to obtain a holiday model.

[0108] In an practicable manner, the configuration module 20 is further configured to:

[0109] Acquire each holiday process node related to the holiday type, and arrange each holiday process node according to a preset calculation process;

[0110] The business components related to each of the holiday process nodes are obtained, and the business components are associated with each of the holiday process nodes.

[0111] In an practicable manner, the adjustment module 30 is further configured to:

[0112] Determining a target business component to be adjusted among the business components;

[0113] Obtaining rule parameter information in the preset configuration information;

[0114] According to the rule parameter information, the first rule parameter in the target business component is modified to a second rule parameter.

[0115] In an practicable manner, the adjustment module 30 is further configured to:

[0116] Obtaining rule replacement information in the preset configuration information;

[0117] According to the rule replacement information, the first built-in rule in the target service component is modified to a second built-in rule.

[0118] In an practicable manner, the adjustment module 30 is further configured to:

[0119] Obtaining rule definition instructions for the target business component;

[0120] Display a rule customization page according to the rule definition instructions;

[0121] Obtain a custom rule based on the rule custom page, and add the custom rule to the target business component.

[0122] In an practicable manner, the adjustment module 30 is further configured to:

[0123] Get node adjustment instructions;

[0124] Inserting a new process node into the holiday model according to the node adjustment instruction;

[0125] And / or, according to the node adjustment instruction, deleting the target process node in the holiday model.

[0126] In an practicable manner, the configuration module 20 is further configured to:

[0127] In the case where the holiday type is a holiday without a quota, the holiday process node of the holiday without a quota is configured as an application restriction node;

[0128] The business component of the application restriction node is configured as an application restriction condition component.

[0129] The holiday model configuration device provided by the present application adopts the holiday model configuration method in the above embodiment, which can solve the technical problem that the current holiday system has a complicated process for configuring holidays and is difficult to implement. Compared with the prior art, the beneficial effects of the holiday model configuration device provided by the present application are the same as the beneficial effects of the holiday model configuration method provided by the above embodiment, and other technical features in the holiday model configuration device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0130] The present application provides a holiday model configuration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the holiday model configuration method in the first embodiment described above.

[0131] Reference below Fig. 9 , which shows a schematic diagram of the structure of a holiday model configuration device suitable for implementing the embodiment of the present application. The holiday model configuration device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The vacation model configuration device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0132] like Fig. 9As shown, the holiday model configuration device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the holiday model configuration device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vacation model configuration device to communicate wirelessly or wired with other devices to exchange data. Although the vacation model configuration device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0133] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0134] The holiday model configuration device provided by the present application adopts the holiday model configuration method in the above embodiment, which can solve the technical problem that the current holiday system has a complicated process for configuring holidays and is difficult to implement. Compared with the prior art, the beneficial effects of the holiday model configuration device provided by the present application are the same as the beneficial effects of the holiday model configuration method provided by the above embodiment, and other technical features in the holiday model configuration device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0135] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0137] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vacation model configuration method in the above-mentioned embodiment.

[0138] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0139] The computer-readable storage medium may be included in the vacation model configuration device; or may exist independently without being assembled into the vacation model configuration device.

[0140] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the holiday model configuration device, the holiday model configuration device: obtains the holiday type to be configured; configures each holiday process node according to the holiday type, and configures the business components of each holiday process node; adjusts the business components according to preset configuration information to obtain a holiday model.

[0141] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0142] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0143] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0144] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned holiday model configuration method, and can solve the technical problem that the current holiday system has a complicated process for configuring holidays and is difficult to implement. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the holiday model configuration method provided by the above-mentioned embodiment, and will not be repeated here.

[0145] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vacation model configuration method when executed by a processor.

[0146] The computer program product provided by the present application can solve the technical problem that the current holiday system configuration process is complicated and difficult to implement. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the holiday model configuration method provided by the above embodiment, which will not be repeated here.

[0147] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A holiday model configuration method, characterized in that: The method includes: Get the type of holiday to be configured; Configuring each holiday process node according to the holiday type, and configuring the business components of each holiday process node; The business components are adjusted according to the preset configuration information to obtain a holiday model.

2. The method according to claim 1, characterized in that The steps of configuring each holiday process node according to the holiday type and configuring the business components of each holiday process node include: Acquire each holiday process node related to the holiday type, and arrange each holiday process node according to a preset calculation process; The business components related to each of the holiday process nodes are obtained, and the business components are associated with each of the holiday process nodes.

3. The method according to claim 1, characterized in that The step of adjusting the service component according to the preset configuration information includes: Determining a target business component to be adjusted among the business components; Obtaining rule parameter information in the preset configuration information; According to the rule parameter information, the first rule parameter in the target business component is modified to a second rule parameter.

4. The method according to claim 3, characterized in that After the step of determining the target business component to be adjusted in the business component, the following step further includes: Obtaining rule replacement information in the preset configuration information; According to the rule replacement information, the first built-in rule in the target service component is modified to a second built-in rule.

5. The method according to claim 3, characterized in that After the step of determining the target business component to be adjusted in the business component, the following step further includes: Obtaining rule definition instructions for the target business component; Display a rule customization page according to the rule definition instructions; Obtain a custom rule based on the rule custom page, and add the custom rule to the target business component.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Get node adjustment instructions; Inserting a new process node into the holiday model according to the node adjustment instruction; And / or, according to the node adjustment instruction, deleting the target process node in the holiday model.

7. The method according to any one of claims 1 to 5, characterized in that The step of obtaining the holiday type to be configured further includes: In the case where the holiday type is a holiday without a quota, the holiday process node of the holiday without a quota is configured as an application restriction node; The business component of the application restriction node is configured as an application restriction condition component.

8. A holiday model configuration device, characterized in that: The holiday model configuration device comprises: The acquisition module is used to obtain the type of holiday to be configured; A configuration module, used to configure each holiday process node according to the holiday type, and configure the business components of each holiday process node; The adjustment module is used to adjust the business component according to preset configuration information to obtain a holiday model.

9. A holiday model configuration device, characterized in that: The vacation model configuration device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vacation model configuration method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vacation model configuration method according to any one of claims 1 to 7 are implemented.