Log processing method, medium, device and computing equipment based on word frequency

Through the word frequency-based log processing method, word segmentation process log text and judge homologous interface requests, the problem of inaccurate log analysis in the prior art is solved, and the efficiency and accuracy of log processing are improved.

CN114912466BActive Publication Date: 2024-11-15HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210338260.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-01
Publication Date
2024-11-15
Estimated Expiration
2042-04-01

AI Technical Summary

Technical Problem

In log analysis, when the prior art measures the importance of words by inverse text frequency, there is a problem that the analysis results are not accurate enough, resulting in a decrease in log processing efficiency.

Method used

The word frequency-based log processing method is adopted to process the log text through word segmentation, determine the target fragments with the same word frequency, and judge the homologous interface requests based on these fragments, and use the word frequency characteristics to maximize the accuracy of analysis.

Benefits of technology

It improves the accuracy of the homologous interface request judgment results, improves the log processing efficiency, and avoids the difficulty of distinguishing due to the infinite frequency of word inverse text.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114912466B_ABST
    Figure CN114912466B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a log processing method, medium, device and computing equipment based on word frequency, which obtains the text corresponding to the logs of multiple interface requests; for each interface request, performs word segmentation processing on the text corresponding to the interface request to obtain multiple words to be processed in the text; determines at least one target segment corresponding to the interface request based on the word frequency of the multiple words to be processed in the text; determines the same source interface request in the multiple interface requests based on the target segments corresponding to the multiple interface requests. Through this scheme, the word frequency feature of each word is utilized to the greatest extent to obtain the target segment, which has higher accuracy, and at the same time avoids the problem that when the inverse text frequency is used to process the log, the words in the log are infinitesimal and cannot be calculated and distinguished, which can improve the accuracy of the determination result of the same source interface request, and then further process according to the determination result, thereby improving the processing efficiency of the platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of Internet technology. More specifically, the embodiments of the present disclosure relate to a log processing method, medium, apparatus and computing device based on word frequency. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the present disclosure. No description herein is admitted to be prior art by virtue of its inclusion in this section.

[0003] With the advent of the information age, the demand for text analysis is increasing, and higher requirements are also placed on the accuracy of text analysis results and the efficiency of text analysis. For example, in some application platforms, there are usually a large number of log texts, which need to be accurately analyzed. For example, by analyzing the logs, homologous interface requests can be identified, and the execution status of the logs can be determined. These analysis results are conducive to improving the log processing efficiency of the platform and ensuring user experience.

[0004] In related technologies, when analyzing text information, the inverse document frequency (IDF) of words in the text is usually calculated, and the importance of each word is determined based on the IDF, so as to further process the text based on the importance of each word.

[0005] However, when analyzing logs, if the importance of words in the text is measured by inverse text frequency, the analysis results may be inaccurate, and the logs cannot be further processed using the analysis results, reducing the platform's processing efficiency for logs. Summary of the invention

[0006] The present disclosure provides a log processing method, medium, device and computing equipment based on word frequency to solve the technical problem in the related art that the analysis results are not accurate enough when analyzing logs.

[0007] In a first aspect of the embodiments of the present disclosure, a frequency-based log processing method is provided, comprising: obtaining text corresponding to logs of multiple interface requests; for each interface request, performing word segmentation processing on the text corresponding to the interface request to obtain multiple to-be-processed words in the text; determining at least one target segment corresponding to the interface request based on the frequency of the multiple to-be-processed words in the text, the target segment containing at least two to-be-processed words with the same frequency; determining homologous interface requests among the multiple interface requests based on the target segments corresponding to the multiple interface requests, the homologous interface requests containing at least two interface requests, and the at least two interface requests are used to request execution of the same service.

[0008] In a second aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, a log processing method as in any embodiment of the first aspect is implemented.

[0009] In a third aspect of the embodiments of the present disclosure, a frequency-based log processing device is provided, comprising: an acquisition module for acquiring text corresponding to logs of multiple interface requests; a processing module for performing word segmentation processing on the text corresponding to the interface request for each interface request, and obtaining multiple to-be-processed words in the text; a first determination module for determining at least one target segment corresponding to the interface request according to the frequency of the multiple to-be-processed words in the text, the target segment containing at least two to-be-processed words with the same frequency; a second determination module for determining homologous interface requests in the multiple interface requests according to the target segments corresponding to the multiple interface requests, the homologous interface requests containing at least two interface requests, and the at least two interface requests are used to request execution of the same service.

[0010] In a fourth aspect of an embodiment of the present disclosure, a computing device is provided, comprising: at least one processor and a memory; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes a log processing method as in any embodiment of the first aspect.

[0011] The embodiments of the present disclosure provide a log processing method, medium, apparatus, and computing device based on word frequency, which obtains text corresponding to the logs of multiple interface requests; for each interface request, performs word segmentation processing on the text corresponding to the interface request to obtain multiple words to be processed in the text; determines at least one target segment corresponding to the interface request based on the word frequency of the multiple words to be processed in the text; and determines homologous interface requests in the multiple interface requests based on the target segments corresponding to the multiple interface requests. In the embodiments of the present disclosure, the target segment is determined by word frequency, and then the homologous interface requests in the interface requests are determined by the target segment, which makes the most of the word frequency features of each word to obtain the target segment, so that its accuracy is higher. At the same time, it avoids the problem in the prior art that when using inverse text frequency to process the log, the words in the log are infinitesimal and cannot be calculated and distinguished, which can improve the accuracy of the determination results of homologous interface requests, and then further process according to the determination results, thereby improving the processing efficiency of the platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0013] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present disclosure;

[0014] Figure 2 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 1 ;

[0015] Figure 3 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 2 ;

[0016] Figure 4 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 3 ;

[0017] Figure 5 A schematic diagram of the principle of the log processing method provided by the embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of the structure of a storage medium provided in an embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of the structure of a log processing device provided in an embodiment of the present disclosure;

[0020] Figure 8 A schematic diagram of the structure of a computing device provided for an embodiment of the present disclosure.

[0021] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0022] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0024] According to an embodiment of the present disclosure, a log processing method, medium, apparatus and computing device based on word frequency are proposed.

[0025] In addition, any number of elements in the drawings is for illustration and not limitation, and any naming is only for distinction and does not have any limiting meaning.

[0026] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION

[0028] With the advent of the information age, the demand for text analysis is increasing, and higher requirements are also placed on the accuracy of text analysis results and the efficiency of text analysis. For example, in some application platforms, there are usually a large number of log texts. Accurate analysis of these logs can help improve the platform's log processing efficiency and ensure user experience.

[0029] In the related art, when analyzing text information, the inverse document frequency (IDF) of words in the text is usually calculated, so as to determine the importance of the words according to the inverse document frequency corresponding to each word, so as to achieve further processing of the text.

[0030] However, when calculating the inverse text frequency of a word in a text, it is calculated through the total number of documents in the corpus and the number of documents in the corpus that contain a certain word. If the more documents contain a certain word, the smaller the inverse text frequency value of the word, it means that the category distinction ability of the word is poor. Therefore, when a certain word appears more times in a document, the inverse text frequency value of the word will become infinitesimal, thus losing the meaning of comparison.

[0031] Therefore, when analyzing logs by measuring inverse text frequency, there will be a problem of inaccurate analysis results. If the analysis results are used to further process the logs, the processing results will not be accurate enough, which will reduce the platform's log processing efficiency and reduce user experience.

[0032] In view of this, the embodiments of the present disclosure provide a log processing method, medium, device and computing equipment based on word frequency, obtain the text corresponding to the log of multiple interface requests; for each interface request, perform word segmentation processing on the text corresponding to the interface request to obtain multiple words to be processed in the text; determine at least one target segment corresponding to the interface request according to the word frequency of the multiple words to be processed in the text; determine the homologous interface request in the multiple interface requests according to the target segments corresponding to the multiple interface requests. In the embodiments of the present disclosure, the target segment is determined by word frequency, and then the homologous interface request in the interface request is determined by the target segment, which makes the maximum use of the word frequency feature of each word to obtain the target segment, so that its accuracy is higher, and at the same time avoids the problem in the prior art that when the inverse text frequency is used to process the log, the words in the log are infinitesimal and cannot be calculated and distinguished, which can improve the accuracy of the determination result of the homologous interface request, and then further process according to the determination result, thereby improving the processing efficiency of the platform.

[0033] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.

[0034] Application Scenario Overview

[0035] First reference Figure 1 , Figure 1 The schematic diagram of the application scenario provided by the embodiment of the present disclosure. The equipment designed for this scenario includes: a terminal device 101 and a server 102.

[0036] Among them, the terminal device 101 can be a personal digital assistant (PDA) device, a handheld device with wireless communication function (such as a smart phone, a tablet computer), a computing device (such as a personal computer (PC)), a vehicle-mounted device, a wearable device (such as a smart watch, a smart bracelet), a smart home device (such as a smart display device), etc.

[0037] The server 102 may be a single server, a server cluster, a distributed server, a centralized server, or a cloud server.

[0038] In some embodiments, the server 102 and the terminal device 101 can communicate through a network.

[0039] In the application of the embodiment of the present disclosure, the user can send a service request to the server 102 through the terminal device 101, and the server 102 can obtain the logs corresponding to these service requests and analyze the logs to obtain the analysis results.

[0040] It should be noted that the present disclosure does not specifically limit the server type and service request type.

[0041] Exemplary Methods

[0042] Combine the following Figure 1 For application scenarios, refer to Figure 2-5 To describe the log processing method based on word frequency according to an exemplary embodiment of the present disclosure. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this regard. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0043] refer to Figure 2 , Figure 2 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 1 It should be understood that the execution subject of the embodiments of the present disclosure may be the above-mentioned server, such as Figure 2 As shown, the log processing method includes:

[0044] S201. Obtain text corresponding to logs of multiple interface requests.

[0045] In an embodiment of the present disclosure, a tracker may be used to obtain a log of an interface request.

[0046] In an optional embodiment, the tracker can be a TraceID generator, which can be set in the server 102. When the interface request arrives at the server, the TraceID generator will generate a preset random number as the TraceID, that is, the tracking identifier, such as generating a 16-bit or 32-bit random number.

[0047] It should be noted that by generating a tracing identifier (traceID) for the interface request, the traceID accompanies the interface request in all processing stages of the interface request, and is recorded and saved along with the event information when each event is triggered, so that all events related to the interface request can be connected in series using this traceID.

[0048] In actual applications, each time an interface request is generated, the tracking identifier is added to the interface request. For example, the interface request may be an HTTP request, in which case the tracking identifier is placed in the header of the HTTP request. When the downstream system receives the interface request, the tracking identifier can be directly retrieved from the HTTP header.

[0049] Furthermore, after obtaining the logs corresponding to the various interface requests, the text content corresponding to the various logs is extracted.

[0050] S202: For each interface request, perform word segmentation processing on the text corresponding to the interface request to obtain a plurality of words to be processed in the text.

[0051] In the embodiments of the present disclosure, there is no specific limitation on the specific word segmentation method. For example, word segmentation tools such as ansj, hanlp and jieba can be used to segment the text corresponding to each interface request, and the word segmentation results are used as the words to be processed corresponding to each interface request.

[0052] It should be understood that the specific scheme of using these word segmentation tools to segment the text corresponding to each interface request is not specifically described in the embodiments of the present disclosure.

[0053] S203: Determine at least one target segment corresponding to the interface request according to the word frequencies of the multiple words to be processed in the text.

[0054] In this step, after obtaining the words to be processed corresponding to each log through word segmentation, the word frequency of each word to be processed is first determined according to the number of times each word to be processed appears in the text and the total number of words to be processed in each text. Specifically, the word frequency of each word to be processed is: the ratio of the number of times each word to be processed appears in the same text to the total number of words to be processed in the text.

[0055] In a first optional implementation, each target segment contains at least two to-be-processed words with the same frequency. Exemplarily, the following Table 1 is an example of to-be-processed words and frequency of the interface request provided in the embodiment of the present disclosure. It should be understood that the logs corresponding to interface request 1, interface request 2, and interface request 3 are shown as examples in Table 1, and, in actual applications, there is no limitation on the to-be-processed words contained in each interface request.

[0056]

[0057] As shown in Table 1, for interface request 1, the word frequencies of the words "C1" and "D1" to be processed are both "word frequency a3", therefore, the segment composed of the words "C1" and "D1" to be processed is used as a target segment in interface request 1; the word frequencies of the words "G1" and "H1" to be processed are both "word frequency a6", therefore, the segment composed of the words "G1" and "H1" to be processed is used as another target segment in interface request 1; similarly, the word frequencies of the words "J1", "K1" and "L1" to be processed are all "word frequency a8", therefore, the segment composed of the words "J1", "K1" and "L1" to be processed is used as another target segment in interface request 1.

[0058] In this embodiment, words with exactly the same frequency are used as a target segment, which can ensure the accuracy of subsequent judgment results of homologous interface requests, and further ensure the accuracy and reliability of log processing.

[0059] In a second optional implementation, the frequency difference between at least two to-be-processed words in the target segment is less than or equal to a first preset value. Specifically, when determining the target segment, the frequency difference between any two to-be-processed words corresponding to each interface request is obtained, and the to-be-processed words whose frequency difference is less than or equal to the first preset value are regarded as words with the same frequency.

[0060] Exemplarily, taking interface request 1 as an example, if the difference in word frequencies corresponding to the words to be processed "C1" and "D1" is less than or equal to the first preset value, it is determined that the words to be processed "C1" and "D1" are a target segment corresponding to interface request 1, and the difference in word frequencies corresponding to the words to be processed "C1" and "E1" is greater than the first preset value, and therefore, the words to be processed "C1" and "E1" are not target segments.

[0061] It should be noted that the methods for determining other target fragments in the interface request 1 and target fragments in other interface requests are similar and will not be described in detail here.

[0062] In this embodiment, the words to be processed whose frequency difference is less than the first preset value are regarded as target segments. Compared with the above scheme, when this scheme is applied to a text with fewer words to be processed, it can prevent the situation where there are no words with the same frequency due to fewer words to be processed. Exemplarily, if the word frequencies corresponding to the words A1 to M1 to be processed are all different, the target segment in the interface request 1 cannot be obtained, and the subsequent processing process cannot be performed. Through the scheme provided in this embodiment, at least one target segment can be obtained, thereby solving the above problem.

[0063] S204: Determine a homologous interface request among the multiple interface requests according to the target fragments corresponding to the multiple interface requests.

[0064] The homologous interface request includes at least two interface requests, and the at least two interface requests are used to request execution of the same service.

[0065] It should be noted that the same-source interface request refers to an interface request with the same path, wherein the path is used to indicate the search path corresponding to the interface request.

[0066] In the embodiment of the present disclosure, the same-frequency words contained in the log can reflect the search content of each interface request to a certain extent. Therefore, in the embodiment of the present disclosure, it can be determined whether each interface request is a homologous interface request based on the target fragment corresponding to each interface request.

[0067] As for the specific scheme of determining the homologous interface request among the multiple interface requests based on the target fragments corresponding to the multiple interface requests, it will be shown in the subsequent embodiments.

[0068] In the embodiments of the present disclosure, the target segment is determined by word frequency, and then the homologous interface request in the interface request is determined by the target segment, which makes the maximum use of the word frequency feature of each word to obtain the target segment, so its accuracy is higher. At the same time, it avoids the problem in the prior art that when the inverse text frequency is used to process the log, the inverse text frequency of the words in the log is infinitesimal and cannot be calculated and distinguished. The accuracy of the determination result of the homologous interface request can be improved, and further processing can be performed according to the determination result, thereby improving the processing efficiency of the platform.

[0069] Figure 3 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 2 .like Figure 3 As shown, the log processing method includes the following steps:

[0070] S301. Obtain text corresponding to logs of multiple interface requests.

[0071] S302: For each interface request, perform word segmentation processing on the text corresponding to the interface request to obtain a plurality of words to be processed in the text.

[0072] It should be noted that step S301 and Figure 2 The methods and principles of steps S201 to S202 in the illustrated embodiment are similar, and the specific solutions can be referred to the above embodiments, which will not be described again here.

[0073] S303: Determine at least one target segment corresponding to the interface request according to the word frequencies of the multiple words to be processed in the text.

[0074] Compared with the above Figure 2 In the solution of the embodiment shown, the above step S303 can also be implemented in the following manner:

[0075] (1) Sort the multiple words to be processed according to the frequency of the multiple words to be processed corresponding to the interface request.

[0076] It should be noted that the embodiments of the present disclosure do not limit the sorting method. For example, the words to be processed can be sorted from large to small according to the frequency of the words to be processed. Conversely, the words to be processed can also be sorted from small to large.

[0077] (2) Obtain at least one target segment according to the sorting result and the word frequencies corresponding to the multiple words to be processed.

[0078] Specifically, in the first embodiment, according to the sorting result, it is determined whether the frequencies of adjacent to-be-processed words are the same, and at least two to-be-processed words with the same frequencies are determined as one target segment.

[0079] In a second embodiment, based on the sorting result, it is determined whether the frequency difference between adjacent to-be-processed words is less than or equal to a first preset value, and at least two to-be-processed words whose frequency difference is less than or equal to the first preset value are determined as a target segment.

[0080] In the embodiment of the present disclosure, by sorting the words to be processed based on word frequency and then obtaining the target segment based on the sorting result, compared with the solution of directly obtaining the target segment according to the word frequency of the words to be processed, in this solution, it is only necessary to compare the word frequencies of adjacent words to be processed, which can greatly improve the efficiency of obtaining the target segment and thus improve the log processing efficiency.

[0081] S304. Determine, according to the target fragments corresponding to the multiple interface requests, a ratio of absolute values ​​of the differences in the number of target fragments between the multiple interface requests.

[0082] It should be noted that the absolute value of the target fragment number difference ratio is: the ratio of the target fragment number difference between interface request a and the second interface request b to the target fragment number of interface request a (or interface request b).

[0083] For example, still taking the above Table 1 as an example, the interface request 1 contains three target fragments (respectively<C1、D1> ,<G1、H1> as well as<J1、K1、L1> ); interface request 2 contains 3 target fragments (respectively:<D2、E2、F2> ,<G2、H2、I2、J2> as well as<M2、N2> ); interface request 3 contains 2 target fragments (respectively:<C3、D3> and<F2、G3、H3、J2> ).

[0084] In this embodiment, for interface request 1 and interface request 2, the difference in the number of target segments between the two is 0, and the absolute value of the difference in the number of target segments accounts for 0;

[0085] Similarly, for interface request 2 and interface request 3, when interface request 3 is used as a benchmark, the difference in the number of target fragments between the two is 1, and the absolute value of the difference in the number of target fragments accounts for 1 / 3.

[0086] Similarly, for interface request 1 and interface request 3, when interface request 3 is used as a benchmark, the difference in the number of target fragments between the two is 1, and the absolute value of the difference in the number of target fragments accounts for 1 / 3.

[0087] S305 , responding to the interface requests whose absolute value of the target fragment quantity difference accounts for a larger proportion than a second preset value among the multiple interface requests as non-homologous interface requests.

[0088] S306: Determine a target interface request among the multiple interface requests according to a ratio of absolute values ​​of target fragment quantity differences between the multiple interface requests.

[0089] The target interface request includes at least a first interface request and a second interface request, and the absolute value of the difference in the number of target fragments between the first interface request and the second interface request is less than or equal to a second preset value.

[0090] It should be noted that the embodiments of the present disclosure do not specifically limit the size of the second preset value. By way of example, the second preset value may be 30%. In the above example, since the absolute value of the difference in the number of target fragments between interface request 1 and interface request 2 accounts for 0, which is less than the second preset value, interface request 1 and interface request 2 are target interface requests. In other words, the above-mentioned first interface request and second interface request are the above-mentioned interface request 1 and interface request 2, respectively.

[0091] However, since the absolute value ratios of the target fragment quantity differences between interface request 1 and interface request 3, and between interface request 2 and interface request 3 are all greater than the second preset value, these interfaces are not homologous interface requests.

[0092] S307: Obtain the similar fragment ratios corresponding to the first interface request and the second interface request.

[0093] Among them, similar segments refer to target segments corresponding to different interface requests that contain more identical words. For example, if target segment a in interface request 1 and target segment b in interface request 2 contain more identical words, then target segment a and target segment b are similar segments.

[0094] Next, step S307 is described in detail in combination with the following steps:

[0095] (1) Obtain a first target segment corresponding to a first interface request and a second target segment corresponding to a second interface request.

[0096] It should be noted that the first target segment is any target segment in the first interface request, and the second target segment is any target segment in the second interface request.

[0097] For example, taking the first interface request as interface request 1 and the second interface request as interface request 2 as an example, the first target segment may be<C1、D1> ,<G1、H1> as well as<J1、K1、L1> The second target fragment can be any one of<D2、E2、F2> ,<G2、H2、I2、J2> as well as<M2、N2> Any one of .

[0098] (2) Determine the similarity between the first target segment and the second target segment based on the to-be-processed words in the first target segment and the second target segment.

[0099] (3) Determine, in the first target segment, segments whose similarity is greater than or equal to a fourth preset value as similar target segments.

[0100] Specifically, the similarity between each first target segment and each second target segment is calculated in sequence.

[0101] Exemplarily, the first target segment is taken as the target segment<C1、D1> Take the target fragments as an example, and calculate them separately.<C1、D1> With the target fragment<D2、E2、F2> ,<G2、H2、I2、J2> as well as<M2、N2> The similarity between .

[0102] Specifically, to calculate the target fragment<C1、D1> With the target fragment<D2、E2、F2> For example, if C1 and D2 are the same words, taking the target segment with more words to be processed as the benchmark, the similarity of the two target segments is 1 / 3; and the target segment<C1、D1> and<G2、H2、I2、J2> The words in are all different, then the similarity of the two target segments is 0; the target segment<C1、D1> and<M2、N2> In , if D1 and M2 are the same word, the similarity between these two target segments is 1 / 2.

[0103] Further, according to the similarity calculation result, the target segment in the second target segment whose similarity is greater than or equal to the fourth preset value is determined as the first target segment.<C1、D1> Similar fragments of .

[0104] It should be understood that the embodiment of the present disclosure does not specifically limit the size of the fourth preset value. For example, taking the fourth preset value as 40% as an example, the target segment<M2、N2> and<C1、D1> For similar target fragments.

[0105] Further, according to the same method, determine the other target segments in the first target segment and the second target segment except the target segment<M2、N2> , to obtain similar target segments corresponding to each first target segment.<G1、H1> With the target fragment<D2、E2、F2> ,<G2、H2、I2、J2> The similarity.

[0106] Furthermore, if there is no<G1、H1> Similar fragments, then further determine the target fragment<J1、K1、L1> With the target fragment<D2、E2、F2> ,<G2、H2、I2、J2> similarity; if the target fragment<D2、E2、F2> ,<G2、H2、I2、J2> Any fragment in<G1、H1> If the target segment is similar, the similar target segment is removed and further determined.<J1、K1、L1> The similarity between the remaining target segments in the second target segment is compared until the similarity comparison of all the first target segments is completed.

[0107] (4) Determine the proportion of similar segments corresponding to the first interface request and the second interface request according to the number of similar target segments corresponding to the first interface request and the number of first target segments.

[0108] Exemplarily, the ratio of similar segments corresponding to the first interface request and the second interface request is: the ratio of the number of similar target segments corresponding to the first interface request to the number of first target segments.

[0109] Target fragment<M2、N2> and<C1、D1> For similar target fragments,<G1、H1> and<D2、E2、F2> For example, if the first target segment is similar to the first target segment, and the other target segments are not similar, that is, the number of similar target segments requested by the first interface is 2. Since the number of the first target segments is 3, the proportion of similar segments is 2 / 3.

[0110] S308: In response to the similar target segment ratio being greater than or equal to a third preset value, determining that the first interface request and the second interface request are homologous interface requests.

[0111] S309: In response to the similar fragment ratio being less than a third preset value, determine that the first interface request and the second interface request are non-homologous interface requests.

[0112] It should be noted that the embodiment of the present disclosure does not make any specific limitation on the size of the third preset value. Taking the third preset value of 50% as an example, since the proportion of similar fragments between the first interface request and the second interface request is greater than the third preset value, the first interface request (that is, interface request 1) and the second interface request (that is, interface request 2) are homologous interface requests.

[0113] In the embodiments of the present disclosure, the target segment is determined by word frequency, and then the homologous interface request in the interface request is determined by the target segment, which makes the maximum use of the word frequency feature of each word to obtain the target segment, so its accuracy is higher. At the same time, it avoids the problem in the prior art that when using inverse text frequency to process logs, the words in the logs are infinitesimal and cannot be calculated and distinguished. The accuracy of the determination results of the homologous interface requests can be improved, and further processing can be performed according to the determination results, thereby improving the processing efficiency of the platform.

[0114] In addition, by calculating the proportion of similar fragments between interface requests and determining whether the interface request is a homologous interface request based on the proportion of similar fragments, the problems of huge calculation amount and poor robustness when judging homologous interface requests by matching a single word are avoided. This can further ensure the accuracy of homologous interface requests and improve the efficiency of determining homologous interface requests.

[0115] Figure 4 Schematic diagram of the log processing method provided by the embodiment of the present disclosure Figure 3 .like Figure 4 As shown, the log processing method includes the following steps:

[0116] S401: Obtain text corresponding to logs of multiple interface requests.

[0117] S402: For each interface request, perform word segmentation processing on the text corresponding to the interface request to obtain a plurality of to-be-processed words in the text.

[0118] S403: Determine at least one target segment corresponding to the interface request according to the word frequencies of the multiple words to be processed in the text.

[0119] The target segment contains at least two words to be processed with the same frequency;

[0120] S404: Determine a homologous interface request among the multiple interface requests according to the target fragments corresponding to the multiple interface requests.

[0121] The homologous interface request includes at least two interface requests, and the at least two interface requests are used to request execution of the same service.

[0122] It should be noted that the principle and beneficial effects of steps S401 to S404 are the same as those described above. Figure 2 and Figure 3 The illustrated embodiment is similar, and specific details may be referred to the above embodiment, which will not be described again here.

[0123] S405: Determine the service execution predicates corresponding to the at least two interface requests according to the target segments corresponding to the at least two interface requests in the same-source interface request.

[0124] It should be noted that the business execution judgment words are used to indicate the execution status of the interface request. Since some words in the log can be used to reflect the execution status of the business, and the higher the frequency of these words, the more they can reflect the execution status of the interface request, therefore, the business execution judgment words corresponding to the interface request can be determined based on the frequency of each word to be processed.

[0125] In a first optional implementation, the above step S405 includes the following steps:

[0126] (1) For any one of the at least two interface requests, determine a first word with the highest frequency among the to-be-processed words corresponding to the interface request and a first segment among the target segments of the interface request.

[0127] It should be noted that the embodiments of the present disclosure do not limit the first segment. For example, the first segment may be a preset number of target segments with the highest word frequency.

[0128] For example, taking the words A1 to M1 to be processed in Table 1 above, which are sorted by word frequency, the word A1 to be processed is the first word corresponding to the interface request 1;

[0129] Further, taking the preset number as 1 as an example, since interface request 1 contains a total of 3 target segments, according to the word frequency of these target segments, the target segment with the highest word frequency is determined to be the first segment, that is, the first segment in interface request 1 is<C1、D1> .

[0130] (2) Determine a service execution judgment word corresponding to the interface request based on the first word and the first segment.

[0131] In an optional implementation, the service execution judgment words may include: the first word, the words between the first word and the first segment, and the words in the first segment. Exemplarily, the service execution judgment words corresponding to the interface request 1 are "A1, B1, C1, D1".

[0132] In a second optional implementation manner, the above step S405 is specifically as follows:

[0133] For any one of the at least two interface requests, based on the frequency of multiple pending words corresponding to the interface request, determine that the pending words whose frequency is greater than a fifth preset value are the business execution judgment words corresponding to the interface request.

[0134] It should be noted that the embodiment of the present disclosure does not specifically limit the size of the fifth preset value.

[0135] In an embodiment of the present disclosure, the business execution judgment words corresponding to each interface request are determined by determining the frequency of the words to be processed. This process does not require sorting the words to be processed corresponding to each interface request, which can improve the efficiency of obtaining business execution judgment words and thus improve the processing efficiency of logs.

[0136] In a third optional implementation manner, the above step S405 is specifically as follows:

[0137] According to the frequency of the multiple words to be processed corresponding to the interface request, the multiple words to be processed are sorted, and a preset number of the words to be processed are determined as the business execution determination words corresponding to the interface request according to the sorting.

[0138] It should be noted that the embodiments of the present disclosure do not specifically limit the size of the preset number.

[0139] For example, taking the to-be-processed words A1 to M1 in Table 1 above as sorted by frequency and the preset number as 5, the business execution judgment words corresponding to interface request 1 are the top 5 words in frequency, namely "A1, B1, C1, D1".

[0140] Through the embodiments of the present disclosure, although it takes some time to sort the word frequencies, in this scenario, there is no need to compare the word frequencies of each word to be processed, the amount of calculation is small, and the processing efficiency can be improved to a certain extent.

[0141] S406: Determine execution information of the same-source interface request according to the service execution judgment words corresponding to the at least two interface requests.

[0142] (1) Determine the target judgment word corresponding to the business execution judgment word in the preset judgment words.

[0143] It should be noted that the preset judgment words can accurately reflect the execution information of the log. For example, in a business test scenario, the logs generated by the business test process will reflect the execution status of the business test to a certain extent, so as to determine whether there are unknown execution processes in the business according to the execution status, and then conduct targeted tests on these processes; or, in an online log processing scenario, the execution information of the business can reflect the user's current operation information, thereby preventing the user from performing illegal operations.

[0144] Figure 5 The following is a schematic diagram of the principle of the log processing method provided by the embodiment of the present disclosure. Figure 5 As shown, the execution information includes execution status 1, execution status 2...execution status n as an example.

[0145] Each execution information corresponds to a different preset judgment word. For example, the preset judgment word corresponding to execution situation 1 is <word a, word b, word c, word d, word e>; the preset judgment word corresponding to execution situation 2 is <word m, word n, word k, word f>; the preset judgment word corresponding to execution situation n is <word s, word g, word j, word y>.

[0146] In this step, after determining the service execution judgment word corresponding to each interface request, it is matched with the preset judgment word, and the preset judgment word that is successfully matched is determined as the target judgment word.

[0147] Exemplarily, still taking the above as an example, the business execution judgment words of interface request 1 are "A1, B1, C1, D1", which respectively determine the matching status of the preset judgment words corresponding to execution situation 1, execution situation 2...execution situation n and the business execution judgment words of interface request 1.

[0148] Further, the preset judgment word that matches successfully is determined as the target judgment word.

[0149] Exemplarily, if the preset judgment words <word m, word n, word k, word f> corresponding to execution situation 2 are the same as "A1, B1, C1, D1", then the preset judgment words <word m, word n, word k, word f> are determined as the target judgment words.

[0150] (2) Determine that the execution information corresponding to the target predicate is the execution information of the same-source interface request.

[0151] Specifically, it is determined that the execution information corresponding to the target predicate (ie, execution situation 2) is the execution information of the homologous interface request.

[0152] It should be noted that since interface request 1 and interface request 2 are homologous interface requests, they are used to request execution of the same service. Therefore, it is sufficient to determine the execution information of any one of interface request 1 and interface request 2 as the execution information of the homologous interface request.

[0153] S407 . In response to the fact that there is no target determination word corresponding to the service execution determination word in the preset determination words, new execution information is obtained according to the service execution determination word.

[0154] Specifically, when the service execution determination word and the preset determination word cannot match each other, the execution information corresponding to the service execution determination word can also be used as new execution information. Figure 5 As shown, the "execution situation n+1" corresponding to the business execution judgment word is used as the new execution information, and the business execution judgment word is also the preset judgment word corresponding to the "execution situation n+1".

[0155] Through the embodiments of the present disclosure, in the subsequent log processing process, when encountering the same service execution determination word, the execution information of the interface request corresponding to the service execution determination word can be accurately obtained.

[0156] As an optional solution, after determining the execution information of the homologous interface request, further processing may be performed according to different scenarios.

[0157] In one example, if the log is a log generated in a business test scenario, if the preset judgment words do not contain a target judgment word corresponding to the business execution judgment word, it means that a new execution process is generated during the test process, and therefore, the execution process needs to be processed specifically.

[0158] In another example, if the log is a log generated by user operations in an online log processing scenario, if the execution information corresponding to multiple interface requests is the same, then a violation of the interface may have occurred. Therefore, in this scenario, the number of logs with the same business execution judgment words can be determined. When the number is greater than a preset value, it can be determined that a violation of the interface has occurred, so that timely intervention can be made to prevent losses to the platform corresponding to the interface request.

[0159] Exemplary Media

[0160] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Figure 6 A storage medium according to an exemplary embodiment of the present disclosure is described.

[0161] Figure 6 A schematic diagram of the structure of a storage medium provided by an embodiment of the present disclosure. Figure 6 As shown, a program product 600 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto.

[0162] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0163] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium.

[0164] Program code for performing the disclosed operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN).

[0165] Exemplary Devices

[0166] After introducing the medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 7 A word frequency-based log processing device according to an exemplary embodiment of the present disclosure is described. The log processing is used to implement the word frequency-based log processing method in any of the above method embodiments. The implementation principle and technical effect are similar and will not be repeated here.

[0167] Figure 7 The structure diagram of the log processing device provided by the embodiment of the present disclosure is as follows. Figure 7 As shown, the log processing device 700 includes:

[0168] The acquisition module 701 is used to acquire the text corresponding to the logs of multiple interface requests;

[0169] The processing module 702 is used to perform word segmentation processing on the text corresponding to each interface request to obtain multiple words to be processed in the text;

[0170] A first determination module 703 is used to determine at least one target segment corresponding to the interface request according to the frequency of the multiple to-be-processed words in the text, wherein the target segment contains at least two to-be-processed words with the same frequency;

[0171] The second determination module 704 is used to determine the same-source interface requests among the multiple interface requests according to the target fragments corresponding to the multiple interface requests, where the same-source interface requests include at least two interface requests, and the at least two interface requests are used to request execution of the same service.

[0172] In some optional implementations, the first determination module 703 is specifically used to: sort the multiple words to be processed according to the word frequencies of the multiple words to be processed corresponding to the interface request; obtain at least one target segment according to the sorting result and the word frequencies corresponding to the multiple words to be processed, and the word frequency difference between at least two words to be processed in the target segment is less than a first preset value.

[0173] In some optional embodiments, the second determination module 704 is specifically used to: determine the absolute value ratio of the target fragment quantity difference between the multiple interface requests based on the target fragments corresponding to the multiple interface requests; determine the target interface request among the multiple interface requests based on the absolute value ratio of the target fragment quantity difference between the multiple interface requests, the target interface request including at least the first interface request and the second interface request, and the absolute value ratio of the target fragment quantity difference between the first interface request and the second interface request is less than or equal to a second preset value; obtain the similar fragment ratio corresponding to the first interface request and the second interface request; in response to the similar target fragment ratio being greater than or equal to a third preset value, determine that the first interface request and the second interface request are homologous interface requests.

[0174] In some optional embodiments, the second determination module 704 is specifically used to: obtain the first target segment corresponding to the first interface request, and the second target segment corresponding to the second interface request; determine the similarity between the first target segment and the second target segment based on the words to be processed in the first target segment and the second target segment; determine that the segments in the first target segment whose similarity is greater than or equal to a fourth preset value are similar segments; determine the proportion of similar segments corresponding to the first interface request and the second interface request based on the number of similar target segments corresponding to the first interface request and the number of first target segments.

[0175] In some optional embodiments, the second determination module 704 is also used to: in response to multiple interface requests, an interface request in which the absolute value of the target fragment quantity difference accounts for a greater proportion than a second preset value as a non-homologous interface request; and / or, in response to a similar fragment proportion being less than a third preset value, determine that the first interface request and the second interface request are non-homologous interface requests.

[0176] In some optional embodiments, the second determination module 704 is also used to: determine the business execution judgment words corresponding to at least two interface requests in the same-source interface request based on the target fragments corresponding to at least two interface requests; determine the execution information of the same-source interface request based on the business execution judgment words corresponding to at least two interface requests.

[0177] In some optional embodiments, the second determination module 704 is specifically used to: determine, for any one of the at least two interface requests, the first word with the highest frequency in the words to be processed corresponding to the interface request, and the first segment in the target segment of the interface request; determine the business execution judgment word corresponding to the interface request based on the first word and the first segment.

[0178] In some optional embodiments, the second determination module 704 is specifically used to: for any one of the at least two interface requests, determine, based on the word frequency of the multiple words to be processed corresponding to the interface request, that the words to be processed whose word frequency is greater than the fifth preset value among the multiple words to be processed are the business execution judgment words corresponding to the interface request; or, based on the word frequency of the multiple words to be processed corresponding to the interface request, sort the multiple words to be processed, and determine a preset number of words to be processed as the business execution judgment words corresponding to the interface request based on the sorting.

[0179] In some optional implementations, the second determination module 704 is specifically used to: determine a target determination word corresponding to the service execution determination word in the preset determination words; and determine that the execution information corresponding to the target determination word is the execution information of the homologous interface request.

[0180] In some optional implementations, the processing module 702 is further configured to: in response to the absence of a target determination word corresponding to the service execution determination word in the preset determination words; obtain new execution information according to the service execution determination word.

[0181] The above-mentioned log processing device 700 provided in the embodiment of the present disclosure can implement each process in the above-mentioned log processing method embodiment and achieve the same function and effect, which will not be described in detail here.

[0182] Exemplary Computing Devices

[0183] After introducing the method, medium and apparatus of the exemplary embodiments of the present disclosure, next, reference is made to Figure 8 A computing device according to an exemplary embodiment of the present disclosure is described.

[0184] It should be understood that Figure 8 The computing device 800 shown is merely an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present disclosure.

[0185] Figure 8 A schematic diagram of the structure of a computing device provided in an embodiment of the present disclosure. Figure 8As shown, the computing device 800 is in the form of a general computing device. The components of the computing device 800 may include but are not limited to: at least one processing unit 801, at least one storage unit 802, and a bus 803 connecting different system components (including the processing unit 801 and the storage unit 802).

[0186] The bus 803 includes a data bus, a control bus, and an address bus. The storage unit 802 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 812 and / or a cache memory 822, and may further include a readable medium in the form of a non-volatile memory, such as a read-only memory (ROM) 832.

[0187] The storage unit 802 may also include a program / utility 852 having a set (at least one) of program modules 842, such program modules 842 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0188] The computing device 800 may also communicate with one or more external devices 804 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 805. Furthermore, the computing device 800 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 806. Figure 8 As shown, the network adapter 806 communicates with other modules of the computing device 800 via the bus 803. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the computing device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0189] It should be noted that, although several units / modules or sub-units / modules of the timing update device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0190] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0191] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

Claims

1. A log processing method based on word frequency, include: Get the text corresponding to the logs of multiple interface requests; For each of the interface requests, performing word segmentation processing on the text corresponding to the interface request to obtain a plurality of to-be-processed words in the text; Determine at least one target segment corresponding to the interface request according to the word frequencies of the multiple words to be processed in the text, wherein the target segment contains at least two words to be processed with the same word frequencies; According to the target fragments corresponding to the multiple interface requests, a homologous interface request among the multiple interface requests is determined, wherein the homologous interface request includes at least two interface requests, and the at least two interface requests are used to request execution of the same service.

2. The log processing method according to claim 1, wherein the at least one target segment corresponding to the interface request is determined based on the word frequencies of the plurality of words to be processed in the text, include: Sort the multiple words to be processed according to the frequency of the multiple words to be processed corresponding to the interface request; At least one target segment is obtained according to the sorting result and the word frequencies corresponding to the plurality of words to be processed, wherein the word frequency difference between the at least two words to be processed in the target segment is less than a first preset value.

3. The log processing method according to claim 1, wherein the target segments corresponding to the multiple interface requests are used to determine the same-source interface requests among the multiple interface requests. include: Determine, according to the target fragments corresponding to the multiple interface requests, a ratio of absolute values ​​of the differences in the number of target fragments between the multiple interface requests; Determine a target interface request among the multiple interface requests according to a ratio of an absolute value of a target fragment quantity difference between the multiple interface requests, wherein the target interface request includes at least a first interface request and a second interface request, and the ratio of an absolute value of a target fragment quantity difference between the first interface request and the second interface request is less than or equal to a second preset value; Obtaining the similar fragment ratios corresponding to the first interface request and the second interface request; In response to the similar fragment ratio being greater than or equal to a third preset value, it is determined that the first interface request and the second interface request are homologous interface requests.

4. The log processing method according to claim 3, wherein the obtaining of the ratio of similar fragments corresponding to the first interface request and the second interface request is performed by: include: Acquire a first target segment corresponding to the first interface request and a second target segment corresponding to the second interface request; Determining the similarity between the first target segment and the second target segment according to the to-be-processed words in the first target segment and the second target segment; Determine, in the first target segments, segments whose similarity is greater than or equal to a fourth preset value as similar segments; According to the number of similar segments corresponding to the first interface request and the number of the first target segments, a ratio of similar segments corresponding to the first interface request and the second interface request is determined.

5. The log processing method according to claim 4, further comprising: include: In response to the interface requests, among the multiple interface requests, the interface requests whose absolute value of the difference in the number of target fragments accounts for a larger proportion than the second preset value are non-homologous interface requests; And / or, in response to the similar fragment ratio being less than the third preset value, determining that the first interface request and the second interface request are non-homologous interface requests.

6. The log processing method according to any one of claims 1 to 5, further comprising: include: Determining, according to the target fragments corresponding to the at least two interface requests in the homologous interface request, the service execution predicates corresponding to the at least two interface requests; The execution information of the homologous interface request is determined according to the service execution judgment words corresponding to at least two interface requests.

7. The log processing method according to claim 6, wherein the service execution predicate words corresponding to the at least two interface requests are determined according to the target segments corresponding to the at least two interface requests in the homologous interface request, include: For any one of the at least two interface requests, determine a first word with the highest frequency among the to-be-processed words corresponding to the interface request, and a first segment among the target segments of the interface request; A service execution determination word corresponding to the interface request is determined according to the first word and the first segment.

8. The log processing method according to claim 6, wherein the service execution judgment words corresponding to the at least two interface requests are determined according to the target segments corresponding to the at least two interface requests in the homologous interface request, include: For any one of the at least two interface requests, according to the frequency of the plurality of to-be-processed words corresponding to the interface request, determining the to-be-processed words whose frequency is greater than a fifth preset value among the plurality of to-be-processed words as the service execution determination words corresponding to the interface request; Alternatively, the plurality of to-be-processed words are sorted according to the frequency of the plurality of to-be-processed words corresponding to the interface request, and a preset number of to-be-processed words are determined as the service execution determination words corresponding to the interface request according to the sorting.

9. The log processing method according to claim 6, wherein the execution information of the homologous interface request is determined according to the service execution judgment words corresponding to at least two interface requests, include: Determining a target judgment word corresponding to the business execution judgment word among the preset judgment words; It is determined that the execution information corresponding to the target predicate is the execution information of the homologous interface request.

10. The log processing method according to claim 9, further comprising: include: In response to the preset judgment words not having a target judgment word corresponding to the service execution judgment word; New execution information is obtained according to the business execution determination word.

11. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the log processing method according to any one of claims 1 to 10 is implemented.

12. A log processing device based on word frequency, include: The acquisition module is used to obtain the text corresponding to the logs of multiple interface requests; A processing module, for performing word segmentation processing on the text corresponding to each interface request to obtain a plurality of words to be processed in the text; A first determination module, configured to determine at least one target segment corresponding to the interface request according to the word frequencies of the multiple words to be processed in the text, wherein the target segment contains at least two words to be processed with the same word frequencies; The second determination module is used to determine a homologous interface request among the multiple interface requests according to target fragments corresponding to the multiple interface requests, wherein the homologous interface request includes at least two interface requests, and the at least two interface requests are used to request execution of the same service.

13. A computing device, include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the log processing method according to any one of claims 1 to 10.