Signal generation method, signal transmission method, storage medium and vehicle
By classifying the bi -flow into a category position and the information position, combining into multiple transmission signals, the problem of transmitting signals in existing technologies to occupy a large number of special resources, and realize the effect of reducing the frequency of SDB changes and improving the efficiency of vehicle software development efficiency Essence
Patent Information
- Application Number
- PCT/CN2024/100572
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-17
- Filing Date
- 2024-06-21
- Publication Date
- 2025-01-23
AI Technical Summary
When the prior art increases the signal transmission, it occupies a large amount of bit resources, resulting in an increase in the change frequency of SDB, which seriously affects the development efficiency of vehicle computer software.
By obtaining a bit stream that includes a number of bits, dividing the special section into a category and information position, the assignment is multiple categories and information values, combined into multiple transmission signals, and use these signals and information to be passed on and prompt information to be passed on. Corresponding storage to reduce the frequency of changing SDB.
Using a small amount of bit resources in advance to generate a large number of transmission signals avoids subsequent frequent changes to the SDB, improves the development efficiency of vehicle software, reduces the occupation of bit resources, reduces network load, and saves network resources.
Smart Images

Figure CN2024100572_23012025_PF_FP_ABST
Abstract
Description
Signal generation method, signal transmission method, storage medium and vehicle Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a signal generation method, a signal transmission method, a storage medium and a vehicle. Background Art
[0002] The head unit and instrument cluster are crucial components of the smart cockpit and are often used to display various information. For example, after receiving a fault signal from the Vehicle Control Unit (VCU), the head unit displays the corresponding fault information in a pop-up window. Each piece of information displayed by the head unit or instrument cluster has a corresponding transmission signal, which transmits the output information from the VCU or other device to the head unit or instrument cluster.
[0003] With the continued advancement of electrification and intelligent vehicles, vehicle computers and instrument clusters are increasingly displaying more and more prompt information. For example, the VCU needs to transmit more and more information to the vehicle computer or instrument cluster, resulting in an increasing number of transmission signals. Since transmission signals, information to be transmitted, prompt information, and the corresponding relationships between them are typically stored in the SDB (Signal Database), adding transmission signals requires modifying the SDB. This long-term SDB modification cycle significantly impacts vehicle computer software development efficiency.
[0004] Currently, the frequency of SDB changes is often reduced by pre-setting multiple transmission signals in the SDB at once. However, since each transmission signal requires one bit, setting multiple transmission signals will occupy a large number of bit resources and increase network load.
[0005] Summary of the Invention
[0006] The problem solved by the present invention is how to reduce the frequency of SDB changes without occupying a large amount of bit resources, so as to improve the development efficiency of vehicle software.
[0007] To solve the above problems, the present invention provides a signal generating method, a signal transmitting method, a storage medium and a vehicle.
[0008] In a first aspect, the present invention provides a signal generation method, comprising:
[0009] Obtaining a bit stream, the bit stream comprising a plurality of bits;
[0010] Dividing all the bits into category bits and information bits, assigning the category bits to a plurality of category values, and assigning the information bits to a plurality of information values; wherein the category values are used to represent the category of the information to be transmitted, and the information values are used to represent the meaning of the information to be transmitted;
[0011] Each of the category values is combined with each of the information values to obtain a plurality of transmission signals, each of the transmission signals including one of the category values and one of the information values.
[0012] Optionally, the number of the category bits and the number of the information bits are both at least one, and assigning the category bits to multiple category values and assigning the information bits to multiple information values includes:
[0013] Assigning a plurality of decimal values to all the category bits as a whole to obtain a plurality of the category values;
[0014] A binary value is assigned to each information bit to obtain the information value corresponding to each information bit.
[0015] Optionally, combining each of the category values with each of the information values to obtain a plurality of transmission signals includes:
[0016] For one category value, the category value is combined with the information value of each information bit to obtain a plurality of transmission signals corresponding to the category value.
[0017] Optionally, after combining the category values with the information values to obtain a plurality of transmission signals, the signal generation method further includes:
[0018] In response to a handshake success signal between the sending end and the receiving end, the information to be transmitted output by the sending end, the prompt information set by the receiving end and one of the transmission signals are stored in correspondence.
[0019] Optionally, the storing the information to be transmitted, the prompt information, and the transmission signal in correspondence with each other includes:
[0020] A signal arrangement table is established according to the correspondence between the information to be transmitted, the prompt information and the transmission signal.
[0021] In a second aspect, the present invention provides a signal transmission method, comprising:
[0022] Get multiple pieces of information to be delivered;
[0023] Determine a transmission signal corresponding to each of the information to be transmitted, wherein each of the information to be transmitted corresponds to one transmission signal, and the transmission signal is obtained by using the signal generation method as described in the first aspect;
[0024] The transmission signals are sequentially sent to the receiving end in a round-robin manner.
[0025] Optionally, the sending of each of the transfer signals to the receiving end in sequence in a round-robin manner includes:
[0026] The transmission signals corresponding to different category values are sent to the receiving end in a round-robin manner, wherein all the transmission signals corresponding to the same category value are transmitted in parallel.
[0027] In a third aspect, the present invention provides a signal transmission method, comprising:
[0028] Receive each transmission signal sent by the sending end;
[0029] Determining prompt information corresponding to each of the transmission signals, wherein each of the prompt information corresponds to one of the transmission signals, and the transmission signals are obtained by using the signal generation method described in the first aspect;
[0030] The prompt information is output for display.
[0031] In a fourth aspect, the present invention provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the signal generation method as described in the first aspect, or the signal transmission method as described in the second aspect, or the signal transmission method as described in the third aspect is implemented.
[0032] In a fifth aspect, the present invention provides a vehicle comprising a memory and a processor;
[0033] The memory is used to store computer programs;
[0034] The processor is configured to implement the signal generation method as described in the first aspect, the signal transmission method as described in the second aspect, or the signal transmission method as described in the third aspect when executing the computer program.
[0035] The signal generation method, signal transmission method, storage medium, and vehicle of the present invention have the following advantages: a bit stream comprising multiple bits is obtained, wherein the number of bits is typically a positive integer multiple of 8. All bits are divided into category bits and information bits, and the category bits are assigned multiple category values, and the information bits are assigned multiple information values. Compared to a single bit, which can only take the value 0 or 1, the category bits and / or information bits comprising multiple bits can take decimal values. For example, a category bit consisting of 5 bits can represent up to 32 category values, from 0 to 31. Combining each category value with each information value yields a large number of transmission signals. The transmission signals can correspond to the information to be transmitted by the transmitter and the prompt information of the receiver, respectively. For example, the transmission signals correspond to the information to be transmitted output by a first vehicle-mounted device and the prompt information set by a second vehicle-mounted device. The category value represents the category of the information to be transmitted and can distinguish transmission signals of different categories. The information to be transmitted may include vehicle-mounted signals output by the vehicle-mounted devices. The information value represents the meaning of the information to be transmitted and can distinguish transmission signals of the same category, thus avoiding confusion between transmission signals. The present invention uses a small amount of bit resources to generate a large number of transmission signals in advance, avoiding frequent changes to the SDB later, improving the efficiency of vehicle software development, and at the same time reducing the occupation of bit resources, lowering the network load, and saving network resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic flow chart of a signal generating method according to an embodiment of the present invention;
[0037] FIG2 is a schematic diagram of a signal arrangement table according to an embodiment of the present invention;
[0038] FIG3 is a schematic flow chart of a signal transmission method according to an embodiment of the present invention;
[0039] FIG4 is a schematic diagram of sending transfer signals corresponding to different category values according to an embodiment of the present invention;
[0040] FIG5 is a schematic flow chart of another signal transmission method according to an embodiment of the present invention;
[0041] FIG6 is an interactive schematic diagram of a signal transmission method according to an embodiment of the present invention;
[0042] FIG7 is a schematic diagram of receiving transmission signals corresponding to different category values according to an embodiment of the present invention;
[0043] FIG8 is a schematic structural diagram of a signal generating device according to an embodiment of the present invention;
[0044] FIG9 is a schematic structural diagram of a signal transmission device according to an embodiment of the present invention;
[0045] FIG10 is a schematic structural diagram of another signal transmission device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.
[0047] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0048] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0049] It should be noted that the modifications of "one" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0050] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0051] In existing technology, multiple transmission signals are often pre-configured in the SDB to reduce the frequency of SDB changes. Since each transmission signal occupies one bit, configuring multiple transmission signals requires multiple bits. For example, if 16 bits are used, and each bit represents a transmission signal, a total of 16 transmission signals can be represented. However, a vehicle's head unit and instrument clusters need to display hundreds of pieces of information. Setting a bit for each corresponding transmission signal would require hundreds of bits, placing a heavy network load.
[0052] To address the aforementioned problems with the prior art, embodiments of the present invention provide a signal generation method, a signal transmission method, an apparatus, a storage medium, and a vehicle. It should be noted that while the embodiments of the present invention describe the signal generation method, signal transmission method, and apparatus in detail using vehicle signal transmission as an example, the signal generation method, signal transmission method, and apparatus of the present invention are not limited to processing vehicle signals and can also be applied to signal transmission between other devices.
[0053] As shown in FIG1 , an embodiment of the present invention provides a signal generation method, including:
[0054] S110: Acquire a bit stream, where the bit stream includes multiple bits.
[0055] Specifically, the number of bits is positively correlated with the total amount of information to be transmitted, and the number of bits in the bit stream can be determined based on the total amount of information to be transmitted (which may include the current amount of information to be transmitted and the designed amount of information to be transmitted in the future).
[0056] For example, the bit stream may include 8 bits, 16 bits, and 32 bits. The maximum amount of information that can be transmitted by bit streams of different bit numbers can be predetermined, and the number of bits of the corresponding bit stream is selected according to the total amount of information to be transmitted. For example, an 8-bit bit stream can transmit a maximum of 128 pieces of information, and a 16-bit bit stream can transmit a maximum of 32768 pieces of information. If the total amount of information to be transmitted is 320, a 16-bit bit stream is selected.
[0057] S120, dividing all the bits into category bits and information bits, assigning the category bits to multiple category values, and assigning the information bits to multiple information values; wherein the category values are used to represent the category of the information to be transmitted, and the information values are used to represent the meaning of the information to be transmitted.
[0058] Specifically, a portion of the bits in the bit stream are set as class bits, and the rest as information bits. For example, 5 of the 16 bits are set as class bits, and 11 are set as information bits. Multiple class values are obtained by assigning multiple different values to the class bits, and multiple information values are obtained by assigning multiple different values to the information bits.
[0059] For example, the 5-bit category bit can be assigned to multiple category values (the maximum number is 2 5 In addition, the 11 information bits can be assigned to multiple information values (the maximum number is 2 11 ), or assign values to the 11 information bits respectively to obtain multiple information values corresponding to the 11 information bits respectively (the number is at most 11).
[0060] It should be noted that since the more information is transmitted, the longer the transmission cycle is, after determining the number of bits in the bit stream, when dividing the category bits and information bits, on the premise of meeting the total amount of information to be transmitted, it is possible to adopt a division scheme that generates fewer transmission signals.
[0061] Table 1 The amount of information that can be transmitted by a 16-bit bit stream under different partitioning schemes
[0062] As shown in Table 1, if the total amount of information to be transmitted is 320, after determining to select a 16-bit bit stream, a division scheme can be adopted in which 5 bits are divided into category bits and 11 bits are divided into information bits. Among them, the 5 category bits are assigned a decimal value as a whole, and each information bit is assigned a binary value. That is, one information bit transmits one piece of information. The transmission signal generated by this scheme can transmit a maximum of 352 pieces of information, which can shorten the transmission cycle while meeting the demand for the information to be transmitted.
[0063] S130 , combining each of the category values with each of the information values to obtain a plurality of transmission signals, each of the transmission signals including one of the category values and one of the information values.
[0064] Specifically, the category value and the information value are combined to obtain a plurality of transmission signals, each transmission signal includes a category value and an information value, and the category value can also be used to distinguish each transmission signal.
[0065] In this embodiment, a bit stream comprising multiple bits is obtained, where the number of bits is typically a positive integer multiple of 8. All bits are divided into class bits and information bits. The class bits are assigned multiple class values, and the information bits are assigned multiple information values. Compared to a single bit, which can only take the value 0 or 1, the class bits and / or information bits comprising multiple bits can take decimal values. For example, a class bit consisting of 5 bits can represent up to 32 class values, from 0 to 31. Combining each class value with each information value yields a large number of transmission signals. The transmission signals can correspond to the information to be transmitted by the transmitter and the prompt information provided by the receiver. For example, the transmission signals can correspond to the information to be transmitted output by the first vehicle-mounted device and the prompt information set by the second vehicle-mounted device. The class value represents the category of the information to be transmitted and can distinguish transmission signals of different categories. The information to be transmitted may include vehicle-mounted signals output by the vehicle-mounted device. The information value represents the meaning of the information to be transmitted and can distinguish transmission signals of the same category, thus avoiding confusion between transmission signals. This embodiment uses a small amount of bit resources to generate a large number of transmission signals in advance, avoiding frequent changes to the SDB later, improving the efficiency of vehicle software development, and reducing the use of bit resources, lowering network load, and saving network resources.
[0066] Optionally, the number of the category bits and the number of the information bits are both at least one, and assigning the category bits to multiple category values and assigning the information bits to multiple information values includes:
[0067] S121, assigning multiple decimal values to all the category bits as a whole to obtain multiple category values.
[0068] Specifically, each class bit can only represent a binary value of 0 or 1, but all class bits considered as a whole can represent a decimal value.
[0069] S122, assigning a binary value to each information bit respectively to obtain the information value corresponding to each information bit.
[0070] Specifically, each information bit is used independently, and each information bit can only represent a binary value of 0 or 1.
[0071] For example, for a 16-bit bitstream, assuming the upper 5 bits (bits 11 to 15) are the category bits, the five category bits can represent 32 decimal values from 0 to 31. The lower 11 bits (bits 0 to 10) are information bits, each of which corresponds to a transmission signal. Thus, bits 0 to 10 can generate 11 different signals. The combination of the category bits and the information bits can generate up to 352 transmission signals.
[0072] It's understood that when transmitting fault information, a 0 (or 1) information bit typically indicates a normal device state. A 1 (or 0) information bit typically transmits a fault signal, indicating a device failure. Vehicle computers and instrument clusters typically only output fault information to alert the driver when a device fails; they don't need to output fault information when the device is operating normally.
[0073] It should be noted that all information bits can also be assigned multiple decimal values, and the transmission signal composed of the category bits and information bits can be transmitted serially, thereby increasing the amount of information that can be transmitted. However, this approach requires changing the logic of the existing technology, where each bit represents a transmission signal. In this optional embodiment, each information bit is used independently, and a single information bit is assigned a binary value. If the number of transmission signals generated can meet the transmission requirements of the information to be transmitted, the information bits corresponding to the same category value can be transmitted in parallel, thereby improving signal transmission efficiency.
[0074] Optionally, combining each of the category values with each of the information values to obtain a plurality of transmission signals includes:
[0075] For one category value, the category value is combined with the information value of each information bit to obtain a plurality of transmission signals corresponding to the category value.
[0076] Continuing with the previous example, when the category value is 0, bits 0 through 10 can represent 11 types of information. Combining the category value with the information value of each information bit yields 11 different transmission signals. When the category value is 1, bits 0 through 10 can again represent 11 types of information. Combining the category value with the information value of each information bit yields 11 different transmission signals. Similarly, when the category value is 31, 11 different transmission signals are also possible. Therefore, when a 16-bit bit stream is divided into 5 category bits and 11 information bits, a maximum of 352 transmission signals can be generated.
[0077] Optionally, after combining the category values with the information values to obtain a plurality of transmission signals, the signal generation method further includes:
[0078] In response to a handshake success signal between the sending end and the receiving end, the information to be transmitted output by the sending end, the prompt information set by the receiving end and one of the transmission signals are stored in correspondence.
[0079] Specifically, the prompt information may include a prompt method and prompt text. The prompt method may include a pop-up window on the vehicle computer and the lighting of a corresponding signal light. The prompt text may include the text content in the pop-up window on the vehicle computer. The sending end can set the information to be transmitted, and the receiving end can set the corresponding prompt information. The sending end and the receiving end then shake hands. When the handshake between the sending end and the receiving end is successful, a pre-generated transmission signal can be activated. This transmission signal is bound to the information to be transmitted output by the sending end and the prompt information set by the receiving end, and then stored accordingly.
[0080] In this optional embodiment, when the receiving end needs to display new prompt information, that is, the sending end needs to transmit new information to be transmitted (information not bound to the transmission signal) to the receiving end, the sending end and the receiving end only need to shake hands and reach an agreement to enable the unused transmission signal resources, and bind a pre-generated transmission signal to the information to be transmitted and the prompt information without changing the SDB, thereby shortening the development cycle of the vehicle software and improving the development efficiency of the vehicle software.
[0081] Optionally, the storing the information to be transmitted, the prompt information, and the transmission signal in correspondence with each other includes:
[0082] A signal arrangement table is established according to the correspondence between the information to be transmitted, the prompt information and the transmission signal.
[0083] Specifically, all pre-generated transfer signals can be stored in a signal arrangement table, wherein each transfer signal can be arranged according to the category value, and each transfer signal with the same category value is arranged together. For example, in FIG2 , each transfer signal with a category value of 0 is arranged together, so as to improve the neatness and intuitiveness of the signal arrangement table.
[0084] When it is necessary to establish a correspondence between the information to be transmitted, the prompt information and the transmission signal, an unenabled transmission signal can be determined in the corresponding category value according to the category of the information to be transmitted, and the signal to be transmitted and the prompt information can be stored in the position corresponding to the transmission signal in the signal arrangement table.
[0085] For example, in the signal arrangement table shown in Figure 2, the application field corresponds to the category value, indicating the category and field of the information to be transmitted; the combination of the category value and the bit position (i.e., bit0 to bit10) represents the transmission signal; the ECU internal signal represents the information to be transmitted at the sending end; the meaning represents the specific meaning of the ECU internal signal; and the textual language represents the prompt information displayed by the receiving end in the form of a pop-up window on the vehicle computer.
[0086] Each category value and each bit position can be pre-arranged in a signal arrangement table as multiple transmission signals. The application areas corresponding to each category value can also be pre-defined. When the transmission signal needs to be activated, the sender and receiver can reach an agreement through handshake to achieve the binding of the information to be transmitted, the prompt information, and the transmission information.
[0087] For example: set the information to be transmitted "EngFailure" at the sending end, and set the prompt message "The engine cannot run, please arrange the trip according to the pure electric driving range" at the receiving end. When the sending end and the receiving end shake hands successfully, find the application field "Engine Maintenance Category" corresponding to the category of the information to be transmitted "EngFailure" in the signal arrangement table, and then find the corresponding 11 transmission signals. You can select the unenabled transmission signals in turn. Select the first transmission signal (category value 0+bit0) corresponding to the application field "Engine Maintenance Category" in Figure 2, and fill in the corresponding positions of the transmission signal with the information to be transmitted "EngFailure" and the prompt message "The engine cannot run, please arrange the trip according to the pure electric driving range", that is, the corresponding positions of the first row in the signal arrangement table shown in Figure 2. You can also fill in the specific meaning of the information to be transmitted "EngFailure" "Engine cannot run prompt" into the corresponding position of the first row.
[0088] Similarly, the application field corresponding to the transmission information "GPFRefresh" is also "Engine Maintenance Category". When binding the transmission information with the prompt information "Gasoline particulate filter is actively regenerating, please keep the engine running" and the transmission signal, the 11 transmission signals corresponding to the application field "Engine Maintenance Category" are selected in turn from the unenabled transmission signals, that is, the second transmission signal (category value 0+bit1) corresponding to the application field "Engine Maintenance Category" is selected. The other processes are the same as the above binding process and will not be repeated here.
[0089] As shown in FIG3 and FIG6 , an embodiment of the present invention provides a signal transmission method, which can be applied to a transmitting end, including:
[0090] S210: Acquire multiple pieces of information to be transmitted.
[0091] Specifically, the information to be transmitted may include fault information, instruction information, and other information that needs to be displayed.
[0092] S220: Determine a transmission signal corresponding to each of the information to be transmitted, wherein each of the information to be transmitted corresponds to one transmission signal, and the transmission signal is obtained by using the signal generation method as described in the first aspect.
[0093] Specifically, the transmission signal corresponding to each piece of information to be transmitted can be determined in a pre-established signal arrangement table. The transmitting end and the receiving end can respectively perform round-robin transmission and round-robin reception based on the signal arrangement table.
[0094] S230, sending each of the transmission signals to the receiving end in turn in a round-robin manner.
[0095] Specifically, each transmission signal may be sent to the receiving end in sequence. After the last transmission signal is sent, each transmission signal may be sent to the receiving end in sequence again starting from the first transmission signal, and the cycle continues.
[0096] In this embodiment, multiple pieces of information to be transmitted are obtained, and the corresponding transmission signals are determined based on the pre-established correspondence between the information to be transmitted and the transmission signals. Each transmission signal is then sent sequentially to the receiving end using a round-robin transmission method, thereby achieving signal transmission from the transmitting end to the receiving end. The large number of pre-generated transmission signals avoids the need to frequently modify the SDB to add transmission signals, improving the efficiency of vehicle-mounted computer software development. Furthermore, only a small number of bit resources are required, reducing network load and conserving network resources.
[0097] Optionally, the sending of each of the transfer signals to the receiving end in sequence in a round-robin manner includes:
[0098] The transmission signals corresponding to different category values are sent to the receiving end in a round-robin manner, wherein all the transmission signals corresponding to the same category value are transmitted in parallel.
[0099] For example, for a 16-bit bit stream, assuming the upper 5 bits (bits 11 to 15) of the bit stream are class bits, which can be represented by a rolling counter (RC), and the lower 11 bits (bits 0 to 10) are information bits, the 5-bit class bit set can represent values from 0 to 31. The class value is rotated from 0 to 31, changing once per calculation cycle. The transmitter sends all transmission signals corresponding to the class value to the receiver each time.
[0100] Specifically, if the calculation period is 10ms, as shown in FIG4 , the category value RC is initially 0, and all transmission signals (signal 1 to signal 11) with a category value RC of 0 are transmitted in parallel to the receiving end; after 10ms, the category value RC is incremented to 1, and all transmission signals (signal 12 to signal 22) with a category value RC of 1 are transmitted in parallel to the receiving end; and so on, when the time reaches 310ms, the category value RC is 31, and all transmission signals (signal 342 to signal 352) with a category value RC of 31 are transmitted in parallel to the receiving end; when the time continues to increment and reaches 320ms, the category value RC becomes 1 again, and all transmission signals (signal 1 to signal 11) with a category value RC of 1 are transmitted in parallel to the receiving end, and the cycle continues.
[0101] Among them, when the sending end sends the transmission signal, there are at most 11 transmission signals of the same category value, and the category value can take at most 32 numerical values. The two are multiplied together. Therefore, when a 16-bit bit stream is used and divided into 5 category bits and 11 information bits, the sending end can send at most 352 transmission signals, that is, a maximum of 352 pieces of information to be transmitted can be sent to the receiving end.
[0102] In this optional embodiment, the transmission signals corresponding to different category values are sent to the receiving end in rotation, and the transmission signals corresponding to the same category value are sent in parallel. Compared with sending each transmission signal to the receiving end in sequence using a serial transmission method, this can improve the signal transmission efficiency and shorten the signal transmission cycle.
[0103] As shown in FIG5 and FIG6 , an embodiment of the present invention provides a signal transmission method, which can be applied to a receiving end, including:
[0104] S310, receiving various transmission signals sent by the transmitting end;
[0105] S320, determining prompt information corresponding to each of the transmission signals, wherein each of the prompt information corresponds to one of the transmission signals, and the transmission signals are obtained by using the signal generation method described above;
[0106] S330: Output the prompt information for display.
[0107] For example, for a 16-bit bit stream, assume that the upper 5 bits (bits 11 to 15) of the bit stream are the category bits, and the lower 11 bits (bits 0 to 10) are the information bits. The receiving end receives the transmission signal in a round-robin manner. After receiving the transmission signal, the receiving end first identifies the value of its upper 5 bits (bits 11 to 15), parses it into a decimal rolling counter (message counter), and defines it as the category value; then identifies its lower 11 bits (bits 0 to 10), parses the value of each bit, and determines the corresponding prompt information.
[0108] Specifically, when the receiving end initially receives the transmission signal, as shown in Figure 7, when the category value of the transmission signal is identified as 0 (i.e., If RC = 0), signals 1 to 11 of bit 0 to bit 10 are parsed bit by bit, and the prompt information corresponding to the information value of each parsed information bit is determined; when the category value of the transmission signal is identified as 1 (i.e., If RC = 1), signals 11 to 22 of bit 0 to bit 10 are parsed bit by bit again, and the prompt information corresponding to the information value of each parsed information bit is determined; and so on, when the category value of the transmission signal is identified as 31 (i.e., If RC = 31), signals 342 to 352 of bit 0 to bit 10 are parsed bit by bit, and the prompt information corresponding to the information value of each parsed information bit is determined.
[0109] The sending end can send a maximum of 352 pieces of information to be transmitted to the receiving end. Correspondingly, the receiving end can output 352 prompt messages.
[0110] In this embodiment, each transmission signal sent by the receiving end is received, and the corresponding prompt information can be determined from the pre-established correspondence between transmission signals and prompt information. The prompt information is then output to the vehicle computer and instrument cluster for display, thereby achieving signal transmission from the sending end to the receiving end. The large number of pre-generated transmission signals avoids the need to frequently modify the SDB to add transmission signals, improving the efficiency of vehicle computer software development. It also requires only a small number of bit resources, reducing network load and conserving network resources.
[0111] As shown in FIG8 , an embodiment of the present invention provides a signal generating device, including:
[0112] A first acquisition module is configured to acquire a bit stream, wherein the bit stream includes a plurality of bits;
[0113] a division module, configured to divide all the bits into category bits and information bits, assign the category bits to a plurality of category values, and assign the information bits to a plurality of information values; wherein the category values are used to represent the category of the information to be transmitted, and the information values are used to represent the meaning of the information to be transmitted;
[0114] The generating module is configured to combine each of the category values with each of the information values to obtain a plurality of transmission signals, each of the transmission signals including one of the category values and one of the information values.
[0115] The signal generating device of this embodiment is used to implement the signal generating method described above. Its advantages over the prior art are the same as those of the signal generating method described above over the prior art, and are not described in detail here.
[0116] Optionally, the number of the category bits and the number of the information bits are both at least one, and the division module is specifically used to: assign multiple decimal values to all the category bits as a whole to obtain multiple category values; assign binary values to each information bit respectively to obtain the information value corresponding to each information bit.
[0117] Optionally, the generating module is specifically configured to: for one category value, combine the category value with the information value of each information bit to obtain a plurality of transmission signals corresponding to the category value.
[0118] Optionally, the signal generating device also includes a binding module, which is used to: in response to a handshake success signal between the sending end and the receiving end, the information to be transmitted output by the sending end, and the prompt information set by the receiving end, store the information to be transmitted, the prompt information and one of the transmission signals in correspondence.
[0119] Optionally, the binding module is specifically configured to establish a signal arrangement table according to a correspondence between the information to be transmitted, the prompt information, and the transmission signal.
[0120] As shown in FIG9 , an embodiment of the present invention provides a signal transmission device, including:
[0121] A second acquisition module is used to acquire multiple pieces of information to be transmitted;
[0122] A first processing module is configured to determine a transmission signal corresponding to each of the information to be transmitted, wherein each of the information to be transmitted corresponds to one transmission signal, and the transmission signal is obtained by using the signal generation method described above;
[0123] The sending module is used to send each of the transmission signals to the receiving end in turn using a round-robin sending method.
[0124] Optionally, the sending module is specifically configured to: send the transfer signals corresponding to different category values to the receiving end in rotation, wherein all the transfer signals corresponding to the same category value are transmitted in parallel.
[0125] As shown in FIG10 , the present invention provides a signal transmission device, including:
[0126] A receiving module, used for receiving various transmission signals sent by the sending end;
[0127] A second processing module is configured to determine prompt information corresponding to each of the transmission signals, wherein each of the prompt information corresponds to one of the transmission signals, and the transmission signals are obtained by using the signal generation method described above;
[0128] The output module is used to output the prompt information for display.
[0129] An embodiment of the present invention provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the signal generation method or the signal transmission method described above is implemented.
[0130] A vehicle provided by an embodiment of the present invention includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement the signal generation method or the signal transmission method described above when executing the computer program.
[0131] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When executed, the program can include the processes of the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). In this application, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units can be selected according to actual needs to achieve the purpose of the embodiments of the present invention. In addition, the functional units in the various embodiments of the present invention can be integrated into a single processing unit, each unit can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or software functional units.
[0132] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A signal generation method, characterized in that: include: Obtaining a bit stream, the bit stream comprising a plurality of bits; Divide all the bits into category bits and information bits, assign the category bits to multiple category values, and assign the information bits to multiple information values; wherein the category value is used to represent the category of the information to be transmitted, and the information value is used to represent the meaning of the information to be transmitted; Each of the category values is combined with each of the information values to obtain a plurality of transmission signals, each of which includes one of the category values and one of the information values.
2. The signal generation method according to claim 1, characterized in that: The number of the category bits and the number of the information bits are both at least one, and assigning the category bits to multiple category values and assigning the information bits to multiple information values comprises: Assigning a plurality of decimal values to all the category bits as a whole to obtain a plurality of the category values; A binary value is assigned to each information bit respectively to obtain the information value corresponding to each information bit.
3. The signal generation method according to claim 2, characterized in that: The combining of each of the category values with each of the information values to obtain a plurality of transmission signals comprises: For one of the category values, the category value is combined with the information value of each of the information bits to obtain a plurality of the transmission signals corresponding to the category value.
4. The signal generating method according to any one of claims 1 to 3, characterized in that: After combining the category values with the information values to obtain a plurality of transmission signals, the signal generation method further includes: In response to a handshake success signal between the sending end and the receiving end, the information to be transmitted output by the sending end, the prompt information set by the receiving end and one of the transmission signals are stored correspondingly.
5. The signal generation method according to claim 4, characterized in that: The storing the information to be transmitted, the prompt information and the transmission signal in correspondence with each other comprises: A signal arrangement table is established according to the correspondence between the information to be transmitted, the prompt information and the transmission signal.
6. A signal transmission method, characterized in that: include: Get multiple pieces of information to be delivered; Determine a transmission signal corresponding to each of the information to be transmitted, wherein each of the information to be transmitted corresponds to one transmission signal, and the transmission signal is obtained by using the signal generation method according to any one of claims 1 to 5; The transmission signals are sent to the receiving end in turn in a round-robin manner.
7. The signal transmission method according to claim 6, characterized in that: The adopting a round-robin transmission mode to sequentially send each of the transmission signals to the receiving end comprises: The transmission signals corresponding to different category values are sent to the receiving end in turn, wherein all the transmission signals corresponding to the same category value are transmitted in parallel.
8. A signal transmission method, characterized in that: include: receiving each transmission signal sent by the transmitting end; Determine prompt information corresponding to each of the transfer signals, wherein each of the prompt information corresponds to one of the transfer signals, and the transfer signals are obtained by using the signal generation method according to any one of claims 1 to 5; The prompt information is output for display.
9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, it implements the signal generation method according to any one of claims 1 to 5, or the signal transmission method according to claim 6 or 7, or the signal transmission method according to claim 8.
10. A vehicle, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the signal generation method according to any one of claims 1 to 5, or the signal transmission method according to claim 6 or 7, or the signal transmission method according to claim 8 when executing the computer program.
Citation Information
Patent Citations
Message packaging method and message analysis method and device
CN102932285A
Slave module for monitoring electric system
CN107231270A
Vehicle and external interaction method and system
CN110789451A
Instrument information prompting method, device, equipment and system, and medium
CN111806369A
Off-line fault diagnosis system and method applied to vehicle instrument
CN113847939A