Attendance management method and device based on property system, equipment and medium
By setting up a visual interface in the property system, non-professional personnel can edit the calculation needs of attendance results, solving the problems of high communication costs and frequent code writing in traditional attendance management, and achieving more efficient attendance results calculation and rule modification.
Patent Information
- Application Number
- CN202411869145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-05-06
AI Technical Summary
Traditional attendance result calculation rules require frequent communication between attendance managers and developers, resulting in high communication costs and labor costs. When the attendance system changes, the operation code needs to be rewrite, which increases the work burden of developers.
Provide a property system-based attendance management method, by setting up a visual interface in the property system, allowing non-professional personnel to edit attendance results for different functional types to calculate the requirements, freely combining the code of the formula database to calculate the attendance results.
It reduces the labor costs and communication costs of developers, improves the efficiency of building and modifying attendance result calculation rules, and reduces the need to rewrite code due to changes in attendance system.
Smart Images

Figure CN119941202A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to the field of attendance management technology, and in particular to an attendance management method, device, equipment, and medium based on a property system. Background Art
[0002] In the same property management company, employees in different subsidiaries or with different functions have different attendance systems, and different attendance systems correspond to different attendance result calculation rules. The traditional attendance result calculation rules are formulated by the attendance management personnel, and different attendance result calculation rules are sent to the developers, so that the developers can write the corresponding operation code according to the needs. When the service for calculating the attendance results of the property company employees is triggered, the corresponding operation code is called according to the different types of employees for calculation. When the attendance system changes, the corresponding attendance result calculation rules also change. In this case, the attendance management personnel need to resend the modification requirements to the developers, and the developers need to rewrite the operation code. However, this method brings about a large communication cost and the human cost of the developers. Summary of the invention
[0003] The embodiments of the present application provide a property system-based attendance management method, device, equipment, and medium, which can effectively reduce the manpower cost of developers.
[0004] In the first aspect, an embodiment of the present application provides an attendance management method based on a property system, which is applied to a property system, wherein the property system is connected to multiple terminals for communication, the property system includes a database and a formula code library, and each of the terminals corresponds to a user identifier, and the method includes:
[0005] receiving first punch-in data sent by each of the terminals, associating the user identifier with the first punch-in data, and saving each of the first punch-in data into the database;
[0006] Displaying a visualization interface, the visualization interface comprising a plurality of first fields and a plurality of second fields, wherein different first fields represent different functional types, and the second fields comprise operators and different formula identifiers;
[0007] In response to the user's association operation between each of the first fields and the corresponding target fields, a target operator and a target formula identifier corresponding to each of the functional types are obtained, wherein the target field includes the target operator and the target formula identifier, and the target field is selected by the user from the second field;
[0008] For each of the functional types, a first formula code corresponding to the target formula identifier is obtained from the formula code library, and a target code is obtained based on the combination of the first formula code and the target operator;
[0009] Determine the target function type corresponding to each of the user identifiers, determine the target code corresponding to the target function type, and calculate the attendance result corresponding to each of the user identifiers based on the target code and the first punch-in data.
[0010] In some embodiments, the visualization interface further includes a display window. For each of the functional types, before obtaining the formula code corresponding to the target formula identifier from the formula code library, the method further includes:
[0011] In response to the user selecting the target field from the second field, displaying each of the target fields in the display window in the order in which the target fields are selected;
[0012] In response to a user clicking an operation on a formula verification button of the display window, obtaining a second formula code corresponding to the target field from the formula code library, and obtaining a candidate code based on the second formula code and the target operator combination in the target field;
[0013] A preset verification algorithm is called to verify the candidate code to obtain a verification result.
[0014] In some embodiments, the method further comprises:
[0015] In response to a user's selection operation on each of the target fields displayed in the display window, determining the selected target field as a first reference field;
[0016] A second reference field selected by a user from a plurality of the second fields is obtained, and the first reference field is replaced by the second reference field.
[0017] In some embodiments, each of the first formula codes includes an input statement, an operation statement, and an output statement, and a target code is obtained based on the combination of the first formula code and the target operator, including:
[0018] Merging all of the input sentences to obtain a target input sentence;
[0019] Acquire selection order information of the target operator and the target formula identifier selected by the user in the visualization interface, and merge all the operation statements to obtain a target operation statement based on the selection order information and the target operator;
[0020] Merging all of the output statements to obtain a target output statement;
[0021] The target input statement, the target operation statement and the target output statement are combined to obtain the target code.
[0022] In some embodiments, the first punch-in data corresponding to each user identifier includes a plurality of sub-data, and the punch-in data types corresponding to the sub-data are different from each other. The target input statement includes a plurality of input parameter variables, and different input parameter variables correspond to different sub-data. The attendance results corresponding to each user identifier are calculated based on the target code and the first punch-in data, including:
[0023] Acquire target sub-data corresponding to the input parameter variable from the database;
[0024] Assign each of the target sub-data to the corresponding input parameter variables in the target input statement, and calculate all of the target sub-data through the target operation statement to obtain the attendance result;
[0025] The attendance result is outputted through the target output statement.
[0026] In some embodiments, after calculating the attendance result corresponding to each of the user identifiers based on the target code and the first punch-in data, the method further includes:
[0027] Sending each of the attendance results and the corresponding first punch-in data to each of the corresponding terminals, and receiving feedback information from the terminals;
[0028] When the feedback information includes second punch-in data, determining a reference user identifier corresponding to the second punch-in data, and determining a reference function type corresponding to the reference user identifier;
[0029] Replacing the first punch-in data corresponding to the reference user identifier in the database with the second punch-in data;
[0030] determining, from the target code, a reference code corresponding to the reference functional type;
[0031] The attendance result corresponding to the reference user identification is recalculated based on the reference code and the second punch-in data.
[0032] In some embodiments, after calculating the attendance result corresponding to each of the user identifiers based on the target code and the first punch-in data, the method further includes:
[0033] When all the feedback information indicates that the user corresponding to the user identifier confirms the attendance result, the attendance results corresponding to the same functional type are analyzed and processed based on the preset data analysis rules to obtain various attendance analysis results, wherein different functional types corresponding to different attendance analysis results are different from each other;
[0034] When any of the attendance analysis results is detected to be abnormal, an alarm message is generated according to the abnormal attendance analysis result and the corresponding attendance result;
[0035] The warning information is displayed on the visual interface.
[0036] In a second aspect, an embodiment of the present application provides a control device, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the attendance management method based on the property system as described in the first aspect.
[0037] In a third aspect, an embodiment of the present application further provides an electronic device, comprising the control device of the second aspect.
[0038] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the attendance management method based on the property system as described in the first aspect.
[0039] The embodiment of the present application provides an attendance management method, device, equipment, and medium based on a property system, the method comprising: receiving first punch-in data sent by each of the terminals, associating the user identifier with the first punch-in data, and saving each of the first punch-in data to the database; displaying a visualization interface, the visualization interface comprising a plurality of first fields and a plurality of second fields, wherein different first fields represent different functional types, and the second fields comprise operators and different formula identifiers; in response to the user's association operation between each of the first fields and the corresponding target fields, obtaining a target operator and a target formula identifier corresponding to each of the functional types, wherein the target field comprises the target operator and the target formula identifier, and the target field is obtained by the user selecting from the second field; for each of the functional types, obtaining a first formula code corresponding to the target formula identifier from the formula code library, and obtaining a target code based on a combination of the first formula code and the target operator; determining a target functional type corresponding to each of the user identifiers, determining a target code corresponding to the target functional type, and calculating the attendance result corresponding to each of the user identifiers based on the target code and the first punch-in data. According to the solution provided in the embodiment of the present application, a visual interface is provided in the property system for non-professionals to edit different attendance result calculation requirements for different functions on demand, so as to realize the free combination of formula database codes to obtain target codes to calculate attendance results. Compared with the solution in which developers communicate with attendance personnel to write codes and the original code needs to be rewritten when changes occur, it can effectively reduce the manpower cost and communication cost of developers. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a flowchart of the steps of the attendance management method based on the property system provided by an embodiment of the present application; Figure 2 It is a structural diagram of a control device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] It is understood that although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0045] In the same property management company, employees in different subsidiaries or with different functions have different attendance systems, and different attendance systems correspond to different attendance result calculation rules. The traditional attendance result calculation rules are formulated by the attendance management personnel, and different attendance result calculation rules are sent to the developers, so that the developers can write the corresponding operation code according to the needs. When the service for calculating the attendance results of the property company employees is triggered, the corresponding operation code is called according to the different types of employees for calculation. When the attendance system changes, the corresponding attendance result calculation rules also change. In this case, the attendance management personnel need to resend the modification requirements to the developers, and the developers need to rewrite the operation code. However, this method brings about a large communication cost and the human cost of the developers.
[0046] In order to solve the above-mentioned problems, the embodiments of the present application provide an attendance management method, device, equipment, and medium based on a property system, the method comprising: receiving the first punch-in data sent by each of the terminals, associating the user identification with the first punch-in data, and saving each of the first punch-in data to the database; displaying a visualization interface, the visualization interface comprising a plurality of first fields and a plurality of second fields, wherein different first fields represent different functional types, and the second fields comprise operators and different formula identifiers; in response to the user's association operation between each of the first fields and the corresponding target fields, obtaining the target operator and the target formula identifier corresponding to each of the functional types, wherein the target field comprises the target operator and the target formula identifier, and the target field is selected by the user from the second field; for each of the functional types, obtaining the first formula code corresponding to the target formula identifier from the formula code library, and obtaining the target code based on the combination of the first formula code and the target operator; determining the target functional type corresponding to each of the user identifications, determining the target code corresponding to the target functional type, and calculating the attendance result corresponding to each of the user identifications based on the target code and the first punch-in data. According to the solution provided in the embodiment of the present application, a visual interface is provided in the property system for non-professionals to edit different attendance result calculation requirements for different functions on demand, so as to realize the free combination of formula database codes to obtain target codes to calculate attendance results. Compared with the solution in which developers communicate with attendance personnel to write codes and the original code needs to be rewritten when changes occur, it can effectively reduce the manpower cost and communication cost of developers.
[0047] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0048] refer to Figure 1 , Figure 1 This is a flowchart of the steps of the attendance management method based on the property system provided by an embodiment of the present application. The embodiment of the present application provides an attendance management method based on the property system. The method is applied to the property system. The property system is connected to multiple terminals for communication. The property system includes a database and a formula code library. Each terminal corresponds to a user identifier. The method includes but is not limited to the following steps:
[0049] Step S10, receiving the first punch-in data sent by each terminal, associating the user identification with the first punch-in data, and saving each first punch-in data into a database.
[0050] Specifically, each terminal of the present embodiment corresponds to a different terminal for logging into the property attendance APP. The user identifier of the present embodiment can uniquely identify the employee of the property company who logs into the terminal. The user identifier corresponds to a variety of functional types. The functional types of the present embodiment are used to indicate different functional departments in the property company. It can be understood that the attendance systems corresponding to different functional departments of the same company are different.
[0051] Specifically, the first punch-in data of this embodiment includes different types of punch-in data such as vacation time, attendance hours, outing and business trip hours, annual leave hours, etc. This embodiment can provide an effective data basis for the subsequent calculation of the corresponding attendance results by receiving the first punch-in data sent by each terminal.
[0052] Specifically, this embodiment does not limit the specific method of storing the first punch-in data in the database. Different storage spaces may be allocated in the database for different functional types, so that after the target attendance result calculation rules are subsequently determined, when it is necessary to obtain the first punch-in data of the corresponding functional type, it can be quickly extracted from the database by identifying the functional type, without having to compare and screen all the first punch-in data in the database one by one to select the corresponding target functional type, thereby improving data access efficiency and thus improving the efficiency of calculating attendance results.
[0053] Step S20, displaying a visualization interface, the visualization interface includes a plurality of first fields and a plurality of second fields, wherein different first fields represent different functional types, and the second fields include operators and different formula identifiers.
[0054] Specifically, the visualization interface of this embodiment is displayed after the attendance management personnel log in to the server of the property system, and can plan and customize appropriate attendance result calculation rules according to different functional types. When the formula identifier in each second field in the visualization interface is detected to be selected, the formula description information is mapped and displayed, so that the user can select as needed, and select the operator as needed, and then generate the corresponding attendance result calculation rule based on the selected formula identifier and operator combination.
[0055] Step S30, in response to the user's association operation between each first field and the corresponding target field, obtain the target operator and target formula identifier corresponding to each functional type, wherein the target field includes the target operator and the target formula identifier, and the target field is selected by the user from the second field.
[0056] Specifically, this embodiment does not limit the specific association operation between the first field and the target field. Since each target formula identifier and target operator in the target field corresponds to a different selection order, the association operation between the first field and the target field can be to connect the selected first field with the selected first target field (target formula identifier or target operator), or to click and select the selected first field and the target field in sequence.
[0057] It can be understood that the property system of this embodiment is used by attendance management personnel rather than R&D personnel. The property system displays a visual interface that can provide construction services for different attendance result calculation rules, which can facilitate attendance management personnel to formulate attendance result calculation rules as needed. After selecting the target field and performing the association operation between the first field and the target field in the visual interface, the target formula code corresponding to each selected target formula identifier can be automatically linked to form the target code corresponding to the attendance result calculation rule. Compared with the existing solution in which developers communicate code writing requirements with attendance management personnel and developers write code, the efficiency of building and modifying the code corresponding to the attendance result calculation rule can be improved.
[0058] Step S40: for each functional type, a first formula code corresponding to the target formula identifier is obtained from a formula code library, and a target code is obtained based on the combination of the first formula code and the target operator.
[0059] Specifically, the formula code library of this embodiment includes multiple formula codes, each formula code is a code pre-written by the developer, such as a business trip overlapping time calculation code, an actual attendance time calculation code, etc. Each formula code is associated with a formula identifier. According to the target formula identifier specifically selected by the attendance management personnel in the visualization interface, the corresponding first formula code is automatically selected from the formula code library and combined to obtain the corresponding target code. When the attendance system corresponding to the functional type changes, the attendance management personnel can directly re-select the new target field in the visualization interface and perform the association operation between the first field and the new target field to generate a new attendance result calculation rule. There is no need for the developer to rewrite a new operation code, which greatly reduces the labor cost of the developer.
[0060] In some embodiments, the visualization interface further includes a display window. Figure 1 Before step S40, the attendance management method based on the property system of this embodiment also includes but is not limited to the following steps:
[0061] Step S41, in response to the user's operation of selecting a target field from the second field, displaying each target field in the display window according to the selection order of each target field;
[0062] Step S42, in response to the user clicking the formula verification button in the display window, obtain the second formula code corresponding to the target field from the formula code library, obtain the candidate code based on the second formula code and the target operator in the target field, call the preset verification algorithm to verify the candidate code, and obtain the verification result.
[0063] It can be understood that, in this embodiment, after the user selects the target field from the second field, the target formula identifier and the target operator are displayed in the display window in sequence according to the selected order, so that the attendance management personnel in operation can monitor the attendance result calculation rules in real time, avoid operational errors, and improve the accuracy of the attendance result calculation rules.
[0064] It should be noted that there is also a formula verification button in the display window of the embodiment of the present application. When the formula verification button is clicked, the second formula code corresponding to the selected target formula identifier is triggered to be called, and a candidate code is obtained by combining the selected target operator with the second formula code. The preset code verification algorithm is called to verify the candidate code to obtain a verification result, which is displayed in the display window, thereby further improving the reliability of the formulated attendance result calculation rules.
[0065] In addition, when the visual interface includes a display window, the attendance management method based on the property system of this embodiment also includes but is not limited to the following steps:
[0066] Step S43, in response to the user's selection operation on each target field displayed in the display window, determining the selected target field as the first reference field;
[0067] Step S44: obtaining a second reference field selected by the user from a plurality of second fields, and replacing the first reference field with the second reference field.
[0068] It can be understood that, referring to the description of the above embodiment, each target formula identifier and target operator in the selected target field corresponds to a different selection order. When the attendance result calculation rule needs to be modified and the modification range is small, if the target field needs to be selected again from the beginning, it will take a lot of time and produce a bad user experience. Based on this, each target field displayed in the display window of this embodiment corresponds to an optional button, allowing the user to select the target to be modified from all the optional buttons, determine the selected target field as the first reference field, and trigger the service of selecting a replacement field from the second field. When it is detected that the user selects a second reference field from multiple second fields, the second reference field replaces the first reference field to complete the modification operation. The following is an explanation of the operations of step S43 to step S44 using a specific example: for example, the display window displays "A+BC", where "A", "+", "B", "-" and "C" correspond to different optional keys respectively, and only one optional key can be selected at the same time in the display window. When "A" is selected, the selectable services identified by the formula other than "A" in the second field are triggered. When "D" is selected in the second field, "D" replaces "A", and the display window displays "D+BC". There is no need to re-select "D", "+", "B", "-" and "C" in the second field in turn, thereby improving modification efficiency.
[0069] In some embodiments, Figure 1 The step S40 of obtaining the target code based on the combination of the first formula code and the target operator includes but is not limited to the following steps:
[0070] Step S45, merging all input sentences to obtain a target input sentence;
[0071] Step S46, obtaining the selection order information of the target operator and the target formula identifier selected by the user in the visualization interface, and merging all operation statements to obtain the target operation statement based on the selection order information and the target operator;
[0072] Step S47, merging all output statements to obtain a target output statement;
[0073] Step S48, combine the target input statement, the target operation statement and the target output statement to obtain the target code.
[0074] It can be understood that the specific operation of combining each first formula code and the target operator to obtain the target code in this embodiment is to merge the selected first formula codes into input statements, merge the operation statements and merge the output statements, and combine the merged statements to obtain the target code. Specifically, the operation of merging the operation statements is to first obtain the selection order information of the user selecting the target operator and the target formula identifier in the visual interface, and merge each operation statement based on the selection order information and the target operator to obtain a new logical combination, that is, the target operation statement, which can realize multiple input parameters and one output result, and provide effective support for simplifying the operation process and improving the operation efficiency.
[0075] Step S50, determining the target function type corresponding to each user identification, determining the target code corresponding to the target function type, and calculating the attendance result corresponding to each user identification based on the target code and the first punch-in data.
[0076] It can be understood that after determining the target code corresponding to each functional type, this embodiment obtains the first punch-in data from the database, and calculates the corresponding attendance result with the corresponding target code. At the preset time node, such as the monthly salary settlement date or the year-end summary date, the attendance management personnel need to count the attendance results of each employee within the preset time period (one week, one month or one year), which can provide an effective data basis for the subsequent evaluation of employees' work attendance rate, work stability rate, etc.
[0077] In summary, the property system provides a visual interface for non-professionals to edit different attendance result calculation requirements for different functions on demand, so as to realize the free combination of formula database code to obtain the target code to calculate the attendance results. Compared with the solution in which developers communicate with attendance personnel to write code and the original code needs to be rewritten when changes occur, it can effectively reduce the labor cost and communication cost of developers.
[0078] In some embodiments, the first punch-in data corresponding to each user identification includes a plurality of sub-data, and the punch-in data types corresponding to the sub-data are different from each other. The target input statement includes a plurality of input parameter variables, and different input parameter variables correspond to different sub-data. Figure 1 Step S50 of calculating the attendance result corresponding to each user ID based on the target code and the first punch-in data includes but is not limited to the following steps:
[0079] Step S51, obtaining target sub-data corresponding to the input parameter variable from the database;
[0080] Step S52, assigning each target sub-data to each corresponding input parameter variable in the target input statement, and performing operations on all the target sub-data through the target operation statement to obtain the attendance result;
[0081] Step S53: output the attendance result through the target output statement.
[0082] Specifically, referring to the description of the above embodiment, the sub-data of this embodiment may correspond to various types of clock-in data, such as vacation time, attendance hours, outing and business trip hours, annual leave hours, etc.
[0083] It can be understood that since the first punch-in data corresponding to each user identification in this embodiment includes multiple sub-data, the punch-in data types corresponding to the various sub-data are different, and the target input statement includes multiple input parameter variables, different input parameter variables correspond to different sub-data, that is, the user identification and the sub-data as well as the input parameter variables of the target input statement have a mapping relationship, thereby being able to provide effective support for calculating attendance results.
[0084] It can be understood that, when there are multiple input parameters corresponding to the target input statement, the target sub-data corresponding to the input parameter variable is obtained from the database, each target sub-data is assigned to the corresponding input parameter variable in the target input statement, and all the target sub-data are operated once through the merged target operation statement to obtain the attendance result, and output through the target output statement. That is to say, after combining the formula codes, multiple data inputs and one result output can be achieved. Compared with assigning each data to be input to the input parameter of the input statement in a different first formula code, and then each first formula code outputs the corresponding result, and finally calculating the attendance result according to the selection order information, the target operator and the output result of each first formula code, the method of this embodiment can effectively simplify the operation process and improve the operation efficiency.
[0085] In addition, in some embodiments, when executing Figure 1 After step S50, the attendance management method based on the property system of this embodiment further includes but is not limited to the following steps:
[0086] Step S61, sending each attendance result and the corresponding first punch-in data to each corresponding terminal, and receiving feedback information from the terminal;
[0087] Step S62, when the feedback information includes the second punch-in data, determining the reference user identifier corresponding to the second punch-in data, and determining the reference function type corresponding to the reference user identifier;
[0088] Step S63, replacing the first punch-in data corresponding to the reference user identifier in the database with the second punch-in data;
[0089] Step S64, determining a reference code corresponding to the reference function type from the target code;
[0090] Step S65: recalculate the attendance result corresponding to the reference user identifier based on the reference code and the second punch-in data.
[0091] Specifically, when the feedback information includes the second punch-in data, it means that the feedback information indicates that the user corresponding to the user ID does not agree with the attendance result and re-uploads new punch-in data, i.e., the second punch-in data; the reference user ID of this embodiment is the user ID corresponding to the second punch-in data included in the feedback information.
[0092] It can be understood that after executing the step of calculating the attendance results corresponding to each user identification based on the target code and the first punch-in data, that is, after completing the calculation of the attendance results corresponding to the user identification of each terminal, this embodiment sends each attendance result to each terminal to obtain feedback information from each terminal, and uses the feedback information as a reference factor for the final attendance result, thereby ensuring the accuracy of the attendance result. Specifically, this embodiment sends each attendance result and the corresponding first punch-in data to each corresponding terminal, and receives feedback information from the terminal; when the feedback information includes the second punch-in data, determines the reference user identification corresponding to the second punch-in data, and determines the reference function type corresponding to the reference user identification; replaces the first punch-in data corresponding to the reference user identification in the database with the second punch-in data, determines the reference code corresponding to the reference function type from the target code, and recalculates the attendance result corresponding to the reference user identification based on the reference code and the second punch-in data.
[0093] In addition, in some embodiments, when executing Figure 1 After step S50, the attendance management method based on the property system of this embodiment further includes but is not limited to the following steps:
[0094] Step S65, when all the feedback information represents the user confirmation attendance result corresponding to the user identification, the attendance results corresponding to the same functional type are analyzed and processed based on the preset data analysis rules to obtain various attendance analysis results, wherein different attendance analysis results correspond to different functional types;
[0095] Step S66, when any attendance analysis result is detected to be abnormal, an alarm message is generated according to the abnormal attendance analysis result and the corresponding attendance result;
[0096] Step S67, displaying the alarm information on a visual interface.
[0097] Specifically, the data analysis rules of this embodiment can be selected by those skilled in the art as needed, and may be employee attendance rate analysis rules or employee work stability rate analysis rules, and no further restrictions are made here.
[0098] It can be understood that, with reference to the description of the above embodiment, when all feedback information represents the user confirmed attendance result corresponding to the user identifier, the attendance results corresponding to the same functional type are analyzed and processed based on the preset data analysis rules to obtain various attendance analysis results, wherein different attendance analysis results correspond to different functional types; when an abnormality is detected in any attendance analysis result, an alarm message is generated based on the abnormal attendance analysis result and the corresponding attendance result, and the alarm message is displayed on a visual interface, so that the abnormal situation can be promptly notified to the attendance management personnel to take countermeasures.
[0099] like Figure 2 As shown, Figure 2 2 is a structural diagram of a control device provided in an embodiment of the present application. The present invention also provides a control device 200, including:
[0100] The processor 210 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0101] The memory 220 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 220 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 220, and the processor 210 calls and executes the attendance management method based on the property system of the embodiment of this application;
[0102] Input / output interface 230, used to implement information input and output;
[0103] Communication interface 240, used to realize communication interaction between the apparatus and other devices, which can be realized by wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.);
[0104] bus 250 , which transmits information between the various components of the device (e.g., processor 210 , memory 220 , input / output interface 230 , and communication interface 240 );
[0105] The processor 210 , the memory 220 , the input / output interface 230 , and the communication interface 240 are connected to each other in communication within the device via the bus 250 .
[0106] In addition, an embodiment of the present application further provides an electronic device, including the control device 200 of the above embodiment.
[0107] In addition, an embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned attendance management method based on the property system is implemented.
[0108] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0109] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0110] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. An attendance management method based on a property system, characterized in that: Applied to a property system, the property system is connected to multiple terminals in communication, the property system includes a database and a formula code library, each of the terminals corresponds to a user identifier, and the method includes: receiving first punch-in data sent by each of the terminals, associating the user identifier with the first punch-in data, and saving each of the first punch-in data into the database; Displaying a visualization interface, the visualization interface comprising a plurality of first fields and a plurality of second fields, wherein different first fields represent different functional types, and the second fields comprise operators and different formula identifiers; In response to the user's association operation between each of the first fields and the corresponding target fields, a target operator and a target formula identifier corresponding to each of the functional types are obtained, wherein the target field includes the target operator and the target formula identifier, and the target field is selected by the user from the second field; For each of the functional types, a first formula code corresponding to the target formula identifier is obtained from the formula code library, and a target code is obtained based on the combination of the first formula code and the target operator; Determine the target function type corresponding to each of the user identifiers, determine the target code corresponding to the target function type, and calculate the attendance result corresponding to each of the user identifiers based on the target code and the first punch-in data.
2. The attendance management method based on the property system according to claim 1 is characterized in that: The visualization interface further includes a display window. For each of the functional types, before obtaining the formula code corresponding to the target formula identifier from the formula code library, the method further includes: In response to the user selecting the target field from the second field, displaying each of the target fields in the display window in the order in which the target fields are selected; In response to a user clicking on a formula verification button in the display window, a second formula code corresponding to the target field is obtained from the formula code library, a candidate code is obtained based on the second formula code and the target operator in the target field, a preset verification algorithm is called to verify the candidate code, and a verification result is obtained.
3. The attendance management method based on the property system according to claim 2 is characterized in that: The method further comprises: In response to a user's selection operation on each of the target fields displayed in the display window, determining the selected target field as a first reference field; A second reference field selected by a user from a plurality of the second fields is obtained, and the first reference field is replaced by the second reference field.
4. The attendance management method based on the property system according to claim 1 is characterized in that: Each of the first formula codes includes an input statement, an operation statement, and an output statement. A target code is obtained based on the combination of the first formula code and the target operator, including: Merging all of the input sentences to obtain a target input sentence; Acquire selection order information of the target operator and the target formula identifier selected by the user in the visualization interface, and merge all the operation statements to obtain a target operation statement based on the selection order information and the target operator; Merging all of the output statements to obtain a target output statement; The target input statement, the target operation statement and the target output statement are combined to obtain the target code.
5. The attendance management method based on the property system according to claim 4 is characterized in that: The first punch-in data corresponding to each user ID includes a plurality of sub-data, and the punch-in data types corresponding to the sub-data are different from each other. The target input statement includes a plurality of input parameter variables, and different input parameter variables correspond to different sub-data. The attendance results corresponding to each user ID are calculated based on the target code and the first punch-in data, including: Acquire target sub-data corresponding to the input parameter variable from the database; Assign each of the target sub-data to the corresponding input parameter variables in the target input statement, and calculate all of the target sub-data through the target operation statement to obtain the attendance result; The attendance result is outputted through the target output statement.
6. The attendance management method based on the property system according to claim 1 is characterized in that: After calculating the attendance results corresponding to each of the user identifiers based on the target code and the first punch-in data, the method further includes: Sending each of the attendance results and the corresponding first punch-in data to each of the corresponding terminals, and receiving feedback information from the terminals; When the feedback information includes second punch-in data, determining a reference user identifier corresponding to the second punch-in data, and determining a reference function type corresponding to the reference user identifier; Replacing the first punch-in data corresponding to the reference user identifier in the database with the second punch-in data; determining, from the target code, a reference code corresponding to the reference functional type; The attendance result corresponding to the reference user identification is recalculated based on the reference code and the second punch-in data.
7. The attendance management method based on the property system according to claim 6 is characterized in that: After calculating the attendance results corresponding to each of the user identifiers based on the target code and the first punch-in data, the method further includes: When all the feedback information indicates that the user corresponding to the user identifier confirms the attendance result, the attendance results corresponding to the same functional type are analyzed and processed based on the preset data analysis rules to obtain various attendance analysis results, wherein different functional types corresponding to different attendance analysis results are different from each other; When any of the attendance analysis results is detected to be abnormal, an alarm message is generated according to the abnormal attendance analysis result and the corresponding attendance result; The warning information is displayed on the visual interface.
8. A control device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the attendance management method based on the property system as described in any one of claims 1 to 7.
9. An electronic device, characterized in that: Comprising the control device as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the attendance management method based on the property system as described in any one of claims 1 to 7.