Automobile system log uploading method, device, storage medium and program product
By introducing a log upload interface and real-time status monitoring in the automotive system, users can actively control the upload process of the automotive system log, solving the problems of accuracy and inefficiency of log upload in the existing technology, and achieving more efficient and reliable log upload.
Patent Information
- Application Number
- CN202411838598.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-08
AI Technical Summary
The prior art is susceptible to network influence during the uploading of automotive system logs, resulting in upload failure, low accuracy and efficiency.
By displaying the log upload interface in the vehicle, users can trigger specific controls to determine whether to upload the car system log, and monitor the upload status in real time to avoid unnecessary network requests.
It improves the accuracy and efficiency of uploading automotive system logs, reduces the need for duplicate uploads, and provides a more efficient and reliable log upload solution.
Smart Images

Figure CN119782264A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of automotive electronics and information technology, and in particular to a method, device, storage medium and program product for uploading an automotive system log. Background Art
[0002] With the continuous development of automotive electronics and information technology, system detection and troubleshooting for automobiles are becoming more and more important. The above functions not only help to improve vehicle performance, but also significantly enhance user experience. Among them, the automobile system log is the main reference data for realizing the above functions.
[0003] In related technologies, the car's own system can integrate a variety of functions that support remote monitoring, diagnosis, and performance improvement. For example, the car's internal diagnostic system can continuously record key data such as the vehicle's operating status and fault information, forming event logs or fault codes, and generating the corresponding system logs for the car, providing maintenance personnel with an effective tool to track the root cause of the problem. In addition, with the help of equipment such as the vehicle-mounted communication terminal (TBOX), the car can be remotely connected and controlled, so that the car's operating status can be monitored in real time, and support functions such as software updates and remote diagnosis.
[0004] However, in actual applications, the above solution is easily affected by the network, resulting in negative problems such as failure to upload the automobile system log, and has great limitations, resulting in low accuracy and low upload efficiency of the automobile system log upload. Summary of the invention
[0005] The embodiment of the present application provides a method, device, storage medium and program product for uploading a vehicle system log, which can improve the uploading efficiency of the vehicle system log. The technical solution is as follows:
[0006] On the one hand, a method for uploading a vehicle system log is provided, the method comprising:
[0007] In response to a trigger operation on the vehicle version number, a log upload interface is displayed; the log upload interface includes at least a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation;
[0008] In response to the triggering operation of the first control, a first prompt pop-up window is displayed in the log upload interface; the first prompt pop-up window is used to prompt whether to confirm to upload the automobile system log;
[0009] In response to a triggering operation on a first determination control included in the first prompt pop-up window, uploading a first automobile system log of the vehicle;
[0010] A first floating window is displayed; the first floating window is used to indicate the status of uploading the first automobile system log.
[0011] On the other hand, a vehicle system log uploading device is provided, the device comprising:
[0012] A log upload interface display module, used to display a log upload interface in response to a trigger operation on the vehicle version number; the log upload interface at least includes a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation;
[0013] A first prompt pop-up window display module, used for displaying a first prompt pop-up window in the log upload interface in response to a trigger operation on the first control; the first prompt pop-up window is used to prompt whether to confirm uploading the automobile system log;
[0014] A first automobile system log uploading module, configured to upload the first automobile system log of the vehicle in response to a triggering operation on a first determination control included in the first prompt pop-up window;
[0015] The first floating window display module is used to display a first floating window; the first floating window is used to indicate the status of uploading the first automobile system log.
[0016] In some embodiments, the log upload interface further includes a second control, the second control is used to trigger a prompt pop-up window corresponding to the recurrence operation, and the device further includes:
[0017] A second prompt pop-up window display module is used to display a second prompt pop-up window in the log upload interface in response to a trigger operation on the second control; the second prompt pop-up window is used to prompt whether to confirm to perform the problem reproduction operation;
[0018] A problem reproduction operation receiving module, configured to receive the problem reproduction operation in response to a triggering operation on a second determination control included in the second prompt pop-up window;
[0019] The second automobile system log uploading module is used to upload the second automobile system log corresponding to the problem reproduction operation.
[0020] In some embodiments, the problem reproduction operation receiving module is used to display an end control in the log upload interface in response to a trigger operation on the second determination control;
[0021] In response to the triggering operation on the end control, the operation received between the first moment and the second moment is recorded as the problem reproduction operation; the first moment is the moment when the triggering operation on the second determination control is received, and the second moment is the moment when the triggering operation on the end control is received.
[0022] In some embodiments, the problem reproduction operation receiving module is used to display a second floating window in response to a triggering operation on the second determination control;
[0023] The operation received between the third moment and the fourth moment is recorded as the problem reproduction operation; the third moment and the fourth moment are the moments when the triggering operation on the second floating window is received twice.
[0024] In some embodiments, the apparatus further comprises:
[0025] A reproduction operation preview interface display module, used for displaying a reproduction operation preview interface before uploading the second automobile system log corresponding to the problem reproduction operation;
[0026] Displaying a screen recording animation corresponding to the problem reproduction operation in the reproduction operation preview interface;
[0027] The second automobile system log uploading module is used to upload the second automobile system log and the screen recording animation corresponding to the problem reproduction operation when receiving a trigger operation on the third confirmation control included in the reproduction operation preview interface.
[0028] In some embodiments, the first automobile system log uploading module is used to display a time period setting interface in response to a triggering operation on the first determination control; the time period setting interface includes a time period setting option;
[0029] In response to receiving a setting operation for the time period setting option, obtaining a historical time period, the historical time period being a time period before a current moment;
[0030] The first automobile system log recorded within the historical time period is uploaded.
[0031] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the automobile system log uploading method as described above.
[0032] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the automobile system log uploading method as described above.
[0033] In another aspect, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the automobile system log uploading method provided in the above-mentioned various optional implementations.
[0034] The technical solution provided by this application may have the following beneficial effects:
[0035] The above scheme displays the log upload interface by triggering the vehicle version number, and starts the car system log upload operation through a special trigger mechanism, which can effectively avoid unnecessary network requests; through the trigger operation of the first control, the user can further confirm the execution of the car system log upload operation. After the user confirms the execution of the car system log upload operation through the first confirmation control, the vehicle displays the first floating window, and the upload status is displayed in real time through the first floating window, so that the user can instantly understand the upload progress of the first car system log. The above scheme is based on the user's clear instructions, effectively ensures the accuracy of the car system log upload, reduces the need for repeated uploading, improves the efficiency of the car system log upload, effectively solves the limitations of the vehicle in the traditional automatic upload of the car system log, and provides a more efficient and reliable car system log upload solution.
[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] Figure 1 It is a system structure diagram of a method for uploading a vehicle system log involved in one embodiment of the present application;
[0039] Figure 2 This is a flow chart of a method for uploading a vehicle system log provided by an embodiment of the present application;
[0040] Figure 3 This is a flow chart of a log upload interface provided by an embodiment of the present application;
[0041] Figure 4 This is a flow chart of a method for uploading a vehicle system log provided by an embodiment of the present application;
[0042] Figure 5 This is a flow chart of a method for uploading a vehicle system log provided by an embodiment of the present application;
[0043] Figure 6 This is a schematic diagram of the initial interface of a vehicle system log upload system provided by an embodiment of the present application;
[0044] Figure 7 This is a schematic diagram of a log upload interface provided by an embodiment of the present application;
[0045] Figure 8 This is a schematic diagram of a log upload interface provided by an embodiment of the present application;
[0046] Fig. 9 This is a schematic diagram of a log upload interface provided by an embodiment of the present application;
[0047] Fig.10 This is a schematic diagram of an interface of a log upload floating window provided by an embodiment of the present application;
[0048] Fig.11 is a block diagram of a vehicle system log uploading device provided by an exemplary embodiment of the present application;
[0049] Fig.12 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0050] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.
[0051] Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
[0052] The present application proposes a method for uploading a vehicle system log, which effectively solves the limitations of vehicles in traditional solutions for automatically uploading vehicle system logs, improves the upload quality of vehicle system logs, and provides a more efficient and reliable vehicle system log upload effect.
[0053] Figure 1 1 is a system configuration diagram of a method for uploading a vehicle system log according to an embodiment of the present application. Figure 1 As shown, the system includes a vehicle 120 and a server 130 to which the automobile system log is uploaded.
[0054] The vehicle 120 is a terminal installed in the vehicle, and may be a personal computer device such as a desktop computer.
[0055] The server 130 may be one server, or a plurality of servers, or a virtualization platform, or a cloud computing service center.
[0056] The vehicle 120 and the server 130 may be connected via a communication network. Optionally, the communication network is a wired network or a wireless network.
[0057] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to any combination of local area network (LAN), metropolitan area network (MAN), wide area network (WAN), mobile, wired or wireless network, private network or virtual private network. In some embodiments, the data exchanged through the network is represented by technology and / or format including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technology can also be used to replace or supplement the above-mentioned data communication technology.
[0058] In an embodiment of the present application, vehicle 120 displays a log upload interface in response to a trigger operation on the vehicle version number; the log upload interface includes at least a first control for triggering a prompt pop-up window corresponding to the vehicle system log upload operation; in response to the trigger operation on the first control, a first prompt pop-up window is displayed in the log upload interface to prompt whether to confirm uploading the vehicle system log; in response to the trigger operation on the first confirmation control contained in the first prompt pop-up window, the first vehicle system log of the vehicle is uploaded; a first floating window is displayed; the first floating window is used to indicate the status of uploading the first vehicle system log.
[0059] Figure 2 1 is a flow chart of a method for uploading a vehicle system log provided by an embodiment of the present application. The method for uploading a vehicle system log can be executed by a vehicle, for example, the vehicle can be the above-mentioned Figure 1The vehicle 120 shown. The above-mentioned automobile system log uploading method may include steps 210, 220, 230 and 240, which are specifically implemented as follows:
[0060] Step 210: In response to the triggering operation on the vehicle version number, a log upload interface is displayed; the log upload interface includes at least a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation.
[0061] Among them, the version number of the above-mentioned vehicle is a set of identifiers set by the vehicle manufacturer for the vehicle to distinguish different production batches, configuration changes, technical improvements or software updates of the same model. The identifier can help identify the specific characteristics of the vehicle, such as specific functions installed in the vehicle, internal component versions, and software levels.
[0062] Among them, the above trigger operation can be achieved by interaction between the user and the vehicle.
[0063] In some embodiments, the vehicle version number is displayed on the vehicle, and the user performs a trigger operation (e.g., single-click, double-click, long press) on the vehicle version number in the vehicle, and a log upload interface is displayed on the vehicle.
[0064] Among them, the above-mentioned automobile system log refers to the record file automatically generated by the vehicle's electronic control system or related software during operation. The automobile system log contains the operating status of each system / component of the vehicle, the timestamp of the event, error information, diagnostic code, performance data and other relevant information.
[0065] The above-mentioned automobile system log may include but is not limited to:
[0066] 1) Operation record: the recording time of vehicle start-up, shutdown and other operations.
[0067] 2) Sensor data: such as data reading from speed sensors, temperature sensors, pressure sensors, etc.
[0068] 3) Errors and warnings: Error codes or warning messages generated when abnormal conditions are detected.
[0069] 4) Software version: historical version information of vehicle software and its updates.
[0070] 5) Driving behavior: the driver’s driving habits, such as acceleration and braking patterns.
[0071] 6) Network communication log: For vehicles that support the Internet of Vehicles function, the data log of the vehicle communicating with the cloud server or other vehicles.
[0072] For example, please refer to Figure 3 , Figure 3This is a flow chart of a log upload interface provided by an embodiment of the present application.
[0073] In the embodiment of the present application, in response to a trigger operation on the vehicle version number, the vehicle displays a log upload interface 300, and the log upload interface 300 includes a first control 31 for triggering a prompt pop-up window corresponding to the automobile system log upload operation.
[0074] Step 220: In response to the triggering operation on the first control, a first prompt pop-up window is displayed in the log upload interface; the first prompt pop-up window is used to prompt whether to confirm uploading the automobile system log.
[0075] Among them, the above-mentioned first prompt pop-up window can display text information for prompting the user whether to confirm uploading the automobile system log.
[0076] Step 230: In response to a triggering operation on a first confirmation control included in the first prompt pop-up window, uploading a first automobile system log of the vehicle.
[0077] In an embodiment of the present application, the vehicle displays a first prompt pop-up window, and the user can perform a specified operation (e.g., single-click, double-click, long press) on the first confirmation control in the first prompt pop-up window to trigger the first confirmation control and upload the first automobile system log of the vehicle.
[0078] Step 240: Display a first floating window; the first floating window is used to indicate the status of uploading the first automobile system log.
[0079] The status of the upload includes but is not limited to: waiting for upload, uploading, upload completed and detailed progress of the upload.
[0080] In an embodiment of the present application, the vehicle responds to a triggering operation on a first confirmation control included in a first prompt pop-up window, closes the first prompt pop-up window, and then displays a first floating window.
[0081] In an embodiment of the present application, the first floating window can indicate different states of uploading the first automobile system log through different texts, special effects or animations.
[0082] Exemplarily, when the status of uploading the first automobile system log is uploading, the first floating window is displayed in orange and the text "Uploading" is displayed; when the status of uploading the first automobile system log is completed, the first floating window is displayed in green and the text "Upload successful" is displayed; further, in some instances, the first floating window may display text indicating the detailed upload progress of the first automobile system log.
[0083] In some embodiments, after the first vehicle system log is uploaded, the vehicle closes the first floating window.
[0084] In an embodiment of the present application, the above scheme displays the log upload interface by triggering the vehicle version number, and starts the car system log upload operation through a special trigger mechanism, which can effectively avoid unnecessary network requests; through the trigger operation of the first control, the user can further determine to execute the car system log upload operation. After the user confirms to execute the car system log upload operation through the first confirmation control, the vehicle displays the first floating window, and the upload status is displayed in real time through the first floating window, so that the user can instantly understand the upload progress of the first car system log. The above scheme is based on the user's clear instructions, effectively ensures the accuracy of the car system log upload, reduces the need for repeated uploading, improves the efficiency of the car system log upload, effectively solves the limitations of the vehicle in the traditional automatic upload of the car system log, and provides a more efficient and reliable car system log upload effect.
[0085] Based on the solutions shown in any one or more of the above embodiments, in some embodiments, the above log upload interface also includes a second control, which is used to trigger a prompt pop-up window corresponding to the recurrence operation; based on Figure 2 , please refer to Figure 4 , Figure 4 This is a flow chart of a method for uploading a car system log provided by an embodiment of the present application. Figure 2 The automobile system log uploading method shown also includes: step 250, step 260 and step 270, which are as follows:
[0086] Step 250: In response to the triggering operation on the second control, a second prompt pop-up window is displayed in the log upload interface; the second prompt pop-up window is used to prompt whether to confirm to perform the problem reproduction operation.
[0087] Among them, the above-mentioned problem reproduction operation is to diagnose and solve a problem in the vehicle. The user or technician reproduces the operation of the problem according to specific steps. The above-mentioned problem reproduction operation is used to ensure that the vehicle developer or maintenance personnel can observe the same abnormal situation, so as to more accurately analyze the cause of the problem and find a solution.
[0088] Step 260: In response to a triggering operation on a second confirmation control included in the second prompt pop-up window, a problem reproduction operation is received.
[0089] In an embodiment of the present application, after the user performs a specified operation on the second determination control, the vehicle begins to record the operations performed by the user on the vehicle, and the vehicle obtains the recorded operations as problem reproduction operations.
[0090] Step 270: Upload the second vehicle system log corresponding to the problem reproduction operation.
[0091] In an embodiment of the present application, after the vehicle completes receiving the problem reproduction operation, the second vehicle system log corresponding to the problem reproduction operation is uploaded to the server corresponding to the vehicle.
[0092] In some embodiments, when the user performs a problem reproduction operation, the vehicle records a second vehicle system log corresponding to the problem reproduction operation while receiving the problem reproduction operation. After the user completes the problem reproduction operation, the vehicle automatically uploads the second vehicle system log.
[0093] In other embodiments, when the user performs a problem reproduction operation, the vehicle receives and records the problem reproduction operation. After the problem reproduction operation is completed, the vehicle queries the vehicle system log corresponding to the problem reproduction operation, obtains it as a second vehicle system log, and uploads the second vehicle system log.
[0094] In some embodiments, when the network is poor, the vehicle responds to the trigger operation of the second confirmation control contained in the second prompt pop-up window, receives the problem reproduction operation, and saves the problem reproduction operation locally. When the network is good, the second vehicle system log corresponding to the problem reproduction operation is uploaded.
[0095] In an embodiment of the present application, the upload method of the automobile system log corresponding to the problem reproduction operation is expanded. When the user triggers the second control, the vehicle displays a second prompt pop-up window. The second prompt pop-up window provides a confirmation mechanism, allowing the user to further determine whether to perform the problem reproduction operation, thereby effectively avoiding the problem of resource waste caused by user accidental touch; when the user determines to perform the problem reproduction operation, the vehicle receives the problem reproduction operation, and then uploads the second automobile system log related to the problem reproduction operation, which can effectively ensure the accuracy of the uploaded second automobile system log, and even when the network conditions are poor, it will not affect the problem reproduction operation itself, thereby ensuring the integrity and accuracy of the data.
[0096] Based on the scheme shown in any one or more of the above-mentioned embodiments, in some embodiments, the above-mentioned step 260 can be implemented as follows: in response to the trigger operation of the second determination control, an end control is displayed in the log upload interface; in response to the trigger operation of the end control, the operation record received between the first moment and the second moment is a problem reproduction operation; the first moment is the moment when the trigger operation of the second determination control is received, and the second moment is the moment when the trigger operation of the end control is received.
[0097] The above-mentioned end control is a control used to trigger the end of the problem reproduction operation.
[0098] In some instances, the vehicle responds to the triggering operation of the second determination control and displays the end control in the log upload interface after a specified time period (such as 5 seconds) is met, to avoid the user accidentally touching the end control after the end control is displayed immediately.
[0099] In an embodiment of the present application, after performing the problem reproduction operation, the user can manually click the end control in the log upload interface to inform the vehicle that the current problem reproduction operation has ended. At this time, the vehicle obtains the operation record between the start time of the problem reproduction operation and the end time of the problem reproduction operation as the problem reproduction operation.
[0100] In an embodiment of the present application, the specific start time and end time of the problem reproduction operation can be clearly defined through the above-mentioned end control and the second confirmation control. The time zone is effectively divided clearly through the two controls, thereby reducing the incompleteness of the problem reproduction operation caused by user misoperation or uncertainty about when to stop the reproduction operation, and further ensuring the integrity and accuracy of the second automobile system log corresponding to the problem reproduction operation.
[0101] Based on the scheme shown in any one or more of the above-mentioned embodiments, in some embodiments, the above-mentioned step 260 can be implemented as follows: in response to a trigger operation on a second determination control, a second floating window is displayed; the operation received between the third moment and the fourth moment is recorded as a problem reproduction operation; the third moment and the fourth moment are the moments when the trigger operation on the second floating window is received twice.
[0102] In an embodiment of the present application, the user can instruct the vehicle to start / end the problem reproduction operation by specifying an operation on the second floating window. For example, the user can click the second floating window to instruct the vehicle to start / end the problem reproduction operation.
[0103] Optionally, the vehicle displays a second floating window in response to a trigger operation on a second determination control; the vehicle records the moment when the user triggers the second floating window for the first time as a third moment, and records the moment when the user triggers the second floating window for the second time as a fourth moment; and obtains the operation record received between the third moment and the fourth moment as a problem reproduction operation.
[0104] In some embodiments, the second floating window may display a prompt text indicating the start / end of the problem reproduction operation. For example, before the second floating window receives a trigger operation for the first time, the second floating window displays a prompt text of "Start problem reproduction operation". After the second floating window receives the first trigger operation, the prompt text changes to "End problem reproduction operation". After the second floating window receives the second trigger operation, the problem reproduction operation ends and the vehicle closes the second floating window.
[0105] In an embodiment of the present application, the user can manually start / end the problem reproduction operation through the above-mentioned second floating window, inform the vehicle of the specific time zone to which the problem reproduction operation belongs, and effectively ensure the accurate acquisition of the problem reproduction operation; and when the second floating window is displayed, the area occupied is small, which will not affect the user's other operations on the vehicle, thereby improving the efficiency of acquiring the problem reproduction operation.
[0106] Based on the solutions shown in any one or more of the above-mentioned embodiments, in some embodiments, before the above-mentioned step 270, a reproduction operation preview interface is displayed; a screen recording animation corresponding to the problem reproduction operation is displayed in the reproduction operation preview interface; step 270 can be implemented by uploading the second automobile system log and the screen recording animation corresponding to the problem reproduction operation when a trigger operation of the third determination control contained in the reproduction operation preview interface is received.
[0107] In an embodiment of the present application, after the screen recording animation corresponding to the problem reproduction operation in the reproduction operation preview interface is displayed, a third confirmation control is displayed, and the third confirmation control is used to trigger the upload of the problem reproduction operation in the reproduction operation preview interface.
[0108] In some embodiments, while the vehicle displays a reproduction operation preview interface, a third confirmation control is displayed in the reproduction operation preview interface. At any time when the screen recording animation corresponding to the problem reproduction operation is displayed in the reproduction operation preview interface, the user can trigger the third confirmation control. After triggering the third confirmation control, the vehicle obtains the operation record between the time when the screen recording animation starts to be displayed and the time when the third confirmation control is triggered as the second vehicle system log, and uploads it.
[0109] In some embodiments, the above-mentioned reproduction operation preview interface also includes a first reset control, and the first reset control is used to trigger the re-acquisition of the problem reproduction operation; the vehicle responds to the triggering operation of the first reset control, receives the problem reproduction operation re-executed by the user, and obtains the problem reproduction operation re-executed by the user as the final problem reproduction operation.
[0110] In an embodiment of the present application, by displaying the screen recording animation corresponding to the problem reproduction operation in the reproduction operation preview interface, the user can effectively check the entire process of the problem reproduction operation before uploading the problem reproduction operation, ensuring that the problem reproduction operation captured by the vehicle matches the actual problem. After confirming that the problem reproduction operation is correct, the second vehicle system log corresponding to the problem reproduction operation is uploaded, which effectively improves the accuracy of the second vehicle system log.
[0111] Based on the scheme shown in any one or more of the above-mentioned embodiments, in some embodiments, the above-mentioned step 230 can be implemented as displaying a time period setting interface in response to a trigger operation on a first determination control; the time period setting interface includes a time period setting option; in response to receiving a setting operation on the time period setting option, obtaining a historical time period, the historical time period being a time period before the current moment; and uploading a first automobile system log recorded in the historical time period.
[0112] In some embodiments, the above-mentioned time period setting options may include a start time setting option and an end time setting option; in response to receiving a setting operation for the start time setting option and a setting operation for the end time setting option, the time period between the set start time and the end time is obtained as a historical time period.
[0113] Optionally, the time period setting interface may include a time period setting input field, in which the user may input a time period. The vehicle obtains the time period input by the user as a historical time period.
[0114] In an embodiment of the present application, a car system log list is provided inside the vehicle, and the car system log list includes at least two car system logs, and each car system log corresponds to a different time period.
[0115] In some embodiments, after obtaining the historical time period, the vehicle obtains at least one vehicle system log recorded in the historical time period from the vehicle system log list for display. The user can select any one or more of the at least one displayed vehicle system logs. In response to the user's selection operation, the vehicle obtains at least one vehicle system log selected by the user and uploads it as the first vehicle system log.
[0116] In the embodiment of the present application, the time period setting interface can accurately select the time range of the logs to be uploaded through the user's setting operation of the time period setting option, so that the user can limit the uploaded content according to specific needs or the time when the problem occurs, avoiding unnecessary full uploads, reducing the amount of data uploaded by the vehicle, thereby reducing the network transmission pressure during the upload process of the automobile system log, and effectively improving the upload efficiency of the automobile system log.
[0117] Based on the above Figures 2 to 4 The steps in the embodiments of the present application illustrate a method for uploading a car system log.
[0118] In an embodiment of the present application, after the set trigger conditions are met, the main interface of the log upload is displayed on the vehicle. The main interface of the log upload includes two options: "Log Upload" and "Reproduce the Problem". The vehicle also provides a floating window interface. The floating window interface has four states: "Upload", "Failed, please retry", "Uploading", and "Completed". In an embodiment of the present application, the vehicle can close the floating window through a variety of different logical triggers, such as clicking on the floating window, host restart or standby mode, upload failure or retry status. At the same time, in order to limit the memory space occupied by the car system log and ensure the smooth operation of other system functions, the system needs to define the maximum storage space of the car system log. After the storage of the car system log in the vehicle exceeds the set size, the old car system log will be overwritten by the new car system log.
[0119] In an embodiment of the present application, a trigger condition can be set in the setting entrance of the automobile system log upload system. The above trigger condition, in the embodiment of the present application, can be set to quickly click the system version number 5 times within 2 seconds.
[0120] The above scheme is as follows:
[0121] Please refer to Figure 5 , Figure 5 This is a flow chart of a method for uploading a car system log provided by an embodiment of the present application. The specific contents are as follows:
[0122] S1: Display the car system log upload interface
[0123] For example, please refer to Figure 6 , Figure 6 This is a schematic diagram of the initial interface of an automobile system log uploading system provided by an embodiment of the present application.
[0124] In an embodiment of the present application, after the user quickly clicks the system version number 5 times within 2 seconds, a pop-up window is displayed, which includes a "log upload" control and a "reproduce problem" control.
[0125] S1-1: Log upload
[0126] In an embodiment of the present application, a pop-up window is triggered after the user clicks the "Log Upload" control, and the pop-up window prompts whether to confirm uploading the log. After the user clicks "OK", the "Log Upload" control is confirmed and grayed out by default. It can only be clicked after waiting for 3 seconds.
[0127] For example, please refer to Figure 7 , Figure 7 This is a schematic diagram of a log upload interface provided by an embodiment of the present application.
[0128] Click Confirm: Close the pop-up window directly and display the current uploading status in the floating window.
[0129] For example, please refer to Figure 8 , Figure 8 This is a schematic diagram of a log upload interface provided by an embodiment of the present application.
[0130] For example, please refer to Fig. 9 , Fig. 9 This is a schematic diagram of a log upload interface provided by an embodiment of the present application.
[0131] For example, please refer to Fig.10 , Fig.10 This is a schematic diagram of an interface of a log upload floating window provided by an embodiment of the present application.
[0132] Cancel log upload: Close the pop-up window.
[0133] S1-2: Reproduce the problem
[0134] Click the "Go to reproduce the problem" control to trigger a pop-up window. After clicking OK, the application will be hidden and the upload log floating window will be opened.
[0135] Click Confirm: Close the pop-up window directly and display the log upload in the floating window.
[0136] Cancel log upload: Close the pop-up window.
[0137] In the embodiment of the present application, the floating window closing logic includes but is not limited to:
[0138] (1) Click the floating window
[0139] Trigger the log upload action. After the upload is successful, the floating window will be closed after a 3-second countdown and the log level will be restored.
[0140] The above log level refers to the severity or importance level of the system log record. In software development and system management, different levels are usually set for system logs to help developers and administrators more easily identify which are important information, which are warnings or errors, and other issues that need to be dealt with immediately.
[0141] (2) The host restarts or enters standby mode
[0142] Do not trigger upload, close the floating window, and restore the log level.
[0143] (3) Floating window failed retry status or log upload status
[0144] Long press the floating window for 3 seconds to not trigger the upload, close the floating window, and restore the log level.
[0145] In the embodiment of the present application, the above floating window status description includes but is not limited to:
[0146] (1) Upload log
[0147] Clickable state. Clicking it triggers log upload. After the upload is successful, the floating window will be closed after a 3-second countdown, and the log level will be restored.
[0148] Long press the floating window for 3 seconds to not trigger the upload, close the floating window, and restore the log level.
[0149] (2) If failed, please try again
[0150] Clickable state. Clicking triggers log upload.
[0151] Long press the floating window for 3 seconds to not trigger the upload, close the floating window, and restore the log level.
[0152] (3)Uploading
[0153] Status and progress display, no click status.
[0154] (4)Completion
[0155] Status display, no click status.
[0156] The floating window will close after a 3-second countdown and the log level will be restored.
[0157] In the embodiment of the present application, after the storage capacity of the automobile system log in the vehicle reaches the maximum space limit, the newly uploaded automobile system log overwrites the old automobile system log.
[0158] The above is only an embodiment of the present application and should not be regarded as limiting the present application. Professionals should understand that various deformations and modifications can be made to the embodiments to adapt to different application requirements. Therefore, the scope of the present application should be limited by the claims attached to the claims.
[0159] Please refer to Fig.11 , which shows a block diagram of an automobile system log uploading device provided by an exemplary embodiment of the present application. The data processing device can be implemented as all or part of a computer device by hardware or a combination of hardware and software to achieve the above Figures 2 to 4 All or part of the steps in the embodiments shown. Fig.11 As shown, the automobile system log uploading device includes:
[0160] The log upload interface display module 1101 is used to display the log upload interface in response to the trigger operation of the vehicle version number; the log upload interface at least includes a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation;
[0161] The first prompt pop-up window display module 1102 is used to display a first prompt pop-up window in the log upload interface in response to the trigger operation of the first control; the first prompt pop-up window is used to prompt whether to confirm uploading the automobile system log;
[0162] The first automobile system log uploading module 1103 is used to upload the first automobile system log of the vehicle in response to a triggering operation on a first confirmation control included in the first prompt pop-up window;
[0163] The first floating window display module 1104 is used to display a first floating window; the first floating window is used to indicate the status of uploading the first automobile system log.
[0164] In some embodiments, the log upload interface further includes a second control, the second control is used to trigger a prompt pop-up window corresponding to the recurrence operation, and the device further includes:
[0165] A second prompt pop-up window display module is used to display a second prompt pop-up window in the log upload interface in response to a trigger operation on the second control; the second prompt pop-up window is used to prompt whether to confirm to perform the problem reproduction operation;
[0166] A problem reproduction operation receiving module, configured to receive a problem reproduction operation in response to a triggering operation on a second determination control included in the second prompt pop-up window;
[0167] The second automobile system log uploading module is used to upload the second automobile system log corresponding to the problem reproduction operation.
[0168] In some embodiments, the problem reproduction operation receiving module is used to display an end control in the log upload interface in response to a trigger operation on the second determination control;
[0169] In response to the trigger operation on the end control, the operation received between the first moment and the second moment is recorded as a problem reproduction operation; the first moment is the moment when the trigger operation on the second determination control is received, and the second moment is the moment when the trigger operation on the end control is received.
[0170] In some embodiments, the problem reproduction operation receiving module is used to display a second floating window in response to a triggering operation on the second determination control;
[0171] The operation received between the third moment and the fourth moment is recorded as the problem reproduction operation; the third moment and the fourth moment are the moments when the triggering operation on the second floating window is received twice.
[0172] In some embodiments, the apparatus further comprises:
[0173] A reproduction operation preview interface display module, used to display a reproduction operation preview interface before uploading the second automobile system log corresponding to the problem reproduction operation;
[0174] The screen recording animation corresponding to the problem reproduction operation is displayed in the reproduction operation preview interface;
[0175] The second automobile system log uploading module is used to upload the second automobile system log and the screen recording animation corresponding to the problem reproduction operation when receiving a trigger operation on the third confirmation control included in the reproduction operation preview interface.
[0176] In some embodiments, the first automobile system log uploading module 1103 is used to display a time period setting interface in response to a triggering operation on the first determination control; the time period setting interface includes time period setting options;
[0177] In response to receiving a setting operation for a time period setting option, obtaining a historical time period, where the historical time period is a time period before a current moment;
[0178] Upload the First Auto system logs recorded in the historical time period.
[0179] Please refer to Fig.12 , Fig.12 1 is a schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application. The computer device 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory (RAM) 1202 and a read-only memory (ROM) 1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The computer device 1200 also includes a basic input / output system (I / O system) 1206 that helps transmit information between various devices in the computer, and a large-capacity storage device 1207 for storing an operating system 1213, application programs 1214 and other program modules 1215.
[0180] The basic input / output system 1206 includes a display 1208 for displaying information and an input device 1209 such as a mouse and a keyboard for user inputting information. The display 1208 and the input device 1209 are connected to the central processing unit 1201 through an input / output controller 1210 connected to the system bus 1205. The basic input / output system 1206 may also include an input / output controller 1210 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1210 also provides output to a display screen, a printer, or other types of output devices.
[0181] The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer readable media provide non-volatile storage for the computer device 1200. That is, the mass storage device 1207 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
[0182] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory 1204 and mass storage device 1207 can be collectively referred to as memory.
[0183] The computer device 1200 can be connected to the Internet or other network devices through a network interface unit 1211 connected to the system bus 1205 .
[0184] The memory also includes one or more programs, one or more programs are stored in the memory, and the central processing unit 1201 implements the one or more programs by executing the one or more programs. Figures 2 to 4 All or part of the steps in the method shown.
[0185] In an exemplary embodiment, a chip is also provided. The chip includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement all or part of the steps of the method shown in the above embodiments of the present application.
[0186] In an exemplary embodiment, a computer program product is also provided, the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement all or part of the steps of the method shown in the above-mentioned various embodiments of the present application.
[0187] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement all or part of the steps of the method shown in the above-mentioned embodiments of the present application.
[0188] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program. The above program may be stored in a computer-readable storage medium. The above storage medium may be a read-only memory, a disk or an optical disk, etc.
[0189] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0190] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for uploading a car system log, characterized in that: The method comprises: In response to a trigger operation on the vehicle version number, a log upload interface is displayed; the log upload interface includes at least a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation; In response to the triggering operation of the first control, a first prompt pop-up window is displayed in the log upload interface; the first prompt pop-up window is used to prompt whether to confirm to upload the automobile system log; In response to a triggering operation on a first determination control included in the first prompt pop-up window, uploading a first automobile system log of the vehicle; A first floating window is displayed; the first floating window is used to indicate the status of uploading the first automobile system log.
2. The method according to claim 1, characterized in that The log upload interface also includes a second control, and the second control is used to trigger a prompt pop-up window corresponding to the recurrence operation. The method also includes: In response to the triggering operation on the second control, a second prompt pop-up window is displayed in the log upload interface; the second prompt pop-up window is used to prompt whether to confirm to perform the problem reproduction operation; In response to a triggering operation on a second determination control included in the second prompt pop-up window, receiving the problem reproduction operation; Upload the second car system log corresponding to the problem reproduction operation.
3. The method according to claim 2, characterized in that The receiving the problem reproduction operation in response to the triggering operation of the second determination control included in the second prompt pop-up window includes: In response to the triggering operation on the second determination control, displaying an end control in the log upload interface; In response to the triggering operation on the end control, the operation received between the first moment and the second moment is recorded as the problem reproduction operation; the first moment is the moment when the triggering operation on the second determination control is received, and the second moment is the moment when the triggering operation on the end control is received.
4. The method according to claim 2, characterized in that: The receiving the problem reproduction operation in response to the triggering operation of the second determination control included in the second prompt pop-up window includes: In response to a triggering operation on the second determination control, displaying a second floating window; The operation received between the third moment and the fourth moment is recorded as the problem reproduction operation; the third moment and the fourth moment are the moments when the triggering operation on the second floating window is received twice.
5. The method according to claim 3 or 4, characterized in that: Before uploading the second automobile system log corresponding to the problem reproduction operation, the method further includes: Display the preview interface of the recurrence operation; Displaying a screen recording animation corresponding to the problem reproduction operation in the reproduction operation preview interface; The uploading of the second automobile system log corresponding to the problem reproduction operation includes: When a trigger operation on a third determination control included in the reproduction operation preview interface is received, the second automobile system log and a screen recording animation corresponding to the problem reproduction operation are uploaded.
6. The method according to claim 1, characterized in that The step of uploading a first automobile system log of the vehicle in response to a triggering operation on a first determination control included in the first prompt pop-up window includes: In response to the triggering operation of the first determination control, a time period setting interface is displayed; the time period setting interface includes time period setting options; In response to receiving a setting operation for the time period setting option, obtaining a historical time period, the historical time period being a time period before a current moment; The first automobile system log recorded within the historical time period is uploaded.
7. A vehicle system log uploading device, characterized in that: The device comprises: A log upload interface display module, used to display a log upload interface in response to a trigger operation on the vehicle version number; the log upload interface at least includes a first control; the first control is used to trigger a prompt pop-up window corresponding to the automobile system log upload operation; A first prompt pop-up window display module, used for displaying a first prompt pop-up window in the log upload interface in response to a trigger operation on the first control; the first prompt pop-up window is used to prompt whether to confirm uploading the automobile system log; A first automobile system log uploading module, configured to upload the first automobile system log of the vehicle in response to a triggering operation on a first determination control included in the first prompt pop-up window; The first floating window display module is used to display a first floating window; the first floating window is used to indicate the status of uploading the first automobile system log.
8. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores instructions, and the instructions are executed by the processor to implement the automobile system log uploading method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The storage medium stores instructions, and the instructions are executed by a processor of a computer device to implement the automobile system log uploading method as described in any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a computer device to implement the automobile system log uploading method as described in any one of claims 1 to 6.