[go: up one dir, main page]

CN117596263A - Micro-service management system and method, storage medium and electronic device - Google Patents

Micro-service management system and method, storage medium and electronic device Download PDF

Info

Publication number
CN117596263A
CN117596263A CN202311476647.7A CN202311476647A CN117596263A CN 117596263 A CN117596263 A CN 117596263A CN 202311476647 A CN202311476647 A CN 202311476647A CN 117596263 A CN117596263 A CN 117596263A
Authority
CN
China
Prior art keywords
service
layer
application
user
management
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.)
Pending
Application number
CN202311476647.7A
Other languages
Chinese (zh)
Inventor
杨月慧
李威远
赵子锋
李映江
胡红波
张婷婷
苏杰
戴强
张小平
罗筱丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Beitou Xinchuang Technology Investment Group Co ltd
Original Assignee
Guangxi Beitou Xinchuang Technology Investment Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxi Beitou Xinchuang Technology Investment Group Co ltd filed Critical Guangxi Beitou Xinchuang Technology Investment Group Co ltd
Priority to CN202311476647.7A priority Critical patent/CN117596263A/en
Publication of CN117596263A publication Critical patent/CN117596263A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a micro-service management system and method, a storage medium and an electronic device, wherein the micro-service management system comprises a front gateway layer, an application service layer and a data storage layer, wherein the front gateway layer, the application service layer and the data storage layer are used for realizing interaction between a system and an application program interface of a user; the application service layer is used for acquiring application use frequency and management requirements of different users in the intelligent park based on pre-acquired user behavior data and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users; the application service layer is connected with the front gateway layer, and when receiving a request from the front gateway layer, the application service layer reads corresponding data resources of the data storage layer through service logic and returns the data resources; the data storage layer is in communication connection with the application service layer and provides a data foundation for the application service layer. The invention realizes flexible response of the micro-service of the intelligent park to different clients and ensures the expandability of the platform.

Description

Micro-service management system and method, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of computers, in particular to a micro-service management system and method, a storage medium and an electronic device.
Background
During the last decade, the construction of a campus IT system has encountered the following common problems and situations. When the business department puts forward some demands, the ICT department will start the system to bid, carry on the project cycle such as demand collection, demand analysis, development, test and debug. This method of building a system accommodates the response of business needs and has been the standard process for building IT systems for campuses or companies for many years. This is where many parks or companies are facing internet transformation difficulties today.
In the industry, the concept of SOA with loosely coupled services is often proposed, with business reuse being achieved by arranging services. It helps to promote quick response and innovation in business and solves the interaction problem between different heterogeneous systems. Initially, this interaction could be an intelligent way for the enterprise IT system to build. However, over the last decade, the informatization of many campuses has not benefited by the use of SOAs, although they have invested a lot of money in the development of SOA-based internet. The reason is that SOAs are typically applied with ESBs (enterprise service buses). Each system implements interactions between business systems in the form of service packages or service calls. In practice, it is simply in the form of a service, and the interconnection of the systems is achieved in a scientific manner from the technical point of view. Moreover, in SOA architecture, the tradeoff between loose coupling and agility requirements remains a challenge, particularly in terms of integration and personalized demand development across systems and even across enterprise boundaries.
Currently, application programming interface API interactions and microservice modes have become a solution to support the informative construction of smart parks and modern companies. This trend has also been incorporated by many technology suppliers. The microservice itself is described as a small application that can develop and select its own architecture, technology, and platform independently, and can be managed and deployed and extended independently using its own release lifecycle and development methods. Since 2014, microservices have received extensive attention from practitioners such as software architects and developers, and subsequent research activities have increased significantly until 2015.
Currently, related platforms are divided into three layers, namely an IAAS layer, a PAAS layer and an SAAS layer according to a cloud architecture. The IAAS layer provides virtual storage management of IT hardware resources and can be flexibly deployed in a leasing or self-building mode; the PAAS layer deployment of the unified data center and platform public service; the SAAS layer application platform business forms a micro-service cluster module. External requests, such as large screens, mobile terminals and desktop terminals, are monitored to access SaaS micro-services through the api. The micro-service accesses the database and data center in the PASS data security area through Spring Yun Taojian call.
However, the platform architecture uses the technology as the view angle to cut and divide the micro services of the platform system, does not divide the micro services aiming at the high-frequency service scenes (entrance guard, restaurant, parking and stadium) in the park, has the condition of excessive service call and data interaction among different micro services, cannot form the service indexes with complete high cohesion and low coupling under the service scenes, and reduces the stability and expansibility in the system.
Disclosure of Invention
The embodiment of the invention provides a micro-service management system and method, a storage medium and an electronic device. At least solving the problems of islanding of various business services in the intelligent park and poor user experience caused by the continuous increase of the number of users and the operation number of the park in the related technology; the goal of flexible response of business service under multiple users is realized, and the expandability of the platform is ensured.
The invention aims at adopting the following technical scheme:
according to one embodiment of the present invention, there is provided a micro-service management system employing a micro-service architecture, comprising: a front gateway layer, an application service layer and a data storage layer;
a front gateway layer for realizing the interaction between the system and the application program interface of the user;
the application service layer is used for acquiring application use frequencies and management requirements of different users in the intelligent park based on the pre-acquired user behavior data and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
the application service layer is connected with the front gateway layer and is used for reading corresponding data resources of the data storage layer through service logic and returning when receiving a request from the front gateway layer;
and the data storage layer is in communication connection with the application service layer and provides a data foundation for the application service layer.
In an exemplary embodiment, the application service layer includes: the basic service layer is connected with the middle support system and is used for providing authentication service and caching service for the system;
the center table support system includes: the system comprises a user center, an order center, a data center, an interface center, a device center, a service center, an information center and a service center;
the authentication service is used for user registration and login verification of the system or authentication and authorization by a third party platform;
the caching service is used for caching the data of the data storage layer.
In an exemplary embodiment, the pre-gateway layer includes: an access layer and an interface layer;
the access layer is used for receiving a request initiated by a user through a hypertext transfer protocol; the request comprises a system login request and a resource access request;
and the interface layer is used for forwarding the corresponding interpretation of the request to the application service layer.
In an exemplary embodiment, the interface layer includes: the application program interface gateway is used for forwarding a login request of a user to the basic service layer for authorization authentication and feeding back a token returned based on an authorization authentication result to the client;
when the user carries the token to initiate access to the data resource, the token is forwarded to the basic service layer for authentication, and the accessible data resource is fed back according to the authentication result.
In an exemplary embodiment, each micro-service of the application service layer is deployed in a container manner;
the micro-service deployed in a container mode is provided with a plurality of container examples; wherein the container is an application container engine.
In an exemplary embodiment, the micro-service management system further includes a task scheduling center, a distributed file module, and a distributed search analysis engine;
the task scheduling center is used for scheduling the plurality of container instances according to the user request; the container examples include task management, executor management, log management, and other report and task dependent processing;
the distributed file module is used for executing file storage, file synchronization and file access according to the user request;
the distributed search analysis engine is used for full-text search, structured search and analysis.
In an exemplary embodiment, the application service layer further includes: park management module, merchant management module and application management module;
the park management module is used for managing the authority and login information of the system platform user and managing various service functions provided by the application service layer;
the merchant management module is used for managing staff information of merchants in the intelligent park and providing business services related to requirements for the staff for management;
and the application program management module is used for displaying the business service functions associated with different user demands in the intelligent park.
According to an embodiment of the present invention, there is provided a micro service management method including:
acquiring application use frequencies and management requirements of different users in an intelligent park based on pre-acquired user behavior data, and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
and when receiving a request from the system for interaction with the application program interface of the user, reading corresponding data resources of the data storage layer through service logic and returning.
According to yet another embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program when executed by a processor implements the steps of the above-described method.
According to yet another embodiment of the present invention, there is also provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
The micro-service management system and method, the storage medium and the electronic device provided by the scheme of the invention can combine the performances, advantages and disadvantages of micro-service, application program interface API, service oriented architecture SOA and the like, and can effectively solve the problems of data island, business island, user experience of business services such as intelligent entrance guard, intelligent parking, intelligent restaurant, intelligent stadium and the like in an intelligent park; along with the continuous increase of the number of park users and the number of operation, the goal of flexible response is realized, and the expandability of the platform is ensured.
Based on the existing informatization supporting system and capability of the park, the invention constructs brand new service application and realizes unified equipment management, data collection and analysis, and service integrated management, control and operation; and defining standardized service interfaces, and supporting the access of the multi-vertical service system.
According to the scheme, a unified business support platform is firstly constructed to bear business service access for four high-frequency use of intelligent entrance guard, intelligent parking, intelligent restaurant and intelligent venue, so that application and management requirements of different types of users in a park are met. And secondly, a micro service architecture is adopted, and each service is independently developed and deployed, so that the service has high availability and expansibility. Each business service has a complete interface, and can be output to different front-end applications or opened to a third party according to requirements. In addition, according to different types of users at the C end, the B end and the management end, corresponding park use and management requirements of different dimensions of the application are provided.
Through the intelligent park management system built by the micro-service framework, the problem of data island can be effectively solved, and the maturity, fault tolerance, robustness and normal operation of business of the intelligent park management platform are ensured. The system is convenient for staff to come in and go out of a park, an office, hold a meeting, park and take a meal, reduces off-line operation and business handling time, and avoids personnel concentration.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a micro service management method according to an embodiment of the present invention;
FIG. 2 is a schematic overall plan view of a micro service management system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of micro-service management according to an embodiment of the present invention;
FIG. 4 is a functional distribution diagram of a management end oriented according to an embodiment of the present invention;
FIG. 5 is a functional diagram of a B-side-oriented merchant system according to an embodiment of the invention;
FIG. 6 is a functional diagram of a C-terminal oriented applet in an embodiment of the invention;
FIG. 7 is a flowchart of a method for managing business service scenarios applied to intelligent restaurants according to an embodiment of the present invention;
fig. 8 is a flowchart of a method for managing business service scenarios applied to intelligent entrance guard according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal of a micro service management method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one is shown in fig. 1) processors 101 (the processor 101 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like, processing means) and a memory 102 for storing data, wherein the mobile terminal may further include a transmission device 103 for communication functions and an input-output device 104. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 102 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for determining abnormality notification information of a node in an embodiment of the present invention, and the processor 101 executes the computer program stored in the memory 102 to perform various functional applications and data processing, that is, to implement the above-described method. Memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 102 may further include memory located remotely from the processor 101, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 103 are for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 103 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station so as to communicate with the internet. In one example, the transmission device 103 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a micro service management system is provided, and the micro service management system is used to implement the foregoing embodiments and preferred implementations, which have already been described and will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The micro service management system provided in this embodiment adopts a micro service architecture, as shown in fig. 2, and the system can be divided into from top to bottom according to functions in architecture: a front gateway layer, an application service layer and a data storage layer;
a front gateway layer for realizing the interaction between the system and the application program interface of the user;
the application service layer is used for acquiring application use frequencies and management requirements of different users in the intelligent park based on the pre-acquired user behavior data and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
the application service layer is connected with the front gateway layer and is used for reading corresponding data resources of the data storage layer through service logic and returning when receiving a request from the front gateway layer;
and the data storage layer is in communication connection with the application service layer and provides a data foundation for the application service layer.
The micro-service management system provided in this embodiment adopts a micro-service architecture style, each sub-module of the system is modularized, all the sub-modules independently operate, a lightweight communication mechanism is adopted between the modules to perform data request and response, the front end is independent of the realization of the back end service through front-end and back-end separation design, the front end functional plate can be expanded according to the service requirement, and the system has robustness, flexibility and high availability due to high cohesion and low coupling.
The deployment and operation of the system mainly adopt container automation cluster management, each module of the system adopts container deployment, and the container is subjected to cluster management and automation deployment operation based on a Docker, so that powerful technical guarantee is provided for efficient and stable deployment, upgrading and operation of the system.
In one exemplary embodiment, the micro-service management system further comprises a task scheduling center, a distributed file module, and a distributed search analysis engine;
the task scheduling center is used for scheduling the plurality of container instances according to the user request; the container examples include task management, executor management, log management, and other report and task dependent processing;
the distributed file module is used for executing file storage, file synchronization and file access according to the user request;
the distributed search analysis engine is used for full-text search, structured search and analysis.
In one exemplary embodiment, the pre-gateway layer includes: an access layer and an interface layer;
the access layer is used for receiving a request initiated by a user through a hypertext transfer protocol; the request comprises a system login request and a resource access request;
and the interface layer is used for forwarding the corresponding interpretation of the request to the application service layer.
The interface layer comprises: the application program interface gateway is used for forwarding a login request of a user to the basic service layer for authorization authentication and feeding back a token returned based on an authorization authentication result to the client;
when a user carries a token to initiate access to the data resource, forwarding the token to a basic service layer for authentication, and feeding back the accessible data resource according to an authentication result.
In one exemplary embodiment, the application service layer includes: the basic service layer is connected with the middle support system and is used for providing authentication service and caching service for the system;
the center table support system includes: the system comprises a user center, an order center, a data center, an interface center, a device center, a service center, an information center and a service center;
the authentication service is used for user registration and login verification of the system or authentication and authorization by a third party platform;
the caching service is used for caching the data of the data storage layer.
In one exemplary embodiment, the application service layer further includes: park management module, merchant management module and application management module; wherein, the three modules respectively correspond to different front ends. The campus management module is directed to the management end, and the function distribution diagram of the management end is shown in fig. 4. The merchant management module is oriented to the B-end merchant system, and the function distribution diagram of the B-end merchant system is shown in fig. 5. The application management module is oriented to the C-terminal applet, whose function profile is shown in fig. 6. Thereby meeting the park use and management requirements of different dimensions.
The park management module is used for managing the authority and login information of the system platform user and managing various service functions provided by the application service layer; specifically, the intelligent parking system comprises park user management, property service management, intelligent access control, intelligent parking management, intelligent restaurant management, intelligent venue management and park equipment management.
The merchant management module is used for managing staff information of merchants in the intelligent park and providing business services related to requirements for the staff for management; specifically including inside staff management, wisdom property function, wisdom entrance guard's function, wisdom parking function, wisdom dining room function, wisdom stadium management, wisdom equipment management and company account management.
And the application program management module is used for displaying the business service functions associated with different user demands in the intelligent park. Specifically includes basic function, intelligent entrance guard function, intelligent parking function, intelligent restaurant function, intelligent venue function, personal management function.
Preferably, each micro service of the application service layer is deployed in a container mode;
the micro-service deployed in a container mode is provided with a plurality of container examples; wherein the container is a Docker application container engine.
The core technology of the micro service management system built by adopting the micro service architecture comprises the following steps:
1. backend core technology
(1) Back-end technology framework
SpringCloud+ SpringCloud Alibaba + service modularization. Spring Cloud is an ordered set of a series of frameworks that simplifies the development of distributed systems, such as service governance, service gateways, intelligent routing, load balancing, circuit breakers, monitoring tracking, distributed message queues, configuration management, etc., using the development convenience of Spring Boot.
Spring Cloud Alibaba is a one-stop solution for micro-service development provided by the Aliba, and is a fusion of an Aliba open source middleware and a Spring Cloud system. And further to the and function replacement of the SpringCloud system.
Service modularization refers to a process of decomposing a service into service modules to which specific expertise is applied in a specific service link by decomposing and reconstructing the expertise and the service link to reduce and normalize the dependency relationship between the expertise and the service link.
(2) Back end middleware selection
The middleware adopts Redis, rabbitMq clusters, xxl _job, fastdfs, elfk and the like.
Redis is a key-value store system. Like Memcached, it supports relatively more stored value types, including string, list, set, zset (sorted set-ordered set), and hash (hash type).
The AMQP, advanced Message Queuing Protocol, advanced message queuing protocol, is an open standard for application layer protocols, designed for message oriented middleware. Message middleware is primarily used for decoupling between components, and the sender of a message does not need to be aware of the presence of the message user, and vice versa. The main features of AMQP are message oriented, queue, routing (including point-to-point and publish/subscribe), reliability, security.
The xxl _job dispatch center is a task dispatch center system which needs to be deployed and is independent of a service system. And is divided into task management, executor management, log management, and other report and task dependent processing.
FastDFS is an open source lightweight distributed file system that manages files, and functions include: file storage, file synchronization, file access (file upload, file download), etc., solving the problems of mass storage and load balancing. The method is particularly suitable for online services taking files as carriers, such as album websites, video websites and the like.
elk is a complete set of log collection and presentation solutions comprising: a real-time distributed search and analysis engine that can be used for full text searching, structured searching and analysis. The method is a search engine based on a full-text search engine Apache Lucene, and is written in Java language; a data collection engine with real-time transmission capability for collecting data (such as reading text file), analyzing, and transmitting data to distributed search and analysis engine; visual Web platform.
2. Front end core technology
Front-end development is constructed by adopting a Vue framework, and front-end resource loading/packaging is carried out by adopting Webpack.
The Vue is a set of technical frames for realizing a series of work such as front-end SPA (single page web application) project development, data binding, routing configuration, project compiling and packaging and the like in order to realize the development concept of front-end and rear-end separation. Unlike other large frameworks, vue is designed to be applied layer by layer from bottom up. The core library of Vue only focuses on the view layer, not only is easy to handle, but also is convenient to integrate with third party libraries or existing projects. On the other hand, vue is also fully capable of providing drivers for complex single page applications when used in conjunction with modern toolchains and various supporting class libraries.
Webpack is a front-end resource loading/packaging tool. The method carries out static analysis according to the dependency relationship of the modules, and then generates corresponding static resources by the modules according to the specified rules. The programs of Vue and the like which are developed according to the service logic in a modularized mode can be packaged into js files and corresponding resource files which can be identified by a browser.
3. Containerized deployment
Dock is an open-source application container engine that allows developers to package their applications and rely on packages into a portable container and then release them to any popular Linux machine, and also allows virtualization. The containers are completely using a sandbox mechanism without any interface to each other (an app like an iPhone). Almost no performance overhead, can be easily run in machines and data centers. Most importantly, they do not rely on any language, framework, or inclusion system.
4. Micro-service architecture
The micro-service architecture is a way to develop a stand-alone application system in a way that a set of mini-services is developed. Where each mini-service runs in its own process and often communicates with each other using a lightweight mechanism such as the HTTP resource API. These services are built around business functions and can be deployed independently through fully automated deployment mechanisms. These micro-services may be written in different languages and may use different data storage technologies. We have only a minimal centralized management of these micro services.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
In this embodiment, a micro service management method is also provided, and fig. 3 is a flowchart of a micro service management method according to an embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
step S201, based on pre-collected user behavior data, acquiring application use frequency and management requirements of different users in an intelligent park, and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
step S202, when receiving a request from the system to interact with the API of the user, the business logic reads the corresponding data resource of the data storage layer and returns the data resource.
Example 1: in an exemplary embodiment 1, a micro-service management method as set forth in the above embodiment is applied to a business service scenario of a smart restaurant.
(1) Overall design concept
The architecture is divided into four layers, namely an access layer, an interface layer, a service layer and a storage layer, and each layer completes respective responsibilities, so that the aim of high cohesion and low coupling is fulfilled. The user initiates a request to the interface layer through the access layer by using an http protocol, the interface layer transmits the request interpretation to the service layer, the service layer reads corresponding data resources of the storage layer through service logic and returns the data resources to the access layer, and the interaction between the system and people is completed.
The process flow is as shown in fig. 7:
1) The user logs in through the access layer, and the API gateway forwards the authorization of the user center and returns the token.
2) The user accesses the restaurant service resource by carrying the token at the access layer, the restaurant service sends the token to the user center for authentication, the authentication passes the accessible restaurant resource, and if a third party service resource is needed, the authentication is called through an http request.
Example 2: in an exemplary embodiment 2, a micro-service management method as set forth in the above embodiment is applied to a business service scenario of an intelligent entrance guard. The overall design concept is the same as that of embodiment 1, and the process flow is shown in fig. 8, and includes:
1) The user logs in through the access layer, and the API gateway forwards the authorization of the user center and returns the token.
2) The user carries token to access the access service resource at the access layer, the access service sends the token to the user center for authentication, the authentication passes the access service resource, and if a third party service resource is needed, the authentication is called through an http request.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A micro-service management system, the system employing a micro-service architecture, comprising: a front gateway layer, an application service layer and a data storage layer;
a front gateway layer for realizing the interaction between the system and the application program interface of the user;
the application service layer is used for acquiring application use frequencies and management requirements of different users in the intelligent park based on the pre-acquired user behavior data and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
the application service layer is connected with the front gateway layer and is used for reading corresponding data resources of the data storage layer through service logic and returning when receiving a request from the front gateway layer;
and the data storage layer is in communication connection with the application service layer and provides a data foundation for the application service layer.
2. The method of claim 1, wherein the application service layer comprises: the basic service layer is connected with the middle support system and is used for providing authentication service and caching service for the system;
the center table support system includes: the system comprises a user center, an order center, a data center, an interface center, a device center, a service center, an information center and a service center;
the authentication service is used for user registration and login verification of the system or authentication and authorization by a third party platform;
the caching service is used for caching the data of the data storage layer.
3. The method of claim 1, wherein the pre-gateway layer comprises: an access layer and an interface layer;
the access layer is used for receiving a request initiated by a user through a hypertext transfer protocol; the request comprises a system login request and a resource access request;
and the interface layer is used for forwarding the corresponding interpretation of the request to the application service layer.
4. The system of claim 3, wherein the interface layer comprises: the application program interface gateway is used for forwarding a login request of a user to the basic service layer for authorization authentication and feeding back a token returned based on an authorization authentication result to the client;
when the user carries the token to initiate access to the data resource, the token is forwarded to the basic service layer for authentication, and the accessible data resource is fed back according to the authentication result.
5. The system of claim 1, wherein each micro-service of the application service layer is deployed in a container;
the micro-service deployed in a container mode is provided with a plurality of container examples; wherein the container is an application container engine.
6. The system of claim 5, wherein the micro-service management system further comprises a task scheduling center, a distributed file module, and a distributed search analysis engine;
the task scheduling center is used for scheduling the plurality of container instances according to the user request; the container examples include task management, executor management, log management, and other report and task dependent processing;
the distributed file module is used for executing file storage, file synchronization and file access according to the user request;
the distributed search analysis engine is used for full-text search, structured search and analysis.
7. The system of claim 2, wherein the application service layer further comprises: park management module, merchant management module and application management module;
the park management module is used for managing the authority and login information of the system platform user and managing various service functions provided by the application service layer;
the merchant management module is used for managing staff information of merchants in the intelligent park and providing business services related to requirements for the staff for management;
and the application program management module is used for displaying the business service functions associated with different user demands in the intelligent park.
8. A method of microservice management comprising:
acquiring application use frequencies and management requirements of different users in an intelligent park based on pre-acquired user behavior data, and determining a user-oriented service scene; dividing service services according to the use frequency of service scenes, constructing a unified service support platform, and providing service services related to the requirements of different types of users;
and when receiving a request from the system for interaction with the application program interface of the user, reading corresponding data resources of the data storage layer through service logic and returning.
9. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method of claim 8.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of claim 8 when the computer program is executed by the processor.
CN202311476647.7A 2023-11-07 2023-11-07 Micro-service management system and method, storage medium and electronic device Pending CN117596263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311476647.7A CN117596263A (en) 2023-11-07 2023-11-07 Micro-service management system and method, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311476647.7A CN117596263A (en) 2023-11-07 2023-11-07 Micro-service management system and method, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117596263A true CN117596263A (en) 2024-02-23

Family

ID=89917355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311476647.7A Pending CN117596263A (en) 2023-11-07 2023-11-07 Micro-service management system and method, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117596263A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120110946A (en) * 2025-05-08 2025-06-06 中国石油集团东方地球物理勘探有限责任公司 A geophysical data quality control system, construction method, equipment and medium based on microservice architecture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120110946A (en) * 2025-05-08 2025-06-06 中国石油集团东方地球物理勘探有限责任公司 A geophysical data quality control system, construction method, equipment and medium based on microservice architecture

Similar Documents

Publication Publication Date Title
US10565034B2 (en) Event-driven serverless function orchestration
Malviya et al. A comparative analysis of container orchestration tools in cloud computing
US10942790B2 (en) Automated-application-release-management subsystem that incorporates script tasks within application-release-management pipelines
Petcu et al. Experiences in building a mOSAIC of clouds
US9336060B2 (en) Middleware services framework for on-premises and cloud deployment
US10833955B2 (en) Dynamic delivery of software functions
US11265202B2 (en) Integrated automated application deployment
US10157044B2 (en) Automated application-release-management subsystem
US20170289307A1 (en) System Interaction Monitoring And Component Scaling
US10972586B2 (en) Reusable message flow between applications of a message broker integrated systems environment
US11194572B2 (en) Managing external feeds in an event-based computing system
US11301226B2 (en) Enterprise deployment framework with artificial intelligence/machine learning
US20170161057A1 (en) Plug-in-based artifact-management subsystem
US10305752B2 (en) Automatically orchestrating the compliance of cloud services to selected standards and policies
US10282208B2 (en) Cognitive thread management in a multi-threading application server environment
US10452426B2 (en) Methods and systems for configuration-file inheritance
US20170163732A1 (en) Inter-task communication within application-release-management pipelines
US20170163518A1 (en) Model-based artifact management
Grandinetti et al. Pervasive cloud computing technologies: future outlooks and interdisciplinary perspectives: future outlooks and interdisciplinary perspectives
CN117596263A (en) Micro-service management system and method, storage medium and electronic device
US20170161333A1 (en) Searching data on a synchronization data stream
CN111190731A (en) Cluster task scheduling system based on weight
US9742852B2 (en) Switchable business feature with prices and sales integration
US11210129B2 (en) Extended architecture as a service to integrate resource and transaction managers
CN109799981A (en) A kind of integrated system and method based on execution chain

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