Capacity expansion communication method, system and device based on AK protocol and storage medium
By extending the data protocol bit and speed pulse bit width in the AK protocol, transmitting more vehicle condition information, the problem of inability to effectively output diagnostic information in the prior art is solved, and the ability of automotive functional safety and intelligent control is improved.
Patent Information
- Application Number
- CN202411450102.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-10
AI Technical Summary
The existing AK protocol cannot effectively output more types of diagnostic information in the wheel speed sensor, resulting in the ECU being unable to handle faults in time and unable to meet the needs of automotive functional safety and intelligent control.
On the basis of compatibility with the original AK protocol, by expanding the data protocol bits, increasing the bit width of the speed pulse and the number of data protocol bits, more vehicle condition information, including voltage, current, clock abnormality and other diagnostic information.
It realizes the transmission of more types of vehicle condition information on the basis of the original AK protocol, meets higher automotive functional safety requirements and intelligent control needs, and improves the timeliness and accuracy of fault handling.
Smart Images

Figure CN119299531A_ABST
Abstract
Description
Background Art
[0002] Wheel speed sensors have become a vital component of modern cars. The wheel speed information they provide affects the safety performance of cars. Traditional wheel speed sensors mostly use the CAN communication protocol, which has limitations in functional safety guidance. With the development of technology, the AK protocol, as a new communication protocol, is beginning to be applied to wheel speed sensors. It can contain more sensor information that is closely related to wheel speed, which has a high guiding significance for vehicle safety.
[0003] The AK protocol is a communication protocol used for data signal transmission and is commonly used for communication between wheel speed sensors (WSS) and electronic control units (ECUs). Figure 1 It is a frame structure within a cycle based on the AK protocol in the prior art. The frame structure of the AK protocol is as follows: Figure 1 As shown, when there is a zero crossing, a frame of AK signal is sent out. A frame of AK signal consists of the following parts, and the bit width of each part is tp.
[0004] 1-bit speed pulse indicates that the time interval between two adjacent frames of speed pulses can be used to calculate the gear speed; the high level is represented by a high-level current (Ihigh), which is generally 28mA.
[0005] The 8-bit data protocol bits represent other information of the gear, such as direction, air gap size, etc. The high level is represented by the medium-level current (Imid), which is generally 14mA; the low level is represented by the medium-level current (Ilow), which is generally 7mA; the data protocol bits use Manchester encoding, the rising edge of the current represents data 1, and the falling edge of the current represents data 0.
[0006] 1-bit parity bit represents the parity bit of 8-bit data protocol bit. The high level is represented by medium-level current (Imid), which is generally 14mA. The low level is represented by medium-level current (Ilow), which is generally 7mA. The parity bit adopts Manchester encoding. The rising edge of current represents data 1, and the falling edge of current represents data 0.
[0007] The AK protocol is based on current and achieves good communication between wheel speed sensors and ECUs. It is widely used in electric bicycles, automobiles and other fields. In recent years, with the rise of new energy vehicles and autonomous driving, ECUs need more information about wheel rotation to achieve intelligent and precise control of vehicle braking force distribution, electronic stability control system (ESC), traction control system (TCS), anti-lock braking system (ABS), etc. A large number of traditional mechanical functions have been replaced by complex electronic devices, the degree of automobile intelligence is getting higher and higher, and the complexity of automotive electronic systems is getting higher and higher, which brings more and newer challenges to vehicle safety. The requirements of functional safety are becoming more and more important. Each electronic component needs to be diagnosed during use and report the diagnostic information to the ECU. The ECU monitors the diagnostic information of each component and handles the faults in time. Specifically for the wheel speed sensor, when the wheel rotates one circle, the AK protocol can only output 8 bits of data information to represent the direction of rotation and the size of the air gap. Diagnostic information such as voltage is too high or too low, overcurrent, clock abnormality, configuration abnormality, ADC abnormality, and algorithm abnormality cannot be output. When the above-mentioned abnormalities occur in the wheel speed sensor, the ECU cannot obtain these diagnostic information through the existing protocol, cannot handle the fault and report it in time, and cannot meet the technical requirements of automotive functional safety and the application needs of intelligent control.
[0008] Therefore, the present invention provides a capacity expansion communication method, system, device and storage medium based on the AK protocol. Summary of the invention
[0009] In view of the problems in the prior art, the purpose of the present invention is to provide an expanded communication method, system, device and storage medium based on the AK protocol, which overcomes the difficulties of the prior art and can conveniently implement data protocol bit expansion on the basis of compatibility with the original AK protocol, transmit more types of vehicle condition information, and meet higher automotive functional safety requirements.
[0010] An embodiment of the present invention provides a capacity expansion communication method based on the AK protocol, comprising the following steps:
[0011] S110, the transmitting end receives data byte information of a future period based on the AK protocol, the number of data protocol bits in the data byte information being equal to 8*N, where N is a natural number greater than 1;
[0012] S120, updating the bit width of the speed pulse according to the number of the data protocol bits, the bit width of the speed pulse being N*tp, where tp is a preset width;
[0013] S130, updating the frame structure of the AK signal to the bit width of the speed pulse and 8*N data protocol bits following the bit width of the speed pulse, collecting corresponding data according to the data byte information and filling the corresponding position in the data protocol bit;
[0014] S140: The transmitting end sends the updated AK signal to the receiving end.
[0015] Preferably, in step S110, the capacity of each data protocol bit is 1 bit.
[0016] Preferably, the step S140 includes:
[0017] S141, updating at least 1 bit of parity bit according to the real-time data of the data protocol bit in the AK signal;
[0018] S142: Send the AK signal after updating the parity check bit to the receiving end.
[0019] Preferably, in step S142, the AK signal includes a speed pulse with a bit width of N*tp, 8*N data protocol bits and at least 1 parity bit.
[0020] Preferably, the length of the parity check bit is N bits.
[0021] Preferably, after step S140, the method further includes:
[0022] S150, the receiving end unpacks the AK signal and measures the bit width N*tp of the speed pulse, where tp is a preset width;
[0023] S160, according to the bit width of the speed pulse, the number of data protocol bits corresponding to the AK signal is obtained as 8*N;
[0024] S170. Combine the data protocol bits in the unpacked AK signal to obtain the data byte information, where the data byte information is 8*N bits.
[0025] Preferably, the step S110 further includes the following steps:
[0026] S100, the vehicle computer system detects at least one or a combination of the status of each sensor in the vehicle, the road condition, and the driver's status, inputs the trained vehicle computer neural network to judge the driving status, outputs the data byte information of the future cycle, and sends it to the transmitting end.
[0027] An embodiment of the present invention further provides a capacity expansion communication system based on the AK protocol, which is used to implement the above-mentioned capacity expansion communication method based on the AK protocol. The capacity expansion communication system based on the AK protocol includes:
[0028] A data byte module, where the transmitting end receives data byte information of a future period based on the AK protocol, where the number of data protocol bits in the data byte information is equal to 8*N, where N is a natural number greater than 1;
[0029] A sending pulse module updates the bit width of the speed pulse according to the number of the data protocol bits, the bit width of the speed pulse is N*tp, and tp is a preset width;
[0030] The sending digital module updates the frame structure of the AK signal to the bit width of the speed pulse and the 8*N data protocol bits following the bit width of the speed pulse, collects corresponding data according to the data byte information and fills the corresponding position in the data protocol bit;
[0031] The signal sending module sends the updated AK signal to the receiving end.
[0032] An embodiment of the present invention further provides a capacity expansion communication device based on the AK protocol, comprising:
[0033] processor;
[0034] a memory storing executable instructions of the processor;
[0035] The processor is configured to execute the steps of the above-mentioned capacity expansion communication method based on the AK protocol by executing the executable instructions.
[0036] An embodiment of the present invention further provides a computer-readable storage medium for storing a program, wherein the program, when executed, implements the steps of the above-mentioned capacity expansion communication method based on the AK protocol.
[0037] The purpose of the present invention is to provide an expanded communication method, system, device and storage medium based on the AK protocol, which can conveniently implement data protocol bit expansion on the basis of compatibility with the original AK protocol, transmit more types of vehicle condition information, and meet higher automotive functional safety requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.
[0039] Figure 1 This is a frame structure within one cycle based on the AK protocol in the prior art.
[0040] Figure 2 It is a flow chart of the capacity expansion communication method based on AK protocol of the present invention.
[0041] Figure 3 It is a frame structure within one cycle of the capacity expansion communication method based on the AK protocol of the present invention.
[0042] Figure 4 It is a flow chart of the sending end of the capacity expansion communication method based on the AK protocol implementing the present invention.
[0043] Figure 5 It is a structural block diagram of the sending end of the capacity expansion communication method based on the AK protocol for implementing the present invention.
[0044] Figure 6 It is a flow chart of a receiving end of implementing the capacity expansion communication method based on AK protocol of the present invention.
[0045] Figure 7 It is a structural block diagram of a receiving end of the capacity expansion communication method based on the AK protocol for implementing the present invention.
[0046] Figure 8 It is a structural schematic diagram of the capacity expansion communication system based on the AK protocol of the present invention.
[0047] Fig. 9 It is a structural schematic diagram of the capacity expansion communication device based on the AK protocol of the present invention.
[0048] Fig.10 It is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation methods, and the details in the present application can also be modified or changed in various ways according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0050] The following is a detailed description of the embodiments of the present application with reference to the accompanying drawings so that those skilled in the art can easily implement the present application. The present application can be embodied in a variety of different forms and is not limited to the embodiments described herein.
[0051] In the representations of the present application, the representations with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the represented specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples represented in the present application and the features of the different embodiments or examples, unless they contradict each other.
[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0053] In order to clearly describe the present application, components irrelevant to the description are omitted, and the same reference symbols are given to the same or similar components throughout the specification.
[0054] Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a device is said to "include" a certain component, unless otherwise stated, it does not exclude other components, but means that other components may be included.
[0055] When a device is said to be "on" another device, it may be directly on the other device, but there may also be other devices between it. In contrast, when a device is said to be "directly" on another device, there are no other devices between it.
[0056] Although the terms first, second, etc. are used to represent various elements in some examples, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first interface and the second interface, etc. are represented. Moreover, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way, will there be an exception to this definition.
[0057] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present application. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.
[0058] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with the relevant technical literature and the contents of the current disclosure, and unless defined, shall not be overly interpreted as ideal or very formal meanings.
[0059] Figure 2 FIG. 1 is a flow chart of the capacity expansion communication method based on the AK protocol of the present invention. Figure 2 As shown, the capacity expansion communication method based on the AK protocol of the present invention includes:
[0060] S110. The transmitting end receives data byte information of a future period based on the AK protocol. The number of data protocol bits in the data byte information is equal to 8*N, where N is a natural number greater than 1.
[0061] S120, updating the bit width of the speed pulse according to the number of data protocol bits, the bit width of the speed pulse is N*tp, and tp is a preset width.
[0062] S130, update the frame structure of the AK signal to the bit width of the speed pulse and the 8*N data protocol bits following the bit width of the speed pulse, collect corresponding data according to the data byte information and fill in the corresponding position in the data protocol bit.
[0063] S140: The transmitting end sends the updated AK signal to the receiving end.
[0064] On the basis of being compatible with the original AK protocol, the present invention conveniently implements data protocol bit expansion and reports diagnostic information to the ECU, such as voltage over-low, over-current, clock anomaly, configuration anomaly, ADC anomaly, algorithm anomaly, etc. After the ECU obtains this diagnostic information, it performs fault, analysis and processing to meet the technical requirements of automotive functional safety and the application requirements of intelligent control.
[0065] In a preferred embodiment, in step S110, the capacity of each data protocol bit is 1 bit, but not limited thereto.
[0066] In a preferred embodiment, step S140 includes:
[0067] S141. Update at least 1 bit of parity bit according to the real-time data of the data protocol bit in the AK signal.
[0068] S142: Send the AK signal after the parity check bit is updated to the receiving end, but the present invention is not limited thereto.
[0069] In a preferred embodiment, in step S142, the AK signal includes a speed pulse with a bit width of N*tp, 8*N data protocol bits, and at least 1 parity bit, but not limited thereto.
[0070] In a preferred embodiment, the length of the parity bit is N bits. If N is larger, a CRC (Cyclic Redundancy Check) or ECC (Error Checking and Correcting) with stronger error detection capability may be used, but not limited to this.
[0071] In a preferred embodiment, after step S140, the method further includes:
[0072] S150, the receiving end unpacks the AK signal and measures the bit width N*tp of the speed pulse, where tp is a preset width.
[0073] S160. According to the bit width of the speed pulse, the number of data protocol bits corresponding to the AK signal is obtained as 8*N.
[0074] S170. Combine the data protocol bits in the unpacked AK signal to obtain data byte information, where the data byte information is 8*N bits, but not limited thereto.
[0075] In a preferred embodiment, the step S110 further includes the following steps:
[0076] S100, the vehicle computer system detects at least one or a combination of the status of each sensor in the vehicle, the road condition, and the driver's status, inputs the trained vehicle computer neural network to judge the driving status, outputs the data byte information of the future cycle, and sends it to the transmitting end, but is not limited to this.
[0077] The present invention can freely switch between the 8-bit AK transmission protocol and the N*8-bit AK transmission protocol, and switch between low power consumption priority (8-bit) and security priority (N*8-bit), thereby improving the flexibility and functionality of using the AK protocol.
[0078] The general process of extending the AK protocol data protocol bit by the present invention is as follows:
[0079] First, the vehicle computer system detects at least one or a combination of the status of each sensor in the vehicle, the road condition, and the driver's status, inputs the trained vehicle computer neural network to judge the driving status, outputs the data byte information of the future cycle (for example, encountering complex road conditions, the driver falling asleep, and other unexpected situations), and sends it to the sending end. In this embodiment, the vehicle computer determines that the road ahead is in complex conditions, and it is necessary to temporarily increase the number of data protocol bits to 16 bits (expanded bit state) in order to collect more data and optimize driving safety.
[0080] Next, the transmitting end receives the data byte information of the future cycle based on the AK protocol, the number of data protocol bits in the data byte information is equal to 16 (8*N=8*2=16), N is equal to 2, and the capacity of each data protocol bit is 1 bit. The bit width of the speed pulse is updated according to the number of data protocol bits, the bit width of the speed pulse is 2*tp, and tp is the preset width. The frame structure of the AK signal is updated to the bit width of the speed pulse and the 16 data protocol bits following the bit width of the speed pulse, and the corresponding data is collected according to the data byte information and filled into the corresponding position in the data protocol bit. The 1-bit parity bit is updated according to the real-time data of the data protocol bit in the AK signal. The AK signal after the parity bit is updated is sent to the receiving end. The AK signal includes a speed pulse with a bit width of N*tp, 16 data protocol bits, and at least 1 bit of parity bit. In this embodiment, the length of the parity bit is 2 bits. Figure 3 It is the frame structure within one cycle of the capacity expansion communication method based on the AK protocol of the present invention. Figure 3 As shown, the extended AK protocol of the variable frame length of the present invention takes the extension to 16 bits as an example, as Figure 4 As shown in the figure, the extended AK signal consists of the following parts: the bit width of the speed pulse is variable, such as tp, 2*tp, 3*tp, etc., and the bit width of each dataprotocol bits and parity bits is tp. Among them, the 1-bit speed pulse represents the time interval between two adjacent frames of speed pulses, and the gear speed can be calculated.
[0081] The relationship between the speed pulse width and the number of subsequent data protocol bits is shown in the following table:
[0082] Speed pulse width Data protocol bits tp 8bits 2*tp 16 bits 3*tp 24bits …… ……
[0083] Data protocol bits
[0084] Indicates other information of the gear. The number of bits is variable and is determined by the bit width of the speed pulse. As shown in the table above, select the appropriate number of data protocol bits and speed pulse bit width according to the bit width of the information that needs to be transmitted to the ECU in the application.
[0085] Parity bit: the parity bit of the data protocol bit;
[0086] Indicates the parity bit of the data protocol bits. When the number of data protocol bits is large, the number of parity bits can be expanded as needed, such as 16 bits of data protocol bits corresponding to 2 bits of parity bits.
[0087] Then, the receiving end unpacks the AK signal and measures the bit width of the speed pulse 2*tp, where tp is the preset width. According to the bit width of the speed pulse, the number of data protocol bits corresponding to the AK signal is obtained to be 16. The data protocol bits in the unpacked AK signal are combined to obtain data byte information, which is 16 bits.
[0088] Based on the original AK protocol, the present invention uses the width of a speed pulse to represent the frame length, for example: the width of the speed pulse is tp, and the data protocol bit is still 8 bits; the width of the speed pulse is 2*tp, and the data protocol bit is expanded to 16 bits; the width of the speed pulse is 3*tp, and the data protocol bit is expanded to 24 bits..., thereby being able to expand the number of data protocol bits transmitted by the AK protocol in one cycle.
[0089] The above method can realize the expansion of 8*2 data protocol bits, and transmit data through 16-bit data protocol bits. By transmitting more data in the same cycle, the amount of data for optimizing the vehicle computer to make judgments can be greatly increased, thereby improving driving safety.
[0090] Furthermore, after the vehicle computer determines that it has passed a section with complex road conditions, the data protocol bit can be restored to 8 bits (normal state), but this is not limited to this.
[0091] The following is attached to the instruction manual Figures 4 to 7 The process of implementing the capacity expansion communication method based on the AK protocol of the present invention is specifically described.
[0092] Figure 4It is a flow chart of the sending end of the capacity expansion communication method based on the AK protocol implementing the present invention. Figure 5 The structure block diagram of the transmitting end of the AK protocol-based capacity expansion communication method of the present invention is implemented. The variable frame length extended AK protocol of the present invention is extended to 16 bits as an example. Figure 4 and 5 , the input signals at the transmitter include:
[0093] data_valid represents the data valid signal, which is high and effective. When this signal is high, it means that data_size and AK_data are valid and a frame of data needs to be sent.
[0094] data_size represents the data width, which is described as follows:
[0095] data_size[1:0] AK_data[31:0] valid bits 2’b00 AK_data[7:0] 2’b01 AK_data[15:0] 2’b10 AK_data[23:0] 2’b11 AK_data[31:0]
[0096] AK_data is the data to be sent, with a bit width of 32 bits. The valid bits of the data are determined by data_size, as shown in the table above. The output signal is AK_out, which is encoded by the sending module and outputs the AK protocol data.
[0097] The sending module AK_send 100 consists of the following components:
[0098] AK_send_control 101 represents the completion of the control of the AK sending module. When data_valid is valid, it completes the control of each submodule of AK_send_data 102 according to the data_size configuration information, and the encoded data is composed of AK protocol frame output.
[0099] AK_send_data 102 represents the completion of data encoding of the AK sending module. According to the control of AK_send_control 101, the encoding of each AK data segment is completed, including the following sub-components:
[0100] s_speed_pulse 103 represents generating a speed_pulse of corresponding bit width according to data_size.
[0101] s_data_protocol 104 represents generating data protocol bits of corresponding bit number according to data_size.
[0102] parity_bits 105 represents the parity check of data protocol bits to generate parity bits.
[0103] Figure 6It is a flow chart of a receiving end of implementing the capacity expansion communication method based on AK protocol of the present invention. Figure 7 It is a structural block diagram of the receiving end of the AK protocol-based capacity expansion communication method of the present invention. Figure 6 and 7 , the input signals at the receiving end include:
[0104] The input signal is AK_in, which is AK protocol data. The output signals include:
[0105] data_valid represents the data valid signal, which is high and effective. When the signal is high, it means that data_size, AK_data and parity_err signals are valid and a frame of data is received;
[0106] data_size represents the data width, which is described as follows:
[0107] data_size[1:0] AK_data[31:0] valid bits 2’b00 AK_data[7:0] 2’b01 AK_data[15:0] 2’b10 AK_data[23:0] 2’b11 AK_data[31:0]
[0108] AK_data represents the received decoded data, with a bit width of 32 bits. The valid bits of the data are determined by data_size, as shown in the table above.
[0109] The receiving module AK_receive 200 consists of the following components:
[0110] AK_receive_control 201 represents the completion of the control of the AK receiving module, the analysis of the AK_in signal, the completion of the control of each submodule of AK_receive_data 202, and the output of the decoded data.
[0111] AK_receive_data 202 represents the completion of data decoding of the AK receiving module. According to the control of AK_receive_control 201, the decoding of each AK data segment is completed. It includes the following sub-components:
[0112] r_speed_pulse 203 represents generating data_size according to the bit width of speed_pulse.
[0113] r_data_protocol 204 represents decoding and generating AK_data according to data_size.
[0114] parity_check 205 represents checking the data protocol bit and parity bit, generating parity_err.
[0115] Figure 8 FIG. 1 is a schematic diagram of the structure of the capacity expansion communication system based on the AK protocol of the present invention. Figure 8As shown, an embodiment of the present invention further provides a capacity expansion communication system based on the AK protocol, which is used to implement the above-mentioned capacity expansion communication method based on the AK protocol. The capacity expansion communication system 5 based on the AK protocol includes:
[0116] The data byte module 51, the sending end receives the data byte information of the future cycle based on the AK protocol, the number of data protocol bits in the data byte information is equal to 8*N, and N is a natural number greater than 1.
[0117] The sending pulse module 52 updates the bit width of the speed pulse according to the number of data protocol bits. The bit width of the speed pulse is N*tp, where tp is a preset width.
[0118] The sending digital module 53 updates the frame structure of the AK signal to the bit width of the speed pulse and the 8*N data protocol bits following the bit width of the speed pulse, collects corresponding data according to the data byte information and fills the corresponding position in the data protocol bit.
[0119] The signal sending module 54, the sending end sends the updated AK signal to the receiving end.
[0120] In a preferred embodiment, the data byte module 51 is configured so that the capacity of each data protocol bit is 1 bit, but not limited thereto.
[0121] In a preferred embodiment, the signal sending module 54 is configured to update at least one bit of parity bit according to the real-time data of the data protocol bit in the AK signal, and send the AK signal with the updated parity bit to the receiving end, but not limited thereto.
[0122] In a preferred embodiment, the signal sending module 54 is configured such that the AK signal includes a speed pulse with a bit width of N*tp, 8*N data protocol bits, and at least 1 parity bit, but not limited thereto.
[0123] In a preferred embodiment, the length of the parity check bit is N bits, but is not limited thereto.
[0124] In a preferred embodiment, it also includes:
[0125] The receiving pulse module 55 unpacks the AK signal at the receiving end and measures the bit width N*tp of the speed pulse, where tp is a preset width.
[0126] The receiving digital module 56 obtains the number of data protocol bits corresponding to the AK signal as 8*N according to the bit width of the speed pulse.
[0127] The data restoration module 57 combines the data protocol bits in the unpacked AK signal to obtain data byte information, and the data byte information is 8*N bits, but not limited thereto.
[0128] In a preferred embodiment, it also includes: a state judgment module 50, the vehicle system detects at least one or a combination of the state of each sensor in the vehicle, the road condition, and the driver's state, inputs a trained vehicle neural network to judge the driving state, outputs data byte information of the future cycle, and sends it to the sending end, but is not limited to this.
[0129] The AK protocol-based capacity expansion communication system of the present invention can conveniently implement data protocol bit expansion on the basis of being compatible with the original AK protocol, transmit more types of vehicle condition information, and meet higher vehicle functional safety requirements.
[0130] The embodiment of the present invention further provides a capacity expansion communication device based on the AK protocol, comprising a processor and a memory, wherein executable instructions of the processor are stored, wherein the processor is configured to execute the steps of the capacity expansion communication method based on the AK protocol by executing the executable instructions.
[0131] As shown above, the AK protocol-based expansion communication device of this embodiment of the present invention can conveniently implement data protocol bit expansion on the basis of compatibility with the original AK protocol, transmit more types of vehicle condition information, and meet higher vehicle functional safety requirements.
[0132] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".
[0133] Fig. 9 Schematic diagram of the structure of the communication device based on AK protocol of the present invention. Fig. 9 The electronic device 600 according to this embodiment of the present invention is described. Fig. 9 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0134] like Fig. 9 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0135] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0136] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0137] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0138] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0139] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0140] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the expansion communication method based on the AK protocol are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above method section of this specification.
[0141] As shown above, the AK protocol-based expansion communication system of this embodiment of the present invention can conveniently implement data protocol bit expansion on the basis of compatibility with the original AK protocol, transmit more types of vehicle condition information, and meet higher vehicle functional safety requirements.
[0142] Fig.10 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Fig.10 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0143] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0144] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, in which readable program codes are carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0145] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0146] In summary, the purpose of the present invention is to provide an expanded communication method, system, device and storage medium based on the AK protocol, which can conveniently implement data protocol bit expansion on the basis of compatibility with the original AK protocol, transmit more types of vehicle condition information, and meet higher automotive functional safety requirements.
[0147] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A capacity expansion communication method based on AK protocol, characterized in that: The following steps are involved: S110, the transmitting end receives data byte information of a future period based on the AK protocol, the number of data protocol bits in the data byte information being equal to 8*N, where N is a natural number greater than 1; S120, updating the bit width of the speed pulse according to the number of the data protocol bits, the bit width of the speed pulse being N*tp, where tp is a preset width; S130, updating the frame structure of the AK signal to the bit width of the speed pulse and 8*N data protocol bits following the bit width of the speed pulse, collecting corresponding data according to the data byte information and filling the corresponding position in the data protocol bit; S140: The transmitting end sends the updated AK signal to the receiving end.
2. The capacity expansion communication method based on the AK protocol as claimed in claim 1, characterized in that: In step S110, the capacity of each data protocol bit is 1 bit.
3. The capacity expansion communication method based on the AK protocol as claimed in claim 1, characterized in that: The step S140 includes: S141, updating at least 1 bit of parity bit according to the real-time data of the data protocol bit in the AK signal; S142: Send the AK signal after updating the parity check bit to the receiving end.
4. The capacity expansion communication method based on the AK protocol as claimed in claim 3, characterized in that: In the step S142, the AK signal includes a speed pulse with a bit width of N*tp, 8*N data protocol bits, and at least 1 parity bit.
5. The capacity expansion communication method based on AK protocol as claimed in claim 4, characterized in that: The length of the parity check bit is N bits.
6. The capacity expansion communication method based on AK protocol as claimed in claim 1, characterized in that: After step S140, the method further includes: S150, the receiving end unpacks the AK signal and measures the bit width N*tp of the speed pulse, where tp is a preset width; S160, according to the bit width of the speed pulse, the number of data protocol bits corresponding to the AK signal is obtained as 8*N; S170. Combine the data protocol bits in the unpacked AK signal to obtain the data byte information, where the data byte information is 8*N bits.
7. The capacity expansion communication method based on AK protocol as claimed in claim 1, characterized in that: The step S110 also includes the following steps: S100, the vehicle computer system detects at least one or a combination of the status of each sensor in the vehicle, the road condition, and the driver's status, inputs the trained vehicle computer neural network to judge the driving status, outputs the data byte information of the future cycle, and sends it to the transmitting end.
8. An AK protocol-based capacity expansion communication system, used to implement the AK protocol-based capacity expansion communication method according to claim 1, characterized in that: include: A data byte module, where the transmitting end receives data byte information of a future period based on the AK protocol, where the number of data protocol bits in the data byte information is equal to 8*N, where N is a natural number greater than 1; A sending pulse module updates the bit width of the speed pulse according to the number of the data protocol bits, the bit width of the speed pulse is N*tp, and tp is a preset width; The sending digital module updates the frame structure of the AK signal to the bit width of the speed pulse and the 8*N data protocol bits following the bit width of the speed pulse, collects corresponding data according to the data byte information and fills the corresponding position in the data protocol bit; The signal sending module sends the updated AK signal to the receiving end.
9. A capacity expansion communication device based on the AK protocol, characterized in that: include: processor; a memory storing executable instructions of the processor; The processor is configured to execute the steps of the capacity expansion communication method based on the AK protocol according to any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the capacity expansion communication method based on the AK protocol according to any one of claims 1 to 7 are implemented.