System management device and method for shift management
Through the modular scheduling management structure constructed by container manager, tag manager and binding loader, the problem of low efficiency of the existing scheduling management system is solved, flexible scheduling management and resource reuse is realized, and management is improved. Flexibility and efficiency.
Patent Information
- Application Number
- CN202010908379.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-02
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-09-02
AI Technical Summary
The existing scheduling management system is inefficient, cannot meet the real-time and effectiveness requirements of scheduling plans, and is difficult to achieve flexible reuse of personnel and time resources.
The scheduling management structure is constructed using container manager, tag manager and binding loader. Through modular and tagged managers and time resources, container copying and space management are realized, and a flexible expansion of multiple scheduling types and rules is supported.
It improves the flexibility and efficiency of scheduling management, supports the coexistence of multiple scheduling types, realizes flexible reuse of personnel and time resources, and simplifies maintenance and management processes.
Smart Images

Figure CN112396387B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of computer application and communication, and in particular to a system management device and method for shift management, and a device and method for flexibly implementing a shift manager using the system management device. Background Art
[0002] With the diversification of the current corporate work model, there are also many rules for employees' work and rest time, such as 9 am to 5 pm Monday to Friday, 9 am to 9 pm six days a week, 6 pm to midnight work two days and rest one day, etc. There are also multiple work and rest time coexisting in one company. Therefore, it is necessary to have a systematic scheduling management for working hours and rest time. At the same time, the entry, position, and resignation of corporate employees are all managed uniformly in the human resources management system. Therefore, the scheduling system needs to keep in touch with the corporate human resources management system.
[0003] As for the scheduling method, there are some systems that can schedule personnel, but they need to be configured in the management interface. If there are a large number of people, it will also affect the efficiency of processing. At the same time, if the human resources employee management platform and the scheduling platform cannot communicate with each other, it is necessary to manually import the information of all employees.
[0004] At the same time, with the deepening of enterprise operations, there are multiple schedules coexisting and multiple rules switching. Therefore, the schedule needs to be expanded, the types of schedules are increased, and the schedule rules are modified. The original personnel and time resources need to be reused, and there are higher requirements for the flexibility of management methods. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a system management device and method for scheduling management, so as to at least solve the technical problems in the prior art that manual scheduling is inefficient, cannot meet the real-time and effectiveness requirements of the scheduling plan, and realize the reuse of personnel and time resources.
[0006] According to one aspect of the present invention, there is provided a system management device for shift management, including a container manager;
[0007] The container manager is used to define and manage containers, each of which includes: one or more modules; wherein,
[0008] Defining a container includes: creating a new container in response to a specified operation, and specifying a name of the new container, wherein the name is defined in information accompanying the specified operation;
[0009] The so-called container management includes: space management and content management of the specified container, wherein the content management includes: responding to the specified operation, adding one or more modules and / or deleting one or more modules in the specified container, and the space management includes: when adding a module in the specified container, allocating space for the added module, and reclaiming space after deleting the module;
[0010] The container manager is further used to execute a container copy function, wherein the container copy includes: copying all modules and all labels in one container or all labels of a specified module to another container.
[0011] According to another aspect of the present invention, the present invention provides a system management method for shift management, comprising: managing a container, further comprising:
[0012] Defining a container includes: responding to a specified operation, creating a new container, and specifying a name of the new container, where the name is defined in information accompanying the specified operation, wherein each container includes: one or more modules;
[0013] Managing the container includes: performing space management and content management on the designated container, wherein the content management includes: adding one or more modules and / or deleting one or more modules in the designated container in response to a designated operation, and the space management includes: allocating space for the added modules when adding modules in the designated container, and reclaiming space after deleting modules;
[0014] Implement the container copy function, including: copying all modules and all tags in a container or all tags of a specified module to another container.
[0015] According to the present invention, a system manager is used to construct a scheduling management structure, wherein a container manager constructs and manages the overall structure of scheduling affairs, a tag manager constructs and manages the specific structure of scheduling affairs, and a binding loader uses each structural unit thereof. Through the device and convenience of the present invention, the scheduling management device can be expanded as needed to meet flexible processing requirements, realize the coexistence of multiple scheduling types, and solve management functions other than scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a structural block diagram of a system management device for shift management according to an embodiment of the present invention;
[0017] Figure 2 is a functional schematic diagram of a container manager according to an embodiment of the present invention;
[0018] Figure 3 It is a schematic diagram of the structure and data flow of the module, tag manager and binding loader in the shift manager according to the preferred embodiment of the present invention;
[0019] Figure 4 is a structural block diagram of a response manager according to an embodiment of the present invention;
[0020] Figure 5 is a timing diagram of a response manager responding to a user request according to an embodiment of the present invention;
[0021] Figure 6 is a schematic diagram of operating a response manager adding a data file generator according to an embodiment of the present invention;
[0022] Figure 7 is a schematic diagram of the structure of a shift scheduling manager generated according to a preferred embodiment of the present invention;
[0023] Figure 8 4 is a flow chart of a system management method for shift management according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The general idea of the present invention is that in the process of shift management, the affairs that need to be managed will be elementized and then classified, managed and associated. Therefore, a systematic system device is established to establish a classification framework; another systematic device is established to manage the content of this framework; at the same time, the functions of the system device are used to improve themselves in the process of content management, and an interactive system device that interacts with the outside world and a system device that automatically handles business are established. In this way, more resources can be provided to management users, classification reuse can be achieved, and it can be used in a variety of scenarios with different requirements, making maintenance more intuitive and management more flexible.
[0025] For basic shift management, there are two important factors for shift scheduling, namely: personnel and date. Simply put, the shift management is realized by establishing a corresponding relationship between personnel and date that meets the requirements. In order to establish this connection, personnel and date are classified separately, namely personnel module and work date module. One person corresponds to one personnel module, and one work date corresponds to one work date module. For the characteristics of the personnel module, the module label is used for management. That is, a personnel module includes multiple labels. According to the at least required characteristics in the shift management, a personnel module requires at least 4 sets of labels, namely, name, number, work type and work date; the value of the work date label of a personnel module corresponds to the work date module, which completes the shift scheduling of this person in a certain period. Similarly, a work date module requires at least 5 sets of labels: name, time period, date, work type, and person list. The personnel list label in a work date module corresponds to the personnel module, which completes the work arrangement of the person on this work date.
[0026] Therefore, the shift management device involves two modules: a personnel module and a working time module. The structure of each module includes one or more groups of tags, and a group of tags includes a tag name and a tag content. Multiple modules with the same structure are included in a module container. Modules in different containers can be bound to each other to establish a corresponding relationship. Multiple personnel modules are managed by a personnel module container, and multiple working time modules are managed by a working time module container.
[0027] In the present invention, a system management device is provided, such as Figure 1 As shown, the system management device includes: a container manager, a label manager, a response manager, a binding loader and a logic flow calculator, wherein the container manager and the label manager can manage the containers, modules and labels in the shift management device.
[0028] The specific implementation of the present invention is further described in detail below with reference to the accompanying drawings.
[0029] 1. Container Manager
[0030] In the present invention, a device is designed to accommodate multiple transactions belonging to the same category. This device is a container. For scheduling, two basic information, personnel and working hours, are required. Therefore, these two basic information are processed into modules and installed in the container. The device for managing this container is a container manager. The container manager is mainly composed of the following parts: a content manager that manages the contents of the container and the modules under the container according to the response instructions, and a space manager that determines the size of the container and performs space management.
[0031] like Figure 2 The functional diagram of the container manager implemented in the present invention is shown, and the specific implementation is as follows:
[0032] Step S201: define the container. In this step, the container manager determines to generate a container, assigns a value to the container name, and determines the container size. The container name is used to uniquely identify the container, and the container size is used to determine how many modules can be accommodated in the container. The name and size are the basic characteristics of the container. At the same time, the size of the container can determine that each module in the container has a continuous serial number. This serial number can also be used to specify a module. For example, container name.[i] represents the i-th module in the container.
[0033] In addition, the container manager can add other features to the container according to needs, such as region, color, etc. For example: in the shift management scenario, use the container manager to generate two containers:
[0034] Container 1: Name = Personnel Module Container Size = 5
[0035] Region = Beijing / / Custom Features
[0036] The size = 5, which means that this container includes 5 personnel modules, and the region = Beijing, which means that the subsidiary features of this container include regions, and the region of the personnel module is Beijing.
[0037] No. 1 No. 2 No. 3 No. 4 No. 5 Modules Modules Modules Modules Modules
[0038] Container 2: Name = Work Time Module Container Size = 20
[0039] No. 1 No. 2 No. 3 No. 4--19 No. 20 Modules Modules Modules Modules Modules
[0040] Step S202: The container manager manages the contents of the container, including adding contents. In this step, the contents of the container, i.e., modules, can be added. The structure of the module is as follows: Figure 3 As shown, a module includes multiple tags.
[0041] For example, in the scenario of shift management, the personnel module involved has at least 4 sets of tags, which are: name, number, work type, and work date list. Another module related to the shift management scenario is the working time module, which has at least 5 sets of tags, which are: name, time period, date, work type, and personnel list.
[0042] When adding content management to the container in step S202, a module of content is added to the container. 1. Adding a personnel module to the personnel module container: In step S201, the number of personnel modules is defined as 5.
[0043] You can add the contents of 5 personnel modules to this container and specify the size of the module.
[0044] That is, the number of tags of the module. For example, the number of tags of the personnel module is 4 groups:
[0045]
[0046] 2. Add the working time module to the working time module container:
[0047] In step S201, the size of the working time module container is defined as 20, then 20 modules are generated in the container, and the module size is 5 (5 sets of tags per module). In the following table, 20 modules are added (modules numbered 4 to 19 are ignored in the table)
[0048]
[0049] Step S203: When the container is generated, the number of modules, that is, the size of the container, is determined. This step is the space management of the container and increases the size of the container.
[0050] Step S204: This step is for container content management. A module with a certain serial number in the container or a module with a tag name of a certain value is deleted. After deletion, the size of the container does not change, but the content of the specified module is empty.
[0051] Step S205: This step is for the space management of the container. If the specified module position of the specified space is empty, the space can be reclaimed. The module serial number after recycling is changed accordingly. For example, there are 5 modules in the container, and "container name.[i]" can be used to point to them. If "container name.[3]" deletes the content and deletes the space, the original "container name.[4]" and "container name.[5]" will automatically change to "container name.[3]" and "container name.[4]".
[0052] Step S206: This step is the space management of the container. The specified existing container is used as the source container, and a new container is created as the target container. The structure, module, module label structure, and label content of the target container are copied to the source container. Before copying, you can select the module and module label to be copied. In the copy operation, the structure of the container, module, and label needs to be copied in full, the module content to be copied can be selected, and the label content can be selected. For example:
[0053] 1) Copy "source container name.[i]-[j].[label name 1, label name 3]" to the new container, that is, copy the module structure, label quantity, and label name of the source container name to the new container, and copy the label contents of label name 1 and label name 3 in the modules with sequence numbers [i] to [j] in the source container name to the new container;
[0054] 2) Copy "source container name.[all].[all]" to the new container, that is, copy all the contents of all modules of the source container name to the new container;
[0055] 3) Copy "source container name.[0].[0]" to the new container, that is, copy the structure (label and label name) of the source container name module to the new container;
[0056] 2. Tag Manager
[0057] After defining the container in the container manager and determining the size, the specific content of the container - the module - can be managed through the tag manager.
[0058] The tag manager includes at least three functional devices: a definition function block, an assignment function block and a binding function block.
[0059] Among them, the definition function block and the assignment function block can be used for the management of tag content, including definition, assignment, and deletion;
[0060] The binding function block is used to extract the tag content of the tag name corresponding to the module that meets the conditions in the specified container, and send the content that meets the requirements to the binding function block for further extraction and use.
[0061] Now combined Figure 3 Describes the management of modules in the container by the tag manager, as well as the device by which the personnel module container and the working time module container in the shift management are managed in the tag manager.
[0062] Step S301 - Tag definition: In this step, the tag manager defines the tag name and the assignment rules of the tag content corresponding to the name in the module;
[0063] For example, in the scenario of shift management, you need to define labels for the personnel module in the personnel module container and the working time module in the working time module container. After the labels are defined, the personnel module container and the working time module container are as follows:
[0064]
[0065]
[0066] Step S302 - Tag deletion: In this step, the tag manager deletes a tag group in all modules in the specified container;
[0067] Step S303 - Tag assignment: assign values to the tag contents corresponding to the tag names under the specified modules:
[0068] For example, in the shift management scenario, there are two working time systems, day shift and night shift. Five people are involved in the shift scheduling, of which three (A, B, C) are involved in the day shift and two (D, E) are involved in the night shift.
[0069] First, we need to assign values to the basic information of the personnel module. Before determining the specific information of the shift schedule, we need to assign the basic information first. The personnel module container after assignment is as follows:
[0070]
[0071] Now schedule the shifts for 10 days. After assigning values to the working time module, the contents of the working time module container are as follows (numbers 4 to 18 are omitted in the figure below)
[0072]
[0073] Step S304 - Binding Data: Binding data is a function implemented by the module of the tag manager: the binding function block. The binding function block has a separate function block: the binding loader, which extracts the corresponding tag content according to the module where the tag name of the specified tag content is located, and prepares it for the next step. In the binding function block, the extracted data can be selected.
[0074] For example: In the scenario of shift management, it is necessary to assign values to the working date labels of each personnel module in the personnel module container, and the assigned values are one or more working time modules that meet the requirements from the working time module container; at the same time, it is necessary to assign values to the personnel list labels in the working time module container, and the assigned values are one or more working time modules that meet the conditions from the personnel module container.
[0075] 1) Assignment of work date tag in personnel module:
[0076] a) Select the personnel module to be assigned a value, and extract the content of the work type label. For example, the work type of the personnel module with the label name "name" and the corresponding label content "A" is the day shift;
[0077] b) The parameter content includes: work type = day shift, container = work time module container, output label = name. The binding loader extracts the "work type = day shift" module from the "work time module container" according to the parameter content, and extracts the label content with label name = "name" as the output content of the binding loader. The parameter content can also be additionally defined in the parameter protocol, such as limiting the number of contents transmitted, limiting the content assigned to the corresponding label of the output module, etc.
[0078] c) According to the operation of step b), the output content of the binding loader is "Work Date Module Container.[name = '7-1 Day Shift'], Work Date Module Container.[name = '7-2 Day Shift'], Work Date Module Container.[name = '7-3 Day Shift']"
[0079] d) The binding function block calls the assignment function of the assignment function block to assign the output content of step c) to the personnel module container. [Name = 'A']. Work Date
[0080] e) While the operation of step d) is in progress, the label contents of work date module container.[name='7-1 Day Shift']. Personnel list, work date module container.[name='7-2 Day Shift']. Personnel list, and work date module container.[name='7-2 Day Shift']. Personnel list are appended, and the appended value is personnel module container.[name='A'].
[0081] 2) Assignment of staff list labels in working time module:
[0082] The active assignment method is the same as the personnel module container assignment method. For the case of mutual binding assignment, each assignment operation corresponds to the labels of the two containers.
[0083] In this example, 3 people (A, B, C) work on the day shift, and 2 people (D, E) work on the night shift. After binding and assigning values without any other additional conditions, the content of the personnel module container is:
[0084]
[0085]
[0086] The contents of the working time module container are as follows (numbers 4 to 18 are omitted in the figure below)
[0087]
[0088]
[0089] The binding loader can also extract various data from each container according to different requirements. Therefore, in actual applications, the binding loader can be applied according to this feature and processed again to meet different requirements. For example, in the scenario of shift management, the existing resources are processed again to generate a shift determination module, a personnel shift storage module, a work time shift storage module, and a shift table generator:
[0090] Scheduling determination module: This module can use the binding loader to extract relevant information of the personnel module and the working time module, and determine the correspondence between each personnel module and the working time module, that is, the working hours of the personnel module and the personnel list of the working time module are displayed to the user and can be adjusted by the management personnel. After the adjustment is submitted, the label content of the relevant modules will be refreshed.
[0091] Personnel scheduling storage module: The label content corresponding to the work date label in the personnel module is one of the devices for storing the scheduling method. After the scheduling is determined, it is necessary to show the user the scheduling content based on the personnel query. The personnel scheduling storage module can be used to extract the corresponding relationship related to the valid personnel scheduling at that time, and display it simply and clearly. It can also be stored in response to the administrator's instructions. It can be stored on the disk in the form of a file. The file can be a text file or a table file. You can also use the container manager to create a new container and a new module to store and record the scheduling information table for a certain time period. Through the personnel scheduling storage module, it is easier to call the effective schedule, improve the viewing efficiency, and simplify the operation method.
[0092] Working time scheduling storage module: The label content corresponding to the personnel list label in the working time module is another device for storing the scheduling method. After the scheduling is determined, it is necessary to show the user the scheduling content based on the date query. The working date scheduling storage module can be used to extract the corresponding relationship related to the scheduling that is effective at that time, and display it simply and clearly. It can also be stored in response to the administrator's instructions. It can be stored on the disk in the form of a file. The file can be a text file or a table file. You can also use the container manager to create a new container and a new module to store and record the scheduling information table for a certain time period. Through the working date scheduling storage module, it is easier to call the effective schedule, improve the viewing efficiency, and simplify the operation method.
[0093] Schedule generator: The display method of the corresponding relationship between the modules in the personnel module container and the working time module container can be determined by the management personnel and formed into a template. The schedule generated according to this template at different stages can be stored in a newly created container or stored on the disk in the form of a file.
[0094] 3. Response Manager
[0095] The response manager is used to define the specifications for transmitting and processing user-side information, and to receive and specify a processing device and a group of devices that process data packets from the user-side.
[0096] Attached Figure 4 is the structure diagram of the response manager, such as Figure 4 As shown, part of the response manager's devices are located in the container manager: a response data definer and a response data decoding manager; there are also devices outside the container manager, such as a response data encoding manager between the user end and the container manager.
[0097] 1. Response data definer: The rules for data management of container managers and tag managers, the protocols for data transmission encapsulation, encoding and decoding methods, and specifications are defined by users and implemented through the response data definer. User-defined rules and specifications refer to the configuration of data types, including the name and flags of the response subject, the operations that the response subject can perform, the flags corresponding to the operations, the objects of the operations, and the contents of the operations.
[0098] 1) The data structure specification configured by the user shall include at least the following:
[0099]
[0100]
[0101] Table 1
[0102] The information in Table 1 is the most basic operations that can be performed by the container manager and tag manager.
[0103] The specifications for data information encapsulation may include json format, xml format, etc.
[0104] 2) In the response data definer, there is a built-in output identifier OUT. Under this identifier, the user can also configure the output specification, as shown in the following table:
[0105]
[0106] Table 2
[0107] In addition, the response data definer provides output of the operation results for each user-defined data specification.
[0108]
[0109] Table 3
[0110] 3) User configuration can be implemented using management platforms, applications, etc.;
[0111] The results of user configuration can be stored in a database or a file. The results reflect the correspondence between the operation identifier, the response subject, the operation content, and the operation object, and the structure of the data packet that previously contained the above information.
[0112] For example, to implement the function of adding a module to a container, the management user can define the following structure in the response data definer: add—Container Manager—Container Name.Module Name [Number of Labels], and specify the structure of the data packet. For example, the structure is defined as:
[0113] Packmsg = [{"oper":"add"},{"obj":"container name.module name"},
[0114] {"content":"[{"LabelSize":number of labels}]"}]
[0115] User-configured processes, such as Figure 4 The link S401 in the response manager structure diagram shown in the figure sends the function to be implemented, the data information to be submitted for implementing the function, and the packaged structure of the data information to the response data definer for management.
[0116] When the administrator submits data specifications on the user side, the response data definer can provide the above information to the user side for data preparation, and process the user side information into a data packet structure that complies with the specifications through the response data encoding manager and send it to the response manager.
[0117] 2. Response Data Encoding Manager: It is used to uniformly receive the operation data of each user end, load the configuration data of the response data definer, process the operation data of the user end into a data packet that meets the specifications, and send it to the response manager. The function implemented by this device is between the user end submitting data and the container manager receiving data. The location of the device can be placed in the user end, the container manager, or according to the following conditions: Figure 4 As shown, placed in an independent middle layer.
[0118] 1) In step S402, the user initiates a data request, which can be submitted through the form format of the existing system web page, or submitted by the existing mobile terminal APP through a custom protocol or HTTP, websocket. The response data encoding manager converts the data information under the original data protocol of the user to meet the cross-platform and cross-protocol functions of the container manager and related managers, and can meet its adaptation to various existing environments.
[0119] 2) In step S403, the response data encoding manager extracts data specifications from the response data definer to prepare for conversion of the data obtained in step S402. This step can be to extract complete data from each response data definer once when the service is loaded, or to push incremental data to the response data encoding manager once when the specification of the response data definer is updated, or each time the user sends data to the response data encoding manager, the response data encoding manager extracts the required data from the response data definer.
[0120] 3) In step S404, the response data encoding manager sends the converted data packet to the response data decoding manager.
[0121] 3. Response Data Decoding Manager: It is used to receive data packets, split the data packets according to the response data definer used to manage the user's configuration results for data, and send instructions to the response body specified in the data packet.
[0122] 1) In step S407, the response data decoding manager extracts data specifications from the response data definer to prepare for the conversion of the data obtained in step S404. This step can be to extract complete data from each response data definer when the service is loaded, or to push incremental data to the response data decoding manager when the response data definer generates specification updates, or to extract the required data from the response data definer after obtaining the data from step S404.
[0123] 2) Step S404: After the response data encoding manager converts the data packet, it uniformly transmits the data to the response data decoding manager, which decodes, analyzes and distributes the information.
[0124] 3) Steps S405 and S406: Based on the data structure specification obtained from step S407, determine the response subject to be processed. If the response subject is a container manager, the operation to be processed and the specific content are sent to the container manager. If the response subject is a tag manager, the operation to be processed and the specific content are sent to the tag manager.
[0125] Next, the processing scheme of the response manager is described in the embodiment of shift management:
[0126] ·Managers define specifications in the response data definer
[0127] The operations defined by the specifications can be redefined by developers through secondary development, or a management platform can be provided for managers to enter data according to the rules.
[0128] The entered specifications are shown in Tables 1 and 2.
[0129] ·Response Manager Processing Flow
[0130] Units that need shift management currently have a human resource management system that has two modes: APP and web page, which use the original data protocol submitted by web form and APP respectively.
[0131] The current processing content is to add a personnel module with 4 label groups in the shift manager:
[0132] The data part of the web form submission information:
[0133] "oper=add&obj="personnel module container"&LabelSize=4"
[0134] The data part of the information submitted by the APP:
[0135] “param={"oper":"add","obj":"personnel module container","LabelSize":"4"}”
[0136] (1) Response data encoding manager: Request data with the response data definer, extract the data content in Table 1 and Table 2, and convert the data information under the above two specifications into a unified data packet:
[0137] Packmsg = [{"oper":"add"},{"obj":"personnel module container"},
[0138] {"content":"[{"LabelSize":4}]"}]
[0139] After the conversion is successful, the data is submitted to the response data decoding manager of the response manager.
[0140] (2) Response Data Decoding Manager: Receives the data packet from the Response Data Encoding Manager and parses it to obtain the result:
[0141] Operation subject: Container manager
[0142] Operation: add
[0143] Operation object: "Staff module container"
[0144] Operation content: Add a module to the container, where the number of module tags is 4
[0145] After the response data decoding manager identifies the operation subject as the container manager, it sends the parsed result to the container manager to process the related operations.
[0146] Container Manager can perform the following operations:
[0147] In the shift management scenario, some of the operations that can be performed by the container manager and the corresponding data package information are as follows:
[0148]
[0149] In the shift management scenario, some of the operations that can be performed by the tag manager and the corresponding data package information are as follows:
[0150]
[0151]
[0152]
[0153] For more flexible application, some basic operations can also be defined:
[0154]
[0155] Next, combine Figure 5 , that is, the response manager implemented by the present invention responds to the user request timing diagram, and the steps of the response manager in the use process are described:
[0156] Step S501: This step is a data preparation step of the embodiment. The user end here refers to the maintenance user, including the administrator of the enterprise, and may also include the programmer of secondary development, who initiates a data configuration request to the response data definer. This step can be implemented by initiating a request through the web or APP platform, or through a secondary development program or script. Therefore, the user end of this step includes the web and APP terminals, and also includes the application end that can be used for secondary development, etc.
[0157] Step S502: The response data definer triggers step S502 according to the request of step S501, performs data configuration in the server, and prepares data for the application. After this step is completed, the configuration result can be provided to the response data encoding manager and the response data decoding manager for loading. The loading method can be pushed to the response data encoding manager and the response data decoding manager after this step is completed, or as in steps S504 and S507, after the demander initiates a request to load the configuration, the configuration result is pushed.
[0158] Step S503: In this step, the administrator initiates a request at the user end, and the data protocol of the request may only comply with the user end rules. After the data information is converted in the response data encoding manager, it is sent to the response data decoding manager through step S505.
[0159] Step S506: Through this step, the elements of the content to be processed by the user and the response body of the processing operation are parsed, and the content to be processed is sent to the corresponding response body through step S508 or S509.
[0160] In the above embodiments, the operation requests from the user end processed by the response manager are basic data requests, that is, one operation is processed per request. However, in actual management requirements, a large number of records and operations need to be processed.
[0161] For example, you need to schedule 100 employees for 365 days. Therefore, the management experience and work efficiency of managers are very poor if the schedule is processed one by one. In this case, the response manager also provides a batch processing solution, namely: operating data files.
[0162] In addition to the default data packet specifications in the operation data file, users can add extended data packet specifications in the response data definer. For example:
[0163] 1) Multiple operation data distinction rules: The response data encoding manager can identify multiple data, and the distinction method can be configured by the administrator, including: separators, data specification identifiers, etc.;
[0164] 2) Size of the operation data file: The response data encoding manager processes the file size by default to adapt to the waiting time of the operation user experience. The management user can also define the file size through the response data definer;
[0165] In the operation data file, data can be identified in json or xml.
[0166] In the shift management scenario, you can define the following data specifications for operation data files:
[0167] Packmsg={"contentFilename":"filename.txt"};
[0168] The content of filename.txt can be:
[0169] {"oper":"LabelAssign","obj":"PackUser.[1-5].[Name]","content":"A;B;C;D;E"}
[0170] After receiving the above operation data file, the response data encoding manager can parse it into 5 operation instructions:
[0171] Packmsg={"oper":"LabelAssign","obj":"
[0172] PackUser.[1]","content":[{"LabelName":"Name","LabelValue":"A"}]}
[0173] …
[0174] Packmsg={"oper":"LabelAssign","obj":"
[0175] PackUser.[5]","content":[{"LabelName":"Name","LabelValue":"E"}]}
[0176] The parsed instructions are sent to the response data decoding manager to allocate the response body and specific operations.
[0177] In order to determine the specification accuracy of the operational data files processed by the response data encoding manager, the response manager also includes an operational data file generator.
[0178] like Figure 6As shown, the operation data file generator is placed between the user end and the response data encoding manager, and its implementation method can be a web page.
[0179] In step S601, the operation data file generator obtains relevant data specifications from the response data definer;
[0180] In step S602, the user can select the operation to be performed on the web page and batch input the information to be operated, such as user name and date, and the response data definer processes the information into an operation data file that meets the specifications;
[0181] In step S603, the operation data file is sent to the response data encoding manager, which splits and parses the operation data file according to the data specification obtained from the response data definer in step S604, and sends it to the response data decoding manager in batches or one by one through step S605.
[0182] from Figures 2 to 6 The devices and processes shown in the figure are managed around the modules in the container. The system management device that implements all management, such as Figure 1 As shown, it includes: a container manager, a tag manager, a binding loader and a response manager, wherein the binding loader realizes the function of associating various modules.
[0183] The device using the system manager includes a container manager for framework construction, a tag manager for data construction, a binding loader for processing data, a response manager for interaction, and a logic flow calculator for business processing. And using the components of the system manager, a shift management device is established to realize the scheduling of personnel and time in the shift management device. The device structure is as follows: Figure 7 shown.
[0184] Figure 7 Schematic diagram of the structure of the shift manager generated according to the preferred embodiment of the present invention. Figure 7As shown, the device includes but is not limited to: a personnel module for storing basic information of a personnel; a working time module for storing basic information of a working time period; a personnel module container for preparing space for all the personnel modules and accommodating all the personnel modules; a working time module container for preparing space for all the working time modules and accommodating all the working time modules; a scheduling determination module for determining the correspondence between each of the personnel modules and the working time module and the binding relationship between each of the working time modules and the personnel module; a personnel scheduling storage module for responding to a first specified operation and storing all working time modules bound to the personnel module corresponding to the first specified operation; a working time scheduling storage module for responding to a second specified operation and storing all personnel modules bound to the working time module corresponding to the first specified operation; a scheduling table generator for responding to a third specified operation and combining the information of the personnel scheduling storage module and the working time scheduling storage module to generate the required scheduling table.
[0185] Figure 8 A flow chart showing a systematic approach to implementing shift management;
[0186] Step S801: defining a container, wherein the defining of the container comprises: responding to a specified operation, creating a new container, and specifying a name of the new container, wherein the name is defined in the information accompanying the specified operation, wherein each container comprises: one or more modules;
[0187] Step S802: managing the container, wherein the container management includes: performing space management and content management on the designated container, wherein the content management includes: adding one or more modules and / or deleting one or more modules in the designated container in response to a designated operation, and the space management includes: allocating space for the added modules when adding modules in the designated container, and reclaiming space after deleting modules;
[0188] Step S803: Implementing a container copy function, wherein the container copy includes: copying all modules and all labels in one container or all labels of a specified module to another container.
[0189] According to the present invention, a system manager is used to construct a scheduling management structure, wherein a container manager constructs and manages the overall structure of scheduling affairs, a tag manager constructs and manages the specific structure of scheduling affairs, and a binding loader uses each structural unit thereof. Through the device and convenience of the present invention, the scheduling management device can be expanded as needed to meet flexible processing requirements, realize the coexistence of multiple scheduling types, and solve management functions other than scheduling.
[0190] In general, the embodiment of the present invention shows a system management device and method, in which the system management device includes a container manager for overall structure construction and management, a tag manager for construction and management of the structure of specific transactions, a binding loader for applying and processing the structure and data, a response manager for interaction within and outside the system, a logic flow calculator for business processing, and the use of these devices to perform functions such as definition, management, and replication, establish a relatively functionally independent device, and realize the scheduling of personnel and time. At the same time, because the present invention adopts a structured approach, the structure of the transaction can be granularized, the definition can be flexible, and it can be expanded and implemented according to needs, so as to achieve the effect of flexible processing and resource reuse, and meet the needs of coexistence of multiple scheduling types. In general, it can make maintenance more convenient and management more flexible. At the same time, the device of this system management device can not only perform system scheduling, but also realize other similar functional requirements.
[0191] The above disclosures are only several specific embodiments of the present invention; however, the present invention is not limited thereto, and any changes that can be conceived by a person skilled in the art should fall within the protection scope of the present invention.
Claims
1. A system management device for shift management, characterized in that: Include container manager: A container manager is used to define and manage containers, each container including: one or more modules; wherein the container definition includes: responding to a specified operation, creating a new container, and specifying a name for the new container, wherein the name is defined in the information attached to the specified operation; The container management includes: performing space management and content management on the designated container, wherein the content management includes: adding one or more modules and / or deleting one or more modules in the designated container in response to a designated operation, and the space management includes: allocating space for the added modules when adding modules in the designated container, and reclaiming space after deleting modules; The container manager is further used to perform a container replication function, wherein the container replication includes: copying all modules and all labels in one container or all labels of a specified module to another container; Tag manager: used to manage the tags, the tag manager includes: a definition function block, a binding function block, and an assignment function block; wherein the definition function block is used to perform tag addition and / or deletion operations on a specified module of a specified container according to instructions, wherein the addition operation is used to add one or more groups of tag spaces to the module of the specified container according to instructions, determine the tag name and the size of the tag content of the added tags, define the content of the tag name, and define the type of the tag content; the deletion operation is used to respond to instructions, find out the tag content corresponding to the specified tag name according to the content of the specified tag name of the specified module of the specified container, and reclaim the space corresponding to the specified tag after cleaning the tag content and the specified tag name; The assignment function block is used to respond to the instruction, find out the tag content corresponding to the specified tag name according to the content of the specified tag name of the specified module of the specified container, and assign a value to the tag content; The binding function block is used to establish a corresponding relationship between tags that need to be associated with each other in a specified module of a specified container.
2. The device according to claim 1, characterized in that For each module included in each container, each module includes one or more sets of tags; Each of the tags includes: a tag name and a tag content, wherein the tag name and the tag content are in a one-to-one correspondence.
3. The device according to claim 1 or 2, characterized in that: The system management device further includes: a binding loader; The binding loader is used to respond to the specified operation, retrieve all modules from the specified container according to the preset binding rules, and output binding loading data, the content of the binding loading data is the tag content of the tag of one or more modules; Among them, the binding loader retrieves all modules through the preset binding rules, including: extracting modules whose label names are consistent with the first label name value in the first specified data group and whose label contents are consistent with the first label content value in the first specified data group, and using the label names of the extracted modules as the label contents of the second specified data to form the binding loading data.
4. A system management method for shift management, characterized in that: include: Managing containers, wherein the managing containers comprises: defining containers, wherein the defining containers comprises: creating a new container in response to a specified operation, and specifying a name of the new container, wherein the name is defined in information accompanying the specified operation, wherein each container comprises: one or more modules; Managing containers, wherein the so-called managing containers includes: performing space management and content management on the designated container, wherein the content management includes: adding one or more modules and / or deleting one or more modules in the designated container in response to a designated operation, and the space management includes: allocating space for the added modules when adding modules in the designated container, and reclaiming space after deleting modules; Implementing a container replication function, wherein the container replication includes: copying all modules and all labels in a container or all labels of a specified module to another container; The system management method for shift management also includes managing labels, including: defining function, binding function, and assigning function; wherein, the defining function includes: implementing the adding operation and / or deleting operation of labels for the specified module of the specified container according to the instruction, wherein the adding operation is used to add one or more sets of label spaces to the module of the specified container according to the instruction, determine the label name and the size of the label content of the added label, define the content of the label name, and define the type of the label content; the deleting operation is used to respond to the instruction, find out the label content corresponding to the specified label name according to the content of the specified label name of the specified module of the specified container, and reclaim the space corresponding to the specified label after cleaning the label content and the specified label name; The assignment function includes: implementing a response instruction, searching for a tag content corresponding to a specified tag name according to the content of a specified tag name of a specified module of a specified container, and assigning a value to the tag content; The binding function includes: being used to establish a corresponding relationship between tags that need to be associated with each other in a specified module of a specified container.
5. The method according to claim 4, characterized in that For the modules included in the container, each module includes one or more sets of labels; Each of the tags includes: a tag name and a tag content, wherein the tag name and the tag content are in a one-to-one correspondence.
6. The method according to claim 4 or 5, characterized in that: Also includes: Execute the binding load function; The execution of the binding loading function includes: responding to a specified operation, retrieving all modules from a specified container according to a preset binding rule, and outputting binding loading data, wherein the content of the binding loading data is the tag content of the tag of one or more modules; Among them, the binding loader retrieves all modules through the preset binding rules, including: extracting modules whose label names are consistent with the first label name value in the first specified data group and whose label contents are consistent with the first label content value in the first specified data group, and using the label names of the extracted modules as the label contents of the second specified data to form the binding loading data.
