CN109885449A - Full link trace method - Google Patents

Full link trace method Download PDF

Info

Publication number
CN109885449A
CN109885449A CN201811638697.XA CN201811638697A CN109885449A CN 109885449 A CN109885449 A CN 109885449A CN 201811638697 A CN201811638697 A CN 201811638697A CN 109885449 A CN109885449 A CN 109885449A
Authority
CN
China
Prior art keywords
data
cloud platform
education cloud
link
service
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
CN201811638697.XA
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.)
BEIJING OPEN DISTANCE EDUCATION CENTER Co Ltd
Original Assignee
BEIJING OPEN DISTANCE EDUCATION CENTER 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 BEIJING OPEN DISTANCE EDUCATION CENTER Co Ltd filed Critical BEIJING OPEN DISTANCE EDUCATION CENTER Co Ltd
Priority to CN201811638697.XA priority Critical patent/CN109885449A/en
Publication of CN109885449A publication Critical patent/CN109885449A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses full link trace methods, and deployment distributed link calls monitoring system Zipkin in education cloud platform, provide the external interface of the system;The described method includes: acquisition stores the data of each service transmission by the collector of the system;Store the data;The data, output tracking result are called by business diagnosis.The present invention may be implemented full link trace, solve the disadvantages of fault location under micro services is difficult, the wasting of resources is more, link combs hardly possible by disposing Zipkin in education cloud platform.Further, since Zipkin itself has the characteristics that transparent, low overhead, expansible, the service stability and high availability in education cloud platform is improved, the operation cost of cloud platform is reduced.

Description

Full link trace method
Technical field
The present invention relates to link trace field, in particular to full link trace method.
Background technique
Now with the innovation progress of computer technology, network technology, the especially progress of virtualization technology, there are also new general It reads, the innovation and development of new departure, the especially development of micro services architecture technology, changes traditional software development and O&M mould Formula.
Micro services framework solve the problems, such as it is some in traditional layer architecture, its central characteristics be high scalability, It is easy to develop, tests and dispose independent serviced component, it is the decoupling of these serviced components, distributed, mutually independent, it can be with Quick iteration updates the micro services in application platform, and education cloud platform is exactly such a micro services framework.On this basis, In the past to the monitoring mode of single server, need to be changed into based on the monitoring mould mutually called between hundreds and thousands of a examples Formula.
Summary of the invention
The embodiment of the invention provides the alarm methods and device in link trace system.For the embodiment to disclosure Some aspects have a basic understanding, and simple summary is shown below.The summarized section is not extensive overview, nor wanting It determines key/critical component or describes the protection scope of these embodiments.Its sole purpose is presented with simple form Some concepts, in this, as the preamble of following detailed description.
The embodiment of the invention provides a kind of full link trace methods, and deployment distributed link calls in education cloud platform Monitoring system provides the external interface of the system;The described method includes:
By the collector of the system, acquisition stores the data of each service transmission;
Store the data;
The data, output tracking result are called by business diagnosis.
Based on the method, as optional first embodiment, the data of each service transmission of storage, comprising:
The data of each service transmission are stored into MySQL.
Based on the method, as optional second embodiment, the output tracking result, comprising:
Output visualization tracing figure.
Based on the second embodiment, as optional 3rd embodiment, the output visualizes tracing figure, comprising:
To the web user interface UI output visualization tracing figure of the education cloud platform.
It is described to dispose distributed link tune in education cloud platform as optional fourth embodiment based on the method With monitoring system, comprising:
By Docker container, deployment distributed link calls monitoring system in education cloud platform.
Based on the fourth embodiment, as optional 5th embodiment, the method also includes:
According to the operation of the Docker container mirror image internal program, adjust what the Docker container mirror image internal program used Resource.
Any one based on the method, the second embodiment into the 5th embodiment, the data include: At least one corresponding working cell of each service;
The working cell record time, track path mark.
In the embodiment of the present invention, by the deployment distributed link calling monitoring system in education cloud platform, it may be implemented Full link trace solves the disadvantages of fault location under micro services is difficult, the wasting of resources is more, link combs hardly possible.Further, due to dividing Cloth link calls monitoring system itself to have the characteristics that transparent, low overhead, expansible, improves the service in education cloud platform Stability and high availability reduce the operation cost of cloud platform.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the full link trace method flow diagram shown in an exemplary embodiment;
Fig. 2 is the full link trace method flow diagram shown in an exemplary embodiment;
Fig. 3 is that the link in the full link trace method shown in an exemplary embodiment calls schematic diagram.
Specific embodiment
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to Practice them.Embodiment only represents possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and And the sequence of operation can change.The part of some embodiments and feature can be included in or replace other embodiments Part and feature.The range of embodiment of the present invention includes the entire scope of claims and the institute of claims There is obtainable equivalent.Herein, each embodiment can individually or generally be indicated that this is only with term " invention " It is merely for convenience, and if in fact disclosing the invention more than one, it is not meant to automatically limit the range of the application For any single invention or inventive concept.Herein, relational terms such as first and second and the like are used only for one Entity, which is perhaps operated, to be distinguished and exists without requiring or implying between these entities or operation with another entity or operation Any actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-exclusive Property include so that include a series of elements process, method or equipment not only include those elements, but also including Other elements that are not explicitly listed.Each embodiment herein is described in a progressive manner, and each embodiment stresses Be the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.
In one exemplary embodiment, in full link trace method, deployment distributed link is called in education cloud platform System Zipkin, and the external interface of the system is provided.
As shown in Figure 1, full link trace method includes the following steps.
In a step 11, by the collector of system, acquisition stores the data of each service transmission.
In step 12, the data of acquisition are stored.
In step 13, the data of storage, output tracking result are called by business diagnosis.
As it can be seen that in the present exemplary embodiment, by disposing Zipkin in education cloud platform, may be implemented full link with Track solves the disadvantages of fault location under micro services is difficult, the wasting of resources is more, link combs hardly possible.Further, due to Zipkin itself Have the characteristics that transparent, low overhead, expansible, improves service stability and high availability in education cloud platform, reduce The operation cost of cloud platform.
In one exemplary embodiment, by Docker container, deployment distributed link calls monitoring in education cloud platform System Zipkin, and external interface is provided.
As shown in Fig. 2, full link trace method includes the following steps.
In step 21, the data of each service transmission are acquired by the collector Collection of Zipkin.
In this step, the data of each service transmission include: at least one working cell Span corresponding to each service.It is above-mentioned Span is equivalent to a solicited message in server, and one time link calling will create a Span, can pass through one 64 Mark for marking Span.Span is constantly started and stopped, while having recorded temporal information and track path Trace mark. Above-mentioned Trace is equivalent to the Span set of tree construction, identifies a calling link.
Fig. 3 is that the link in full link trace method shown by an exemplary embodiment calls schematic diagram, in the citing In, service 2 is called in service 1, and service 3 and service 4 are called in service 2.
In step 22, the data of acquisition are stored.
In this step, the data of acquisition be can store in MySQL.
In step 23, the data of storage, output visualization tracking result are called by business diagnosis.
In this step, the data of storage are inquired, after calling by business diagnosis, obtain tracking result.Tracking result it is defeated Visual mode can be used out, such as exports visual tracing figure.Further, it is possible to be used to the webpage of education cloud platform Family interface (User Interface, english abbreviation UI) exports visualization view.
As it can be seen that by the way that Zipkin is deployed in education cloud platform, from the point of view of certain time period is by a certain event, so that it may The problem of to know the calling and dependence between each service, realizing full link trace, finding service in time, after being Continuous solution and governing problem provide foundation.
In step 24, according to the operation of the Docker container mirror image internal program, the Docker container mirror image is adjusted The resource that internal program uses.
In this step, according to the practical operation situation of Docker container mirror image internal program, Docker appearance can be adjusted at any time Resource used in device mirror image internal program, such as the usage quantity of adjustment central processing unit (CPU), memory.It is actual to meet Business demand, while system resource can also be saved.
It should be understood that the invention is not limited to the process and structure that are described above and are shown in the accompanying drawings, And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by the attached claims System.

Claims (7)

1. a kind of full link trace method, which is characterized in that deployment distributed link calls monitoring system in education cloud platform, The external interface of the system is provided;The described method includes:
By the collector of the system, acquisition stores the data of each service transmission;
Store the data;
The data, output tracking result are called by business diagnosis.
2. the method as described in claim 1, which is characterized in that the data of each service transmission of storage, comprising:
The data of each service transmission are stored into MySQL.
3. the method as described in claim 1, which is characterized in that the output tracking result, comprising:
Output visualization tracing figure.
4. method as claimed in claim 3, which is characterized in that the output visualizes tracing figure, comprising:
To the web user interface UI output visualization tracing figure of the education cloud platform.
5. the method as described in claim 1, which is characterized in that the deployment distributed link in education cloud platform calls prison Control system, comprising:
By Docker container, deployment distributed link calls monitoring system in education cloud platform.
6. method as claimed in claim 5, which is characterized in that the method also includes:
According to the operation of the Docker container mirror image internal program, the money that the Docker container mirror image internal program uses is adjusted Source.
7. such as method as claimed in any one of claims 1 to 6, which is characterized in that the data include:
At least one corresponding working cell of each service;
The working cell record time, track path mark.
CN201811638697.XA 2018-12-29 2018-12-29 Full link trace method Pending CN109885449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811638697.XA CN109885449A (en) 2018-12-29 2018-12-29 Full link trace method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811638697.XA CN109885449A (en) 2018-12-29 2018-12-29 Full link trace method

Publications (1)

Publication Number Publication Date
CN109885449A true CN109885449A (en) 2019-06-14

Family

ID=66925503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811638697.XA Pending CN109885449A (en) 2018-12-29 2018-12-29 Full link trace method

Country Status (1)

Country Link
CN (1) CN109885449A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586092A (en) * 2020-03-25 2020-08-25 深圳壹账通智能科技有限公司 Full link monitoring method, system and CAT client
CN111813418A (en) * 2020-06-30 2020-10-23 平安国际智慧城市科技股份有限公司 Distributed link tracking method, device, computer equipment and storage medium
CN112311811A (en) * 2020-11-16 2021-02-02 深圳市欢太科技有限公司 Full link tracking method, device, storage medium and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135276A (en) * 2017-06-28 2017-09-05 北京中电普华信息技术有限公司 A kind of full link monitoring methods, devices and systems under micro services framework
CN107766205A (en) * 2017-10-10 2018-03-06 武汉大学 A kind of monitoring system and method towards the tracking of micro services invoked procedure
US20180203795A1 (en) * 2017-01-18 2018-07-19 Pivotal Software, Inc. Trace management
US20180270107A1 (en) * 2017-03-16 2018-09-20 International Business Machines Corporation Microservices communication pattern for fault detection in end-to-end flows

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180203795A1 (en) * 2017-01-18 2018-07-19 Pivotal Software, Inc. Trace management
US20180270107A1 (en) * 2017-03-16 2018-09-20 International Business Machines Corporation Microservices communication pattern for fault detection in end-to-end flows
CN107135276A (en) * 2017-06-28 2017-09-05 北京中电普华信息技术有限公司 A kind of full link monitoring methods, devices and systems under micro services framework
CN107766205A (en) * 2017-10-10 2018-03-06 武汉大学 A kind of monitoring system and method towards the tracking of micro services invoked procedure

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586092A (en) * 2020-03-25 2020-08-25 深圳壹账通智能科技有限公司 Full link monitoring method, system and CAT client
CN111813418A (en) * 2020-06-30 2020-10-23 平安国际智慧城市科技股份有限公司 Distributed link tracking method, device, computer equipment and storage medium
CN111813418B (en) * 2020-06-30 2024-04-05 深圳赛安特技术服务有限公司 Distributed link tracking method, device, computer equipment and storage medium
CN112311811A (en) * 2020-11-16 2021-02-02 深圳市欢太科技有限公司 Full link tracking method, device, storage medium and server
CN112311811B (en) * 2020-11-16 2022-10-18 深圳市欢太科技有限公司 Full link tracking method, device, storage medium and server

Similar Documents

Publication Publication Date Title
US11296923B2 (en) Network fault originator identification for virtual network infrastructure
CN105610987B (en) Method, application and the system of management server cluster
CN104813285B (en) Using and infrastructure blueprint combination
US9923952B2 (en) Cloud application deployment
US9716746B2 (en) System and method using software defined continuity (SDC) and application defined continuity (ADC) for achieving business continuity and application continuity on massively scalable entities like entire datacenters, entire clouds etc. in a computing system environment
EP3451594A1 (en) Network function virtualization management orchestration device, method, and program
CN109885449A (en) Full link trace method
CN110311798B (en) Method and device for managing virtual resources
CN106936619B (en) Method and device for deploying network service
Heinrich et al. Integrating run-time observations and design component models for cloud system analysis
CN111158708A (en) Task arrangement engine system
US20160142262A1 (en) Monitoring a computing network
KR20130019366A (en) Efficiently collecting transction-separated metrics in a distributed enviornment
CN105260203A (en) Model-based Hadoop deploy and allocation method
CN109714188A (en) Configuration data management method, equipment and storage medium based on Zookeeper
CN109219090B (en) Business characteristic data reporting method and device and network slice arranging method and device
US10200463B2 (en) Systems and methods to improve the performance of a network by more efficient virtual network resource allocation
CN109818823A (en) Full link trace system
CN107294771A (en) A kind of efficient deployment system and application method suitable for big data cluster
US11803598B2 (en) Query language for selecting and addressing resources
Mohamed et al. The rSLA framework: Monitoring and enforcement of service level agreements for cloud services
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
CN110912726B (en) Service providing method, device, system, storage medium and electronic device
CN110740047B (en) Network slice management arrangement system
CN110196780B (en) Method, device, storage medium and electronic device for determining server state

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190614

RJ01 Rejection of invention patent application after publication