A log upload method, system, device, medium and product

The voice recognition-based log uploading method addresses the complexity and privacy issues of existing methods by ensuring secure and targeted log uploads, improving the efficiency and accuracy of fault location for R&D personnel.

CN118158214BActive Publication Date: 2024-12-27镁佳(北京)科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410321646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-12-27
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

Existing log uploading methods for operating systems are complex, result in large data transmission volumes, and pose privacy risks, hindering the efficiency and accuracy of fault location by R&D personnel.

Method used

A voice recognition-based log uploading method that triggers log uploads by recognizing user-defined keywords, ensuring privacy and security while reducing unnecessary data transmission.

Benefits of technology

Enhances the accuracy and efficiency of log acquisition by R&D personnel, allowing for quicker fault identification by uploading only relevant logs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118158214B_ABST
    Figure CN118158214B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of log processing technology, and discloses a log uploading method, system, device, medium and product, wherein the method comprises: obtaining the system log of a target vehicle; obtaining the voice information output by the target vehicle in response to a voice recognition start instruction operated by a user; identifying whether there is a preset function trigger instruction in the voice information; when there is a preset function trigger instruction in the voice information, performing voice recording to generate a corresponding voice file, and performing voice recognition on the voice information to obtain a first voice recognition keyword; determining whether the first voice keyword matches the system log; when the first voice keyword matches the system log, uploading the corresponding matching system log and voice file. The present invention takes into account the user's operating intention, ensures the privacy security of log uploading, not only reduces the amount of log transmission, but also improves the accuracy and efficiency of log acquisition by R&D personnel, so that R&D personnel can quickly locate faults based on logs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of speech recognition technology, and in particular to a log uploading method, system, device, medium and product. Background Art

[0002] Currently, when the operating system is running, corresponding system logs will be generated. These logs serve as a reference for system operation and record the current status and related information of the operating system. Subsequent R&D personnel can quickly understand and confirm the current operation and status of the operating system by viewing the logs.

[0003] In order to achieve the above goals, it is necessary to transmit the logs of the operating system to the R&D personnel, that is, to upload the logs to the cloud platform by setting the log upload trigger method for the R&D personnel to view. However, the trigger methods for related log uploads, such as rule-based trigger methods, periodic trigger methods, remote trigger methods, and user click trigger methods, have problems such as limited application scenarios, complex operation procedures for log uploads, and large amounts of data to be transmitted. Especially for the remote trigger method, its remote operation involves user privacy, and the user's consent is required before uploading, which not only affects the time and efficiency of log uploads, but may also cause user privacy security leaks.

[0004] In summary, the relevant log upload process has problems such as complex operation process, large log transmission volume, and privacy leakage security risks, which seriously affects the accuracy and efficiency of log acquisition by R&D personnel. For system failures, it is difficult to meet the needs of R&D personnel to quickly locate faults based on logs. Summary of the invention

[0005] In view of this, the present invention provides a log uploading method, system, device, medium and product to solve the problems that the existing log uploading operation process is complicated, the log transmission volume is large, and there is a security risk of privacy leakage, which affects the accuracy and efficiency of log acquisition by R&D personnel and is difficult to meet the needs of R&D personnel to quickly locate system faults based on logs.

[0006] In a first aspect, the present invention provides a log uploading method, the method comprising:

[0007] Obtain the system log of the target vehicle;

[0008] In response to a voice recognition start instruction operated by a user, acquiring voice information output by the target vehicle;

[0009] Identify whether there is a preset function trigger instruction in the voice information;

[0010] When there is a preset function triggering instruction in the voice information, voice recording is performed to generate a corresponding voice file, and voice recognition is performed on the voice information to obtain a first voice recognition keyword;

[0011] Determine whether the first voice keyword matches the system log;

[0012] When the first voice keyword matches the system log, the corresponding matching system log and voice file are uploaded.

[0013] The present invention acquires and judges voice information after responding to the voice recognition start instruction of the user operation to trigger whether the log is uploaded. Taking into account the user's operation intention, the privacy and security of the log upload can be guaranteed; by uploading the matching system log accordingly, the log transmission volume can be reduced, the operation process is simplified, and the accuracy and efficiency of R&D personnel in obtaining logs are further improved, so that the R&D personnel can quickly locate faults based on the logs.

[0014] In an optional implementation, the log uploading method further includes:

[0015] When the first voice keyword does not match the system log, the system log and the voice file are uploaded.

[0016] When the first voice keyword does not match the system log, the present invention performs full system log upload, which can ensure the integrity of the original data and provide comprehensive analysis data for research and development personnel.

[0017] In an optional implementation, before uploading the corresponding matching system log and voice file, or before uploading the system log and voice file, the log uploading method further includes:

[0018] Check whether there is a log upload instruction confirmed by the user;

[0019] When there is a log upload instruction confirmed by the user, the corresponding matching system log and voice file are uploaded, or the system log and voice file are uploaded.

[0020] The present invention uploads logs by designing a semi-automatic voice triggering method, that is, detecting whether there is a log upload instruction confirmed by the user, and uploading the corresponding system log and voice file when the log upload instruction exists, which helps to ensure the accuracy of the voice recognition result.

[0021] In an optional implementation, the log uploading method further includes:

[0022] When there is no preset function triggering instruction in the voice information, voice recognition is performed on the voice information to obtain a second voice recognition keyword, and whether the second voice keyword matches the system log is determined;

[0023] When the second voice keyword matches the system log, the corresponding matching system log is uploaded;

[0024] When the second voice keyword does not match the system log, the process returns to the step of obtaining the system log of the target vehicle.

[0025] The present invention aims at system failures of vehicles in conventional driving scenarios. By identifying second voice keywords in voice information, matching them with system logs, and uploading the matched system logs, the pertinence of log uploading can be improved, the transmission volume of logs can be reduced, and the efficiency of log uploading can be greatly improved.

[0026] In an optional implementation, obtaining a system log of a target vehicle includes:

[0027] After the target vehicle is powered on, log information is generated in real time;

[0028] Classify the log information, obtain the corresponding category log information, and mark each category log information accordingly;

[0029] The identified log information of each category is stored to obtain the system log of the target vehicle.

[0030] The present invention can provide an original log data source by acquiring the system log of the target vehicle, so as to facilitate operators to perform subsequent related maintenance on the target vehicle.

[0031] In an optional implementation, the voice recognition start instruction in response to a user operation includes:

[0032] The user turns on the voice recognition function by operating a function button and / or issuing a voice command, and a corresponding voice recognition turn-on command is generated.

[0033] In a second aspect, the present invention provides a log uploading system, the system comprising:

[0034] A first acquisition module is used to acquire the system log of the target vehicle;

[0035] A second acquisition module, for acquiring voice information output by the target vehicle in response to a voice recognition start instruction operated by a user;

[0036] A recognition module, used to recognize whether there is a preset function trigger instruction in the voice information;

[0037] A matching module, used for, when there is a preset function triggering instruction in the voice information, performing voice recording to generate a corresponding voice file, and performing voice recognition on the voice information to obtain a first voice recognition keyword;

[0038] A judgment module, used to judge whether the first voice keyword matches the system log;

[0039] The uploading module is used to upload the corresponding matching system log and voice file when the first voice keyword matches the system log.

[0040] The log uploading system of the present invention can take into account the user's operating intentions and ensure the privacy and security of log uploading. It not only reduces the amount of log transmission, but also improves the accuracy and efficiency of R&D personnel in obtaining logs, so that R&D personnel can quickly locate faults based on logs.

[0041] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes a log uploading method of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0042] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute a log uploading method according to the first aspect or any corresponding embodiment thereof.

[0043] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute a log uploading method according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 is a flow chart of a log uploading method according to an embodiment of the present invention;

[0046] Figure 2 is a flow chart of another log uploading method according to an embodiment of the present invention;

[0047] Figure 3 is a flow chart of another log uploading method according to an embodiment of the present invention;

[0048] Figure 4 is a structural block diagram of a log uploading system according to an embodiment of the present invention;

[0049] Figure 5 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0051] The vehicle log (also known as the vehicle operating system log) is a log file that records various events and corresponding parameters that occurred in the vehicle operating system during vehicle operation. It can provide a true and accurate data basis for R&D personnel to analyze vehicle performance and solve vehicle faults. Currently, the vehicle log uploads the log to the cloud platform by setting the log upload trigger method for R&D personnel to view. Among them, the common trigger methods for log upload include:

[0052] 1. Rule-based triggering method: The operating system uploads the stored logs to the cloud platform according to the rules for R&D personnel to view.

[0053] 2. Periodic triggering method: the operating system regularly uploads the stored logs to the cloud platform for R&D personnel to view.

[0054] 3. Remote triggering method: R&D personnel issue remote commands through the cloud platform to control the operating system to upload logs.

[0055] 4. User click trigger method: the user operates in the after-sales service interface of the operating system to trigger log upload.

[0056] However, the above triggering methods all have relevant disadvantages, specifically:

[0057] 1. Disadvantages of rule-based triggering: The rules are relatively fixed and cannot cover situations outside the rules. When a program error occurs in the operating system, the log cannot be uploaded in time, thus missing information.

[0058] 2. Disadvantages of periodic triggering: The amount of logs is relatively large, and in many cases the operating system is in normal operation, so the corresponding log content is invalid. Uploading invalid logs results in a waste of resources.

[0059] 3. Disadvantages of remote command triggering: The operations of R&D personnel are delayed, logs may be lost, and logs cannot be obtained in a timely and accurate manner; and remote operations involve user privacy and require user consent, which poses a risk of user privacy leakage.

[0060] 4. Disadvantages of user-click triggering: The operation is complicated, and this function is not within the scope of use for regular users. Most users do not know how to enter the interface or do not know that there is such a function, so the application has limitations.

[0061] In summary, the present invention provides a log uploading method, system, device, medium and product, which acquire and judge voice information after responding to the voice recognition start command operated by the user to trigger whether the log is uploaded. Taking into account the user's operation intention, the privacy and security of the log upload can be guaranteed; by uploading the matching system log accordingly, the log transmission volume can be reduced, the operation process is simplified, and the accuracy and efficiency of R&D personnel in obtaining logs are further improved, so that R&D personnel can quickly locate faults based on logs.

[0062] An embodiment of the present invention provides an embodiment of a log uploading method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0063] In this embodiment, a log uploading method is provided. Figure 1 is a flow chart of a log uploading method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0064] Step S101, obtaining the system log of the target vehicle.

[0065] It should be noted that the acquisition method and log type of the system log in this embodiment are not limited here, and are adaptively adjusted based on conventional operations in the field. For example, after establishing a communication connection with the target vehicle, the target system log is transmitted and acquired; wherein the system log includes: Bluetooth log, WIFI log, music log, etc., which are only used as examples and are not limited to this.

[0066] Step S102, in response to a voice recognition start instruction operated by a user, voice information output by the target vehicle is acquired.

[0067] In this embodiment, the voice information in the vehicle is obtained through the voice collection device carried by the target vehicle, wherein the specific type of the voice collection device is not limited here and is determined based on actual needs. For example, the voice collection device is a microphone or a sound sensor, which is only used as an exemplary description.

[0068] Step S103, identifying whether there is a preset function triggering instruction in the voice information.

[0069] In this embodiment, the preset function trigger instruction is used to identify the Tucao function of the vehicle, wherein the Tucao function is when the user turns on the voice function to use the vehicle computer, the user actively complains to the vehicle system through voice about the inconvenient functions in the vehicle, or the vehicle function suggestions that he thinks need to be improved. It should be noted that the activation method of the Tucao function in this embodiment is not limited here. If the preset function trigger instruction is a preset voice keyword for turning on the Tucao function, the vehicle automatically turns on the Tucao function when the preset voice keyword is recognized through voice.

[0070] Step S104, when there is a preset function triggering instruction in the voice information, voice recording is performed to generate a corresponding voice file, and voice recognition is performed on the voice information to obtain a first voice recognition keyword.

[0071] It should be noted that the method of performing speech recognition on speech information in this embodiment is not limited here, and the corresponding recognition result is obtained based on the conventional speech recognition method in the field. For example, a speech recognition algorithm is used to recognize the speech information to obtain the corresponding recognition result. Among them, the speech recognition algorithm includes: a recognition algorithm based on dynamic time warping, a recognition algorithm based on a hidden Markov model, a recognition algorithm based on vector quantization of a non-parametric model, a recognition algorithm based on a neural network model, etc. The speech recognition algorithm is only used as an example for illustration, and is not limited to this. It is adaptively selected based on actual needs.

[0072] Step S105, determining whether the first voice keyword matches the system log.

[0073] In this embodiment, the matching method of the first voice keyword and the system log is not limited here, and is adaptively selected based on actual needs. For example, by identifying the identification information of the system log, the identification information is matched with the first voice keyword as a string, which is only used as an exemplary illustration. Among them, the string matching algorithm includes: brute force matching algorithm, Rabin-Karp (RK) algorithm, Boyer-Moore (BM) algorithm, etc. The string matching algorithm is only used as an example, not as a limitation, and is adaptively selected based on actual needs.

[0074] Step S106, when the first voice keyword matches the system log, the corresponding matching system log and voice file are uploaded.

[0075] The log uploading method of the embodiment of the present invention obtains and judges voice information after responding to the voice recognition start instruction of the user operation to trigger whether the log is uploaded. Taking into account the user's operation intention, the privacy and security of the log upload can be guaranteed; by uploading the matching system log accordingly, the log transmission volume can be reduced, the operation process is simplified, and the accuracy and efficiency of R&D personnel in obtaining logs are further improved, so that the R&D personnel can quickly locate faults based on the logs.

[0076] In this embodiment, a log uploading method is provided. Figure 2 FIG. 1 is a flow chart of another log uploading method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0077] Step S201, obtaining the system log of the target vehicle.

[0078] Specifically, the above step S201 includes:

[0079] Step S2011, after the target vehicle is powered on and started, log information is generated in real time.

[0080] Step S2012, classify the log information, obtain corresponding category log information, and mark each category log information accordingly.

[0081] In this embodiment, the generated log information can be classified and identified based on the function of the vehicle, wherein the specific identification method is not limited here and can be adaptively adjusted based on actual needs, such as identifying the identity ID or tag information of the corresponding log. Specifically, for the navigation function of the target vehicle, such as map navigation, the corresponding log information is the log of map navigation, which is identified by setting the corresponding log tag, such as map navigation or navigation, etc., which is only for exemplary explanation.

[0082] Step S2013, storing the identified log information of each category to obtain the system log of the target vehicle.

[0083] In this embodiment, the storage period can be set, such as 7 days, to periodically store the identified log information of each category to ensure comprehensive collection of the operating system log. It should be noted that in this embodiment, the logs generated by the vehicle functions can also be periodically cleared according to the utilization rate to reduce the amount of data stored in the logs.

[0084] The embodiment of the present invention can provide an original log data source by acquiring the system log of the target vehicle, so as to facilitate the operator to perform subsequent related maintenance on the target vehicle.

[0085] Step S202, in response to a voice recognition start instruction operated by a user, voice information output by the target vehicle is acquired.

[0086] It should be noted that in this embodiment, a voice trigger mode is set, and the corresponding system log is uploaded after the set voice triggering requirement is met. Among them, the voice trigger mode requires the vehicle to turn on the voice recognition function, that is, receive the voice recognition start instruction operated by the user.

[0087] Specifically, the voice recognition start instruction in response to the user's operation in the above step S202 includes: the user turns on the voice recognition function by operating a function button and / or initiating a voice instruction, and generates a corresponding voice recognition start instruction.

[0088] In a specific embodiment, a function button may be set on the steering wheel or center console of the target vehicle, and the user may activate the voice recognition function by operating the function button, and generate a voice recognition activation instruction at the same time.

[0089] Step S203, identifying whether there is a preset function triggering instruction in the voice information.

[0090] In this embodiment, when there is no preset function trigger instruction in the voice information, the corresponding vehicle function is the user fault feedback function, which is mainly a function in which the user actively complains to the vehicle system about the abnormality or failure of the equipment during the use of the vehicle through voice when the user turns on the voice function and uses the vehicle computer. In this function, that is, when there is no preset function trigger instruction in the voice information, the log upload process of this embodiment includes:

[0091] Step A1, performing voice recognition on the voice information to obtain a second voice recognition keyword, and determining whether the second voice keyword matches the system log.

[0092] It should be noted that the speech recognition algorithm and matching algorithm in this embodiment have been described above and will not be repeated here.

[0093] Step A2: when the second voice keyword matches the system log, the corresponding matching system log is uploaded.

[0094] Step A3, when the second voice keyword does not match the system log, return to step S201 of obtaining the system log of the target vehicle.

[0095] The embodiment of the present invention aims at system failures of vehicles in conventional driving scenarios. By identifying the second voice keyword in the voice information, matching it with the system log, and uploading the matched system log, the targetedness of the log uploading is improved, the transmission volume of the log is reduced, and the efficiency of the log uploading is greatly improved.

[0096] Step S204: When there is a preset function triggering instruction in the voice information, voice recording is performed to generate a corresponding voice file, and voice recognition is performed on the voice information to obtain a first voice recognition keyword. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0097] Step S205: determine whether the first voice keyword matches the system log. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.

[0098] Step S206: When the first voice keyword matches the system log, the corresponding matching system log and voice file are uploaded. Figure 1 Step S106 of the illustrated embodiment will not be described in detail here.

[0099] Step S207: when the first voice keyword does not match the system log, the system log and the voice file are uploaded.

[0100] In this embodiment, uploading the system log belongs to full log uploading, that is, uploading all the system logs generated by the vehicle. Specifically, when the first voice keyword does not match the system log, uploading the full system log can ensure the integrity of the original data and provide comprehensive analysis data for R&D personnel.

[0101] It should be noted that, in this embodiment, before uploading the corresponding matching system log and voice file, or before uploading the system log and voice file, the log uploading method further includes:

[0102] Step B1, detecting whether there is a log upload instruction confirmed by the user.

[0103] In this embodiment, the detection method of the log upload instruction is not limited here, and is adaptively adjusted based on the conventional instruction detection method in the art.

[0104] Step B2: when there is a log upload instruction confirmed by the user, the corresponding matching system log and voice file are uploaded, or the system log and voice file are uploaded.

[0105] The embodiment of the present invention uploads logs by designing a semi-automatic voice triggering method, that is, detecting whether there is a log upload instruction confirmed by the user, and uploading the corresponding system log and voice file when the log upload instruction exists, which helps to ensure the accuracy of the voice recognition result.

[0106] In this embodiment, a log uploading method is provided. Figure 3 FIG. 1 is a flow chart of another log uploading method according to an embodiment of the present invention. Figure 3As shown, the process includes the following steps:

[0107] Step C1: log collection and storage.

[0108] In this embodiment, the system logs of the vehicle are collected and stored periodically to ensure that the relevant logs of the vehicle operating system are collected in advance, and the stored logs are cleared periodically.

[0109] In a specific embodiment, the storage cycle is set to 7 days, and classified logs are stored cyclically according to the system functions of the vehicle, such as Bluetooth logs, WIFI logs, music logs, map navigation logs, etc., and corresponding logs are stored according to their corresponding identifiers. It should be noted that the specific system log collection content of the vehicle can be set in advance based on actual needs and vehicle performance requirements, so that subsequent operators can analyze possible problems with system functions based on the acquired system logs.

[0110] Step C2, log tag.

[0111] In this embodiment, the operating system automatically tags the logs stored in advance. The purpose of the tags is to classify the stored logs and divide them in detail by keywords so as to pair them with the user's voice content. For example, the log tags of the Bluetooth log include: Bluetooth, Bluetooth music, Bluetooth / BT, Bluetooth phone, Bluetooth headset, Bluetooth pairing, etc., which are only used as examples.

[0112] Step C3: the user voice comment function is triggered.

[0113] In this embodiment, by determining whether there is a preset function triggering instruction in the voice message sent by the user, the user voice rant function is triggered. The specific driving scenario is:

[0114] Step C31, the user says in voice: "XX system, I want to complain"; wherein, I want to complain is a preset function trigger instruction.

[0115] Step C32, XX system replies: "Hello, we have entered the complain mode. All your suggestions will be recorded and forwarded to the product team for analysis. Thank you for your support."

[0116] In step C33, the user voice says: "Your Bluetooth function does not work well. It is not good here. Specifically, the communication quality is poor and the signal is often disconnected. The stability of the Bluetooth connection signal should be improved."

[0117] Step C34, the user voice comment function of the XX system extracts the keyword by voice and matches it with the log tag. If there happens to be a Bluetooth tag, that is, the corresponding log tag is successfully matched, such as "Bluetooth music" and "Bluetooth", then the automatic upload of the corresponding system log and voice file is triggered.

[0118] Step C4: User voice routine function triggering.

[0119] In this embodiment, by judging that there is no preset function triggering instruction in the voice information sent by the user, the user voice routine function is triggered. The specific driving scenario is:

[0120] In step C41, the user says in voice: "Oh, there seems to be something wrong with the Bluetooth music", "This Bluetooth connection is too slow", "Why is there noise in the Bluetooth headset?", etc.

[0121] Step C42, after the user voice routine function extracts the keyword by voice (i.e., identifies Bluetooth-related keywords through a voice recognition algorithm), it matches and compares it with the log tag. If there happens to be a Bluetooth tag, that is, the corresponding log tag is successfully matched, such as "Bluetooth Music" or "Bluetooth", the automatic upload of the log is triggered, that is, the Bluetooth-related log is uploaded. It should be noted that this function does not upload the full amount of logs, which helps to save network traffic on the one hand and protect the privacy of the user on the other hand, that is, with the user's consent, only fault-related logs are uploaded.

[0122] It should be noted that before triggering the automatic upload of the corresponding system log and voice file and uploading the Bluetooth-related log in the above steps C34 and C42, in order to ensure the accuracy of voice recognition, a semi-automatic triggering method is used to confirm the user before uploading the corresponding file. For example, after guiding the user to say "I want to report an after-sales problem", the voice recognition triggers the log upload process, and the log upload interface is displayed. The user confirms whether to upload the operation, and then performs the corresponding log upload operation.

[0123] The log upload method based on voice triggering in the embodiment of the present invention is more intelligent than the log upload in the rule-based triggering mode; compared with the log upload in the periodic triggering mode, the log upload triggering method in the embodiment of the present invention is more targeted and can upload high-value logs belonging to the "fault type"; compared with the remote triggering log upload, the log upload triggering method in the embodiment of the present invention is more convenient, without the need for users to contact after-sales personnel by phone or other means, thus reducing the intermediate links; compared with the user-clicking log upload, the log upload triggering method in the embodiment of the present invention is more convenient and can be used by ordinary users. In summary, the log upload method in the embodiment of the present invention can take into account the user's operating intentions, ensure the privacy and security of log upload, not only reduce the amount of log transmission, but also improve the accuracy and efficiency of R&D personnel in obtaining logs, so that R&D personnel can quickly locate faults based on logs.

[0124] In this embodiment, a log upload system is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" refers to a combination of software and / or hardware that can implement a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0125] The present invention provides a log upload system, such as Figure 4 As shown, the system includes:

[0126] The first acquisition module 401 is used to acquire the system log of the target vehicle.

[0127] The second acquisition module 402 is used to acquire the voice information output by the target vehicle in response to the voice recognition start instruction operated by the user.

[0128] The identification module 403 is used to identify whether there is a preset function triggering instruction in the voice information.

[0129] The matching module 404 is used to perform voice recording to generate a corresponding voice file when there is a preset function triggering instruction in the voice information, and perform voice recognition on the voice information to obtain a first voice recognition keyword.

[0130] The judgment module 405 is used to judge whether the first voice keyword matches the system log.

[0131] The uploading module 406 is used to upload the corresponding matching system log and voice file when the first voice keyword matches the system log.

[0132] In some optional embodiments, the first acquisition module 401 includes: a first acquisition sub-module, a second acquisition sub-module and a third acquisition sub-module; wherein the first acquisition sub-module is used to generate log information in real time after the target vehicle is powered on; the second acquisition sub-module is used to classify the log information, obtain corresponding category log information, and mark each category log information accordingly; the third acquisition sub-module is used to store the marked category log information to obtain the system log of the target vehicle.

[0133] In some optional implementations, the second acquisition module 402 includes: a response module, which is used for the user to activate the voice recognition function by operating a function button and / or initiating a voice command, and to generate a corresponding voice recognition activation instruction.

[0134] In some optional embodiments, the system also includes: a first upload module, a second upload module and a detection module; wherein the first upload module is used to upload the system log and the voice file when the first voice keyword does not match the system log; the second upload module is used to perform voice recognition on the voice information when there is no preset function trigger instruction in the voice information, obtain the second voice recognition keyword, and determine whether the second voice keyword matches the system log; when the second voice keyword matches the system log, upload the corresponding matching system log; when the second voice keyword does not match the system log, return to the step of obtaining the system log of the target vehicle; the detection module is used to detect whether there is a log upload instruction confirmed by the user; when there is a log upload instruction confirmed by the user, upload the corresponding matching system log and the voice file, or upload the system log and the voice file.

[0135] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.

[0136] The log upload system in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0137] The log upload system of the embodiment of the present invention acquires and judges voice information after responding to the voice recognition start instruction of the user operation to trigger whether to upload the log. Taking into account the user's operation intention, the privacy and security of the log upload can be guaranteed; by uploading the matching system log accordingly, the log transmission volume can be reduced, the operation process is simplified, and the accuracy and efficiency of R&D personnel in obtaining logs are further improved, so that the R&D personnel can quickly locate faults based on the logs.

[0138] The embodiment of the present invention also provides a computer device, see Figure 5 , Figure 5 is a schematic diagram of the structure of the above-mentioned computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0139] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0140] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0141] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0142] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0143] The computer device also includes a communication interface 30, which is used for the main control chip to communicate with other devices or a communication network.

[0144] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor main control chip or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0145] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0146] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A log uploading method, characterized in that: The method comprises: Obtain the target vehicle's system log; In response to a voice recognition start instruction operated by a user, acquiring voice information output by the target vehicle; Identify whether there is a preset function trigger instruction in the voice information, where the preset function trigger instruction is a voice keyword corresponding to triggering the vehicle to start the Tucao function; When there is a preset function trigger instruction in the voice information, voice recording is performed to generate a corresponding voice file, and voice recognition is performed on the voice information to obtain a first voice keyword; it is determined whether the first voice keyword matches the system log; when the first voice keyword matches the system log, the corresponding matching system log and the voice file are uploaded; When there is no preset function trigger instruction in the voice information, voice recognition is performed on the voice information to obtain a second voice keyword, and it is determined whether the second voice keyword matches the system log; when the second voice keyword matches the system log, the corresponding matching system log is uploaded; when the second voice keyword does not match the system log, the process returns to the step of obtaining the system log of the target vehicle.

2. The log uploading method according to claim 1, characterized in that: The method further comprises: When the first voice keyword does not match the system log, the system log and the voice file are uploaded.

3. The log uploading method according to claim 1 or 2, characterized in that: Before uploading the corresponding matching system log and the voice file, or before uploading the system log and the voice file, the method further includes: Check whether there is a log upload instruction confirmed by the user; When there is a log upload instruction confirmed by the user, the corresponding matching system log and the voice file are uploaded, or the system log and the voice file are uploaded.

4. The log uploading method according to claim 1, characterized in that: The obtaining of the system log of the target vehicle includes: After the target vehicle is powered on, log information is generated in real time; Classify the log information to obtain corresponding category log information, and mark each category log information accordingly; The identified log information of each category is stored to obtain the system log of the target vehicle.

5. The log uploading method according to claim 1, characterized in that: The voice recognition start instruction in response to the user operation includes: The user turns on the voice recognition function by operating a function button and / or issuing a voice command, and a corresponding voice recognition turn-on command is generated.

6. A log upload system, characterized in that: The system comprises: A first acquisition module is used to acquire the system log of the target vehicle; A second acquisition module, for acquiring voice information output by the target vehicle in response to a voice recognition start instruction operated by a user; A recognition module, used to recognize whether there is a preset function triggering instruction in the voice information, wherein the preset function triggering instruction is a voice keyword corresponding to triggering the vehicle to start the Tucao function; A matching module, configured to, when there is a preset function triggering instruction in the voice information, perform voice recording to generate a corresponding voice file, and perform voice recognition on the voice information to obtain a first voice keyword; A judgment module, used for judging whether the first voice keyword matches the system log; An uploading module, configured to upload the corresponding matching system log and the voice file when the first voice keyword matches the system log; The second uploading module is used to perform voice recognition on the voice information when there is no preset function trigger instruction in the voice information, obtain a second voice keyword, and determine whether the second voice keyword matches the system log; when the second voice keyword matches the system log, upload the corresponding matching system log; when the second voice keyword does not match the system log, return to the step of obtaining the system log of the target vehicle.

7. A computer device, characterized in that: The device includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the log uploading method according to any one of claims 1 to 5 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the log uploading method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the log uploading method according to any one of claims 1 to 5.