Flexible data calculation method and device

Through flexible data calculation methods in the field of information processing technology, and using visual configuration to create and update social security and provident fund plan templates, the problems of personalized computing needs and policy adjustments of different enterprises and payment units are solved, and the calculation efficiency and accuracy are improved.

CN119648444AInactive Publication Date: 2025-03-18ZHONGRUI FESCO OUTSOURCING (BEIJING) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411708767.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When providing social security and provident fund services to employees of multiple enterprises and different paying units, how to flexibly respond to the personalized calculation needs of different enterprises and paying units, as well as the irregular adjustments of social security and provident fund policies.

Method used

Create a social security and provident fund plan template corresponding to the target city through the configuration information generated by the visual configuration page and the bound rule text. After enabling the plan template, social security and provident fund calculations are performed based on the employee's calculation request. If the rule text is adjusted, update the scheme template and recalculate.

Benefits of technology

It has achieved flexible response to the personalized computing needs of different enterprises and paying units, improved the efficiency and accuracy of social security and provident fund calculations, and can quickly respond to calculation differences caused by policy changes and historical dates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648444A_ABST
    Figure CN119648444A_ABST
Patent Text Reader

Abstract

The invention discloses a flexible data calculation method and device, and the method comprises the steps: obtaining a rule text bound with a target city after a request for creating a scheme template for the target city is received; based on configuration information generated by the visual configuration page and the bound rule text, scheme templates are created, and the created scheme templates are a social security scheme template and a public accumulation fund scheme template corresponding to the target city; after the created scheme template is started, if a calculation request of a second object downward by the first object is obtained, social security calculation and accumulation fund calculation are carried out on employees associated with the second object according to the started scheme template. The social security accumulation fund scheme template is configured in a visual configuration mode, irregular changes of policy content can be flexibly coped, social security accumulation fund calculation is provided for a large number of enterprises and a large number of employees of a plurality of cities based on the scheme template, the calculation efficiency and accuracy are improved, and the social security accumulation fund calculation efficiency is improved. Calculation differences caused by the fact that policy change effective dates belong to historical dates can be quickly coped with.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a flexible data calculation method and device. Background Art

[0002] When providing social security and provident fund services to a large number of enterprises, since different enterprises may have employees from different cities at the same time, that is, the employees' social security and provident fund payment units are different, how to flexibly meet the personalized calculation needs of social security and provident funds for employees of different enterprises and different payment units has become an urgent problem to be solved; at the same time, how to enable employees of different enterprises and different payment units to efficiently respond to the irregular adjustments of social security policies and provident fund policies is also an urgent problem to be solved. Summary of the invention

[0003] The present application provides a flexible data calculation method and device to solve the problems existing in the related art.

[0004] In a first aspect, the present invention provides a flexible data calculation method, comprising creating a scheme template based on configuration information generated by a visual configuration page and the bound rule text, wherein the created scheme template is a social security scheme template and a provident fund scheme template corresponding to the target city; when the created scheme template is enabled, a calculation request of a second object downward from the first object is obtained, and social security calculation and provident fund calculation are performed for employees associated with the second object according to the enabled scheme template; if an adjustment request for the rule text is obtained, the rule text is changed based on the request indication; a changed target scheme template is determined based on the changed rule text; social security calculation and provident fund calculation are performed for employees associated with the second object according to the target scheme template, and during calculation, the method comprises: parsing the target scheme template to obtain the change content; based on the change effective date indicated by the change content, obtaining the lock status corresponding to the social security and provident fund detailed table of the employees associated with the second object during the period from the change effective date to the current date; and performing different modes of social security calculation and provident fund calculation based on the lock status and the target scheme template.

[0005] Optionally, before responding to the request to create a solution template for the target city, the method includes: obtaining a rule text configuration request for any city in the city list, and configuring the any city based on the configuration content indicated by the configuration request to bind the any city to the rule text.

[0006] Optionally, performing different modes of social security calculation and provident fund calculation based on the lock status and the target solution template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund detailed list with a lock status of locked, extracting the first social security information and the first provident fund information corresponding to the employees to be changed; determining the second social security information and the provident fund information of the employees to be changed by using the target solution template; and determining the difference based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

[0007] Optionally, performing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund details table whose lock status is unlocked, using the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

[0008] In a second aspect, the present invention provides a flexible data calculation device, a solution template creation unit, which is used to obtain the rule text bound to the target city after receiving a request to create a solution template for a target city; create a solution template based on the configuration information generated by the visual configuration page and the bound rule text, wherein the created solution template is a social security solution template and a provident fund solution template corresponding to the target city; a calculation unit, when the created solution template is enabled, obtains a calculation request for a second object downward from the first object, and performs social security calculation and provident fund calculation for employees associated with the second object according to the enabled solution template; and also includes adjusting A unit is used to change the rule text based on the manner indicated by the request if an adjustment request for the rule text is obtained; determine a changed target plan template based on the changed rule text, wherein social security calculation and provident fund calculation are performed for the employees associated with the second object according to the target plan template, and the calculation method includes: parsing the target plan template to obtain the change content; based on the change effective date indicated by the change content, obtaining the lock status corresponding to the social security and provident fund detailed table of the employees associated with the second object during the period from the change effective date to the current date; and executing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template.

[0009] Optionally, a city information configuration unit is further included, which is used to obtain a rule text configuration request for any city in the city list, and configure the any city based on the configuration content indicated by the configuration request to bind the rule text to the any city.

[0010] Optionally, the device further includes a city information configuration unit, configured to obtain a rule text configuration request for any city in the city list, and configure the any city based on the configuration content indicated by the configuration request to bind the rule text to the any city.

[0011] Optionally, performing different modes of social security calculation and provident fund calculation based on the lock status and the target solution template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund detailed list with a lock status of locked, extracting the first social security information and the first provident fund information corresponding to the employees to be changed; determining the second social security information and the provident fund information of the employees to be changed by using the target solution template; and determining the difference based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

[0012] Optionally, performing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund details table whose lock status is unlocked, using the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

[0013] In a third aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0014] In a fourth aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided in the first aspect when executing the program.

[0015] The present invention discloses a flexible data calculation method and device, wherein the method comprises: after receiving a request for creating a scheme template for a target city, obtaining a rule text bound to the target city; creating a scheme template based on configuration information generated by a visual configuration page and the bound rule text, wherein the created scheme template is a social security scheme template and a provident fund scheme template corresponding to the target city; when the created scheme template is enabled, if a calculation request for a second object under a first object is obtained, social security calculation and provident fund calculation are performed for employees associated with the second object according to the enabled scheme template; wherein, if an adjustment request for the rule text is obtained, the rule text is changed based on the request indication; based on the changed rule text, a changed target scheme template is determined; social security calculation and provident fund calculation are performed for employees associated with the second object according to the target scheme template, and during calculation, the method comprises: parsing the target scheme template to obtain a change content; based on the change effective date indicated by the change content, obtaining a lock state corresponding to a social security and provident fund detailed table of employees associated with the second object during the period from the change effective date to the current date; and performing social security calculation and provident fund calculation in different ways based on the lock state and the target scheme template. By configuring the social security provident fund plan template in a visual way, you can flexibly respond to irregular changes in policies. At the same time, based on the plan template, social security provident fund calculations are provided for multiple cities, a large number of enterprises, and a large number of employees, which improves the calculation efficiency and accuracy, and can quickly respond to calculation differences caused by the effective date of policy changes being a historical date. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A flow chart of a flexible data calculation method for this application; Figure 2 This is a schematic diagram of an application of a flexible data calculation method for this application; Figure 3 This is another application diagram of a flexible data calculation method of the present application; Figure 4 This is another application diagram of a flexible data calculation method of the present application; Figure 5 A method corresponding to the present application Figure 1 Schematic diagram of an electronic device. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0018] The system architecture applicable to the present method may include a management platform, in which the platform administrator user can complete the configuration related to social insurance and provident fund through the management terminal; the system architecture also includes a user system, which includes a user terminal, and business service personnel can use the user terminal to maintain social insurance and provident fund for the enterprise they serve, which can be described in detail later. The above-mentioned management platform and user system both include a server terminal, and the server terminal of the management platform and the server terminal of the user system constitute a server cluster. The method of this embodiment is implemented through a server cluster when executed.

[0019] The following is combined with Figure 1 The flexible data calculation method is exemplified. The method includes the following steps: Step 101: upon receiving a request to create a plan template for a target city, obtaining a rule text bound to the target city; creating a plan template based on the configuration information generated by the visualization configuration page and the bound rule text, wherein the created plan template is a social security plan template and a provident fund plan template corresponding to the target city.

[0020] In this step, policy content may be downloaded from a third party in advance, such as text containing social security policy content and provident fund policy content, wherein the policy content may include social security type content, provident fund configuration data, etc. A configuration rule text is generated based on the downloaded policy content, and the rule text is obtained based on a visual configuration method.

[0021] As an optional implementation manner of this embodiment, a rule text configuration request for any city in the city list is obtained, and the any city is configured based on the configuration content indicated by the configuration request to bind the rule text to the any city.

[0022] In this optional implementation, the policy content may include social security information and provident fund information. Social security information includes insurance types, enterprise calculation categories (including base calculation, etc.), individual calculation categories (including base calculation, etc.), whether bases are the same, company maximum base, company minimum base, individual maximum base, individual minimum base, type of increase (including increase in the current month), type of reduction (month-to-month reduction), number of supplementary payment months, social security accuracy, insurance benefit application, etc. Provident fund information includes type of increase (including increase in the current month, etc.), type of reduction (including month-to-month reduction, etc.), provident fund accuracy, number of supplementary payment months, provident fund company minimum base, provident fund company maximum base, provident fund company minimum ratio, provident fund individual minimum ratio, etc. Social security policies and provident fund policies are different in different cities or regions. For example, taking insurance types as an example, the types of insurance types in different cities may be different. City A has pension, unemployment, work-related injury, medical treatment, and serious illness; City B may have an additional long-term care insurance compared to City A. When generating rule text, all cities can be presented on the interactive page of the management terminal for users to select. When the management terminal detects that any city is selected, it presents the rule text configuration page, such as the social security information and provident fund information configuration page, and enables users to complete the configuration through visual configuration. Figure 2 , which illustrates the insurance type configuration diagram in the rule text configuration page. After the configuration of various social insurance information and provident fund information is completed, the server of the management platform obtains the configuration content and configures the management terminal through a visual configuration method. The configured rule text is bound to the specified city.

[0023] Specifically, after obtaining the policy content, keywords are extracted from the policy content text, field components are designed based on the extracted keywords, and the components are presented to the rule text configuration page, such as Figure 2 The field components in the rule include enterprise calculation category, personal calculation category, company base, personal base, etc. When the user configures, the field components are presented in the rule text configuration page, and the user can configure the values ​​of these field components respectively. The configured values ​​need to be verified. The verification basis is whether the value configured by a certain field component is consistent with the value specified by the keyword corresponding to the policy content.

[0024] In step 101, after creating a rule text for each city, the management terminal can present a list of cities bound to the rule text for the user to choose. The user can select the target city in the city list through the management terminal, and can further create a solution template request for the target city in the configuration page. The solution template here is created based on the rule text, that is, the rule text serves as a kind of guidance information. The solution templates created for different cities are determined based on the guidance information. For example, a certain ratio in the rule text gives an interval range, and when creating a range, a specific ratio value can be determined based on the interval range.

[0025] Furthermore, after creating a solution template request for the target city through visual configuration, the created solution template is automatically checked for errors based on the rule text bound to the target city. If there is no error, the creation is completed and the created solution template is bound to the target city; otherwise, the creation fails. The rule text can be used as a guide for creating a solution template. Therefore, if the content in the created solution template does not meet the restrictions of the rule text, then the solution template is considered to be incorrect, for example, the proportion in the solution template is not within the proportion range defined in the rule text.

[0026] refer to Figure 3 , which illustrates the solution template configuration page for the city of Shenzhen. The solution field components are displayed in the configuration page, and corresponding configurations are performed for each field component. Because Shenzhen is bound to the rule text, the corresponding values ​​are configured based on the bound rule text.

[0027] After the above configuration, each city is bound to the rule text, and a solution template is created based on the rule text. Therefore, one or more solution templates can be created for the same city, that is, one or more solution templates are bound to the same city. Furthermore, the creation of the above solution templates is completed on the management platform, and is specifically completed by the interaction between the management terminal and the server.

[0028] Step 102: when the created solution template is enabled, a calculation request of a second object under the first object is obtained, and social security calculation and provident fund calculation are performed for employees associated with the second object according to the enabled solution template.

[0029] In this step, the solution template created by the management platform can be automatically synchronized to the user system for use by the user system. Each salesperson can log in to the user system according to their own account. When logging in, multiple first objects, namely Party B companies, are presented in the user interface. When the salesperson selects any first object, all second objects, namely customer companies, associated with the first object are presented. When the salesperson selects any customer company, the service end of the user system provides the data of the customer company to the user end to present a page related to the selected customer company in the user interface, on which the results of social security calculation and provident fund calculation can be presented.

[0030] Furthermore, when the plan template is created and enabled, it is synchronized to the first object, Party B Company, and is applicable to all Party B companies, as well as to the second object, client companies, which are synchronized to Party B Company, and therefore applicable to client companies associated with each Party B company. All employees under the client company will be calculated according to the enabled plan template when social security and provident fund calculations are performed. That is, after the plan template is synchronized, it will be bound to all first objects, and all second objects under the first object will also be bound, and requests to use the plan template as a second object can be responded to.

[0031] Furthermore, since there are multiple solution templates enabled in the same city, solution templates can be specified for different employees in different customer companies through configuration.

[0032] This embodiment completes the creation of social security plan templates and provident fund plan templates for different cities through visual configuration, and combined with a specific system architecture, once the plan template is created and enabled, all Party B companies and all client companies under each Party B company can perform social security calculations and provident fund calculations according to the configured plan templates.

[0033] In this step, if an adjustment request for the rule text is obtained, the rule text is changed based on the request indication; based on the changed rule text, a changed target plan template is determined, wherein social security calculation and provident fund calculation are performed for the employees associated with the second object according to the target plan template, and the calculation method includes: parsing the target plan template to obtain the change content; if the change content includes a change effective date, obtaining the lock status corresponding to the social security and provident fund details table of the employees associated with the second object from the change effective date to the current date; and performing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template.

[0034] Since social security policies and provident fund policies are adjusted from time to time, in order to adapt to such adjustments, the rule text can be configured through visual configuration, and specific content can be presented in the rule text configuration page, and then further configuration such as creating or modifying the original configuration content can be completed to adapt to the policy content adjustment. When the policy content is adjusted, the target city can be used as an intermediate medium to determine that the solution template bound to the policy content also needs to be adjusted.

[0035] When the solution template is adjusted, the target solution template can be automatically adjusted based on the adjusted rule text content. Specifically, if the adjusted rule text content contains a numerical value, and the changed numerical value belongs to a certain value rather than a numerical range, then the value in the solution template is automatically adjusted synchronously based on the determined value to obtain the target solution template, such as the upper and lower limits of the base. If the changed numerical value does not belong to a certain value but belongs to a numerical range, the solution template cannot be automatically changed synchronously, and the platform administrator is further required to modify the configuration based on the policy content through the management terminal in a visual configuration manner to obtain the target solution template.

[0036] It should be understood that if the policy content has not been adjusted, the platform administrator can still directly adjust the plan template and enable the adjusted plan template through the management terminal in a visual configuration manner. When adjusting the plan template, the plan template to be modified can be disabled first and enabled after the modification is completed.

[0037] After obtaining the target plan template, social security recalculation and provident fund recalculation can be automatically performed. When implementing, the automatic calculation time can be pre-specified, and the automatic calculation will be performed after the automatic calculation time is reached. If the automatic recalculation time is not reached, the user can perform social security recalculation and provident fund recalculation based on the modified target plan template through the user end. Furthermore, before determining the modified target solution template, calculations can be performed according to the solution template at that time, and the triggering condition of the calculation can be that the calculation request is triggered automatically at a certain time, or that the calculation request is triggered manually by the user, or that the increase or decrease in the number of employees in the customer company triggers the calculation request. This can be set as needed. Furthermore, after the solution template is changed, the calculation is still automatically calculated according to the above triggering conditions.

[0038] If the content of a policy changes and the plan template is readjusted to obtain the target plan template, it can be recalculated according to the target plan template.

[0039] Furthermore, if the content of the change indicates the effective date of the policy change, the lock status corresponding to the social security and provident fund detailed table under the client enterprise can be determined. When determining the effective date of the policy change indicated by the content of the change, the solution template is bound to the policy. Then, when the calculation is implemented through the solution template, the effective date of the change in the policy content can be called. In practice, the effective date of the change is usually earlier than the current date and is a historical date. The difference calculation of the historical date is usually not automatically calculated in the related technology, but this embodiment solves this problem.

[0040] For example, if the upper and lower limits of the company's payment base for social security are adjusted and the effective date of the change is specified, then the lock status of the social security provident fund detailed table between the effective date of the change and the current date is obtained. The social security provident fund detailed table is a calculation result calculated on a monthly basis, and different calculations are performed based on the lock status. If a certain month has become a historical month, the social security provident fund detailed table for that month is associated with a locked state; if a certain month is the current month and the settlement has been completed, the social security provident fund detailed table for that month is associated with a locked state; if a certain month is the current month and the settlement has not been completed, the social security provident fund detailed table for that month is associated with an unlocked state.

[0041] For the employees to be changed, their social security provident fund statements for all months (i.e. historical months and current month) between the effective date of the change and the current date may have been locked; the social security provident fund statements for some months (i.e. historical months) may have been locked, while the social security provident fund statements for other months (i.e. current month) may not have been locked; further, it is possible that the month to which the effective date of the change and the current date both belong to the current month, and the social security provident fund statements for the current month have not been settled, in which case all the social security provident fund statements for the months between the effective date of the change and the current date (i.e. only the current month) are not locked.

[0042] As an optional implementation method of this embodiment, performing different types of social security calculations and provident fund calculations based on the lock status, the effective date of the change, and the target plan template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund details table with a lock status of locked, extracting the first social security information and the first provident fund information corresponding to the employees to be changed; using the target plan template to determine the second social security information and provident fund information of the employees to be changed; determining the difference based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

[0043] In this optional implementation, the social security and provident fund detailed list for some of the above months (i.e., historical months and current month) has been locked, while the social security and provident fund detailed list for another part of the months (i.e., current month) has not been locked: For locked months, use the target solution template to calculate the employees to be changed, and get the new values, namely the second social security information and the second provident fund information; the locked social security and provident fund details table records the first social security information and the first provident fund information before the change, so the first social security information and the first provident fund information can be extracted; then determine the difference between the second social security information and the first social security information; determine the difference between the second provident fund information and the second provident fund information. For unlocked months, directly use the target solution template to recalculate the employees to be changed, get the third social security information and the third provident fund information, and directly overwrite the previously calculated results.

[0044] After the above calculation, the same client company can obtain two types of data for the employees to be changed. One type is the data obtained by calculating the difference for the locked months; the other type is the data recalculated according to the target plan template for the unlocked months.

[0045] refer to Figure 4It illustrates the calculation result data of different employees to be changed in the same client company, where multiple data selected in the same rectangular box belong to the same employee. The social security and provident fund detailed statements of some months mentioned above for the same employee have been locked, while the social security and provident fund detailed statements of other months have not been locked. Therefore, there are multiple data for this employee, some of which are calculated differences, and the other are recalculated data.

[0046] For the situation where the social security and provident fund detailed lists for all months (i.e. historical months and current month) have been locked, the calculation is also based on the above-mentioned method of calculating the difference, which will not be repeated here.

[0047] As an optional implementation method of this embodiment, performing different types of social security calculations and provident fund calculations based on the lock status and the target plan template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund detailed list with an unlocked lock status, using the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

[0048] In this optional implementation, for the situation where all social security and provident fund detailed lists for the months between the effective date of the above changes and the current date (i.e., only the current month) are not locked: You can directly use the target plan template to determine the third social insurance information and third provident fund information of the employees to be changed to overwrite the original calculation results. After calculation in this case, the employees to be changed in the same customer company can obtain one type of data after recalculation, namely the third social insurance information and third provident fund information of the current month.

[0049] The above optional implementation method can automatically and accurately calculate social security information and provident fund information according to the adjusted plan template.

[0050] The above is a method provided for one or more embodiments of the present application. Based on the same idea, the present application also provides a corresponding flexible data calculation device, including a solution template creation unit, which is used to obtain the rule text bound to the target city after receiving a request to create a solution template for a target city; create a solution template based on the configuration information generated by the visual configuration page and the bound rule text, wherein the created solution template is a social security solution template and a provident fund solution template corresponding to the target city; a calculation unit, when the created solution template is enabled, obtains a calculation request for the second object under the first object, and performs social security calculation and provident fund calculation for the employees associated with the second object according to the enabled solution template; also includes an adjustment unit, which is used to change the rule text based on the request indication if an adjustment request for the rule text is obtained; and determines the changed target solution template based on the changed rule text. Social security calculation and provident fund calculation are performed for employees associated with the second object according to the target plan template. The calculation method includes: parsing the target plan template to obtain the change content; based on the change effective date indicated by the change content, obtaining the lock status corresponding to the social security and provident fund details table of the employees associated with the second object during the period from the change effective date to the current date; and executing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template.

[0051] Optionally, a city information configuration unit is further included, which is used to obtain a rule text configuration request for any city in the city list, and configure the any city based on the configuration content indicated by the configuration request to bind the rule text to the any city.

[0052] Optionally, performing different modes of social security calculation and provident fund calculation based on the lock status and the target solution template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund detailed list with a lock status of locked, extracting the first social security information and the first provident fund information corresponding to the employees to be changed; determining the second social security information and the provident fund information of the employees to be changed by using the target solution template; and determining the difference based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

[0053] Optionally, performing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template includes: determining the employees to be changed from the employees associated with the second object based on the change content; for the social security and provident fund details table whose lock status is unlocked, using the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

[0054] Figure 5 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 5As shown, the electronic device 50 includes: a processor 501 (processor), a memory 502 (memory) and a bus 503; The processor 501 and the memory 502 communicate with each other via the bus 503 ; the processor 501 is used to call program instructions in the memory 502 to execute the methods provided by the above-mentioned method embodiments.

[0055] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above method embodiments.

[0056] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various storage media that can store program codes.

[0057] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme template of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0058] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution template is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0059] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A flexible data calculation method, characterized in that: include: After receiving a request to create a solution template for a target city, obtaining a rule text bound to the target city; Creating a scheme template based on the configuration information generated by the visual configuration page and the bound rule text, wherein the created scheme template is a social security scheme template and a provident fund scheme template corresponding to the target city; When the created scheme template is enabled, if a calculation request for a second object under the first object is obtained, social security and provident fund calculations are performed for the employees associated with the second object according to the enabled scheme template; Among them, if an adjustment request for the rule text is obtained, the rule text is changed based on the request indication; the changed target plan template is determined based on the changed rule text; social security calculation and provident fund calculation are performed for the employees associated with the second object according to the target plan template, and the calculation method includes: parsing the target plan template to obtain the change content; based on the change effective date indicated by the change content, obtaining the lock status corresponding to the social security and provident fund details table of the employees associated with the second object from the change effective date to the current date; and executing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template.

2. A flexible data calculation method according to claim 1, characterized in that: Before responding to the request to create a plan template for the target city, the method includes: A rule text configuration request for any city in the city list is obtained, and the any city is configured based on the configuration content indicated by the configuration request to bind the rule text to the any city.

3. The flexible data calculation method according to claim 1, characterized in that: Based on the locked status and target scheme template, different social security and housing provident fund calculations are performed, including: Determine the employee to be changed from the employees associated with the second object based on the change content; For the social security and provident fund detailed list with the locked status as locked, extract the first social security information and first provident fund information corresponding to the employee to be changed; Use the target plan template to determine the secondary social insurance information and provident fund information of the employees to be changed; The difference is determined based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

4. The flexible data calculation method according to claim 1, characterized in that: Based on the locked status and target scheme template, different social security and housing provident fund calculations are performed, including: Determine the employee to be changed from the employees associated with the second object based on the change content; For the social security and provident fund detailed list whose lock status is unlocked, use the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

5. A flexible data computing device, characterized in that: include: A solution template creation unit, configured to, upon receiving a request to create a solution template for a target city, obtain a rule text bound to the target city; Creating a scheme template based on the configuration information generated by the visual configuration page and the bound rule text, wherein the created scheme template is a social security scheme template and a provident fund scheme template corresponding to the target city; A calculation unit, when the created scheme template is enabled, obtains a calculation request of a second object from the first object, and performs social security calculation and provident fund calculation for employees associated with the second object according to the enabled scheme template; The device also includes an adjustment unit, which is used to change the rule text based on the method indicated by the request if an adjustment request for the rule text is obtained; determine the changed target plan template based on the changed rule text; wherein, social security calculation and provident fund calculation are performed for the employees associated with the second object according to the target plan template, and the calculation includes: parsing the target plan template to obtain the change content; based on the change effective date indicated by the change content, obtaining the lock status corresponding to the social security and provident fund details table of the employees associated with the second object from the change effective date to the current date; and executing different methods of social security calculation and provident fund calculation based on the lock status and the target plan template.

6. The flexible data computing device according to claim 5, characterized in that: The device also includes a city information configuration unit, which is used to obtain a rule text configuration request for any city in the city list, and configure the any city based on the configuration content indicated by the configuration request to bind the rule text to the any city.

7. The flexible data computing device according to claim 5, characterized in that: Based on the locked status and target scheme template, different social security and provident fund calculations are performed, including: Determine the employee to be changed from the employees associated with the second object based on the change content; For the social security and provident fund detailed list with the locked status as locked, extract the first social security information and first provident fund information corresponding to the employee to be changed; Use the target plan template to determine the secondary social insurance information and provident fund information of the employees to be changed; The difference is determined based on the first social security information and the first provident fund information, the second social security information and the second provident fund information.

8. The flexible data computing device according to claim 5, characterized in that: Based on the locked status and target scheme template, different social security and housing provident fund calculations are performed, including: Determine the employee to be changed from the employees associated with the second object based on the change content; For the social security and provident fund detailed list whose lock status is unlocked, use the target plan template to determine the third social security information and third provident fund information of the employees to be changed.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 4 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Human resource base adjustment and difference compensation account set generation algorithm based on social security policy adjustment and SAAS platform

    CN110866737A

  • Human resource declaration payment generation algorithm based on national social insurance declaration and SAAS platform

    CN111652567A

  • Human resource calculator algorithm based on social safety and accumulation fund and SAAS platform

    CN111784273A