CN113315676B - Method and device for detecting broken link and electronic equipment - Google Patents

Method and device for detecting broken link and electronic equipment Download PDF

Info

Publication number
CN113315676B
CN113315676B CN202110552235.1A CN202110552235A CN113315676B CN 113315676 B CN113315676 B CN 113315676B CN 202110552235 A CN202110552235 A CN 202110552235A CN 113315676 B CN113315676 B CN 113315676B
Authority
CN
China
Prior art keywords
service
context information
content
information
link
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.)
Active
Application number
CN202110552235.1A
Other languages
Chinese (zh)
Other versions
CN113315676A (en
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110552235.1A priority Critical patent/CN113315676B/en
Publication of CN113315676A publication Critical patent/CN113315676A/en
Application granted granted Critical
Publication of CN113315676B publication Critical patent/CN113315676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present disclosure relates to a method and an apparatus for detecting a broken link, and an electronic device, which are used to solve the problem that whether a context transfer link is broken cannot be automatically analyzed at present. The method comprises the following steps: receiving a service request, wherein the service request is used for requesting service; calling a first service subunit providing the service, and transmitting context information of the service request to the first service subunit; detecting whether the content of the information item is lost in the context information or not according to the information item in a preset context information format; and if the content of the information item is lost, confirming the broken link of the context information transmission link. The context information is automatically detected in the context transmission process, whether the context transmission link is broken or not is automatically detected, and the detection result is more accurate and the efficiency is higher.

Description

Method and device for detecting broken link and electronic equipment
Technical Field
The present disclosure relates to the field of distributed system technologies, and in particular, to a method and an apparatus for detecting a broken link, and an electronic device.
Background
With the rapid development of the internet in recent years, especially the rapid development of the mobile internet and cloud computing, the requirements on the speed and efficiency of software delivery and iteration are continuously increasing. The distributed architecture system is becoming more and more mainstream by virtue of its advantages of simplicity, clearness, flexibility, expandability, independent deployment and the like. The distributed architecture as a whole provides services to users, while the internal collaboration of the entire system is transparent to the users.
However, during the service invocation process, during the context information transfer process of the service request, the context information may be lost, i.e. broken.
At present, no particularly good broken link detection scheme exists, and in the related technology, whether a service request context transfer link is broken or not is determined by manually confirming the effectiveness of context information transfer.
Disclosure of Invention
The disclosure provides a method and a device for detecting broken links and electronic equipment, which are used for solving the problems of low efficiency and easy error in detecting broken links of context information transfer links at present. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for detecting a broken link, including:
receiving a service request, wherein the service request is used for requesting service;
calling a first service subunit providing the service, and transmitting context information of the service request to the first service subunit;
detecting whether the content of the information item is lost in the context information or not according to the information item in a preset context information format;
and if the content of the information item is lost, confirming the broken link of the context information transmission link.
In one possible implementation, the method further includes:
invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing, before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether the content of an information item in the context information is lost or not according to the information item in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
In one possible embodiment, the method further comprises:
and when detecting that the content of the information item is lost in the context information, reporting the information of the content loss of the information item.
In a possible implementation manner, the detecting whether there is information item content loss in the context information according to an information item in a preset context information format includes:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is lost when the content of any non-empty content information item is detected to be empty.
In one possible embodiment, the method further comprises:
determining a first calling unit and a second calling unit which are called when the second service subunit which is called confirms that the context information transmission link is broken, wherein the first calling unit is a calling unit which has a superior-subordinate calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which is called except the first calling unit and has a superior-subordinate calling relationship;
and analyzing the superior-subordinate calling relation between the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
In one possible embodiment, the determining the cause of the contextual information transfer link failure comprises:
searching the calling unit at the uppermost level from the lower level to the upper level according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
In one possible embodiment, confirming the contextual information delivery link is broken if there is a loss of content of the information item, comprises:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
In one possible embodiment, the method further comprises:
and stopping the service calling process when the reason for the broken link of the context information transmission link is confirmed to be the abnormal transmission of the context information.
In one possible implementation, the method further includes:
if the content of the information item is not lost, reconstructing a transfer link of the context information according to a service calling process;
and if the chain breakage occurs on the reconstructed transmission link, confirming that the reason of the chain breakage is the service configuration fault.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for detecting a broken link, including:
a service request module configured to perform receiving a service request, the service request requesting a service;
a context transfer module configured to execute a first service subunit calling the service, and transmit context information of the service request to the first service subunit;
the anomaly detection module is configured to execute detection of whether the content of the information item is lost or not in the context information according to the information item in a preset context information format;
a broken link analysis module configured to perform a confirmation of the contextual information delivery link broken link if there is a loss of content of an information item.
In one possible embodiment, the method further comprises:
an association invocation module configured to perform invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing either before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether the content of an information item in the context information is lost or not according to the information item in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
In one possible embodiment, the apparatus further comprises:
and the message reporting module is configured to report the message of information item content loss when detecting that the content of the information item is lost in the context information.
In a possible implementation manner, the anomaly detection module detects whether there is information item content loss in the context information according to an information item in a preset context information format, and includes:
acquiring transmitted context information, and detecting whether the content of each non-empty content information item in the context information is empty according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is empty, and determining that the content of the information item is lost in the context information.
In one possible embodiment, the apparatus further comprises:
the exception analysis module is configured to determine a first calling unit and a second calling unit which are called when the called second service subunit confirms that the context information transmission link is broken, wherein the first calling unit is a calling unit which has a superior-inferior calling relationship and a subordinate-superior calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which has a superior-inferior calling relationship and is called except the first calling unit; analyzing the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link; and analyzing the superior and inferior calling relations of the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
In one possible embodiment, the exception resolution module is configured to perform determining the cause of the contextual information transfer link disconnection, including:
searching the calling unit at the uppermost stage from the lower stage to the upper stage according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
In a possible implementation, the determining, by the broken link analysis module, that the context information delivery link is broken if there is a content loss of the information item, includes:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
In one possible embodiment, the apparatus further comprises:
and the service call stopping module is configured to stop the service call process when the reason for confirming the broken link of the context information transmission link is the abnormal context information transmission.
In one possible embodiment, the apparatus further comprises:
a configuration failure determination module configured to execute, if there is no loss of content of the information item, reconstructing a transfer link of the context information according to a service call process; and if the link is broken on the reconstructed transmission link, confirming that the reason of the broken link is the configuration fault.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a memory for storing executable instructions;
and a processor, configured to read and execute the executable instructions stored in the memory, so as to implement the steps of the method for detecting a broken link provided in the foregoing first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-volatile storage medium, where instructions are executed by a processor of an electronic device for detecting a broken link, and the method for detecting a broken link as described in the first aspect of the embodiments of the present disclosure can be performed.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method for detecting the broken link provided by the embodiment of the disclosure can automatically detect whether the context information transmission link is broken in the service process corresponding to the service request, and has accurate detection result and high efficiency.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of an application scenario shown in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of a system for chain breakage detection, according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of broken link detection in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus for chain break detection in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Hereinafter, some terms in the embodiments of the present disclosure are explained to facilitate understanding by those skilled in the art.
(1) The term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
(2) The term "electronic device" in the embodiments of the present disclosure may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
(3) The term "distributed request" in the embodiments of the present disclosure refers to a request completed cooperatively by a plurality of services in a distributed cooperative system.
(4) The term "context transfer component" in the embodiments of the present disclosure refers to a component capable of performing a context information transfer function of a service request on each service in a process of calling a plurality of services to provide a service corresponding to the service request, and all context transfer components in a distributed system can be obtained in an exhaustive manner through a bottom-layer framework of the distributed system.
(5) In the embodiments of the present disclosure, the term "client", or called user side, refers to a program corresponding to a server and providing a local service for a user. Except for some locally-running applications, the application programs are generally installed on a common client and need to be operated together with a server.
In a distributed system, a set of independent computers appear to the user as a unified whole. The system has various general physical and logical resources, can dynamically allocate tasks, and realizes information exchange by the dispersed physical and logical resources through a computer network. There is a distributed operating system in the system that manages computer resources in a global manner. The distributed operating system manages system resources in a global manner, it can schedule network resources arbitrarily for users, and the scheduling process is "transparent". When a user submits a service request, the distributed operating system can select the most appropriate processing node in the system as required, submit the service request of the user to the processing node, and the processing node invokes the corresponding service subunit to complete the invocation of the service corresponding to the service request, wherein the processing node can be a server.
In order to associate the calls of each service subunit, a context transfer component corresponding to each service subunit is preset in the server, specifically comprising a context transfer component of an inlet called before each service subunit is called and a context transfer component of an outlet called after each service subunit is called, before or after a processing node calls the corresponding service subunit, the context information of the service request is implicitly transferred in a user transparent manner through the context transfer component corresponding to the service subunit, so that whether a context transfer link is abnormal can be determined by tracking the context information transfer process.
In the related technology, whether the service request context transfer link is broken or not is determined through manually analyzing the context information transfer process, and the mode has low detection efficiency and high error rate.
The embodiment of the disclosure provides a method and a device for detecting a broken link and an electronic device, which can automatically and accurately detect whether the broken link occurs on a context transfer link.
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Fig. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure, as shown in fig. 1, the application scenario may include a plurality of servers 20 and a plurality of terminal devices in a distributed system. The terminal device may be any suitable electronic device that can be used for network access, including but not limited to a computer, a laptop, a smart phone, a tablet, or other type of terminal. The plurality of servers 20 can provide a service corresponding to the service request. The terminal device can realize information transmission with the plurality of servers 20 via the network 40. The plurality of servers 20 can acquire contents required by the terminal device, such as model parameters, advertisement contents, index files, and the like, by accessing the database 50. Terminal devices (e.g., between 30 and 30 or 30) may also communicate with each other via network 40. Network 40 may be a network for information transfer in a broad sense and may include one or more communication networks such as a wireless communication network, the internet, a private network, a local area network, a metropolitan area network, a wide area network, or a cellular data network, among others.
In response to a service request triggered by a user on a terminal device, the terminal device sends the service request to the multiple servers 20 through the network 40, a server serving as a control node in the multiple servers 20 determines a service requested by the service request and multiple service subunits providing the service, the servers where the multiple service subunits are located are triggered to call the corresponding service subunits, and the service corresponding to the service request is completed in a coordinated manner. The control manner of the server 20 serving as the control node may be centralized control, that is, all service requests are sent to one server, or may be distributed control, that is, a plurality of servers 20 process the allocated service requests respectively.
As shown in fig. 2, an embodiment of the present disclosure provides a system for detecting a broken link, including a client 21 and a server device 22, where the server device includes a plurality of servers, and a process of completing a service request by distributing and cooperating among the plurality of servers is described with reference to the above application scenario. The client 21 is an application client installed on the electronic device, and cooperates with the server device 22 to provide a service for the user 23, so that the user 23 can view the content presented by the client 21 or trigger the operation supported by the client 21.
In the embodiment of the present disclosure, in response to a service request triggered by a user 23 on a client 21, the client 21 sends the service request to a server device 22, the server device 22 determines a service requested by the service request and a plurality of service subunits that need to be invoked for providing the service, and invokes each service subunit through a server in which each service subunit is located, and collaborates to provide a service for the user 23, which specifically includes:
receiving a service request, wherein the service request is used for requesting service;
calling a first service subunit providing the service, and transmitting context information of the service request to the first service subunit;
detecting whether the content of the information item is lost in the context information or not according to the information item in a preset context information format;
and if the content of the information item is lost, confirming the broken link of the context information transmission link.
Example 1
The method for detecting a broken link provided in the embodiment of the present disclosure is applied to a server device, and as shown in fig. 3, is a flowchart of the method for detecting a broken link provided in the embodiment of the present disclosure, and includes the following steps S301 to S304.
In step S301, a service request is received, the service request being for requesting a service.
A user triggers the operation of a service request through a client, the service request is sent to a server device, the server device receives the service request, determines the service requested by the service request and a plurality of service subunits which are required to be called for providing the service, the calling of the service subunits has a precedence order, the corresponding service subunits are called according to the calling order to provide corresponding services, for a first called service subunit, context information of the service request is generated before calling according to the service request, the first service subunit is called to transmit the context information to the first service subunit, then the first service subunit is called, and after the calling of the first service subunit is completed, the next service subunit is called after the context information is transmitted to the next called service subunit; the next service subunit receives the context information of the service request transmitted by the last service subunit and the called information, and after the calling of the service subunit is completed, the next service subunit is called after the context information is transmitted to the next service subunit; and repeating the process until all the service subunits are called. The server where the plurality of service subunits are located is all or part of the plurality of servers.
The context information at least comprises an identification ID of the service request, the service called, information of the service requester calling the service, the client IP requesting the service, and the like.
For the same service request, the context information of the service request is not changed in the transmission process and is transmitted according to the calling sequence of the plurality of service subunits. The format of the context information of the service request is the same for different service requests, i.e. the same information items are included, except that the content of the information items may change.
In step S302, a first service subunit providing the service is called, and context information of the service request is transmitted to the first service subunit.
In the embodiment of the present disclosure, a service corresponding to a service request is called, and a plurality of service subunits providing the service are called according to a calling sequence, where a service subunit providing the service is referred to as a first service subunit in this embodiment.
Transmitting the context information of the service request to the first service unit providing the service, where the context information is transferred by the plurality of invoked first service sub-units according to the invocation order, and the manner in which the plurality of invoked first service sub-units transfer the context information is referred to the above description, and is not repeated here.
In step S303, it is detected whether there is a content loss of an information item in the context information according to the information item in a preset context information format.
The disclosed embodiments automatically trigger execution of chain-breaking detection when transmitting context information to each first service subunit providing said service. Namely, the broken link detection is bound with the context information transfer, and when the context information transfer is detected, the execution is triggered: and detecting whether the content of the information item is lost in the context information according to the information item in the preset context information format, so that whether the transmission is abnormal can be determined.
The preset format of the context information means that the context information includes several predefined information items, such as an identification ID of the service request, the called service, information of the service requester calling the service, a client IP calling the service, and the like. When a service request changes, the format of the context information is not changed, but the content of the information item in the context information is changed.
In step S304, if there is a content loss of the information item, it is determined that the context information transfer link is broken.
When confirming that the context information transmission link is broken, reporting the abnormal information, specifically reporting the abnormal information to a server serving as a control node in the plurality of servers, so that a broken link recovery person can determine the reason of the broken link according to the reported information, thereby detecting that the broken link occurs when a certain first service unit is called.
The method for detecting the broken chain solves the following problems in the existing broken chain analysis: the current first service subunit is very complicated to call, and the problem of low accuracy and low efficiency is solved by analyzing the context information transmission process by depending on the manual combing call relation and determining whether the chain breaking of the context information transmission occurs.
As an optional implementation manner, the method further includes:
invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing, before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether information item content loss exists in the context information or not according to information items in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
As described above, each of the plurality of first service subunits providing the service may transmit context information before being called, and before the first service subunit is called, it is detected, through the second service subunit associated with the first service subunit, whether there is a content loss of an information item in the context information transmitted by the previous first service subunit, and after the first service subunit completes the calling, it may perform the transmission of the context information, and then it is detected, through the second service subunit associated with the first service subunit, whether there is a content loss of an information item in the context information transmitted to the next first service subunit, thereby implementing which transmission link on the context information transmission link has an abnormality.
In the embodiment of the present disclosure, when a plurality of first service subunits providing services are called, context information is transferred before the first service subunit is called or after the first service subunit is called according to a calling sequence of the plurality of first service subunits, and specifically, context transfer components corresponding to the service subunits are preset in a server, so that the transfer of the context information is realized. That is, before each first service subunit is called, the call of the context transfer component of the entry corresponding to the first service subunit is triggered, the context information of the last first service subunit is obtained through the context transfer component and is transferred to the current first service subunit, after each first service subunit completes the call, the call of the context transfer component of the exit corresponding to the first service subunit is triggered, and the context information of the current first service subunit is obtained through the context transfer component and is transferred to the next first service subunit.
The method for associating each first service subunit with the corresponding second service subunit in the embodiment of the present disclosure may specifically be:
since the first service subunit triggers the call to the context transfer component before or after being called, in the embodiment of the present application, a detection code for executing a function of the second service subunit is added to the context transfer component corresponding to the first service subunit, so as to implement association between the first service subunit and the second service subunit, so that the second service subunit is executed before or after the first service subunit is called, that is, when the context transfer component is called, the detection code is also executed, and the following steps are implemented:
detecting whether the content of the information item is lost in the context information transmitted by the context transmission component or not according to the information item in the preset context information format; and if there is a loss of information item content, confirming the contextual information transfer link is broken.
When the context transfer of the full link can be realized, whether the broken link of the context information transfer link exists or not is automatically detected by depending on the calling of the context transfer component corresponding to each first service subunit in the distributed system, so that the cost of manual investigation is avoided, and the cost is reduced; in addition, the context transfer component is bound with the detection code, so as to be related to the context information transfer, the broken link detection of the context information transfer link can be executed, the problem of missed detection can be avoided, and the detection accuracy is improved.
The distributed system currently supports the exhaustion of the context transfer component, and one possible way for implementing the binding of the detection code and the context transfer component in the embodiment of the present disclosure is as follows:
exhausting all context transfer components corresponding to each first service subunit in the distributed system;
the detection code is embedded in all context transfer components. Thus, when the context information is transferred through the context transfer component, the execution of the detection code is triggered, before the first service subunit is called, the context information transferred by the last first service subunit is read through the context transfer component, when the first service subunit is called, the context information is transferred into the currently called first service subunit through the context transfer component, the configuration related to the service is operated in the calling process of the first service subunit, the corresponding service is provided, after the first service subunit is called, the context information transferred by the current first service subunit is determined through the context transfer component, the next first service subunit is called, when the next first service subunit is called, the context information is transferred to the next first service subunit through the context transfer component, when the context transfer component is called each time, the execution of the detection code is triggered, and whether the context information transfer link break occurs is determined through the detection code.
Although the context transfer component is triggered to execute according to the calling sequence of the plurality of first service subunits, the embedded detection codes are the same, and therefore the flow of executing context information detection is consistent.
In the embodiment of the present disclosure, the method for detecting a broken link further includes: and when detecting that the content of the information item is lost in the context information, reporting the information of the content loss of the information item. The detection code not only detects whether the content of the information item is lost before or after the first service subunit is called, but also can report the detection result when the content of the information item is detected to be lost. The detection result can be reported after detecting whether the first service subunit is lost or not before or after calling, namely reporting is carried out no matter whether the context information is lost or not; or reporting when the context information loss is detected.
When reporting a message that the content of the information item is lost, reporting a currently detected calling environment in which the content of the context information is lost, where the reporting may include at least one of a component in a called distributed system, a service unit in the called distributed system, and the content of the information item lost or lost before or after calling a first service subunit.
The embodiment of the present disclosure detects whether there is information item content loss in the context information according to an information item in a preset context information format, including:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is lost when the content of any non-empty content information item is detected to be empty.
And if the content of a certain information item is lost when the detection code detects that the context information is transferred before or after a certain first service subunit is called in the process of transferring the context information, the transfer of the context information is considered to be abnormal. When the first service subunits are called successively according to the calling sequence, the context transfer may be abnormal, that is, the called first service subunit has no configuration fault, that is, the called first service subunit normally provides a corresponding service according to the configuration, but a problem occurs in a context transfer mechanism, and when the context information transferred to the next called first service subunit by the called first service subunit is lost, the transferred abnormal context information is detected by the triggered detection code.
In a specific implementation, the preset context information format may include information items applicable to different service requests, that is, corresponding context information is generated before the first service subunit is called, and due to different services, some information items may not need to be filled with content, but such information items may be set to a default value, but cannot be null. The non-null setting is used as the basis for the subsequent second service subunit to determine the broken link, so long as the broken link caused by the previous text transmission does not occur, the content of each information item in the context information can be detected certainly, and on the contrary, once the information is detected to be null, the broken link can be determined.
Because there is a loss due to an abnormal configuration (i.e., there is a traffic failure) in addition to the loss due to a normal configuration (i.e., a normal traffic) but context transfer mechanism. Under the condition that the service is normal but the context transfer mechanism is lost, the method of the embodiment of the application can trigger the corresponding detection code, can detect the content loss of the context information item caused by the context transfer mechanism in the context information transfer process, and can discover and intervene in time at the first time.
In order to further understand the specific reason when the context information transmission link is broken, when the called second service subunit confirms that the context information transmission link is broken, and when the called second service subunit confirms that the context information transmission link is broken, a called first calling unit and a called second calling unit are determined, wherein the first calling unit is a calling unit which has a calling relation between an upper level and a lower level in the first service subunit and the first service subunit, and the second calling unit is a calling unit which is called except the first calling unit and has a calling relation between an upper level and a lower level;
and analyzing the superior-subordinate calling relation between the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
In the embodiment of the present disclosure, the call unit is a program unit with different sizes, such as a thread, a process, and the like, an upper-level call relationship and a lower-level call relationship may exist between multiple call units, such as a call stack called by the thread and the thread, and when a context information transfer link is broken, the first call unit and the second call unit are determined. Analyzing the superior-subordinate calling relation between the first calling unit and the second calling unit, and determining the reason for the broken link of the context information transmission link, including:
searching the calling unit at the uppermost stage from the lower stage to the upper stage according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
When the calling unit at the uppermost level is searched step by step, a stack climbing mode can be adopted to search the call unit at the bottommost layer upwards step by step. The method can specifically climb the stack according to the set number of times of climbing the stack in unit time, namely, the stack climbing is carried out in a flow control mode, the number of times of climbing the stack per second is limited, and the problem that the cost of climbing the stack is large at the same time is solved.
The context information transfer method and the context information transfer device can detect whether the context information transfer is abnormal or not when the first service subunit is transferred before being called or after being called, and the first service subunit is transferred after being called and relates to the next first service subunit.
As an optional embodiment, the context transfer components corresponding to the first service subunits are preset, and according to different function types or different calling occasions of the called first service subunits, the context transfer components include at least one of the following types:
a store type component, a remote procedure call exit component, a service entry component.
The context transfer component belonging to the storage type component is mainly used for transferring context information of the first service subunit of the database type, and the context transfer component belonging to the storage type component is called before or after the first service subunit of the database type is called, and the context transfer component belonging to the storage type component may be, but is not limited to, the following components: a context transfer component corresponding to a first service subunit providing mysql, redis, memcached, hbase, es services, etc. The context transfer component belonging to the remote procedure call exit component (RPC call exit component) is mainly used for transferring context information of the first service subunit providing the remote procedure call function, and after the first service subunit providing the remote procedure call function is called, the context transfer component belonging to the RPC call exit component is called, and the context transfer component belonging to the RPC call exit component may be, but is not limited to, the following components: and the context transfer component corresponds to a first service subunit providing a grpc client service, an http client service and the like.
The context transfer component belonging to the service entrance component is mainly used for transferring the context information of the first service subunit of the internal service type, and the context transfer component belonging to the service entrance component is called before the first service subunit for the internal service type is called. The context transfer component belonging to the service portal component may specifically, but not exclusively, comprise the following components: and the context transfer component corresponds to a first service subunit providing the grpc server and the http server.
By the method for detecting the broken link in the service request process provided by the embodiment of the disclosure, if the content of the information item is lost, the broken link of the context information transmission link is confirmed, which includes:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is the abnormal context information transmission, so that the broken link can be accurately caused.
In order to further investigate the broken link of the context information transfer link caused by other reasons, wherein one application scenario is a service failure detection scenario, when the application scenario is applied to the scenario, the method further includes:
and if the content of the information item is not lost, reconstructing a transmission link of the context information according to a service calling process. In one embodiment, analyzing a context transfer component called in a time period from the beginning of calling to the end of calling, screening the context transfer component for transferring the context information of the current service request according to a service ID in the context information transferred by the context transfer component, sequencing the calling time of the screened context transfer component, determining a first service subunit for providing the current service request according to the corresponding relation between the context transfer component and the first service subunit, and remolding a transfer link according to the determined calling sequence of the first service subunit;
and comparing the first service subunit which is required to be called for providing the service with the first service subunit on the reconstructed transfer link, if the first service subunit is not consistent with the first service subunit on the reconstructed transfer link, determining that the link is broken on the reconstructed transfer link, and if the context transfer abnormality is not detected through the detection code, determining that the reason of the broken link is a configuration fault.
In the method for performing a chain breakage detection in the service request process provided by the embodiment of the present disclosure, one of the application scenarios is a full-link voltage detection scenario, and the method further includes:
and stopping the service calling process when the reason for the broken link of the context information transmission link is confirmed to be the abnormal transmission of the context information.
The following provides a detailed process of a specific example in the service fault detection scenario and the full link voltage detection scenario.
Example 1
And under a distributed architecture system, determining the service requested by the service request and a plurality of first service subunits which are required to be called for providing the service, and calling the plurality of first service subunits through the servers where the plurality of first service subunits are located. In order to associate the calls of the first service subunits, before the server calls the corresponding first service subunit or after the server calls the corresponding service subunit, the context information of the service request is implicitly transferred in a user transparent manner, specifically, before the first service subunit is called or after the first service subunit is called, the context transfer component of the inlet and the context transfer component of the outlet corresponding to the first service subunit are triggered to transfer the context information.
When the context transfer component is called, executing a detection code bound with the context transfer component to detect whether the content of the information item is lost in the transferred context information, and reporting to a server serving as a control node if the content is detected to be lost.
As described above, there are two reasons for the link disconnection, when the detection code does not detect the transmission link disconnection of the context information, it does not represent that the link disconnection has not occurred, and there may be a link disconnection occurring due to a configuration failure of the first service subunit, so if there is no information item content loss detected by the detection code, the transmission link of the context information is reconstructed according to the service invocation process, and the specific process is referred to the above description and is not repeated here; and comparing the first service subunit which is required to be called for providing the service with the first service subunit on the remolded transfer link, if the first service subunit is not consistent with the first service subunit on the remolded transfer link, determining that the broken link occurs on the reconstructed transfer link, and if the context transfer abnormality is not detected through the detection code, determining that the reason of the broken link is the configuration fault so as to determine the fault reason.
When the detection code detects that the context information is transferred, if the content of the information item is lost, reporting is performed, for example, reporting to a server. In this embodiment, according to the context transfer component that detects code binding and the first service subunit corresponding to the context transfer component, the position of the broken link of the context transfer link is determined, the position of the broken link is marked, and the reason for marking the broken link is the broken link caused by the abnormal transfer of the context information.
In this way, after the call to the first service subunit is finished, it is determined that the content of the information item is lost when the detection code detects the transfer of the context information, and all the positions of the marked links where the broken links occur are obtained. And if the chain breaking caused by the abnormal transmission of the context information is not found, link remodeling can be carried out, and if the chain breaking is found, the chain breaking caused by the configuration fault of the first service subunit is determined. For example, according to the sequence that the first service subunit 1 calls the first service subunit 2, the first service subunit 2 calls the first service subunit 3, and the first service subunit 3 calls the first service subunit 4, if the first service subunit 2 calls the first service subunit 3, there is no exception in context transfer, but the exception of the first service subunit 3 causes no data to be output in the calling process of the first service subunit 3, and thus, no exception in context transfer is detected, and link remodeling may determine that a chain break occurs in the first service subunit 3.
Example 2
And constructing a simulation environment to perform a pressure test process on each service link based on a real user scene in a full link pressure test scene.
In the process of performing a pressure test on each service link, for a service request for performing the pressure test, a corresponding service is provided through a simulation environment, that is, a service provided by a simulated service subunit is called, the simulated service subunit forms the service link according to a calling sequence, and a pressure-measuring flow of the service link needs to be marked and distinguished from a normal user flow. And transmitting the context information of the pressure measurement flow in a full link so that each service can identify the pressure measurement flow, and further selecting a corresponding scheduling strategy, wherein the mysql has a real mysql and a simulated virtual mysql for performing pressure test, and the simulated virtual mysql is used instead of accessing a data table in the real mysql on the line for the pressure measurement flow, so that the simulation purpose is achieved, and meanwhile, the data of the real mysql on the line is prevented from being polluted. Therefore, once the piezometric flow marker is lost, the simulated service subunit may use the data of the real mysql, and may tamper the data of the real mysql, which affects the use of normal users.
In the process of calling the service provided by the simulated service subunit, the method of the embodiment of the disclosure is used for detecting the broken link of the context information transfer link, the broken link of the context information transfer link is determined according to the detection result, and the calling process of the simulated service subunit is stopped. If the pressure measurement flow mark is lost in the process of calling the simulated service subunit, the reporting is found at the first time and the service calling process is stopped, so that the pollution to real data can be avoided.
Example 2
Fig. 4 is a block diagram illustrating an apparatus for chain break detection in accordance with an exemplary embodiment. Referring to fig. 4, the apparatus includes a service request module 401, a context transfer module 402, an anomaly detection module 403, and a broken link analysis module 404, where:
a service request module configured to perform receiving a service request, the service request being for requesting a service;
a context transfer module configured to execute a first service subunit calling the service, and transmit context information of the service request to the first service subunit;
the anomaly detection module is configured to execute detection of whether the content of the information item is lost or not in the context information according to the information item in a preset context information format;
a broken link analysis module configured to perform a confirmation of the contextual information delivery link broken link if there is a loss of content of an information item.
In one possible implementation, the method further includes:
an association invocation module configured to perform invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing either before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether information item content loss exists in the context information or not according to information items in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
In one possible embodiment, the apparatus further comprises:
and the message reporting module is configured to report the message of the content loss of the information item when detecting that the content loss of the information item exists in the context information.
In a possible implementation manner, the detecting, by the anomaly detecting module, whether there is a content loss of an information item in the context information according to the information item in a preset context information format includes:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is empty, and determining that the content of the information item is lost in the context information.
In one possible embodiment, the apparatus further comprises:
the exception analysis module is configured to determine a first calling unit and a second calling unit which are called when the called second service subunit confirms the broken link of the context information transmission link, wherein the first calling unit is a calling unit which has a superior-inferior calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which is called except the first calling unit and has an superior-inferior calling relationship; and analyzing the superior and inferior calling relations of the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
In one possible embodiment, the exception resolution module is configured to perform determining a cause of the contextual information transfer link breaking, including:
searching the calling unit at the uppermost level from the lower level to the upper level according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
In a possible implementation, the determining, by the broken link analysis module, that the context information delivery link is broken if there is a content loss of the information item, includes:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
In one possible embodiment, the apparatus further comprises:
and the service call stopping module is configured to stop the service call process when the reason that the context information transmission link is broken is confirmed to be context information transmission abnormity.
In one possible embodiment, the apparatus further comprises:
a configuration failure determination module configured to execute, if there is no information item content loss, reconstructing a transfer link of the context information according to a service invocation process; and if the link is broken on the reconstructed transmission link, confirming that the reason of the broken link is the configuration fault.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating an electronic device 500, according to an example embodiment, that includes:
a processor 510;
a memory 520 for storing instructions executable by the processor 510;
wherein the processor 510 is configured to execute the instructions to implement a method of chain breakage detection in an embodiment of the present disclosure.
In an exemplary embodiment, there is also provided a non-volatile storage medium, such as the memory 520, comprising instructions executable by the processor 510 of the electronic device 500 to perform the method steps of:
receiving a service request, wherein the service request is used for requesting service;
calling a first service subunit providing the service, and transmitting context information of the service request to the first service subunit;
detecting whether the content of the information item is lost in the context information or not according to the information item in a preset context information format;
and if the content of the information item is lost, confirming the broken link of the context information transmission link.
In one possible implementation, the processor is further configured to:
invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing, before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether information item content loss exists in the context information or not according to information items in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
In a possible implementation, the processor is further configured to:
and when detecting that the content of the information item is lost in the context information, reporting the information of the content loss of the information item.
In a possible implementation manner, the processor detects whether there is information item content loss in the context information according to an information item in a preset context information format, including:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is lost when the content of any non-empty content information item is detected to be empty.
In a possible implementation, the processor is further configured to:
determining a first calling unit and a second calling unit which are called when the called second service subunit confirms that the context information transmission link is broken, wherein the first calling unit is a calling unit which has a superior-subordinate calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which is called except the first calling unit and has an superior-subordinate calling relationship;
and analyzing the superior-subordinate calling relation between the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
In one possible embodiment, the processor determining the cause of the contextual information transfer link disconnection comprises:
searching the calling unit at the uppermost stage from the lower stage to the upper stage according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
In one possible embodiment, the processor determining that the contextual information delivery link is broken if there is a loss of content of the information item, comprising:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
In a possible implementation, the processor is further configured to:
and stopping the service calling process when the reason for the broken link of the context information transmission link is confirmed to be the abnormal transmission of the context information.
In a possible implementation, the processor is further configured to:
if the content of the information item is not lost, reconstructing a transmission link of the context information according to a service calling process;
and if the reconstructed transmission link is broken, confirming that the broken link is caused by the configuration fault.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiments of the present disclosure further provide a computer program product, which when run on an electronic device, causes the electronic device to execute a method for implementing any one of the methods for detecting a broken link or any one of the methods for detecting a broken link in the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. A method of chain scission detection, comprising:
receiving a service request, wherein the service request is used for requesting service;
calling a first service subunit providing the service, and transmitting context information of the service request to the first service subunit;
detecting whether the content of the information item is lost in the context information or not according to the information item in a preset context information format;
and if the content of the information item is lost, confirming the broken link of the context information transmission link.
2. The method of claim 1, further comprising:
invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing, before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether information item content loss exists in the context information or not according to information items in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
3. The method of claim 1 or 2, further comprising:
and when detecting that the content of the information item is lost in the context information, reporting the information of the content loss of the information item.
4. The method according to claim 1, wherein the detecting whether there is information item content loss in the context information according to the information item in the preset context information format comprises:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is lost when the content of any non-empty content information item is detected to be empty.
5. The method of claim 2, further comprising:
determining a first calling unit and a second calling unit which are called when the called second service subunit confirms that the context information transmission link is broken, wherein the first calling unit is a calling unit which has a superior-subordinate calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which is called except the first calling unit and has an superior-subordinate calling relationship;
and analyzing the superior and inferior calling relations of the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
6. The method of claim 5, wherein the determining the cause of the contextual information transfer link outage comprises:
searching the calling unit at the uppermost stage from the lower stage to the upper stage according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
7. The method of claim 1, wherein confirming the contextual information delivery link broken if there is a loss of information item content comprises:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
8. The method of claim 7, further comprising:
and stopping the service calling process when the reason for the broken link of the context information transmission link is confirmed to be the abnormal transmission of the context information.
9. The method of claim 7, further comprising:
if the content of the information item is not lost, reconstructing a transmission link of the context information according to a service calling process;
and if the link is broken on the reconstructed transmission link, confirming that the reason of the broken link is the configuration fault.
10. An apparatus for chain scission detection, comprising:
a service request module configured to perform receiving a service request, the service request being for requesting a service;
a context transfer module configured to execute a call to a first service subunit providing the service, and transmit context information of the service request to the first service subunit;
the anomaly detection module is configured to execute detection of whether the content of the information item is lost or not in the context information according to the information item in a preset context information format;
a broken link analysis module configured to perform a confirmation of the contextual information delivery link broken link if there is a loss of content of an information item.
11. The apparatus of claim 10, further comprising:
an association invocation module configured to perform invoking a second service sub-unit associated with the first service sub-unit, the second service sub-unit performing either before or after the first service sub-unit is invoked:
acquiring transmitted context information, and detecting whether information item content loss exists in the context information or not according to information items in a preset context information format; and if there is a loss of information item content, confirming the contextual information delivery link is broken.
12. The apparatus of claim 10 or 11, further comprising:
and the message reporting module is configured to report the message of information item content loss when detecting that the content of the information item is lost in the context information.
13. The apparatus of claim 10, wherein the anomaly detection module detects whether there is a content loss of an information item in the context information according to the information item in a preset context information format, and comprises:
detecting whether the content of each non-empty content information item in the context information is empty or not according to the non-empty content information item defined in a preset context information format;
and determining that the content of any non-empty content information item is lost when the content of any non-empty content information item is detected to be empty.
14. The apparatus of claim 11, further comprising:
the exception analysis module is configured to determine a first calling unit and a second calling unit which are called when the called second service subunit confirms that the context information transmission link is broken, wherein the first calling unit is a calling unit which has a superior-inferior calling relationship in the first service subunit and the first service subunit, and the second calling unit is a calling unit which has a superior-inferior calling relationship and is called except the first calling unit; and analyzing the superior and inferior calling relations of the first calling unit and the second calling unit, and determining the reason of the broken link of the context information transmission link.
15. The apparatus of claim 14, wherein the exception resolution module is configured to perform determining a cause of the contextual information transfer link breaking, comprising:
searching the calling unit at the uppermost stage from the lower stage to the upper stage according to the searching sequence of the calling relationship in the first calling unit and the second calling unit;
and confirming that the reason of the up-down information transmission abnormity is the abnormity of the calling unit at the uppermost stage.
16. The apparatus of claim 10, wherein the means for analyzing the broken link confirms the broken link of the contextual information delivery if there is a loss of content of the information item, comprising:
and if the content of the information item is lost, confirming that the context information transmission link is broken, wherein the link reason is that the context information transmission is abnormal.
17. The apparatus of claim 16, further comprising:
and the service call stopping module is configured to stop the service call process when the reason for confirming the broken link of the context information transmission link is the abnormal context information transmission.
18. The apparatus of claim 16, further comprising:
a configuration failure determination module configured to execute, if there is no loss of content of the information item, reconstructing a transfer link of the context information according to a service call process; and if the reconstructed transmission link is broken, confirming that the broken link is caused by the configuration fault.
19. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of chain breakage detection according to any one of claims 1 to 9.
20. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of chain breakage detection according to any one of claims 1-9.
CN202110552235.1A 2021-05-20 2021-05-20 Method and device for detecting broken link and electronic equipment Active CN113315676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110552235.1A CN113315676B (en) 2021-05-20 2021-05-20 Method and device for detecting broken link and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110552235.1A CN113315676B (en) 2021-05-20 2021-05-20 Method and device for detecting broken link and electronic equipment

Publications (2)

Publication Number Publication Date
CN113315676A CN113315676A (en) 2021-08-27
CN113315676B true CN113315676B (en) 2022-11-04

Family

ID=77373950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110552235.1A Active CN113315676B (en) 2021-05-20 2021-05-20 Method and device for detecting broken link and electronic equipment

Country Status (1)

Country Link
CN (1) CN113315676B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010075727A1 (en) * 2008-12-31 2010-07-08 华为技术有限公司 Processing method for abnormal data transmission and path function entity
CN104583963A (en) * 2012-09-28 2015-04-29 英特尔公司 Predictive precaching of data based on context
CN110519337A (en) * 2019-08-05 2019-11-29 网宿科技股份有限公司 A kind of judgement of node state, acquisition method and state decision-making device, state acquisition device
CN111190747A (en) * 2019-12-20 2020-05-22 北京金山云网络技术有限公司 Message loss detection method and device for message queue
CN111711623A (en) * 2020-06-15 2020-09-25 深圳前海微众银行股份有限公司 Data verification method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015120878A1 (en) * 2014-02-11 2015-08-20 Nokia Solutions And Networks Oy Integrity control in service chaining

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010075727A1 (en) * 2008-12-31 2010-07-08 华为技术有限公司 Processing method for abnormal data transmission and path function entity
CN104583963A (en) * 2012-09-28 2015-04-29 英特尔公司 Predictive precaching of data based on context
CN110519337A (en) * 2019-08-05 2019-11-29 网宿科技股份有限公司 A kind of judgement of node state, acquisition method and state decision-making device, state acquisition device
CN111190747A (en) * 2019-12-20 2020-05-22 北京金山云网络技术有限公司 Message loss detection method and device for message queue
CN111711623A (en) * 2020-06-15 2020-09-25 深圳前海微众银行股份有限公司 Data verification method and device

Also Published As

Publication number Publication date
CN113315676A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN104618226B (en) A kind of information processing method, client and server
CN110290189A (en) A kind of container cluster management method, apparatus and system
CN110602056B (en) Service parameter transmission method and device
TWI603206B (en) Server cluster based data processing method and cluster based data processing system
CN110365724B (en) Task processing method and device and electronic equipment
CN109600375A (en) Message tracing method, device, electronic equipment and storage medium
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
CN109324962A (en) A kind of test method and equipment of the application program based on cloud internet of things technology
US11210194B2 (en) Distributed website load testing system running on mobile devices
CN108733545B (en) Pressure testing method and device
CN108512682B (en) Method and device for determining false terminal identification
CN109587351B (en) Call testing method, device, equipment and storage medium
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN108650123B (en) Fault information recording method, device, equipment and storage medium
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN113315676B (en) Method and device for detecting broken link and electronic equipment
CN111752819B (en) Abnormality monitoring method, device, system, equipment and storage medium
CN112073462B (en) Positioning method and device
CN115037653A (en) Service flow monitoring method and device, electronic equipment and storage medium
CN114385498A (en) Performance test method, system, computer equipment and readable storage medium
CN115913912A (en) Message interception and service link diagram generation method and device
CN112732765A (en) Method and device for determining experimental path and electronic equipment
CN109685662A (en) Investment data processing method, device, computer equipment and its storage medium
CN112948225A (en) Link monitoring method and device, monitoring equipment and storage medium
US11941421B1 (en) Evaluating and scaling a collection of isolated execution environments at a particular geographic location

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
GR01 Patent grant
GR01 Patent grant