Information processing method based on microservice

By introducing registration components and processing components into the information processing method of microservices, combining information database and encryption technology, the information loss and theft in real-time data processing is solved, and the secure storage and protection of data is achieved.

WO2024254957A1PCT designated stage expired Publication Date: 2024-12-19HEBEI SUCH TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/110814
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-14
Filing Date
2023-08-02
Publication Date
2024-12-19

AI Technical Summary

Technical Problem

When performing real-time data processing based on microservices, system error processing can easily lead to information loss and there is a risk of information theft.

Method used

A microservice-based information processing method is adopted, including microservice subject, registration component and processing component. The registration component is registered and addressed through the microservice registration center. The processing component includes information resource module and storage module, and the storage module usage information is stored. Data management and protection are carried out by libraries and encryption technologies.

Benefits of technology

Through information encryption and storage technology, data security and integrity are ensured, information loss and theft are prevented, and confidential data communication and protection are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023110814_19122024_PF_FP_ABST
    Figure CN2023110814_19122024_PF_FP_ABST
Patent Text Reader

Abstract

An information processing method based on a microservice, comprising a microservice body and an architecture provided in the microservice body. The architecture comprises a registration component and a processing component; the registration component comprises a microservice registration center; the microservice registration center comprises a registration body, service registration, service inspection, service information, acceptance information, and a change module; the registration body is provided; a service registration table of the provided registration body is the core of the registration center, and is used for recording information of microservice instances; the service registration refers to a process of registering information of a microservice to the registration center when the microservice is started; service discovery refers to a mechanism of querying an available microservice list and network address; then service inspection is performed, such that the registration center periodically inspects registered services by using a certain mechanism, and if a certain instance is found to be inaccessible for a long time, the instance will be removed from the service registration table; finally, the acceptance information is used for acknowledgement of information so as to ensure registration of user information; and the change module is used for changing information.
Need to check novelty before this filing date? Find Prior Art

Description

An information processing method based on microservices Technical Field

[0001] The present invention relates to the field of microservices, and in particular to an information processing method based on microservices. Background Art

[0002] Microservices can create different service components based on business needs. Different service components are managed independently. The database structure and data of their service components only meet the computing needs of this component. They are logically isolated from each other. Their service components are addressed through the registration center and directly called to implement inter-component services.

[0003] However, when performing real-time data processing based on microservices, the system's error handling can easily lead to information loss, inability to store, and theft by others.

[0004] Therefore, existing technologies do not meet some of the needs, and it is necessary to develop new functional microservice-based information processing methods.

[0005] Summary of the Invention

[0006] The purpose of this section is to summarize some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the abstract and title of this application to avoid obscuring the purpose of this section, the abstract and the title of the invention, and such simplifications or omissions should not be used to limit the scope of the present invention.

[0007] Therefore, the technical problem to be solved by the present invention is that when performing real-time data processing based on microservices, information loss is easily caused due to system error processing, and storage is impossible, and the information is easily stolen by others.

[0008] To solve the above technical problems, the present invention provides the following technical solutions: a microservice-based information processing method, comprising a microservice subject and a system structure arranged within the microservice subject, wherein the system structure comprises a registration component and a processing component;

[0009] The registration component includes a microservice registration center, which includes a registration subject, service registration, service check, service information, information acceptance and change modules;

[0010] The processing component includes a processing module, which includes a microservice entrance, an information resource module, information screening and micro-information aggregation.

[0011] As a preferred solution of the microservice-based information processing method of the present invention, the microservice body includes a storage module, and the storage module includes an information library, storage technology and information encryption.

[0012] As a preferred solution of the microservice-based information processing method described in the present invention, the service registration center is used to register all microservice components and address different microservice components during cross-service component data processing; at least one master service component is used to store different cross-component operation processes and trigger cross-component data processing processes.

[0013] As a preferred solution of the present invention, the processing module is used to log in to the entrance of service information.

[0014] As a preferred solution described in the present invention, the information resource module is used to perform information screening and micro-information aggregation.

[0015] As a preferred solution of the present invention, the storage module centrally manages the internal information of the information base.

[0016] As a preferred solution described in the present invention, the storage technology and information encryption are used to store and manage microservice information and then perform encryption processing.

[0017] The present invention has the following beneficial effects:

[0018] This invention uses information encryption, storage technology, and information encryption to manage the storage of microservice information and then encrypt it. Storage technology uses electronic signals to store and retrieve data. Confidential communications, computer keys, and copy-protected floppy disks all fall under information encryption technology. Encryption during communication primarily uses passwords. In digital communications, computers can use encryption methods to change the digital structure of payload information. Computer information protection primarily relies on software encryption, providing a certain degree of protection to prevent theft. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort. Among them:

[0020] FIG1 is a schematic diagram of the overall structure of the first to seventh embodiments.

[0021] Figure 2 is a schematic diagram of the structure of the microservice registration center.

[0022] Figure 3 is a schematic diagram of the structure of the microservice processing module.

[0023] FIG4 is a schematic diagram of the structure of the microservice storage module.

[0024] In the figure: 1. Microservice entity; 2. Microservice registration center; 201. Registration entity; 202. Service registration; 203. Service inspection; 204. Service information; 205. Receiving information; 206. Change module; 3. Processing module; 301. Microservice entrance; 302. Information resource module; 303. Information screening; 304. Microinformation aggregation; 4. Storage module; 401. Information library; 402. Storage technology; 403. Information encryption. DETAILED DESCRIPTION

[0025] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0026] Example 1

[0027] The first embodiment of the present invention provides a microservice-based information processing method, a microservice subject 1 and a system structure provided inside the microservice subject 1, wherein the system structure includes a registration component and a processing component;

[0028] The registration component includes a microservice registration center 2, which includes a registration subject 201, a service registration 202, a service check 203, service information 204, an acceptance information 205, and a change module 206;

[0029] The processing component includes a processing module 3, which includes a microservice entry 301, an information resource module 302, information screening 303 and micro-information aggregation 304.

[0030] As a preferred solution of the microservice-based information processing method of the present invention, the microservice body 1 includes a storage module 4 inside, and the storage module 4 includes an information library 401, storage technology 402 and information encryption 403.

[0031] Example 2

[0032] 1 and 4 , the microservice body 1 includes a storage module 4 , which includes an information library 401 , storage technology 402 , and information encryption 403 .

[0033] Example 3

[0034] Please refer to Figure 1-2. The service registration center 2 is used to register all microservice components and address different microservice components when processing data across service components. At least one master service component is used to store the processes of different cross-component operations and trigger the cross-component data processing process. Then the microservice registration center 2 includes a registration subject 201, service registration 202, service check 203, service information 204, receiving information 205 and a change module 206. The set registration subject 201 service registry is the core of the registration center. It is used to record the information of each microservice instance. Then the service check 203 is used for the registration center to use a certain mechanism to regularly detect registered services. If an instance is found to be inaccessible for a long time, the instance will be removed from the service registry. Finally, the information is determined by receiving information 205 to ensure the registration of user information, and the change module 206 is used to change the information.

[0035] Example 4

[0036] Please refer to Figures 1-3. Processing module 3 is used to log in to the entrance of service information 204, to provide a unified entrance for application access and a unified entrance for service calls, to realize routing and load balancing of application access and service calls, and to support elastic scaling of related resources and automatic adjustment of load balancing strategies according to the load of each application and microservice. It provides access or access paths for different channels, media, and devices, is responsible for direct interaction between the system and users, accepts user information and requests, and provides unified management functions such as identity authentication, access routing, and load balancing.

[0037] Example 5

[0038] Please refer to Figures 1-3. The information resource module 302 is used to perform information screening 303 and micro-information aggregation 304. To perform information screening 303, multiple containers that provide micro-service business receive stream data information respectively, and filter out the data information to be processed from the received stream data information according to the micro-service business type of each container. The above-mentioned data information to be processed is processed according to the preset business logic, and the processing result data is stored in the designated storage location of each container. Then, the processing result data is obtained from the designated storage location of each container for aggregation, and the processing result set of the stream data information is output.

[0039] Example 6

[0040] Please refer to Figures 1-4. The storage module 4 centrally manages the internal information of the information library 401. Under the microservice architecture, many basic framework components rely on persistent storage of data to ensure the stability and controllability of service capabilities and avoid data loss in abnormal situations. Finally, when the business volume is large, it is difficult to execute the overall conditional retrieval mechanism of the data, such as common core business data, system-generated logs, or action tracking data.

[0041] Example 7

[0042] Referring to Figures 1-4 , storage technology 402 and information encryption 403 are used to manage the storage of microservice information 204 and then encrypt it. Storage technology 402 uses electronic signals to store and retrieve data. In computer systems, memory is divided into two types: primary memory and secondary memory. Information encryption 403 uses mathematical or physical methods to protect electronic information during transmission and within storage to prevent leakage.

[0043] Working principle: Step 1. The service registration center 2 is used to register all microservice components and address different microservice components when processing data across service components; at least one master service component is used to store the processes of different cross-component operations and trigger the cross-component data processing process. Then the microservice registration center 2 includes a registration subject 201, a service registration 202, a service check 203, a service information 204, an acceptance information 205 and a change module 206. The set registration subject 201 service registry is the core of the registration center. It is used to record the information of each microservice instance. Then the service check 203 is used for the registration center to use a certain mechanism to regularly detect registered services. If an instance is found to be inaccessible for a long time, the instance will be removed from the service registry. Finally, the acceptance information 205 is used to determine the information to ensure the registration of user information, and the change module 206 is used to change the information;

[0044] Step 2. The processing module 3 is used to log in to the entrance of the service information 204, and is used to provide a unified entrance for application access and a unified entrance for service calls, to realize the routing and load balancing of application access and service calls, and to support elastic scaling of related resources and automatic adjustment of load balancing strategies according to the load of each application and microservice. Then the information resource module 302 is used to perform information screening 303 and micro-information aggregation 304. The information screening 303 function is performed by respectively receiving stream data information through multiple containers that provide microservice business, and filtering out the data information to be processed from the received stream data information according to the microservice business type of each container, processing the above-mentioned data information to be processed according to the preset business logic, and storing the processing result data in the designated storage location of each container, and then obtaining the processing result data from the designated storage location of each container for aggregation, and outputting the processing result set of the stream data information;

[0045] Step 3. The storage module 4 centrally manages the internal information of the information library 401. Under the microservice architecture, many basic framework components rely on persistent storage of data to ensure the stability and controllability of service capabilities and avoid data loss in abnormal situations. Then it is necessary to have the ability to record and identify the requested actions and store a lot of interception and filtering rule information to maintain the security and stability of the underlying business services. Then the storage technology 402 and information encryption 403 are used to store and manage the microservice information 204 and then encrypt it. The storage technology 402 stores and reads data through electronic signals, and the information encryption 403 uses mathematical or physical means to protect electronic information during transmission and in the storage body to prevent leakage technology. Brief introduction to confidential communication.

Claims

1. A microservice-based information processing method, characterized in that: It includes a microservice body and a system structure arranged inside the microservice body, wherein the system structure includes a registration component and a processing component; The registration component includes a microservice registration center, which includes a registration subject, service registration, service inspection, service information, acceptance information and change module; The processing component includes a processing module, and the processing module includes a microservice entrance, an information resource module, information screening and micro-information aggregation.

2. The microservice-based information processing method according to claim 1, wherein: The microservice body includes a storage module inside, and the storage module includes an information library, storage technology and information encryption.

3. The microservice-based information processing method according to claim 1, wherein: The service registration center is used to register all microservice components and address different microservice components when processing data across service components; At least one master control service component is used to store different cross-component computing processes and trigger cross-component data processing processes.

4. The microservice-based information processing method according to claim 1, wherein: The processing module is used for logging into the entry of service information.

5. The microservice-based information processing method according to claim 1, wherein: The information resource module is used for information screening and micro-information aggregation.

6. The microservice-based information processing method according to claim 1, characterized in that: The storage module centrally manages the information within the information base.

7. The microservice-based information processing method according to claim 1, characterized in that: The storage technology and information encryption are used to manage the storage of microservice information and then perform encryption processing.

Citation Information

Patent Citations

  • Multi-type micro-service registration center management system and method

    CN112311869A

  • Cross-cloud service calling method, device and system

    CN113746928A

  • Micro-service registration and detection method and device based on theme queue

    CN115509766A

  • Micro-service abnormity determination method and device, equipment and storage medium

    CN115878428A