Method and device for judging whether relationship graph is loaded normally

By taking a screenshot of the page container of the relationship graph in the display page, extracting the target object, and judging its area and effectiveness to match the number of nodes and entity content in the graph, the problem of the relationship graph not being loaded properly is solved and the loading of the relationship graph is realized. Accurate status judgment and troubleshooting improve user experience.

CN114064790BActive Publication Date: 2024-09-27YANCHENG TIANYANCHAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111354061.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-09-27
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

The relationship graph cannot be loaded normally, resulting in a decrease in user experience, and it is difficult to effectively judge and troubleshoot with existing technology.

Method used

By taking a screenshot of the page container of the relationship graph in the display page, the target object is extracted, and its region and validity are judged to match the number of nodes and entity content in the graph to determine whether the relationship graph is loaded normally.

Benefits of technology

It can effectively determine whether the relationship graph is loaded normally, provide a basis for troubleshooting, and improve user experience and system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114064790B
    Figure CN114064790B
Patent Text Reader

Abstract

An embodiment of the present application provides a method and device for determining whether a relationship graph is loaded normally, wherein a method for determining whether a relationship graph is loaded normally includes: determining a relationship graph displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph; performing a screenshot operation on the page container to obtain a container screenshot; performing target object extraction on the container screenshot; and determining whether the relationship graph is loaded normally based on the extracted result, thereby effectively determining a situation in which the relationship graph cannot be loaded normally, providing a basis for further troubleshooting and positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a method for determining whether a relationship graph is loaded normally, a device thereof, a computer storage medium, and an electronic device. Background Art

[0002] Based on big data solutions, through a series of deep mining such as cleaning, analysis, and sorting of collected enterprise data, comprehensive data query or classification query services are provided, such as querying enterprise-related information. For example, the internal structure of enterprises, institutions, groups and other organizations, and the relationship with related units, such as organizational structure relationship and investment relationship, are usually intuitively displayed based on the relationship map (relationship family tree). However, it often happens that the relationship map cannot be loaded normally, resulting in a decline in user experience. Summary of the invention

[0003] The embodiments of the present application provide a method and device for determining whether a relationship graph is loaded normally, a computer storage medium, and an electronic device, so as to overcome or alleviate the above-mentioned technical problems existing in the prior art.

[0004] The technical solution adopted in this application is:

[0005] A method for determining whether a relationship graph is loaded normally comprises:

[0006] Determine a relationship graph to be displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph;

[0007] Performing a screenshot operation on the page container to obtain a container screenshot;

[0008] Extracting a target object from the container screenshot;

[0009] According to the extracted results, it is determined whether the relationship graph is loaded normally.

[0010] Optionally, in one embodiment, judging whether the relationship map is loaded normally based on the extracted results includes: judging whether the relationship map is loaded normally based on the extracted area of ​​the target object; and / or judging whether the relationship map is loaded normally based on the validity of the target object.

[0011] Optionally, in one embodiment, judging whether the relationship graph is loaded normally based on the extracted areas of the target object includes: judging whether the number of areas of the target object extracted matches the number of nodes in the relationship graph; if so, judging that the relationship graph is loaded normally; otherwise, judging that the relationship graph is not loaded normally.

[0012] Optionally, in one embodiment, judging whether the relationship graph is loaded normally based on the extracted area of ​​the target object includes: judging whether the extracted target object matches the entity content of the relationship graph; if so, judging that the relationship graph is loaded normally; otherwise, judging that the relationship graph is not loaded normally.

[0013] Optionally, in one embodiment, determining the relationship graph to be displayed on the display page and the corresponding page container includes:

[0014] Determine a relationship graph displayed in a display page, and obtain a corresponding relationship between the relationship graph and a page container;

[0015] According to the corresponding relationship, a page container corresponding to the relationship graph is determined.

[0016] Optionally, in one embodiment, the performing a screenshot operation on the page container to obtain a container screenshot includes:

[0017] Generate screenshot instructions according to the configured screenshot components;

[0018] According to the screenshot instruction, a screenshot operation is performed on the page container to obtain a container screenshot.

[0019] Optionally, in one embodiment, the determining of the relationship graph to be displayed on the display page and the corresponding page container includes:

[0020] According to the calling address of the display page, the display page is accessed to display the relationship graph of the target subject.

[0021] Optionally, in one embodiment, according to the calling address of the display page, accessing the display page to display the relationship graph of the target subject includes:

[0022] Get the ID of the target subject;

[0023] According to the ID of the target subject, a calling address of the display page is generated.

[0024] Optionally, in one embodiment, the method further includes:

[0025] Real-time monitoring of data query requests;

[0026] The monitored data query request is parsed to obtain the ID of the target entity targeted by the data query request.

[0027] A device for determining whether a relationship graph is loaded normally, comprising:

[0028] A graph determination unit, used to determine a relationship graph to be displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph;

[0029] A screenshot unit, used to perform a screenshot operation on the page container to obtain a container screenshot;

[0030] An extraction unit, extracting a target object from the container screenshot;

[0031] The judging unit is used to judge whether the relationship graph is loaded normally according to the extracted result.

[0032] A computer storage medium, characterized in that a computer executable program is stored on the computer storage medium, and the computer executable program is run to implement any method described in the embodiments of the present application.

[0033] An electronic device, characterized in that the electronic device includes a memory and a processor, the memory is used to store a computer executable program, and the processor is used to run the computer executable program to implement any method described in the embodiments of the present application.

[0034] In an embodiment of the present application, a relationship graph displayed in a display page and a corresponding page container are determined, wherein the page container stores a displayable image drawn according to entity content in the relationship graph; a screenshot operation is performed on the page container to obtain a container screenshot; a target object is extracted from the container screenshot; and based on the extracted result, it is determined whether the relationship graph is loaded normally, thereby effectively determining a situation in which the relationship graph cannot be loaded normally, providing a basis for further troubleshooting and positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a scenario in which a user uses an application program according to an embodiment of the present application;

[0036] Figure 2 A schematic diagram of a flow chart of a method for determining whether a relationship map is loaded normally according to an embodiment of the present application;

[0037] Figure 3 A schematic diagram of a flow chart of a method for determining whether a relationship map is loaded normally according to an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the structure of a device for determining whether a relationship map is loaded normally according to an embodiment of the present application;

[0039] Figure 5 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0041] In an embodiment of the present application, a relationship graph displayed in a display page and a corresponding page container are determined, wherein the page container stores a displayable image drawn according to entity content in the relationship graph; a screenshot operation is performed on the page container to obtain a container screenshot; a target object is extracted from the container screenshot; and based on the extracted result, it is determined whether the relationship graph is loaded normally, thereby effectively determining a situation in which the relationship graph cannot be loaded normally, providing a basis for further troubleshooting and positioning.

[0042] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, devices, steps, etc. may be adopted. In other cases, well-known structures, methods, devices, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0043] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. The symbol " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0044] In this disclosure, unless otherwise clearly specified and limited, terms such as "connection" should be understood in a broad sense, for example, it can be an electrical connection or can communicate with each other; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this disclosure can be understood according to specific circumstances.

[0045] Figure 1 Schematic diagram of a scenario in which a user uses an application program according to an embodiment of the present application; Figure 1As shown, the application scenario is for a data query system, which includes a terminal 101 and an application server 102. The application server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal 101 and the above-mentioned application server 102 can be directly or indirectly connected via wireless communication (such as a network), and this application is not limited here.

[0046] In order to ensure the response speed and efficiency of the query, the application server 102 is provided with a reference database, an ES database, and a details database. The reference database stores reference ES data and details data, the ES database stores ES data, and the details database stores details data corresponding to the ES data. The ES data stored in the ES database and the details data stored in the details database are synchronized from the reference database. When a user uses the application to be tested installed on the terminal to query data, the retrieved result data comes directly from the ES database and the details database.

[0047] Specifically, the data stored in the above application server may come from the data production system 103, and the data production system 103 processes the acquired source data to obtain structured benchmark ES data and detail data.

[0048] Specifically, data related to the entity content of the relationship graph can be cached in the ES database and the description details database mentioned above, and when the relationship graph is displayed on the display page, it can be obtained from the ES database and the description details database.

[0049] To this end, in the embodiment of the present application, the following method is performed by the data production system, for example, specifically a data processing server in the data production system. Of course, in other embodiments, a data quality monitoring server can also be configured in the data production system to perform the following method.

[0050] In the following embodiments, one relationship map is used as an example for description. Of course, if there are multiple relationship maps, the solution of the following embodiment can be executed for each relationship map, which can be executed in parallel or in sequence.

[0051] Figure 2FIG. 1 is a flow chart of a method for determining whether a relationship map is loaded normally according to an embodiment of the present application; Figure 2 As shown, it includes:

[0052] S201, determining a relationship graph to be displayed on a display page and a corresponding page container;

[0053] In this embodiment, the display page may be a browser page, such as an H5 page, or other pages, which are not limited to uniqueness.

[0054] In this embodiment, the relationship map is, for example, an investment relationship map, or an organizational structure map, etc. The specific form of the relationship map is not particularly limited, for example, it can be in a network or tree form.

[0055] In this embodiment, the page container can be a page tag or an element tag. If it is applicable to a browser page, the page container can specifically be a div container.

[0056] Specifically, if there are multiple relationship graphs, the page containers correspond to the relationship graphs one-to-one, that is, for example, one relationship graph corresponds to one page container.

[0057] To this end, in this embodiment, determining the relationship graph to be displayed in the display page and the corresponding page container includes:

[0058] Determine a relationship graph displayed in a display page, and obtain a corresponding relationship between the relationship graph and a page container;

[0059] According to the corresponding relationship, a page container corresponding to the relationship graph is determined.

[0060] For example, the correspondence between the relationship graph and the page container is established through the ID of the relationship graph and the ID of the page container.

[0061] Here, it should be noted that, since the entity content to be displayed in the relationship graph is drawn into pictures in real time, the page container stores displayable pictures drawn according to the entity content in the relationship graph, such as drawing based on JavaScript scripts; in contrast, for other non-relationship graph content displayed on the display page, the corresponding page container is usually established based on canvas, and the corresponding entity content is directly stored in the page container instead of pictures.

[0062] S202, taking a screenshot of the page container to obtain a container screenshot;

[0063] In this embodiment, as mentioned above, since the entity content to be displayed by the relationship graph is drawn in real time as an image and stored in the page container, the container screenshot can be directly obtained by taking a screenshot of the page container in step S202. These container screenshots are actually screenshots of displayable images. In contrast, for other non-relational graph contents displayed on the display page, the corresponding page container is usually established based on canvas, and the corresponding entity content is directly stored in the page container instead of the image. Therefore, if the non-relational graph content is to be monitored, the page source code can be directly captured from the corresponding container to determine whether the non-relational graph content is displayed normally.

[0064] Specifically, the performing a screenshot operation on the page container to obtain a container screenshot includes:

[0065] S212, generating a screenshot instruction according to the configured screenshot component;

[0066] S212: According to the screenshot instruction, a screenshot operation is performed on the page container to obtain a container screenshot.

[0067] In this embodiment, a screenshot instruction is generated based on a screenshot component to trigger the screenshot operation, so that the screenshot operation can be automatically executed, thereby improving the efficiency of the method execution and avoiding human errors caused by manually triggering the screenshot operation.

[0068] Specifically, for a browser page, the screenshot component is, for example, a selenium tool. Of course, it should be noted that different screenshot components may be selected if the application scenario is different. Alternatively, a script may be used as the screenshot component.

[0069] S203, extracting a target object from the container screenshot;

[0070] In this embodiment, if the entity content in the relationship graph is usually expressed in words, since these words are presented in the form of pictures in the page container, when performing content recognition, text recognition is performed on the container screenshot to extract the text in the container screenshot, and the text is the target object.

[0071] In this embodiment, specifically, for example, an OCR (Optical Character Recognition) recognition model is used to perform content recognition on the container screenshot to extract text from the container screenshot.

[0072] It should be noted here that, in other embodiments, if the target object is not text but other content, a corresponding recognition model can be used.

[0073] S204: Determine whether the relationship graph is loaded normally according to the extracted results.

[0074] In this embodiment, since the relationship is displayed in nodes in the relationship map, each node has corresponding entity content, which is composed of text, but is displayed in the form of pictures. Therefore, each node will occupy a certain display area or have a display boundary. Therefore, in this embodiment, judging whether the relationship map is loaded normally according to the extracted results includes: judging whether the relationship map is loaded normally according to the extracted area of ​​the target object; and / or judging whether the relationship map is loaded normally according to the validity of the target object.

[0075] Specifically, judging whether the relationship graph is loaded normally based on the extracted areas of the target object includes: judging whether the number of areas of the extracted target object matches the number of nodes in the relationship graph; if so, judging that the relationship graph is loaded normally; otherwise, judging that the relationship graph is not loaded normally.

[0076] Exemplarily, for example, if the target object is text, for each node, the corresponding text will occupy a certain area on the display page when displayed as a picture. Specifically, for example, the area occupied by all text related to a node is regarded as a text area, and the extracted text areas are merged. For example, if the distance between two text areas is less than a set distance threshold, the two text areas are merged into one text area, and so on to obtain several text areas. If the number of text areas is equivalent to the number of nodes (for example, they are equal, or the difference is less than a set value), it can be determined that the relationship map is loaded normally, otherwise, it is determined that the relationship map is not loaded normally.

[0077] For example, in an investment relationship map, the name of the company corresponding to the node and the number of the shareholding ratio are displayed on the node. Since the text of the name and the shareholding ratio correspond to the same node, when merging text areas, they are text areas that should be merged and are thus merged into one text area.

[0078] Alternatively, judging whether the relationship graph is loaded normally based on the extracted area of ​​the target object includes: judging whether the extracted target object matches the entity content of the relationship graph; if so, judging that the relationship graph is loaded normally; otherwise, judging that the relationship graph is not loaded normally.

[0079] Specifically, the target object is described as text. In fact, the text of the entity content is unlikely to be less than the specified value. For example, the text in the name of a company is unlikely to be less than 4 characters. In this case, if the number of characters is less than the specified value, it can be determined that the extracted target object does not match the entity content of the relationship map. Otherwise, it can be determined that the extracted target object matches the entity content of the relationship map. By extension, for a text area, it is determined whether the number of the extracted characters is greater than the set number threshold. If it is greater, it is determined to be matched. Then it is determined whether the extracted target object matches the entity content of the relationship map, and further it can be determined that the relationship map is loaded normally; otherwise, it is determined that the relationship map is not loaded normally.

[0080] Alternatively, in other embodiments, the above-mentioned judgment based on the area of ​​the target object and based on the number of the characters are combined. For example, a judgment is first made based on the area of ​​the target object, and on this basis, for those relationship graphs judged to be loaded normally, a further judgment is made based on the number of the characters. Only when the results of the judgment based on the area of ​​the target object and the judgment based on the number of the characters both indicate a match, can it be determined that the relationship graph is loaded normally; otherwise, it is determined that the relationship graph is not loaded normally.

[0081] Of course, in other embodiments, the number of the characters is first judged, and for those relationship graphs that are judged to be loaded normally, further judgment is made based on the area of ​​the target object.

[0082] In specific applications, since the entity content to be displayed in the relationship graph is drawn into pictures in real time, the page container stores displayable pictures drawn according to the entity content in the relationship graph, such as drawing based on JavaScript scripts; in contrast, for other non-relational graph contents displayed on the display page, the corresponding page containers are usually established based on canvas, and the corresponding entity content is directly stored in the page container instead of pictures. Therefore, if the non-relational graph contents are to be monitored, the page source code can be directly captured from the corresponding container to determine whether these non-relational graph contents are displayed normally.

[0083] In the above embodiment, if the target object is not extracted in the container screenshot, it is determined that the relationship graph is not loaded normally.

[0084] Figure 3 FIG. 1 is a flow chart of a method for determining whether a relationship map is loaded normally according to an embodiment of the present application; Figure 3 As shown, it includes:

[0085] S301, accessing the display page according to the calling address of the display page to display the relationship graph of the target subject;

[0086] In this embodiment, for example, if the application scenario is to determine whether a relationship graph corresponding to a determined target subject is loaded normally, then according to the calling address of the display page, accessing the display page to display the relationship graph of the target subject includes:

[0087] Get the ID of the target subject;

[0088] According to the ID of the target subject, a calling address of the display page is generated.

[0089] Specifically, if the calling address is a URL address, the calling address of the display page can be generated by concatenating the ID of the target entity and the ID of the relationship graph based on the generation rule of the URL address. The target entity can be an enterprise or an individual.

[0090] Furthermore, if the solution of the embodiment of the present application is executed after the corresponding product is launched, or it is also called online monitoring, before obtaining the ID of the target entity, it also includes:

[0091] Real-time monitoring of data query requests;

[0092] The monitored data query request is parsed to obtain the ID of the target entity targeted by the data query request.

[0093] Based on the above method, the data query request initiated by the user is monitored, so that the relationship map of the target subject that the user is interested in can be judged, thereby improving the accuracy of the judgment.

[0094] S302, determining a relationship graph to be displayed on a display page and a corresponding page container;

[0095] S303, taking a screenshot of the page container to obtain a container screenshot;

[0096] S304, extracting a target object from the container screenshot;

[0097] S305: According to the extracted results, determine whether the relationship graph is loaded normally.

[0098] In this embodiment, the steps S302-S305 can refer to the above Figure 2 The description of the embodiments will not be repeated here.

[0099] In the above embodiment, when it is determined that the relationship map is not loaded normally, further troubleshooting and location are performed to solve the existing fault so that the relationship map can be loaded normally.

[0100] Above Figure 3 In the embodiment, the scheme of the embodiment of the present application is executed after the corresponding product is launched. Of course, in other embodiments, the scheme of the embodiment of the present application can also be executed in the testing phase before the product is launched, so as to ensure that after the product is launched, the situation where the relationship map cannot be loaded normally is minimized or avoided as much as possible, thereby further improving the user experience.

[0101] Figure 4 Schematic diagram of the structure of a device for judging whether a relationship map is loaded normally in an embodiment of the present application; Figure 4 As shown, it includes:

[0102] A graph determination unit 401 is used to determine a relationship graph to be displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph;

[0103] A screenshot unit 402 is used to perform a screenshot operation on the page container to obtain a container screenshot;

[0104] An extraction unit 403 extracts a target object from the container screenshot;

[0105] The judging unit 404 is used to judge whether the relationship graph is loaded normally according to the extracted result.

[0106] Optionally, in one embodiment, the judgment unit 404 is specifically used to: judge whether the relationship map is loaded normally according to the extracted area of ​​the target object; and / or judge whether the relationship map is loaded normally according to the validity of the target object.

[0107] Optionally, in one embodiment, the judgment unit 404 is specifically used to: judge whether the number of regions of the target object extracted matches the number of nodes in the relationship graph; if so, judge that the relationship graph is loaded normally; otherwise, judge that the relationship graph is not loaded normally.

[0108] Optionally, in one embodiment, the judgment unit 404 is specifically used to: judge whether the extracted target object matches the entity content of the relationship graph, if so, judge that the relationship graph is loaded normally; otherwise, judge that the relationship graph is not loaded normally.

[0109] Optionally, in one embodiment, the graph determination unit 401 is specifically used for:

[0110] Determine a relationship graph displayed in a display page, and obtain a corresponding relationship between the relationship graph and a page container;

[0111] According to the corresponding relationship, a page container corresponding to the relationship graph is determined.

[0112] Optionally, in one embodiment, the graph determination unit 401 is specifically used for:

[0113] Generate screenshot instructions according to the configured screenshot components;

[0114] According to the screenshot instruction, a screenshot operation is performed on the page container to obtain a container screenshot.

[0115] Optionally, in one embodiment, the device further comprises:

[0116] An access unit is used to access the display page according to the calling address of the display page to display the relationship graph of the target subject.

[0117] Optionally, in one embodiment, the access unit is specifically used to:

[0118] Get the ID of the target subject;

[0119] According to the ID of the target subject, a calling address of the display page is generated.

[0120] Optionally, in one embodiment, the device further comprises: a monitoring unit, configured to:

[0121] Real-time monitoring of data query requests;

[0122] The monitored data query request is parsed to obtain the ID of the target entity targeted by the data query request.

[0123] The embodiments of the present application also provide a computer storage medium, on which a computer executable program is stored, and the computer executable program is executed to perform any of the methods described in the embodiments of the present application.

[0124] Figure 5 Schematic diagram of the structure of the electronic device in the embodiment of the present application; Figure 5 As shown, the electronic device includes: a memory 501 and a processor 502, the memory stores a computer executable program, and the processor is used to run the computer executable program to implement the data processing method in any embodiment of the present application.

[0125] The above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for determining whether a relationship graph is loaded normally, characterized in that: include: Determine a relationship graph to be displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph; Performing a screenshot operation on the page container to obtain a container screenshot; Extracting a target object from the container screenshot; According to the extraction result, judging whether the relationship map is loaded normally; The entity content to be displayed in the relationship graph is drawn in real time as an image and stored in a page container. The page container is screenshotted to directly obtain a container screenshot, which can display images. For other non-relational graph contents displayed on the display page, the corresponding page container is established based on canvas. The corresponding entity content is directly stored in the page container instead of the image. When the non-relational graph content needs to be monitored, the page source code is directly captured from the corresponding container to determine whether the non-relational graph content is displayed normally. The step of determining the relationship graph to be displayed on the display page and the corresponding page container includes: Determine a relationship graph displayed in a display page, and obtain a corresponding relationship between the relationship graph and a page container; According to the corresponding relationship, a page container corresponding to the relationship graph is determined.

2. The method according to claim 1, characterized in that The step of judging whether the relationship graph is loaded normally according to the extracted result includes: According to the extracted area of ​​the target object, determining whether the relationship map is loaded normally; and / or, According to the validity of the extracted target object, it is determined whether the relationship graph is loaded normally.

3. The method according to claim 2, characterized in that The determining whether the relationship graph is loaded normally based on the extracted areas of the target object includes: determining whether the number of areas of the target object extracted matches the number of nodes in the relationship graph; if so, determining that the relationship graph is loaded normally; otherwise, determining that the relationship graph is not loaded normally.

4. The method according to claim 2, characterized in that: The determining whether the relationship graph is loaded normally based on the extracted area of ​​the target object includes: determining whether the extracted target object matches the entity content of the relationship graph; if so, determining that the relationship graph is loaded normally; otherwise, determining that the relationship graph is not loaded normally.

5. The method according to claim 1, characterized in that The performing a screenshot operation on the page container to obtain a container screenshot includes: Generate screenshot instructions according to the configured screenshot components; According to the screenshot instruction, a screenshot operation is performed on the page container to obtain a container screenshot.

6. The method according to claim 1, characterized in that The determining of the relationship graph to be displayed on the display page and the corresponding page container previously includes: According to the calling address of the display page, the display page is accessed to display the relationship graph of the target entity.

7. The method according to claim 6, characterized in that Accessing the display page to display the relationship graph of the target subject according to the calling address of the display page includes: Get the ID of the target subject; According to the ID of the target subject, a calling address of the display page is generated.

8. The method according to claim 7, characterized in that The method further comprises: Real-time monitoring of data query requests; The monitored data query request is parsed to obtain the ID of the target entity targeted by the data query request.

9. A device for determining whether a relationship graph is loaded normally, characterized in that: include: A graph determination unit, used to determine a relationship graph to be displayed in a display page, and a corresponding page container, wherein the page container stores a displayable image drawn according to entity content in the relationship graph; A screenshot unit, used to perform a screenshot operation on the page container to obtain a container screenshot; An extraction unit, extracting a target object from the container screenshot; A judging unit, used to judge whether the relationship graph is loaded normally according to the extracted result; The entity content to be displayed in the relationship graph is drawn in real time as an image and stored in a page container. The page container is screenshotted to directly obtain a container screenshot, which can display images. For other non-relational graph contents displayed on the display page, the corresponding page container is established based on canvas. The corresponding entity content is directly stored in the page container instead of the image. When the non-relational graph content needs to be monitored, the page source code is directly captured from the corresponding container to determine whether the non-relational graph content is displayed normally. Wherein, the graph determination unit is specifically used for: Determine a relationship graph displayed in a display page, and obtain a corresponding relationship between the relationship graph and a page container; According to the corresponding relationship, a page container corresponding to the relationship graph is determined.

10. A computer storage medium, characterized in that: The computer storage medium stores a computer executable program, and the computer executable program is executed to implement any one of the methods of claims 1-8.

11. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer executable program, and the processor is used to run the computer executable program to implement any one of the methods of claims 1-8.