[go: up one dir, main page]

CN113141402B - Automatic user synchronization method and device for canteen - Google Patents

Automatic user synchronization method and device for canteen Download PDF

Info

Publication number
CN113141402B
CN113141402B CN202110422935.9A CN202110422935A CN113141402B CN 113141402 B CN113141402 B CN 113141402B CN 202110422935 A CN202110422935 A CN 202110422935A CN 113141402 B CN113141402 B CN 113141402B
Authority
CN
China
Prior art keywords
information
intelligent
canteen
personnel change
park
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110422935.9A
Other languages
Chinese (zh)
Other versions
CN113141402A (en
Inventor
胡镕玙
李知键
卫广辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110422935.9A priority Critical patent/CN113141402B/en
Publication of CN113141402A publication Critical patent/CN113141402A/en
Application granted granted Critical
Publication of CN113141402B publication Critical patent/CN113141402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for synchronizing automatic users of a canteen, which relate to automatic program design and comprise the following steps: a manpower system and a park intelligent canteen system are set up; connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone; when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the park; the intelligent dining room system modifies the information of the meal card according to the change information of the staff. The intelligent canteen system solves the problem of data isolated island, automatically synchronizes personnel change information in an enterprise human power system to the intelligent canteen system in the park, and solves the problem of information asynchronism caused by multiple sets of data of multiple systems. The human cost is reduced, and after the user information in the human system changes, the information can be automatically synchronized to the intelligent canteen system in the park, and manual modification by personnel in a card service department is not needed.

Description

Automatic user synchronization method and device for canteen
Technical Field
The invention relates to the technical field of computer data processing, in particular to a method and a device for synchronizing automatic users of a canteen.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
When an enterprise has new employees who enter into, leave or move in departments, the enterprise needs to go to a card management department of the enterprise to open and return cards or modify personal information, the process is complex, and particularly when a large-scale enterprise reaches a recruitment season, a large number of new employees come in, and the off-line process greatly increases the working pressure of the card management department.
At present, most of large-scale enterprises have long human systems operating for a long time, and the human systems are isolated from other internal systems due to services, so that information is closed and is in a data isolated island state. For the intelligent catering system, if synchronous and automatic account opening of the information of the staff cannot be achieved, the staff needs to take the work card to stand and get on the card, and manually input the information, so how to achieve intelligent two characters is achieved.
The prior art has the following problems: data isolation and no synchronous channel exist, the online time of a human resource system of a large enterprise is long generally, the system design is complex, reconstruction is not easy, and interaction with a new system is difficult.
The efficiency is low, and with the continuous development and growth of enterprises, the number of staff is continuously increased, especially the offline workload of card departments is increased, a large amount of manpower is invested, and the normal development of enterprises is not facilitated.
The flow is complicated, and if the staff involved the department change, for the department settlement of being convenient for, often the food and beverage system also need follow the change, this just leads to the staff to need off-line initiative to apply for and change the department information, needs multistage responsible person to sign in addition, leads to the thing to become complicated by simple, has increased the human cost of enterprise, and staff experience is extremely poor.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
When the embodiment of the invention provides a canteen automatic user synchronization method, personnel change information in an enterprise manpower system is automatically synchronized to a campus intelligent canteen system, so that the problem of information asynchronism caused by multiple sets of data of multiple systems is solved. The human cost is reduced, and after the user information among the manpower system changed, personnel's change information can automatic synchronization to garden wisdom dining room system, need not card affairs department personnel manual modification, and the method can include:
building a manpower system and a park intelligent canteen system;
connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system of the campus;
the intelligent dining room system modifies the information of the dining cards according to the change information of the staff.
When the automatic user synchronization method for the canteen provided by the embodiment of the invention is specifically implemented, in one embodiment, a human power system is built, and the method comprises the following steps:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
When the automated user synchronization method for the canteens provided by the embodiment of the invention is implemented specifically, in one embodiment, a park intelligent canteen system is set up, and the method comprises the following steps:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In one embodiment, when the automated user synchronization method for a canteen according to the embodiment of the present invention is implemented, the intelligent canteen system in a campus is connected to a human system through a DMZ security zone, and the method includes:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster is added in a DMZ security zone of a private cloud, load balance is achieved through F5, the intelligent canteen system of the park is matched through the Restful, requests are provided in a reverse proxy mode to be forwarded, and the manual power system is connected.
In one embodiment, when the staff changes, the human power system generates staff change information and synchronously updates the staff change information to the intelligent canteen system of the campus, the method for synchronizing the canteen automatic users provided by the embodiment of the invention comprises the following steps:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
newly-added, departed and department transfer information is associated with the card information and the docking system information, a mark to be synchronized is set, and personnel change information is determined;
and according to the data synchronization timing task, reading the mark to be synchronized, and synchronously updating the personnel change information to the intelligent canteen system in the park.
In one embodiment, when the automated user synchronization method for a canteen according to the embodiment of the present invention is implemented, the method reads a mark to be synchronized according to a data synchronization timing task, and synchronously updates the personnel change information to the intelligent canteen system in the campus, and includes:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
When the automated user synchronization method for a dining room according to an embodiment of the present invention is implemented, in an embodiment, the modifying of the meal card information by the smart dining room system according to the staff variation information includes:
the intelligent canteen system extracts personnel change information from a database of the system;
newly-added and departed department transferring information in the personnel change information is written into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
When the automatic user synchronization method for the canteen is implemented specifically, in one embodiment, the intelligent canteen system further provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
When the method for synchronizing the dining room automatic users provided by the embodiment of the invention is implemented specifically, in one embodiment, dinners access the service through the internet to connect with the intelligent dining room system and access a portal of the dining system, and the method comprises the following steps:
diners are connected with the intelligent dining room system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In an embodiment of the method for synchronizing automatic users of a canteen according to the present invention, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
An embodiment of the present invention further provides an automatic user synchronization device for a canteen, including:
the system building module is used for building a manpower system and a park intelligent canteen system;
the system connection module is used for connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
the personnel change information synchronization module is used for generating personnel change information by the human power system when personnel change and synchronously updating the personnel change information to the intelligent canteen system in the park;
and the meal card information modification module is used for modifying the meal card information according to the personnel change information by the intelligent dining room system.
When the automatic user synchronization device for the canteen provided by the embodiment of the invention is implemented specifically, in an embodiment, the system building module is specifically configured to:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
When the automatic user synchronization device for the canteen provided by the embodiment of the invention is implemented specifically, in an embodiment, the system building module is further configured to:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In an embodiment of the invention, when the automatic user synchronizing device for a canteen is implemented, the system connection module is specifically configured to:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
In an embodiment of the present invention, when the automatic user synchronizing device for a canteen is implemented specifically, the personnel change information synchronizing module is specifically configured to:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
setting a mark to be synchronized and determining personnel change information of newly-added, departed and department transfer information related to the card information and the butt joint system information;
and according to the data synchronization timing task, reading the mark to be synchronized, and synchronously updating the personnel change information to the intelligent canteen system in the park.
In an embodiment of the device for synchronizing automatic users of a canteen according to the present invention, the personnel change information synchronization module is further configured to:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, sending request synchronization information to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
In an embodiment of the invention, when the automatic user synchronizing device for a dining room provided by the embodiment of the invention is implemented, the meal card information modification module is specifically configured to:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
In specific implementation of the device for synchronizing the automatic users of the canteen provided by the embodiment of the present invention, in an embodiment, the system connection module further includes: the intelligent canteen system provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
In an embodiment of the device for synchronizing users of a canteen in an automated manner, the system connection module is further configured to:
the diner is connected with the intelligent canteen system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In one embodiment, when the automated user synchronizing device for a canteen provided by the embodiment of the present invention is implemented, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the canteen automatic user synchronization method.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the foregoing method for synchronizing users in a canteen automation is stored in the computer-readable storage medium.
The embodiment of the invention provides a method and a device for synchronizing automatic users of a canteen, which comprise the following steps: firstly, a manpower system and a park intelligent canteen system are set up; then, connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone; next, when the personnel change, the personnel change information is generated by the manpower system and is synchronously updated to the intelligent canteen system in the park; and finally, the intelligent dining room system modifies the information of the meal card according to the personnel change information. The intelligent canteen system solves the problem of data isolated island, automatically synchronizes personnel change information in an enterprise human power system to the intelligent canteen system in the park, and solves the problem of information asynchronism caused by multiple sets of data of multiple systems. The human cost is reduced, and after the user information in the human system changes, the information can be automatically synchronized to the intelligent canteen system in the park, and manual modification by personnel in a card service department is not needed. The invention provides a channel for automatically synchronizing personnel change information from a human system to a park intelligent canteen system, solves the problems that the personnel change information needs to be applied for changing card information after the personnel change information, needs to be subjected to multi-stage approval and signing, and then queues up to a card service department to modify the card information, simplifies a complicated flow and optimizes user experience. The labor cost of an enterprise is reduced, and the working efficiency of the enterprise is improved. The automation and high-efficiency treatment of the park on the aspect of catering system user management are realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram illustrating an automated user synchronization method for a canteen according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a process of synchronously updating staff change information in an automated user synchronization method for a canteen according to an embodiment of the present invention.
Fig. 3 is a data interaction diagram of a method for synchronizing users of a canteen automation according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of a computer device for executing a method for automated user synchronization of a canteen according to the present invention.
Fig. 5 is a schematic diagram of an automated user synchronization apparatus for a canteen according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The invention relates to automatic programming, and in particular relates to a schematic diagram of a canteen automatic user synchronization method in an embodiment of the invention, as shown in fig. 1, when the embodiment of the invention provides the canteen automatic user synchronization method, personnel change information in an enterprise human power system is automatically synchronized to a campus intelligent canteen system, so that the problem of information asynchronism caused by multiple sets of data of multiple systems is solved. The human cost is reduced, and after the user information among the manpower system changed, the information can automatic synchronization to garden wisdom dining room system, need not the manual modification of card affair department personnel, and the method can include:
step 101: a manpower system and a park intelligent canteen system are set up;
step 102: connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
step 103: when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the park;
step 104: the intelligent dining room system modifies the information of the meal card according to the change information of the staff.
The embodiment of the invention provides a dining room automatic user synchronization method, which comprises the following steps: firstly, a manpower system and a park intelligent canteen system are set up; then, connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone; next, when the personnel change, the personnel change information is generated by the manpower system and is synchronously updated to the intelligent canteen system in the park; and finally, the intelligent dining room system modifies the information of the dining card according to the personnel change information. The intelligent canteen system solves the problem of data isolated island, automatically synchronizes personnel change information in an enterprise human power system to the intelligent canteen system in the park, and solves the problem of information asynchronism caused by multiple sets of data of multiple systems. The human cost is reduced, and after the user information among the manpower system changed, the information can be in step to district's wisdom dining room system automatically, need not card affairs department personnel manual modification. The invention provides a channel for automatically synchronizing personnel change information from a human system to a park intelligent canteen system, solves the problems that the personnel change information needs to be applied for changing card information after the personnel change information, needs to be subjected to multi-stage approval and signing, and then queues up to a card service department to modify the card information, simplifies a complicated flow and optimizes user experience. The labor cost of an enterprise is reduced, and the working efficiency of the enterprise is improved. The automation and high-efficiency management of the park on the aspect of catering system user management are realized.
Fig. 3 is a data interaction diagram of a method for synchronizing a canteen automation user according to an embodiment of the present invention, and with reference to fig. 3, in order to implement information intercommunication between a human power system and a campus intelligent canteen system, when the method for synchronizing a canteen automation user according to an embodiment of the present invention is implemented, the method may include:
a manpower system and a park intelligent canteen system are set up;
connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the park;
the intelligent dining room system modifies the information of the dining cards according to the change information of the staff.
The embodiment of the invention establishes a reliable communication relation by opening a barrier of a network environment, generates multi-dimensional and complete incremental data, introduces a synchronous mark, sets a perfect and reliable synchronous timing task to automatically align the online catering user data, and can complete unique business operation according to self business difference to enable the intelligent catering system to form a business closed loop and optimize user experience. The problem of data isolated island is solved, user information and card information in the enterprise human resource system are automatically synchronized to a catering system, and the problem of information asynchronism caused by multiple sets of data of multiple systems is solved.
When the automatic user synchronization method for the canteen provided by the embodiment of the invention is specifically implemented, in one embodiment, a human power system is built, and the method comprises the following steps:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
When the automated user synchronization method for the canteens provided by the embodiment of the invention is implemented specifically, in one embodiment, a park intelligent canteen system is set up, and the method comprises the following steps:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In the embodiment, with the prevalence of cloud computing, a large-scale company builds a private cloud and an autonomously managed public cloud platform at present, and serves as a human system or a card affair system of an enterprise, and is deployed in a private cloud environment as an enterprise-level park smart canteen for ensuring data security, and is generally deployed in the public cloud for facilitating staff to access a catering system portal of the staff through a mobile phone.
In order to guarantee data security of a human system, the human system is built in a private cloud, and interface services are provided to the outside in a Restful mode; through interface service, the access request information can be controlled, and the information security is realized; the intelligent campus canteen system is built in a public cloud environment, and when information data in a human power system need to be acquired, interface service of the human power system is matched through Restful, so that public cloud request landing is realized.
In one embodiment, when the automated user synchronization method for a canteen according to the embodiment of the present invention is implemented, the intelligent canteen system in a campus is connected to a human system through a DMZ security zone, and the method includes:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
In the embodiment, interface services of the human system are provided externally in a Restful mode, and as the connection process involves a public cloud calling a private cloud, a WEB server cluster needs to be added in a private cloud DMZ security zone and F5 load balancing needs to be performed, request forwarding is provided in a reverse proxy mode, and public cloud request landing is achieved.
The invention solves the problems that the employee needs to apply for changing the card information after changing the information, needs to carry out multi-stage approval and signature, and then queues up to the card service department to modify the card information, simplifies the complicated flow and optimizes the user experience. The method can realize the intercommunication between the public cloud and the private cloud environment of the enterprise, can solve the common problem of the enterprise, and has good design prospect.
The embodiment of the invention can reduce the labor cost, and after the user information in the human resource system is changed, the information can be automatically synchronized to other systems without manual modification by personnel in a card service department. User experience is optimized, card information change application, multilayer leadership approval and signature, queuing and card information modification and other steps are not needed after employee department information changes, and time is saved. The invention has expansibility, and can realize the automatic synchronization function of the user information of other systems by utilizing the principle.
Fig. 2 is a schematic diagram illustrating a process of synchronously updating staff change information in an automated user synchronization method for a canteen according to an embodiment of the present invention. As shown in fig. 2, in one embodiment of the method for synchronizing automatic users of a canteen according to the present invention, when personnel change, the human power system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the campus, including:
step 201: when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
step 202: setting a mark to be synchronized and determining personnel change information of newly-added, departed and department transfer information related to the card information and the butt joint system information;
step 203: and according to the data synchronization timing task, reading the mark to be synchronized, and synchronously updating the personnel change information to the intelligent canteen system in the park.
In one embodiment, the system for synchronously updating the personnel change information to the intelligent dining room mainly comprises: firstly, when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system; then newly-added, departed and department mobilize information to be related to the card information and the docking system information, a mark to be synchronized is set, and personnel change information is determined; and finally, reading the mark to be synchronized according to the data synchronization timing task, and synchronously updating the personnel change information to the intelligent canteen system in the park.
The personnel change generally comprises newly-increased, away-from-duty and department mobilization, and when the personnel change is generated, the manpower system correspondingly generates information of newly-increased, away-from-duty and department mobilization; then, newly-added, departed and department transfer information is associated with the card information and the docking system information, a mark to be synchronized is set, and personnel change information is determined;
the processing logic relies on the stored procedures of the persistence layer database. For newly added information of addition, departure and department transfer, associated card information and maintenance and docking system information, generating data items corresponding to a synchronous system through compiling and storing processes, setting a mark to be synchronized, and generating personnel change information. The data of the docking system is added, so that a future multi-system simultaneous docking human system can generate data items meeting the requirements of the system, and customization expansion is facilitated.
The data of the docking system is added, so that the future multi-system simultaneous docking of the human systems can be facilitated to generate data items meeting the needs of the human systems, and customization and expansion are facilitated. The invention has expansibility, and can realize the automatic synchronization function of the user information of other systems by utilizing the principle.
In one embodiment, when the automated user synchronization method for a canteen according to the embodiment of the present invention is implemented, the method reads a mark to be synchronized according to a data synchronization timing task, and synchronously updates the personnel change information to the intelligent canteen system in the campus, and includes:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, sending request synchronization information to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
In an embodiment, the reading of the to-be-synchronized mark and the synchronous update of the personnel change information to the campus intelligent canteen system according to the data synchronization timing task includes: firstly, establishing a data synchronization timing task by a park intelligent canteen system through a Quartz timing task frame; then, according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request; then, F5 load balancing sends the request synchronization information to a WEB server cluster of a DMZ security zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of a human power system deployment service for request calling; and finally, calling and requesting synchronous information according to the request, reading the mark to be synchronized, taking out the personnel change information from the human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating. The synchronous update of personnel's change information to garden wisdom dining room system is realized. According to the intelligent canteen system disclosed by the embodiment of the park, through a Quartz timing task framework, task contents are that a request is sent to an F5 load balancer in a mode of sending an HTTP request, the request is sent to a WEB server cluster (apache) in a DMZ area, a specified service IP is configured, and the request is forwarded to an application server for deploying services, so that request calling is realized. The returned synchronous data is processed by the business layer of the synchronous data and is duralized in the database, and the operation related to account opening or user information change is automatically completed. DMZ, an acronym for "miniaturized zone" in english, called "quarantine zone" in chinese, is a buffer established between a non-secure system and a secure system. The buffer zone is located within a small network area between the enterprise internal network and the external network. Some server facilities such as enterprise Web server, FTP server, load balancing, etc. which must be disclosed can be placed in the small network area. On the other hand, with such a DMZ zone, the internal network is protected more effectively. Because of the network deployment, compared with the general firewall scheme, the network deployment has one more barrier to attackers from the external network.
The automatic synchronization method of the invention provides a channel for automatically synchronizing the user information and the card information from the human resource system to the intelligent catering system, solves the defect that the worker needs to modify the worker card information offline after the work of the worker changes in the traditional large-scale enterprise, has certain expansibility, and can realize the synchronous butt joint of the human resource system and other systems in the future through customization. The invention is beneficial to reducing the labor cost of enterprises and improving the working efficiency of the enterprises at the same time.
When the method for synchronizing the dining room automatic users provided by the embodiment of the invention is implemented specifically, in one embodiment, the intelligent dining room system modifies the information of the dining cards according to the personnel change information, and the method comprises the following steps:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
In the embodiment, the modification of the meal card information according to the synchronized personnel change information mainly comprises the following steps: firstly, the intelligent canteen system extracts personnel change information from a database of the system; then, newly adding, leaving and department transferring information in the personnel change information is written into a personnel account; and finally, card transaction information related to newly added, departed and department mobilized information is written into a meal card related to a personnel account, and the information of the meal card is modified.
When the automatic user synchronization method for the canteen provided by the embodiment of the invention is specifically implemented, in one embodiment, the intelligent canteen system further provides an internet access service interface;
diners access the service through the Internet to connect with the intelligent dining room system, access to a dining system portal and perform personal information management and meal card recharging.
In the embodiment, in order to facilitate the staff to access the catering system portal of the staff through a mobile phone, the catering system portal is usually deployed in a public cloud; the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging. The public cloud and private cloud interactions must also rely on the dmz security zone's cluster of proxy servers, as well as F5 for load balancing.
When the method for synchronizing the dining room automatic users provided by the embodiment of the invention is implemented specifically, in one embodiment, dinners access the service through the internet to connect with the intelligent dining room system and access a portal of the dining system, and the method comprises the following steps:
the diner is connected with the intelligent canteen system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In the embodiment, when the catering system portal of the intelligent dining room system is accessed through the outside, the method mainly comprises the following steps: firstly, diners are connected with an intelligent canteen system through internet access service; then, the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and the access of the WeChat channel and the access of the website channel are managed respectively; and finally, the internet area is connected with the open service area through the first load balance, and the back-end service accessed by the catering system portal is provided.
In an embodiment of the method for synchronizing automatic users of a canteen according to the present invention, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
The automatic synchronization method of the invention provides a channel for automatically synchronizing the user information and the card information from the human resource system to the intelligent catering system, solves the defect that the worker needs to modify the worker card information offline after the work of the worker changes in the traditional large-scale enterprise, has certain expansibility, and can realize the synchronous butt joint of the human resource system and other systems in the future through customization. The invention is beneficial to reducing the labor cost of enterprises and improving the working efficiency of the enterprises at the same time. The invention solves the problems that the employee needs to apply for changing the card information after changing the information, needs to carry out multi-stage approval and signature, and then queues up to the card service department to modify the card information, simplifies the complicated flow and optimizes the user experience. The method can realize the intercommunication of the public cloud and the private cloud environment of the enterprise, can solve the common problem of the enterprise, and has good design foresight.
The embodiment of the invention realizes the automatic synchronization of the human system of a company and three main bodies of staff, work cards and catering accounts of a catering system, and can complete the automatic synchronization on the line aiming at newly added departments or the movement of staff departments. The invention develops a solution based on the automatic user synchronization of an intelligent canteen of an enterprise campus, realizes the automation and high-efficiency management of the campus on the aspect of catering system user management, can quickly update any personal information or card change into a catering system, saves the complex processes of card queuing and card opening by staff and manual account opening by card staff, and replaces manual processing with an automatic synchronization mechanism for all operations.
With reference to fig. 3, the main data flow of the embodiment of the present invention includes: the enterprise human or card affair system is deployed in a private cloud environment as an enterprise-level park intelligent dining hall in order to ensure data security, and is generally deployed in a public cloud in order to facilitate staff to access a catering system portal of the staff through a mobile phone, and interaction between the public cloud and the private cloud necessarily depends on a proxy server cluster in a dmz security zone and F5 for bearing load balance.
In addition to the network environment, the present invention also relies on several important background processes:
(1) Generating incremental data to be synchronized
The processing logic relies on the stored procedures of the persistence layer database. And generating a data item corresponding to the synchronous system through compiling and storing the information of newly added personnel, card service information and maintenance docking system information, and setting a mark to be synchronized. The data of the docking system is added, so that a future multi-system simultaneous docking human system can generate data items meeting the requirements of the system, and customization expansion is facilitated.
(2) Interface service for externally exposing and executing storage process by manpower and card affair system
Interface service is provided externally in a Restful mode, and as the process relates to public cloud call private cloud, a WEB server cluster and an F5 load need to be added in a private cloud DMZ security zone, and a request is provided and forwarded in a reverse proxy mode, so that public cloud request landing is realized.
(3) Data synchronization timing tasks
The intelligent canteen system sends a request to an F5 load balancer by sending an HTTP request through a Quartz timing task framework, the task content is to send the request to a web server cluster (apache) in the dmz area, configure a specified service ip, and forward the request to an application server for deploying the service, so as to realize request calling. The returned synchronous data is processed by the business layer of the synchronous data and is duralized in the database, and the operation related to account opening or user information change is automatically completed.
A Quartz timing task frame is used in the smart canteen system, the load forwarded to the one-card system through the smart canteen external web is distributed to the web server in the dmz area in a balanced mode, the public cloud-to-private cloud request landing is achieved, the data synchronization request is forwarded to the designated one-card ap server according to the url, and the calling of the synchronization interface is achieved.
The invention solves the problem of data isolated island, automatically synchronizes the user information and the card information in the enterprise human resource system to the catering system, and solves the problem of information asynchronism caused by a plurality of sets of data of a plurality of systems. The human cost is reduced, and after the user information in the human resource system is changed, the information can be automatically synchronized to other systems without manual modification by personnel in a card service department. User experience is optimized, after employee department information changes, the steps of card information change application, multilayer leader approval signature, queuing for card information modification and the like are not needed, and time is saved. The invention has expansibility, and can realize the automatic synchronization function of the user information of other systems by utilizing the principle.
Fig. 4 is a schematic diagram of a computer device for executing a method for synchronizing users of a canteen automation according to the present invention, and as shown in fig. 4, an embodiment of the present invention further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for synchronizing users of a canteen automation when executing the computer program.
In a specific implementation of the computer device provided in the embodiment of the present invention, when the processor executes the computer program to implement the foregoing method for synchronizing users in a canteen automation, the method may include:
a manpower system and a park intelligent canteen system are set up;
connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system of the campus;
the intelligent dining room system modifies the information of the meal card according to the change information of the staff.
In a specific embodiment of the computer device provided in the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the automatic users of the canteen, the method for synchronizing the canteen users includes:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
In an embodiment of the computer device provided by the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the automatic users of the canteens, the method for establishing the intelligent canteen system in the campus includes:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In an embodiment of the computer device provided in the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the canteen automation users, the method connects the campus intelligent canteen system to the human power system through the DMZ secure zone, and includes:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
In an embodiment of the computer device provided by the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the canteen automation users, when the staff changes, the human power system generates staff change information and synchronously updates the staff change information to the campus intelligent canteen system, including:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
setting a mark to be synchronized and determining personnel change information of newly-added, departed and department transfer information related to the card information and the butt joint system information;
and according to the data synchronization timing task, reading the mark to be synchronized, and synchronously updating the personnel change information to the intelligent canteen system in the park.
In an embodiment of the computer device provided by the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the automatic users of the canteen, the processor reads the to-be-synchronized flag according to the data synchronization timing task, and synchronously updates the personnel change information to the intelligent canteen system in the campus, including:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
In an embodiment of the computer device, when the processor executes the computer program to implement the above-mentioned method for synchronizing the dining room with the automatic users, the method for modifying the information of the dining cards by the intelligent dining room system according to the personnel variation information includes:
the intelligent canteen system extracts personnel change information from a database of the system;
newly-added and departed department transferring information in the personnel change information is written into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
In an embodiment of the computer device provided by the embodiment of the present invention, when the processor executes the computer program to implement the foregoing method for synchronizing users of the canteen automation, the intelligent canteen system further provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
In an embodiment of the computer device provided by the embodiment of the present invention, when the processor executes the computer program to implement the method for synchronizing the dining room automatic users, the diner accesses the intelligent dining room system through the internet access service to access the portal of the dining system, including:
the diner is connected with the intelligent canteen system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In an embodiment of the computer device provided in an embodiment of the present invention, when the processor executes the computer program to implement the above-mentioned method for synchronizing the automatic users of the canteen, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for implementing the foregoing method for synchronizing users in a canteen automation is stored in the computer-readable storage medium.
When a computer-readable storage medium storing a computer program for implementing the foregoing method for synchronizing users of a canteen automation according to an embodiment of the present invention is embodied, in an embodiment, the computer-readable storage medium may include:
a manpower system and a park intelligent canteen system are set up;
connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the park;
the intelligent dining room system modifies the information of the meal card according to the change information of the staff.
In a specific embodiment of the present invention, when a computer program for implementing the method for synchronizing the automatic users of the canteen is stored in the computer-readable storage medium, the method for establishing a human power system includes:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
In an embodiment, when a computer program for implementing the method for synchronizing the users of the canteen automation is stored in the computer readable storage medium, the method for building the intelligent canteen system in the garden includes:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In an embodiment, when a computer program for implementing the method for synchronizing the users of the canteen automation is stored in the computer readable storage medium, the method for connecting the intelligent canteen system of the campus to the human power system through the DMZ security zone includes:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster is added in a DMZ security zone of a private cloud, load balance is achieved through F5, the intelligent canteen system of the park is matched through the Restful, requests are provided in a reverse proxy mode to be forwarded, and the manual power system is connected.
In one embodiment, when a computer program for implementing the method for synchronizing the users of the canteen automation is executed, the human power system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system of the campus when personnel change, the method includes:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
newly-added, departed and department transfer information is associated with the card information and the docking system information, a mark to be synchronized is set, and personnel change information is determined;
and reading the mark to be synchronized according to the data synchronization timing task, and synchronously updating the personnel change information to the intelligent canteen system of the campus.
In an embodiment, when a computer program for implementing the method for synchronizing the users of the canteen automation is stored in the computer readable storage medium, the computer readable storage medium reads a mark to be synchronized according to a data synchronization timing task, and synchronously updates the staff change information to the intelligent canteen system in the campus, including:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
In an embodiment, when a computer program implementing the method for synchronizing the users of the canteen automation is stored in the computer readable storage medium, the method for modifying the dining card information according to the staff variation information includes:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
In an embodiment, when a computer program implementing the method for synchronizing the users of the canteen automation is stored in the computer readable storage medium, the intelligent canteen system further provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
In an embodiment, when a computer program implementing the method for synchronizing the users of the dining hall automation is stored in a computer readable storage medium, a diner connects to an intelligent dining hall system through an internet access service to access a portal of a dining system, the method includes:
the diner is connected with the intelligent canteen system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In an embodiment, when a computer program implementing the foregoing method for synchronizing users of a canteen automation is stored in a computer readable storage medium, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
The embodiment of the invention also provides an automatic user synchronization device for the canteen, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to the method for synchronizing the automatic users of the canteens, the implementation of the device can refer to the implementation of the method for synchronizing the automatic users of the canteens, and repeated parts are not repeated.
Fig. 5 is a schematic diagram of an automatic user synchronization device for a canteen according to an embodiment of the present invention, and as shown in fig. 5, an automatic user synchronization device for a canteen according to an embodiment of the present invention may include:
the system building module 501 is used for building a manpower system and a park intelligent canteen system;
the system connection module 502 is used for connecting the park intelligent canteen system with a human power system through a DMZ safe area;
the personnel change information synchronization module 503 is used for generating personnel change information by the human power system when personnel change and synchronously updating the personnel change information to the intelligent canteen system in the park;
and the meal card information modification module 504 is used for modifying the meal card information by the intelligent dining room system according to the personnel change information.
When the automatic user synchronization device for the canteen provided by the embodiment of the invention is implemented specifically, in an embodiment, the system building module is specifically configured to:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
When the automatic user synchronization device for the canteen provided by the embodiment of the invention is implemented specifically, in one embodiment, the system building module is further configured to:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
In an embodiment of the invention, when the automatic user synchronizing device for a canteen is implemented, the system connection module is specifically configured to:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
In an embodiment of the present invention, when the automatic user synchronizing device for a canteen is implemented specifically, the personnel change information synchronizing module is specifically configured to:
when personnel change including new increase, departure and department mobilization occurs, new increase, departure and department mobilization information is generated in a human power system;
setting a mark to be synchronized and determining personnel change information of newly-added, departed and department transfer information related to the card information and the butt joint system information;
and according to the data synchronization timing task, reading the mark to be synchronized, and synchronously updating the personnel change information to the intelligent canteen system in the park.
When the automatic user synchronization device for a canteen provided by the embodiment of the present invention is implemented specifically, in an embodiment, the personnel change information synchronization module is further configured to:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
In an embodiment of the invention, when the automatic user synchronizing device for a dining room provided by the embodiment of the invention is implemented, the meal card information modification module is specifically configured to:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
In an embodiment of the device for synchronizing users of a canteen in an automated manner, the system connection module further includes: the intelligent canteen system provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
In an embodiment of the device for synchronizing users of a canteen in an automated manner, the system connection module is further configured to:
diners are connected with the intelligent dining room system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
In one embodiment, when the automated user synchronizing device for a canteen provided by the embodiment of the present invention is implemented, the intelligent canteen system further includes: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
The automatic synchronization method of the invention provides a channel for automatically synchronizing the user information and the card information from the human resource system to the intelligent catering system, solves the defect that the worker needs to modify the worker card information offline after the work of the worker changes in the traditional large-scale enterprise, has certain expansibility, and can realize the synchronous butt joint of the human resource system and other systems in the future through customization. The invention is beneficial to reducing the labor cost of enterprises and improving the working efficiency of the enterprises at the same time. The invention solves the problems that the employee needs to apply for changing the card information after changing the information, needs to carry out multi-stage approval and signature, and then queues up to the card service department to modify the card information, simplifies the complicated flow and optimizes the user experience. The method can realize the intercommunication of the public cloud and the private cloud environment of the enterprise, can solve the common problem of the enterprise, and has good design foresight.
The embodiment of the invention realizes the automatic synchronization of the human system of a company and three main bodies of staff, work cards and catering accounts of a catering system, and can complete the automatic synchronization on the line aiming at newly added departments or the movement of staff departments. The invention develops a solution based on the automatic user synchronization of the intelligent canteen of the enterprise park, realizes the automation and high-efficiency management of the park on the aspect of the user management of the catering system, can quickly update any personal information or card affair change into the catering system, saves the complicated flow of queuing up and opening cards by staff and manually opening accounts by card affair staff, and replaces manual processing with automatic synchronization mechanism for all operations.
The invention solves the problem of data isolated island, automatically synchronizes the user information and the card information in the enterprise human resource system to the catering system, and solves the problem of information asynchronism caused by a plurality of sets of data of a plurality of systems. The human cost is reduced, and after the user information in the human resource system is changed, the information can be automatically synchronized to other systems without manual modification by personnel in a card service department. User experience is optimized, after employee department information changes, the steps of card information change application, multilayer leader approval signature, queuing for card information modification and the like are not needed, and time is saved. The invention has expansibility, and can realize the automatic synchronization function of the user information of other systems by utilizing the principle.
To sum up, the method and the device for synchronizing the automatic users of the canteens provided by the embodiment of the invention comprise the following steps: firstly, a manpower system and a park intelligent canteen system are set up; then, connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone; next, when the personnel change, the personnel change information is generated by the manpower system and is synchronously updated to the intelligent canteen system in the park; and finally, the intelligent dining room system modifies the information of the meal card according to the personnel change information. The intelligent canteen system solves the problem of data isolated island, automatically synchronizes personnel change information in an enterprise human power system to the intelligent canteen system in the park, and solves the problem of information asynchronism caused by multiple sets of data of multiple systems. The human cost is reduced, and after the user information in the human system changes, the information can be automatically synchronized to the intelligent canteen system in the park, and manual modification by personnel in a card service department is not needed. The invention provides a channel for automatically synchronizing personnel change information from a human system to a park intelligent canteen system, solves the problems that the personnel change information needs to be applied for changing card information after the personnel change information, needs to be subjected to multi-stage approval and signing, and then queues up to a card service department to modify the card information, simplifies a complicated flow and optimizes user experience. The labor cost of an enterprise is reduced, and the working efficiency of the enterprise is improved. The automation and high-efficiency treatment of the park on the aspect of catering system user management are realized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A dining room automatic user synchronization method is characterized by comprising the following steps:
a manpower system and a park intelligent canteen system are set up;
connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
when the personnel change, the manpower system generates personnel change information and synchronously updates the personnel change information to the intelligent canteen system in the park;
the intelligent dining room system modifies the information of the meal card according to the personnel change information;
wherein, pass through DMZ safe zone with garden wisdom dining room system and connect human power system, include:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
Wherein, when personnel change, manpower system produces personnel's change information, and synchronous update is to garden wisdom dining room system, includes:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
newly-added, departed and department transfer information is associated with the card information and the docking system information, a mark to be synchronized is set, and personnel change information is determined;
reading a mark to be synchronized according to the data synchronization timing task, and synchronously updating the personnel change information to the intelligent canteen system in the park;
wherein, according to data synchronization timing task, read and treat the synchronization mark, change personnel's information synchronization update to garden wisdom dining room system, include:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
2. The method of claim 1, wherein building a human powered system comprises:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
3. The method of claim 2, wherein building a campus intelligent canteen system comprises:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
4. The method of claim 1, wherein the smart canteen system modifies the card information based on the staff variation information, comprising:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
5. The method of claim 1, wherein the intelligent canteen system further provides an internet access service interface;
diners access the service through the Internet to connect with the intelligent dining room system, access to a dining system portal and perform personal information management and meal card recharging.
6. The method of claim 5, wherein the diner accesses the dining system portal by connecting to the intelligent dining room system through an internet access service, comprising:
the diner is connected with the intelligent canteen system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
7. The method of claim 6, wherein the intelligent canteen system further comprises: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
8. An automated user synchronization device for a canteen, comprising:
the system building module is used for building a manpower system and a park intelligent canteen system;
the system connection module is used for connecting the intelligent canteen system of the park with a human power system through a DMZ safety zone;
the personnel change information synchronization module is used for generating personnel change information by the human power system when personnel change and synchronously updating the personnel change information to the intelligent canteen system in the park;
the meal card information modification module is used for modifying the meal card information by the intelligent dining room system according to the personnel change information;
wherein, the system connection module is specifically used for:
interface services of the human power system are provided externally in a Restful mode, a WEB server cluster and F5 load balance are added in a DMZ security zone of a private cloud, a park intelligent canteen system is matched through Restful, a request is provided in a reverse proxy mode for forwarding, and the human power system is connected.
Wherein, personnel change information synchronization module specifically is used for:
when personnel change including new addition, departure and department mobilization occurs, new addition, departure and department mobilization information is generated in a human system;
setting a mark to be synchronized and determining personnel change information of newly-added, departed and department transfer information related to the card information and the butt joint system information;
reading a mark to be synchronized according to the data synchronization timing task, and synchronously updating the personnel change information to the intelligent canteen system in the park;
wherein, personnel change information synchronization module still is used for:
establishing a data synchronization timing task by the intelligent campus canteen system through a Quartz timing task frame;
according to the data synchronization timing task, request synchronization information is sent to F5 load balancing in a mode of sending HTTP request;
f5, load balancing sends the request synchronization information to a WEB server cluster of the DMZ safety zone, a specified service IP is configured, and the request synchronization information is forwarded to an application server of the human power system deployment service for request calling;
calling and requesting synchronous information according to the request, reading a mark to be synchronized, taking out personnel change information from a human power system, and processing and persisting the personnel change information to a database of the intelligent canteen system of the park through a business layer to complete synchronous updating.
9. The apparatus of claim 8, wherein the system building module is specifically configured to:
and (4) building a manpower system in a private cloud environment, and providing interface services to the outside in a Restful form.
10. The apparatus of claim 9, wherein the system building module is further configured to:
a park intelligent canteen system is built in a public cloud environment and is matched with interface service of a human system through Restful.
11. The apparatus of claim 8, wherein the meal card information modification module is specifically configured to:
the intelligent canteen system extracts personnel change information from a database of the system;
newly adding, leaving and department transferring information in the personnel change information, and writing the information into a personnel account;
and writing the card transaction information related to the newly added, the leaving and the department transfer information into the meal card related to the personnel account, and modifying the meal card information.
12. The apparatus of claim 8, wherein the system connection module further comprises: the intelligent canteen system provides an internet access service interface;
the diner accesses the service through the Internet to connect with the intelligent dining room system, accesses the portal of the catering system, and performs personal information management and card recharging.
13. The apparatus of claim 12, wherein the system connection module is further configured to:
diners are connected with the intelligent dining room system through internet access service;
the Internet access service is connected with the Internet area through a second load balance and an NAT gateway, and respectively manages the access of the WeChat channel and the access of the website channel;
the internet area is connected with the open service area through the first load balance, and rear-end service accessed by a catering system portal is provided.
14. The apparatus of claim 13, wherein the intelligent canteen system further comprises: an extranet area;
the open service area is connected with the external WEB of the external network area and is connected with the F5 load balance of the DMZ security area through the third load balance.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 7 when executing the computer program.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing a method according to any one of claims 1 to 7.
CN202110422935.9A 2021-04-20 2021-04-20 Automatic user synchronization method and device for canteen Active CN113141402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110422935.9A CN113141402B (en) 2021-04-20 2021-04-20 Automatic user synchronization method and device for canteen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110422935.9A CN113141402B (en) 2021-04-20 2021-04-20 Automatic user synchronization method and device for canteen

Publications (2)

Publication Number Publication Date
CN113141402A CN113141402A (en) 2021-07-20
CN113141402B true CN113141402B (en) 2022-11-29

Family

ID=76812767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110422935.9A Active CN113141402B (en) 2021-04-20 2021-04-20 Automatic user synchronization method and device for canteen

Country Status (1)

Country Link
CN (1) CN113141402B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155978B (en) * 2023-10-31 2024-01-26 山东弘毅节能服务有限公司 Intelligent campus management system based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104412558A (en) * 2012-02-19 2015-03-11 埃米尔·密扎尔 Reverse access method for securing front-end and other applications
CN107977906A (en) * 2017-12-18 2018-05-01 国网浙江省电力公司综合服务分公司 Wisdom health dining room system
CN110310051A (en) * 2019-07-11 2019-10-08 上海企久数据技术有限公司 A kind of wisdom garden management method being automatically imported and dynamically update business data
CN111882287A (en) * 2020-06-23 2020-11-03 安徽继远软件有限公司 An all-in-one card system with canteen cross-district dining

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104412558A (en) * 2012-02-19 2015-03-11 埃米尔·密扎尔 Reverse access method for securing front-end and other applications
CN107977906A (en) * 2017-12-18 2018-05-01 国网浙江省电力公司综合服务分公司 Wisdom health dining room system
CN110310051A (en) * 2019-07-11 2019-10-08 上海企久数据技术有限公司 A kind of wisdom garden management method being automatically imported and dynamically update business data
CN111882287A (en) * 2020-06-23 2020-11-03 安徽继远软件有限公司 An all-in-one card system with canteen cross-district dining

Also Published As

Publication number Publication date
CN113141402A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
Wiig et al. Turbulent presents, precarious futures: Urbanization and the deployment of global infrastructure
US9483330B2 (en) Trusted client-centric application architecture
Rindos et al. Dew computing: The complementary piece of cloud computing
Davidson et al. A new institutional approach to innovation policy
Oliveira et al. Industry 4.0 in systems thinking: From a narrow to a broad spectrum
CN104794609A (en) Instant communication system capable of supporting enterprise cooperative office
US11700292B2 (en) Collaboration components for sharing content from electronic documents
CN104052768A (en) Distributed multi-point synchronization system and synchronization method thereof
CN105450680A (en) Service method for data sharing
CN113141402B (en) Automatic user synchronization method and device for canteen
CN108234280A (en) A kind of instantaneous communication system that enterprise collaborative is supported to handle official business
CN107734017A (en) Data service method and system
Yrjola Technology antecedents of the platform-based ecosystemic business models beyond 5G
CN110113406A (en) Based on distributed calculating service cluster frame
Popova et al. Internet of Things as a key technology for developing smart tourism destinations
Hellani et al. Tangle the blockchain: Towards connecting blockchain and DAG
Manupati et al. Telefacturing based distributed manufacturing environment for optimal manufacturing service by enhancing the interoperability in the hubs
Huang et al. Study on digital technology in BRICS
Nazarenko et al. Data Management component for virtual factories systems
Duin et al. Process innovation through digital services for the seaport of the future
Sardjono et al. The banking industry is undergoing a digital transformation as part of industrial 4.0
Islam et al. Paradigm shift towards cloud computing for Banking sector
Yao et al. [Retracted] Application Exploration of Scenario Logistics Ecosystem Based on beyond 5G and IoT Architecture
Pauković et al. Usage of Information Technologies in the Digitalization Process of the Modern Architectural Office
Alvarado Pérez et al. Advancing IS Strategy for Natural History Museums with Method Engineering in the Digital Age

Legal Events

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