Service platform system adopting micro-service architecture
Through microservice architecture and multiple authentication methods, the problems of heavy server burden and insufficient security in the service system have been solved, and more efficient and secure user login and service operations have been achieved.
Patent Information
- Application Number
- CN202510676220.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-24
- Publication Date
- 2025-09-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing service systems are targeted at national or globalization, the large number of users causes the main server to be overloaded and prone to lag, and login methods that only rely on account passwords or facial recognition have security issues.
It adopts a microservice architecture, allocates servers according to the user's province and region, combines multiple verification methods such as passwords, faces, fingerprints and voice for login authentication, and issues alarms in case of multiple illegal logins to enhance system security.
It reduces the burden on the main server, reduces system lag, improves login security, prevents account theft, and improves the overall operational stability and security of the system.
Smart Images

Figure CN120597256A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of service systems and relates to a service system, in particular to a service platform system adopting a microservice architecture. Background Art
[0002] The service system can be regarded as a socialized technical system, which is a combination of natural systems and manufacturing systems. It is a networked configuration of specific technologies or organizations to provide services to meet customer needs and expectations. In the service system, service providers and demanders interact according to specific protocols to meet specific customer requests, create value and form collaborative relationships. A good service system can enable inexperienced service providers to complete complex service tasks quickly and accurately. For example, the medical service system makes it convenient for patients to query information and doctors to check medical history, promoting the development of the medical industry; the car buying and selling service system allows buyers to find high-quality and low-priced vehicles and sellers to sell vehicles quickly.
[0003] However, some current service systems are nationwide or even global, with a large number of users. During the service process, a large number of service requests occupy a large amount of running space on the system's main server, increasing the burden on the main server, easily causing lag and affecting system operation. Moreover, when users log in, they only use their account and password or use facial recognition, but facial recognition theft occurs frequently. Using only facial recognition as a second line of defense still carries the risk of account theft, resulting in poor system security and user information being easily exploited by criminals. Summary of the Invention
[0004] The purpose of the present invention is to address the above-mentioned problems in the existing technology and propose a service platform system adopting a microservice architecture. The service system based on the microservice architecture adopts multiple microservices as the architecture, can allocate servers according to the province and region where the user is located, and perform login, registration, service and other operations for the user, thereby reducing the burden on the main server and reducing the system's lag. At the same time, during the login process, it can verify the user's password, face, fingerprint, voice and other login information, thereby preventing the user's account from being logged in by criminals.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A service platform system adopting a microservice architecture includes a user terminal, a first classification server, a second classification server, a micro-processing server and a main processing server. The first classification server is composed of a login and registration request receiving module, a regional retrieval module, a login information allocation module and a registration information allocation module. The output end of the login and registration request receiving module is unidirectionally electrically connected to the input end of the regional retrieval module, and the output end of the regional retrieval module is unidirectionally electrically connected to the input ends of the login information allocation module and the registration information allocation module respectively. The second classification server includes a service request receiving module, a service request retrieval module, a service type judgment module, a service allocation module and a first storage module. The output end of the service request receiving module is unidirectionally electrically connected to the input end of the service request retrieval module, the output end of the service request retrieval module is unidirectionally electrically connected to the input end of the service type judgment module, and the output end of the service type judgment module is unidirectionally electrically connected to the service allocation module. The input end of the block is unidirectionally electrically connected, the microprocessor server is composed of a login verification unit, a registration unit and a service processing module, the login verification unit is composed of a login information input module, a face verification module, an account password verification module, a fingerprint matching module, a voice verification module and a login judgment module, the output end of the service allocation module is unidirectionally electrically connected to the input end of the service processing module, the output end of the login information allocation module is unidirectionally electrically connected to the input end of the login information input module, the output end of the login information input module is respectively unidirectionally electrically connected to the input ends of the face verification module, the account password verification module, the fingerprint matching module and the voice verification module, the output ends of the face verification module, the account password verification module, the fingerprint matching module and the voice verification module are all unidirectionally electrically connected to the input end of the login judgment module, the output end of the login judgment module is unidirectionally electrically connected to the alarm module, and the output end of the alarm module is unidirectionally electrically connected to the SMS sending module.
[0007] The user end is composed of a camera input module, an account and password input module, a fingerprint input module and a microphone input module. The output ends of the camera input module, the account and password input module, the fingerprint input module and the microphone input module are all unidirectionally electrically connected to the input end of the login and registration request receiving module.
[0008] The above structure is used to input various information into the system so that the system can perform inspection and authentication.
[0009] The user terminal further includes a service request sending module, and an output end of the service request sending module is unidirectionally electrically connected to an input end of the service request receiving module.
[0010] The above structure is used to send service requests to the system so that the system receives various service requests.
[0011] The registration unit includes a facial input module, an account and password input module, a fingerprint input module, a voice input module and a registration information storage module. The output end of the registration information distribution module is electrically connected to the input ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module in a one-way manner respectively. The output ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module are all electrically connected to the input end of the registration information storage module in a one-way manner.
[0012] The above structure is used to save the user's registration information.
[0013] The output end of the registration information storage module is unidirectionally electrically connected to the input end of the login judgment module, and the output end of the login judgment module is unidirectionally electrically connected to the input end of the user end.
[0014] The above structure is adopted to send the registration information to the login judgment module for verification, thereby improving the accuracy of the system judgment.
[0015] The first classification server is further provided with a first storage module, and the second classification server is further provided with a second storage module.
[0016] The above structure is used to store data of the first classification server and the second classification server.
[0017] A third data storage module is provided in the microprocessor server. An output end of the third data storage module is unidirectionally electrically connected to a data backup module. An input end of the third data storage module is unidirectionally electrically connected to a data encryption module.
[0018] The above structure is used to save the operating data of the microprocessor server and to perform data backup.
[0019] The output end of the alarm module is unidirectionally electrically connected to the IP locking module and the restricted login module, and the output ends of the IP locking module and the restricted login module are both unidirectionally electrically connected to the input end of the user end.
[0020] The above structure is used to lock the IP addresses of illegal login personnel and restrict their login behavior.
[0021] Compared with existing technologies, this service system based on microservice architecture has the following advantages:
[0022] 1. The present invention adopts multiple microservices as the architecture, which can allocate servers according to the province and region where the user is located, and perform login, registration, service and other operations for the user, thereby reducing the burden on the main server and reducing system jams. At the same time, during the login process, the user's password, face, fingerprint, voice and other login information can be verified, thereby preventing the user's account from being logged in by criminals. At the same time, after multiple illegal logins, the system can issue an alarm to the real user of the account to remind the user, thereby improving the security of the system, solving the problem that the main server of some existing service systems is burdened with heavy workload during operation and causes system jams, and solving the problem that the system only uses account password and face for login verification and poor security.
[0023] 2. Through the settings of the camera input module, account and password input module, fingerprint input module and microphone input module, they are used for face, account and password, fingerprint and voice input respectively, for inputting various information into the system and performing login verification so that the system can check and authenticate the logged-in personnel.
[0024] 3. Through the settings of the face input module, account and password input module, fingerprint input module, voice input module and registration information saving module, they are used to save the registered user's face, account password, fingerprint, voice and other information, and save the relevant information through the registration information saving module. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a system principle block diagram of the present invention.
[0026] Figure 2 It is a system principle block diagram of the microprocessor server in the present invention.
[0027] Figure 3 This is a system principle block diagram of the user end in the present invention.
[0028] Figure 4 It is a flowchart of user login in the present invention. DETAILED DESCRIPTION
[0029] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solutions of the present invention, but the present invention is not limited to these embodiments.
[0030] like Figures 1-4As shown, the service system based on the microservice architecture includes a user terminal, a first classification server, a second classification server, a micro-processing server and a main processing server. The first classification server is composed of a login and registration request receiving module, a regional search module, a login information allocation module and a registration information allocation module. The output end of the login and registration request receiving module is unidirectionally electrically connected to the input end of the regional search module, and the output end of the regional search module is unidirectionally electrically connected to the input end of the login information allocation module and the registration information allocation module respectively. The second classification server includes a service request receiving module, a service request location search module, a service type judgment module, a service allocation module and The first storage module, the output end of the service request receiving module is unidirectionally electrically connected to the input end of the service request retrieval module, the output end of the service request retrieval module is unidirectionally electrically connected to the input end of the service type judgment module, the output end of the service type judgment module is unidirectionally electrically connected to the input end of the service allocation module, the microprocessor server is composed of a login verification unit, a registration unit and a service processing module, the login verification unit is composed of a login information input module, a face verification module, an account password verification module, a fingerprint matching module, a voice verification module and a login judgment module, the output end of the service allocation module is unidirectionally electrically connected to the input end of the service processing module, the login The output end of the information distribution module is unidirectionally electrically connected to the input end of the login information input module. The output end of the login information input module is unidirectionally electrically connected to the input ends of the facial verification module, account and password verification module, fingerprint matching module and voice verification module respectively. The output ends of the facial verification module, account and password verification module, fingerprint matching module and voice verification module are all unidirectionally electrically connected to the input end of the login judgment module. The output end of the login judgment module is unidirectionally electrically connected to the alarm module. The output end of the alarm module is unidirectionally electrically connected to the SMS sending module. The system adopts multiple microservices as its architecture and can allocate servers according to the province and region where the user is located. It also performs login, registration, service and other operations for users, thereby reducing the burden on the main server and reducing system jams. At the same time, it can verify the user's password, face, fingerprint, voice and other login information during the login process, thereby preventing the user's account from being logged in by criminals. At the same time, after multiple illegal logins, the system can issue an alarm to the real user of the account to remind the user, thereby improving the security of the system, solving the problem that the main server of some existing service systems has a heavy workload during operation and causes system jams, and solving the problem that the system only uses account password and face for login verification and has poor security.
[0031] The user end is composed of a camera input module, an account and password input module, a fingerprint input module and a microphone input module. The output ends of the camera input module, the account and password input module, the fingerprint input module and the microphone input module are all electrically connected in one direction to the input end of the login and registration request receiving module. In this embodiment, through the setting of the camera input module, the account and password input module, the fingerprint input module and the microphone input module, they are respectively used for face, account and password, fingerprint and voice input, and are used to input various information into the system and perform login verification so that the system can check and authenticate the logged-in personnel.
[0032] The user end also includes a service request sending module, the output end of the service request sending module is unidirectionally electrically connected to the input end of the service request receiving module. In this embodiment, through the setting of the service request sending module, it is used to send service requests to the system so that the system receives various service requests to serve users.
[0033] The registration unit includes a facial input module, an account and password input module, a fingerprint input module, a voice input module and a registration information storage module. The output end of the registration information distribution module is unidirectionally electrically connected to the input ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module respectively. The output ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module are all unidirectionally electrically connected to the input end of the registration information storage module. In this embodiment, through the setting of the facial input module, the account and password input module, the fingerprint input module, the voice input module and the registration information storage module, they are used to save the registered user's face, account and password, fingerprint, voice and other information, and the relevant information is saved through the registration information storage module.
[0034] The output end of the registration information storage module is electrically connected in one direction to the input end of the login judgment module, and the output end of the login judgment module is electrically connected in one direction to the input end of the user end. In this embodiment, through the connection relationship design between the login judgment module and the login judgment module, the login judgment module can send the stored user information to the login judgment module, and verify and match various information of the logged-in user through the login judgment module so that the system can make a judgment.
[0035] A first storage module is also provided in the first classification server, and a second storage module is also provided in the second classification server. In this embodiment, through the setting of the first storage module and the second storage module, the first storage module is used to store the data generated by the first classification server during operation for staff to review, and the second storage module is used to store the data generated by the second storage module during operation.
[0036] A third data storage module is provided in the microprocessor server, and the output end of the third data storage module is unidirectionally electrically connected to the data backup module, and the data backup module is connected to other microprocessor servers. The input end of the third data storage module is unidirectionally electrically connected to the data encryption module. In this embodiment, through the setting of the third data storage module and the data backup module, the third data storage module can store the data generated by the microprocessor server during operation, and the data backup module can back up the data generated by the microprocessor server and transmit it to other microprocessor servers, thereby avoiding data loss caused by failure of one or more microprocessor servers, and the data encryption module is used to encrypt the stored data.
[0037] The output end of the alarm module is unidirectionally electrically connected to the IP lock module and the login restriction module. The output ends of the IP lock module and the login restriction module are both unidirectionally electrically connected to the input end of the user end. In this embodiment, through the setting of the IP lock module and the login restriction module, when the system determines that the user has logged in illegally, the IP lock module can lock the address of the illegal login, and the login restriction module can restrict the illegal user from continuing to log in.
[0038] The working principle of the present invention is as follows: during the registration process, the user can input the user's account and password through the account and password input module, capture the user's facial information through the camera input module, record the user's fingerprint through the fingerprint input module, and record the user's voice information through the microphone input module. When various registration information is input and transmitted to the login information allocation module through the login registration request receiving module, the login information allocation module determines the province from which the user comes. For example, if the user comes from Province A, the registration information allocation sends the registration information to the microprocessor server A. The facial input module, account and password input module, fingerprint input module, voice input module and registration information storage module of the microprocessor server A input and save various registration information. If the user comes from Province B, the registration information is transmitted to the microprocessor server B. During the user's login process, the login input information is transmitted to the registration information allocation module through the login registration request receiving module. The registration information allocation module then transmits the login input information to the login information input module. First, the account and password verification module judges the account and password. If correct, it proceeds to the next step. If wrong, the login fails. Then the fingerprint is used to verify the user's identity. The matching module performs fingerprint matching. If the match is successful, it proceeds to the next step. If the match is unsuccessful, the login fails. The facial verification module then verifies the captured face. If the verification is successful, it proceeds to the next step. If the verification fails, the login fails. The voice verification module then performs voice verification. If the verification is successful, it proceeds to the next step. Otherwise, the login fails. The login judgment module determines whether the user can log in. If the verification match is successful, the user terminal successfully logs in to the system. If the verification fails multiple times, the login judgment module determines that the user has logged in illegally or maliciously. The alarm module then sends an alarm message to the user through the SMS sending module to notify the user of the illegal login phenomenon. The user sends the service request to the service request receiving module through the service request sending module. The service request location retrieval module then determines the location of the service request. The service type judgment module then determines the nature of the service. The service allocation module then sends the service request to the micro-processing server. If the user sending the service request is from Province C, the service allocation module sends the service request to micro-processing server C, which then provides the service, thereby sharing the workload of the main server and reducing lag.
[0039] The specific embodiments described herein are merely illustrative of the spirit of the present invention. Persons skilled in the art may make various modifications, additions, or substitutions to the described specific embodiments without departing from the spirit of the present invention or exceeding the scope of the appended claims.
Claims
1. A service platform system using a microservice architecture, comprising a user terminal, a first classification server, a second classification server, a micro-processing server and a main processing server, characterized in that: The first classification server is composed of a login and registration request receiving module, a regional search module, a login information allocation module and a registration information allocation module. The output end of the login and registration request receiving module is unidirectionally electrically connected to the input end of the regional search module, and the output end of the regional search module is unidirectionally electrically connected to the input ends of the login information allocation module and the registration information allocation module respectively. The second classification server includes a service request receiving module, a service request retrieval module, a service type judgment module, a service allocation module and a first storage module. The output end of the service request receiving module is unidirectionally electrically connected to the input end of the service request retrieval module, the output end of the service request retrieval module is unidirectionally electrically connected to the input end of the service type judgment module, and the output end of the service type judgment module is unidirectionally electrically connected to the input end of the service allocation module. The microprocessor server is composed of a login verification unit , a registration unit and a service processing module, the login verification unit is composed of a login information input module, a facial verification module, an account and password verification module, a fingerprint matching module, a voice verification module and a login judgment module, the output end of the service allocation module is unidirectionally electrically connected to the input end of the service processing module, the output end of the login information allocation module is unidirectionally electrically connected to the input end of the login information input module, the output end of the login information input module is respectively unidirectionally electrically connected to the input ends of the facial verification module, the account and password verification module, the fingerprint matching module and the voice verification module, the output ends of the facial verification module, the account and password verification module, the fingerprint matching module and the voice verification module are all unidirectionally electrically connected to the input end of the login judgment module, the output end of the login judgment module is unidirectionally electrically connected to the alarm module, and the output end of the alarm module is unidirectionally electrically connected to the SMS sending module.
2. A service platform system using a microservice architecture according to claim 1, characterized in that: The user end is composed of a camera input module, an account and password input module, a fingerprint input module and a microphone input module. The output ends of the camera input module, the account and password input module, the fingerprint input module and the microphone input module are all unidirectionally electrically connected to the input end of the login and registration request receiving module.
3. A service platform system using a microservice architecture according to claim 1, characterized in that: The user terminal further includes a service request sending module, and an output end of the service request sending module is unidirectionally electrically connected to an input end of the service request receiving module.
4. The service platform system using a microservice architecture according to claim 1, characterized in that: The registration unit includes a facial input module, an account and password input module, a fingerprint input module, a voice input module and a registration information storage module. The output end of the registration information distribution module is electrically connected to the input ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module in a one-way manner respectively. The output ends of the facial input module, the account and password input module, the fingerprint input module and the voice input module are all electrically connected to the input end of the registration information storage module in a one-way manner.
5. A service platform system using a microservice architecture according to claim 4, characterized in that: The output end of the registration information storage module is unidirectionally electrically connected to the input end of the login judgment module, and the output end of the login judgment module is unidirectionally electrically connected to the input end of the user end.
6. A service platform system using a microservice architecture according to claim 1, characterized in that: The first classification server is further provided with a first storage module, and the second classification server is further provided with a second storage module.
7. The service platform system using a microservice architecture according to claim 1, characterized in that: A third data storage module is provided in the microprocessor server. An output end of the third data storage module is unidirectionally electrically connected to a data backup module. An input end of the third data storage module is unidirectionally electrically connected to a data encryption module.
8. The service platform system using a microservice architecture according to claim 1, characterized in that: The output end of the alarm module is unidirectionally electrically connected to the IP locking module and the restricted login module, and the output ends of the IP locking module and the restricted login module are both unidirectionally electrically connected to the input end of the user end.