CN117614766A - CAN bus and MVB bus data conversion method, system and storage medium - Google Patents
CAN bus and MVB bus data conversion method, system and storage medium Download PDFInfo
- Publication number
- CN117614766A CN117614766A CN202311416800.7A CN202311416800A CN117614766A CN 117614766 A CN117614766 A CN 117614766A CN 202311416800 A CN202311416800 A CN 202311416800A CN 117614766 A CN117614766 A CN 117614766A
- Authority
- CN
- China
- Prior art keywords
- data
- mvb
- port
- preset
- bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 52
- 238000013507 mapping Methods 0.000 claims abstract description 129
- 238000004891 communication Methods 0.000 claims abstract description 32
- 230000005540 biological transmission Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 8
- 238000012545 processing Methods 0.000 description 15
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003137 locomotive effect Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/4026—Bus for use in automation systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
The application relates to the technical field of data networks, in particular to a CAN bus and MVB bus data conversion method, a system and a storage medium, wherein the method is summarized as follows: according to a sending source corresponding to the data receiving and sending instruction, acquiring a parameter group number in first data, the sending source of which is a CAN bus and accords with a preset communication standard, and aiming at the corresponding parameter group number in a preset configuration list, acquiring a corresponding MVB port as a first switching port according to the corresponding parameter group number in a preset mapping list, filling the first data into the first switching port and sending the first data to the MVB bus; and for the second data which is sent from the MVB bus and the corresponding MVB port is matched with the preset mapping table, acquiring the parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number, writing the second data into a data cache corresponding to the first exchange number, and sending the second data to the CAN bus. The method has the effect of effectively realizing data conversion and meeting control requirements.
Description
Technical Field
The present disclosure relates to the field of data networks, and in particular, to a method, a system, and a storage medium for converting data between a CAN bus and an MVB bus.
Background
The bus is a set of common information transmission lines capable of serving the components, and is a common channel for transmitting address, data and control information between the components of the computer system. Almost all buses transmit three types of information: data, address and control/status signals, each of which may be considered to be comprised of a data bus, an address bus and a control bus. The data bus is used to transfer data information between the various components/devices. The address bus is used to transfer address information between the CPU (or DMA controller) and the memory, I/O interface. The control bus is used to transfer control and status information between the CPU (or DMA controller) and the memory, I/O interface.
Currently, CAN bus and MVB bus are two types of data bus commonly used in the field of industrial control. The CAN bus is a field bus technology with high speed, low cost, low complexity and multiple purposes, and is widely used, especially in the fields of automobiles, industrial automation and the like. The MVB bus is a data communication mode specially used for a locomotive control system, and is mainly used for locomotive data communication and signal control. The CAN bus and the MVB bus have a great difference in function, speed, transmission mode and physical connection, but in practical application, the application ranges of the two buses gradually generate intersections in more and more places, and data conversion is required to meet the actual control requirements.
Therefore, in order to solve the above-mentioned problems, it is a urgent need for a person skilled in the art to provide a CAN bus and MVB bus data conversion method, system and storage medium capable of effectively implementing data conversion to meet control requirements.
Disclosure of Invention
In order to achieve the effect of effectively realizing data conversion and meeting control requirements, the application provides a CAN bus and MVB bus data conversion method, a system and a storage medium.
In a first aspect, the present application provides a data conversion between a CAN bus and an MVB bus, including the steps of:
acquiring a data receiving and transmitting instruction and a corresponding transmitting source;
if the sending source is a CAN bus, judging whether the first data read from the CAN bus accords with a preset communication standard or not;
if the preset communication standard is met, analyzing the message identifier of the first data to obtain a parameter group number;
if the corresponding parameter group number exists in the preset configuration list, acquiring a corresponding MVB port as a first switching port according to a preset mapping table;
filling the first data corresponding to the parameter set number into the first switching port;
the MVB port data of the first switching port is acquired and sent to an MVB bus;
If the sending source is an MVB bus, judging whether an MVB port corresponding to the second data read from the MVB bus is matched with the preset mapping table;
if the parameter group number is matched with the preset mapping table, acquiring the parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number;
writing the second data into a data cache corresponding to the first exchange number;
acquiring CAN data of the data cache and sending the CAN data to the CAN bus;
the preset mapping table is a preset mapping relation between the parameter set number and the MVB port, and the preset configuration list is a preset list including the known parameter set number.
Optionally, before the obtaining the data transceiving instruction and the corresponding sending source, the method further includes:
acquiring all the parameter group numbers of a preset configuration list and corresponding number periods and number data lengths;
taking the parameter group numbers with the same number period as the same number group to form i number groups;
sequentially allocating a plurality of MVB ports meeting the preset period requirement for each number group to form i allocation groups;
According to the number data length in each distribution group and the data length of the MVB port, forming a mapping relation between the parameter group number and the MVB port according to a preset length requirement;
and forming the preset mapping tables of the MVB port and all the parameter group numbers of the preset configuration list according to the mapping relation.
Optionally, the preset period is t1= 2^t and is equal to or less than T2, T1 is a port period of the MVB port, T2 is the number period, T is equal to or less than 0 and is equal to or less than 10, and T is the maximum value.
Optionally, the preset length requirement is that a sum of the number data lengths of the parameter set numbers is smaller than or equal to a sum of the data lengths of the corresponding MVB ports.
Optionally, the sequentially allocating a plurality of MVB ports satisfying a preset period requirement for each number group, and forming i allocation groups includes:
obtaining the number period of the jth number group, wherein j is more than or equal to 1 and less than i;
acquiring the MVB port meeting the preset period requirement according to the number period as a selected MVB port;
combining the selected MVB port with the parameter group number group corresponding to the number period to form a j-th allocation group;
And taking j+1 as updated j and returning to the step of acquiring the number period of the jth number group, and circulating until the updated j is equal to i.
Optionally, the forming the mapping relationship between the parameter set number and the MVB port according to the preset length requirement according to the number data length in each allocation group and the data length of the MVB port includes:
acquiring all the number data lengths and the MVB ports in the kth allocation group, wherein k is more than or equal to 1 and less than i;
acquiring the data length of the MVB port;
according to the number data length from large to small and the preset length requirement, distributing the longest data length in the rest MVB ports;
forming a kth group mapping according to the corresponding parameter group number and the MVB port;
taking k+1 as updated k and returning to the step of acquiring all the number data lengths and the MVB ports in the kth allocation group, and circulating until the updated k is equal to i;
and combining all the mappings to form the mapping relation between the parameter set numbers and the MVB ports.
Optionally, after the parsing the message identifier of the first data to obtain the parameter set number if the preset communication standard is met, the method further includes:
If the preset configuration list does not have the corresponding parameter group number, the parameter group number is used as a number to be fed back;
judging whether the preset configuration list has an updated version or not;
if the updated version is not available, the number to be fed back and the corresponding first data are recorded to form a first feedback record;
if the updated version exists, updating the preset configuration list according to the updated version;
judging whether the parameter group number corresponding to the number to be fed back is in the updated preset configuration list;
if yes, entering a step of acquiring a corresponding MVB port as a first switching port according to a preset mapping table if the corresponding parameter set number exists in a preset configuration list;
if not, the number to be fed back and the corresponding first data are recorded to form the first feedback record.
Optionally, after determining whether the MVB port corresponding to the second data read from the MVB bus matches the preset mapping table if the sending source is the MVB bus, the method further includes:
if the MVB port is not matched with the preset mapping table, the MVB port is used as a port to be confirmed;
Recording the port to be confirmed and storing the corresponding second data to form a second feedback record;
acquiring the occurrence number of the ports to be confirmed in the second feedback record;
if the occurrence number is larger than a preset occurrence threshold, the corresponding port to be confirmed is used as a port to be updated;
acquiring the second data corresponding to the port to be updated in the second feedback record as judging data;
if the judging data accords with a preset judging rule, updating the preset mapping table according to the port to be updated;
and if the judging data does not accord with the preset judging rule, deleting the corresponding second data and the corresponding record of the port to be confirmed from the second feedback record.
In a second aspect, the present application further provides a CAN bus and MVB bus data conversion system, including:
the first acquisition module is used for acquiring the data receiving and transmitting instruction and the corresponding transmitting source;
the first judging module is used for judging whether the first data read from the CAN bus accords with a preset communication standard or not if the sending source is the CAN bus;
the first analysis module is used for analyzing the message identifier of the first data to obtain a parameter group number if the first analysis module accords with the preset communication standard;
The second acquisition module is used for acquiring a corresponding MVB port as a first switching port according to a preset mapping table if the corresponding parameter set number exists in the preset configuration list;
the first filling module is used for filling the first data corresponding to the parameter set number into the first switching port;
the first sending module is used for obtaining MVB port data of the first switching port and sending the MVB port data to an MVB bus;
the second judging module is used for judging whether an MVB port corresponding to second data read from the MVB bus is matched with the preset mapping table or not if the transmission source is the MVB bus;
the third acquisition module is used for acquiring the parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number if the parameter group number is matched with the preset mapping table;
the first writing module is used for writing the second data into a data cache corresponding to the first exchange number;
the second sending module is used for obtaining CAN data of the data cache and sending the CAN data to the CAN bus;
the preset mapping table is a preset mapping relation between the parameter set number and the MVB port, and the preset configuration list is a preset list including the known parameter set number.
In a third aspect, the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements a CAN bus and MVB bus data conversion method according to any of the above.
In summary, according to the method, system and storage medium for converting CAN bus and MVB bus data provided in the present application, according to a transmission source corresponding to a data transceiving instruction, a parameter set number in first data whose transmission source is CAN bus and corresponds to a preset communication standard is obtained, and for a corresponding parameter set number in a preset configuration list, a corresponding MVB port is obtained in a preset mapping table as a first switching port, and the first data is filled into the first switching port and sent to the MVB bus; and the sending source is an MVB bus, the corresponding MVB port is matched with the second data of the preset mapping table, the parameter group number corresponding to the MVB port in the preset mapping table is obtained as the first exchange number, and the second data is written into the data cache corresponding to the first exchange number and is sent to the CAN bus. Therefore, through the preset mapping table of the corresponding parameter group number and the MVB port, the data conversion between the CAN bus and the MVB bus is realized, and additional data rewriting or other processing is not needed, so that the effect of effectively realizing the data conversion and meeting the control requirement is achieved.
Drawings
Fig. 1 is a flow chart of one implementation of a CAN bus and MVB bus data conversion method according to an embodiment of the present application;
fig. 2 is a flow chart of one implementation of the CAN bus and MVB bus data conversion method in the embodiment of the present application;
fig. 3 is a flow chart of one implementation of the CAN bus and MVB bus data conversion method in the embodiment of the present application;
fig. 4 is a flow chart of one implementation of the CAN bus and MVB bus data conversion method in the embodiment of the present application;
fig. 5 is a flow chart of one implementation of the CAN bus and MVB bus data conversion method in the embodiment of the present application;
fig. 6 is a flow chart of one implementation of the CAN bus and MVB bus data conversion method in the embodiment of the present application;
fig. 7 is a schematic block diagram of one implementation of the CAN bus and MVB bus data conversion system according to the embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
In a first aspect, a method for converting data between a CAN bus and an MVB bus, as shown in fig. 1, includes the following steps:
s101, acquiring a data receiving and transmitting instruction and a corresponding transmitting source;
s102, if the sending source is a CAN bus, judging whether the first data read from the CAN bus accords with a preset communication standard;
s103, if the preset communication standard is met, analyzing the message identifier of the first data to obtain a parameter group number;
s104, if the preset configuration list has the corresponding parameter group number, acquiring a corresponding MVB port as a first switching port according to the preset mapping list;
s105, filling first data corresponding to the parameter group number into a first switching port;
s106, MVB port data of the first switching port are obtained and sent to an MVB bus;
s107, if the transmission source is an MVB bus, judging whether an MVB port corresponding to the second data read from the MVB bus is matched with a preset mapping table;
s108, if the parameter group number is matched with the preset mapping table, acquiring a parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number;
s109, writing the second data into a data cache corresponding to the first exchange number;
s110, acquiring CAN data of the data cache and sending the CAN data to a CAN bus;
The preset mapping table is a preset mapping relation between the designated parameter set number and the MVB port, and the preset configuration list is a preset list comprising known parameter set numbers.
It should be noted that, the data conversion method of the present application is applied to the protocol layer, and is a communication in a carrier sense mode, i.e. all devices in the bus of the protocol layer CAN receive data, so that no additional determination of a receiving address or a receiving destination is performed.
The data transmitting and receiving instruction in step S101 refers to an instruction corresponding to a request for transmitting data and expecting to be received, and the corresponding transmission source refers to the source of transmitting data, and the corresponding conversion mode needs to be determined according to the transmission source. In this embodiment, the source of transmission is a CAN bus or an MVB bus, and the destination is a MVB bus or a CAN bus, and the data conversion between the CAN bus or the MVB bus and other buses is not in the application range of the present application.
If the transmission source is the CAN bus, which indicates that the receiver is the MVB bus, the step S102 is executed to determine whether the first data read from the CAN bus meets the preset communication standard, and only the first data meeting the preset communication standard CAN acquire the parameter set number by analyzing the message identifier. The preset communication standard is a preset standard for judging whether the first data accords with a specific communication requirement, and in this embodiment, the preset communication standard is a J1939 communication standard.
It should be noted that, because the message transmission of the CAN protocol is a multi-master operation, any node on the network CAN actively send information to other nodes on the network at any time, and the parameter set number, i.e. PGN, is very important for the CAN protocol, and many electronic control units, i.e. ECU, recognize the parameter set number instead of the ID of the message when receiving the message, so that for the data or message sent from the CAN bus, the most important parameter or information is the parameter set number.
If the preset communication standard is not met, it is indicated that the parameter set number cannot be obtained by analyzing the message identifier, then the corresponding first data may be subjected to subsequent processing according to actual needs, for example, directly discarded, or transferred to other storage spaces to confirm the subsequent specific processing, which is not described herein.
If the preset communication standard is met, it is indicated that the parameter set number can be obtained by analyzing the message identifier, the step S103 of analyzing the message identifier of the first data is performed to obtain the parameter set number, and whether the parameter set number corresponds to the preset configuration list is determined. The preset configuration list is a preset list comprising known parameter group numbers.
If the preset configuration list has a corresponding parameter set number, which indicates that the parameter set number is a known parameter set number, the step S104 is executed to obtain a corresponding MVB port as the first switch port according to the preset mapping table. The preset mapping table is a preset mapping relationship between the designated parameter set numbers and the MVB ports, that is, each known parameter set number and each MVB port are mapped in advance.
After the first switch port corresponding to the parameter set number is obtained in step S104, step S105 is performed to fill the first data corresponding to the parameter set number into the first switch port, so that step S106 CAN be directly performed to obtain the MVB port data of the first switch port and send the MVB port data to the MVB bus, so that the user CAN directly read the first data of the CAN bus from the MVB port data.
If the transmission source is the MVB bus, which indicates that the receiving party is the CAN bus, the step S107 is executed to determine whether the MVB port corresponding to the second data read from the MVB bus matches the preset mapping table, and only the MVB port matching the preset mapping table CAN acquire the corresponding parameter set number.
If the preset mapping table is matched, the parameter set number corresponding to the acquired MVB port in the preset mapping table in step S108 is used as the first switching number, and the data transmission mode is adopted, and step S109 is executed to write the second data into the data buffer corresponding to the first switching number, and then step S110 is directly executed to acquire the CAN data of the data buffer and send the CAN data to the CAN bus, so that the user CAN directly read the second data of the MVB bus from the CAN data and send the second data to the CAN bus.
It should be noted that, in this embodiment, when data filling or data caching is performed, the mapping relationship between the corresponding parameter set number and the MVB port is directly obtained based on the preset mapping table, and no additional processing is required to be performed on the data, so that a data transparent transmission mode can be adopted, and after the data transparent transmission mode is read, the control requirements in the data transparent transmission mode can be directly obtained and realized.
According to the data conversion method provided by the embodiment, according to the sending source corresponding to the data receiving and sending instruction, the parameter group number in the first data, which is sent by the CAN bus and accords with the preset communication standard, is obtained, and for the parameter group number corresponding to the parameter group number in the preset configuration list, the corresponding MVB port is obtained in the preset mapping list and is used as the first exchange port, and the first data is filled into the first exchange port and is sent to the MVB bus; and for the second data with the transmission source of the MVB bus and the corresponding MVB port matched with the preset mapping table, acquiring the parameter group number corresponding to the MVB port in the preset mapping table as the first exchange number, writing the second data into the data cache corresponding to the first exchange number and transmitting the second data to the CAN bus. Therefore, through the preset mapping table of the corresponding parameter group number and the MVB port, the data conversion between the CAN bus and the MVB bus is realized, and additional data rewriting or other processing is not needed, so that the effect of effectively realizing the data conversion and meeting the control requirement is achieved.
In one implementation manner of this embodiment, as shown in fig. 2, before step S101, that is, before acquiring the data transceiving instruction and the corresponding transmission source, the method further includes:
s201, obtaining all parameter group numbers of a preset configuration list and corresponding number period and number data length;
s202, taking the parameter group numbers with the same number period as the same number group to form i number groups;
s203, sequentially distributing a plurality of MVB ports meeting the preset period requirement for each number group to form i distribution groups;
s204, according to the number data length in each allocation group and the data length of the MVB port, forming a mapping relation between the parameter group number and the MVB port according to a preset length requirement;
s205, forming a preset mapping table of the MVB port and all parameter group numbers of a preset configuration list according to the mapping relation.
As described above, the preset mapping table is required to be preset, and in this embodiment, the key of the preset mapping table is the parameter set number corresponding to CAN and the MVB port corresponding to MVB, and the mapping design is performed for the parameter set number and the MVB port, so that the common parameter or common index of the parameter set number and the MVB port needs to be selected, and in this embodiment, the period and the data length of the parameter set number and the MVB port are used as the mapping reference.
In practical application, step S201 is executed first, i.e. all parameter set numbers of the preset configuration list and corresponding number periods and number data lengths are obtained. The number period is a period corresponding to the parameter set number determined according to the J1939 communication standard, and the number data length is a data length corresponding to each parameter set number.
Because the port cycle of the MVB port is 1,2,4,8 … 1024 (2 n,0 n is less than or equal to 10) ms, and the number cycle of the parameter set number in the J1939 communication standard is not limited, and can be any time cycle other than 0, it is necessary to use the port cycle as the first requirement factor, and step S202 is executed first, i.e. the parameter set numbers with the same number cycle are used as the same number set, so as to form i number sets, and all the parameter set numbers are divided into i number sets by classifying the same number cycle into the same number set.
After i number groups with the same number period in the groups are formed, the number of the parameter group needs to be allocated to the MVB port, and step S203 is executed to allocate a plurality of MVB ports meeting the preset period requirement to each number group in sequence to form i allocation groups, so that a plurality of parameter group numbers and MVB ports meeting the preset period requirement are already provided in each allocation group. The preset period requirement is a matching requirement of a preset number period and a port period.
However, the data conversion cannot be realized by only allocating the plurality of parameter sets and the MVB ports in the same allocation set according to the period, because in practical application, the data length of the MVB ports is 2,4,8 … (2 x,1 x is less than or equal to 5), the number data length of the parameter sets is 0-1785, both are limited data lengths, and the two are required to be effectively matched according to the preset length requirement, so step S204 is performed, that is, the mapping relation between the parameter sets and the MVB ports is formed according to the number data length in each allocation set and the data length of the MVB ports and the preset length requirement, so that each parameter set number and each MVB port can have a unique corresponding mapping relation, and finally the preset mapping table of the MVB ports and all the parameter sets of the preset configuration list in step S205 is formed.
According to the data conversion method provided by the embodiment, the number groups of parameter group numbers with the same number period are distributed to MVB ports meeting the requirement of a preset period to form distribution groups, then the mapping relation between the parameter group numbers and the MVB ports is formed according to the number data length in each distribution group and the data length of the MVB ports and the requirement of the preset length, and further a preset mapping table is formed, so that the effect that each parameter group number and each MVB port can have a unique corresponding mapping relation is achieved.
In one implementation manner of this embodiment, the preset period requirement is t1= 2^t +.t2, T1 is the port period of the MVB port, T2 is the number period, T is 0+.ltoreq.10, and T takes the maximum value.
In practical use, different preset period requirements can be set according to the needs, and in this embodiment, the preset period requirement is t1= 2^t +.t2 and T takes a maximum value, for example, when the number period is 100ms, the port period should be 2≡6=64 ms, i.e. T takes a value of 6.
It should be noted that the above description does not limit that the parameter set numbers of the same number period correspond to only one MVB port, but may also correspond to MVB ports of the same port period.
In one implementation manner of this embodiment, the preset length requirement is that the sum of the number data lengths of the parameter set numbers is less than or equal to the sum of the data lengths of the corresponding MVB ports.
In practical use, different preset length requirements may be set according to the needs, where the preset length requirement adopted in the embodiment is that the sum of the number data lengths of the parameter set numbers is smaller than or equal to the sum of the data lengths of the corresponding MVB ports, for example, the number data lengths of the 3 parameter set numbers are respectively 1 byte, 2 bytes and 5 bytes, and then the corresponding MVB ports take 3 as x values in 8 bytes, that is 2^x. Of course, the number data length is 1 byte, 2 bytes and 3 bytes of the 3 parameter group numbers respectively, and the corresponding MVB port is still 8 bytes, but the real data is only the first 6 bytes of the MVB port, and the last 2 bytes are left with 0 blank.
Therefore, the allocation may be further understood as preferentially allocating one parameter group number having a number data length exactly equal to the data length of one MVB port, then allocating a plurality of parameter group numbers having a sum of number data lengths equal to the data length of one MVB port, reallocating a plurality of parameter group numbers having a sum of number data lengths equal to the sum of data lengths of a plurality of MVB ports, and finally reallocating a plurality of parameter group numbers having a sum of number data lengths smaller than the sum of data lengths of a plurality of MVB ports, and leaving a 0 at the MVB port.
In one implementation manner of this embodiment, as shown in fig. 3, step S203 sequentially allocates a plurality of MVB ports meeting a preset period requirement for each number group, and forming i allocation groups includes:
s301, obtaining a number period of a j number group, wherein j is more than or equal to 1 and less than i;
s302, acquiring an MVB port meeting the requirement of a preset period according to the number period as a selected MVB port;
s303, combining the selected MVB port with the parameter group number corresponding to the number period to form a j-th allocation group;
s304, taking j+1 as updated j and returning to the step of acquiring the number period of the j number group, and circulating until the updated j is equal to i.
Because there are a plurality of number groups, for example i number groups, a plurality of MVB ports meeting the requirement of the preset period need to be allocated to the numbers in sequence, and finally i allocation groups are formed.
The conditions of the end of the cycle are that j obtained by the last update is equal to i, and the cycle is ended, and the allocation groups obtained by each cycle are the required parameter group numbers with different number periods and the port periods of the MVB ports, so as to meet the requirement of the preset period.
In one implementation manner of this embodiment, as shown in fig. 4, step S204 includes, according to a preset length requirement, forming a mapping relationship between a parameter set number and an MVB port according to a number data length and a data length of the MVB port in each allocation group:
s401, acquiring the data length and MVB ports of all numbers in a kth allocation group, wherein k is more than or equal to 1 and less than i;
S402, acquiring the data length of an MVB port;
s403, sequentially distributing the longest data length of the rest MVB ports according to the preset length requirement from the large number data length to the small number data length;
s404, forming a kth group mapping according to the corresponding parameter group number and the MVB port;
s405, taking k+1 as updated k and returning to the step of acquiring all number data lengths and MVB ports in the kth allocation group, and circulating until the updated k is equal to i;
s406, combining all the mappings to form a mapping relation between the parameter set numbers and the MVB ports.
After the parameter group numbers and the MVB ports in each allocation group meet the preset period requirement, the parameter group numbers and the MVB ports only achieve the respective period matching, but the parameter group numbers and the MVB ports cannot meet the direct mapping relation of data conversion, in practical application, the parameter group numbers and the MVB ports are different in data length, so that a cyclic setting mode can be adopted to sequentially allocate the parameter group numbers in each allocation group according to the number data length from large to small and the preset length requirement, and the MVB ports corresponding to the data length meeting the requirement are allocated as allocation means.
The step S401 to the step S405 represent a cycle, and the condition for ending the cycle is that k obtained by the last update is equal to i, at this time, the cycle is ended, and the mapping obtained by each cycle is substituted into the step S406, that is, all the mappings are combined to form the mapping relationship between the parameter set number and the MVB port, so as to finally form the mapping relationship required by the data conversion method of the present application.
In one implementation manner of the present embodiment, as shown in fig. 5, in step S103, after parsing the message identifier of the first data to obtain the parameter set number if the predetermined communication standard is met, the method further includes:
s501, if no corresponding parameter group number exists in the preset configuration list, the parameter group number is used as a number to be fed back;
s502, judging whether a preset configuration list has an updated version or not;
s503, if no updated version exists, recording the number to be fed back and corresponding first data to form a first feedback record;
s504, if the updated version exists, updating a preset configuration list according to the updated version;
s505, judging whether the parameter group number corresponding to the number to be fed back is in the updated preset configuration list;
s506, if so, entering a step of acquiring a corresponding MVB port as a first switching port according to a preset mapping table if a corresponding parameter group number exists in a preset configuration list;
s507, if not, recording the number to be fed back and the corresponding first data to form a first feedback record.
In practical application, although the preset configuration list theoretically includes all the known parameter set numbers, with the update of the technology, it may happen that the newly added parameter set number is not added to the preset configuration list in time, or due to some abnormal reasons, for example, when the preset configuration list is read, part of data is lost, or when the preset configuration list is read fails, a blank list is caused, and similarly, it may happen that the parameter set number in the first data acquired from the CAN bus does not correspondingly appear in the preset configuration list.
If the preset configuration list does not have the corresponding parameter group number, the step S501 is executed to take the parameter group number as the number to be fed back, and according to the step S502, whether the preset configuration list has the judgment result of the updated version is judged, and the specific processing of the subsequent number to be fed back is selected.
If the update version is not available, the method in step S503 is executed to record the number to be fed back and the corresponding first data, so as to form a first feedback record, so that the manager or the actual operator performs subsequent processing on the number to be fed back and the corresponding first data according to the first feedback record.
It should be noted that, the updated version may be determined according to a version number, for example, the version number of the current preset configuration list is 1.1, and the version number of the preset configuration list stored in the server or the upper computer is 1.2, which indicates that there is an updated version; the data amount of the preset configuration list may also be determined according to the data amount, for example, 1123, and 1241, which is the data amount of the preset configuration list stored by the server or the upper computer, may also be regarded as an updated version; even, the method can be determined according to the size of the occupied space of the preset configuration list, for example, the occupied space of the current preset configuration list is 1.54M, and the occupied space of the preset configuration list stored by the server or the upper computer is 1.61M, so that the method can be regarded as updated version.
If there is an updated version, the step S504 is executed to update the preset configuration list according to the updated version, that is, update the current preset configuration list, and in the step S505, determine whether the parameter set number corresponding to the number to be fed back is in the updated preset configuration list, and select to execute the step S506 or the step S507 later according to the determination result.
If so, executing the step of entering the step S506, if the corresponding parameter set number exists in the preset configuration list, acquiring the corresponding MVB port as the first switch port according to the preset mapping table, i.e. if the corresponding parameter set number exists in the updated preset mapping table, acquiring the corresponding first switch port according to the preset mapping table, and executing the corresponding subsequent steps.
If not, the step S507 is executed to record the number to be fed back and the corresponding first data, so as to form a first feedback record, so that the manager or the actual operator performs subsequent processing on the number to be fed back and the corresponding first data according to the first feedback record.
In the data conversion method provided in this embodiment, when no corresponding parameter set number exists in the preset configuration list, whether the preset configuration list has an updated version is determined, whether the updated version has a corresponding parameter set number is selected to be re-determined according to whether the updated version has the updated version, or the number to be fed back and corresponding first data are recorded to form a first feedback record, so that whether the updated version has the corresponding parameter set number is determined according to the latest or effective preset configuration list, and instantaneity of the data conversion method is improved.
It should be added that in practical application, there may be multiple selectable update versions, and the specific selections are different in different situations, so if there is an update version, the preset configuration list is updated according to the update version, including:
if there are multiple preset configuration lists conforming to the update version judgment, if the update of the preset configuration list needs to occupy certain system resources and network resources, judging whether the current resources are larger than a resource threshold value, and selecting the follow-up execution step according to the judgment result.
If the current resource is not greater than the resource threshold, the current resource cannot support the resource required by updating the preset configuration list, and the preset configuration list with the occupied space smaller than the occupied threshold is obtained as a preset configuration list to be selected, namely, the preset configuration list corresponding to the occupied space smaller than the expected allowed by the occupied threshold is selected, wherein the occupied threshold is the available minimum occupied space.
After the preset configuration list to be selected is obtained, the preset configuration list with the highest version number is selected from the preset configuration list to be selected as an updated version, namely the occupied space is taken as a main consideration factor, and the version number is taken as a secondary consideration factor, so that the preset configuration list which meets the maximum occupied space under the premise of meeting the occupied threshold and corresponds to the latest version number can still be obtained as the updated version under the condition that resources are not supported, and the matching success rate of parameter set numbers or the information content in the first feedback record is considered under the premise of ensuring the updating success rate.
If the current resource is larger than the resource threshold, the current resource can support the resource required by updating the preset configuration list, and the preset configuration list with the largest occupied space is obtained to serve as an updated version, so that the updated preset configuration list can have the largest data, the matching success rate of the parameter group numbers is improved, or the information content in the first feedback record is increased.
If there is only one preset configuration list conforming to the update version judgment, the preset configuration list is used as the update version.
In each of the above cases, the predetermined configuration list is updated according to the updated version after the updated version is determined and unique.
In one implementation manner of the present embodiment, as shown in fig. 6, in step S107, if the transmission source is the MVB bus, after determining whether the MVB port corresponding to the second data read from the MVB bus matches the preset mapping table, the method further includes:
s601, if the MVB port is not matched with the preset mapping table, the MVB port is used as a port to be confirmed;
s602, recording a port to be confirmed and storing corresponding second data to form a second feedback record;
s603, obtaining the number of the ports to be confirmed in the second feedback record;
s604, if the occurrence number is larger than a preset occurrence threshold, taking the corresponding port to be confirmed as a port to be updated;
S605, obtaining second data corresponding to a port to be updated in a second feedback record as judging data;
s606, if the data are judged to accord with a preset judgment rule, updating a preset mapping table according to the port to be updated;
s607, if the judging data does not accord with the preset judging rule, deleting the corresponding second data and the corresponding record of the port to be confirmed from the second feedback record.
In practical application, the newly added MVB port may not be added to the preset mapping table in time, or due to some abnormal reasons, for example, when the preset mapping table is read, part of data is lost, or the blank mapping table is caused by the reading failure, and the situation that the MVB port in the second data acquired from the MVB bus does not appear in the preset mapping table correspondingly may also occur.
If the preset mapping table is not matched, the MVB port is used as the port to be confirmed in step S601, and step S602 is performed to record the port to be confirmed and store the corresponding second data, so as to form a second feedback record, so that the manager or the actual operator performs subsequent processing on the port to be fed back and the corresponding second data according to the second feedback record. The subsequent processing includes step S603, namely, obtaining the number of occurrence of the ports to be confirmed in the second feedback record, judging whether the number of occurrence is greater than a preset occurrence threshold, and selecting to execute step S604 or other steps according to the judging result.
If the number of occurrences is less than or equal to the preset occurrence threshold, indicating that the corresponding port to be confirmed has not reached the expected degree of needing to perform additional processing, storing the second feedback record for other subsequent processing.
If the number of the ports to be confirmed is greater than the preset occurrence threshold, it is indicated that the corresponding ports to be confirmed are to the extent that additional processing is required, that is, the corresponding MVB ports may actually need to be used, or the preset mapping table is abnormal, the corresponding ports to be confirmed are taken as the ports to be updated in step S604, and step S605 is executed to obtain the second data corresponding to the ports to be updated in the second feedback record as the determination data, and determine whether the determination data meets the preset determination rule.
It should be noted that, the preset determination rule is a preset rule for determining whether the corresponding port to be confirmed needs special processing according to the determination data, and the specific determination factor may be whether the conventional data transmission rule of the MVB port is met in the determination data, and whether the corresponding port itself exists in the conventional MVB port or the preset mapping table, etc. The special case includes that the port to be confirmed needs to be newly added to the preset mapping table or the preset mapping table needs to be read again.
If the judging data accords with the preset judging rule, the corresponding MVB port is confirmed to be required to be newly added to the preset mapping table, or the preset mapping table is abnormal and needs to be read again, the step S606 is executed to update the preset mapping table according to the port to be updated.
If the judging data does not accord with the preset judging rule, the corresponding MVB port is confirmed without being newly added to the preset mapping table, or the preset mapping table is not abnormal and is not read again, the step S607 is executed to delete the corresponding second data and the corresponding record of the port to be confirmed from the second feedback record.
According to the data conversion method provided by the embodiment, when the MVB port corresponding to the second data is not matched with the preset mapping table, the corresponding port to be confirmed is recorded and the corresponding second data is stored to form a second feedback record, whether the preset mapping table needs to be updated or not is confirmed by judging whether the occurrence number of the ports to be confirmed in the second feedback record is larger than the preset occurrence threshold value or not and judging whether the second data corresponding to the ports to be confirmed, of which the occurrence number is larger than the preset occurrence threshold value, accords with the preset judging rule or not, and whether the preset mapping table is updated or not is selected according to the MVB port or not, or whether the corresponding second data and the corresponding record of the ports to be confirmed are deleted from the second feedback record, so that when the MVB port is not matched with the preset mapping table, the corresponding second data and the preset judging rule are further judged, and the adaptability of the data conversion method is improved.
In a second aspect, the present application provides a CAN bus and MVB bus data conversion system, including:
the first acquisition module 1 is used for acquiring a data receiving and transmitting instruction and a corresponding transmitting source;
the first judging module 2 is used for judging whether the first data read from the CAN bus accords with a preset communication standard or not if the sending source is the CAN bus;
the first analyzing module 3 is configured to analyze the message identifier of the first data to obtain a parameter set number if the first analyzing module 3 meets a preset communication standard;
the second obtaining module 4 is configured to obtain, if the preset configuration list has the corresponding parameter set number, a corresponding MVB port according to the preset mapping table as the first switch port by the second obtaining module 4;
the first filling module 5 is configured to fill first data corresponding to the parameter set number into the first switch port;
the first sending module 6 is configured to obtain MVB port data of the first switch port and send the MVB port data to the MVB bus;
the second judging module 7, if the sending source is an MVB bus, the second judging module 7 is configured to judge whether an MVB port corresponding to the second data read from the MVB bus matches with a preset mapping table;
the third obtaining module 8 is configured to obtain, if the parameter set number matches the preset mapping table, the parameter set number corresponding to the MVB port in the preset mapping table as the first exchange number;
The first writing module 9 is configured to write the second data into a data cache corresponding to the first exchange number;
the second sending module 10 is used for obtaining the CAN data of the data cache and sending the CAN data to the CAN bus;
the preset mapping table is a preset mapping relation between the designated parameter set number and the MVB port, and the preset configuration list is a preset list comprising known parameter set numbers.
It should be noted that, the data transmission relationship or the logic connection relationship between the above functional modules may be determined according to the corresponding steps in the corresponding CAN bus and MVB bus data conversion method, which will not be described here again. The data transmission relation or the logic connection relation of each functional module is only used for understanding the CAN bus and MVB bus data conversion system, and is not particularly limited.
According to the CAN bus and MVB bus data conversion system provided by the embodiment, according to the transmission source corresponding to the data receiving and dispatching instruction, the parameter group number in the first data, which is the CAN bus and accords with the preset communication standard, is obtained, and for the parameter group number corresponding to the parameter group number in the preset configuration list, the corresponding MVB port is obtained in the preset mapping list and is used as a first exchange port, and the first data is filled into the first exchange port and is sent to the MVB bus; and for the second data with the transmission source of the MVB bus and the corresponding MVB port matched with the preset mapping table, acquiring the parameter group number corresponding to the MVB port in the preset mapping table as the first exchange number, writing the second data into the data cache corresponding to the first exchange number and transmitting the second data to the CAN bus. Therefore, through the preset mapping table of the corresponding parameter group number and the MVB port, the data conversion between the CAN bus and the MVB bus is realized, and additional data rewriting or other processing is not needed, so that the effect of effectively realizing the data conversion and meeting the control requirement is achieved.
Furthermore, in the CAN bus and MVB bus data conversion system provided in this embodiment, other functional modules may be set as needed, or the functional modules may be divided into a plurality of functional units, so as to achieve a technical effect corresponding to the CAN bus and MVB bus data conversion method of any one of the foregoing embodiments.
In a third aspect, the present application provides a computer readable storage medium, where a computer instruction is stored, where when the computer instruction is loaded and executed by a processor, the method for converting CAN bus and MVB bus data according to any one of the foregoing is used, and the technical effect corresponding to the method for converting CAN bus and MVB bus data according to any one of the foregoing CAN bus and MVB bus data is achieved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. Unless explicitly stated herein, the steps are not strictly limited to the order of execution, and may be executed in other orders, i.e., the order of execution may be reasonably ordered with respect to each other according to actual needs. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. The CAN bus and MVB bus data conversion method is characterized by comprising the following steps:
acquiring a data receiving and transmitting instruction and a corresponding transmitting source;
if the sending source is a CAN bus, judging whether the first data read from the CAN bus accords with a preset communication standard or not;
if the preset communication standard is met, analyzing the message identifier of the first data to obtain a parameter group number;
if the corresponding parameter group number exists in the preset configuration list, acquiring a corresponding MVB port as a first switching port according to a preset mapping table;
filling the first data corresponding to the parameter set number into the first switching port;
the MVB port data of the first switching port is acquired and sent to an MVB bus;
if the sending source is an MVB bus, judging whether an MVB port corresponding to the second data read from the MVB bus is matched with the preset mapping table;
if the parameter group number is matched with the preset mapping table, acquiring the parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number;
writing the second data into a data cache corresponding to the first exchange number;
acquiring CAN data of the data cache and sending the CAN data to the CAN bus;
The preset mapping table is a preset mapping relation between the parameter set number and the MVB port, and the preset configuration list is a preset list including the known parameter set number.
2. The method of claim 1, further comprising, prior to the obtaining the data transceiving instruction and the corresponding transmission source:
acquiring all the parameter group numbers of a preset configuration list and corresponding number periods and number data lengths;
taking the parameter group numbers with the same number period as the same number group to form i number groups;
sequentially allocating a plurality of MVB ports meeting the preset period requirement for each number group to form i allocation groups;
according to the number data length in each distribution group and the data length of the MVB port, forming a mapping relation between the parameter group number and the MVB port according to a preset length requirement;
and forming the preset mapping tables of the MVB port and all the parameter group numbers of the preset configuration list according to the mapping relation.
3. The data conversion method according to claim 2, wherein the preset period requirement is t1= 2^t +.t2, T1 is a port period of the MVB port, T2 is the number period, t+.10 and T takes a maximum value.
4. The data conversion method according to claim 2, wherein the sum of the number data lengths of the parameter set numbers is required to be the preset length is smaller than or equal to the sum of the data lengths of the corresponding MVB ports.
5. The data conversion method according to claim 2, wherein the sequentially allocating a plurality of MVB ports satisfying a preset period requirement to each of the number groups, forming i allocation groups includes:
obtaining the number period of the jth number group, wherein j is more than or equal to 1 and less than i;
acquiring the MVB port meeting the preset period requirement according to the number period as a selected MVB port;
combining the selected MVB port with the parameter group number group corresponding to the number period to form a j-th allocation group;
and taking j+1 as updated j and returning to the step of acquiring the number period of the jth number group, and circulating until the updated j is equal to i.
6. The data conversion method according to claim 2, wherein the forming the mapping relationship between the parameter set number and the MVB port according to the preset length requirement according to the number data length and the data length of the MVB port in each allocation group includes:
Acquiring all the number data lengths and the MVB ports in the kth allocation group, wherein k is more than or equal to 1 and less than i;
acquiring the data length of the MVB port;
according to the number data length from large to small and the preset length requirement, distributing the longest data length in the rest MVB ports;
forming a kth group mapping according to the corresponding parameter group number and the MVB port;
taking k+1 as updated k and returning to the step of acquiring all the number data lengths and the MVB ports in the kth allocation group, and circulating until the updated k is equal to i;
and combining all the mappings to form the mapping relation between the parameter set numbers and the MVB ports.
7. The method for data conversion according to claim 1, further comprising, after said parsing a message identifier of said first data to obtain a parameter set number if said predetermined communication standard is met:
if the preset configuration list does not have the corresponding parameter group number, the parameter group number is used as a number to be fed back;
judging whether the preset configuration list has an updated version or not;
if the updated version is not available, the number to be fed back and the corresponding first data are recorded to form a first feedback record;
If the updated version exists, updating the preset configuration list according to the updated version;
judging whether the parameter group number corresponding to the number to be fed back is in the updated preset configuration list;
if yes, entering a step of acquiring a corresponding MVB port as a first switching port according to a preset mapping table if the corresponding parameter set number exists in a preset configuration list;
if not, the number to be fed back and the corresponding first data are recorded to form the first feedback record.
8. The data conversion method according to claim 1, further comprising, after determining whether an MVB port corresponding to the second data read from the MVB bus matches the preset mapping table if the transmission source is an MVB bus:
if the MVB port is not matched with the preset mapping table, the MVB port is used as a port to be confirmed;
recording the port to be confirmed and storing the corresponding second data to form a second feedback record;
acquiring the occurrence number of the ports to be confirmed in the second feedback record;
if the occurrence number is larger than a preset occurrence threshold, the corresponding port to be confirmed is used as a port to be updated;
Acquiring the second data corresponding to the port to be updated in the second feedback record as judging data;
if the judging data accords with a preset judging rule, updating the preset mapping table according to the port to be updated;
and if the judging data does not accord with the preset judging rule, deleting the corresponding second data and the corresponding record of the port to be confirmed from the second feedback record.
9. A CAN bus and MVB bus data conversion system comprising:
the first acquisition module is used for acquiring the data receiving and transmitting instruction and the corresponding transmitting source;
the first judging module is used for judging whether the first data read from the CAN bus accords with a preset communication standard or not if the sending source is the CAN bus;
the first analysis module is used for analyzing the message identifier of the first data to obtain a parameter group number if the first analysis module accords with the preset communication standard;
the second acquisition module is used for acquiring a corresponding MVB port as a first switching port according to a preset mapping table if the corresponding parameter set number exists in the preset configuration list;
The first filling module is used for filling the first data corresponding to the parameter set number into the first switching port;
the first sending module is used for obtaining MVB port data of the first switching port and sending the MVB port data to an MVB bus;
the second judging module is used for judging whether an MVB port corresponding to second data read from the MVB bus is matched with the preset mapping table or not if the transmission source is the MVB bus;
the third acquisition module is used for acquiring the parameter group number corresponding to the MVB port in the preset mapping table as a first exchange number if the parameter group number is matched with the preset mapping table;
the first writing module is used for writing the second data into a data cache corresponding to the first exchange number;
the second sending module is used for obtaining CAN data of the data cache and sending the CAN data to the CAN bus;
the preset mapping table is a preset mapping relation between the parameter set number and the MVB port, and the preset configuration list is a preset list including the known parameter set number.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the CAN bus and MVB bus data conversion method according to any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311416800.7A CN117614766A (en) | 2023-10-30 | 2023-10-30 | CAN bus and MVB bus data conversion method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311416800.7A CN117614766A (en) | 2023-10-30 | 2023-10-30 | CAN bus and MVB bus data conversion method, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117614766A true CN117614766A (en) | 2024-02-27 |
Family
ID=89958615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311416800.7A Pending CN117614766A (en) | 2023-10-30 | 2023-10-30 | CAN bus and MVB bus data conversion method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117614766A (en) |
-
2023
- 2023-10-30 CN CN202311416800.7A patent/CN117614766A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12197345B2 (en) | Data processing method and NVMe storage device | |
US20140269754A1 (en) | Computer system and method for communicating data between computers | |
CN104166628B (en) | The methods, devices and systems of managing internal memory | |
US10284672B2 (en) | Network interface | |
CN103389945B (en) | Memory management method and device | |
CN101627580B (en) | Network component, method for the operation of such a network component, automation system comprising such a network component, method for transmitting data in an automation system by means of such a | |
CN116233036B (en) | DMA transmission control method and device | |
CN113259268A (en) | Network port and serial port data forwarding gateway and method supporting redundancy architecture | |
CN110166857B (en) | Method for realizing dynamic configuration of fiber channel switch | |
US7505476B2 (en) | Packet transfer path control apparatus and control program therefor | |
KR20070117264A (en) | FlexRay-Can Gateway Architecture and Message Mapping Methods | |
CN113141300B (en) | Communication gateway for transmitting data frames for motor vehicles | |
CN112367236B (en) | Data scheduling method and system of LIN bus | |
CN109286564B (en) | Message forwarding method and device | |
CN117614766A (en) | CAN bus and MVB bus data conversion method, system and storage medium | |
CN1317867C (en) | Interface circuit | |
JP2007221522A (en) | Polling device, terminal device, polling method and program | |
KR100930520B1 (en) | Methods and devices for processing queues in network systems | |
CN113138942B (en) | Communication gateway for transmitting data frames for motor vehicles | |
CN101635661B (en) | Switching HDLC bus | |
US6996103B1 (en) | Method and system for multicasting | |
CN117768418B (en) | Time-triggered switch with expandable port | |
US6728857B1 (en) | Method and system for storing and retrieving data using linked lists | |
CN112764666B (en) | Method, apparatus and computer program product for storage management | |
EP1222753A1 (en) | Parallel bus communications over a packet-switching fabric |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |