CN113341914B - Timing processing method, system and device of engine - Google Patents

Timing processing method, system and device of engine Download PDF

Info

Publication number
CN113341914B
CN113341914B CN202110562618.7A CN202110562618A CN113341914B CN 113341914 B CN113341914 B CN 113341914B CN 202110562618 A CN202110562618 A CN 202110562618A CN 113341914 B CN113341914 B CN 113341914B
Authority
CN
China
Prior art keywords
engine
acceleration factor
diagnostic
seed
diagnostic instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110562618.7A
Other languages
Chinese (zh)
Other versions
CN113341914A (en
Inventor
张亚楠
张善星
解同鹏
王旭
张晓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202110562618.7A priority Critical patent/CN113341914B/en
Publication of CN113341914A publication Critical patent/CN113341914A/en
Application granted granted Critical
Publication of CN113341914B publication Critical patent/CN113341914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Abstract

The application discloses a timing processing method, a timing processing system and a timing processing device of an engine, which are used for shortening the timing duration of a timer used in the fault state detection process of the engine and improving the detection efficiency of the engine. The method comprises the following steps: sending a request for configuring an acceleration factor to an engine to be detected; receiving a write address of the acceleration factor sent by the engine, wherein the write address of the acceleration factor is sent when the engine passes the authentication of the diagnostic apparatus; writing the acceleration factor into a write address of the acceleration factor; the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.

Description

Timing processing method, system and device of engine
Technical Field
The present disclosure relates to vehicle verification technologies, and in particular, to a timing processing method, system and device for an engine.
Background
As the number of automobiles in the market is increasing, the problem of environmental pollution caused by the automobiles is more and more emphasized by human beings, and therefore, more severe emission regulations are provided in various countries, and various large whole automobile factories and engine manufacturers must set inspection standards and develop products according to the requirements of the regulations.
The requirements of emission regulations are fulfilled by a diagnostic management system in an Engine Control Unit (ECU), so in the process of detecting a fault state of an engine, relevant detection on the diagnostic management system is particularly important. At present, in the process of detecting the fault state of an engine, the set threshold of a timer used for timing the running time of the engine is very long, and particularly in the detection process related to a diagnosis management system, the set threshold can even reach hundreds of hours, so that the verification process of the engine is very long and the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a timing processing method, a timing processing system and a timing processing device of an engine, which are used for shortening the timing duration of a timer adopted in the fault state detection process of the engine.
In a first aspect, an embodiment of the present application provides a timing processing method for an engine, which is applied to a diagnostic apparatus, and includes:
sending a request for configuring an acceleration factor to an engine to be detected;
receiving a write address of the acceleration factor sent by the engine, wherein the write address of the acceleration factor is sent when the engine passes the authentication of the diagnostic apparatus;
Writing the acceleration factor into a write address of the acceleration factor;
the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.
Based on the scheme, under the condition that the timing duration of the timer of the engine is not allowed to be modified, in order to reduce the verification duration, the acceleration factor is written in the write address provided by the engine through the function that the diagnostic instrument can write data in the engine, so that the timing duration of the timer can be shortened in the process of detecting the fault state of the engine. And the user can set any acceleration factor value through the diagnostic apparatus, thereby meeting the requirements in various scenes.
In one possible implementation, before sending the request for configuring the acceleration factor to the engine to be tested, the method further comprises:
and the engine is authenticated, and an access permission instruction sent by the engine after the engine passes the authentication of the diagnostic instrument is received.
Based on the scheme, before the diagnostic instrument accesses the engine, the diagnostic instrument firstly needs to perform identity verification with the engine, so that the engine can be effectively prevented from being maliciously tampered by other equipment, and the safety of the engine is guaranteed.
In one possible implementation, the authentication with the engine includes:
receiving a SEED from the engine, and encrypting the SEED through a security algorithm to obtain a first secret key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and used for encrypting the SEED, and the first secret key is used for the engine to authenticate the diagnostic instrument;
sending the first key to the engine.
Based on the scheme, the diagnostic instrument encrypts the SEED through a safety algorithm agreed with the engine in advance to obtain a first secret key, and the engine authenticates the diagnostic instrument according to the first secret key.
In a second aspect, an embodiment of the present application provides another timing processing method for an engine, including:
receiving a request from a diagnostic instrument to configure an acceleration factor;
when the identity verification of the diagnostic apparatus passes, sending the write address of the acceleration factor to the diagnostic apparatus;
and acquiring the acceleration factor configured by the diagnostic instrument from the write address of the acceleration factor, and shortening the timing duration of a timer in the fault state detection process of the engine according to the acceleration factor, wherein the timer is used for timing the running duration of the engine.
In one possible implementation, prior to receiving the request from the diagnostic meter to configure the acceleration factor, the method further comprises:
and the diagnostic apparatus performs identity verification with the diagnostic apparatus, and sends an access permission instruction to the diagnostic apparatus after the identity verification of the diagnostic apparatus passes.
In one possible implementation manner, the authentication with the diagnostic apparatus includes:
generating a SEED for authenticating the diagnostic apparatus, transmitting the SEED to the diagnostic apparatus, and receiving a first key generated from the diagnostic apparatus according to the SEED;
encrypting the SEED through a security algorithm to obtain a second secret key, and performing identity verification on the diagnostic instrument according to a comparison result of the first secret key and the second secret key;
wherein the safety algorithm is an algorithm appointed between the diagnostic instrument and the engine and used for encrypting the SEED.
In a third aspect, an embodiment of the present application provides a timely processing system for an engine, including:
the diagnostic instrument is used for sending a request for configuring an acceleration factor to the engine;
the engine is used for receiving the request for configuring the acceleration factor, and sending a write address of the acceleration factor to the diagnostic apparatus when the identity verification of the diagnostic apparatus is passed;
The diagnostic instrument is further used for writing the acceleration factor into a write address of the acceleration factor;
the engine is further configured to obtain an acceleration factor configured by the diagnostic apparatus from a write address of the acceleration factor, and shorten a timing duration of a timer in a fault state detection process of the engine according to the acceleration factor, where the timer is used to time an operation duration of the engine.
In one possible implementation, before the engine receives the request to configure the acceleration factor,
the engine is also used for carrying out identity authentication with the diagnostic instrument and sending an access permission instruction to the diagnostic instrument after the identity authentication of the diagnostic instrument passes;
the diagnostic instrument is further used for receiving an access permission instruction from the engine.
In one possible implementation, upon authentication between the engine and the diagnostic instrument,
the engine is specifically used for generating a SEED for authenticating the diagnostic instrument and sending the SEED to the diagnostic instrument;
the diagnostic apparatus is specifically configured to receive the SEED, and encrypt the SEED through a security algorithm to obtain a first key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and is used for encrypting the SEED;
The engine is specifically configured to encrypt the SEED through the security algorithm to obtain a second key, and authenticate the diagnostic instrument according to a comparison result of the first key and the second key.
In a fourth aspect, an embodiment of the present application provides an engine timing processing apparatus, which is applied to a diagnostic apparatus, and includes:
a communication unit for sending a request for configuring an acceleration factor to an engine to be detected;
the communication unit is further used for receiving a write address of the acceleration factor sent by the engine, wherein the write address of the acceleration factor is sent when the engine passes the authentication of the diagnostic apparatus;
the processing unit is used for writing the acceleration factor into a write address of the acceleration factor;
the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.
In one possible implementation, before the communication unit sends a request for configuring the acceleration factor to the engine to be detected,
the processing unit is also used for carrying out identity authentication with the engine;
The communication unit is also used for receiving an access permission instruction sent by the engine after the engine passes the identity verification of the diagnostic instrument.
In a possible implementation manner, the processing unit performs authentication with the engine, and is specifically configured to:
controlling the communication unit to receive a SEED from the engine, and encrypting the SEED through a security algorithm to obtain a first secret key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and used for encrypting the SEED, and the first secret key is used for the engine to authenticate the diagnostic instrument;
controlling the communication unit to transmit the first key to the engine.
In a fifth aspect, an embodiment of the present application provides another timing processing apparatus for an engine, where the apparatus is applied to the engine, and includes:
a communication unit for receiving a request from a diagnostic instrument to configure an acceleration factor;
the communication unit is further configured to send a write address of the acceleration factor to the diagnostic apparatus when the identity verification performed by the diagnostic apparatus passes;
and the processing unit is used for acquiring the acceleration factor configured by the diagnostic instrument from the write address of the acceleration factor, and shortening the timing duration of a timer in the fault state detection process of the engine according to the acceleration factor, wherein the timer is used for timing the running duration of the engine.
In one possible implementation, prior to the communication unit receiving a request from the diagnostic instrument to configure an acceleration factor,
the processing unit is also used for carrying out identity verification with the diagnostic instrument;
the communication unit is further used for sending an access permission instruction to the diagnostic apparatus after the identity verification of the diagnostic apparatus passes.
In a possible implementation manner, the processing unit, when performing authentication with the diagnostic apparatus, is specifically configured to:
generating a SEED for authenticating the diagnostic instrument, controlling the communication unit to transmit the SEED to the diagnostic instrument, and controlling the communication unit to receive a first key generated from the diagnostic instrument according to the SEED;
encrypting the SEED through a security algorithm to obtain a second secret key, and verifying the identity of the diagnostic instrument according to the comparison result of the first secret key and the second secret key;
wherein the safety algorithm is an algorithm appointed between the diagnostic instrument and the engine and used for encrypting the SEED.
In a sixth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory. The memory is used for storing computer executable instructions, and the processor executes the computer executable instructions in the memory to perform the operation steps of the method in any one of the possible implementations of the first aspect or the second aspect by using hardware resources in the controller.
In a seventh aspect, the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above aspects.
In addition, the beneficial effects of the second aspect to the seventh aspect can be referred to as the beneficial effects of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application.
FIG. 1 is a block diagram of an engine timing processing system according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method for timing an engine according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another method for timing engine provided by an embodiment of the present application;
fig. 4 is a schematic diagram of a timing processing device of an engine according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
The terms "first" and "second" in the embodiments of the present application are used to distinguish different objects, and are not used to describe a specific order. Furthermore, the term "comprises" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing the association object, and means that there may be three kinds of relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
At present, in the process of detecting the fault state of an engine, the set threshold of a timer for timing the running time of the engine is long, and some set thresholds can even reach dozens or hundreds of hours, so that the fault state detection process of the engine is very long and the efficiency is low. However, the timing duration of the timer for detecting the fault is not changeable, and if the set threshold is changed, the detection result may be inaccurate, so that the improvement of the fault state detection efficiency of the engine is an urgent problem to be solved at present on the premise of not changing the set threshold of the timer.
In view of this, the embodiment of the present application provides a timing processing method for an engine, which sets an acceleration factor of a timer in a process of detecting the engine by using a function of performing data flashing on the engine, which is provided by a diagnostic apparatus, on the premise that a set threshold of the timer is not changed, so as to shorten a timing duration of the timer, and improve efficiency of engine fault detection, thereby providing convenience for calibrating the set threshold for detecting a fault state of the engine.
Hereinafter, a timing processing method of an engine according to an embodiment of the present application will be described with reference to the drawings.
Referring to fig. 1, an architecture diagram of a timing processing system of an engine according to an embodiment of the present disclosure is shown. As shown in fig. 1, the system includes an engine 101 and a diagnostic instrument 102.
The engine 101 is an engine to be detected, the fault state detection process of the engine sets time length for operating the engine to be detected, and after the set time length, whether the fault state presented by the engine is accurate is judged. For example, when emissions exceed an upper limit during engine operation, a corresponding engine fault Indicator Lamp (MIL Lamp) may exhibit a flashing state. When the emission is kept out of compliance and longer than a set value, the MIL lamp may change from a blinking state to a glowing state. That is, the detection of the fault state of the engine is to determine whether the fault state presented by the corresponding engine is accurate when the engine is in fault and continues to be set.
The service protocols of the diagnostic instrument 102 may include ISO14229, ISO15031, IOS27145, SAE J1939, etc., for enabling reading of fault information in the engine, reading of data flow information of relevant operating state parameters of the engine, etc. Optionally, the diagnostic instrument may further include a display screen for displaying fault information of the engine. For example, the diagnostic instrument adopts an ISO14229 diagnostic protocol, and realizes data flashing in the engine through a service function of data writing. The diagnostic instrument configures an acceleration factor in the engine through the function of flashing data. The engine may shorten a timing length of a timer for timing an operation length of the engine in the engine fault state detection process according to an acceleration factor configured by the diagnostic instrument.
It should be noted that fig. 1 is only an example, and the number of the engines and the number of the diagnostic instruments are not particularly limited in the embodiment of the present application.
Next, the engine timing processing method according to the embodiment of the present application will be specifically described with reference to the system architecture diagram shown in fig. 1. Referring to fig. 2, a flowchart of a timing processing method of an engine according to an embodiment of the present application is shown. The method specifically comprises the following steps:
the diagnostic instrument sends a request for configuring an acceleration factor to the engine to be tested 201.
First, the diagnostic instrument may be connected to the engine to be tested and, after the connection is established, a request for configuration of the acceleration factor is sent to the engine.
The engine receives a request for configuring the acceleration factor 202, and upon verification of the diagnostic device, sends a write address for the acceleration factor to the diagnostic device.
The write address used to configure the acceleration factor may be an address at which data may be stored in the engine. For example, it may be a Random Access Memory (RAM) in the engine.
And 203, the diagnostic instrument writes the acceleration factor into the write address of the acceleration factor.
And after the diagnostic instrument receives the write address of the acceleration factor sent by the engine, the acceleration factor is written in the write address through the function of flashing data in the engine.
And 204, the engine acquires the acceleration factor configured by the diagnostic instrument from the acceleration factor writing address, and shortens the timing duration of the timer in the fault state detection process of the engine according to the acceleration factor.
The timer is used for timing the running time of the engine.
Optionally, in the process of detecting the fault state of the engine, the engine may obtain the acceleration factor configured by the diagnostic instrument from the address written by the acceleration factor in real time, and shorten the timing duration of the timer by the acceleration factor. For example, if the original timer is set to have a counting time of 100 minutes and the engine obtains an acceleration factor value of 10, the engine may shorten the counting time of the timer by 10 times according to the acceleration factor of 10, and after the shortening of the counting time by 10 times, the counting time of the timer becomes 10 minutes. That is to say, the process of detecting the engine fault state, which should be performed for 100 minutes, can be shortened to 10 minutes, so that the time for detecting the engine fault state can be saved, and the detection efficiency can be improved.
The solution proposed by the present application is described below with reference to different embodiments.
In some embodiments, it may also be determined that the engine is not running, i.e., the engine is not running, after being connected to the engine before the diagnostic device sends a request to the engine to configure the acceleration factor. Upon determining that the engine is not running, request information requesting access is sent to the engine. The engine, upon receiving the request message, may randomly generate a SEED for authenticating the diagnostic instrument and send the SEED to the diagnostic instrument. After the diagnostic instrument receives the SEED, the SEED can be encrypted according to a safety algorithm agreed with the engine in advance to obtain a first secret key, and the first secret key is sent to the engine for authentication. After the engine receives the first key, the engine can encrypt the seed according to a security algorithm agreed with the diagnostic instrument in advance to obtain a second key, the first key and the second key are compared, if the first key and the second key are the same, the verification is passed, and an access permission instruction is sent to the diagnostic instrument. After receiving the access permission instruction, the diagnostic apparatus sends a request for configuring an acceleration factor to the engine, receives an acceleration factor write address from the engine, and completes configuration of the acceleration factor, and the engine may obtain the configured acceleration factor from the write address in real time, and shorten the timing duration of the timer by the acceleration factor, which is specifically referred to the method flowchart described in fig. 2, and details are not described here.
In other embodiments, the engine obtains the acceleration factor of the diagnostic device configuration from the write address and uses the acceleration factor to shorten the timer duration during fault condition detection. Optionally, during the fault state detection of the engine, the write address of the acceleration factor may also be accessed in real time, the latest acceleration factor is acquired, and the timing duration of the timer is shortened according to the latest acceleration factor. Alternatively, if a fault such as power failure occurs during the detection of the fault state of the engine, the acceleration factor acquired before the power failure may be stored in a Non-Volatile Random Access Memory (NVRAM) to avoid the loss of the acceleration factor. When the engine is detected again, if the diagnostic instrument is not connected, the acceleration factor is not in the written address, the last stored acceleration factor can be obtained from the NVRAM, and the timing duration of the timer is shortened.
In order to more clearly understand the scheme provided by the embodiment of the present application, a timing processing method of an engine will be described with reference to the specific embodiment. Referring to fig. 3, a flowchart of a timing processing method of an engine according to an embodiment of the present application is provided. The method specifically comprises the following steps:
301, the diagnostic instrument is connected with the engine to be tested.
302, the diagnostic determines whether the engine is not running.
Specifically, the diagnostic instrument may further determine that the engine is in a non-running state, that is, the rotation speed of the engine is 0, after the engine is connected.
If the engine speed is 0, the process proceeds to step 303.
If the rotating speed of the engine is not 0, step 302 is executed, the state of the engine is continuously judged until the rotating speed of the engine is determined to be 0, and the subsequent steps are continued.
303, the diagnostic instrument sends request information to the engine requesting access.
304, the engine sends a SEED to the diagnostic meter for authenticating the diagnostic meter.
In order to prevent other devices from being connected with the engine and carrying out malignant tampering on data in the engine, the engine needs to carry out authentication on the connected devices.
The diagnostic instrument encrypts the SEED from the engine with a security algorithm to obtain a first key 305 and sends the first key to the engine.
Wherein, the safety algorithm is predetermined by the engine and the diagnostic instrument.
The engine encrypts SEED with a security algorithm to obtain a second key 306.
307, the engine determines whether the first key and the second key are the same.
If so, an access permission instruction is sent to the diagnostic instrument and execution continues at step 308.
If not, the engine may send an access prohibition command to the diagnostic instrument to terminate the process, if possible.
In another possible case, the engine may also send indication information to the diagnostic instrument to prompt that the password is wrong, receive a second key sent again by the diagnostic instrument, and determine whether the second key is the same as the first key. The engine can repeatedly execute the above operation for a set number of times, if the second secret key received within the set number of times is different from the first secret key, an access prohibition instruction is sent to the diagnostic instrument, and the flow is terminated.
It should be noted that, in fig. 3, the first possible case is only shown by way of example.
The diagnostic instrument sends a request to the engine to configure the acceleration factor 308.
The engine, upon receiving a request from the diagnostic for configuring the acceleration factor, sends an acceleration factor write address to the diagnostic 309.
The write address for the acceleration factor may be a data storage address in the engine.
The diagnostic engine writes the acceleration factor to the write address 310.
After the diagnostic instrument writes the acceleration factor into the write address, the engine can acquire the acceleration factor from the write address in the fault state detection process, the timing duration of the timer is shortened according to the acquired acceleration factor, and the fault state detection efficiency of the engine is improved.
Based on the same concept as the method, referring to fig. 4, a timing processing device 400 of an engine is provided according to an embodiment of the present application. The apparatus 400 is capable of performing the various steps of the above-described method, and will not be described in detail herein to avoid repetition. The apparatus 400 includes a communication unit 401, a processing unit 402.
In one scenario:
a communication unit 401 for sending a request for configuring an acceleration factor to an engine to be detected;
the communication unit 401 is further configured to receive a write address of the acceleration factor sent by the engine, where the write address of the acceleration factor is sent when the engine passes authentication of the diagnostic apparatus;
a processing unit 402 for writing the acceleration factor into a write address of the acceleration factor;
the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.
In one possible implementation, before the communication unit 401 sends a request for configuring the acceleration factor to the engine to be detected,
the processing unit 402 is further configured to perform authentication with the engine;
The communication unit 401 is further configured to receive an access permission instruction sent by the engine after the identity of the diagnostic apparatus is verified.
In a possible implementation manner, the processing unit 402 performs authentication between the engine and the processing unit, and is specifically configured to:
controlling the communication unit 401 to receive a SEED from the engine, and encrypting the SEED through a security algorithm to obtain a first key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and used for encrypting the SEED, and the first secret key is used for the engine to authenticate the diagnostic instrument;
control the communication unit 401 to send the first key to the engine.
In another case:
a communication unit 401 for receiving a request for configuring an acceleration factor from a diagnostic instrument;
the communication unit 401 is further configured to send a write address of the acceleration factor to the diagnostic apparatus when the identity verification of the diagnostic apparatus passes;
the processing unit 402 is configured to obtain an acceleration factor configured by the diagnostic apparatus from a write address of the acceleration factor, and shorten a timing duration of a timer in a fault state detection process of the engine according to the acceleration factor, where the timer is used to time an operation duration of the engine.
In one possible implementation, before the communication unit 401 receives a request from the diagnostic instrument to configure an acceleration factor,
the processing unit 402 is further configured to perform identity verification with the diagnostic apparatus;
the communication unit 401 is further configured to send an access permission instruction to the diagnostic apparatus after the identity verification of the diagnostic apparatus passes.
In a possible implementation manner, the processing unit 402, when performing authentication with the diagnostic apparatus, is specifically configured to:
generating a SEED for authenticating the diagnostic apparatus, controlling the communication unit 401 to transmit the SEED to the diagnostic apparatus, and controlling the communication unit 401 to receive a first key generated from the diagnostic apparatus according to the SEED;
encrypting the SEED through a security algorithm to obtain a second secret key, and verifying the identity of the diagnostic instrument according to the comparison result of the first secret key and the second secret key;
wherein the safety algorithm is an algorithm appointed between the diagnostic instrument and the engine and used for encrypting the SEED.
Embodiments of the present application further provide a computer-readable medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of any one of the methods as described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the present application have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the present application is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and principles of this application, and these changes and modifications are intended to be included within the scope of this application. While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (17)

1. A timing processing method of an engine is applied to a diagnostic instrument and is characterized by comprising the following steps:
sending a request for configuring an acceleration factor to an engine to be detected;
receiving a write address of the acceleration factor sent by the engine, wherein the write address of the acceleration factor is sent when the engine passes the authentication of the diagnostic apparatus;
writing the acceleration factor into a write address of the acceleration factor;
the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.
2. The method of claim 1, wherein prior to sending a request to configure an acceleration factor to an engine to be tested, the method further comprises:
and performing identity verification with the engine, and receiving an access permission instruction sent by the engine after the identity verification of the diagnostic instrument is passed.
3. The method of claim 2, wherein authenticating with the engine comprises:
receiving a SEED from the engine, and encrypting the SEED through a security algorithm to obtain a first secret key; the safety algorithm is an algorithm which is used for encrypting the SEED and is appointed between the diagnostic instrument and the engine, and the first secret key is used for the engine to authenticate the diagnostic instrument;
sending the first key to the engine.
4. A timing processing method of an engine is applied to the engine and is characterized by comprising the following steps:
receiving a request from a diagnostic instrument to configure an acceleration factor;
when the identity verification of the diagnostic apparatus passes, sending the write address of the acceleration factor to the diagnostic apparatus;
and acquiring the acceleration factor configured by the diagnostic instrument from the write address of the acceleration factor, and shortening the timing duration of a timer in the fault state detection process of the engine according to the acceleration factor, wherein the timer is used for timing the running duration of the engine.
5. The method of claim 4, wherein prior to receiving the request from the diagnostic instrument to configure the acceleration factor, the method further comprises:
And the diagnostic apparatus performs identity verification with the diagnostic apparatus, and sends an access permission instruction to the diagnostic apparatus after the identity verification of the diagnostic apparatus passes.
6. The method of claim 5, wherein authenticating with the diagnostic instrument comprises:
generating a SEED for authenticating the diagnostic apparatus, transmitting the SEED to the diagnostic apparatus, and receiving a first key generated from the diagnostic apparatus according to the SEED;
encrypting the SEED through a security algorithm to obtain a second secret key, and performing identity verification on the diagnostic instrument according to a comparison result of the first secret key and the second secret key;
wherein the safety algorithm is an algorithm appointed between the diagnostic instrument and the engine and used for encrypting the SEED.
7. An engine timing processing system, comprising an engine and a diagnostic instrument:
the diagnostic instrument is used for sending a request for configuring an acceleration factor to the engine;
the engine is used for receiving the request for configuring the acceleration factor, and sending a write address of the acceleration factor to the diagnostic apparatus when the identity verification of the diagnostic apparatus is passed;
The diagnostic instrument is further used for writing the acceleration factor into a write address of the acceleration factor;
the engine is further configured to obtain an acceleration factor configured by the diagnostic apparatus from a write address of the acceleration factor, and shorten a timing duration of a timer in a fault state detection process of the engine according to the acceleration factor, where the timer is configured to time an operation duration of the engine.
8. The system of claim 7, wherein prior to the engine receiving the request to configure an acceleration factor,
the engine is also used for carrying out identity verification with the diagnostic instrument and sending an access permission instruction to the diagnostic instrument after the identity verification of the diagnostic instrument passes;
the diagnostic instrument is further used for receiving an access permission instruction from the engine.
9. The system of claim 8 wherein upon authentication between said engine and said diagnostic meter,
the engine is specifically used for generating a SEED for authenticating the diagnostic instrument and sending the SEED to the diagnostic instrument;
the diagnostic apparatus is specifically configured to receive the SEED, and encrypt the SEED through a security algorithm to obtain a first key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and is used for encrypting the SEED;
The engine is specifically configured to encrypt the SEED through the security algorithm to obtain a second key, and authenticate the diagnostic instrument according to a comparison result of the first key and the second key.
10. A timing processing device of an engine, applied to a diagnostic instrument, comprising:
a communication unit for sending a request for configuring an acceleration factor to an engine to be detected;
the communication unit is further used for receiving a write address of the acceleration factor sent by the engine, wherein the write address of the acceleration factor is sent when the engine passes the authentication of the diagnostic apparatus;
the processing unit is used for writing the acceleration factor into a write address of the acceleration factor;
the acceleration factor is used for shortening the timing duration of a timer, and the timer is used for timing the running duration of the engine in the fault state detection process of the engine.
11. The device of claim 10, wherein prior to the communication unit sending a request to configure an acceleration factor to an engine to be tested,
the processing unit is also used for carrying out identity authentication with the engine;
The communication unit is also used for receiving an access permission instruction sent by the engine after the engine passes the identity verification of the diagnostic instrument.
12. The apparatus according to claim 11, wherein the processing unit, upon authentication with the engine, is configured to:
controlling the communication unit to receive a SEED from the engine, and encrypting the SEED through a security algorithm to obtain a first secret key; the safety algorithm is an algorithm which is appointed between the diagnostic instrument and the engine and used for encrypting the SEED, and the first secret key is used for the engine to authenticate the diagnostic instrument;
controlling the communication unit to transmit the first key to the engine.
13. An engine timing processing apparatus applied to an engine, comprising:
a communication unit for receiving a request from a diagnostic instrument for configuring an acceleration factor;
the communication unit is further configured to send a write address of the acceleration factor to the diagnostic apparatus when the identity verification of the diagnostic apparatus passes;
and the processing unit is used for acquiring the acceleration factor configured by the diagnostic instrument from the write address of the acceleration factor, and shortening the timing duration of a timer in the fault state detection process of the engine according to the acceleration factor, wherein the timer is used for timing the running duration of the engine.
14. The apparatus of claim 13, wherein prior to the communication unit receiving a request from the diagnostic instrument to configure an acceleration factor,
the processing unit is also used for carrying out identity verification with the diagnostic instrument;
the communication unit is further used for sending an access permission instruction to the diagnostic apparatus after the diagnostic apparatus passes the authentication.
15. The apparatus as claimed in claim 14, wherein the processing unit, upon authentication with the diagnostic device, is specifically configured to:
generating a SEED for authenticating the diagnostic apparatus, controlling the communication unit to transmit the SEED to the diagnostic apparatus, and controlling the communication unit to receive a first key generated from the diagnostic apparatus according to the SEED;
encrypting the SEED through a security algorithm to obtain a second secret key, and performing identity verification on the diagnostic instrument according to a comparison result of the first secret key and the second secret key;
wherein the safety algorithm is an algorithm which is used for encrypting the SEED and is appointed between the diagnostic instrument and the engine.
16. An electronic device, characterized in that the electronic device comprises a processor and a memory,
The memory for storing a computer program or instructions;
the processor configured to execute a computer program or instructions in a memory such that the method of any of claims 1-3 or the method of any of claims 4-6 is performed.
17. A computer readable storage medium having stored thereon computer program instructions, characterized in that the computer program instructions, when executed by a processor, implement the steps of the method of any of claims 1-3 or the steps of the method of any of claims 4-6.
CN202110562618.7A 2021-05-24 2021-05-24 Timing processing method, system and device of engine Active CN113341914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110562618.7A CN113341914B (en) 2021-05-24 2021-05-24 Timing processing method, system and device of engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110562618.7A CN113341914B (en) 2021-05-24 2021-05-24 Timing processing method, system and device of engine

Publications (2)

Publication Number Publication Date
CN113341914A CN113341914A (en) 2021-09-03
CN113341914B true CN113341914B (en) 2022-06-28

Family

ID=77470981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110562618.7A Active CN113341914B (en) 2021-05-24 2021-05-24 Timing processing method, system and device of engine

Country Status (1)

Country Link
CN (1) CN113341914B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4016753A (en) * 1976-05-07 1977-04-12 United Technologies Corporation Sub-cyclic speed and cyclic time measurements for internal combustion engine horsepower indication
US4064746A (en) * 1976-05-07 1977-12-27 United Technologies Corporation Parameter controlled speed determination in internal combustion engine diagnostics
US4100793A (en) * 1977-03-25 1978-07-18 United Technologies Corporation Air/fuel regulator diagnostics for internal combustion engine
JPS60240829A (en) * 1984-05-15 1985-11-29 Nissan Motor Co Ltd Acceleration detecting device for engine with turbocharger
JPS62233450A (en) * 1986-04-03 1987-10-13 Yanmar Diesel Engine Co Ltd Control device for internal combustion engine
JPH02275048A (en) * 1989-04-15 1990-11-09 Mazda Motor Corp Engine controller
JPH11326140A (en) * 1998-05-13 1999-11-26 Denso Corp Vehicle diagnosing system
DE10220600A1 (en) * 2002-05-08 2003-12-04 Siemens Ag Engine knock sensor monitoring method for monitoring an adaptive system for an internal combustion engine, involves comparing an updated adaptive portion of an amplifying factor with preset limiting values
JP2005313709A (en) * 2004-04-27 2005-11-10 Toyota Motor Corp Failure diagnosis service system, failure diagnosis service method, onboard device, failure information providing program, computer readable recording medium with failure information providing program recorded thereon, and information center
JP2008157660A (en) * 2006-12-21 2008-07-10 Nissan Diesel Motor Co Ltd Failure diagnosis apparatus and failure diagnosis method
JP2011188176A (en) * 2010-03-08 2011-09-22 Mitsubishi Electric Corp Onboard device, system and method for processing data, and program
EP2538034A2 (en) * 2011-06-23 2012-12-26 United Technologies Corporation MFCC and CELP to detect turbine engine faults
JP6144404B1 (en) * 2016-12-27 2017-06-07 川崎重工業株式会社 Reduction gear failure diagnosis device, failure diagnosis method, and mechanical device including the failure diagnosis device
CN109765876A (en) * 2018-12-03 2019-05-17 中国汽车技术研究中心有限公司 A kind of emulation test method and device of diesel engine post-processing system OBD function
CN110702417A (en) * 2019-09-27 2020-01-17 东方航空技术有限公司 EGT (extended gasoline turbine) indication fault diagnosis method for aircraft engine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1123578B (en) * 1979-09-10 1986-04-30 Alfa Romeo Spa REGULATION AND CONTROL SYSTEM FOR THE FUEL SUPPLY SYSTEM OF AN INTERNAL COMBUSTION ENGINE
US7900509B2 (en) * 2008-08-06 2011-03-08 Ford Global Technologies, Llc Methods for variable displacement engine diagnostics

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4016753A (en) * 1976-05-07 1977-04-12 United Technologies Corporation Sub-cyclic speed and cyclic time measurements for internal combustion engine horsepower indication
US4064746A (en) * 1976-05-07 1977-12-27 United Technologies Corporation Parameter controlled speed determination in internal combustion engine diagnostics
US4100793A (en) * 1977-03-25 1978-07-18 United Technologies Corporation Air/fuel regulator diagnostics for internal combustion engine
JPS60240829A (en) * 1984-05-15 1985-11-29 Nissan Motor Co Ltd Acceleration detecting device for engine with turbocharger
JPS62233450A (en) * 1986-04-03 1987-10-13 Yanmar Diesel Engine Co Ltd Control device for internal combustion engine
JPH02275048A (en) * 1989-04-15 1990-11-09 Mazda Motor Corp Engine controller
JPH11326140A (en) * 1998-05-13 1999-11-26 Denso Corp Vehicle diagnosing system
DE10220600A1 (en) * 2002-05-08 2003-12-04 Siemens Ag Engine knock sensor monitoring method for monitoring an adaptive system for an internal combustion engine, involves comparing an updated adaptive portion of an amplifying factor with preset limiting values
JP2005313709A (en) * 2004-04-27 2005-11-10 Toyota Motor Corp Failure diagnosis service system, failure diagnosis service method, onboard device, failure information providing program, computer readable recording medium with failure information providing program recorded thereon, and information center
JP2008157660A (en) * 2006-12-21 2008-07-10 Nissan Diesel Motor Co Ltd Failure diagnosis apparatus and failure diagnosis method
JP2011188176A (en) * 2010-03-08 2011-09-22 Mitsubishi Electric Corp Onboard device, system and method for processing data, and program
EP2538034A2 (en) * 2011-06-23 2012-12-26 United Technologies Corporation MFCC and CELP to detect turbine engine faults
JP6144404B1 (en) * 2016-12-27 2017-06-07 川崎重工業株式会社 Reduction gear failure diagnosis device, failure diagnosis method, and mechanical device including the failure diagnosis device
CN109765876A (en) * 2018-12-03 2019-05-17 中国汽车技术研究中心有限公司 A kind of emulation test method and device of diesel engine post-processing system OBD function
CN110702417A (en) * 2019-09-27 2020-01-17 东方航空技术有限公司 EGT (extended gasoline turbine) indication fault diagnosis method for aircraft engine

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Motor drive control strategy during electric vehicle shifting process;Xu Gang;<2014 IEEE Conference and Expo Transportation Electrification Asia-Pacific (ITEC Asia-Pacific)>;20141103;全文 *
Simulation and Analysis of Speed Brushless Direct Current Motor Based on State Space Modeling;S. Wongkhead;<2018 International Conference on Engineering, Applied Sciences, and Technology (ICEAST)>;20180816;全文 *
某型直升机地面单发开车时功率突然下降故障分析和处理;王辉等;《直升机技术》;20080315(第01期);全文 *

Also Published As

Publication number Publication date
CN113341914A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN109257374B (en) Security control method and device and computer equipment
CN110162009B (en) Fault diagnosis method, information determination method, corresponding device and equipment
US10706646B2 (en) Vehicle diagnostic device and method of managing certificate thereof
US9992178B2 (en) Method, apparatus and system for dynamically controlling secure vehicle communication based on ignition
CN111142500B (en) Permission setting method and device for vehicle diagnosis data and vehicle-mounted gateway controller
CN110213276A (en) Authority checking method, server, terminal and medium under a kind of micro services framework
CN110175448B (en) Trusted device login authentication method and application system with authentication function
CN113114659B (en) Diagnostic equipment detection method and device, terminal equipment and storage medium
CN110989564B (en) Automobile data diagnosis method and device
CN104104650B (en) data file access method and terminal device
US11550480B2 (en) Method of identifying errors in or manipulations of data or software stored in a device
CN110446075A (en) Encryption method and device, decryption method and device, electronic equipment
CN113645590A (en) Method, apparatus, device and medium for remotely controlling vehicle based on encryption algorithm
CN111565182A (en) Vehicle diagnosis method and device and storage medium
JP2018073245A (en) Inspection apparatus, inspection system, information processing apparatus, inspection method and computer program
Ammar et al. Securing the on-board diagnostics port (obd-ii) in vehicles
CN113341914B (en) Timing processing method, system and device of engine
WO2024027301A1 (en) Encryption method for automobile diagnosis software
CN110365656B (en) Data management method, data management device and environment-friendly detection equipment
CN115801303A (en) Intrusion detection method and device based on UDS protocol, electronic equipment and storage medium
CN114338073A (en) Protection method, system, storage medium and equipment for vehicle-mounted network
KR102551592B1 (en) Method for preventing mileage tampering of car and mileage recording device using the same
US20050125655A1 (en) Process for detecting defective component exchanges
CN111385099A (en) Safety authentication method and device for vehicle-mounted intelligent hardware
CN112468356A (en) Router interface testing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant