Functional navigation path determination method, computer device and storage medium
By receiving user voice commands, the server automatically determines the navigation path for the diagnostic device, solving the problem of users having difficulty finding the functional interface in the diagnostic software, thus improving diagnostic efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- LAUNCH TECH CO LTD
- Filing Date
- 2025-05-22
- Publication Date
- 2026-07-10
AI Technical Summary
Users unfamiliar with the function menus of diagnostic software often struggle to quickly find the desired functions, leading to poor diagnostic efficiency and user experience.
By receiving user voice commands, the server determines the navigation path for the diagnostic device and automatically displays the operation flow from the main interface to the target function interface, including querying preset navigation paths and user operation data to generate navigation paths.
It improves user convenience and diagnostic efficiency, helps users quickly understand how to access the target function interface, and enhances the user's diagnostic experience.
Smart Images

Figure CN120578360B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method for determining a functional navigation path, a computer device, and a storage medium. Background Technology
[0002] With the continuous development of technology, using diagnostic software to diagnose vehicles has become commonplace. Diagnostic software includes function menus. Users can access the corresponding functions through these menus to perform diagnostics on their vehicles.
[0003] In related technologies, users access the desired function's interface by manually clicking on relevant controls in the diagnostic software's function menu. However, users unfamiliar with the diagnostic software may need to repeatedly search through the menu to find the required function, resulting in a poor user experience. Summary of the Invention
[0004] This application provides a method for determining a functional navigation path, a computer device, and a storage medium, which can improve diagnostic efficiency and user experience. The technical solution is as follows:
[0005] Firstly, a method for determining a functional navigation path is provided, applied to a server, the method comprising:
[0006] The device receives a first message sent by a diagnostic device. The first message includes a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command, which is used to instruct the execution of a target function. The target function is a function in the target diagnostic software.
[0007] Based on the target version number and the target function identifier, a first navigation path is queried from the preset navigation path set corresponding to the target diagnostic software identifier. The preset navigation path set includes the navigation path of each function in one or more functions of the target diagnostic software. The navigation path of the function is used to indicate the path from the main interface of the target diagnostic software to the function interface of the function.
[0008] If the first navigation path is not found, the user operation data corresponding to the target function identifier is obtained from the user operation dataset corresponding to the target diagnostic software identifier and the target version number. The user operation data corresponding to the target function identifier includes the identifiers of each control operated by the user during the process from the user starting the target diagnostic software to executing the target function.
[0009] The second navigation path is obtained based on the user operation data corresponding to the target function identifier;
[0010] If the second navigation path is obtained, the second navigation path is determined as the target navigation path;
[0011] A second message is sent to the diagnostic device. The second message includes the target navigation path. The second message is used to instruct the diagnostic device to display the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
[0012] In this application, the user only needs to issue a voice command, and the diagnostic device can automatically determine the navigation path of the target function to be performed in the corresponding target diagnostic software. Based on this navigation path, it automatically displays the operation flow from the main interface of the target diagnostic software to the function interface of the target function. This not only improves user convenience but also helps users quickly understand how to access the function interface of the target function, increasing their diagnostic experience. Thus, diagnostic efficiency and user experience can be improved.
[0013] Optionally, the number of user operation data corresponding to the target function identifier is n, where n is a positive integer; obtaining the second navigation path based on the user operation data corresponding to the target function identifier includes:
[0014] Based on the n user operation data corresponding to the target function identifier, generate n navigation paths;
[0015] The identical navigation paths among the n navigation paths are grouped together to obtain m groups of navigation paths, where m is a positive integer;
[0016] If m is less than or equal to a preset value, determine the navigation path with the most navigation paths from the m groups of navigation paths;
[0017] If the ratio of the number of navigation paths in the set of navigation paths to n is greater than or equal to a preset ratio, any one of the navigation paths in the set of navigation paths is determined as the second navigation path.
[0018] Optionally, generating n navigation paths based on the n user operation data corresponding to the target function identifier includes:
[0019] For any one of the n user operation data corresponding to the target function identifier, determine the invalid path in the control identifier sequence of the user operation data, wherein the start and end points of the invalid path are the same;
[0020] Delete all control identifiers except the last one in the invalid path of the control identifier sequence to obtain a navigation path.
[0021] Optionally, after querying the first navigation path from the preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier, the method further includes:
[0022] If the first navigation path is found, the first navigation path is determined as the target navigation path.
[0023] Optionally, after obtaining the second navigation path based on the user operation data corresponding to the target function identifier, the method further includes:
[0024] If the second navigation path fails to be obtained, the function menu of the target diagnostic software is obtained according to the target diagnostic software identifier and the target version number;
[0025] Based on the target function identifier, the target navigation path is searched from the function menu using a path search algorithm.
[0026] Secondly, a functional navigation path determination device is provided, the device comprising:
[0027] The receiving module is used to receive a first message sent by the diagnostic device. The first message includes a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command. The user voice command is used to instruct the execution of a target function. The target function is a function in the target diagnostic software.
[0028] The query module is used to query a first navigation path from a preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier. The preset navigation path set includes the navigation path of each function in one or more functions of the target diagnostic software. The navigation path of the function is used to indicate the path from the main interface of the target diagnostic software to the function interface of the function.
[0029] The first acquisition module is used to acquire user operation data corresponding to the target function identifier from the user operation dataset corresponding to the target diagnostic software identifier and the target version number when the first navigation path is not found. The user operation data corresponding to the target function identifier includes the identifiers of various controls operated by the user from the time the user starts the target diagnostic software to the time the target function is executed.
[0030] The second acquisition module is used to acquire the second navigation path based on the user operation data corresponding to the target function identifier;
[0031] The first determining module is used to determine the second navigation path as the target navigation path when the second navigation path is obtained;
[0032] The sending module is used to send a second message to the diagnostic device. The second message includes the target navigation path and is used to instruct the diagnostic device to display the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
[0033] Thirdly, a computer device is provided, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, it implements the functional navigation path determination method described in the first aspect.
[0034] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the functional navigation path determination method described in the first aspect.
[0035] Fifthly, a computer program product is provided, which, when run on a computer device, causes the computer device to execute the functional navigation path determination method described in the first aspect.
[0036] It is understood that the beneficial effects of the second, third, fourth, and fifth aspects mentioned above can be found in the relevant descriptions in the first aspect above, and will not be repeated here. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic diagram of the structure of a communication system provided in an embodiment of this application;
[0039] Figure 2 This is a flowchart of a functional navigation path determination method provided in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of the structure of a functional navigation path determination device provided in an embodiment of this application;
[0041] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0043] It should be understood that "multiple" as mentioned in this application refers to two or more. In the description of this application, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist, for example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, to facilitate a clear description of the technical solutions of this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply differences.
[0044] The terms "one embodiment" or "some embodiments" used in this application mean that one or more embodiments of this application include the specific features, structures, or characteristics described in that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this application do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. Furthermore, the terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0045] The application scenarios of the embodiments of this application are described below.
[0046] The embodiments of this application are applied to scenarios where functions in diagnostic software are used, specifically to scenarios where navigation paths for functions in diagnostic software are determined, so that users can quickly use the functions in diagnostic software.
[0047] Typically, users access the desired function by manually clicking on the relevant controls in the diagnostic software's function menu. However, if the user is unfamiliar with the software or if the function menu has been updated, they may need to repeatedly search through the menu to find the required function, which reduces diagnostic efficiency and user experience.
[0048] Therefore, this application provides a method for determining a function navigation path. In this method, a user can activate the voice interaction mode of a diagnostic device and then issue a voice command. The diagnostic device can then request the server to determine the navigation path for that function based on the function indicated by the user's voice command. After determining the navigation path, the server can send it to the diagnostic device. The diagnostic device can automatically display the function's interface based on the navigation path, and the user can execute the function within this interface. This approach not only improves user convenience but also helps users quickly understand how to access the target function's interface, enhancing their diagnostic experience. Thus, it improves diagnostic efficiency and user experience.
[0049] The communication system provided in the embodiments of this application will be described below.
[0050] Figure 1 This is a schematic diagram of the structure of a communication system provided in an embodiment of this application. See also... Figure 1 The communication system 10 may include a diagnostic device 101 and a server 102.
[0051] The diagnostic device 101 can communicate with the server 102 via a wired or wireless connection.
[0052] Diagnostic device 101 is used for vehicle fault diagnosis. For example, diagnostic device 101 can communicate with the vehicle's on-board diagnostics (OBD) interface via a diagnostic connector to obtain information such as the vehicle identification number (VIN) for vehicle fault diagnosis. For example, the diagnostic connector can be located in the vehicle communication interface (VCI). The diagnostic connector can be a wired or wireless diagnostic connector. Diagnostic device 101 and the diagnostic connector can communicate via wired, wireless fidelity (WIFI), Bluetooth, or other technologies. For example, diagnostic device 101 can be an X431 diagnostic device.
[0053] The diagnostic device 101 may contain one or more diagnostic software programs. Each of these programs can diagnose vehicles of one particular brand, while different programs can diagnose vehicles of different brands. Diagnostic software can also be referred to as a diagnostic application (APP).
[0054] Optionally, the diagnostic device 101 may include a voice recognition module for recognizing user intent in user voice commands received by the diagnostic device 101.
[0055] Optionally, if the voice recognition module recognizes that the user's intention is to instruct the execution of a function in the diagnostic software, the diagnostic device 101 may send a message to the server 102 requesting the determination of a navigation path for that function (i.e., the first message described below).
[0056] After receiving the first message sent by the diagnostic device 101, the server 102 determines the navigation path for the function based on the first message. Then, the server 102 can send a response message to the diagnostic device 101 for the first message (i.e., the second message described below), which includes the navigation path for the function.
[0057] After receiving the second message, the diagnostic device 101 can display the function interface according to the navigation path of the function.
[0058] In some embodiments, after the diagnostic device 101 displays the function interface, the user can trigger a control in the function interface to start the function and execute it.
[0059] The method for determining the functional navigation path provided in the embodiments of this application will be explained in detail below.
[0060] Figure 2 This is a flowchart illustrating a method for determining a functional navigation path provided in an embodiment of this application. This method is applied to the above... Figure 1 Communication system 10 in the embodiment. See also Figure 2 The method includes the following steps:
[0061] Step 201: The diagnostic device sends a first message to the server. The first message includes the target diagnostic software identifier, the target version number, and the target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on the user's voice command, which is used to instruct the execution of the target function, which is a function in the target diagnostic software.
[0062] The target diagnostic software is the diagnostic software currently required.
[0063] The first message is used to instruct the server to generate a navigation path (i.e., the target navigation path as described below) for the target function in the target diagnostic software of the diagnostic device.
[0064] It should be noted that before sending the first message to the server, the diagnostic device can receive user voice commands to identify the user's intent and determine the target function the user wants to perform. The identification process is illustrated below. The identification process may include the following steps (1) to (5).
[0065] Step (1): The diagnostic device receives user voice commands when it is in voice interaction mode.
[0066] This voice interaction mode is a mode capable of processing user voice commands. When the diagnostic device is in this voice interaction mode, it can receive user voice commands and execute operations accordingly to fulfill user needs. The user voice command is a voice command issued by the user.
[0067] In some embodiments, the diagnostic device can activate the voice interaction mode in four ways.
[0068] The first method: The diagnostic device responds to the received wake-up command and activates the voice interaction mode.
[0069] The wake-up command is the command to activate the voice interaction mode. This wake-up command can be triggered by the user. For example, the user can trigger the wake-up command through voice wake-up (such as saying a wake word), button wake-up (such as long-pressing a physical button), etc. This application embodiment does not limit this method.
[0070] The second method: The diagnostic device activates the voice interaction mode when it detects that the diagnostic connector of the diagnostic device is connected to the vehicle.
[0071] For example, the diagnostic device can activate the voice interaction mode when it detects that the diagnostic connector is inserted into the vehicle's OBDII diagnostic port.
[0072] The third method: The diagnostic device captures a license plate image; identifies the license plate number in the image; obtains the vehicle identifier based on the license plate number; obtains the target vehicle brand based on the vehicle identifier; and, if the target vehicle brand is obtained, activates the voice interaction mode.
[0073] For example, the vehicle identifier could be the vehicle's VIN.
[0074] For example, the diagnostic device's operation of obtaining the vehicle identifier based on the license plate number can be as follows: the diagnostic device sends a third message to the server, the third message including the license plate number. After receiving the third message, the server queries the vehicle identifier corresponding to the license plate number. If the server finds the vehicle identifier corresponding to the license plate number, it sends a fourth message to the diagnostic device, the fourth message including the vehicle identifier corresponding to the license plate number.
[0075] If the server finds the vehicle identifier corresponding to the license plate number, it means that the vehicle with that license plate number has been diagnosed using diagnostic equipment before, and the server has saved the license plate number and its corresponding vehicle identifier. Therefore, it can send a fourth message to the diagnostic equipment to send the vehicle identifier corresponding to the license plate number. If the server does not find the vehicle identifier corresponding to the license plate number, it means that the vehicle with that license plate number has not been diagnosed using diagnostic equipment before, and the server has not saved the license plate number and its corresponding vehicle identifier. Therefore, it can send a query failure message to the diagnostic equipment to indicate that the vehicle identifier corresponding to the license plate number was not found.
[0076] Optionally, after receiving the fourth message, the diagnostic device can query the corresponding vehicle brand in a third-party database based on the vehicle identifier as the target vehicle brand.
[0077] Optionally, if the diagnostic device receives a query failure message, it can display a prompt message to encourage the user to connect the diagnostic connector to the vehicle to activate the voice interaction mode.
[0078] Step (2): The diagnostic device identifies the user's intent based on the user's voice command.
[0079] For example, the diagnostic device can convert the user's voice command into text using a voice recognition module, parse the text, and obtain the user's intent.
[0080] Step (3): The diagnostic device obtains the target vehicle brand when the user intends to instruct the execution of a preset function.
[0081] Preset functions can be configured in advance. For example, preset functions can be configured by technicians according to the functions of each diagnostic software.
[0082] The target vehicle brand is the brand of the vehicle that needs to be diagnosed.
[0083] In some embodiments, when the diagnostic device initiates the voice interaction mode in the third manner described in step (1) above, the diagnostic device has already obtained the target vehicle brand.
[0084] If the diagnostic device does not activate the voice interaction mode in the third way in step (1) above, and the diagnostic connector is connected to the vehicle, the diagnostic device can obtain the vehicle identification from the vehicle and obtain the target vehicle brand based on the vehicle identification.
[0085] If the diagnostic device does not initiate the voice interaction mode through the third method in step (1) above, and the diagnostic connector is not connected to the vehicle, the diagnostic device can display a prompt message to prompt the user to take a picture of the vehicle's license plate, connect the diagnostic connector to the vehicle, or specify the vehicle brand to be diagnosed via voice. Subsequently, if the diagnostic device acquires a license plate image, it can identify the license plate number in the image, obtain the vehicle identifier based on the license plate number, and obtain the target vehicle brand based on the vehicle identifier, similar to the third method in step (1) above, and will not be repeated here; or, if the diagnostic device detects that the diagnostic connector is connected to the vehicle, it can obtain the vehicle identifier from the vehicle and obtain the target vehicle brand based on the vehicle identifier; or, if the diagnostic device receives a user's voice command, it can obtain the target vehicle brand from the user's voice command.
[0086] Step (4): The diagnostic equipment identifies the diagnostic software identifier corresponding to the target vehicle brand as the target diagnostic software identifier, which is used to identify the target diagnostic software.
[0087] There is a correspondence between vehicle brands and diagnostic software identifiers, and this correspondence can be preset. One vehicle brand corresponds to one diagnostic software identifier, and the diagnostic software identified by that identifier can diagnose vehicles of that brand.
[0088] Step (5): The diagnostic device determines the function identifier corresponding to the preset function indicated by the user's intent in the target diagnostic software as the target function identifier, which is used to identify the target function.
[0089] The preset function indicated by the user's intent is the target function that the user wants to perform in the target diagnostic software.
[0090] Step 202: After receiving the first message, the server queries the first navigation path from the preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier. The preset navigation path set includes the navigation path of each function in one or more functions in the target diagnostic software. The navigation path of the function is used to indicate the path from the main interface of the target diagnostic software to the function interface of the function.
[0091] The function interface is the interface where the control that triggers the execution of that function is located.
[0092] It should be noted that the navigation paths for functions in the preset navigation path set can be paths pre-set by technicians. In this case, the navigation path for a function in the preset navigation path set is generally the fastest path to access that function's interface. For example, technicians can pre-set navigation paths for some or all functions in the diagnostic software based on the software's function menu. After receiving the first message, the server can query the first navigation path from the preset navigation path set corresponding to the target diagnostic software identifier. This ensures the accuracy and effectiveness of the determined navigation path for the target function.
[0093] There is a correspondence between diagnostic software identifiers and preset navigation path sets, and this correspondence can be preset. One diagnostic software identifier corresponds to one preset navigation path set, which includes navigation paths for some or all of the functions in the diagnostic software identified by the diagnostic software identifier.
[0094] For example, the preset navigation path set corresponding to the target diagnostic software identifier may include one or more preset navigation path subsets, which correspond one-to-one with one or more versions of the target diagnostic software. A preset navigation path subset includes navigation paths for various functions in some or all of the functions of a certain version of the target diagnostic software.
[0095] The first navigation path is the preset navigation path set corresponding to the target diagnostic software identifier, combined with the navigation path corresponding to the target version number and the target function identifier. For example, the first navigation path may include one or more node data. For instance, taking the maintenance light reset function in the target diagnostic software with version number 1.0 as an example, the first navigation path corresponding to the preset navigation path set of the target diagnostic software, combined with the version number 1.0 and the maintenance light reset function identifier, could be: Topology Map - Full System Scan - Engine System - Special Functions - Maintenance Light Reset.
[0096] If the server finds the first navigation path, it can determine the first navigation path as the target navigation path and then execute step 206 as follows.
[0097] If the server does not find the first navigation path, it can perform steps 203 to 205 to determine the target navigation path, and then perform step 206.
[0098] Step 203: If the first navigation path is not found, the server obtains the user operation data corresponding to the target function identifier from the user operation dataset corresponding to the target diagnostic software identifier and the target version number. The user operation data corresponding to the target function identifier includes the identifiers of each control operated by the user from the time the user starts the target diagnostic software to the time the target function is executed.
[0099] It should be noted that in this embodiment, the server may fail to find the first navigation path from the preset navigation path set due to several reasons: the diagnostic software may be updated, but the technicians may not update the preset navigation path set in a timely manner, resulting in the absence of a subset of preset navigation paths corresponding to the target version number; the diagnostic software version may be outdated, causing the subset of preset navigation paths corresponding to the target version number to be deleted; or the subset of preset navigation paths corresponding to the target version number may not contain a navigation path for the target function. In such cases, since user operation data can reflect the navigation path when the user executes functions in the diagnostic software, the user operation data corresponding to the target function identifier can be obtained from the user operation data set corresponding to the target diagnostic software identifier and the target version number, in order to obtain the second navigation path from this user operation data.
[0100] The user operation data in the user operation dataset corresponding to the target diagnostic software identifier and target version number can be sent to this server by the target diagnostic software of the target version number installed in each diagnostic device. The target diagnostic software can acquire user operation data during user operation and send it to this server. This server can then divide the user operation data sent by the target diagnostic software of each version number according to the version number to obtain individual user operation datasets corresponding to the target diagnostic software identifier and each version number.
[0101] Optionally, after the user starts the target diagnostic software, it can record the identifiers of each control operated by the user. After a certain function is executed, it can generate a sequence of all control identifiers operated by the user during that period, according to the user's operation order. This sequence of control identifiers is the user operation data corresponding to the identifiers of that function. That is, the control identifiers in the user operation data are arranged sequentially. For example, a sequence of control identifiers in a set of user operation data could be: ABCBAEFG.
[0102] For example, the user action dataset can retain only user action data acquired within a preset time period prior to the current time. This ensures that the user action data in the dataset is relatively recent, thereby improving the accuracy of the subsequent second navigation path determined based on it. The preset time period can be set in advance.
[0103] Step 204: The server obtains the second navigation path based on the user operation data corresponding to the target function identifier.
[0104] The second navigation path is the navigation path for the target function determined based on user operation data.
[0105] In some embodiments, the number of user operation data corresponding to the target function identifier is n, where n is a positive integer, and the operation of step 204 may include the following steps A to D.
[0106] Step A: The server generates n navigation paths based on the n user operation data corresponding to the target function identifier.
[0107] Each of the n user operation data points corresponds one-to-one with one of the n navigation paths. Each of the n navigation paths is generated based on its corresponding user operation data point.
[0108] Each of the n navigation paths represents the path taken by each user from the main interface of the target diagnostic software to the functional interface of the target function.
[0109] Based on the n user operation data, n navigation paths are generated, thus revealing the path each user takes to access the target function's interface, providing a reference for obtaining the second navigation path later.
[0110] In some embodiments, step A can be performed as follows: for any one of the n user operation data corresponding to the target function identifier, the server determines an invalid path in the control identifier sequence of the user operation data, wherein the start and end points of the invalid path are the same; deletes the other control identifiers in the invalid path in the control identifier sequence except for the last control identifier, to obtain a navigation path.
[0111] The invalid path in the control's identifier sequence is a path that is irrelevant to the function interface for accessing the target function.
[0112] Delete all control identifiers except the last one in the invalid path of the control identifier sequence. The remaining path is the valid path, which is the navigation path to the function interface of the target function.
[0113] For example, if the control identifier sequence in a user operation data is ABCBAEFG, then the invalid path in the user operation data is ABCBA. Delete all controls ABCB except the last control identifier A in the invalid path ABCBA, and the valid path in the user operation data becomes AEFG. This valid path is a navigation path.
[0114] Step B: The server groups the identical navigation paths among the n navigation paths into a group, resulting in m groups of navigation paths, where m is a positive integer.
[0115] Group the n navigation paths together if they are the same. This way, we can know the m navigation paths to the target function's interface and the number of times each navigation path is used by the user.
[0116] If m is greater than the preset value, it means that there are too many ways to enter the target function's interface. However, in actual use cases, the navigation path to enter a function's interface is usually relatively fixed. If there are too many navigation paths, it will not match the actual use case and the reliability will be low. Therefore, steps C and D are not executed, and the second navigation path acquisition is directly determined to have failed.
[0117] If m is less than or equal to a preset value, it indicates that the reliability of the determined m groups of navigation paths is high. Therefore, steps C and D can be performed to obtain a second navigation path from these m groups of navigation paths. This method can improve the accuracy of the obtained second navigation path.
[0118] Step C: If m is less than or equal to a preset value, the server determines the group of navigation paths with the most navigation paths from the m groups of navigation paths.
[0119] The preset value can be set in advance. For example, the preset value can be set to 4, 5, 6, etc., but this application embodiment does not limit this.
[0120] Step D: If the ratio of the number of navigation paths in this group of navigation paths to n is greater than or equal to a preset ratio, the server will determine any one of the navigation paths in this group of navigation paths as the second navigation path.
[0121] The preset ratio can be set in advance. For example, the preset ratio can be set to 60%, 61%, 62%, etc., but this application embodiment does not limit this.
[0122] If the ratio of the number of navigation paths in this set of navigation paths to n is greater than or equal to a preset ratio, it means that each user uses this navigation path to access the target function's interface relatively frequently. Therefore, this navigation path is likely the fastest way to access the target function's interface, and can be designated as the second navigation path. This improves the accuracy of the determined second navigation path.
[0123] If the ratio of the number of navigation paths in this group to n is less than the preset ratio, it means that the total number of times each user uses this navigation path to enter the function interface of the target function is relatively small. In this case, the navigation path may not be the fastest path to enter the function interface of the target function. Therefore, the navigation path is not determined as the second navigation path, but the second navigation path acquisition is determined to have failed.
[0124] Step 205: Once the server obtains the second navigation path, it determines the second navigation path as the target navigation path.
[0125] In this embodiment, when the server fails to obtain the first navigation path from the preset navigation path set due to reasons such as the diagnostic software version being updated but the technician not updating the preset navigation path set in a timely manner, the diagnostic software version being too old resulting in the absence of a corresponding navigation path in the preset navigation path set, or the technician not pre-setting navigation paths for certain functions in the preset navigation path set, the server can intelligently identify the target navigation path based on the user's historical operation data in the diagnostic software. This not only improves the flexibility and usability of determining the target navigation path, but also enhances the adaptability and reliability of the server in determining navigation paths for functions in different versions of the diagnostic software.
[0126] In some embodiments, if the second navigation path acquisition fails, the server can obtain the function menu of the target diagnostic software based on the target diagnostic software identifier and the target version number; based on the target function identifier, it can search for the target navigation path from the function menu using a path search algorithm, and then perform the following step 206.
[0127] For example, the function menu of the target diagnostic software may be maintained by technical personnel during the packaging of the diagnostic software version. For example, the function menu of the target diagnostic software may be a tree structure, where each node in the tree structure can identify a page or a control within a page, and the controls identified by the leaf nodes of the tree structure can be bound to the functions they can trigger. In this case, the server can start from the root node of the target diagnostic software's function menu and search for the leaf nodes bound to the target function identifiers using a path search algorithm to obtain the target navigation path.
[0128] For example, the path search algorithm can be a depth-first search (DFS) algorithm, a breadth-first search (BFS) algorithm, a shortest path algorithm, etc., and this application embodiment does not limit it.
[0129] Step 206: The server sends a second message to the diagnostic device, the second message including the target navigation path.
[0130] Step 207: After receiving the second message, the diagnostic device displays the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
[0131] This diagnostic device displays the operation flow from the main interface of the target diagnostic software to the functional interface of the target function according to the target navigation path. That is, after opening the target diagnostic software, the device guides the user step-by-step through the various interfaces from the main interface to the next level, following the corresponding controls, until the target function's functional interface is reached. In other words, the device can sequentially display all the interfaces encountered on the way from the main interface of the target diagnostic software to the functional interface of the target function.
[0132] After the diagnostic device displays the function interface for the target function, the user can trigger and execute the target function from that interface.
[0133] In this way, the diagnostic device can automatically access the target function's interface without requiring manual searching by the user. Furthermore, by displaying the workflow from the main interface of the target diagnostic software to the target function's interface, it helps users quickly understand the path to the target function's interface, enhancing their diagnostic experience. This improves diagnostic efficiency and user experience.
[0134] To facilitate understanding, the above-mentioned method for determining the navigation path is explained below by example.
[0135] In one possible implementation, the method may include steps (1) to (9) as follows.
[0136] Step (1): After the diagnostic device detects that the diagnostic connector is connected to the vehicle, it starts the voice interaction mode.
[0137] Step (2): The diagnostic device receives user voice commands input by the user.
[0138] Step (3): The diagnostic device recognizes the user's voice command and obtains the user's intention to "turn on the tachometer".
[0139] Step (4): The diagnostic device obtains the vehicle's VIN and identifies the vehicle brand (assuming it is vehicle brand 1) based on the VIN.
[0140] Step (5): The diagnostic equipment obtains the identifier of the diagnostic software corresponding to vehicle brand 1 (assuming it is diagnostic software identifier 1), the version number of the diagnostic software installed in the diagnostic equipment (assuming it is version number 1), and the tachometer function identifier.
[0141] Step (6): The diagnostic device sends a first message to the server. The first message includes the diagnostic software identifier 1, the version number 1, and the tachometer function identifier.
[0142] Step (7): After receiving the first message, the server obtains the preset navigation path set corresponding to the diagnostic software identifier 1, queries the first navigation path from the preset navigation path set according to the version number 1 and the tachometer function identifier, and determines the first navigation path as the target navigation path.
[0143] Step (8): The server sends a second message to the diagnostic device, which includes the target navigation path.
[0144] Step (9): After receiving the second message, the diagnostic device displays the operation flow from the main interface of the diagnostic software to the tachometer function interface according to the target navigation path.
[0145] After the diagnostic device displays the tachometer function interface, the user can click the control to open the tachometer in the function interface.
[0146] In another possible implementation, the method may include steps (1) to (9) as follows.
[0147] Step (1): After the diagnostic device detects that the diagnostic connector is connected to the vehicle, it starts the voice interaction mode.
[0148] Step (2): The diagnostic device receives user voice commands input by the user.
[0149] Step (3): The diagnostic device recognizes the user's voice command and obtains the user's intention "reset the maintenance light to zero".
[0150] Step (4): The diagnostic device obtains the vehicle's VIN and identifies the vehicle brand (assuming it is vehicle brand 1) based on the VIN.
[0151] Step (5): The diagnostic software identifier corresponding to vehicle brand 1 of the diagnostic equipment (assuming diagnostic software identifier 1), the version number of the diagnostic software installed in the diagnostic equipment (assuming version number 1), and the zeroing function identifier of the maintenance light.
[0152] Step (6): The diagnostic device sends a first message to the server. The first message includes the diagnostic software identifier 1, the version number 1, and the zeroing function identifier of the maintenance light.
[0153] Step (7): After receiving the first message, the server obtains the preset navigation path set corresponding to the diagnostic software identifier 1. Based on the version number 1 and the maintenance light reset function identifier, the server does not find the first navigation path in the preset navigation path set. Then, the server obtains the user operation data corresponding to the maintenance light reset function identifier from the user operation data set corresponding to the diagnostic software identifier 1 and the version number 1. Based on the user operation data, the server obtains the second navigation path and determines the second navigation path as the target navigation path.
[0154] Step (8): The server sends a second message to the diagnostic device, which includes the target navigation path.
[0155] Step (9): After receiving the second message, the diagnostic device displays the operation flow from the main interface of the diagnostic software to the zeroing function interface of the maintenance light according to the target navigation path.
[0156] After the diagnostic device displays the maintenance light reset function interface, the user can click the control on the interface to trigger the maintenance light reset and reset the maintenance light.
[0157] In this embodiment, the diagnostic device sends a first message to the server, including a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command, which is used to instruct the execution of a target function, which is a function within the target diagnostic software. Upon receiving the first message, the server queries a first navigation path from a preset navigation path set corresponding to the target diagnostic software identifier, based on the target version number and the target function identifier. The preset navigation path set includes navigation paths for each of one or more functions within the target diagnostic software, indicating the path from the main interface of the target diagnostic software to the function's interface. If the first navigation path is not found, the server retrieves user operation data corresponding to the target function identifier from a user operation data set corresponding to the target diagnostic software identifier and the target version number. This user operation data includes identifiers of various controls operated by the user during the process from starting the target diagnostic software to executing the target function. Then, the server retrieves a second navigation path based on the user operation data corresponding to the target function identifier. Upon obtaining the second navigation path, the server determines it as the target navigation path and sends a second message, including the target navigation path, to the diagnostic device. Upon receiving the second message, the diagnostic device displays the operation flow from the main interface of the target diagnostic software to the function interface of the target function, based on the target navigation path. In this embodiment, the user only needs to issue a voice command, and the diagnostic device can automatically determine the navigation path of the target function to be executed within the corresponding target diagnostic software, and automatically display the operation flow from the main interface of the target diagnostic software to the function interface of the target function based on the navigation path. This not only improves user convenience but also helps users quickly understand how to access the function interface of the target function, increasing user diagnostic experience. Thus, diagnostic efficiency and user experience are improved.
[0158] Figure 3This is a schematic diagram of a functional navigation path determination device provided in an embodiment of this application. The device can be implemented as part or all of a computer device by software, hardware, or a combination of both. This computer device can be described below. Figure 4 The computer equipment shown. See also Figure 3 The device includes: a receiving module 301, a query module 302, a first acquisition module 303, a second acquisition module 304, a first determination module 305, and a sending module 306.
[0159] The receiving module 301 is used to receive a first message sent by the diagnostic device. The first message includes a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command, which is used to instruct the execution of a target function. The target function is a function in the target diagnostic software.
[0160] The query module 302 is used to query the first navigation path from the preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier. The preset navigation path set includes the navigation path of each function in one or more functions in the target diagnostic software. The navigation path of the function is used to indicate the path from the main interface of the target diagnostic software to the function interface of the function.
[0161] The first acquisition module 303 is used to acquire user operation data corresponding to the target function identifier from the user operation dataset corresponding to the target diagnostic software identifier and the target version number when the first navigation path is not found. The user operation data corresponding to the target function identifier includes the identifiers of each control operated by the user during the process from the user starting the target diagnostic software to executing the target function.
[0162] The second acquisition module 304 is used to acquire the second navigation path based on the user operation data corresponding to the target function identifier;
[0163] The first determining module 305 is used to determine the second navigation path as the target navigation path when the second navigation path is obtained;
[0164] The sending module 306 is used to send a second message to the diagnostic device. The second message includes a target navigation path and is used to instruct the diagnostic device to display the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
[0165] Optionally, the number of user operation data corresponding to the target function identifier is n, where n is a positive integer; the second acquisition module 304 is used for:
[0166] Generate n navigation paths based on the n user operation data corresponding to the target function identifier;
[0167] Group the identical navigation paths among the n navigation paths into a group to obtain m groups of navigation paths, where m is a positive integer;
[0168] If m is less than or equal to a preset value, determine the navigation path with the most navigation paths from the m groups of navigation paths.
[0169] If the ratio of the number of navigation paths in a set of navigation paths to n is greater than or equal to a preset ratio, any one of the navigation paths in the set of navigation paths is determined as the second navigation path.
[0170] Optionally, the second acquisition module 304 is used for:
[0171] For any one of the n user operation data corresponding to the target function identifier, determine the invalid path in the control identifier sequence of the user operation data, where the start and end points of the invalid path are the same;
[0172] Delete all control identifiers except the last one in the invalid path of the control identifier sequence to obtain a navigation path.
[0173] Optionally, the device further includes:
[0174] The second determining module is used to determine the first navigation path as the target navigation path when the first navigation path is found.
[0175] Optionally, the device further includes:
[0176] The third acquisition module is used to acquire the function menu of the target diagnostic software based on the target diagnostic software identifier and the target version number when the second navigation path acquisition fails.
[0177] The search module is used to search for the target navigation path from the function menu based on the target function identifier using a path search algorithm.
[0178] In this embodiment, the user only needs to issue a voice command, and the diagnostic device can automatically determine the navigation path of the target function to be performed in the corresponding target diagnostic software. Based on this navigation path, it automatically displays the operation flow from the main interface of the target diagnostic software to the function interface of the target function. This not only improves user convenience but also helps users quickly understand how to access the function interface of the target function, increasing their diagnostic experience. Thus, diagnostic efficiency and user experience can be improved.
[0179] It should be noted that the functional navigation path determination device provided in the above embodiments is only illustrated by the division of the above functional modules when determining the functional navigation path. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0180] The functional modules in the above embodiments can be integrated into one processing unit, or each functional module can exist as a separate physical processing unit, or two or more functional modules can be integrated into one processing unit. The processing unit can be implemented in hardware or software. Furthermore, the specific names of the functional modules are only for easy differentiation and are not intended to limit the scope of protection of the embodiments of this application.
[0181] The functional navigation path determination device and the functional navigation path determination method provided in the above embodiments belong to the same concept. The specific working process and technical effects of the functional modules in the above embodiments can be found in the method embodiments section, and will not be repeated here.
[0182] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 4 As shown, the computer device 4 includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, it implements the steps performed by the diagnostic device or server in the above embodiments.
[0183] Those skilled in the art will understand that Figure 4 The computer device 4 is merely an example and does not constitute a limitation on the computer device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0184] Processor 40 can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0185] In some embodiments, memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or RAM of the computer device 4. In other embodiments, memory 41 may be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device 4. Furthermore, memory 41 may include both internal storage units and external storage devices of the computer device 4. Memory 41 is used to store the operating system, applications, bootloader, data, and other programs. Memory 41 may also be used to temporarily store data that has been output or will be output.
[0186] This application also provides a computer device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above method embodiments.
[0187] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the various method embodiments described above.
[0188] This application provides a computer program product that, when run on a computer, causes the computer to perform the steps described in the various method embodiments above.
[0189] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above method embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, ROM (read-only memory), RAM (random access memory), CD-ROM (compact disc read-only memory), magnetic tape, floppy disk, and optical data storage devices. The computer-readable storage medium mentioned in this application can be a non-volatile storage medium; in other words, it can be a non-transient storage medium.
[0190] It should be understood that all or part of the steps of the above embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part as a computer program product. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above-described computer-readable storage medium.
[0191] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0192] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0193] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0194] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0195] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0196] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for determining a functional navigation path, characterized in that, Applied to a server, the method includes: The device receives a first message sent by a diagnostic device. The first message includes a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command, which is used to instruct the execution of a target function. The target function is a function in the target diagnostic software. Based on the target version number and the target function identifier, a first navigation path is queried from the preset navigation path set corresponding to the target diagnostic software identifier. The preset navigation path set includes the navigation path of each function in one or more functions of the target diagnostic software. The navigation path of the function is used to indicate the path from the main interface of the target diagnostic software to the function interface of the function. If the first navigation path is not found, the user operation data corresponding to the target function identifier is obtained from the user operation dataset corresponding to the target diagnostic software identifier and the target version number. The user operation data corresponding to the target function identifier includes the identifiers of each control operated by the user during the process from the user starting the target diagnostic software to executing the target function. The second navigation path is obtained based on the user operation data corresponding to the target function identifier; If the second navigation path is obtained, the second navigation path is determined as the target navigation path; A second message is sent to the diagnostic device. The second message includes the target navigation path. The second message is used to instruct the diagnostic device to display the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
2. The method as described in claim 1, characterized in that, The number of user operation data corresponding to the target function identifier is n, where n is a positive integer; The step of obtaining the second navigation path based on the user operation data corresponding to the target function identifier includes: Based on the n user operation data corresponding to the target function identifier, generate n navigation paths; The identical navigation paths among the n navigation paths are grouped together to obtain m groups of navigation paths, where m is a positive integer; If m is less than or equal to a preset value, determine the navigation path with the most navigation paths from the m groups of navigation paths; If the ratio of the number of navigation paths in the set of navigation paths to n is greater than or equal to a preset ratio, any one of the navigation paths in the set of navigation paths is determined as the second navigation path.
3. The method as described in claim 2, characterized in that, The step of generating n navigation paths based on the n user operation data corresponding to the target function identifier includes: For any one of the n user operation data corresponding to the target function identifier, determine the invalid path in the control identifier sequence of the user operation data, wherein the start and end points of the invalid path are the same; Delete all control identifiers except the last one in the invalid path of the control identifier sequence to obtain a navigation path.
4. The method as described in claim 1, characterized in that, After querying the first navigation path from the preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier, the method further includes: If the first navigation path is found, the first navigation path is determined as the target navigation path.
5. The method according to any one of claims 1 to 4, characterized in that, After obtaining the second navigation path based on the user operation data corresponding to the target function identifier, the method further includes: If the second navigation path fails to be obtained, the function menu of the target diagnostic software is obtained according to the target diagnostic software identifier and the target version number; Based on the target function identifier, the target navigation path is searched from the function menu using a path search algorithm.
6. A method for determining a functional navigation path, characterized in that, The method includes: The diagnostic device sends a first message to the server. The first message includes a target diagnostic software identifier, a target version number, and a target function identifier. The target version number is the version number of the target diagnostic software installed on the diagnostic device. The first message is generated based on a user voice command, which is used to instruct the execution of a target function. The target function is a function in the target diagnostic software. After receiving the first message, the server queries a first navigation path from a preset navigation path set corresponding to the target diagnostic software identifier based on the target version number and the target function identifier. The preset navigation path set includes navigation paths for each of one or more functions in the target diagnostic software, and the navigation path for each function indicates the path from the main interface of the target diagnostic software to the function's interface. If the first navigation path is not found, the server obtains user operation data corresponding to the target function identifier from a user operation dataset corresponding to the target diagnostic software identifier and the target version number. The user operation data corresponding to the target function identifier includes identifiers of various controls operated by the user during the process from the user starting the target diagnostic software to executing the target function. The server obtains a second navigation path based on the user operation data corresponding to the target function identifier. If the second navigation path is obtained, the second navigation path is determined as the target navigation path. The server then sends a second message to the diagnostic device, the second message including the target navigation path. After receiving the second message, the diagnostic device displays the operation flow from the main interface of the target diagnostic software to the function interface of the target function according to the target navigation path.
7. The method as described in claim 6, characterized in that, Before the diagnostic device sends the first message to the server, it also includes: When the diagnostic device is in voice interaction mode, it receives user voice commands. The diagnostic device recognizes the user's intent based on the user's voice commands; The diagnostic device obtains the target vehicle brand when the user intends to instruct the execution of a preset function. The diagnostic device identifies the diagnostic software identifier corresponding to the target vehicle brand as the target diagnostic software identifier. The diagnostic device determines the function identifier corresponding to the preset function indicated by the user's intent in the target diagnostic software as the target function identifier.
8. The method as described in claim 7, characterized in that, The method further includes: The diagnostic device, in response to receiving a wake-up command, activates the voice interaction mode; or, When the diagnostic device detects that its diagnostic connector is connected to the vehicle, it activates the voice interaction mode. or, Capture a license plate image; identify the license plate number in the license plate image; obtain the vehicle identifier based on the license plate number; obtain the target vehicle brand based on the vehicle identifier; and, if the target vehicle brand is obtained, activate the voice interaction mode.
9. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the method as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 5.