CN111610987B - Data processing system and method based on micro-service - Google Patents
Data processing system and method based on micro-service Download PDFInfo
- Publication number
- CN111610987B CN111610987B CN202010447789.0A CN202010447789A CN111610987B CN 111610987 B CN111610987 B CN 111610987B CN 202010447789 A CN202010447789 A CN 202010447789A CN 111610987 B CN111610987 B CN 111610987B
- Authority
- CN
- China
- Prior art keywords
- micro
- module
- service
- office
- service module
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a data processing system and a method based on micro service, wherein the system comprises: server and client, the client includes: little service management module and the little service module of official working, the server includes: the office data processing module and the data management module; the micro-service management module is used for managing the office micro-service module in the client according to the micro-service management instruction when the micro-service management instruction is obtained, and sending the identification information of the managed office micro-service module to the data management module; the data management module is used for acquiring the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module. Therefore, the office system can be conveniently expanded and contracted.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing system and method based on microservice.
Background
In the early days of Web technology development, most Web projects were applications that implemented different functions packaged together and run in a Web container. Such a system in which applications implementing all functions are deployed and run in one web container is called a monolithic architecture.
And a single framework is adopted, so that sharing, testing and deployment can be conveniently carried out. However, this monolithic architecture can only be applied to less complex applications. If the method is applied to a high-complexity application program, the whole project file of a project contains a great number of modules, so that the boundaries of the modules are fuzzy, the dependency relationship is not clear, and the quality of codes is uneven. So that each time the code is modified, great care is taken, adding a simple function, or modifying a bug may introduce hidden bugs. And, since the monolithic architecture is to pack all application files of a project in one file. Therefore, the expansion can be performed only as a whole, and the expansion and contraction cannot be performed according to the needs of the service module.
However, the inventor finds that the existing office system mainly adopts the monomer architecture application development technology. With the continuous development of enterprises, the complexity of each function and logic of office application is higher and higher. Due to the lack of flexibility of the monolithic architecture, the office system is difficult to scale.
Disclosure of Invention
The embodiment of the invention aims to provide a data processing system and a data processing method based on micro-services, so as to conveniently expand and contract an office system. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a data processing system based on microservice, where the system includes: server and client, the client includes: little service management module and the little service module of official working, the server includes: the office data processing module and the data management module;
the micro-service management module is used for managing the office micro-service module in the client according to the micro-service management instruction when the micro-service management instruction is obtained, and sending the identification information of the managed office micro-service module to the data management module;
the data management module is used for acquiring the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module.
Optionally, the micro service management instruction includes: a load instruction or an unload instruction;
the micro-service management module is specifically used for: when a loading instruction is obtained, loading an office micro-service module corresponding to the loading instruction to a client; or
When the unloading instruction is obtained, unloading the office micro-service module corresponding to the unloading instruction from the client;
the data management module is specifically configured to: acquiring identification information of an office micro-service module loaded by a micro-service management module; establishing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module loaded by the micro-service management module and the preset corresponding relation between the office micro-service module and the office data processing module; or
Acquiring identification information of the office micro-service module unloaded by the micro-service management module; and disconnecting the communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module unloaded by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module.
Optionally, the client further includes: the server also comprises a user identity authentication module;
the user identity acquisition module is used for acquiring the identity information to be verified when a user logs in the client and sending the identity information to be verified to the user identity verification module;
the user identity authentication module is used for authenticating the identity information to be authenticated and returning the feedback information passing the authentication to the client when the authentication passes;
the micro-service management module is specifically used for: and when the feedback information passing the verification is received, acquiring a micro-service management instruction, and managing an office micro-service module in the client according to the micro-service management instruction.
Optionally, the user identity obtaining module is specifically configured to obtain a face feature to be verified when the user logs in the client, and send the face feature to be verified to the user identity verifying module;
and the user identity authentication module is used for authenticating the face features to be authenticated and returning the feedback information of passing authentication to the client when the authentication passes.
Optionally, the server further includes a rights management module;
the authority management module is used for determining the user authority corresponding to the identity information to be verified when the identity information to be verified passes verification;
the authority management module is also used for determining a manageable office micro-service module corresponding to the identity information to be verified according to the user authority corresponding to the identity information to be verified;
the micro-service management module is specifically used for: and acquiring a micro-service management instruction, and managing the manageable office micro-service module according to the micro-service management instruction when the micro-service management instruction is judged to be the management instruction of the manageable office micro-service module corresponding to the identity information to be verified.
Optionally, the server further includes: a user management module;
and the user management module is used for acquiring a user management instruction of the user when the authority management module determines that the user corresponding to the identity information to be verified has the user management authority, and managing the user information and/or the user authority according to the user management instruction.
Optionally, the client further includes: a gateway authentication module for authenticating the gateway,
the gateway authentication module is used for judging whether the client is in the intranet or not, and if so, triggering the user identity acquisition module to send the identity information to be verified to the user identity verification module;
and the gateway authentication module is also used for displaying the reminding information that the client is not in the intranet on the client interface when the client is not in the intranet.
Optionally, the office microservice module at least includes: a layout management submodule;
and the layout management submodule is used for acquiring a layout adjustment instruction of a user and adjusting the interface layout of the office micro-service module according to the layout adjustment instruction.
Optionally, the office microservice module includes: the system comprises a project approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative punishment micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module;
an office data processing module comprising: the system comprises a form management module, a note management module, a file management module, an address list management module and/or a list management module;
the data management module is specifically configured to:
the management project approval micro-service module, the file express micro-service module, the task issuing micro-service module, the administration punishment micro-service module and/or the information disclosure micro-service module are/is in communication connection with the form management module; and/or
The management notepad micro-service module is in communication connection with the note management submodule; and/or
The management literature refers to the micro-service module, the conference material micro-service module and/or the cloud disk micro-service module and is in communication connection with the file management module; and/or
Managing communication connection between the address book micro-service module and the address book management module; and/or
The system comprises a management project approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative penalty micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module, and is in communication connection with a list management module.
In a second aspect, an embodiment of the present invention further provides a data processing method, which is applied to the data processing system based on the microservice provided in the first aspect of the embodiment of the present invention, and the system includes: server and client, the client includes: little service module of official working, the server includes: an office data processing module;
the method comprises the following steps:
when the client side obtains the micro-service management instruction, managing an office micro-service module in the client side according to the micro-service management instruction, and sending identification information of the managed office micro-service module to the server;
the method comprises the steps that when a server obtains identification information of an office micro-service module managed by a client side; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the client and the preset corresponding relationship between the office micro-service module and the office data processing module.
Optionally, the micro service management instruction includes: a load instruction or an unload instruction; when the client side obtains the micro-service management instruction, the office micro-service module in the client side is managed according to the micro-service management instruction, and the method comprises the following steps:
when the client side obtains the loading instruction, the office micro-service module corresponding to the loading instruction is loaded to the client side; or
When the unloading instruction is obtained, unloading the office micro-service module corresponding to the unloading instruction from the client;
the method comprises the steps that when a server obtains identification information of an office micro-service module managed by a client side; according to the identification information of the office micro-service module managed by the client and the corresponding relationship between the office micro-service module and the office data processing module, managing the communication connection between the office micro-service module and the corresponding office data processing module, comprising:
the data management module is used for acquiring the identification information of the office micro-service module loaded by the micro-service management module; establishing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module loaded by the micro-service management module and the preset corresponding relation between the office micro-service module and the office data processing module; or
When acquiring the identification information of the office micro-service module unloaded by the micro-service management module; and disconnecting the communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module unloaded by the micro-service management module and the preset corresponding relation between the office micro-service module and the office data processing module.
Optionally, when the client acquires the micro-service management instruction, before managing the office micro-service module in the client according to the micro-service management instruction, the method further includes:
the client acquires identity information to be verified when a user logs in the client, and sends the identity information to be verified to a server;
the server verifies the identity information to be verified, and returns the feedback information passing the verification to the client when the verification passes;
when the client side obtains the micro-service management instruction, the office micro-service module in the client side is managed according to the micro-service management instruction, and the method comprises the following steps:
and when the client receives the feedback information passing the verification, acquiring a micro-service management instruction, and managing an office micro-service module in the client according to the micro-service management instruction.
Optionally, the obtaining, by the client, the to-be-verified identity information when the user logs in the client, and sending the to-be-verified identity information to the server includes:
the client side obtains the face features to be verified when a user logs in the client side, and sends the face features to be verified to the server;
the server verifies the identity information to be verified, and returns the feedback information passing the verification to the client when the verification passes, and the method comprises the following steps:
and the server verifies the face characteristics to be verified and returns the feedback information passing the verification to the client when the verification passes.
Optionally, after the server verifies the identity information to be verified, and returns the feedback information that the verification passes to the client when the verification passes, the method further includes:
when the identity information to be verified passes verification, the server determines the user authority corresponding to the identity information to be verified;
determining a manageable office micro-service module corresponding to the identity information to be verified according to the user authority corresponding to the identity information to be verified;
correspondingly, the client acquires the micro-service management instruction, and manages the office micro-service module in the client according to the micro-service management instruction, wherein the office micro-service module comprises:
and the client acquires the micro-service management instruction, and manages the manageable office micro-service module according to the micro-service management instruction when judging that the micro-service management instruction is the management instruction of the manageable office micro-service module corresponding to the identity information to be verified.
Optionally, the method further includes:
and when the server determines that the user corresponding to the identity information to be verified has the user management authority, acquiring a user management instruction of the user, and managing the user information and/or the user authority according to the user management instruction.
Optionally, the obtaining, by the client, the to-be-verified identity information when the user logs in the client, and sending the to-be-verified identity information to the server includes:
the client acquires the identity information to be verified when a user logs in the client, judges whether the client is in an intranet or not, and sends the identity information to be verified to the server if the client is in the intranet;
otherwise, displaying the reminding information that the client is not in the intranet on the client interface.
Optionally, the method further includes:
the client side obtains a layout adjustment instruction of the user, and adjusts the interface layout of the office micro-service module according to the layout adjustment instruction.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a data processing system and a method based on micro-service.A micro-service management module is arranged at a client, and an office data processing module and a data management module are arranged at a server; the micro-service management module can acquire the micro-service management instruction, manage the office micro-service module in the client according to the micro-service management instruction, and send the identification information of the managed office micro-service module to the data management module; then the data management module can acquire the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module. Because each office micro-service module has one function, the user can expand and contract the office micro-service module as required, so that the office system can be conveniently expanded and contracted, the communication connection between the expanded and contracted office micro-service module and the office data processing module of the server is managed, and the server can meet the task processing requirement of the client. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
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.
FIG. 1 is a block diagram illustrating a first implementation of a microservice-based data processing system, according to an embodiment of the present invention;
FIG. 2 is a flowchart of a data processing method based on microservice according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating a second implementation of a microservice-based data processing system, in accordance with an embodiment of the present invention;
FIG. 4 is a block diagram illustrating a third implementation of a microservice-based data processing system, in accordance with an embodiment of the present invention;
FIG. 5 is a block diagram illustrating a fourth implementation of a microservice-based data processing system, according to an embodiment of the present invention;
FIG. 6 is a block diagram of an office microservice module of a client in a microservice-based data processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems in the prior art, embodiments of the present invention provide a data processing system and method based on microservice, so as to implement convenient expansion of an office system.
First, a data processing system based on micro service according to an embodiment of the present invention is described below, as shown in fig. 1, which is a schematic structural diagram of a first implementation manner of a data processing system based on micro service according to an embodiment of the present invention, and the system may include: client 110 and server 120.
Among them, the client 110 includes: a micro-service management module 111 and an office micro-service module 112, the server 120 includes: an office data processing module 122 and a data management module 121;
the micro-service management module 111 is configured to, when a micro-service management instruction is obtained, manage the office micro-service module 112 in the client 110 according to the micro-service management instruction, and send identification information of the managed office micro-service module 112 to the data management module 121;
the data management module 121 is configured to obtain identification information of the office micro-service module 112 managed by the micro-service management module 111; and according to the identification information of the office micro-service module 112 managed by the micro-service management module 111 and the preset corresponding relationship between the office micro-service module and the office data processing module, managing the communication connection between the office micro-service module 112 and the corresponding office data processing module 122, so that the office data processing module 122 processes the task to be processed sent by the corresponding office micro-service module 112, and feeds back the processing result to the corresponding office micro-service module 112.
According to the data processing system based on the micro-service, provided by the embodiment of the invention, the micro-service management module is arranged at the client, and the office data processing module and the data management module are arranged at the server; the micro-service management module can acquire the micro-service management instruction, manage the office micro-service module in the client according to the micro-service management instruction, and send the identification information of the managed office micro-service module to the data management module; then the data management module can acquire the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module. Because each office micro-service module has one function, the user can expand and contract the office micro-service module as required, so that the office system can be conveniently expanded and contracted, the communication connection between the expanded and contracted office micro-service module and the office data processing module of the server is managed, and the server can meet the task processing requirement of the client.
In some examples, the microservice management instructions described above may include load instructions or unload instructions;
when the micro service management instruction is a load instruction, the micro service management module 111 is specifically configured to: when a loading instruction is obtained, loading the office micro-service module 112 corresponding to the loading instruction to the client 110; or
Correspondingly, the data management module 121 is specifically configured to: acquiring identification information of the office micro-service module 112 loaded by the micro-service management module 111; establishing communication connection between the office micro-service module 112 and the corresponding office data processing module 122 according to the identification information of the office micro-service module 112 loaded by the micro-service management module 111 and the preset corresponding relationship between the office micro-service module and the office data processing module;
when the micro service management instruction is a write-in instruction, the micro service management module 111 is specifically configured to: when the unloading instruction is obtained, the office micro-service module 112 corresponding to the unloading instruction is unloaded from the client 110;
correspondingly, the data management module 121 is specifically configured to: acquiring identification information of the office micro-service module 112 unloaded by the micro-service management module 111; and according to the identification information of the office micro-service module 112 unloaded by the micro-service management module 111 and the preset corresponding relationship between the office micro-service module and the office data processing module, the communication connection between the office micro-service module 112 and the corresponding office data processing module 122 is disconnected.
By using the micro-service management module 111, the user can manage the office system conveniently, so that the user can expand the office system. Different office tasks may then be performed using different office microservice modules 112 in the office system.
In still other examples, as shown in fig. 1, the office microserver module 112 described above may include: the system comprises a project approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative punishment micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module;
the office data processing module 122 may include: the system comprises a form management module, a note management module, a file management module, an address list management module and/or a list management module;
therefore, the data management module 121 is specifically configured to:
the management project approval micro-service module, the file express micro-service module, the task issuing micro-service module, the administration punishment micro-service module and/or the information disclosure micro-service module are/is in communication connection with the form management module; and/or
The management notepad micro-service module is in communication connection with the note management submodule; and/or
The management literature refers to the micro-service module, the conference material micro-service module and/or the cloud disk micro-service module and is in communication connection with the file management module; and/or
Managing communication connection between the address book micro-service module and the address book management module; and/or
The system comprises a management project approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative penalty micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module, and is in communication connection with a list management module.
In still other examples, the office data processing modules 122 may be communicatively coupled to each other via an application program interface.
Corresponding to the above data processing system based on micro service, an embodiment of the present invention further provides a data processing method based on micro service to implement scaling of an office system, where the method is applied to the data processing system shown in fig. 1, and the system includes: server and client, the client includes: little service module of official working, the server includes: an office data processing module; as shown in fig. 2, the method may include:
s210, when the client side obtains the micro-service management instruction, managing an office micro-service module in the client side according to the micro-service management instruction, and sending identification information of the managed office micro-service module to a server;
s220, the server acquires the identification information of the office micro-service module managed by the client; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the client and the preset corresponding relationship between the office micro-service module and the office data processing module.
The data processing method based on the micro-service provided by the embodiment of the invention is applied to the data processing system based on the micro-service, so that the micro-service management module can acquire a micro-service management instruction, manage the office micro-service module in the client according to the micro-service management instruction, and send the identification information of the managed office micro-service module to the data management module; then the data management module can acquire the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module. Because each office micro-service module has one function, the user can expand and contract the office micro-service module as required, so that the office system can be conveniently expanded and contracted, the communication connection between the expanded and contracted office micro-service module and the office data processing module of the server is managed, and the server can meet the task processing requirement of the client.
On the basis of the data processing system based on the microservice shown in fig. 1, an embodiment of the present invention further provides a possible implementation manner, as shown in fig. 3, which is a schematic structural diagram of a second implementation manner of the data processing system based on the microservice according to the embodiment of the present invention, and referring to fig. 3, the client 110 further includes: the user identity obtaining module 113, the server 120 further includes: a user authentication module 123;
the user identity acquiring module 113 is configured to acquire to-be-verified identity information when the user logs in the client 110, and send the to-be-verified identity information to the user identity verifying module 123;
the user identity authentication module 123 is configured to authenticate identity information to be authenticated, and when the authentication passes, return feedback information that the authentication passes to the client 110;
the micro service management module 111 is specifically configured to: and when the feedback information passing the verification is received, acquiring the micro-service management instruction, and managing the office micro-service module 112 in the client 110 according to the micro-service management instruction.
In some examples, in order to improve the security of the data processing system according to the embodiment of the present invention, the user identity may be verified, and for this, the user identity obtaining module 113 may be disposed at the client 110, and the user identity verifying module 123 may be disposed at the server 120. Thus, when a user wants to log in the client 110, the user identity information of the user may be obtained through the user identity obtaining module 113, then the user identity is verified through the user identity verification module 123, and after the user passes the verification, the user is allowed to log in, and then the micro service management module 111 may obtain the micro service management instruction and manage the office micro service module 112 in the client 110 according to the micro service management instruction.
In still other examples, the user identity obtaining module 113 may be connected to a human body feature obtaining device, such as a fingerprint device, a face recognition device, or an iris recognition device, so as to obtain the human body feature of the user, and the user may log in the client 110 using the human body feature as the identity information of the user.
When the user identity information is a face feature, the user identity obtaining module 113 may be specifically configured to obtain a face feature to be verified when the user logs in the client 110, and send the face feature to be verified to the user identity verification module 123;
the user identity authentication module 123 may authenticate the face feature to be authenticated, and when the authentication passes, return the feedback information that the authentication passes to the client 110.
In some examples, the user identity authentication module 123 may store a plurality of face features in advance, when the face features to be authenticated are obtained, the face features to be authenticated may be compared with the plurality of face features stored in advance, and if a face feature identical to the face feature to be authenticated exists in the plurality of face features stored in advance, the authentication is considered to be passed. And may return the verified feedback information to the client 110.
On the basis of the data processing system based on the micro service shown in fig. 3, an embodiment of the present invention further provides a possible implementation manner, as shown in fig. 4, which is a schematic structural diagram of a third implementation manner of the data processing system based on the micro service according to the embodiment of the present invention, referring to fig. 4, the server 120 further includes a rights management module 124;
the authority management module 124 is configured to determine, when the identity information to be verified passes verification, a user authority corresponding to the identity information to be verified;
the authority management module 124 is further configured to determine, according to the user authority corresponding to the identity information to be verified, a manageable office micro-service module corresponding to the identity information to be verified;
the micro service management module 111 is specifically configured to: and acquiring a micro-service management instruction, and managing the manageable office micro-service module according to the micro-service management instruction when the micro-service management instruction is judged to be the management instruction of the manageable office micro-service module corresponding to the identity information to be verified.
In some examples, different workers in a company should have different authorities, and different authorities should correspond to different office micro-service modules 112, so in order to further improve the security of the data processing system according to the embodiment of the present invention, the authority management module 124 may be disposed on the server 120 side. By setting the rights management module 124. The rights management module 124 allows a super administrator to assign different rights to different workers, so that different workers can manage different office microservice modules 112. So that the super administrator can set up the manageable office micro service module 112 for different workers according to different authorities.
After a super administrator sets a manageable office micro-service module 112 for different workers, if a worker logs in the client 110, the user identity acquisition module 113 of the client 110 can acquire to-be-verified identity information of the logged-in worker, then the user identity verification module 123 can verify the to-be-verified identity information, and after the verification is passed, the authority management module 124 can determine the user authority corresponding to the to-be-verified identity information according to the authority of the worker set by the super administrator; and then the manageable office micro-service module corresponding to the identity information to be verified can be determined according to the user authority corresponding to the identity information to be verified. Finally, the manageable office micro-service module corresponding to the identity information to be verified can be sent to the micro-service management module 111.
The micro-service management module 111 may determine whether the micro-service management instruction is a management instruction of the manageable office micro-service module corresponding to the identity information to be verified after acquiring the micro-service management instruction and the manageable office micro-service module corresponding to the identity information to be verified sent by the authority management module 124, and if so, may manage the manageable office micro-service module according to the micro-service management instruction. If not, reminding information can be displayed on a display interface of the client 110 to remind that the user corresponding to the identity information to be verified does not have the authority to the office microservice module to be managed. Therefore, the management of the office micro-service module 112 exceeding the authority of the worker can be avoided, and the safety of the data processing system of the embodiment of the invention can be further improved.
On the basis of the data processing system based on the micro service shown in fig. 4, an embodiment of the present invention further provides a possible implementation manner, as shown in fig. 5, which is a schematic structural diagram of a fourth implementation manner of the data processing system based on the micro service according to the embodiment of the present invention, referring to fig. 5, the server 120 may further include: a user management module 125;
and the user management module 125 is configured to, when the right management module 124 determines that the user corresponding to the identity information to be verified has the user management right, obtain a user management instruction of the user, and manage the user information and/or the user right according to the user management instruction.
In some examples, in a company or an organization, there is usually a flow of people, that is, a member enters a job and leaves the job, and when a person enters the job, in order to enable the member entering the job to use the data processing system according to the embodiment of the present invention, the user management module 125 may be configured to enter user information of the member entering the job in the data processing system, and further set a corresponding user right for the member entering the job.
When a person leaves a job, in order to avoid the person who leaves the job using the data processing system of the embodiment of the present invention, the user management module 125 may also be configured, so that the user information of the worker who leaves the job and the user authority of the worker who leaves the job are deleted in the data processing system, and further, the management of the authority of the worker may be facilitated.
In some examples, to avoid any one being able to freely manage the user information and the user right, the user right may be managed, and the user information and the user right may be managed only when the user has the user management right.
Specifically, the authority management module 124 may determine whether the user corresponding to the identity information to be verified has a user management authority, and if so, may trigger the user management module 125 to obtain a user management instruction of the user, and manage the user information and/or the user authority according to the user management instruction.
If not, feedback information that the user corresponding to the identity information to be verified does not have the user management authority may be returned to the client 110, so as to remind the user corresponding to the identity information to be verified.
In a possible implementation manner, in order to protect the security of data in the data processing system according to the embodiment of the present invention, the data processing system according to the embodiment of the present invention may be used only in an intranet. For the reason that the data processing system according to the embodiment of the present invention cannot be used when the client 110 is in an external network, the client 110 may further include: a gateway authentication module 114.
The gateway authentication module 114 is configured to determine whether the client 110 is in an intranet, and if so, trigger the user identity obtaining module 113 to send the identity information to be verified to the user identity verification module 123;
the gateway authentication module 114 is further configured to display, on the interface of the client 110, a reminding message that the client 110 is not in the intranet when the client 110 is not in the intranet.
In some examples, the gateway authentication module 114 may determine in real-time whether the client 110 is on the intranet. The gateway authentication module 114 may determine whether the client 110 is in the intranet by using a ping method, or may input "IP" to obtain an IP address in a browser of the client 110. Then "ipconfig" is entered at the command prompt interface of the client 110 to obtain another IP address, and finally, the two IP addresses are compared to determine whether the client 110 is on the intranet.
When the client 110 is in the intranet, the gateway authentication module 114 may trigger the user identity obtaining module 113 to send the identity information to be verified to the user identity verification module 123. When the client 110 is not in the intranet, a prompt message indicating that the client is not in the intranet can be displayed on the interface of the client 110. Thereby alerting the user.
On the basis of the data processing system based on the micro service shown in fig. 5, an embodiment of the present invention further provides a possible implementation manner, as shown in fig. 6, which is a schematic structural diagram of an office micro service module 112 in the data processing system based on the micro service according to the embodiment of the present invention, and referring to fig. 6, the office micro service module 112 at least may include: a layout management submodule 1121;
the layout management sub-module 1121 is configured to obtain a layout adjustment instruction of the user, and adjust the interface layout of the office microservice module 112 according to the layout adjustment instruction.
In some examples, referring to fig. 6, the office microservice module 112 may also include a data processing unit 1122 and a communication unit 1123.
The data processing unit 1122 is used to obtain a task generated by a user input or a click operation. And then transmitted to the corresponding office data processing module 122 through the communication unit 1123.
In some examples, a page is usually included in one office microservice module 112 to show the functions that the office microservice module 112 can have, and in order to allow a user to adjust the layout of the page shown by the office microservice module 112, a layout management sub-module 1121 may be provided.
In still other examples, in order to facilitate the user to adjust the page layout, the page is generally divided into a plurality of regions, and then the user may adjust the page layout by adjusting the regions, but in order to further adjust each region, an outer layer layout management unit 11211 and an inner layer layout management unit 11212 may be provided. The outer layer layout management unit 11211 may adjust the layout of a plurality of regions of each page, and the inner layer layout management unit 11212 may adjust the specific content of each region.
In still other examples, to enable real-time display of the adjusted layout, the layout management sub-module may further include a page adaptation unit that may display the adjustment to the layout on an interface of the client 110 in real-time. Thereby realizing dynamic programming.
In the data processing system based on the micro-service provided by the embodiment of the invention, the page adaptation submodule is used in the layout management submodule of each service function office micro-service module 112, so that the office system has better adaptability and portability.
Through the data processing system of the embodiment of the present invention, a worker can use the data processing system to perform an office work, for example, after the worker starts the data processing system, the system can automatically determine whether the worker is located in an office lan, and if the worker is located in the office lan, the user identity obtaining module 113 of the client 110 can obtain the face features of the worker through a face recognition device, and send the face features to the user identity verification module 123 for biometric authentication. If not, the reminding information that the client is not in the office local area network can be displayed on the interface of the client 110.
The user identity verification module 123 may compare the facial features of the staff, sent by the user identity obtaining module 113, with a plurality of facial features stored in advance to verify the facial features of the staff, and when the verification passes, the user may be allowed to log in the data processing system.
When the worker is authenticated and logged into the data processing system, the authority management module 124 may determine the authority the worker has, and thus may determine the office microservice module 112 that the worker can manage.
In some examples, the worker may use the corresponding office microservice module 112 for work in addition to managing the office microservice module 112. When the worker is working with the corresponding office micro-service module 112, the office micro-service module 112 may perform data communication with the corresponding office data processing module 122, so that the office data processing module 122 may process the task of the corresponding office micro-service module 112.
In still other examples, referring to fig. 5, the form management module at the server 120 may uniformly manage the project approval sheet of the project approval micro-service module, the document express sheet of the document express micro-service module, the task sheet of the task assignment micro-service module, the penalty sheet of the administration penalty micro-service module, and the information disclosure undertaking sheet of the information disclosure micro-service module at the client;
the note management module can uniformly manage notes in the notepad micro-service module;
the file management module can uniformly manage literature information in the literature consulting micro-service module, conference files in the conference material micro-service module and files in the cloud disk micro-service module;
the list management module can uniformly manage each micro-service module to perform form presentation and the form of the list according to the form of the list;
in some examples, the office data processing module 122 may further include: the log management module may be configured to manage the operation logs of the data processing system in a unified manner according to the embodiment of the present invention.
Compared with the problems of overhigh coupling degree, long response time and relatively complex design realization and user operation in the office system with a single framework in the prior art.
According to the data processing system based on the micro-service, provided by the embodiment of the invention, the micro-service of the office system can be realized by using the micro-service modules, so that each micro-service module is only in light coupling association, the influence between the micro-service modules is small, and the normal use of the service functions of other micro-service modules is not influenced when the function of one micro-service needs to be updated or maintained, so that the design, implementation and update iteration are easier, the user operation is simpler and more convenient, and the data processing system based on the micro-service has better reliability and operability; meanwhile, because each micro service module operates independently, the speeds of page rendering, data transmission, operation response and the like are greatly improved, and the overall efficiency of the data processing system is improved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method embodiment, since it is substantially similar to the system embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A microservice-based data processing system, the system comprising: the system comprises a server and a client, wherein the client comprises: micro-service management module and little service module of official working, the server includes: the office data processing module and the data management module;
the micro-service management module is used for managing the office micro-service module in the client according to the micro-service management instruction when the micro-service management instruction is obtained, and sending the identification information of the managed office micro-service module to the data management module;
the data management module is used for acquiring the identification information of the office micro-service module managed by the micro-service management module; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module, so that the office data processing module processes the task to be processed sent by the office micro-service module and feeds back the processing result to the office micro-service module.
2. The data processing system of claim 1, wherein the microservice management instructions comprise: a load instruction or an unload instruction;
the micro-service management module is specifically configured to: when a loading instruction is obtained, loading an office micro-service module corresponding to the loading instruction to the client; or
When an unloading instruction is obtained, unloading an office micro-service module corresponding to the unloading instruction from the client;
the data management module is specifically configured to: acquiring identification information of the office micro-service module loaded by the micro-service management module; establishing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module loaded by the micro-service management module and the preset corresponding relation between the office micro-service module and the office data processing module; or
Acquiring identification information of the office micro-service module unloaded by the micro-service management module; and disconnecting the communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module unloaded by the micro-service management module and the preset corresponding relationship between the office micro-service module and the office data processing module.
3. The data processing system of claim 1, wherein the client further comprises: the server also comprises a user identity authentication module;
the user identity acquisition module is used for acquiring the identity information to be verified when a user logs in the client and sending the identity information to be verified to the user identity verification module;
the user identity authentication module is used for authenticating the identity information to be authenticated and returning the feedback information passing the authentication to the client when the authentication passes;
the micro-service management module is specifically configured to: and when the feedback information passing the verification is received, acquiring a micro-service management instruction, and managing the office micro-service module in the client according to the micro-service management instruction.
4. The data processing system of claim 3, wherein the user identity obtaining module is specifically configured to obtain a face feature to be verified when a user logs in the client, and send the face feature to be verified to the user identity verification module;
and the user identity verification module is used for verifying the human face features to be verified and returning the feedback information of passing verification to the client when the verification passes.
5. The data processing system of claim 3, wherein the server further comprises a rights management module;
the authority management module is used for determining the user authority corresponding to the identity information to be verified when the identity information to be verified passes verification;
the authority management module is also used for determining a manageable office micro-service module corresponding to the identity information to be verified according to the user authority corresponding to the identity information to be verified;
the micro-service management module is specifically configured to: and acquiring the micro-service management instruction, and managing the manageable office micro-service module according to the micro-service management instruction when the micro-service management instruction is judged to be the management instruction of the manageable office micro-service module corresponding to the identity information to be verified.
6. The data processing system of claim 5, wherein the server further comprises: a user management module;
and the user management module is used for acquiring a user management instruction of the user when the authority management module determines that the user corresponding to the identity information to be verified has the user management authority, and managing the user information and/or the user authority according to the user management instruction.
7. The data processing system of claim 3, wherein the client further comprises: a gateway authentication module for authenticating the gateway,
the gateway authentication module is used for judging whether the client is in an intranet or not, and if so, triggering the user identity acquisition module to send the identity information to be verified to the user identity verification module;
the gateway authentication module is further configured to display, on the client interface, a reminding message that the client is not in the intranet when the client is not in the intranet.
8. The data processing system of claim 1, wherein the office microservice module comprises at least: a layout management submodule;
the layout management submodule is used for acquiring a layout adjustment instruction of a user and adjusting the interface layout of the office micro-service module according to the layout adjustment instruction.
9. The data processing system of claim 1, wherein the office microservice module comprises: the system comprises a project approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative punishment micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module;
the office data processing module comprises: the system comprises a form management module, a note management module, a file management module, an address list management module and/or a list management module;
the data management module is specifically configured to:
managing the project approval micro-service module, the file express micro-service module, the task assignment micro-service module, the administrative punishment micro-service module and/or the information disclosure micro-service module, and communicating with the form management module; and/or
Managing communication connection between the notepad micro-service module and the note management module; and/or
Managing a communication connection between the document consulting micro-service module, the conference material micro-service module and/or the cloud disk micro-service module and the file management module; and/or
Managing communication connection between the address book micro-service module and the address book management module; and/or
The system comprises a project examination and approval micro-service module, a file express micro-service module, a notepad micro-service module, a task assignment micro-service module, a document look-up micro-service module, an address book micro-service module, an administrative penalty micro-service module, an information disclosure micro-service module, a conference material micro-service module and/or a cloud disk micro-service module, and is in communication connection with the list management module.
10. A data processing method applied to the data processing system according to any one of claims 1 to 9, the system comprising: the system comprises a server and a client, wherein the client comprises: an office microservice module, the server comprising: an office data processing module;
the method comprises the following steps:
the client side acquires a micro-service management instruction, manages an office micro-service module in the client side according to the micro-service management instruction, and sends identification information of the managed office micro-service module to the server;
the server acquires the identification information of the office micro-service module managed by the client; and managing communication connection between the office micro-service module and the corresponding office data processing module according to the identification information of the office micro-service module managed by the client and the preset corresponding relationship between the office micro-service module and the office data processing module, so that the office data processing module processes the task to be processed sent by the office micro-service module and feeds back the processing result to the office micro-service module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010447789.0A CN111610987B (en) | 2020-05-25 | 2020-05-25 | Data processing system and method based on micro-service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010447789.0A CN111610987B (en) | 2020-05-25 | 2020-05-25 | Data processing system and method based on micro-service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111610987A CN111610987A (en) | 2020-09-01 |
CN111610987B true CN111610987B (en) | 2021-11-05 |
Family
ID=72204372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010447789.0A Active CN111610987B (en) | 2020-05-25 | 2020-05-25 | Data processing system and method based on micro-service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111610987B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259254B (en) * | 2021-05-31 | 2021-09-21 | 上海有孚智数云创数字科技有限公司 | Method, system, device, equipment and medium for processing micro-service message request |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577780A (en) * | 2015-12-21 | 2016-05-11 | 武汉理工大学 | College teaching cloud platform based on micro services |
CN105959390A (en) * | 2016-06-13 | 2016-09-21 | 乐视控股(北京)有限公司 | Unified management system and method of micro services |
CN106878393A (en) * | 2017-01-16 | 2017-06-20 | 深圳市商沃科技发展有限公司 | A kind of system based on fusion micro services framework |
EP3361700A1 (en) * | 2016-05-11 | 2018-08-15 | Oracle International Corporation | Multi-tenant identity and data security management cloud service |
CN111030818A (en) * | 2020-01-09 | 2020-04-17 | 上海金仕达软件科技有限公司 | Uniform session management method and system based on micro-service gateway |
-
2020
- 2020-05-25 CN CN202010447789.0A patent/CN111610987B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577780A (en) * | 2015-12-21 | 2016-05-11 | 武汉理工大学 | College teaching cloud platform based on micro services |
EP3361700A1 (en) * | 2016-05-11 | 2018-08-15 | Oracle International Corporation | Multi-tenant identity and data security management cloud service |
CN105959390A (en) * | 2016-06-13 | 2016-09-21 | 乐视控股(北京)有限公司 | Unified management system and method of micro services |
CN106878393A (en) * | 2017-01-16 | 2017-06-20 | 深圳市商沃科技发展有限公司 | A kind of system based on fusion micro services framework |
CN111030818A (en) * | 2020-01-09 | 2020-04-17 | 上海金仕达软件科技有限公司 | Uniform session management method and system based on micro-service gateway |
Also Published As
Publication number | Publication date |
---|---|
CN111610987A (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11888853B2 (en) | Systems and methods for dynamic granular access permissions | |
US10846382B2 (en) | Authenticating users requesting access to computing resources | |
US10541806B2 (en) | Authorizing account access via blinded identifiers | |
CN110620782A (en) | Account authentication method and device, computer equipment and storage medium | |
US8839234B1 (en) | System and method for automated configuration of software installation package | |
US9075986B1 (en) | Systems and methods for software application security management | |
US8904549B2 (en) | Server system, control method, and storage medium for securely executing access to data of a tenant | |
US8959578B2 (en) | Techniques for project lifecycle staged-based access control | |
CN108351771B (en) | Maintaining control over restricted data during deployment to a cloud computing environment | |
JP6140735B2 (en) | Access control device, access control method, and program | |
JP5789390B2 (en) | Business information protection device, business information protection method, and program | |
US20170339136A1 (en) | Multiple user authentications on a communications device | |
US9514291B2 (en) | Information processing system, information processing device, and authentication information management method | |
US11874916B2 (en) | User device authentication gateway module | |
CN111610987B (en) | Data processing system and method based on micro-service | |
JP2008117317A (en) | Business information protection device | |
JP5952466B2 (en) | Business information protection device, business information protection method, and program | |
US20050138435A1 (en) | Method and system for providing a login and arbitrary user verification function to applications | |
JP2018152091A (en) | Business information protection device, business information protection method, and program | |
US20090030705A1 (en) | Project management black box protections | |
CN111800382B (en) | Cooperative system docking method, apparatus, system and computer readable storage medium | |
US20230033027A1 (en) | Workflow management via a communication platform | |
JP2016173851A (en) | Business information protection device, business information protection method, and program | |
JP2017204207A (en) | Information processing system, login method, information processing device and program | |
TWM649469U (en) | Verifying integration system |
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 |