Downtime information analysis method and system, electronic equipment and storage medium

By storing all symbol files in the cloud and local symbol file storage space, and using routing search to obtain target symbol files for debugging, the problem of excessive symbol files occupied is solved, and the efficiency of downtime information parsing is improved.

CN119537074APending Publication Date: 2025-02-28ZHUHAI SEASUN MOBILE GAME TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411527508.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When the version is frequently built, the application or operating system generates a large number of symbol files, resulting in excessive local storage pressure and affecting the efficiency of downtime information parsing.

Method used

Store all symbol files into symbol file storage space, including cloud and local storage space. The target symbol file is obtained through routing retrieval processing, and debug and analyze it to determine the cause of the downtime.

Benefits of technology

Reduces local storage pressure, saves local disk space usage, and improves the efficiency of downtime information parsing by quickly querying target symbol files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537074A_ABST
    Figure CN119537074A_ABST
Patent Text Reader

Abstract

The invention provides a downtime information analysis method and system, electronic equipment and a storage medium, and the downtime information analysis method comprises the steps: storing a full symbol file to a symbol file storage space, carrying out the routing retrieval processing of the symbol file storage space, obtaining a target symbol file, carrying out the debugging and analysis processing of the target symbol file, and obtaining the downtime information. And obtaining a downtime reason. According to the technical scheme of the embodiment, the symbol file is stored and retrieved in combination with the cloud, so that the pressure of local storage can be reduced, the symbol file can be quickly queried to be analyzed, the analysis efficiency of the downtime information is improved, and the method and the device can be widely applied to the technical field of computers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a downtime information analysis method, system, electronic device and storage medium. Background Art

[0002] Downtime refers to the situation where an application or operating system stops running due to hardware failure, software problems, network interruption, or power failure, and is unable to execute user requests or provide services. In related technologies, developers can use debugging tools and symbol files to analyze the downtime information of applications or operating systems, find the causes of downtime, and perform effective troubleshooting. However, when versions are frequently built, applications or operating systems will generate a large number of symbol files, and a large number of symbol files will occupy a lot of space during the upload and storage process, resulting in excessive local storage pressure and affecting the efficiency of downtime information parsing. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a downtime information analysis method, system, electronic device and storage medium, which can improve the efficiency of downtime information analysis.

[0004] On the one hand, an embodiment of the present invention provides a method for analyzing downtime information, comprising:

[0005] Store the full symbol file into the symbol file storage space;

[0006] Performing routing retrieval processing on the symbol file storage space to obtain a target symbol file;

[0007] The target symbol file is debugged and analyzed to obtain the cause of the downtime.

[0008] According to some embodiments of the present invention, the symbol file storage space includes a cloud storage space and a local storage space, and storing the full symbol file in the symbol file storage space includes:

[0009] Uploading the full symbol file to the cloud for storage;

[0010] Determine a hotspot symbol file from the full symbol file, and cache the hotspot symbol file to the local storage space.

[0011] According to some embodiments of the present invention, uploading the full symbol file to the cloud for storage includes:

[0012] Obtain signature authentication parameters and cloud storage directory parameters;

[0013] The cloud is connected and verified based on the signature authentication parameters, and after the verification is passed, the symbol files to be uploaded are extracted from the full symbol files based on the cloud storage directory parameters and uploaded to the cloud for storage until the full symbol files are all stored in the cloud.

[0014] According to some embodiments of the present invention, extracting the to-be-uploaded symbol file from the full symbol file based on the cloud storage directory parameter and uploading it to the cloud for storage includes:

[0015] Performing parameter parsing processing on the cloud storage directory parameters to obtain a symbol repository and the symbol file to be uploaded;

[0016] Performing information extraction processing on the symbol file to be uploaded to obtain symbol file information;

[0017] generating a target path in the symbol repository based on the symbol file information;

[0018] The symbol file to be uploaded is uploaded to the cloud for storage based on the target path.

[0019] According to some embodiments of the present invention, determining the hotspot symbol file from the full symbol file includes:

[0020] Get debug logs;

[0021] Based on the debug log, a symbol file that has been requested for symbol matching in the past is searched from the full symbol file and used as the hotspot symbol file.

[0022] According to some embodiments of the present invention, performing routing retrieval processing on the symbol file storage space to obtain a target symbol file includes:

[0023] Obtaining a symbol file retrieval request through a transit server, and routing the symbol file retrieval request to the local storage space;

[0024] Performing a search process on the local storage space based on the symbol file search request to obtain a search result;

[0025] When the search result shows that the target symbol file exists, returning the local storage address of the target symbol file, and acquiring the target symbol file from the local storage space based on the local storage address;

[0026] When the search result is empty, the symbol file search request is routed to the cloud, and the target symbol file is retrieved through the cloud.

[0027] According to some embodiments of the present invention, the step of obtaining the target symbol file through the cloud comprises:

[0028] Performing a symbol file search process on the cloud based on the symbol file search request to obtain a cloud storage address of the target symbol file, wherein the cloud storage address is a storage address of the target symbol file in the cloud;

[0029] Downloading the target symbol file to the local storage space based on the cloud storage address, and returning the local storage address of the target symbol file, where the local storage address is the storage address of the target symbol file in the local storage space;

[0030] The target symbol file is obtained from the local storage space based on the local storage address.

[0031] According to some embodiments of the present invention, downloading the target symbol file to the local storage space based on the cloud storage address includes:

[0032] Sending the cloud storage address to a message queue;

[0033] The target symbol file is obtained by accessing the cloud based on the message queue, and the target symbol file is asynchronously downloaded to the local storage space.

[0034] According to some embodiments of the present invention, the step of asynchronously downloading the target symbol file to the local storage space includes:

[0035] Determine the target symbol file as a hotspot symbol file;

[0036] A parallel execution program is started to download the hotspot symbol file from the cloud to the local storage space.

[0037] According to some embodiments of the present invention, the debugging and analyzing the target symbol file to obtain the cause of the downtime includes:

[0038] Perform symbol debugging on the target symbol file through a debugging tool to obtain debugging information;

[0039] Function call stack analysis is performed based on the debugging information to obtain the cause of the downtime.

[0040] On the other hand, an embodiment of the present invention provides a downtime information analysis system, including:

[0041] A storage module is configured to store the full symbol file in the symbol file storage space;

[0042] A retrieval module is configured to perform routing retrieval processing on the symbol file storage space to obtain a target symbol file;

[0043] The analysis module is configured to debug and analyze the target symbol file to obtain the cause of the downtime.

[0044] On the other hand, an embodiment of the present invention provides an electronic device comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the downtime information parsing method as described above.

[0045] On the other hand, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the downtime information parsing method as described above.

[0046] One of the above technical solutions has the following advantages or beneficial effects: The present application provides a method, system, electronic device and storage medium for analyzing downtime information, which stores the full symbol file in a symbol file storage space, performs route retrieval processing on the symbol file storage space to obtain a target symbol file, and debugs and analyzes the target symbol file to obtain the cause of the downtime. According to the technical solution of this embodiment, on the one hand, by storing symbol files in a symbol file storage space, local storage pressure can be reduced and local disk space occupancy can be saved. On the other hand, by performing route retrieval on the symbol file storage space, symbol files can be quickly queried and obtained, thereby improving the efficiency of downtime information analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of a method for analyzing downtime information provided by an embodiment of the present invention;

[0048] Figure 2 yes Figure 1 Flow chart of step S101 in FIG.

[0049] Figure 3 It is a schematic diagram of the structure of a symbol file storage space provided by an embodiment of the present invention;

[0050] Figure 4 yes Figure 2 Flow chart of step S201;

[0051] Figure 5 It is a schematic diagram of uploading a full symbol file provided by an embodiment of the present invention;

[0052] Figure 6 yes Figure 4 Flow chart of step S402;

[0053] Figure 7 It is a structural diagram of a downtime information analysis system provided by an embodiment of the present invention;

[0054] Figure 8 It is a structural diagram of an electronic device provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0055] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0056] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0057] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0058] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0059] Before describing the embodiments of the present invention in detail, some nouns and terms involved in the embodiments of the present invention are first described. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.

[0060] 1) WinDbg (Windows Debugger) is a powerful debugging tool developed by Microsoft for analyzing errors, crashes, and performance issues in Windows operating systems, kernel-mode drivers, and user-mode applications. It provides an interactive debugging environment that allows developers to deeply analyze code and perform troubleshooting.

[0061] 2) Symbol files are data information files that contain debugging information of application binary files. When debugging applications, symbol files can help developers better understand and track the execution process of the program, thereby locating and solving problems more effectively.

[0062] 3) The cloud is a software platform that uses application virtualization technology, integrating multiple functions such as software search, download, use, management, and backup. Through this platform, all kinds of commonly used software can be encapsulated in an independent virtualized environment, so that the application software will not be coupled with the system, achieving the purpose of green software use.

[0063] In related technologies, developers can use WinDbg debugging tools and symbol files to deeply analyze the crash information of applications or operating systems, find the causes of crashes, and perform effective troubleshooting. Since symbol files need to be stored and retrieved during the parsing process, the retrieval time may be too long, resulting in low parsing efficiency. Especially when symbol files need to be frequently built, since each software or application will generate symbol files with different identification numbers when iterating versions, this will cause a large number of symbol files to be uploaded and stored, resulting in a huge space occupation.

[0064] For example, for a large-scale game that supports mainstream clients such as Windows, Xbox, and PS5, a debugging tool is needed to analyze the downtime of the game, that is, the symbol files corresponding to each version and each platform are needed. Generally speaking, the space occupied by the main symbol files of a large-scale game is relatively large, usually up to about 2G, or even larger. Even if a symbol file is calculated according to about 2G, there are dozens of symbol files in a version, so a single version will generate files that occupy hundreds of G space. According to the progress of agile development, two or three small versions can be generated every day. When the build pipeline is constantly packaged, the space occupied will be multiplied several times, resulting in files that occupy 300G to 400G of space every day. This is a huge pressure on the local disk space, and the machine resources consumed are also very large. When the debugging tool retrieves the symbol file, the query time will be too long due to too many symbol files, resulting in low efficiency in parsing downtime information.

[0065] Therefore, an embodiment of the present invention provides a method, system, electronic device and storage medium for analyzing downtime information. The solution stores the full symbol file in a symbol file storage space, performs route retrieval processing on the symbol file storage space to obtain a target symbol file, and debugs and analyzes the target symbol file to obtain the cause of the downtime. According to the technical solution of this embodiment, on the one hand, by storing symbol files in a symbol file storage space, local storage pressure can be reduced and local disk space can be saved. On the other hand, by performing route retrieval on the symbol file storage space, symbol files can be quickly queried and obtained, thereby improving the efficiency of downtime information analysis.

[0066] In the present invention, a downtime information analysis method, system, electronic device and storage medium are provided, which are described in detail one by one in the following embodiments.

[0067] The processing process of a downtime information parsing method provided by an embodiment of the present invention can cover most test application scenarios, so that testers can quickly parse downtime information to obtain the cause of the downtime. Specifically, before the test starts, the tester can store the full symbol file generated by the operating system or application software in the symbol file storage space at the back end, and the symbol file storage space includes cloud and local storage space. When testing, the designer sends a retrieval request to the symbol file storage space through interactive tools such as the operating system or website pages at the front end, and performs routing retrieval on the symbol file storage space through the back end to obtain the target symbol file to be processed. The designer loads the retrieved target symbol file into the debugging tool, and performs stack information analysis on the crash dump file of the application or operating system through the back end to obtain the cause of the downtime. The embodiment of the present invention reduces the local storage pressure by storing the full symbol file in the symbol file storage space, and obtains the target symbol file by performing routing retrieval on the symbol file storage space, thereby improving the efficiency of file retrieval, thereby improving the efficiency of downtime information parsing.

[0068] The downtime information analysis method provided in the embodiment of the present invention can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as 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 software can be an application that implements the image processing method, etc., but is not limited to the above forms.

[0069] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0070] Reference Figure 1 , Figure 1 This is a flow chart of a method for analyzing downtime information provided by an embodiment of the present invention. The method for analyzing downtime information includes but is not limited to steps S101 to S103:

[0071] Step S101, storing the full symbol file into the symbol file storage space.

[0072] Specifically, the full symbol file is all the symbol files generated when the software is created, which may include symbol files of different platforms or different versions. Among them, the symbol file is generated by the compiler and linker when creating a binary image file, and contains the symbol information generated during the image file compilation and linking process. These symbol information are used to debug and analyze the program, and provide detailed information such as the name, type and address of global variables, local variables, functions, structures and other elements in the program. The symbol file storage space is a storage space pre-set in an embodiment of the present invention for storing symbol files, including cloud and local storage space. The symbol file storage space can reduce local storage pressure and improve data processing efficiency.

[0073] In actual applications, the full symbol file is all the symbol files generated when the software is created or when a version iteration is generated. The target symbol file to be processed is obtained by retrieving the full symbol file. When the program crashes or an error occurs, the target symbol file is loaded through the debugging tool to analyze the context of the error, including which function or variable caused the error, or the symbol file is used to parse the program's call stack to determine which functions or code segments take up the most processing time or memory, thereby obtaining the cause of the downtime. Among them, the symbol file storage space includes cloud and local storage space. In some feasible embodiments, all full symbol files can be directly stored in the cloud, and the local storage space no longer stores symbol files. The corresponding file index can also be stored through the local storage space, and a part of the symbol file can also be stored through the local storage space. The embodiment of the present invention can save system resources by storing the full symbol file in the symbol file storage space and utilizing the cloud storage capability to reduce the pressure on local storage.

[0074] For example, in the development and maintenance process of a large-scale game, there are symbol files of different platforms and symbol files of different versions. All symbol files of the large-scale game are stored as full symbol files in a pre-set symbol file storage space. When the large-scale game crashes, the corresponding symbol files can be retrieved from the symbol file storage space to perform crash information analysis and obtain the crash cause. It can be imagined that the symbol files retrieved can not only be used to analyze the crash of the application, but can also be used to analyze and process other fault conditions of the application.

[0075] Step S102, performing routing retrieval processing on the symbol file storage space to obtain a target symbol file.

[0076] Specifically, the symbol file storage space refers to the space used to store symbol files. In the embodiment of the present application, the symbol file storage space may include cloud and local storage spaces. Routing retrieval refers to routing and forwarding symbol file requests to different storage spaces for symbol file retrieval. Symbol file requests refer to requests sent by the client to the server to obtain symbol files. The request type may be a Hypertext Transfer Protocol (HTTP) request. The target symbol file refers to the symbol file that needs to be parsed or loaded, that is, the symbol file required for the symbol file request.

[0077] In actual applications, when an application crashes or other failure occurs, a routing search is performed on the symbol file storage space to obtain a target symbol file, which is used to parse the crash information or failure information. The symbol file storage space is routed and searched by obtaining a corresponding symbol file request, and the symbol file request is routed to different storage spaces for retrieval to find the corresponding target symbol file.

[0078] Exemplarily, when an application crashes, a symbol file request is sent to the server through the client, and the server performs a route search of the symbol file storage space, where the symbol file storage space includes cloud and local storage space. The symbol file request can be sent to the local for retrieval first, or it can be sent to the cloud for retrieval first. Corresponding routes can be set according to different situations to retrieve the target symbol file, and then the target symbol file can be analyzed to obtain the cause of the crash.

[0079] Step S103, debugging and analyzing the target symbol file to obtain the cause of the downtime.

[0080] Specifically, the target symbol file refers to the symbol file that needs symbol debugging, which is used to debug and analyze the application. The cause of the downtime can be hardware failure, software problem, network interruption or power failure, etc. The specific cause can be obtained by debugging and analyzing the symbol file.

[0081] In actual applications, when an application crashes, the corresponding symbol file is searched for in the symbol file storage space, and the symbol file is loaded into the debugging tool to parse the address in the application and convert it into readable function names, variable names, etc., so as to facilitate debugging by developers. Symbol files can also be used to analyze the context in which the error occurred, find the corresponding function or variable that caused the error, and parse the program's call stack to locate the location of the fault.

[0082] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention can utilize cloud storage capabilities to reduce local storage pressure by storing the full symbol file in the symbol file storage space, and improve storage efficiency by compressing and storing in the cloud. The cloud storage price is also relatively cheap, which reduces storage costs. At the same time, by performing routing retrieval processing on the symbol file storage space to obtain the target symbol file, the embodiment of the present invention can quickly find the corresponding symbol file, reducing the time cost of file retrieval and improving the efficiency of downtime information analysis.

[0083] Reference Figure 2In one implementation of the embodiment of the present invention, the symbol file storage space includes a cloud storage space and a local storage space, and storing the full symbol file in the symbol file storage space includes:

[0084] Step S201, uploading the full symbol file to the cloud for storage;

[0085] Step S202, determining a hotspot symbol file from the full symbol file, and caching the hotspot symbol file to the local storage space.

[0086] Specifically, the symbol file storage space of the embodiment of the present invention includes cloud and local storage space, wherein the cloud is used to store full symbol files, and the local storage space is used to store hotspot symbol files. Full symbol files are all symbol files generated during the development or maintenance of the software, and hotspot symbol files are part of the symbol files in the full symbol files, specifically symbol files that require symbol debugging. Since the number of symbol files is very large, only these important symbol files need to be debugged during debugging, that is, the hotspot symbol file is a specific symbol file in the full symbol file, which can be obtained by pre-defining the symbol file, or by determining the hotspot symbol file based on the access situation.

[0087] In practical applications, see Figure 3 , Figure 3 A schematic diagram of the structure of a symbol file storage space provided for an embodiment of the present invention. The symbol file storage space of the embodiment of the present invention includes a cloud and a local storage space. The cloud is used to store full symbol files, and the local storage space is used to store hotspot symbol files. Specifically, the embodiment of the present invention uploads the full symbol file to the cloud for storage, then determines the hotspot symbol file from the full symbol file, and stores the hotspot symbol file in the local storage space. At this time, the cloud can store the full symbol file and store part of the symbol file in the local storage space, which greatly saves local disk space and avoids too much local space being occupied by various versions of symbol files. By storing symbol files in conjunction with the cloud, the embodiment of the present application can reduce storage costs and alleviate the pressure of local storage, making it easier to perform subsequent analysis and processing of downtime information.

[0088] Exemplarily, when an application generates a symbol file, an embodiment of the present invention stores the full symbol file in the cloud, and the full symbol file can be uploaded to the cloud through a symbol storage tool for symbol management and debugging. Then, the hotspot symbol file is determined from the full symbol file, and the hotspot symbol file is cached in the local storage space. At this time, the hotspot symbol file can be stored in the cloud and the local storage space at the same time, which can ensure the consistency and security of the data, avoid data loss during local storage, and thus fail to find the corresponding symbol file. At the same time, the hotspot symbol file is cached in the local storage space, which is convenient for quickly finding the corresponding symbol file and improves the efficiency of retrieval.

[0089] It can be understood that the embodiment of the present invention stores the full symbol file in the symbol file storage space, and can store the symbol file in combination with the cloud and local storage space. Since the space occupied by the symbol file is large, compared with storing all symbol files in the local space, the embodiment of the present invention alleviates the pressure of local storage. At the same time, storing hot symbol files in the local storage space can also facilitate quick search of symbol files, thereby improving data processing efficiency.

[0090] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention can store symbol files in the cloud by storing the full symbol files in the symbol file storage space, which can reduce storage costs and alleviate the pressure on local storage. By caching hot symbol files in the local storage space, it is convenient to search for symbol files, thereby improving the efficiency of file retrieval.

[0091] See also Figure 4 In one implementation of the embodiment of the present invention, uploading the full symbol file to the cloud for storage includes:

[0092] Step S401, obtaining signature authentication parameters and cloud storage directory parameters;

[0093] Step S402, based on the signature authentication parameters, the cloud is connected to verify, and after the verification is passed, the symbol files to be uploaded are extracted from the full symbol files based on the cloud storage directory parameters and uploaded to the cloud for storage until all the full symbol files are stored in the cloud.

[0094] Specifically, signature authentication parameters refer to parameters used for identity authentication and authorization, usually including access key parameters (Access Key, AK) and secret key parameters (Secret Key, SK), wherein the access key parameters are used to identify the identity of the requester, and the secret key parameters are used to verify the identity of the requester and ensure the integrity of the message. Signature authentication parameters can establish a secure communication channel between the client and the server. For example, in a cloud storage service, users need to provide signature authentication parameters of the cloud storage service to obtain access rights or perform specific operations to ensure that users or applications can safely access restricted resources or services. Cloud storage directory parameters (bucket) refer to a directory or container in the cloud storage service for storing and organizing data. In cloud storage services, the cloud storage directory is the basic organizational unit of data. The symbol file to be uploaded refers to the symbol file that needs to be uploaded in the full symbol file. The embodiment of the present invention uploads the symbol files one by one to the cloud through parameter transmission. During the upload process, the symbol file that currently needs to be uploaded is the symbol file to be uploaded.

[0095] In actual applications, symbol files are usually added to the symbol store using the Windows symbol store tool (Symbol Store). The symbol store tool uses the symstore.exe add command to store symbol files. The common usage of the symstore.exe add command is: "symstore add / f<symbo l_fi le_path> / s<symbo l_store_path> / t<target_path> / v<vers ion> / c <comment>". In this command, " / f<symbo l_fi le_path> "Specifies the path of the symbol file to be added to the symbol store." / s<symbo l_store_path> "Specifies the root path for symbol storage." / t<target_path> " represents an optional parameter that specifies the target path of the symbol file in the symbol store. " / v<vers ion> " represents an optional parameter used to specify the version number of the symbol file. " / c <comment>" indicates an optional parameter, which is used to specify the comment description of the symbol file. This command is used to add the symbol file to the symbol storage for symbol management and debugging. As can be seen from the command, the symbol upload tool does not support direct upload to the cloud. It only stores the symbol file in the specified symbol file server. However, the embodiment of the present invention needs to upload the full symbol file to the cloud instead of the local or symbol file server. Since the symbol storage tool itself does not support uploading to the cloud, the embodiment of the present invention transforms the symbol storage tool to support cloud upload, and uploads the full symbol file to the cloud for storage through the signature authentication parameter and the cloud storage directory parameter. Please refer to Figure 5 , Figure 5 This is a schematic diagram of uploading a full symbol file provided by an embodiment of the present invention, wherein the original compressed file is the original state of the full symbol file, and the symbol files are uploaded to the cloud storage one by one through the upload command "symstore.exe add cmd", for example, the A symbol file, the B symbol file and the C symbol file are uploaded to the cloud without local storage. Specifically, when traversing the symbol files through the symbol storage tool, the local or other symbol file servers are no longer stored, but the parameter transmission form is used to compress and upload the full symbol files to the cloud one by one, and three new parameters are added, namely the access key parameter ak, the secret key parameter sk and the cloud storage directory parameter bucket required for uploading to the cloud. With these three parameters, the file can be uploaded to the specified cloud. Specifically, the cloud is connected and verified through the signature authentication parameter, the request end is authenticated through the signature authentication parameter, and after the verification is passed, the symbol files to be uploaded are extracted from the full symbol file based on the cloud storage directory parameter and uploaded to the cloud for storage, until all the full symbol files are stored in the cloud.

[0096] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention can use cloud storage to reduce storage costs by uploading the full symbol file to the cloud for storage. In addition, the embodiment of the present invention can upload the full symbol file to the cloud for storage through signature authentication parameters and cloud storage directory parameters by modifying the symbol file storage tool, which reduces the pressure on local storage and is conducive to improving the efficiency of downtime information analysis.

[0097] Reference Figure 6 In one implementation of the embodiment of the present invention, the step of extracting the symbol file to be uploaded from the full symbol file based on the cloud storage directory parameter and uploading it to the cloud for storage includes:

[0098] Step S601, performing parameter parsing processing on the cloud storage directory parameters to obtain the symbol storage library and the symbol file to be uploaded;

[0099] Step S602, performing information extraction processing on the symbol file to be uploaded to obtain symbol file information;

[0100] Step S603, generating a target path in the symbol repository based on the symbol file information;

[0101] Step S604: uploading the symbol file to be uploaded to the cloud for storage based on the target path.

[0102] Specifically, the symbol repository refers to a repository in the cloud for storing symbol files, which can be object storage, block storage, file storage and other storage methods. The symbol file to be uploaded refers to the symbol file that needs to be uploaded at present, that is, the symbol file that needs to be uploaded to the cloud. The symbol file information is the key information of the symbol file to be uploaded, which may include information such as a globally unique identifier, a symbol cache identifier, and a file name. Among them, the globally unique identifier (GUID) is an important identifier in the symbol file. When the compiler generates a portable executable file (PE) module, a GUID value will be generated in the debugging information, and this GUID value will also be recorded in the symbol file. This GUID value will change every time the compilation and connection are made, and is used to ensure the matching of the symbol file and the module file. Only when the GUID values ​​in the symbol file and the module file are equal, can normal debugging be performed and the correct symbol information be obtained. The symbol cache identifier (Age) is used to identify the cache of the symbol file. When using the symbol file, the Age value can help the debugger determine the version and timeliness of the symbol file. The debugger will use the Age value to determine whether it needs to download a new symbol file or whether it can use the old version in the cache. During the debugging process, this key information is essential for locating source code, line numbers, and other information, as well as ensuring that the symbol file matches the module file.

[0103] In practical applications, the embodiment of the present invention can obtain the symbol repository and the symbol file to be uploaded by performing parameter parsing on the cloud storage directory parameters. It is conceivable that the embodiment of the present invention can also receive command line parameters, which include product names and other optional parameters, such as the version number of the symbol file, annotations to the symbol file, etc. When parsing to obtain the symbol repository and the symbol file to be uploaded, the embodiment of the present invention can also verify whether the input parameters are valid, such as checking whether the path of the symbol file to be uploaded exists, whether the path of the symbol repository is valid, etc. Then, the embodiment of the present invention obtains the symbol file information by performing information extraction processing on the symbol file to be uploaded, including information such as a globally unique identifier, a symbol cache identifier, and a file name. The embodiment of the present invention can also determine the type of the symbol file based on the symbol file information, so as to perform different processing according to different symbol file types. For example, the PDB (Program Database) file is a file used to store debugging information in the Windows system. When using a debugger, the PDB file can be automatically loaded by configuring the debugger options so as to view information such as source code, variables, and function calls during the debugging process. DWARF (Debugging With Attributed Record Formats) is a standard format for storing debugging information. It is widely used in Unix and Linux systems. Most debuggers support the DWARF format and can directly load DWARF files to debug programs. Stabs (Symbo l Tab le) files are a file format for storing program symbol information. They are usually stored in text form and can be viewed and edited using a text editor. Therefore, a special conversion tool is required to convert Stabs files into debugging information files of other formats for use in specific debugging environments. The target path is then generated in the symbol repository based on the extracted symbol file information. It can be imagined that the target path can include globally unique identifiers, symbol cache identifiers, file names, and other information. For example, for a PDB file, the path format may be "<store_path> \<fi lename> .pdb\ <guid> <age>\<fi lename> .pdb", where "<store_path> " represents the root directory of the symbol repository, "<fi lename> " indicates the name of the symbol file to be uploaded, ".pdb" indicates the file format of the symbol file to be uploaded, <guid>" represents the globally unique identifier of the symbol file to be uploaded, " <age>" represents the symbol cache identifier of the symbol file to be uploaded. In the embodiment of the present invention, the target path is generated by using the symbol file information as the access path, and the generated target path is created in the symbol repository to ensure that the symbol file can be correctly stored and accessed. After obtaining the target path, the symbol file to be uploaded can be uploaded to the specified target path, so as to be stored in the cloud. In a feasible embodiment, the symbol file to be uploaded can be copied to the generated target path. If a file with the same name already exists in the target path, it is overwritten or skipped as needed, and then the local file of the symbol file to be uploaded is deleted.

[0104] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention extracts the symbol files to be uploaded from the full symbol files based on the cloud storage directory parameters and uploads them to the cloud for storage. The symbol files to be uploaded can be uploaded to the cloud by modifying the symbol storage tool, so that the symbol files are no longer stored locally or on other symbol file servers, thereby reducing local storage pressure and improving data processing efficiency.

[0105] In an implementation of the embodiment of the present invention, determining the hotspot symbol file from the full symbol file includes:

[0106] Get debug logs;

[0107] Based on the debug log, a symbol file that has been requested for symbol matching in the past is searched from the full symbol file and used as the hotspot symbol file.

[0108] Specifically, debug log refers to a tool used to record errors, warnings, information, and debugging information during software development and troubleshooting. Full symbol files refer to all symbol files generated during software development and maintenance. Hot symbol files are important partial symbol files. Among them, hot symbol files refer to symbol files required for real analysis of downtime causes, and can be symbol files that have been requested for symbol matching.

[0109] In actual applications, by obtaining the debug log, the debug log records the symbol files that were requested for symbol matching when the failure occurred, and these symbol files are used as hot symbol files. When the debugging tool executes the debugging command, the symbol files required are used as hot symbol files. By saving these hot symbol files locally, it is convenient to quickly resolve the downtime next time. Symbol files that have not been parsed and retrieved will not be saved locally, which greatly saves local disk space and avoids too much local space being occupied by various versions of symbol files.

[0110] It is conceivable that the embodiment of the present invention can also determine hot symbol files according to the access frequency of the symbol files, that is, the symbol files with very high access frequency are regarded as hot symbol files. These symbol files are frequently accessed in a certain period of time, and may be high-frequency query results, key variables in system operation, or information that is accessed intensively in the current debugging operation.

[0111] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention determines the hotspot symbol file from the full symbol file, and stores the hotspot symbol file in the local storage space, which facilitates the quick search of the symbol file, thereby improving the efficiency of parsing the downtime information.

[0112] In an implementation of the embodiment of the present invention, performing routing retrieval processing on the symbol file storage space to obtain a target symbol file includes:

[0113] Obtaining a symbol file retrieval request through a transit server, and routing the symbol file retrieval request to the local storage space;

[0114] Performing a search process on the local storage space based on the symbol file search request to obtain a search result;

[0115] When the search result shows that the target symbol file exists, returning the local storage address of the target symbol file, and acquiring the target symbol file from the local storage space based on the local storage address;

[0116] When the search result is empty, the symbol file search request is routed to the cloud, and the target symbol file is retrieved through the cloud.

[0117] Specifically, the relay server is used to receive or intercept all requests for symbol files, that is, to obtain requests for searching and obtaining symbol files through the relay server. The relay server can be a web service, and the requests are relayed and retrieved through the relay server. A symbol file retrieval request refers to a request for retrieving a symbol file, which is usually initiated by a client and received by a relay server for corresponding processing. Routing refers to the corresponding forwarding operation of the request, the target symbol file refers to the symbol file that the request needs to obtain, and the local storage address refers to the storage address of the target symbol file in the local storage space.

[0118] In actual applications, the client will send a large number of data requests to the server, and the embodiment of the present invention specifically obtains requests for symbol files by setting up a transit server. The request for symbol files includes a symbol file retrieval request, and may also include requests for adding, deleting, modifying, etc. the symbol file. In the embodiment of the present invention, the symbol file retrieval request is specifically described, and the processing method for adding a symbol file can refer to the above-mentioned processing method of uploading the full symbol file to the cloud for storage, while the request for deleting and modifying the symbol file requires first retrieving the corresponding symbol file, and then performing the corresponding deletion or modification processing.

[0119] In an embodiment of the present invention, a symbol file retrieval request is first obtained through a transit server, wherein the routing of the transit server may include a symbol file routing (location / ), a local symbol file routing (location / local-file / ), and a cloud symbol file routing (location / interna l-s3 / ). The symbol file routing is the main entrance for symbol file retrieval, and all requests are first routed here, and then routed to the local symbol file routing, that is, the obtained symbol file retrieval request is routed to the local storage space. The local symbol file routing is used to retrieve local files, and the symbol file retrieval request is parsed, and the local storage space is searched according to the parameters obtained by the parsing to obtain the retrieval result. The retrieval result is that the local storage space has the target symbol file and is empty. When the retrieval result is empty, it means that the local storage space does not have the target symbol file. The embodiment of the present invention checks whether the symbol file exists in the local cache. When the retrieval result is that the target symbol file exists, the local storage address of the target symbol file is returned, and the target symbol file is obtained based on the local storage address. Otherwise, the route is transferred to the cloud symbol file route. The cloud symbol file route is used to forward the request to this route when the local symbol file does not exist, search for the specified symbol file through the cloud, pull it to the local cache, and return the local symbol file. That is, when the search result is empty, the symbol file search request is routed to the cloud, and the target symbol file is retrieved through the cloud.

[0120] It is understandable that in the process of searching for symbol files, the search is first performed in the local storage space, and if the search is not successful locally, the search is routed to the cloud for symbol file search. The local storage space stores hot symbol files, which can quickly respond to the search for symbol files and has a greater chance of hitting the target, thereby improving the efficiency of the search. Therefore, the embodiment of the present invention can improve the efficiency of the search by storing hot symbol files in the local storage space and routing the symbol file search request to the local storage space for search when searching for symbol files.

[0121] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention obtains the target symbol file by performing routing retrieval on the symbol file storage space, and can quickly obtain the corresponding target symbol file through routing retrieval, thereby improving the search efficiency of the symbol file and thus improving the parsing efficiency of the downtime information.

[0122] In an implementation of the embodiment of the present invention, the step of obtaining the target symbol file through the cloud includes:

[0123] Performing a symbol file search process on the cloud based on the symbol file search request to obtain a cloud storage address of the target symbol file, wherein the cloud storage address is a storage address of the target symbol file in the cloud;

[0124] Downloading the target symbol file to the local storage space based on the cloud storage address, and returning the local storage address of the target symbol file, where the local storage address is the storage address of the target symbol file in the local storage space;

[0125] The target symbol file is obtained from the local storage space based on the local storage address.

[0126] Specifically, when the target symbol file is not retrieved in the local storage, the symbol file retrieval request will be routed to the cloud for retrieval processing. The cloud stores the full set of symbol files, that is, all symbol files generated during the development and maintenance of the software. Therefore, the corresponding symbol file can be queried in the cloud. If the corresponding symbol file cannot be found in the cloud, there may be a request input error or storage error, etc. The corresponding error information can be returned to the user for corresponding processing.

[0127] In actual applications, when the cloud receives a symbol file retrieval request, it will parse the symbol file retrieval request to obtain the symbol file required by the request, that is, the name of the target symbol file and other information, and perform a matching search in the cloud storage library. When the corresponding target symbol file is found, the cloud storage address is returned through the cloud, and the cloud storage address is the storage address of the target symbol file in the cloud. After obtaining the cloud storage address, the corresponding target symbol file can be obtained from the cloud symbol storage library according to the cloud storage address, and the target symbol file can be downloaded to the local storage space. In a feasible embodiment, the cloud can also be searched for a symbol file through a symbol file retrieval request to obtain the target symbol file, and the target symbol file can be directly returned to the user as a response to the request. However, in the subsequent file retrieval process, if the target symbol file needs to be obtained, the above-mentioned routing retrieval process of the symbol file storage space needs to be performed. Therefore, the embodiment of the present invention returns the cloud storage address to the local storage space, and downloads the target symbol file from the cloud to the local storage space locally according to the cloud storage address. In this way, in the subsequent retrieval process, the target symbol file can be obtained by searching the local storage space based on the symbol file retrieval request, and there is no need to route the request to the cloud for search, thereby improving the efficiency of the query. The embodiment of the present invention can obtain the storage address of the target symbol file in the local storage space, that is, the local storage address of the target symbol file, by downloading the target symbol file to the local storage space, so as to obtain the target symbol file according to the local storage address. It can be imagined that the embodiment of the present invention can download the target symbol file to the local storage space by synchronous downloading, and can also download the target symbol file by asynchronous downloading. In the file retrieval process, the client performs a file search by sending a search request to the server. When the corresponding target symbol file is found, the storage address of the file is returned to the client, and the client can load and use the target symbol file in a debugger or other tools.

[0128] It is understandable that in the process of retrieving symbol files, the search is first performed in the local storage space, and if the search is not successful locally, the search is routed to the cloud for symbol file search. In the subsequent or next search process, if the symbol file needs to be retrieved, it is necessary to go through the above-mentioned search process, search in the local storage space, and then route to the cloud for symbol file search. Therefore, the embodiment of the present invention stores the symbol file retrieved from the cloud in the local storage space, and can directly search the local storage space to obtain the symbol file when the symbol file is subsequently searched, so that the symbol file can be quickly retrieved, thereby improving the efficiency of the search.

[0129] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention obtains the target symbol file by searching in the cloud, and can store the target symbol file retrieved in the cloud in the local storage space, so that in the subsequent retrieval process, the target symbol file can be quickly found in the local storage space, thereby improving the search efficiency of the symbol file, thereby improving the efficiency of parsing the downtime information.

[0130] In an implementation of the embodiment of the present invention, the downloading of the target symbol file to the local storage space based on the cloud storage address includes:

[0131] Sending the cloud storage address to a message queue;

[0132] The target symbol file is obtained by accessing the cloud based on the message queue, and the target symbol file is asynchronously downloaded to the local storage space.

[0133] Specifically, the cloud storage address is the storage address of the target symbol file in the cloud, and the message queue is a container for storing messages during the transmission of the message, wherein the cloud sends the cloud storage address to the message queue, and the local reads and processes the message from the message queue. Asynchronous download is a download method that does not block the main thread during program execution, but puts the download task into a child thread or background task for execution. This method can maintain the smoothness of the program and allow users to continue to interact with other content while waiting for the download to complete.

[0134] In actual applications, when the target symbol file is retrieved from the cloud, the cloud storage address of the target symbol file will be returned to the local computer, and the local computer will download the target symbol file to the local storage space for storage according to the cloud storage address. The embodiment of the present invention uses a message queue to transmit data to the cloud storage address of the target symbol file, wherein the message queue allows the sender and receiver of the message to work asynchronously, thereby improving the response speed and throughput of the system. The embodiment of the present invention sends the cloud storage address of the target symbol file to the message queue through the cloud, and obtains the cloud storage address from the message queue locally, so that the cloud can be accessed according to the cloud storage address to obtain the target symbol file, and the target symbol file is asynchronously downloaded to the local storage space.

[0135] It is understandable that in the process of downloading the target symbol file from the cloud to the local storage space, the synchronous download method can be used for downloading, but in the synchronous download, the download task will block the execution of other tasks until the download task is completed. This method is suitable for downloading small files or scenarios with high requirements for data real-time performance. The embodiment of the present invention adopts an asynchronous download method for downloading. After initiating a download request in the cloud, it will not immediately block other operations in the cloud, but download in the background. It can continue to search for other symbol files in the cloud while waiting for downloading, and can also download multiple symbol files at the same time.

[0136] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention accesses the cloud through a message queue to obtain the target symbol file, and can transmit messages through the message queue, thereby improving the response speed and throughput of the system. In addition, through asynchronous download, the main thread can be not blocked, and multiple download tasks can be executed concurrently, thereby improving the user experience and system performance, thereby improving the efficiency of parsing downtime information.

[0137] In an implementation of the embodiment of the present invention, the step of asynchronously downloading the target symbol file to the local storage space includes:

[0138] Determine the target symbol file as a hotspot symbol file;

[0139] A parallel execution program is started to download the hotspot symbol file from the cloud to the local storage space.

[0140] Specifically, the hotspot symbol file is a part of the symbol file in the full symbol file, specifically a symbol file that needs to be symbolically debugged. The embodiment of the present invention stores the hotspot symbol file in the local storage space, and can quickly query the symbol file that is actually needed through the local storage space. The full symbol file is stored in the cloud to ensure the integrity of the data. Parallel execution of programs is a technology that improves computing efficiency and shortens running time, and fully improves data processing capabilities by running multiple tasks or threads at the same time.

[0141] In actual applications, when the local storage space does not retrieve the target symbol file, the cloud is searched and the target symbol file retrieved from the cloud is downloaded to the local storage space, thereby determining the target symbol file as a hot symbol file. The target symbol file will be stored in the local storage space, so that it can be obtained in the local storage space when the symbol file is searched again in the future, thereby improving the efficiency of searching for symbol files. And by starting a parallel execution program to download the hot symbol file from the cloud to the local storage space, the parallel execution program can realize asynchronous requests to the cloud and download multiple symbol files in parallel, achieving the purpose of parallel and batch.

[0142] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention determines the target symbol file as a hot symbol file, and can find the corresponding target symbol file from the hot symbol file during subsequent query processing, without having to query the cloud, thereby improving data processing efficiency. In addition, the embodiment of the present invention starts a parallel execution program to download the hot symbol file from the cloud to the local storage space, and can realize asynchronous requests to the cloud, download multiple symbol files in parallel, and realize batch download of symbol files.

[0143] In an implementation of the embodiment of the present invention, the debugging and analyzing of the target symbol file to obtain the cause of the downtime includes:

[0144] Perform symbol debugging on the target symbol file through a debugging tool to obtain debugging information;

[0145] Function call stack analysis is performed based on the debugging information to obtain the cause of the downtime.

[0146] Specifically, the debugging tool is used to load the target symbol file retrieved by the above method to perform symbol debugging. In the embodiment of the present invention, the debugging tool can adopt tools such as WinDbg, NTSD (Microsoft NT symbol debugger), CDB (Microsoft console debugger), etc. Symbol debugging is a method of debugging a program, which relies on debugging symbols to help programmers locate and understand the behavior of the program during the debugging process. The debugging symbol is a bridge between the binary information of the debugged program and the source program information. It is the debugging information extracted to support debugging in the process of the compiler compiling the source file into an executable program. The debugging information includes variable names, function names, type information, and source code line numbers, etc., which are embedded in the executable file so that the debugger can use this information to parse the running status of the program. The function call stack is used to store relevant information in the function call process. By analyzing these relevant information, the cause of the downtime can be obtained.

[0147] In actual applications, after retrieving the target symbol file that needs to be debugged, the target symbol file can be loaded through the debugging tool for symbolic debugging. The symbolic debugging process is as follows: the debugger reads the debugging symbols in the executable file and parses the program's memory layout, variable values, function call relationships, etc. based on this information. Programmers can set breakpoints, single-step program execution, view variable values, call stacks, etc. in the debugger to locate and understand problems in the program. Based on the debugging information obtained during the debugging process, the function call stack can be analyzed and processed, and the cause of the downtime can be found from the function call process.

[0148] One of the above technical solutions has the following advantages or beneficial effects: the embodiment of the present invention performs symbolic debugging on the retrieved target symbol file through a debugging tool, and can quickly obtain the target symbol file for debugging processing through the above-mentioned storage and retrieval method of the symbol file, thereby improving the processing efficiency of downtime information analysis.

[0149] In order to better illustrate the technical solution of this embodiment, a specific example is proposed below. This example can be applied to the debugging scenario of an application. By storing the full symbol files of the application during development and maintenance in the symbol file storage space, the symbol file storage space stores the full symbol files in the cloud, which can relieve the pressure of local storage and reduce the storage cost. In addition, the embodiment of the present invention selects hot symbol files from the full symbol files and stores them in the local storage space, so that the symbol files can be quickly found for debugging in the subsequent retrieval process. In addition, the embodiment of the present invention transforms the symbol storage tool, uploads the full symbol files to the cloud for compressed storage according to the signature authentication parameters and the cloud storage directory parameters, and stores the full symbol files in the cloud, which ensures the consistency of data and reduces the storage cost. In the process of searching for symbol files, the symbol file storage space is routed for retrieval, the file is identified and intercepted by the transit server, and the request is routed to the local for symbol file retrieval. Since the hot symbol files are stored locally, the probability of hitting is relatively high, and the target symbol file can be quickly found. Even if the target symbol file is not retrieved locally, the request can be routed to the cloud to retrieve the target symbol file, and the target symbol file can be stored as a hot symbol file in the local storage space, so that in the subsequent retrieval process, the target symbol file can be quickly queried without having to be retrieved from the cloud. Therefore, through the storage and retrieval method of the symbol file in the embodiment of the present invention, the target symbol file can be quickly retrieved, which is convenient for the subsequent debugging and analysis of the target symbol file, and the debugging results of the application can be obtained. In the event of a crash in the application, the cause of the crash can be quickly found.

[0150] Corresponding to the above method embodiment, the present invention also provides an embodiment of a downtime information analysis system, Figure 7 FIG. 2 is a schematic diagram showing the structure of a downtime information analysis system according to an embodiment of the present invention. Figure 7 As shown, the downtime information analysis system 701 includes:

[0151] The storage module 702 is configured to store the full symbol file into the symbol file storage space;

[0152] A retrieval module 703 is configured to perform a routing retrieval process on the symbol file storage space to obtain a target symbol file;

[0153] The analysis module 704 is configured to debug and analyze the target symbol file to obtain the cause of the downtime.

[0154] The above is a schematic scheme of a downtime information analysis system of this embodiment. It should be noted that the technical scheme of the downtime information analysis system and the technical scheme of the downtime information analysis method applied to the downtime information analysis system belong to the same concept, and the details not described in detail in the technical scheme of the downtime information analysis system can be referred to the description of the technical scheme of the downtime information analysis method.

[0155] like Figure 8 As shown, Figure 8 The structure block diagram of an electronic device 800 provided according to an embodiment of the present invention is shown. The components of the electronic device 800 include but are not limited to a memory 810 and a processor 820. The processor 820 is connected to the memory 810 via a bus 830, and the database 850 is used to store data.

[0156] The electronic device 800 also includes an access device 840 that enables the electronic device 800 to communicate via one or more networks 860. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 840 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0157] In one embodiment of the present invention, the above components of the electronic device 800 and Figure 8 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 8 The electronic device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present invention. Those skilled in the art can add or replace other components as needed.

[0158] The electronic device 800 may be any type of stationary or mobile electronic device, including a mobile computer or mobile electronic device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable electronic device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary electronic device such as a desktop computer or a PC. The electronic device 800 may also be a mobile or stationary server.

[0159] The processor 820 is used to execute computer executable instructions of the downtime information analysis method.

[0160] The above is a schematic scheme of an electronic device of this embodiment. It should be noted that the technical scheme of the electronic device and the technical scheme of the above-mentioned downtime information analysis method belong to the same concept, and the details not described in detail in the technical scheme of the electronic device can be referred to the description of the technical scheme of the above-mentioned downtime information analysis method.

[0161] An embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned downtime information analysis method is implemented.

[0162] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0163] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0164] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.< / age> < / guid> < / age> < / guid> < / comment> < / comment>

Claims

1. A method for analyzing downtime information, characterized in that: include: Store the full symbol file into the symbol file storage space; Performing routing retrieval processing on the symbol file storage space to obtain a target symbol file; The target symbol file is debugged and analyzed to obtain the cause of the downtime.

2. The method according to claim 1, characterized in that The symbol file storage space includes cloud storage space and local storage space, and storing the full symbol file in the symbol file storage space includes: Uploading the full symbol file to the cloud for storage; Determine a hotspot symbol file from the full symbol file, and cache the hotspot symbol file to the local storage space.

3. The method according to claim 2, characterized in that The uploading of the full symbol file to the cloud for storage includes: Obtain signature authentication parameters and cloud storage directory parameters; The cloud is connected and verified based on the signature authentication parameters, and after the verification is passed, the symbol files to be uploaded are extracted from the full symbol files based on the cloud storage directory parameters and uploaded to the cloud for storage until the full symbol files are all stored in the cloud.

4. The method according to claim 3, characterized in that The extracting the to-be-uploaded symbol file from the full symbol file based on the cloud storage directory parameter and uploading it to the cloud for storage includes: Performing parameter parsing processing on the cloud storage directory parameters to obtain a symbol repository and the symbol file to be uploaded; Performing information extraction processing on the symbol file to be uploaded to obtain symbol file information; generating a target path in the symbol repository based on the symbol file information; The symbol file to be uploaded is uploaded to the cloud for storage based on the target path.

5. The method according to claim 2, characterized in that: Determining the hotspot symbol file from the full symbol file includes: Get debug logs; Based on the debug log, a symbol file that has been requested for symbol matching in the past is searched from the full symbol file and used as the hotspot symbol file.

6. The method according to claim 2, characterized in that The performing routing retrieval processing on the symbol file storage space to obtain the target symbol file includes: Obtaining a symbol file retrieval request through a transit server, and routing the symbol file retrieval request to the local storage space; Performing a search process on the local storage space based on the symbol file search request to obtain a search result; When the search result shows that the target symbol file exists, returning the local storage address of the target symbol file, and acquiring the target symbol file from the local storage space based on the local storage address; When the search result is empty, the symbol file search request is routed to the cloud, and the target symbol file is retrieved through the cloud.

7. The method according to claim 6, characterized in that The step of obtaining the target symbol file by searching through the cloud comprises: Performing a symbol file search process on the cloud based on the symbol file search request to obtain a cloud storage address of the target symbol file, wherein the cloud storage address is a storage address of the target symbol file in the cloud; Downloading the target symbol file to the local storage space based on the cloud storage address, and returning the local storage address of the target symbol file, where the local storage address is the storage address of the target symbol file in the local storage space; The target symbol file is obtained from the local storage space based on the local storage address.

8. The method according to claim 7, characterized in that The downloading the target symbol file to the local storage space based on the cloud storage address includes: Sending the cloud storage address to a message queue; The target symbol file is obtained by accessing the cloud based on the message queue, and the target symbol file is asynchronously downloaded to the local storage space.

9. The method according to claim 8, characterized in that The step of asynchronously downloading the target symbol file to the local storage space includes: Determine the target symbol file as a hotspot symbol file; A parallel execution program is started to download the hotspot symbol file from the cloud to the local storage space.

10. The method according to any one of claims 1 to 9, characterized in that: The debugging and analyzing of the target symbol file to obtain the cause of the downtime includes: Perform symbol debugging on the target symbol file through a debugging tool to obtain debugging information; Function call stack analysis is performed based on the debugging information to obtain the cause of the downtime.

11. A system for analyzing downtime information, characterized in that: include: A storage module is configured to store the full symbol file in the symbol file storage space; A retrieval module is configured to perform routing retrieval processing on the symbol file storage space to obtain a target symbol file; The analysis module is configured to debug and analyze the target symbol file to obtain the cause of the downtime.

12. An electronic device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the downtime information parsing method as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the downtime information analysis method according to any one of claims 1 to 10.