CN111123765A - Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof - Google Patents
Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof Download PDFInfo
- Publication number
- CN111123765A CN111123765A CN201911241429.9A CN201911241429A CN111123765A CN 111123765 A CN111123765 A CN 111123765A CN 201911241429 A CN201911241429 A CN 201911241429A CN 111123765 A CN111123765 A CN 111123765A
- Authority
- CN
- China
- Prior art keywords
- micro
- service
- monitoring system
- cable tunnel
- project
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a cable tunnel comprehensive state monitoring system based on micro-services, which adopts a micro-service architecture and a front-end and back-end separation mode, divides the cable tunnel comprehensive state monitoring system into a plurality of micro-services according to the functional requirements of the cable tunnel comprehensive state monitoring system, the micro-services all run in independent processes and have independent components, the micro-services are not coupled and are independently and clustered, and the micro-services are communicated by using an HTTP protocol. According to the invention, the cable tunnel comprehensive state monitoring system is divided into a plurality of micro services according to the functional requirements of the cable tunnel comprehensive state monitoring system, each micro service can be independently and rapidly developed, compiled and deployed based on a micro service architecture, the continuous interaction capability is enhanced, and the high availability of the platform is ensured.
Description
Technical Field
The invention relates to the technical field of power cable tunnel monitoring, in particular to a cable tunnel comprehensive state monitoring system based on micro-service.
Background
The transmission line as a main medium for power transmission and distribution can be divided into an overhead line and a cable line. The overhead line can realize long-distance, high-capacity and low-loss power transmission, but the power transmission overhead line is positioned in a severe environment area, so that the influence of natural disasters on the power transmission line is increased; power cable lays in the underground, because of not taking up the ground space, do not influence the city pleasing to the eye, basically not influenced by factors such as bad weather, the main form that has become modernized city power transmission, but cable run lays in underground space, natural environment is narrow and small relatively, it is inside airtight, air circumstance is complicated, and produce harmful gas easily, lead to the occurence of failure difficult in time discovery control, rescue difficulty etc. put forward higher requirement to cable safe operation and fortune dimension maintenance, the demand of cable tunnel monitoring constantly increases.
The software design of the common cable tunnel comprehensive monitoring system is based on single application, namely a classical 3-layer model: the system comprises a presentation layer for direct interaction with a user, a business logic layer for business logic processing and a data access layer for operating a database, wherein all functions of an application program are placed in one project. The equipment related to the comprehensive monitoring of the cable tunnel state comprises an intelligent well cover, a fan, a gas sensor, a water pump, a water level sensor, a temperature and humidity sensor, a grounding circulation sensor, a video monitoring sensor, an IP collection sensor, a partial discharge sensor and an optical fiber temperature measuring sensor, massive data are generated by the equipment, so that the code amount of single application is larger and larger, codes are changed in a project, code conflict increases the development efficiency and reduces the development efficiency, the maintainability is reduced due to the fact that the code functions are coupled together, the service requirement under the high-concurrency condition cannot be met, and the cost brought by service expansion is larger and larger. With the increase of the complexity of the cable tunnel monitoring service, the services applied by the single body are in one process, and any small modification service can affect other services, so that the testing difficulty is increased.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a circuit tunnel comprehensive state monitoring system based on micro-services and an implementation method thereof, wherein the cable tunnel comprehensive state monitoring system is divided into a plurality of micro-services according to the functional requirements of the system, each micro-service can be independently and rapidly developed, compiled and deployed based on a micro-service framework, the continuous interaction capacity is enhanced, and the high availability of a platform is ensured.
In order to solve the technical problem, the technical scheme adopted by the invention is as follows: a cable tunnel comprehensive state monitoring system based on micro-services is characterized in that a micro-service architecture and a front end and a back end are separated, the cable tunnel comprehensive state monitoring system is divided into a plurality of micro-services according to functional requirements of the cable tunnel comprehensive state monitoring system, the micro-services run in independent processes and have independent components, the micro-services are not coupled and are independently and clustered, and the micro-services are communicated by an HTTP protocol.
Furthermore, the comprehensive state monitoring system of the cable tunnel is divided into 4 micro services of comprehensive display, query statistics, operation management and system management.
Further, the separate components of each microservice include a database and a cache.
The invention also discloses a method for realizing the system for monitoring the comprehensive state of the cable tunnel based on the micro-services, and each micro-service of the system for monitoring the comprehensive state of the cable tunnel is realized by the following steps: s01), creating a micro-service web project, realizing an SG-UAP front-end display frame based on an MVVM (multifunction vehicle model) architecture, and creating a front-end page display micro-service project; s02), creating a micro-service main project, wherein the micro-service main project comprises components for realizing micro-service and public configuration, configuring a gradle environment in a UAP (user-oriented program), creating a micro-service main project, importing the name of the micro-service main project, and taking the other values as default values; s03), creating a micro-service project, wherein the micro-service project comprises service logic implementation, project private components and configuration, and the micro-service related characteristics are realized by inheriting a micro-service main project, the micro-service is an independent process, each micro-service has an independent port number, and the name of each micro-service is unique; s04), configuring a routing gateway, wherein the routing gateway provides a uniform access entrance for front-end application in a micro-service architecture mode, and realizes the calling of target service through a routing strategy; s05), creating a page Model, wherein the page based on the MVVM framework comprises a View layer, a View Model layer and a Model layer, the View Model layer is connected between the View layer and the Model layer and is connected with the View layer and the Model layer through bidirectional data binding, each page is provided with data by the Model and is displayed by the View, and the View Model View Model is responsible for service logic processing; s06), customizing service codes, dividing and customizing the service codes according to the function requirements of the cable tunnel comprehensive state monitoring system; s07), integrating the authority, and distributing corresponding authority according to the role and the requirement of the user; s08), deploying micro service projects; s09), deploying the micro service web project; s10), starting the micro service project; s11), starting the microservice web project; s12), accessing the application.
Furthermore, a public folder and a uaplib folder for placing all files after the items are compiled exist in the micro-service master item build folder by default, the public folder places jar packages shared by all micro-service items, the uaplib folder places the jar packages required by uap, the configuration files comprise build.grade, publish.grade, setting.grade and uaplibuild.grade, the build.grade is a build item file of the micro-service master item, the build.grade carries out construction management on the jar packages in the public folder, the setting.grade file is a micro-service master item and micro-service item dependent management file, and the uaplib.grade file carries out construction management on the jar packages required by uap.
Furthermore, one workspace has only one microservice master project.
Further, a reverse proxy is created when the routing gateway is configured, and logical processing is performed through the reverse proxy and the back end.
Further, a page model is created using the vue.js architecture in the MVVM architecture.
The invention has the beneficial effects that: according to the invention, the cable tunnel comprehensive state monitoring system is divided into a plurality of micro services according to the functional requirements of the cable tunnel comprehensive state monitoring system, each micro service can be independently and rapidly developed, compiled and deployed based on a micro service architecture, the continuous interaction capability is enhanced, and the high availability of the platform is ensured.
The comprehensive state monitoring system for the cable tunnel realizes functions of online monitoring, analysis, early warning, comprehensive evaluation and the like of the cable body and the environmental state in the tunnel, and completes integrated monitoring management of the cable tunnel.
Drawings
FIG. 1 is a block diagram of a cable tunnel integrated condition monitoring system;
FIG. 2 is a flow chart of a method for implementing the cable tunnel comprehensive status monitoring system;
FIG. 3 is a diagram illustrating an interaction process between a View layer and a Model layer.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments.
Example 1
The embodiment discloses a cable tunnel comprehensive state monitoring system based on micro-service, and the system realizes functions of on-line monitoring, analysis, early warning, comprehensive evaluation and the like of a cable body and an environmental state in a tunnel by developing a cable body monitoring system, a tunnel environment monitoring system, a security system and an intelligent robot system, and meets the overall requirements of power transmission and transformation equipment state monitoring construction.
Aiming at the defect that in the prior art, services applied by a single body are in one process, any small modification service can affect other services, and the test difficulty is increased, the system and the method divide the cable tunnel comprehensive state monitoring system into a plurality of micro services according to the functional requirements of the cable tunnel comprehensive state monitoring system, as shown in figure 1, and specifically comprise 4 micro services of comprehensive display, query statistics, operation management and system management.
The comprehensive display module comprises a cable body monitoring system, a tunnel environment monitoring system, a security system and an intelligent robot. The monitoring of the cable body mainly comprises the monitoring of the temperature of the cable, the monitoring of the circulating current of the sheath and the monitoring of partial discharge, and the display, the analysis and the processing of the state monitoring information, the comprehensive evaluation information and other information of the power transmission cable body in the tunnel are realized. The tunnel environment monitoring system comprises display, analysis and processing of information such as gas, temperature and humidity, optical fiber temperature, water level, fans, illumination and the like in each partition tunnel, and linkage of water level monitoring and water pumps, harmful gas detection and fan linkage are achieved. The security system realizes well lid monitoring and video monitoring. The intelligent robot realizes the control and information check of the inspection robot and the fire-extinguishing robot.
The inquiry statistics realizes the functions of information statistics, alarm information statistics, fault information, history management, system operation logs, equipment operation logs and the like.
The operation management module realizes functions of tunnel management, line management, equipment management, resource management, threshold value management, equipment manufacturer information management, tunnel partition management, monitoring point management, configuration diagram management, automatic routing inspection information export and the like.
The resource management module manages users, roles and authorities, and a super manager can operate the resource management module.
In the embodiment, the comprehensive state monitoring of the cable tunnel adopts a micro-service architecture and a front-end and back-end separation mode, so that the high availability, high reliability and gray scale release of a platform are ensured.
The micro-services are divided according to the functional requirements of the cable tunnel comprehensive state monitoring system, each functional requirement is divided into one service, codes are divided according to services, the single service code amount is small, the service boundary is clear, and the readability of the codes is increased.
Each microservice runs in its own independent process, with its own independent components (databases, caches, etc.). The micro-service is a distributed system, no coupling exists between the services, the services can be re-split according to the services as the services increase, and the micro-service has extremely strong lateral expansibility. The micro service units are independently deployed, the deployment and modification of the micro service have no influence on other services, and the testing and deployment time is reduced. The services are communicated by using an HTTP protocol, and the fault tolerance capability is realized. In order to ensure high reliability of the service, the micro service adopts clustering deployment and has a load balancing function. The services are not coupled with each other, and can use different programming languages and different data storage technologies, so that the development efficiency is improved.
Example 2
The embodiment discloses a method for implementing a cable tunnel comprehensive state monitoring system based on micro-services, the monitoring system is divided into a plurality of micro-services according to the functional requirements, as shown in fig. 2, each micro-service is implemented by the following steps:
step 1: creating microservice Web items
Creating a front-end micro-service project: an MVVM Web item, named gydl-Web, is selected to create a gradle project.
The root directory of WebApp is WebContent, the output path of the war package is build, the version of jdk is set to be 1.8, the name of the war package is gydl _ web, and the local dependent tomcat package is loaded.
And performing server configuration (port number 8088), micro-service authorization configuration, encryption tool password configuration, data source configuration, redis data source cache configuration, fuse configuration, service regulation service load balancing configuration and log configuration.
Step 2: creating a microservice master project
The microservice master project contains the components and common configurations that implement microservices.
And configuring a gradle environment in the UAP, creating a micro-service main item, importing the name of the micro-service main item, and taking the other values as default values. The method comprises the steps that a publib folder and a uaplib folder for placing all files after project compiling exist in a default folder, the publib folder places a jar package shared by all micro service projects, the uaplib folder places a jar package needed by uap, configuration files comprise a build.gradle, a setting.gradle and a uaplibuild.gradle, the build.gradle is a build project file of a micro service master project, the build.gradle conducts building management on the jar package in the publib folder, the setting.gradle file is a micro service master project and micro service project dependent management file, and the uaplib.gradle file conducts building management on the jar package needed by uap.
S21), create microservice main project gydl-main
The micro-service of the comprehensive state monitoring system comprehensively considering the cable tunnel is based on spring child and spring boot, so that a common jar packet common-lib folder is added in the micro-service project.
The common-lib added by the cable state comprehensive evaluation system comprises 4 jar packets:
dependency-management-plug-0.6.1. release.jar provides dependency management;
fusing the spring boot and the spring boot by spring-boot-group-plug-1.4.1. Release;
spring-boot-loader-tools-1.4.1.Release. jar realizes the loading function of spring boot;
spring-core-4.3.3. release. jar implements annotated functions.
S22)、config-server
And the Config-server component realizes centralized configuration, registers @ EnableConfigServer and reads the content of svn in the application. Port number 8888, and access path url is set. The Config-server independently creates packages, and can be directly referenced with other projects conveniently. And the config-server reads the configuration information of the local configuration file warehouse, reads the configuration file information after the configuration file is started, and stores the read configuration information in the memory of the configuration service.
And step 3: creating microservice items
The micro-service project comprises a service logic implementation, project private components and configuration, and micro-service related characteristics are realized by inheriting the micro-service main project. The micro-services are independent processes, each micro-service has an independent port number, and the name of each micro-service is unique.
S31), creating a microservice item gydl-common under a microservice master item
Establishing a gydl-common micro service project based on the functional requirements of the cable tunnel comprehensive state monitoring system, wherein the gydl-common micro service project comprises a common component of java files: encryption and decryption tools, drop-down box styles, tool classes, conversion functions, histogram models, export classes, asynchronous calls, annular internal content, linear models, base conversion classes, multi-legend histogram models, annular graph models, pie graph models, requests, request result returns, and tree structures.
S32), creating microservice item gydl-yxgl under microservice master item
The microservice item gydl-yxgl contains:
microservice application launch class gydl.yxgl; custom annotation class gydl.yxgl.annotation;
the control layer gydl.yxgl.controller performs service operation by receiving parameters transmitted from the front-end html 5;
the permission interceptor gydl.yxgl.interrupt filters the request permission;
the logic layer gydl.yxgl.service defines an interface, provides an interface for the class of the controller layer to call, and only declares; specifically, each interface has its own implementation class in the serviceImpl;
carrying out persistence operation on a database by a data layer gydl.yxgl.mapper, wherein the method is mainly mapped with xml one by one in mybatias;
the component gydl.
application properties defines port number 8088, and when debugging, releases configuration.
And 4, step 4: configuring a routing gateway
The routing gateway provides a uniform access entrance for the front-end application in the micro-service architecture mode, and realizes the calling of the target service through the routing strategy.
The request is logically processed with the back end through a reverse proxy zuul, the gateway is responsible for reversely routing the external request to the internal specific micro-service, the gateway shields the complexity of the background service, and the external system sees a unified complete service from the gateway. And the micro application successfully reads the centralized configuration file according to the requirement, then carries out the distribution and processing of the request and the logic, and returns the result to the interface layer through the original route after the processing is successful.
Specifically, a reverse proxy gydl-zuul is created, an annotation @ enablezuuprox is added, and an application.
The gydl-web access path and port number 8080, the gydl-yxgl access path and port number 9011, the gydl-gis access path and port number 9011, and the gydl-qx access path and port number 8088 are configured in the yml file. And adding jwk authority function to intercept the access path to gydl-qx.
And the micro application successfully reads the centralized configuration file according to the requirement, then carries out the distribution and processing of the request and the logic, and returns the result to the interface layer through the original route after the processing is successful.
And 5: creating a page model
As shown in fig. 3, a page based on the MVVM architecture includes a View layer, a View Model layer and a Model layer, each page is provided with data by a Model and is responsible for display by View, the View Model is responsible for service logic processing, the View Model layer is connected between the View layer and the Model layer, and the View layer and the Model layer are connected by bidirectional data binding, so that changes of View data are synchronized into the Model, and changes of Model data are immediately reflected to View. Js is the best practice for MVVM architecture. The embodiment is developed by using a Vue.js design mode, and we do not need to pay attention to a VM layer, which is built-in Vue.js and only need to pay attention to a view layer and a model layer. When the view layer or the data layer is changed, the VM layer can be automatically mapped to the other side.
Based on the functional requirements of the micro-services, the front-end page model is divided into three modules of comprehensive display, operation management and system management. Vue is taken out and placed in a common folder separately under the WebContent file, and the interface of the system is more attractive by adopting the coexistence of a plurality of css and js frames.
The comprehensive display module comprises a cable body detection system, a tunnel environment monitoring system, a security system and an intelligent robot; the cable body monitoring comprises an optical fiber temperature measuring system, a sheath circulating current monitoring system and a partial discharge monitoring system; the tunnel environment monitoring system is divided into a monitoring area 1, a monitoring area 2, a monitoring area 3, a monitoring area 4, a monitoring area 5, a monitoring area 6 and a monitoring area 7; the security system comprises well lid monitoring and video monitoring.
The query statistics comprise information statistics, alarm information statistics, fault information, history management, system operation logs and equipment operation logs;
the operation management module comprises tunnel management, line management, equipment management, resource management, threshold management, equipment manufacturer information management, tunnel partition management, monitoring point management, configuration diagram management, automatic routing inspection information export and the like.
Step 6: business code customization
And dividing and customizing service codes according to the functional requirements of the comprehensive state monitoring system of the cable tunnel.
Specifically, the cable tunnel integrated monitoring system is divided into the following parts according to the functional requirements: cable body monitoring equipment control, cable tunnel monitoring equipment information control, electronic manhole cover inquiry control, fan inquiry control, alarm information acquisition control, fault information inquiry control, monitoring point list data control, manhole cover monitoring control, robot control, historical data control, historical management data control, gas information inquiry control, equipment manufacturer management information control, log inquiry control, water pump inquiry control, tunnel partition management control, humidity monitoring inquiry control, video monitoring equipment control, water level monitoring inquiry control, system public method control, tunnel management control, electronic manhole cover inquiry control, line information management control, system operation log management control, historical data control, threshold management control, comprehensive display control, Water level monitoring query control class, configuration diagram positioning control class, configuration diagram management control class and resource management control class.
And 7: authority integration
All the authorities of the system are owned by default by a super administrator, users can be added, and the super administrator allocates the corresponding authorities to the users according to the roles and the needs of the users, so that the system information is packaged to the maximum extent and the requirements of the users are met practically.
And creating a micro-service item gydl-qx under the micro-service main item. And a permission interceptor is added, wherein a Controller layer mainly comprises a control class of permission, a control class of a role management page, a user login operation class and a user permission control class.
And 8: front-back end interaction
Asynchronous requests of ajax are used.
Taking cable body monitoring equipment management dlbtjcsbgl.html of the operation management module as an example, a front-end request is 'inquired' in dlbtVue.js;
js in dlbtvue the request path is url: "/gydl-yxgl/Dlbtjcscontroller/getDlbtjcscbData" finds the module name gydl-yxgl first, then finds the @ RequestMapping ("/Dlbtjbccscontroller") class under the control layer module, and then goes to the @ RequestMapping (/ "getDlbjcscbData") class;
the front end converts the json format character string into a string character string and transmits the string character string to Dlbjcsbservice.
The method comprises the following steps of defining a fuzzy query condition in DlbjcsbServiceImpl.java; carrying out query operation on data in DlbjcsbMapper. java which mutually runs to a Mapper layer;
in the Mybatas method, the DlbjcsbMapper. java query method is mainly mapped with the contents of DlbjcsbMapper. xml one by one and searched in xml;
returning a json format character string after the search is finished: { "success": tube, "resultValue": { "itemCount": 1, "items": [ { … …, "xlmc": stone-drum west line ", … … } ] …. }, based on MVVM architecture, the back end returns the result of the query directly to the page for display.
And step 9: deploying microservice projects
And (4) under the same-level entry of the build.build of the micro-service item, printing a cmd command, inputting the build.build to enter in a command window, and putting the printed jar packet into the build.libs under the micro-service item. If packaging is SUCCESSFUL, BUILD SUCCESSFUL Total time:xSECS is displayed in the command window.
Before packaging, it is required to ensure that the variable of the gradle environment is matched, the gradle-v can be input in the cmd command, and if corresponding content appears, the matching of the gradle environment is proved.
And (3) under the peer directory of build.build in the config-server, printing a cmd command, inputting a build.build carriage return in a command window, and putting the printed config-server-1.0.jar into the build.libs under the config-server.
And (3) under the peer directory of build.gradle in the gateway gydl-zuul, printing a cmd command, inputting the gradle.build to enter a command window, and putting the printed gydl-zuul-1.0.jar into build.libs under the gydl-zuul.
The method comprises the steps that two micro services with the rights of gydl-qx and gydl-yxgl are contained in a micro service main item gydl-main, a cmd command is printed out under the same level of build.
Step 10: deploying web projects
Tomcat8.0 is downloaded and the gydl-web. war package is exported in uap to be placed under webapps peer directory in the gydl-web folder in tomcat.
Step 11: initiating microservice items
And (5) under the same directory of config-server-1.0.jar, playing a cmd command, and inputting java-jarconfig-server-1.0. jar to enter the vehicle. If the start is successful, the Application in xxseconds is displayed in the cmd window. The same gydl-qx-1.0.jar, gydl-yxgl-1.0.jar and gydl-zuul-1.0.jar execute the same operation to start the micro-service project.
Step 12: launching microservice Web items
In the tomcat file, the front-end micro-server operates the front-end by double-clicking starup. If the start is successful, a start Server startup in xx ms is displayed in the command window.
Step 13: accessing applications
By entering the local address in the browser, the access application can be made.
The foregoing description is only for the basic principle and the preferred embodiments of the present invention, and modifications and substitutions by those skilled in the art are included in the scope of the present invention.
Claims (8)
1. The utility model provides a cable tunnel synthesizes state monitored control system based on little service which characterized in that: the system adopts a micro-service architecture and a front-end and back-end separation mode, divides the cable tunnel comprehensive state monitoring system into a plurality of micro-services according to the functional requirements of the system, the micro-services all run in independent processes and have independent components, the micro-services are not coupled and are independently and clustered, and the micro-services are communicated by using an HTTP protocol.
2. The microservice-based cable tunnel integrated condition monitoring system of claim 1, wherein: the comprehensive state monitoring system of the cable tunnel is divided into 4 micro services of comprehensive display, inquiry statistics, operation management and system management.
3. The microservice-based cable tunnel integrated condition monitoring system of claim 1, wherein: the separate components of each microservice include a database and a cache.
4. An implementation method of the cable tunnel integrated status monitoring system according to claim 1, characterized in that: each micro-service of the cable tunnel comprehensive state monitoring system is realized by the following steps: s01), creating a micro-service web project, realizing an SG-UAP front-end display frame based on an MVVM (multifunction vehicle model) architecture, and creating a front-end page display micro-service project; s02), creating a micro-service main project, wherein the micro-service main project comprises components for realizing micro-service and public configuration, configuring a gradle environment in a UAP (user-oriented program), creating a micro-service main project, importing the name of the micro-service main project, and taking the other values as default values; s03), creating a micro-service project, wherein the micro-service project comprises service logic implementation, project private components and configuration, and the micro-service related characteristics are realized by inheriting a micro-service main project, the micro-service is an independent process, each micro-service has an independent port number, and the name of each micro-service is unique; s04), configuring a routing gateway, wherein the routing gateway provides a uniform access entrance for front-end application in a micro-service architecture mode, and realizes the calling of target service through a routing strategy; s05), creating a page Model, wherein the page based on the MVVM framework comprises a View layer, a View Model layer and a Model layer, the View Model layer is connected between the View layer and the Model layer and is connected with the View layer and the Model layer through bidirectional data binding, each page is provided with data by the Model and is displayed by the View, and the View Model View Model is responsible for service logic processing; s06), customizing service codes, dividing and customizing the service codes according to the function requirements of the cable tunnel comprehensive state monitoring system; s07), integrating the authority, and distributing corresponding authority according to the role and the requirement of the user; s08), deploying micro service projects; s09), deploying the micro service web project; s10), starting the micro service project; s11), starting the microservice web project; s12), accessing the application.
5. The method for implementing the cable tunnel integrated status monitoring system according to claim 4, wherein: the method comprises the steps that a publib folder and a uaplib folder for placing all files after the items are compiled exist in a micro-service main item build folder in a default mode, the publib folder places jar packages shared by all micro-service items, the uaplib folder places uap jar packages required by the foundation, configuration files comprise build.
6. The method for implementing the cable tunnel integrated status monitoring system according to claim 4, wherein: one workspace has only one microservice master project.
7. The method for implementing the cable tunnel integrated status monitoring system according to claim 4, wherein: and creating a reverse proxy when configuring the routing gateway, and performing logic processing with a back end through the reverse proxy.
8. The method for implementing the cable tunnel integrated status monitoring system according to claim 4, wherein: js architecture in MVVM architecture is used to create the page model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911241429.9A CN111123765A (en) | 2019-12-06 | 2019-12-06 | Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911241429.9A CN111123765A (en) | 2019-12-06 | 2019-12-06 | Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111123765A true CN111123765A (en) | 2020-05-08 |
Family
ID=70496296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911241429.9A Pending CN111123765A (en) | 2019-12-06 | 2019-12-06 | Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111123765A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111917762A (en) * | 2020-07-28 | 2020-11-10 | 银盛支付服务股份有限公司 | Authority authentication solution method and system for front-end and back-end separation management systems |
CN112363704A (en) * | 2021-01-12 | 2021-02-12 | 太极计算机股份有限公司 | Service system based on micro-service architecture |
CN112463324A (en) * | 2020-11-25 | 2021-03-09 | 银盛支付服务股份有限公司 | Method for realizing front-end and back-end separation, computer equipment and storage medium |
CN112769863A (en) * | 2021-01-26 | 2021-05-07 | 北京树米网络科技有限公司 | Method and device for processing service request message data |
CN113296935A (en) * | 2020-11-27 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Micro-service operation optimization method, micro-service operation system and server system |
CN113419732A (en) * | 2021-06-30 | 2021-09-21 | 青岛海信智慧生活科技股份有限公司 | Property service management system, deployment method and device, equipment and storage medium |
CN113568764A (en) * | 2021-07-29 | 2021-10-29 | 工银科技有限公司 | User information acquisition method, device, equipment and medium for micro service |
CN114780348A (en) * | 2022-04-28 | 2022-07-22 | 四川虹魔方网络科技有限公司 | Method for asynchronously monitoring client operation log based on distributed deployment environment |
CN115729526A (en) * | 2022-11-29 | 2023-03-03 | 北京京航计算通讯研究所 | Monomer and micro-service integrated software development method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760255A (en) * | 2012-07-19 | 2012-10-31 | 福建省电力有限公司福州电业局 | Underground power network data management and power network planning system and management method |
CN108170720A (en) * | 2017-12-06 | 2018-06-15 | 国网北京市电力公司 | Plan display system |
US20180270125A1 (en) * | 2017-03-17 | 2018-09-20 | Verizon Patent And Licensing Inc. | Deploying and managing containers to provide a highly available distributed file system |
-
2019
- 2019-12-06 CN CN201911241429.9A patent/CN111123765A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760255A (en) * | 2012-07-19 | 2012-10-31 | 福建省电力有限公司福州电业局 | Underground power network data management and power network planning system and management method |
US20180270125A1 (en) * | 2017-03-17 | 2018-09-20 | Verizon Patent And Licensing Inc. | Deploying and managing containers to provide a highly available distributed file system |
CN108170720A (en) * | 2017-12-06 | 2018-06-15 | 国网北京市电力公司 | Plan display system |
Non-Patent Citations (2)
Title |
---|
刘彬: "《力隧道视频监控系统设计与实现》", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
程桂花: "《MVVM 前后端数据交互中安全机制的研究与实现》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111917762A (en) * | 2020-07-28 | 2020-11-10 | 银盛支付服务股份有限公司 | Authority authentication solution method and system for front-end and back-end separation management systems |
CN111917762B (en) * | 2020-07-28 | 2022-11-08 | 银盛支付服务股份有限公司 | Authority authentication solution method and system for front-end and back-end separation management systems |
CN112463324A (en) * | 2020-11-25 | 2021-03-09 | 银盛支付服务股份有限公司 | Method for realizing front-end and back-end separation, computer equipment and storage medium |
CN113296935A (en) * | 2020-11-27 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Micro-service operation optimization method, micro-service operation system and server system |
CN112363704A (en) * | 2021-01-12 | 2021-02-12 | 太极计算机股份有限公司 | Service system based on micro-service architecture |
CN112363704B (en) * | 2021-01-12 | 2021-04-06 | 太极计算机股份有限公司 | Service system based on micro-service architecture |
CN112769863B (en) * | 2021-01-26 | 2021-11-16 | 北京树米网络科技有限公司 | Method and device for processing service request message data, electronic equipment and readable storage medium |
CN112769863A (en) * | 2021-01-26 | 2021-05-07 | 北京树米网络科技有限公司 | Method and device for processing service request message data |
CN113419732A (en) * | 2021-06-30 | 2021-09-21 | 青岛海信智慧生活科技股份有限公司 | Property service management system, deployment method and device, equipment and storage medium |
CN113568764A (en) * | 2021-07-29 | 2021-10-29 | 工银科技有限公司 | User information acquisition method, device, equipment and medium for micro service |
CN114780348A (en) * | 2022-04-28 | 2022-07-22 | 四川虹魔方网络科技有限公司 | Method for asynchronously monitoring client operation log based on distributed deployment environment |
CN114780348B (en) * | 2022-04-28 | 2023-02-07 | 四川虹魔方网络科技有限公司 | Method for asynchronously monitoring client operation log based on distributed deployment environment |
CN115729526A (en) * | 2022-11-29 | 2023-03-03 | 北京京航计算通讯研究所 | Monomer and micro-service integrated software development method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111123765A (en) | Cable tunnel comprehensive state monitoring system based on micro-service and implementation method thereof | |
CN110535831B (en) | Kubernetes and network domain-based cluster security management method and device and storage medium | |
CN105224466B (en) | A kind of integration test method and system based on Docker | |
CN110413288B (en) | Application deployment method, device, server and storage medium | |
CN112035228B (en) | Resource scheduling method and device | |
CN107566541A (en) | Capacitor network resource allocation methods, system, storage medium and electronic equipment | |
US20130304693A1 (en) | Cloud Logistics | |
CN111090823B (en) | Page application integration system, application access method, device and equipment | |
CN111813582B (en) | Ice service deployment arrangement method | |
CN104239786A (en) | ROOT-free active defense configuration method and device | |
CN113709810B (en) | Method, equipment and medium for configuring network service quality | |
CN110865840B (en) | Application management method, device, server and storage medium | |
CN109783197A (en) | Dispatching method and device for program runtime environment | |
CN104239797A (en) | Active defense method and device | |
CN110197064A (en) | Process handling method and device, storage medium and electronic device | |
CN102664952B (en) | Method for managing and monitoring embedded equipment cluster | |
CN115309562A (en) | Operator calling system, operator generating method and electronic equipment | |
CN114254606A (en) | Microservice framework model | |
CN114422350B (en) | Public cloud container instance creation method | |
CN113434146A (en) | Code compiling method, device, storage medium and electronic device | |
CN103838644A (en) | Deployment of software images with run-time reconnection | |
CN111625595A (en) | Block chain management method, system and storage medium based on self-starting crawler technology | |
CN100543673C (en) | A kind of reflexion type architecture self-evolvement method based on body | |
Uwiringiyimana et al. | IoT platforms | |
CN111708646A (en) | Method, device and system for realizing front-end service platform and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200508 |
|
WD01 | Invention patent application deemed withdrawn after publication |