Log classification method, device, equipment and storage medium

By automatically parsing the interactive information in voice logs and classifying them based on log keywords, the problem of low efficiency in manual screening in existing technologies is solved, enabling rapid and accurate analysis of voice interaction scenarios and problem discovery.

CN116721654BActive Publication Date: 2026-11-20PATEO CONNECT (NANJING) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310646720.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2026-11-20
Estimated Expiration
2043-06-01

AI Technical Summary

Technical Problem

In existing technologies, voice log analysis requires manual screening and reproduction, which makes it difficult to quickly and effectively determine the scenario type of voice interaction, resulting in low efficiency.

Method used

By automatically parsing the interaction information in the voice logs and classifying them based on log keywords, the scenario type and log classification results of the voice interaction scenarios are determined, including the analysis of the number of users and the number of interaction rounds.

Benefits of technology

It enables fast and accurate classification of voice interaction scenarios, improves filtering and analysis efficiency, can promptly identify and resolve problems, and provides multi-dimensional log classification results and user identity verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116721654B_ABST
    Figure CN116721654B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a log classification method, device and equipment and a storage medium, wherein the method comprises: determining at least one voice log from a plurality of to-be-screened logs within a preset period based on log keywords corresponding to a voice interaction process; analyzing each voice log to obtain voice interaction information corresponding to each voice log; and classifying the at least one voice log based on the voice interaction information corresponding to each voice log to obtain a scene type of a voice interaction scene within the preset period and a log classification result corresponding to the scene type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of data processing technology, and in particular to a log classification method, apparatus, device, and storage medium. Background Technology

[0002] Currently, the analysis of voice logs requires operations and maintenance personnel to manually filter all stored logs and determine the execution status of the voice interaction scenario based on the retrieved voice logs. Because the stored logs include not only logs generated by concurrent tasks, but also logs related to the complexity of voice interaction scenarios, existing technologies cannot effectively and quickly determine the scenario type of the current voice interaction scenario based on log data. Summary of the Invention

[0003] In view of this, embodiments of this application provide at least one log classification method, apparatus, device, and storage medium.

[0004] One objective of this application is to provide a log classification method. Its advantage lies in automatically parsing and classifying the interaction information in voice logs, eliminating the need for manual screening and process repetition. Compared to relying on manual screening by maintenance personnel, this application's embodiments can quickly filter and classify key information in logs, making it more efficient. This application's embodiments can classify multiple voice logs to obtain the scenario type of the voice interaction scenario within a preset time period and the corresponding log classification results, thereby enabling refined analysis of voice interaction problems. Based on the log classification provided by this application's embodiments, problems arising in voice interaction can be classified and analyzed in a timely manner, allowing for timely discovery and resolution of issues.

[0005] Another objective of this application is to provide a log classification method. Its advantage lies in quickly locating the voice log corresponding to each keyword among multiple logs to be filtered by obtaining at least one log keyword corresponding to the voice interaction process, thus greatly improving the efficiency of filtering and analysis. Simultaneously, embodiments of this application can accurately locate each voice interaction process, precisely filter out relevant logs surrounding the voice interaction process, and achieve refined analysis of the voice interaction process.

[0006] Another objective of this application is to provide a log classification method. Its advantage lies in its ability to classify multiple voice logs within a preset time period from at least one dimension, thereby enabling operations and maintenance personnel to intuitively obtain multi-faceted log classification results. When using interaction identifiers as the classification criterion, the number of voice interaction processes occurring within the preset time period can be determined. When using wake-up location as the classification criterion, the number of users engaging in voice interaction within the preset time period can be determined, allowing for analysis of the impact of user numbers on the voice interaction process. When using both interaction identifiers and wake-up location as classification criteria, the existence of complex interaction scenarios within the preset time period can be determined, such as whether single-person multi-turn voice interaction processes, multi-person single-turn voice interaction processes, and multi-person multi-turn voice interaction processes exist, thus allowing for analysis of the degree of impact of complex scenarios on voice interaction.

[0007] Another objective of this application is to provide a log classification method. Its advantage lies in its ability to differentiate between driver, passenger, and other positions by analyzing the wake-up location, thereby more accurately determining the user's identity and behavior. By counting the number of voice logs at each location, the number of users in that scenario can also be determined, thus classifying scenario types such as single-user interaction scenarios and multi-user interaction scenarios. This allows the system to more accurately understand voice interaction scenarios, providing a better data foundation for subsequent log analysis.

[0008] Another objective of this application is to provide a log classification method, which has the advantage of clearly displaying the classification results for each user and displaying different classified logs in chronological order, facilitating quick browsing and retrieval of necessary information by maintenance personnel. Furthermore, this application's embodiments avoid information confusion between different users by allocating an independent log display area for each user, thereby improving the efficiency and accuracy of information display.

[0009] Another objective of this application is to provide a log classification method, the advantage of which lies in further subdividing the user log display area into display sub-areas corresponding to at least one round, enabling operations and maintenance personnel to more clearly understand the classification results of each round. Simultaneously, the second category of logs in the display sub-areas is displayed in chronological order, helping operations and maintenance personnel to quickly find the required voice logs and grasp the overall trend of changes in the processing stages during voice interaction.

[0010] Another objective of this application is to provide a log classification method. Its advantage lies in adding a time display area and time period identifiers, enabling operations and maintenance personnel to more intuitively understand the current time period and chronological order of the logs. By associating each log with a time point identifier, it further facilitates operations and maintenance personnel in quickly locating and finding the required logs. This time display mechanism helps improve operations and maintenance personnel's overall perception and understanding of the logs, thereby improving the efficiency of voice log processing.

[0011] To achieve the aforementioned objective, the technical solution of this application embodiment is implemented as follows:

[0012] On one hand, embodiments of this application provide a log classification method, including: determining at least one voice log from multiple logs to be filtered within a preset time period based on log keywords corresponding to the voice interaction process; parsing each voice log to obtain voice interaction information corresponding to each voice log; classifying the at least one voice log based on the voice interaction information corresponding to each voice log to obtain the scene type of the voice interaction scenario within the preset time period and the log classification result corresponding to the scene type.

[0013] On the other hand, embodiments of this application provide a log classification device, including:

[0014] The filtering module is used to determine at least one voice log from multiple logs to be filtered within a preset time period based on the log keywords corresponding to the voice interaction process.

[0015] The parsing module is used to parse each of the voice logs to obtain the voice interaction information corresponding to each voice log.

[0016] The classification module is used to classify the at least one voice log based on the voice interaction information corresponding to each voice log, so as to obtain the scene type of the voice interaction scene within the preset time period and the log classification result corresponding to the scene type.

[0017] In another aspect, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps in the above-described method.

[0018] In another aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method.

[0019] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0021] Figure 1 A schematic diagram illustrating the implementation process of a log classification method provided in this application embodiment;

[0022] Figure 2 A schematic diagram illustrating the implementation process of a log classification method provided in this application embodiment;

[0023] Figure 3 A schematic diagram illustrating the implementation process of a log classification method provided in this application embodiment;

[0024] Figure 4 A schematic diagram illustrating the implementation process of a log classification method provided in this application embodiment;

[0025] Figure 5 A schematic diagram of a log interface provided in an embodiment of this application;

[0026] Figure 6 A schematic diagram of a log interface corresponding to a multi-turn voice interaction provided in an embodiment of this application;

[0027] Figure 7 A schematic diagram of a log interface including a time display area, provided for an embodiment of this application;

[0028] Figure 8 This is a schematic diagram of a log identifier provided in an embodiment of this application;

[0029] Figure 9 This is a schematic diagram of the composition structure of a log classification device provided in an embodiment of this application;

[0030] Figure 10 This is a schematic diagram of the hardware entity of a computer device provided in an embodiment of this application. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0032] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. The terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application.

[0034] This application provides a log classification method, which can be executed by a processor of a computer device. The computer device refers to a device with data processing capabilities, such as a server, laptop, tablet, desktop computer, smart TV, set-top box, or mobile device (e.g., mobile phone, portable video player, personal digital assistant, dedicated messaging device, portable gaming device).

[0035] Figure 1 This is a schematic diagram illustrating the implementation process of a log classification method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes the following steps S101 to S103:

[0036] Step S101: Based on the log keywords corresponding to the voice interaction process, determine at least one voice log from multiple logs to be filtered within a preset time period.

[0037] In some embodiments, this application pre-constructs a corresponding log keyword set for the voice interaction process. This log keyword set includes log keywords corresponding to each processing stage in the voice interaction process. Based on this, multiple logs to be filtered within a preset time period can be read to determine whether any log keyword corresponding to any processing stage exists in each log to be filtered. If a log keyword exists in a log to be filtered, the log to be filtered is treated as a voice log; if no log keyword exists in a log to be filtered, the log to be filtered is treated as other logs and filtered out; this process continues until all logs to be filtered have been traversed, resulting in at least one voice log within the preset time period.

[0038] In some embodiments, the voice logs in the plurality of logs to be filtered can be generated by any device with voice interaction capabilities, such as speakers, in-vehicle systems, or mobile phones with voice interaction capabilities. In other embodiments, the plurality of logs to be filtered can be generated by a system with voice interaction capabilities. This system may include multiple devices, each used to perform different processing stages in the voice interaction process and generate voice logs corresponding to the current processing stage. For example, the system includes an in-vehicle system and a cloud-based recognition server, wherein the in-vehicle system can generate voice logs for stages related to wake-up and command execution, and the cloud-based recognition server can generate voice logs for stages related to voice recognition.

[0039] Step S102: Parse each of the voice logs to obtain the voice interaction information corresponding to each voice log.

[0040] In some embodiments, the voice interaction information is a field or identifier carried in the voice log during the generation process of the electronic device. Specifically, the voice interaction information can be stored as a log field in the log text of the voice log, as a filename field in the log filename of the voice log, or as a file identifier in the file attribute data of the voice log. Of course, the voice interaction information can also be stored in other forms in the voice log file. During the parsing of the voice log, based on the storage format of the voice interaction information, a corresponding parsing method can be used to parse the voice log to obtain the corresponding voice interaction information.

[0041] In some embodiments, the voice interaction information carries at least one of the following: the receiving device of the voice message corresponding to the voice log, the receiving location of the voice message corresponding to the voice log, the user identifier of the voice message corresponding to the voice log, and the message identifier of the voice message corresponding to the voice log. The receiving device, the receiving location, and the user identifier of the voice message can all determine the user corresponding to each voice log, thereby determining the number of users corresponding to at least one voice log. The message identifier of the voice message can determine the round corresponding to at least one voice log.

[0042] Step S103: Classify the at least one voice log based on the voice interaction information corresponding to each voice log to obtain the scene type of the voice interaction scenario within the preset time period and the log classification result corresponding to the scene type.

[0043] In some embodiments, when the voice interaction information carries at least one of the receiving device of the voice message corresponding to the voice log, the receiving location of the voice message corresponding to the voice log, and the voice log itself, the user corresponding to each voice log can be determined through the voice interaction information. This allows for the determination of the number of users corresponding to at least one voice log within the preset time period, thus obtaining the scenario type in terms of user quantity. Accordingly, the log classification result corresponding to the scenario type in terms of user quantity may include at least one voice log corresponding to each user.

[0044] In some embodiments, when the voice interaction information carries a message identifier for the voice message corresponding to the voice log, the voice message corresponding to each voice log can be determined through the voice interaction information. This allows for the determination of the number of voice messages corresponding to at least one voice log within the preset time period (i.e., the number of voice interaction rounds), thus obtaining the scene type in the interaction round dimension. Correspondingly, the log classification result corresponding to the scene type in the interaction round dimension may include at least one voice log corresponding to each voice message (round).

[0045] In this embodiment, the interaction information of the voice logs is automatically parsed and classified, eliminating the need for manual screening and process re-reproduction. Compared to relying on manual screening by maintenance personnel, this embodiment can quickly filter out and classify key information in the logs, making it more efficient. This embodiment can classify multiple voice logs to obtain the scenario type of the voice interaction scenario within a preset time period and the log classification results corresponding to the scenario type, thereby enabling refined analysis of voice interaction problems. Based on the log classification provided by this embodiment, problems that occur in voice interaction can be classified and analyzed in a timely manner, allowing for timely discovery and resolution of problems.

[0046] Figure 2 This is an optional flowchart illustrating the log classification method provided in this application embodiment, which can be executed by the processor of a computer device. Based on Figure 1 , Figure 1 S101 in the middle can be updated to S201 to S202, which will combine Figure 2 The steps shown are explained.

[0047] Step S201: Obtain at least one log keyword corresponding to the voice interaction process.

[0048] In some embodiments, the present application embodiments pre-construct a corresponding log keyword set for the voice interaction process, the log keyword set including log keywords corresponding to each processing stage in the voice interaction process.

[0049] For example, the voice interaction process may include a wake-up phase, an ASR recognition result phase, a semantic parsing phase, a semantic distribution phase, and an interaction end phase. Accordingly, a corresponding log keyword can be set for each phase. For example, the log keyword for the wake-up phase is set to "onProcessVoiceWakeup"; the log keyword for the ASR recognition result phase is set to "onPartResults"; the log keyword for the semantic parsing phase is set to "VoiceBaseParse"; the log keyword for the semantic distribution phase is set to "executeAction"; and the log keyword for the interaction end phase is set to "setVuiStatusIn".

[0050] It is understandable that during each processing stage of the voice interaction process, the electronic device generates a voice log corresponding to that processing stage, and the voice log carries the log keywords corresponding to that processing stage.

[0051] Step S202: Based on the at least one log keyword, determine the voice log corresponding to each log keyword from multiple logs to be filtered within the preset time period; the voice log corresponding to the log keyword carries the log keyword.

[0052] In some embodiments, multiple logs to be filtered within a preset time period can be read, and it can be determined whether each log to be filtered contains a log keyword corresponding to any processing stage. If a log keyword exists in a log to be filtered, the log to be filtered is treated as a voice log; if no log keyword exists in a log to be filtered, the log to be filtered is treated as other logs and filtered out; this process continues until all logs to be filtered have been traversed, resulting in at least one voice log within the preset time period.

[0053] In this embodiment, by obtaining at least one log keyword corresponding to the voice interaction process, the voice log corresponding to each keyword in multiple logs to be filtered can be quickly located, greatly improving the efficiency of filtering and analysis. Simultaneously, this embodiment can accurately locate each voice interaction process, precisely filter out relevant logs surrounding the voice interaction process, and achieve refined analysis of the voice interaction process.

[0054] In some embodiments, the voice interaction information includes at least one of the following: an interaction identifier and a wake-up location; wherein, the interaction identifier is an identifier assigned by the server to each voice log of the single voice interaction process after voice wake-up; and the wake-up location is the location of the voice receiving device corresponding to the voice wake-up.

[0055] In some embodiments, after receiving a user's voice message, during the parsing process, a unique identifier needs to be assigned to the voice message as an interaction identifier. Subsequently, the voice logs generated in each process of responding to the voice message all carry this interaction identifier. For example, the complete process from receiving a voice message to generating a response may include an ASR recognition process, a semantic parsing process, and a semantic distribution process. Accordingly, the voice logs generated during the ASR recognition process, the semantic parsing process, and the semantic distribution process all carry the interaction identifier.

[0056] In some embodiments, the wake-up location is the location of the voice receiving device that receives the wake-up word when the user corresponding to the voice log initiates the voice interaction process using the wake-up word. Taking a vehicle as an example, multiple voice receiving devices can be deployed inside the vehicle. For instance, corresponding voice receiving devices can be deployed at each seat, such as the voice receiving device at the driver's seat, the voice receiving device at the passenger seat, etc.

[0057] Based on the above embodiments, multiple voice logs within a preset time period can be classified from at least one dimension, enabling maintenance personnel to intuitively obtain multi-angle log classification results. When using interaction identifiers as the classification criterion, the number of voice interaction processes occurring within the preset time period can be determined. When using wake-up location as the classification criterion, the number of users engaging in voice interaction within the preset time period can be determined, allowing for analysis of the impact of user numbers on the voice interaction process. When using both interaction identifiers and wake-up location as classification criterions, the existence of complex interaction scenarios within the preset time period can be determined, such as whether single-person multi-turn voice interaction processes, multi-person single-turn voice interaction processes, and multi-person multi-turn voice interaction processes exist, allowing for analysis of the degree of impact of complex scenarios on voice interaction.

[0058] Figure 3 This is an optional flowchart illustrating the log classification method provided in this application embodiment, which can be executed by the processor of a computer device. Based on Figure 1 The voice interaction information includes the wake-up location, the scene type includes a first scene type in terms of the number of users, and the log classification result includes the user classification result corresponding to each user. Figure 1 S103 in the middle can be updated to S301 to S302, which will combine Figure 3 The steps shown are explained.

[0059] Step S301: Classify the at least one voice log based on the wake-up position corresponding to each voice log to obtain a first category set corresponding to at least one wake-up position; the wake-up positions of the first category logs in the first category set are the same.

[0060] In some embodiments, the current voice interaction scenario can be divided according to the number of users performing the voice interaction, thereby determining the first scenario type in terms of the number of users. For example, the first scenario type may include a single-user interaction scenario and a multi-user interaction scenario. When high-precision scenario division is required, the multi-user interaction scenario can be further divided into a two-user interaction scenario, a three-user interaction scenario, etc.

[0061] For example, if there are the following five voice logs: a first voice log woken up from the driver's side, a second voice log woken up from the passenger's side, a third voice log woken up from the driver's side, a fourth voice log woken up from the passenger's side, and a fifth voice log woken up from the driver's side. In the process of classifying the at least one voice log based on the aforementioned wake-up position, a first category set corresponding to the driver's side can be obtained, including the first, third, and fifth voice logs; and a first category set corresponding to the passenger's side can be obtained, including the second and fourth voice logs.

[0062] Step S302: Determine the first scenario type of the voice interaction scenario within the preset time period based on the number of the first classification set, and determine each of the first classification sets as the user classification result corresponding to each user.

[0063] In this embodiment, by counting the number of users in the first category set, the number of users participating in voice interaction within a preset time period can be determined, and thus the first scenario type in terms of user quantity can be determined. Taking the first scenario type as including single-user interaction scenario and multi-user interaction scenario as an example, if the number of users in the first category set is 1, the first scenario type of the voice interaction scenario within the preset time period is determined to be a single-user interaction scenario; if the number of users in the first category set is greater than 1, the first scenario type of the voice interaction scenario within the preset time period is determined to be a multi-user interaction scenario.

[0064] Based on the above embodiments, by analyzing the wake-up location, positions such as driver and passenger can be identified, thus more accurately determining the user's identity and behavior. By counting the number of voice logs at each location, the number of users in that scenario can also be determined, thereby classifying scenario types such as single-user interaction scenarios and multi-user interaction scenarios. This allows the system to more accurately understand voice interaction scenarios, providing a better data foundation for subsequent log analysis.

[0065] In some embodiments, the voice interaction information further includes an interaction identifier, the scene type further includes a second scene type in the dimension of interaction rounds, and the log classification result further includes the round classification result corresponding to each user in each round. Figure 1 S103 in the formula may also include S303 to S304, which will combine Figure 3The steps shown are explained.

[0066] Step S303: For each user corresponding to the first category set, classify at least one first category log in the first category set based on the interaction identifier of each first category log to obtain a second category set corresponding to at least one interaction identifier; the interaction identifiers of each second category log in the second category set are the same.

[0067] In some embodiments, after classifying the at least one voice log based on the aforementioned wake-up position to obtain a first category set corresponding to each user, it is further necessary to classify the at least one first category log corresponding to the same user from the interaction round dimension, thereby determining the second scenario type from the interaction round dimension. For example, the second scenario type may include single-round interaction scenarios and multi-round interaction scenarios. When high-precision scenario segmentation is required, multi-round interaction scenarios can be further divided into two-round interaction scenarios, three-round interaction scenarios, etc.

[0068] For example, if user 1 corresponds to the following 5 voice logs: a first voice log with an interaction identifier of the first identifier, a second voice log with an interaction identifier of the second identifier, a third voice log with an interaction identifier of the first identifier, a fourth voice log with an interaction identifier of the second identifier, and a fifth voice log with an interaction identifier of the first identifier, then in the process of classifying the at least one voice log based on the above interaction identifiers, a second category set corresponding to the first identifier can be obtained, including the first voice log, the third voice log, and the fifth voice log; and a second category set corresponding to the second identifier can be obtained, including the second voice log and the fourth voice log.

[0069] Step S304: Determine the second scenario type of the voice interaction scenario within the preset time period based on the number of second category sets corresponding to each user, and determine each second category set corresponding to each user as the round classification result corresponding to each user in each round.

[0070] In this embodiment, by counting the number of the second category set, the number of rounds of voice interaction performed by the user within a preset time period can be determined, thereby determining the second scenario type in terms of interaction rounds. Taking the second scenario type as including single-round interaction scenarios and multi-round interaction scenarios as an example, if the number of the second category set is 1, the second scenario type of the voice interaction scenario within the preset time period is determined to be a single-round interaction scenario; if the number of the second category set is greater than 1, the second scenario type of the voice interaction scenario within the preset time period is determined to be a multi-round interaction scenario.

[0071] Based on steps S301 to S304 above, the number of users participating in voice interaction within a preset time period (i.e., the first scenario type) can be determined, and the number of rounds each user participates in voice interaction can be determined (i.e., the second scenario type). Furthermore, the scenario types of voice interaction scenarios within the preset time period can include single-person single-round interaction scenarios, single-person multi-round interaction scenarios, multi-person single-round interaction scenarios, and multi-person multi-round interaction scenarios.

[0072] Figure 4 This is an optional flowchart illustrating the log classification method provided in this application embodiment, which can be executed by the processor of a computer device. Based on Figure 1 The method may further include S401 to S402, combining Figure 4 The steps shown are explained.

[0073] Step S401: In response to the log display request, display the log interface; the log interface includes the user log display area corresponding to each user.

[0074] In some embodiments, in order to intuitively display the voice logs corresponding to different users, this application sets a user log display area for each user in the log interface. At the same time, the user log display areas for each user do not overlap. In this way, multiple voice logs are displayed in different user log display areas according to the user dimension.

[0075] For example, please refer to Figure 5 The diagram illustrates a log interface. The log interface 50 includes at least one user log display area, as shown in user log display areas 51 to 53. The user log display areas for different users do not overlap.

[0076] Step S402: Display the user classification results corresponding to each user through the user log display area corresponding to each user.

[0077] In some embodiments, the user classification result for a user includes at least one voice log corresponding to that user. During the process of displaying the user classification result through the user log display area, the at least one voice log can be displayed in that user log display area. For example, the voice log can be displayed in at least one of the following ways: displaying the log identifier corresponding to the voice log, displaying the log keywords corresponding to the voice log, displaying the interaction identifier corresponding to the voice log, and displaying the wake-up position corresponding to the voice log.

[0078] For clarity, please refer to the embodiments described in this application. Figure 5The eight log entries displayed in the log interface are presented as keywords: Voice Wake-up 511, ASR Recognition Result 512, Semantic Analysis 513, Semantic Distribution 514, Voice Wake-up 521, ASR Recognition Result 522, Semantic Analysis 533, and Semantic Distribution 534. Specifically, Voice Wake-up 511, ASR Recognition Result 512, Semantic Analysis 513, and Semantic Distribution 514 are the user classification results corresponding to user log display area 51, while Semantic Analysis 533 and Semantic Distribution 534 are the user classification results corresponding to user log display area 52.

[0079] In some embodiments, at least one first category log corresponding to the user classification result is displayed sequentially in the user log display area in chronological order along a preset direction.

[0080] In some embodiments, the preset direction can be the horizontal direction of the log interface, the vertical direction of the log interface, or any straight line direction within the log interface. Accordingly, the at least one first-category log can be arranged and displayed sequentially in the user log display area according to chronological order along the preset direction. In other embodiments, the preset direction can also be a curved direction.

[0081] like Figure 5 The log interface 50 shown, after arranging the four first-category logs corresponding to user 1 in chronological order as voice wake-up 511, ASR recognition result 512, semantic parsing 513, and semantic distribution 514, can display voice wake-up 511, ASR recognition result 512, semantic parsing 513, and semantic distribution 514 in the user log display area 51 in the preset direction 54.

[0082] In some embodiments, at least one first-category log corresponding to each user classification result is displayed sequentially in the corresponding user log display area in the same preset direction. That is, the arrangement direction of at least one first-category log in each user classification result is the same, and all are in the preset direction.

[0083] like Figure 5 The log interface 50 shown has the same arrangement direction for each first category log in the user log display area 51, the user log display area 52, and the user log display area 53, and all of them are preset directions 54.

[0084] In some embodiments, for all logs displayed on the log interface, the position of each log in the preset direction is related to the time corresponding to each log.

[0085] like Figure 5 The log interface 50 shown displays a total of 8 logs, including voice wake-up 511, ASR recognition result 512, semantic analysis 513, semantic distribution 514, voice wake-up 521, ASR recognition result 522, semantic analysis 533, and semantic distribution 534. If these 8 logs are ordered chronologically as follows: voice wake-up 511, voice wake-up 521, ASR recognition result 512, ASR recognition result 522, semantic analysis 533, semantic analysis 513, semantic distribution 534, and semantic distribution 514, then the relative positions of these 8 logs in the preset direction 54 in this log interface are the same as the chronological order of the logs mentioned above.

[0086] In some embodiments, the preset direction 54 may or may not be displayed in the log interface.

[0087] In some embodiments, the user log display area includes at least one display sub-area corresponding to each round.

[0088] like Figure 6 The diagram shows the log interface corresponding to the multi-round voice interaction. The user log display area 61 in the log interface 60 includes two sub-areas corresponding to each round: sub-area 62 and sub-area 63. The user log display area 61 displays eight first-category results for user 1, including voice wake-up 611, ASR recognition result 612, semantic parsing 613, semantic distribution 614, ASR recognition result 615, semantic parsing 616, semantic distribution 617, and end of voice interaction 618.

[0089] Based on the above embodiments, the classification results for each user can be clearly displayed, and different classification logs can be displayed in chronological order, facilitating quick browsing and retrieval of necessary information by maintenance personnel. Furthermore, this embodiment avoids information confusion between different users by allocating an independent log display area for each user, thus improving the efficiency and accuracy of information display.

[0090] In some embodiments, step S4021 can be used to display the user classification results corresponding to each user through the user log display area corresponding to each user.

[0091] Step S4021: For each user's corresponding user log display area, the user's round classification results for each round are displayed in the user log display area through the display sub-area corresponding to each round.

[0092] like Figure 6The user log display area 61, as shown, after classifying the eight first classification results in user log display area 61 according to rounds, can be determined that ASR recognition result 612, semantic parsing 613, and semantic distribution 614 are round classification results of one round; ASR recognition result 615, semantic parsing 616, and semantic distribution 617 are round classification results of another round. Therefore, the round classification results of one round can be displayed in display sub-area 62, and the round classification results of another round can be displayed in display sub-area 63.

[0093] In this process, at least one second-category log corresponding to the round classification result is displayed in the display sub-area in chronological order along the preset direction.

[0094] like Figure 6 As shown, the ASR recognition results 612, semantic parsing 613, and semantic distribution 614 displayed in the display sub-region 62 are displayed along the preset direction 62, and the ASR recognition results 615, semantic parsing 616, and semantic distribution 617 displayed in the display sub-region 63 are also displayed along the preset direction 62.

[0095] Based on the above embodiments, the user log display area is further subdivided into display sub-areas corresponding to at least one round, enabling operations and maintenance personnel to more clearly understand the classification results of each round. Simultaneously, the second category of logs in the display sub-areas is displayed in chronological order, helping operations and maintenance personnel to quickly find the required voice logs and grasp the overall trend of changes in the processing stages during voice interaction.

[0096] In some embodiments, the log interface may further include a time display area corresponding to the preset time period.

[0097] In some embodiments, the time display area is used to display the time information corresponding to each log. The time information of each log can be displayed in the form of a timeline, or it can be displayed directly as time data (such as 15:43:55).

[0098] In some embodiments, the time display area may be located between various user log display areas, or before or after all user log display areas; this application does not limit this.

[0099] Please see Figure 7 The diagram shows a log interface including a time display area. The log interface 70 includes not only user log display areas 71 and 72, but also a time display area 73. For example, this time display area 73 displays the time information corresponding to each log entry in a timeline format.

[0100] In some embodiments, the method further includes step S403.

[0101] Step S403: Display the time period identifier corresponding to the preset time period through the time display area; the time period identifier includes at least one time point identifier arranged along the preset direction, and each log displayed in the log interface has a corresponding relationship with a time point identifier.

[0102] In some embodiments, when the time period displayed in the time display area is identified as a timeline, the at least one time point is identified as a marker point on the timeline. When the time period is identified as the start time data and end time data corresponding to the preset time period, the at least one time point is identified as the log time sequence corresponding to each log. For example, the time period of the preset time period is identified as 13:00:00 to 16:00:00, and the time point identifier can be time data located between the start time data and the end time data, such as 15:52:07.

[0103] like Figure 7 The time display area 73 shown displays time-segment markers in the form of a timeline (arrows in the figure). Each time-segment marker includes multiple marker points (black dots in the figure), with each marker point corresponding to a specific log entry indicated by a dashed line. Furthermore, the relative position of the marker points for each log entry on the time-segment markers visually determines the relative order of the log entries.

[0104] Based on the above embodiments, by adding a time display area and time period identifiers, operations and maintenance personnel can more intuitively understand the time period and chronological order of the current log. By associating each log with a time point identifier, it further facilitates operations and maintenance personnel in quickly locating and finding the required logs. This time display mechanism helps improve operations and maintenance personnel's overall perception and understanding of the logs, thereby improving the efficiency of voice log processing.

[0105] In some embodiments, each log displayed in the log interface is displayed in the form of a log identifier; the log identifier includes at least one of the following: log keyword, interaction identifier, and wake-up location.

[0106] In some embodiments, the log identifier is used to display the main log content. In some embodiments, in response to a triggering event for the log identifier, a log details interface can be displayed, showing the original data corresponding to the log.

[0107] Please see Figure 8The diagram illustrates a log identifier, which displays the log keyword 81 "ASR recognition result", the interaction identifier 82 "ID: 456", and the wake-up location 83 "driver" for the corresponding log. This log identifier can be used as the display method for various logs in the log interface of the above embodiments.

[0108] Based on the foregoing embodiments, this application provides a log classification device, which includes various units and modules included in each unit. It can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0109] Figure 9 This is a schematic diagram of the composition structure of a log classification device provided in an embodiment of this application, as shown below. Figure 9 As shown, the log classification device 900 includes: a filtering module 910, a parsing module 920, and a classification module 930, wherein:

[0110] The filtering module 910 is used to determine at least one voice log from multiple logs to be filtered within a preset time period based on the log keywords corresponding to the voice interaction process.

[0111] The parsing module 920 is used to parse each of the voice logs to obtain the voice interaction information corresponding to each voice log.

[0112] The classification module 930 is used to classify the at least one voice log based on the voice interaction information corresponding to each voice log, so as to obtain the scene type of the voice interaction scene within the preset time period and the log classification result corresponding to the scene type.

[0113] In some embodiments, the filtering module 910 is further configured to:

[0114] Obtain at least one log keyword corresponding to the voice interaction process;

[0115] Based on the at least one log keyword, determine the voice log corresponding to each log keyword from multiple logs to be filtered within the preset time period; the voice log corresponding to the log keyword carries the log keyword.

[0116] In some embodiments, the voice interaction information includes at least one of the following: an interaction identifier and a wake-up location; wherein, the interaction identifier is an identifier assigned by the server to each voice log of the single voice interaction process after voice wake-up; and the wake-up location is the location of the voice receiving device corresponding to the voice wake-up.

[0117] In some embodiments, the voice interaction information includes wake-up location, the scene type includes a first scene type in terms of the number of users, and the log classification result includes the user classification result corresponding to each user; the classification module 930 is further configured to:

[0118] The at least one voice log is classified based on the wake-up position corresponding to each voice log to obtain a first category set corresponding to at least one wake-up position; the wake-up positions of the first category logs in the first category set are the same;

[0119] Based on the number of the first classification set, the first scenario type of the voice interaction scenario within the preset time period is determined, and each of the first classification sets is determined as the user classification result corresponding to each user.

[0120] In some embodiments, the voice interaction information further includes an interaction identifier, the scene type further includes a second scene type in the dimension of interaction rounds, and the log classification result further includes the round classification result corresponding to each user in each round; the classification module 930 is further configured to:

[0121] For each user corresponding to a first category set, at least one first category log in the first category set is classified based on the interaction identifier of each first category log to obtain a second category set corresponding to at least one interaction identifier; the interaction identifiers of the second category logs in the second category set are the same.

[0122] The second scenario type of the voice interaction scenario within the preset time period is determined based on the number of second category sets corresponding to each user, and each second category set corresponding to each user is determined as the round classification result corresponding to each user in each round.

[0123] In some embodiments, the log classification device 900 further includes a display module.

[0124] In some embodiments, the display module is configured to:

[0125] In response to a log display request, a log interface is displayed; the log interface includes a user log display area for each user.

[0126] The user classification results for each user are displayed in the user log display area for each user.

[0127] Among them, at least one first category log corresponding to the user classification result is displayed in the user log display area in chronological order along a preset direction.

[0128] In some embodiments, the user log display area includes at least one display sub-area corresponding to each round; the display module is further configured to:

[0129] For each user's corresponding user log display area, the user's round classification results for each round are displayed in the display sub-area corresponding to each round; at least one second category log corresponding to the round classification results is displayed in the display sub-area in chronological order along the preset direction.

[0130] In some embodiments, the log interface further includes a time display area corresponding to the preset time period; the display module is further configured to:

[0131] The time display area displays the time period identifiers corresponding to the preset time period; the time period identifiers include at least one time point identifier arranged along the preset direction, and each log displayed in the log interface has a corresponding relationship with a time point identifier.

[0132] In some embodiments, each log displayed in the log interface is displayed in the form of a log identifier; the log identifier includes at least one of the following: log keyword, interaction identifier, and wake-up location.

[0133] The descriptions of the apparatus embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. In some embodiments, the functions or modules included in the apparatus provided in this application can be used to perform the methods described in the method embodiments above. For technical details not disclosed in the apparatus embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0134] It should be noted that, in the embodiments of this application, if the above-described log classification method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0135] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.

[0136] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.

[0137] This application provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.

[0138] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0139] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0140] Figure 10 This application provides a hardware entity diagram of a computer device as an embodiment of the present application, such as... Figure 10 As shown, the hardware entity of the computer device 1000 includes a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can run on the processor 1001, and the processor 1001 executes the program to implement the steps in the method of any of the above embodiments.

[0141] The memory 1002 stores computer programs that can run on the processor. The memory 1002 is configured to store instructions and applications that can be executed by the processor 1001. It can also cache data to be processed or already processed (e.g., image data, audio data, voice communication data, and video communication data) in the processor 1001 and various modules in the computer device 1000. It can be implemented by flash memory or random access memory (RAM).

[0142] The processor 1001 executes the steps of any of the above-mentioned log classification methods when executing the program. The processor 1001 typically controls the overall operation of the computer device 1000.

[0143] This application provides a computer storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the log classification method as described in any of the above embodiments.

[0144] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0145] The aforementioned processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that other electronic devices can also implement the functions of the aforementioned processor, and this application does not specifically limit the specific implementation.

[0146] The aforementioned computer storage media / memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various terminals that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0147] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0148] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0149] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0150] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0151] Furthermore, in the various embodiments of this application, all functional units can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0152] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.

[0153] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A log classification method, characterized in that, The method includes: Based on the log keywords corresponding to the voice interaction process, at least one voice log is determined from multiple logs to be filtered within a preset time period; the log keywords are used to characterize the processing stage in the voice interaction process; the voice log is generated in each processing stage of the voice interaction process and carries the log keywords corresponding to the processing stage. Each of the aforementioned voice logs is parsed to obtain the voice interaction information corresponding to each voice log; the voice interaction information includes an interaction identifier and a wake-up position; wherein, the interaction identifier is an identifier assigned by the server to each voice log in the single voice interaction process after voice wake-up; the wake-up position is the position of the voice receiving device corresponding to the voice wake-up. Based on the voice interaction information corresponding to each of the voice logs, the at least one voice log is classified to obtain the scene type of the voice interaction scenario within the preset time period and the log classification result corresponding to the scene type; wherein, the scene type includes a first scene type in the dimension of the number of users and a second scene type in the dimension of the interaction round, and the log classification result includes the user classification result corresponding to each user and the round classification result corresponding to each user in each round.

2. The method according to claim 1, characterized in that, The method of determining at least one voice log from multiple logs to be filtered within a preset time period based on log keywords corresponding to the voice interaction process includes: Obtain at least one log keyword corresponding to the voice interaction process; Based on the at least one log keyword, determine the voice log corresponding to each log keyword from multiple logs to be filtered within the preset time period.

3. The method according to claim 1, characterized in that, The step of classifying the at least one voice log based on the voice interaction information corresponding to each voice log to obtain the scene type of the voice interaction scenario within the preset time period and the log classification result corresponding to the scene type includes: The at least one voice log is classified based on the wake-up position corresponding to each voice log to obtain a first category set corresponding to at least one wake-up position; the wake-up positions of the first category logs in the first category set are the same; Based on the number of the first classification set, the first scenario type of the voice interaction scenario within the preset time period is determined, and each of the first classification sets is determined as the user classification result corresponding to each user.

4. The method according to claim 3, characterized in that, The step of classifying the at least one voice log based on the voice interaction information corresponding to each of the voice logs to obtain the scenario type of the voice interaction scenario within the preset time period and the log classification result corresponding to the scenario type further includes: For each user corresponding to a first category set, at least one first category log in the first category set is classified based on the interaction identifier of each first category log to obtain a second category set corresponding to at least one interaction identifier; the interaction identifiers of the second category logs in the second category set are the same. The second scenario type of the voice interaction scenario within the preset time period is determined based on the number of second category sets corresponding to each user, and each second category set corresponding to each user is determined as the round classification result corresponding to each user in each round.

5. The method according to claim 4, characterized in that, The method further includes: In response to a log display request, a log interface is displayed; the log interface includes a user log display area for each user. The user classification results for each user are displayed in the user log display area for each user. Among them, at least one first category log corresponding to the user classification result is displayed in the user log display area in chronological order along a preset direction.

6. The method according to claim 5, characterized in that, The user log display area includes at least one display sub-area corresponding to each round; The step of displaying the user classification results for each user through the user log display area for each user includes: For each user's corresponding user log display area, the user's round classification results for each round are displayed in the display sub-area corresponding to each round; at least one second category log corresponding to the round classification results is displayed in the display sub-area in chronological order along the preset direction.

7. The method according to claim 5 or 6, characterized in that, The log interface also includes a time display area corresponding to the preset time period; the method further includes: The time display area displays the time period identifiers corresponding to the preset time period; the time period identifiers include at least one time point identifier arranged along the preset direction, and each log displayed in the log interface has a corresponding relationship with a time point identifier.

8. The method according to claim 5 or 6, characterized in that, Each log entry displayed in the log interface is presented in the form of a log identifier; the log identifier includes at least one of the following: log keyword, interaction identifier, and wake-up location.

9. A log classification device, characterized in that, include: The filtering module is used to determine at least one voice log from multiple logs to be filtered within a preset time period based on log keywords corresponding to the voice interaction process; the log keywords are used to characterize the processing stage in the voice interaction process. The voice log is generated at each processing stage during the voice interaction process and carries log keywords corresponding to the processing stage. The parsing module is used to parse each of the voice logs to obtain the voice interaction information corresponding to each voice log; the voice interaction information includes an interaction identifier and a wake-up position; wherein, the interaction identifier is an identifier assigned by the server to each voice log in the single voice interaction process after voice wake-up; the wake-up position is the position of the voice receiving device corresponding to the voice wake-up. The classification module is used to classify the at least one voice log based on the voice interaction information corresponding to each voice log, so as to obtain the scene type of the voice interaction scene within the preset time period and the log classification result corresponding to the scene type; The scenario types include a first scenario type in terms of the number of users and a second scenario type in terms of the number of interaction rounds. The log classification results include the user classification results corresponding to each user and the round classification results corresponding to each user in each round.

10. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Vehicle-mounted voice command recognition method and device, computer equipment and storage medium

    CN110400563A

  • Real-time uploading method and device for voice recognition results, equipment and storage medium

    CN110503960A

  • Model training method, interactive log analysis method and device, equipment and medium

    CN114580543A

  • Aircraft systems and methods for retrospective audio analysis

    US20200380958A1