Reminder method, device, electronic device and storage medium
By obtaining and comparing the data transmission parameters of the target device and the preset safe data transmission parameters, the executability of the vehicle diagnosis function is judged and the user is reminded, which solves the problem of function inability to perform or fails in vehicle diagnosis and ensures that the diagnosis process proceeds smoothly.
Patent Information
- Application Number
- CN202111505966.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-10
AI Technical Summary
During the vehicle diagnosis process, the target function may not be executed or may fail to execute due to network problems, resulting in malfunctions during the diagnosis process.
By obtaining the data transmission parameters of the target device and the preset secure data transmission parameters of the target function, the two are compared to determine whether the function is executable, and the user is reminded based on the comparison results to ensure the executability of the function.
It effectively solves the problem that the target function cannot be executed or fails to execute during the vehicle diagnosis process, and ensures the smooth progress of the diagnosis process by promptly reminding the user.
Smart Images

Figure CN114189463B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automotive electronic technology, and in particular, relates to a reminder method, device, electronic equipment and storage medium. Background Art
[0002] Currently, in the vehicle diagnosis process, the execution of many target functions requires network support, but sometimes the target function cannot be executed or fails to execute due to network problems. Summary of the invention
[0003] The embodiments of the present application provide a reminder method, device, electronic device and storage medium, which can solve the problem that the target function cannot be executed or fails to execute during the vehicle diagnosis process.
[0004] In a first aspect, an embodiment of the present application provides a reminder method, including:
[0005] Get the data transmission parameters of the target device;
[0006] Obtaining preset secure data transmission parameters of the target function;
[0007] comparing data transmission parameters of the target device with preset secure data transmission parameters of the target function;
[0008] Determine whether the target function can be executed according to the comparison result;
[0009] The user is reminded based on the judgment result.
[0010] Optionally, before obtaining the data transmission parameters of the target device, the method further includes:
[0011] Get network connection status;
[0012] If the network connection status indicates that there is no network connection at present, the user is reminded that the target function needs to be executed online.
[0013] Optionally, the data transmission parameter of the target device includes a data transmission rate, and the preset secure data transmission parameter of the target function includes a preset secure data transmission rate; and comparing the data transmission parameter of the target device with the preset secure data transmission parameter of the target function includes:
[0014] The data transmission rate is compared with a preset safe data transmission rate corresponding to the target function.
[0015] Optionally, the data transmission rate includes an average transmission rate; and comparing the data transmission rate with a preset safe data transmission rate corresponding to the target function includes:
[0016] comparing the average transmission rate with a preset secure data transmission rate corresponding to the target function;
[0017] Correspondingly, judging whether the target function can be executed according to the comparison result includes:
[0018] If the average transmission rate is less than the preset secure data transmission rate corresponding to the target function, determining that the target function is unavailable;
[0019] Correspondingly, reminding the user according to the judgment result includes:
[0020] The user is reminded that the target function is unavailable.
[0021] Optionally, the data transmission rate further includes a minimum transmission rate, and the comparing the data transmission rate with a preset safe data transmission rate corresponding to the target function further includes:
[0022] comparing the minimum transmission rate to a preset safe data transmission rate of the target function;
[0023] Correspondingly, judging whether the target function can be executed according to the comparison result includes:
[0024] If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to the preset secure data transmission rate of the target function, it is determined that the target function can be executed normally;
[0025] Correspondingly, reminding the user according to the judgment result includes:
[0026] Remind the user that the target function can be executed normally.
[0027] Optionally, judging whether the target function can be executed according to the comparison result further includes:
[0028] If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is less than the preset secure data transmission rate of the target function, it is determined that the target function may fail to execute;
[0029] Correspondingly, reminding the user according to the judgment result includes:
[0030] The user is reminded that the target function may fail to execute.
[0031] Optionally, the data transmission parameter of the target device includes a data packet loss rate, and the preset secure data transmission parameter of the target function includes a preset secure data packet loss rate; and comparing the data transmission parameter of the target device with the preset secure data transmission parameter of the target function includes:
[0032] Comparing the data packet loss rate with a preset security data packet loss rate corresponding to the target function;
[0033] Correspondingly, judging whether the target function can be executed according to the comparison result includes:
[0034] If the data packet loss rate is less than the preset security data packet loss rate corresponding to the target function, it is determined that the target function can be executed normally;
[0035] Correspondingly, reminding the user according to the judgment result includes:
[0036] Remind the user that the target function can be executed normally.
[0037] In a second aspect, an embodiment of the present application provides a reminder device, including:
[0038] A first acquisition module, used to acquire data transmission parameters of a target device;
[0039] A second acquisition module, used to acquire preset secure data transmission parameters of a target function;
[0040] A comparison module, used to compare the data transmission parameters of the target device with the preset secure data transmission parameters of the target function;
[0041] A judgment module, used to judge whether the target function can be executed according to the comparison result;
[0042] The first reminder module is used to remind the user according to the judgment result.
[0043] Optionally, the reminder device further includes:
[0044] The third acquisition module is used to obtain the network connection status;
[0045] The second reminder module is used to remind the user that the target function needs to be executed online if the network connection status indicates that there is currently no network connection.
[0046] Optionally, the data transmission parameter of the target device includes a data transmission rate, and the preset secure data transmission parameter of the target function includes a preset secure data transmission rate; and the comparison module includes:
[0047] The first comparing unit is configured to compare the data transmission rate with a preset safe data transmission rate corresponding to the target function.
[0048] Optionally, the data transmission rate includes an average transmission rate; and the comparison module includes:
[0049] a second comparing unit, configured to compare the average transmission rate with a preset secure data transmission rate corresponding to the target function;
[0050] Correspondingly, the judging module includes:
[0051] A first determining unit, configured to determine that the target function is unavailable if the average transmission rate is less than a preset secure data transmission rate corresponding to the target function;
[0052] Correspondingly, the first reminder module includes:
[0053] The first reminding unit is used to remind the user that the target function is unavailable.
[0054] Optionally, the data transmission rate further includes a minimum transmission rate, and the comparison module further includes:
[0055] a third comparing unit, configured to compare the minimum transmission rate with a preset safe data transmission rate of the target function;
[0056] Correspondingly, the judging module includes:
[0057] a second determining unit, configured to determine that the target function can be normally executed if the average transmission rate is greater than or equal to a preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to a preset secure data transmission rate of the target function;
[0058] Correspondingly, the first reminder module includes:
[0059] The second reminding unit is used to remind the user that the target function can be executed normally.
[0060] Optionally, the judging module further includes:
[0061] a third determining unit, configured to determine that the target function may fail to execute if the average transmission rate is greater than or equal to a preset secure data transmission rate of the target function and the minimum transmission rate is less than the preset secure data transmission rate of the target function;
[0062] Correspondingly, the first reminder module includes:
[0063] The third reminding unit is used to remind the user that the target function may fail to execute.
[0064] Optionally, the data transmission parameter of the target device includes a data packet loss rate, and the preset secure data transmission parameter of the target function includes a preset secure data packet loss rate; and the comparison module includes:
[0065] Comparing the data packet loss rate with a preset security data packet loss rate corresponding to the target function;
[0066] Correspondingly, the judging module includes:
[0067] a fourth determining unit, configured to determine that the target function can be normally executed if the data packet loss rate is less than a preset security data packet loss rate corresponding to the target function;
[0068] Correspondingly, the first reminder module includes:
[0069] The fourth reminding unit is used to remind the user that the target function can be executed normally.
[0070] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0071] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the reminder method described in the first aspect.
[0072] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the reminder method described in the first aspect above are implemented.
[0073] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the steps of the reminder method described in the first aspect above.
[0074] Compared with the prior art, the beneficial effect of the embodiments of the present application is as follows: after obtaining the data transmission parameters of the target device and the preset safe data transmission parameters of the target function, the data transmission parameters of the above-mentioned target device are first compared with the preset safe data transmission parameters of the above-mentioned target function, and then it is judged whether the above-mentioned target function can be executed according to the comparison result, and finally the user is reminded according to the judgment result. The executable nature of the target function can be determined according to the data transmission parameters of the target device, and the user is reminded in time, thereby solving the problem that the target function cannot be executed or fails to be executed during the vehicle diagnosis process. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0076] Figure 1 It is a flowchart of a reminder method provided by an embodiment of the present application;
[0077] Figure 2 is a schematic diagram of the structure of a reminder device provided in an embodiment of the present application;
[0078] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0080] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0081] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0082] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0083] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0084] Figure 1 A schematic diagram of the process of the reminder method provided in the embodiment of the present application is shown as follows: Figure 1 As shown, the method includes steps S110 to S150. The method of the present application can be executed by a diagnostic device, or steps S110-S140 are executed by a server, and step S150 is executed by a diagnostic device. This embodiment is explained with the diagnostic device as the execution subject. The specific implementation principles of each step are as follows:
[0085] S110, obtaining data transmission parameters of the target device.
[0086] In some embodiments, when it is detected that a user enters a target function interface of a target device, the target device may start to obtain data transmission parameters of the target device, where the target device is the diagnostic device itself.
[0087] The data transmission parameter of the target device may be a data transmission parameter at the current moment, or a data transmission parameter within a preset time period with the current moment as the end time.
[0088] The preset time period may be 5 seconds, which may be determined according to actual conditions and is not limited here. That is, the data transmission parameters within 5 seconds before the current moment may be counted and used as the data transmission parameters of the target device.
[0089] S120, obtaining preset secure data transmission parameters of the target function.
[0090] In some embodiments, since each target function has different requirements for data transmission parameters during execution, each target function can be bound to the corresponding data transmission parameters in advance to form preset secure data transmission parameters.
[0091] The target function is the diagnostic function currently started by the user, or a function related to the currently started diagnostic function, etc. It can also be all the diagnostic functions of the vehicle diagnostic equipment, which is not limited here.
[0092] The target functions that can be executed by the target device include but are not limited to the following: online programming, reading fault codes, reading data streams, action testing, special functions and anti-theft matching.
[0093] S130, comparing the data transmission parameters of the target device with the preset secure data transmission parameters of the target function.
[0094] In some embodiments, the target device may compare the data transmission parameters obtained in step S110 with the preset secure data transmission parameters obtained in step S120, and determine the next operation to be performed according to the comparison result.
[0095] S140: Determine whether the target function can be executed according to the comparison result.
[0096] In some embodiments, the target device can determine whether each target function on the target function interface can be executed according to the comparison result obtained in step S130. Specifically, it is determined whether the data transmission parameters of the target device meet the requirements of the preset secure data transmission parameters of the target function. When the requirements are met, it is determined that the above target function can be executed, and when the requirements are not met, it is determined that the target function cannot be executed.
[0097] S150, reminding the user according to the judgment result.
[0098] In some embodiments, the target device can remind the user based on the judgment result of step S140. If the target function can be executed, the user is reminded that the target function can be executed normally; if the target function cannot be executed, the user is reminded that the target function is unavailable; otherwise, the user is reminded that the target function may fail to execute.
[0099] It should be understood that in the above steps S110 to S150, after obtaining the data transmission parameters of the target device and the preset safe data transmission parameters of the target function, the data transmission parameters of the target device and the preset safe data transmission parameters of the target function are first compared, and then the execution of the target function is determined according to the comparison result, and finally the user is reminded according to the judgment result. The executableness of the target function can be determined according to the data transmission parameters of the target device, and then the reminder information of the target function is determined, and the user is reminded in time. This solves the problem that the target function cannot be executed or fails to execute during the vehicle diagnosis process.
[0100] In some embodiments, in the above Figure 1 Based on the embodiment of the reminder method shown, the method may further include steps 11 to 12. The specific implementation principle of each step is as follows:
[0101] Step 11, obtain the network connection status.
[0102] In some embodiments, when the target device detects that the user has entered the diagnostic function interface, it starts to obtain the network connection status. If the obtained network connection status indicates that there is a network connection, step S110 is executed.
[0103] Step 12: If the network connection status indicates that there is no network connection, remind the user that the target function needs to be executed online.
[0104] In some implementations, if the target device obtains a network connection status indication indicating that there is no network connection, the user is reminded that all target functions require an Internet connection to be executed.
[0105] Among them, the target device can gray out all target functions on the diagnostic function interface to remind the user that all target functions need to be executed online.
[0106] It should be understood that in the above steps 11 to 12, the network connection status is obtained to indicate that there is no network connection at present, and the user is promptly reminded that the target function needs to be executed online, thereby solving the problem that the target function cannot be executed during the vehicle diagnosis process.
[0107] In some embodiments, in the above Figure 1 Based on the embodiment of the reminder method shown, the data transmission parameter of the target device includes a data transmission rate, and the preset safe data transmission parameter of the target function includes a preset safe data transmission rate. Step S130 of comparing the data transmission parameter of the target device with the preset safe data transmission parameter of the target function can be implemented by the following steps:
[0108] Step 21: Compare the data transmission rate with the preset safe data transmission rate corresponding to the target function.
[0109] Specifically, the data transmission rate includes an average transmission rate, and step 21 of comparing the data transmission rate with a preset safe data transmission rate corresponding to the target function can be implemented by the following steps:
[0110] Step 22: Compare the average transmission rate with the preset secure data transmission rate corresponding to the target function.
[0111] Correspondingly, step S140 of judging whether the target function can be executed according to the comparison result can be implemented by the following steps:
[0112] Step 23: If the average transmission rate is lower than the preset secure data transmission rate corresponding to the target function, it is determined that the target function is unavailable.
[0113] Take online programming as an example for explanation: the preset safe data transmission rate corresponding to online programming is 500k / s. If the current average transmission rate is less than 500k / s, it can be determined that the current transmission rate is too slow, and the user can be reminded that online programming is unavailable.
[0114] Correspondingly, step S150 of reminding the user according to the judgment result can be implemented by the following steps:
[0115] Step 24: Remind the user that the target function is unavailable.
[0116] It should be understood that in the above steps 21 to 24, when the average transmission rate is less than the preset safe data transmission rate corresponding to the target function, the user can be promptly reminded that the target function is unavailable, thereby solving the problem that the target function cannot be executed during the vehicle diagnosis process.
[0117] In some embodiments, the data transmission rate further includes a minimum transmission rate. Step 21 compares the data transmission rate with a preset safe data transmission rate corresponding to the target function, and can also be implemented by the following steps:
[0118] Step 31: Compare the minimum transmission rate with the preset safe data transmission rate of the target function.
[0119] Correspondingly, step S140 of judging whether the target function can be executed according to the comparison result can be implemented by the following steps:
[0120] Step 32: If the average transmission rate is greater than or equal to the preset safe data transmission rate of the target function, and the minimum transmission rate is greater than or equal to the preset safe data transmission rate of the target function, it is determined that the target function can be executed normally.
[0121] Take online programming as an example to illustrate: the preset safe data transmission rate corresponding to online programming is 500k / s. If the current average transmission rate is greater than or equal to 500k / s, and the current minimum transmission rate is greater than or equal to 500k / s, it can be determined that the current transmission rate is normal and the network is stable, and the user can be reminded that online programming can be executed normally.
[0122] Correspondingly, step S150 of reminding the user according to the judgment result can be implemented by the following steps:
[0123] Step 33: remind the user that the target function can be executed normally.
[0124] Among them, the average transmission rate reflects the speed of the current transmission rate, and the minimum average transmission rate reflects the stability of the current transmission rate.
[0125] It should be understood that in the above steps 31 to 33, when the average transmission rate is greater than the preset safe data transmission rate corresponding to the target function, and the minimum transmission rate is greater than or equal to the preset safe data transmission rate of the above target function, the user can be reminded in time that the target function can be executed normally.
[0126] In some embodiments, step S140 determines whether the target function can be executed according to the comparison result, which can also be achieved by the following steps:
[0127] Step 41: If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is less than the preset secure data transmission rate of the target function, it is determined that the target function may fail to execute.
[0128] Correspondingly, step S150 reminds the user according to the judgment result, which can also be achieved through the following steps:
[0129] Step 42: remind the user that the target function may fail to execute.
[0130] Take online programming as an example to illustrate: the preset safe data transmission rate corresponding to online programming is 500k / s. If the current average transmission rate is greater than or equal to 500k / s, and the current minimum transmission rate is less than 500k / s, it can be determined that although the current transmission rate is normal, the network is unstable, which can remind the user that the online programming may fail.
[0131] It should be understood that in the above steps 41 to 42, when the average transmission rate is greater than or equal to the preset safe data transmission rate corresponding to the target function, and the minimum transmission rate is less than the preset safe data transmission rate of the above target function, the user can be promptly reminded that the target function may fail to execute.
[0132] In some embodiments, in the above Figure 1 Based on the embodiment of the reminder method shown, the data transmission parameter of the target device includes a data packet loss rate, and the preset secure data transmission parameter of the target function includes a preset secure data packet loss rate. Step S140 compares the data transmission parameter of the target device with the preset secure data transmission parameter of the target function, and may include the following steps:
[0133] Step 51: Compare the above data packet loss rate with the preset security data packet loss rate corresponding to the above target function.
[0134] Correspondingly, step S140 of judging whether the target function can be executed according to the comparison result may include the following steps:
[0135] Step 52: If the data packet loss rate is less than the preset security data packet loss rate corresponding to the target function, it is determined that the target function can be executed normally.
[0136] Correspondingly, step S150 of reminding the user according to the judgment result may include the following steps:
[0137] Step 53: remind the user that the target function can be executed normally.
[0138] On the contrary, if the data packet loss rate is greater than or equal to the preset security data packet loss rate corresponding to the target function, it can be determined that the target function may not be executed normally, and the user is reminded that the target function may not be executed normally.
[0139] It should be understood that in the above steps 51 to 53, when the data packet loss rate is less than the preset security data packet loss rate corresponding to the target function, the user can be promptly reminded that the target function can be executed normally; conversely, when the data packet loss rate is greater than or equal to the preset security data packet loss rate corresponding to the target function, the user can be promptly reminded that the target function may not be executed normally.
[0140] In some embodiments, when reminding the user, the display color of each target function can be set to remind the user so that the user can quickly see which target functions can be executed normally, which target functions are unavailable, and which target functions may fail to execute.
[0141] Specifically, different colors can be used to identify the executability of the target function. The correspondence between the executability of the target function and the color can be preset. For example, if the target function can be executed normally, the target function on the target function interface can be set to green; if the target function is unavailable, the target function can be set to red; if the target function may fail to execute, the target function can be set to yellow.
[0142] It should be understood that the display color corresponding to the executableness of the target function can be set as needed and is not limited to the above.
[0143] Corresponding to the above Figure 1 The reminder method shown, Figure 2 The present invention shows a reminder device M100 provided in an embodiment of the present application, including:
[0144] A first acquisition module M110 is used to acquire data transmission parameters of a target device;
[0145] A second acquisition module M120, used to acquire preset secure data transmission parameters of a target function;
[0146] A comparison module M130, used to compare the data transmission parameters of the target device with the preset secure data transmission parameters of the target function;
[0147] A judgment module M140 is used to judge whether the target function can be executed according to the comparison result;
[0148] The first reminder module M150 is used to remind the user according to the judgment result.
[0149] Optionally, the reminder device M100 further includes:
[0150] The third acquisition module is used to obtain the network connection status;
[0151] The second reminder module is used to remind the user that the target function needs to be executed online if the network connection status indicates that there is currently no network connection.
[0152] Optionally, the data transmission parameter of the target device includes a data transmission rate, and the preset safe data transmission parameter of the target function includes a preset safe data transmission rate; the comparison module M130 includes:
[0153] The first comparing unit is configured to compare the data transmission rate with a preset safe data transmission rate corresponding to the target function.
[0154] Optionally, the data transmission rate includes an average transmission rate; and the comparison module M130 includes:
[0155] a second comparing unit, configured to compare the average transmission rate with a preset secure data transmission rate corresponding to the target function;
[0156] Correspondingly, the judging module M140 includes:
[0157] A first determining unit, configured to determine that the target function is unavailable if the average transmission rate is less than a preset secure data transmission rate corresponding to the target function;
[0158] Correspondingly, the first reminder module M150 includes:
[0159] The first reminding unit is used to remind the user that the target function is unavailable.
[0160] Optionally, the data transmission rate further includes a minimum transmission rate, and the comparison module M130 further includes:
[0161] a third comparing unit, configured to compare the minimum transmission rate with a preset safe data transmission rate of the target function;
[0162] Correspondingly, the judging module M140 includes:
[0163] a second determining unit, configured to determine that the target function can be normally executed if the average transmission rate is greater than or equal to a preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to a preset secure data transmission rate of the target function;
[0164] Correspondingly, the first reminder module M150 includes:
[0165] The second reminding unit is used to remind the user that the target function can be executed normally.
[0166] Optionally, the judging module M140 further includes:
[0167] a third determining unit, configured to determine that the target function may fail to execute if the average transmission rate is greater than or equal to a preset secure data transmission rate of the target function and the minimum transmission rate is less than the preset secure data transmission rate of the target function;
[0168] Correspondingly, the first reminder module M150 includes:
[0169] The third reminding unit is used to remind the user that the target function may fail to execute.
[0170] Optionally, the data transmission parameter of the target device includes a data packet loss rate, and the preset secure data transmission parameter of the target function includes a preset secure data packet loss rate; the comparison module M130 includes:
[0171] Comparing the data packet loss rate with a preset security data packet loss rate corresponding to the target function;
[0172] Correspondingly, the judging module M140 includes:
[0173] a fourth determining unit, configured to determine that the target function can be normally executed if the data packet loss rate is less than a preset security data packet loss rate corresponding to the target function;
[0174] Correspondingly, the first reminder module M150 includes:
[0175] The fourth reminding unit is used to remind the user that the target function can be executed normally.
[0176] It can be understood that the various implementation modes and implementation combinations in the above embodiments and their beneficial effects are also applicable to this embodiment and will not be described in detail here.
[0177] Figure 3 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, the electronic device D10 of this embodiment includes: at least one processor D100 ( Figure 3 Only one processor, a memory D101, and a computer program D102 stored in the memory D101 and executable on the at least one processor D100 are shown in the figure. When the processor D100 executes the computer program D102, the steps in any of the above-mentioned method embodiments are implemented. Alternatively, when the processor D100 executes the computer program D102, the functions of the modules / units in the above-mentioned device embodiments are implemented, such as Figure 2 Functions of modules M110 to M150 are shown.
[0178] In some embodiments, the processor D100 implements the following steps when executing the computer program D102:
[0179] Get the data transmission parameters of the target device;
[0180] Obtaining preset secure data transmission parameters of the target function;
[0181] comparing data transmission parameters of the target device with preset secure data transmission parameters of the target function;
[0182] Determine whether the target function can be executed according to the comparison result;
[0183] The user is reminded based on the judgment result.
[0184] Optionally, the processor D100 executes the computer program D102, and before acquiring the data transmission parameter of the target device, further implements the following steps:
[0185] Get network connection status;
[0186] If the network connection status indicates that there is no network connection at present, the user is reminded that the target function needs to be executed online.
[0187] Optionally, when the processor D100 executes the computer program D102, the data transmission parameter of the target device includes a data transmission rate, and the preset secure data transmission parameter of the target function includes a preset secure data transmission rate; when implementing the comparison between the data transmission parameter of the target device and the preset secure data transmission parameter of the target function, the following steps may also be implemented:
[0188] The data transmission rate is compared with a preset safe data transmission rate corresponding to the target function.
[0189] Optionally, when the processor D100 executes the computer program D102, the data transmission rate includes an average transmission rate; when implementing the comparison of the data transmission rate with a preset safe data transmission rate corresponding to the target function, the following steps may also be implemented:
[0190] comparing the average transmission rate with a preset secure data transmission rate corresponding to the target function;
[0191] Correspondingly, when determining whether the target function can be executed according to the comparison result, the following steps may also be implemented:
[0192] If the average transmission rate is less than the preset secure data transmission rate corresponding to the target function, determining that the target function is unavailable;
[0193] Correspondingly, when implementing the reminding of the user according to the judgment result, the following steps may also be implemented:
[0194] The user is reminded that the target function is unavailable.
[0195] Optionally, when the processor D100 executes the computer program D102, the data transmission rate also includes a minimum transmission rate, and when implementing the comparison of the data transmission rate with a preset safe data transmission rate corresponding to the target function, the following steps may also be implemented:
[0196] comparing the minimum transmission rate to a preset safe data transmission rate of the target function;
[0197] Correspondingly, when determining whether the target function can be executed according to the comparison result, the following steps may also be implemented:
[0198] If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to the preset secure data transmission rate of the target function, it is determined that the target function can be executed normally;
[0199] Correspondingly, when implementing the reminding of the user according to the judgment result, the following steps may also be implemented:
[0200] Remind the user that the target function can be executed normally.
[0201] Optionally, when the processor D100 executes the computer program D102, when implementing the step of determining whether the target function can be executed according to the comparison result, the following steps may be further implemented:
[0202] If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is less than the preset secure data transmission rate of the target function, it is determined that the target function may fail to execute;
[0203] Correspondingly, when implementing the reminding of the user according to the judgment result, the following steps may also be implemented:
[0204] The user is reminded that the target function may fail to execute.
[0205] Optionally, when the processor D100 executes the computer program D102, the data transmission parameters of the target device include a data packet loss rate, and the preset secure data transmission parameters of the target function include a preset secure data packet loss rate; when implementing the comparison between the data transmission parameters of the target device and the preset secure data transmission parameters of the target function, the following steps may also be implemented:
[0206] Comparing the data packet loss rate with a preset security data packet loss rate corresponding to the target function;
[0207] Correspondingly, when determining whether the target function can be executed according to the comparison result, the following steps may also be implemented:
[0208] If the data packet loss rate is less than the preset security data packet loss rate corresponding to the target function, it is determined that the target function can be executed normally;
[0209] Correspondingly, when implementing the reminding of the user according to the judgment result, the following steps may also be implemented:
[0210] Remind the user that the target function can be executed normally.
[0211] The electronic device D10 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor D100 and a memory D101. Those skilled in the art will appreciate that Figure 3 This is only an example of the electronic device D10 and does not constitute a limitation on the electronic device D10. The electronic device D10 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0212] The processor D100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0213] In some embodiments, the memory D101 may be an internal storage unit of the electronic device D10, such as a hard disk or memory of the electronic device D10. In other embodiments, the memory D101 may also be an external storage device of the electronic device D10, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device D10. Further, the memory D101 may also include both an internal storage unit of the electronic device D10 and an external storage device. The memory D101 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory D101 may also be used to temporarily store data that has been output or is to be output.
[0214] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0215] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0216] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0217] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0218] If the integrated unit is implemented in the form of 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, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0219] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0220] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0221] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0222] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0223] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A reminder method, executed by an automobile diagnostic device, characterized in that: include: Acquire data transmission parameters of the target device; wherein the data transmission parameters of the target device are data transmission parameters within a preset time period with the current moment as the end time; the data transmission parameters of the target device include a data transmission rate; the data transmission rate includes an average transmission rate and a minimum transmission rate; Acquire preset safe data transmission parameters of a target function; pre-bind each target function with a corresponding data transmission parameter to form the preset safe data transmission parameters; the target function is a diagnostic function currently activated by a user, or a function related to the currently activated diagnostic function, or all diagnostic functions of a vehicle diagnostic device; the preset safe data transmission parameters of the target function include a preset safe data transmission rate; Comparing the data transmission parameters of the target device with the preset secure data transmission parameters of the target function includes: comparing the average transmission rate with a preset secure data transmission rate corresponding to the target function; comparing the minimum transmission rate with a preset secure data transmission rate corresponding to the target function; Determining whether the target function can be executed according to the comparison result includes: determining whether the data transmission parameters of the target device meet the requirements of the preset secure data transmission parameters of the target function, and when the requirements are met, determining that the target function can be executed, and when the requirements are not met, determining that the target function cannot be executed; Prompt the user based on the judgment result; If the average transmission rate is less than the preset secure data transmission rate corresponding to the target function, it is determined that the target function is unavailable, and correspondingly, the user is reminded that the target function is unavailable; If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to the preset secure data transmission rate of the target function, it is determined that the target function can be executed normally, and correspondingly, the user is reminded that the target function can be executed normally; If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is less than the preset secure data transmission rate of the target function, it is determined that the target function may fail to execute, and accordingly, the user is reminded that the target function may fail to execute.
2. The reminder method according to claim 1, characterized in that: Before obtaining the data transmission parameters of the target device, the method further includes: Get network connection status; If the network connection status indicates that there is no network connection at present, the user is reminded that the target function needs to be executed online.
3. The reminder method according to claim 1, characterized in that: The data transmission parameters of the target device include a data packet loss rate, and the preset secure data transmission parameters of the target function include a preset secure data packet loss rate; The comparing the data transmission parameters of the target device with the preset secure data transmission parameters of the target function includes: Comparing the data packet loss rate with a preset security data packet loss rate corresponding to the target function; Correspondingly, judging whether the target function can be executed according to the comparison result includes: If the data packet loss rate is less than the preset security data packet loss rate corresponding to the target function, it is determined that the target function can be executed normally; Correspondingly, reminding the user according to the judgment result includes: Remind the user that the target function can be executed normally.
4. A reminder device, included in an automobile diagnostic device, characterized in that: include: A first acquisition module is used to acquire data transmission parameters of a target device; wherein the data transmission parameters of the target device are data transmission parameters within a preset time period with the current moment as the end time; the data transmission parameters of the target device include a data transmission rate; the data transmission rate includes an average transmission rate and a minimum transmission rate; The second acquisition module is used to acquire preset safe data transmission parameters of a target function; each target function is pre-bound with a corresponding data transmission parameter to form the preset safe data transmission parameters; the target function is a diagnostic function currently activated by a user, or a function related to the currently activated diagnostic function, or all diagnostic functions of a vehicle diagnostic device; the preset safe data transmission parameters of the target function include a preset safe data transmission rate; A comparison module, used to compare the data transmission parameters of the target device with the preset secure data transmission parameters of the target function, including: comparing the average transmission rate with a preset secure data transmission rate corresponding to the target function; comparing the minimum transmission rate with a preset secure data transmission rate corresponding to the target function; A judgment module, used to judge whether the target function can be executed according to the comparison result, including: judging whether the data transmission parameters of the target device meet the requirements of the preset security data transmission parameters of the target function, and judging that the target function can be executed when the requirements are met, and judging that the target function cannot be executed when the requirements are not met; a reminder module, configured to remind the user according to the judgment result; if the average transmission rate is less than the preset secure data transmission rate corresponding to the target function, the target function is determined to be unavailable, and correspondingly, the user is reminded that the target function is unavailable; If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is greater than or equal to the preset secure data transmission rate of the target function, it is determined that the target function can be executed normally, and correspondingly, the user is reminded that the target function can be executed normally; If the average transmission rate is greater than or equal to the preset secure data transmission rate of the target function, and the minimum transmission rate is less than the preset secure data transmission rate of the target function, it is determined that the target function may fail to execute, and accordingly, the user is reminded that the target function may fail to execute.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor executes the computer program, the reminder method according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the reminder method according to any one of claims 1 to 3 is implemented.
