Function control method, server, device and storage medium
By obtaining the region and model information of vehicle diagnostic equipment and dynamically controlling its functional permissions, the problem of vehicle diagnostic equipment functional permissions not being able to be adjusted in a timely manner is solved, and flexibility and compliance are improved.
Patent Information
- Application Number
- CN202211556711.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-12-05
AI Technical Summary
The use rights of relevant functions in vehicle diagnostic equipment cannot be controlled in a timely manner according to changes in business scenarios, and the flexibility is low.
By obtaining the regional information where the target diagnostic device is located, permission information is obtained based on the regional information and vehicle model information to control the use permission of the target function.
It enables timely adjustment of the usage permissions of vehicle diagnostic equipment functions when business scenarios change, avoids non-compliance, and improves the flexibility of function control.
Smart Images

Figure CN115951648B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of function control technology, and in particular to a function control method, server, device and storage medium. Background Art
[0002] Vehicle diagnostic equipment is generally used to quickly and accurately determine the technical condition of vehicles, assemblies, and mechanisms, and to draw reliable conclusions. In addition, vehicle diagnostic equipment also has various functions that can provide vehicles with online programming, fault repair, software upgrades and other services.
[0003] However, different product series of vehicle diagnostic equipment have different functions available for use. At the same time, due to different regulations in various regions and different market strategies of various automobile manufacturers, the usage rights of various functions of vehicle diagnostic equipment are also different. For example, for the online programming function, the current manufacturers of vehicle diagnostic equipment need to comprehensively consider the relevant regulations of various regions and the relevant market strategies of various automobile manufacturers. When manufacturing vehicle diagnostic equipment, they use hardware modules and related software to determine whether the usage rights of the online programming function in the vehicle diagnostic equipment are open in different business scenarios. However, when the relevant regulations of various regions or the relevant market strategies of various automobile manufacturers change, this model makes it impossible to adjust the usage rights of the online programming function in a timely manner according to changes in business scenarios, and has low flexibility, resulting in non-compliance of vehicle diagnostic equipment in the market circulation.
[0004] Therefore, it is necessary to propose a solution that can promptly control the use rights of relevant functions in vehicle diagnostic equipment when business scenarios change. Summary of the Invention
[0005] The main purpose of the present invention is to provide a function control method, server, device and storage medium, aiming to solve the technical problem that the use rights of relevant functions in vehicle diagnostic equipment cannot be controlled in time according to changes in business scenarios and the flexibility is low.
[0006] To achieve the above object, the present invention provides a function control method applied to a server, the function control method comprising the following steps:
[0007] Obtain the area information where the target diagnostic equipment is located;
[0008] Based on the region information, obtaining permission information of a target function corresponding to at least one vehicle type information;
[0009] The permission to use the target function is controlled based on the permission information.
[0010] Preferably, the step of obtaining permission information of a target function corresponding to at least one vehicle type information based on the area information includes:
[0011] Obtaining first permission information based on a preset provision corresponding to the area information, wherein the first permission information includes whether the target function is allowed to be used;
[0012] obtaining second permission information based on a preset policy corresponding to the at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information allows use of the target function;
[0013] The permission information is obtained based on the first permission information and the second permission information.
[0014] Preferably, the step of controlling the use permission of the target function based on the permission information includes:
[0015] Determining whether to grant the usage permission based on the permission information;
[0016] If the first permission information allows the use of the target function, and the second permission information allows the use of the target function, then grant the use permission and control the target function to be in an enabled state; or
[0017] If the first permission information does not allow the use of the target function, and / or the second permission information does not allow the use of the target function, the use permission is not granted and the target function is controlled to be in a closed state.
[0018] Preferably, before the step of obtaining the area information where the target diagnostic device is located, the method further includes:
[0019] Obtain product series information of the target diagnostic device;
[0020] Determining whether the product series information is target product series information;
[0021] If the product series information is the target product series information, the step of obtaining the region information where the target diagnostic device is located is performed.
[0022] Preferably, the function control method further includes:
[0023] Based on a preset period, authority information of a target function corresponding to at least one vehicle type information in different area information is collected and updated.
[0024] Preferably, the function control method is also applied to a vehicle diagnostic device, and the function control method further comprises:
[0025] In response to the control instruction of the server, if it is determined that the target function is in the enabled state, obtaining an execution authorization certificate corresponding to the target function and loading a function file corresponding to the target function;
[0026] Execute the function service corresponding to the target function based on the function file.
[0027] Preferably, before the step of obtaining the execution authorization certificate corresponding to the target function and loading the function file corresponding to the target function in response to the control instruction of the server, if the target function is determined to be in the on state, the method further includes:
[0028] The function file packages corresponding to the various functions are downloaded and stored in advance, so as to load the function files corresponding to the various functions through the various function file packages.
[0029] In addition, to achieve the above-mentioned object, the present invention further provides a function control server, the function control server comprising:
[0030] A first acquisition module is used to obtain the area information where the target diagnostic device is located;
[0031] A second acquisition module is configured to obtain permission information of a target function corresponding to at least one vehicle type information based on the region information;
[0032] A control module is used to control the use permission of the target function based on the permission information.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a function control device, which includes: a memory, a processor, and a function control program stored in the memory and runnable on the processor, and when the function control program is executed by the processor, the steps of the function control method described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which a function control program is stored. When the function control program is executed by a processor, the steps of the function control method described above are implemented.
[0035] The function control method proposed in this invention obtains information about the region where the target diagnostic device is located; based on this information, obtains permission information for at least one target function corresponding to vehicle model information; and controls access to the target function based on this permission information. This allows the server to promptly control access to the relevant functions of the vehicle diagnostic device as business scenarios change, preventing non-compliance with vehicle diagnostic equipment regulations and improving the flexibility of function control. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1It is a structural diagram of a function control device in a hardware operating environment involved in an embodiment of the present invention;
[0037] Figure 2 This is a flow chart of a first embodiment of a function control method according to the present invention;
[0038] Figure 3 This is a module diagram of a function control server according to an embodiment of the present invention.
[0039] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0041] like Figure 1 As shown, Figure 1 It is a structural diagram of a function control device in a hardware operating environment involved in an embodiment of the present invention.
[0042] The terminal in the embodiment of the present invention may be a PC, or may be a mobile terminal device with a display function, such as a smart phone, a tablet computer, or a portable computer.
[0043] like Figure 1 As shown, the function control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0044] Optionally, the function control device may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. Sensors such as light sensors, motion sensors, and other sensors are not described in detail here.
[0045] Those skilled in the art will understand that Figure 1The terminal structure shown in the figure does not constitute a limitation on the function control device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0046] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a function control program.
[0047] exist Figure 1 In the function control device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the function control program stored in the memory 1005.
[0048] In this embodiment, the function control device includes: a memory 1005, a processor 1001, and a function control program stored on the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the function control program stored in the memory 1005, it executes the steps of the function control method in each of the following embodiments.
[0049] The present invention also provides a function control method, which is applied to a server, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of the first embodiment of the function control method of the present invention.
[0050] In this embodiment, the method includes the following steps:
[0051] Step S101, obtaining the area information where the target diagnostic device is located;
[0052] In this embodiment, in order to achieve functional control of the target diagnostic device, the server first needs to obtain the regional information of the target diagnostic device. For example, each vehicle diagnostic device is equipped with a positioning system. Through the positioning system of the target diagnostic device, the server can determine the current geographical area of the target diagnostic device, thereby obtaining the regional information of the target diagnostic device.
[0053] Step S102: Based on the area information, obtain permission information of a target function corresponding to at least one vehicle type information.
[0054] In this embodiment, after obtaining the area information where the target diagnostic device is located, the server can obtain permission information of the target function corresponding to at least one vehicle model information, and can subsequently control the use permission of the target function through the permission information.
[0055] Specifically, due to different regulations between different regions and different market strategies between different automobile manufacturers, when the target diagnostic device is in different regions, first, it is necessary to determine the first permission information of the target diagnostic device based on the regulations corresponding to the regional information where it is located. The first permission information includes whether the target function is allowed to be used. Secondly, for different vehicle model information, it is also necessary to obtain at least one vehicle model information and determine the second permission information of the target diagnostic device based on the market strategy corresponding to the obtained vehicle model information. The second permission information includes whether the target function is allowed to be used. Finally, based on the first information and the second permission information, the final permission information is obtained. The permission information can determine whether the target diagnostic device is allowed to use the target function for the obtained vehicle model information under the current regional information.
[0056] Step S103: Control the usage authority of the target function based on the authority information.
[0057] In this embodiment, after obtaining permission information of a target function corresponding to at least one vehicle type information according to the region information, the server controls the use permission of the target function according to the permission information.
[0058] Specifically, since the permission information of the target function can determine whether the target diagnostic device is allowed to use the target function for the obtained vehicle model information under the current area information, after obtaining the permission information, it can be determined based on the permission information whether to open the use permission of the target function, thereby realizing the control of the target function. For example, if the above-mentioned first permission information allows the use of the target function and the above-mentioned second permission information allows the use of the target function, then the use permission is opened and the target function is controlled to be in the on state; if the above-mentioned first permission information does not allow the use of the target function and / or the above-mentioned second permission information does not allow the use of the target function, then the use permission is not opened and the target function is controlled to be in the off state.
[0059] Specifically, in this embodiment, by obtaining the region information where the target diagnostic device is located, obtaining permission information for at least one target function corresponding to vehicle model information based on the region information, and controlling access rights to the target function based on the permission information, the server can promptly control access rights to the relevant functions of the vehicle diagnostic device as business scenarios change, thereby preventing non-compliance with vehicle diagnostic equipment regulations and improving flexibility in function control.
[0060] Based on the first embodiment, a second embodiment of the function control method of the present invention is proposed. In this embodiment, step S102 includes:
[0061] Step S201: obtaining first permission information based on a preset provision corresponding to the area information, wherein the first permission information includes whether the target function is allowed to be used;
[0062] Step S202: obtaining second permission information based on a preset policy corresponding to the at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information allows the use of the target function;
[0063] Step S203: Obtain the permission information based on the first permission information and the second permission information.
[0064] In this embodiment, after obtaining the area information where the target diagnostic device is located, the server obtains first permission information according to the preset regulations corresponding to the area information, wherein the first permission information includes whether the target function is allowed to be used, and then obtains second permission information according to the preset strategy corresponding to at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information allows the target function to be used.
[0065] Specifically, after obtaining the regional information where the target diagnostic device is located, the server can obtain the permission information of the target permission corresponding to at least one vehicle model information based on the regional information. Since the regulations between different regions are different and the market strategies between different automobile manufacturers are different, before obtaining the regional information where the target diagnostic device is located, the preset regulations corresponding to each regional information and the preset policies corresponding to each vehicle model information can be obtained. Then, according to the preset regulations corresponding to the regional information where the target diagnostic device is located, the first permission information can be determined. The first permission information includes whether the target function is allowed to be used. Thereafter, according to the preset policies corresponding to the obtained at least one vehicle model information, the second permission information is determined. The second permission information includes whether the target function is allowed to be used. Finally, the permission information can be obtained based on the first permission information and the second permission information. Through the permission information, it can be determined that when the target diagnostic device is in the regional information, the permission to use the target function corresponding to at least one vehicle model information can be controlled.
[0066] Optionally, step S103 includes:
[0067] Step S301: determining whether to grant the use permission based on the permission information;
[0068] Step S302: If the first permission information allows the use of the target function, and the second permission information allows the use of the target function, then the use permission is released and the target function is controlled to be in an enabled state; or
[0069] Step S303: If the first permission information does not allow the use of the target function, and / or the second permission information does not allow the use of the target function, the use permission is not granted and the target function is controlled to be in a closed state.
[0070] In this embodiment, after obtaining the permission information of the target permission corresponding to at least one vehicle model information based on the regional information, it can be determined whether to open the permission to use the target function based on the permission information. In the permission information, if the first permission information allows the use of the target function, and the second permission information allows the use of the target function, the permission to use is opened and the target function is controlled to be in the on state; or, if the first permission information does not allow the use of the target function, and / or the second permission information does not allow the use of the target function, the permission to use is not opened and the target function is controlled to be in the off state.
[0071] Specifically, when determining whether to open the usage permission of the target function based on the permission information, it is necessary to determine whether to allow the use of the target function based on the first permission information and the second permission information respectively. When both the first permission information and the second permission information allow the use of the target function, the usage permission of the target function is opened and the target function is controlled to be in the on state; when one of the first permission information and the second permission information does not allow the use of the target function or neither of them allows the use of the target function, the usage permission of the target function is not developed and the target function is controlled to be in the off state.
[0072] In this embodiment, based on the permission information, it is determined whether to grant the permission to use the target function; if the first permission information grants the target function, and the second permission information grants the target function, the permission to use the target function is granted, and the target function is controlled to be in an on state; or, if the first permission information does not grant the target function, and / or the second permission information does not grant the target function, the permission to use the target function is not granted, and the target function is controlled to be in an off state. This allows the server to control the permission to use the target function in the target diagnostic device based on the permission information, thereby enabling the target function to be adjusted in a timely manner according to changes in the business scenario, thereby improving the flexibility of function control.
[0073] In this embodiment, first permission information is obtained based on preset regulations corresponding to the regional information, wherein the first permission information includes whether the target function is permitted to be used; second permission information is obtained based on preset policies corresponding to the at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information permits the use of the target function; and the permission information is obtained based on the first and second permission information. This allows the server to control the target function usage permissions of the target diagnostic device based on regulations in different regions and the market strategies of different automobile manufacturers, ensuring the compliance of the vehicle diagnostic device business and improving the flexibility of function control.
[0074] Based on the first embodiment, a third embodiment of the function control method of the present invention is proposed. In this embodiment, before step S101, the method further includes:
[0075] Step S401, obtaining product series information of the target diagnostic device;
[0076] Step S402, determining whether the product series information is target product series information;
[0077] Step S403: If the product series information is the target product series information, then the step of obtaining the region information where the target diagnostic device is located is performed.
[0078] In this embodiment, before obtaining the area information where the target diagnostic device is located, it is necessary to obtain the product series information of the target diagnostic device and determine whether the product series information is the target product series information. If the product series information is the target product series information, the step of obtaining the area information where the target diagnostic device is located is executed.
[0079] Specifically, when defining market products, manufacturers of vehicle diagnostic equipment will perform type control based on the product's market function positioning. Different series of products may support different functions in addition to the basic functions. For example, in the X-431PRO\X-431PRO3S\X431 PADV\X-431PADVII series of products, X-431PADV\X-431PADVII supports the vehicle's online programming function. Therefore, before performing function control on the target diagnostic device, it is necessary to first obtain the product series information of the target diagnostic device, and determine whether the target diagnostic device belongs to the product series that requires function control based on the product series information. If so, continue to obtain the regional information where the target diagnostic device is located and subsequent steps.
[0080] In this embodiment, the product series information of the target diagnostic device is obtained; a determination is made as to whether the product series information is the target product series information; and if so, the step of obtaining the region information where the target diagnostic device is located is performed. This allows the scope of function control to be determined by the product series of the vehicle diagnostic device, thereby increasing the flexibility of function control.
[0081] Based on the above embodiments, a fourth embodiment of the function control method of the present invention is proposed. In this embodiment, the function control method further includes:
[0082] Step S701: Based on a preset period, the permission information of the target function corresponding to at least one vehicle type information in different area information is collected and updated.
[0083] In this embodiment, in order to achieve function control, the server needs to collect and update the permission information of the target function corresponding to at least one vehicle model information in different regional information according to a preset period. For example, if the preset period is 30 days, the server can collect the regulations corresponding to different regional information and the policies corresponding to at least one vehicle model information every 30 days, and then determine the permission information of the target function corresponding to at least one vehicle model information in different regional information based on the collected regulations and policies.
[0084] In this embodiment, by collecting and updating target function permission information corresponding to at least one vehicle model in different regional information based on a preset period, subsequent function control is made in accordance with regional regulations and the market strategies of different automobile manufacturers, ensuring the compliance of vehicle diagnostic equipment services and improving the flexibility of function control.
[0085] The function control method provided by the present invention is also applied to vehicle diagnostic equipment. Therefore, a fifth embodiment of the function control method of the present invention is further proposed. In this embodiment, the method further includes:
[0086] Step S601: In response to a control instruction from a server, if it is determined that a target function is enabled, obtaining an execution authorization certificate corresponding to the target function and loading a function file corresponding to the target function;
[0087] Step S602: executing the function service corresponding to the target function based on the function file.
[0088] In this embodiment, after the server controls the usage authority of the target function according to the permission information, if the vehicle diagnostic equipment receives the control instruction of the server and determines that the target function is in the turned-on state according to the control instruction, it obtains the execution authorization certificate corresponding to the target function and loads the function file corresponding to the target function to execute the function service corresponding to the target function according to the function file.
[0089] Specifically, after the server determines the permission information of the target function corresponding to at least one vehicle model information based on the regional information where the vehicle diagnostic device is located, it sends a control instruction of the target function to the vehicle diagnostic device. In response to the control instruction, if the vehicle diagnostic device determines that the target function has open usage permission and controls the target function to be in the on state, it is determined that the target function can be executed. In order to execute the target function, it is first necessary to obtain the execution authorization certificate corresponding to the target function, and secondly, it is necessary to load the function file corresponding to the target function, so as to execute the function service corresponding to the target function according to the function file.
[0090] Optionally, before step S601, the method further includes:
[0091] Step S701 : pre-download and store function file packages corresponding to various functions, so as to load function files corresponding to various functions through the function file packages.
[0092] In this embodiment, the vehicle diagnostic device needs to pre-download and store function file packages corresponding to various functions of the target diagnostic device, so that the function files corresponding to each function can be loaded through each function file package later. For example, when the manufacturer of the vehicle diagnostic device develops software for the vehicle diagnostic device, it will create a file package of the diagnostic software according to the vehicle diagnostic device. The file package will be stored in different file paths in the vehicle diagnostic device according to different functions, such as basic functions, online programming functions, ADAS diagnostic functions, etc. The function files corresponding to each function can be loaded through each function file package, thereby executing the function services corresponding to each function. Therefore, the function file packages corresponding to each function of the target diagnostic device are pre-downloaded and stored. When the target function needs to be executed later, the function files corresponding to the target function can be loaded through each pre-downloaded function file package.
[0093] In this embodiment, by pre-downloading and storing the function file packages corresponding to each function, and then loading the function files corresponding to each function through each function file package, the target function in the vehicle diagnostic device can be smoothly executed after the use permission is opened, thereby improving the applicability of function control.
[0094] In this embodiment, in response to a control instruction from the server, if the target function is determined to be enabled, the execution authorization certificate corresponding to the target function is obtained, the function file corresponding to the target function is loaded, and the function service corresponding to the target function is executed based on the function file. This ensures the compliance of the target function after the use permission is opened, and improves the efficiency of function control.
[0095] In addition, the embodiment of the present invention also proposes a function control server, referring to Figure 3 , the function control server includes:
[0096] A first acquisition module 10 is used to obtain information about the area where the target diagnostic device is located;
[0097] A second acquisition module 20 is configured to obtain permission information of a target function corresponding to at least one vehicle type information based on the region information;
[0098] The control module 30 is configured to control the use authority of the target function based on the authority information.
[0099] Furthermore, the second acquisition module 20 is further configured to:
[0100] Obtaining first permission information based on a preset provision corresponding to the area information, wherein the first permission information includes whether the target function is allowed to be used;
[0101] obtaining second permission information based on a preset policy corresponding to the at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information allows use of the target function;
[0102] The permission information is obtained based on the first permission information and the second permission information.
[0103] Furthermore, the function control server is further configured to:
[0104] Determining whether to grant the usage permission based on the permission information;
[0105] If the first permission information allows the use of the target function, and the second permission information allows the use of the target function, then grant the use permission and control the target function to be in an enabled state; or
[0106] If the first permission information does not allow the use of the target function, and / or the second permission information does not allow the use of the target function, the use permission is not granted and the target function is controlled to be in a closed state.
[0107] Furthermore, the function control server is further configured to:
[0108] Obtain product series information of the target diagnostic device;
[0109] Determining whether the product series information is target product series information;
[0110] If the product series information is the target product series information, the step of obtaining the region information where the target diagnostic device is located is performed.
[0111] Furthermore, the function control server is further configured to:
[0112] Based on a preset period, authority information of a target function corresponding to at least one vehicle type information in different area information is collected and updated.
[0113] The method executed by the above-mentioned function control server can refer to the various embodiments of the function control method of the present invention, and will not be described again here.
[0114] In addition, an embodiment of the present invention also proposes a function control device, which includes: a memory, a processor, and a function control program stored in the memory and runnable on the processor, and when the function control program is executed by the processor, the steps of the function control method described above are implemented.
[0115] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a function control program is stored. When the function control program is executed by a processor, the steps of the function control method described above are implemented.
[0116] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0117] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0118] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0119] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A function control method, characterized in that: Applied to a server, the function control method comprises the following steps: Get the area information where the vehicle diagnostic equipment is located; Wherein, before the step of obtaining the area information where the vehicle diagnostic equipment is located, the method further includes: Obtaining product series information of the vehicle diagnostic equipment; Determining whether the product series information is target product series information; If the product series information is the target product series information, executing the step of obtaining the area information where the vehicle diagnostic equipment is located; Based on the region information, obtaining permission information of a target function corresponding to at least one vehicle type information; controlling the use authority of the target function based on the authority information; Sending a control instruction to the vehicle diagnostic device, and the vehicle diagnostic device responding to the control instruction of the server, if it is determined that the target function is in the on state, obtaining an execution authorization certificate corresponding to the target function, and loading a function file corresponding to the target function; Wherein, the vehicle diagnostic device responds to the control instruction of the server, and if it is determined that the target function is in the on state, before the step of obtaining the execution authorization certificate corresponding to the target function and loading the function file corresponding to the target function, it also includes: The vehicle diagnostic device pre-downloads and stores function file packages corresponding to various functions, so as to load function files corresponding to various functions through various function file packages; The vehicle diagnostic device executes a function service corresponding to the target function based on the function file.
2. The function control method according to claim 1, wherein: The step of obtaining permission information of a target function corresponding to at least one vehicle type information based on the region information includes: Obtaining first permission information based on a preset provision corresponding to the area information, wherein the first permission information includes whether the target function is allowed to be used; obtaining second permission information based on a preset policy corresponding to the at least one vehicle model information, wherein the second permission information includes whether the at least one vehicle model information allows use of the target function; The permission information is obtained based on the first permission information and the second permission information.
3. The function control method according to claim 2, wherein: The step of controlling the use permission of the target function based on the permission information includes: Determining whether to grant the usage permission based on the permission information; If the first permission information allows the use of the target function, and the second permission information allows the use of the target function, then grant the use permission and control the target function to be in an enabled state; or If the first permission information does not allow the use of the target function, and / or the second permission information does not allow the use of the target function, the use permission is not granted and the target function is controlled to be in a closed state.
4. The function control method according to any one of claims 1 to 3, characterized in that: The function control method further includes: Based on a preset period, authority information of a target function corresponding to at least one vehicle type information in different area information is collected and updated.
5. A function control method, characterized in that: Applied to vehicle diagnostic equipment, the function control method includes the following steps: In response to the control instruction of the server, if it is determined that the target function is in the enabled state, obtaining an execution authorization certificate corresponding to the target function and loading a function file corresponding to the target function; Wherein, in response to the control instruction of the server, if it is determined that the target function is in the enabled state, before the step of obtaining the execution authorization certificate corresponding to the target function and loading the function file corresponding to the target function, the method further includes: Pre-downloading and storing function file packages corresponding to various functions, so as to load function files corresponding to various functions through various function file packages; Before the step of responding to the control instruction of the server, the function control method further includes: The server obtains information about the area where the vehicle diagnostic equipment is located; Wherein, before the step of the server obtaining the area information where the vehicle diagnostic equipment is located, the server further includes: The server obtains product series information of the vehicle diagnostic device, determines whether the product series information is target product series information, and if the product series information is the target product series information, executes the step of obtaining region information where the vehicle diagnostic device is located; The server obtains permission information of a target function corresponding to at least one vehicle type information based on the region information, and controls the use permission of the target function based on the permission information; Execute the function service corresponding to the target function based on the function file.
6. A function control server, characterized in that: The function control server includes: A first acquisition module is used to obtain area information where the vehicle diagnostic equipment is located; Wherein, the first acquisition module is further used to obtain product series information of the vehicle diagnostic equipment; Determining whether the product series information is target product series information; If the product series information is the target product series information, executing the step of obtaining the area information where the vehicle diagnostic equipment is located; A second acquisition module is configured to obtain permission information of a target function corresponding to at least one vehicle type information based on the region information; A control module, configured to control the use authority of the target function based on the authority information; The control module is further configured to send a control instruction to the vehicle diagnostic device. The vehicle diagnostic device responds to the control instruction from the server and, if it determines that the target function is in an on state, obtains an execution authorization certificate corresponding to the target function and loads a function file corresponding to the target function. Wherein, the vehicle diagnostic device responds to the control instruction of the server, and if it is determined that the target function is in the on state, before the step of obtaining the execution authorization certificate corresponding to the target function and loading the function file corresponding to the target function, it also includes: The vehicle diagnostic device pre-downloads and stores function file packages corresponding to various functions, so as to load function files corresponding to various functions through various function file packages; The vehicle diagnostic device executes a function service corresponding to the target function based on the function file.
7. A function control device, characterized in that: The function control device includes: a memory, a processor, and a function control program stored in the memory and executable on the processor. When the function control program is executed by the processor, the steps of the function control method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that The readable storage medium stores a function control program, which, when executed by a processor, implements the steps of the function control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle fault diagnosis method and device and related equipment
CN111191285A
Software configuration method, electronic equipment and storage medium
CN113094087A
Vehicle diagnosis method, vehicle gateway device, server and storage medium
CN113759883A
Cited By
Automobile diagnosis management method based on scene perception and authority self-adaption and application
CN121657651A