CN109861791A - A kind of preiodic type data message transmission method, system, device and storage medium - Google Patents

A kind of preiodic type data message transmission method, system, device and storage medium Download PDF

Info

Publication number
CN109861791A
CN109861791A CN201910052149.7A CN201910052149A CN109861791A CN 109861791 A CN109861791 A CN 109861791A CN 201910052149 A CN201910052149 A CN 201910052149A CN 109861791 A CN109861791 A CN 109861791A
Authority
CN
China
Prior art keywords
data message
allocated
range
message
period
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.)
Granted
Application number
CN201910052149.7A
Other languages
Chinese (zh)
Other versions
CN109861791B (en
Inventor
孙唯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN201910052149.7A priority Critical patent/CN109861791B/en
Publication of CN109861791A publication Critical patent/CN109861791A/en
Application granted granted Critical
Publication of CN109861791B publication Critical patent/CN109861791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of preiodic type data message transmission method, system, device and storage mediums.In the method, each data message is assigned identifier, and each data message is transmitted according to the transmission sequence that priority corresponding to respective identifier value size determines;Each identifier is through the following steps that distribute to each data message: according to the corresponding ID range to be allocated of each data message of the cycle set of each data message;Serial number in the group of each data message is calculated according to the permission maximum delay and transmission time of each data message;When the data message monopolizes serial number in a group, the data message is distributed to using to be allocated ID corresponding with serial number in the group in corresponding ID range to be allocated as identifier.The present invention overcomes the disadvantages for only considering that this excessively coarse index of load factor causes efficiency of transmission not high in the prior art.The present invention is widely used in technical field of data transmission.

Description

A kind of preiodic type data message transmission method, system, device and storage medium
Technical field
The present invention relates to technical field of data transmission, especially a kind of preiodic type data message transmission method, system, device And storage medium.
Background technique
In the application field of the bus-types data transmission system such as CAN and CANFD, often data are passed according to load factor Defeated system is configured.Load factor is the actual data transfer rate and theoretical maximum message transmission rate of data transmission system Ratio, it can reflect the service condition of Current bus resource, but cannot fully assess the validity and scalability of bus.
In the prior art, load factor is relied on generally to control data transmission system, such as will control target setting For " load factor is no more than 30% ", load factor is as to a parameter in data transmission system negative feedback control at this time.But Load factor itself is a very coarse index, and there is no consider bus-type data transmission system especially transmission cycle type Concrete technical problems when data message, one of them most significant problem are the delay issues of data transmission.In preiodic type number According in the transmission process of message, the transmission sequence of data message is determined by the identifier in data message, in general, mark The numerical value for knowing symbol is smaller, and the priority of the data message is higher, more first to be transmitted.In the prior art, identifier is set Count it is unreasonable, frequent occurrence the priority of macrocyclic data message be higher than short-period data message the case where, in this way, total In linear system system, the transmission of short-period data message is subject to the competition of macrocyclic data message, so that short-period number Very big according to the transmission delay of message, the overall delay of entire data transmission system can also become very big, seriously reduce data biography Defeated efficiency, if important information is stored in short-period data message, the transmission that will result in important information is slow.But The load factor that the prior art is relied on can not transmission delay the problem of, therefore around load factor design Data Transmission Controlling side Method cannot also solve the problems, such as transmission delay.
Summary of the invention
In order to solve the above-mentioned technical problem, the object of the invention is that providing a kind of preiodic type data message transmission method, being System, device and storage medium.
On the one hand, the embodiment of the present invention includes a kind of preiodic type data message transmission method, each data message quilts Allocation identification symbol, each data message according to priority corresponding to respective identifier value size determine transmission sequence into Row transmission;Each identifier is through the following steps that distribute to each data message:
According to the corresponding ID range to be allocated of each data message of the cycle set of each data message;
Serial number in the group of each data message is calculated according to the permission maximum delay and transmission time of each data message;Described group Interior serial number is described same for indicating data message putting in order in the data message set that multiple homogeneous data messages form Class data message is the data message for corresponding to identical ID range to be allocated;
It, will be corresponding with serial number in the group in corresponding ID range to be allocated when the data message monopolizes serial number in a group ID to be allocated distribute to the data message as identifier.
Further, when serial number in having the same group of multiple homogeneous data messages, following steps are executed:
Search the transmission source of the multiple homogeneous data message;
The message total issued to the transmission source found counts;
The message total issued by corresponding transmission source by as little as more sequences, to the multiple homogeneous data message into Row sequence;
It is distributed to using to be allocated ID corresponding with serial number in the group in corresponding ID range to be allocated as identifier described more The data message of sequence first in a homogeneous data message;
By other ID to be allocated after ID to be allocated corresponding with serial number in the group in corresponding ID range to be allocated by suitable Sequence is individually assigned to other data messages in the multiple homogeneous data message.
Further, the permission maximum delay of each data message is according to the corresponding transmission source of data message and to connect Receive terminal parameter setting.
Further, the permission maximum delay of each data message is the period according to data message and following corresponding pass System's setting:
Period 10ms: allow maximum delay 20%;
Period 20ms: allow maximum delay 18%;
Period 40ms or 50ms: allow maximum delay 15%;
Period 100ms, 200ms, 500ms or 100ms allow maximum delay 10%.
Further, the numerical values recited of the corresponding ID range to be allocated of each data message and the period of data message are big It is small that there is positive correlation.
Further, the corresponding ID range to be allocated of each data message be according to period of data message with it is right below It should be related to setting:
Period 10ms: ID stated range minimum 0x100 to be allocated, ID range maximum value 0x17F to be allocated;
Period 20ms: ID stated range minimum 0x180 to be allocated, ID range maximum value 0x1FF to be allocated;
Period 40ms: ID stated range minimum 0x200 to be allocated, ID range maximum value 0x24F to be allocated;
Period 50ms: ID stated range minimum 0x250 to be allocated, ID range maximum value 0x28F to be allocated;
Period 100ms: ID stated range minimum 0x290 to be allocated, ID range maximum value 0x34F to be allocated;
Period 200ms: ID stated range minimum 0x350 to be allocated, ID range maximum value 0x37F to be allocated;
Period 500ms or 100ms: ID stated range minimum 0x380 to be allocated, ID range maximum value 0x3FF to be allocated.
Further, the group that each data message is calculated according to the permission maximum delay and transmission time of each data message The step for interior serial number, calculation formula used wasIn formula, N is serial number in the group of data message, TdelayFor data The permission maximum delay of message, TCANFor the transmission time of data message.
On the other hand, the embodiment of the invention also includes a kind of preiodic type data-message transmission system, each data messages It is assigned identifier, each data message is suitable according to the transmission that priority corresponding to respective identifier value size determines Sequence is transmitted;The system comprises:
ID range determination module to be allocated, it is corresponding wait divide for each data message of cycle set according to each data message With ID range;
Serial number computing module in group, for calculating each data according to the permission maximum delay and transmission time of each data message Serial number in the group of message;Serial number is for indicating the datagram collected works that data message is formed in multiple homogeneous data messages in described group Putting in order in conjunction, the homogeneous data message are the data message for corresponding to identical ID range to be allocated;
Identifier distribution module, for when the data message monopolizes serial number in described group, inciting somebody to action corresponding ID model to be allocated To be allocated ID corresponding with serial number in the group, which is enclosed, as identifier distributes to the data message.
On the other hand, the embodiment of the invention also includes a kind of preiodic type data-message transmission devices, including memory and place Device is managed, the memory is for storing at least one program, and the processor is for loading at least one described program to execute Data message transmission method of the present invention.
On the other hand, the embodiment of the invention also includes a kind of storage mediums, wherein it is stored with the executable instruction of processor, The executable instruction of the processor is used to execute data message transmission method of the present invention when executed by the processor.
The beneficial effects of the present invention are: the present invention determines the mark that data message can be assigned to by the period of data message The range where numerical value is accorded with, is equivalent to and the priority of data message has substantially been determined, then most further according to the permission of data message Big delay and transmission time further confirm that the identifier of data message, that is, determine the priority of data message.The method of the present invention From the transmission priority for confirming data message according to the feature of data message itself, it is contemplated that entire bus-type data transmission system The bulk delay of all data messages transmitted in system so that the bulk delay of entire data transmission system be it is optimal, overcome Only consider that load factor this excessively coarse index causes transmission delay is excessive, efficiency of transmission is not high to lack in the prior art Point.
Detailed description of the invention
Fig. 1 and Fig. 2 is the flow chart of data message transmission method embodiment of the present invention.
Specific embodiment
In the present embodiment, " transmission " includes the processes such as " transmission " and " reception ", and sending node sends out a data Message, receiving node receive the data message, then complete the transmission process of a data message.Due to " transmission " and " reception " Step be it is corresponding, those skilled in the art are to be appreciated that the reception of data message according to the transmission process of data message Journey, therefore the present embodiment is only illustrated the transmission process of data message, and not general to " transmission ", " transmission " and " reception " etc. Thought distinguishes.
Data message described in the present embodiment refers to preiodic type data message.Preiodic type data message is and event mode number A kind of data message distinguished according to message, preiodic type data message are corresponding with certain transmission cycle, whenever by a biography Just a transmission process is carried out when the defeated period.Transmission cycle is generally 10ms, 20ms and 50ms etc., that is, it is every by 10ms into Transmission process of row.
Transmission in the present embodiment is carried out in the bus-types data transmission system such as CAN or CANFD.In these buses In type data transmission system, the priority of every data message is related with the numerical values recited for the identifier that it is assigned to, identifier Numerical value it is smaller, the priority of data message is higher, and the higher data message of priority is more first to be transmitted.
Since the transmission of data message itself belongs to the prior art, the present embodiment mainly distribution to data message identifier Method is illustrated.In the present embodiment, referring to Fig.1, accorded with by following steps to each data message allocation identification:
S1. according to the corresponding ID range to be allocated of each data message of cycle set of each data message;
S2. serial number in the group of each data message is calculated according to the permission maximum delay and transmission time of each data message;Institute Serial number in group is stated to be used to indicate data message putting in order in the data message set that multiple homogeneous data messages form, institute Stating homogeneous data message is the data message for corresponding to identical ID range to be allocated;
S3. when the data message monopolizes serial number in a group, will in corresponding ID range to be allocated with serial number in the group Corresponding ID to be allocated distributes to the data message as identifier.
Step S1 is that pieces of data message determines that ID range to be allocated, ID range to be allocated define that pieces of data message exists The numberical range for the identifier being assigned in step S3.In step S1, ID to be allocated that every data message can be assigned to Range is related with the period of data message, and in the present embodiment, the different data message with same period all will be corresponding identical ID range to be allocated, and data message and identifier should be one-to-one, therefore ID range to be allocated should be arranged It is sufficiently large, so that distributing to the number with the period with enough ID to be allocated within the scope of ID to be allocated as identifier According to message.For example, the corresponding first ID range to be allocated of data message that the period is 10ms, the data message that the period is 20ms are corresponding Second ID range to be allocated.
In step S1, every data message corresponds to its sending node and receiving node.Data can be set in sending node The most fast processing time of data message can be set in the most fast refresh time of message, receiving node, and the period of data message is by most Fast refresh time and most fast processing time determine jointly.
In step S2, by the data message of the identical ID range to be allocated of correspondence, it may also be said to, by the number with same period It is classified as a data message set according to message, and they are referred to as homogeneous data message, i.e. whole in a data message set Data message is homogeneous data message.Serial number is for indicating that a data message is counted accordingly in the group that step S2 is calculated According to the order inside message set.In step S2, serial number is to allow maximum delay and transmission by it in the group of every data message What the time calculated, the meaning for organizing interior serial number at this time is number of the data message set internal priority greater than the data message According to message item number.
The permission maximum delay of data message used in step S2, there is different algorithms in CAN and CANFD.In CAN In,In formulaFor the permission maximum delay of data message m, a is the transmission time of data message in CAN, X be from the corresponding different controllers of data message m, the sum of the data message with higher priority, y for and m pairs of data message Answer the sum of same controller, data message with higher priority.In CANFD,In formulaFor the permission maximum delay of data message m, TniFor from the corresponding different controllers of data message m, with higher priority Total transmission time of data message, TkiFor same controller corresponding with data message m, with the data message of higher priority Total transmission time, i be controller serial number.
In step S2, the permission maximum delay and transmission time of different data messages will not generally correspond to identical.But In same data message set, in the group of different data messages serial number be all by the permission maximum delay of data message and What transmission time was calculated, it is possible to data message different in same data message set occur and correspond to sequence in same group Number the case where.
The case where step S3 is for handling serial number in the exclusive group of data message, in this case, a data message set In, serial number only corresponds to a data message in a group, the case where serial number corresponds to a plurality of data message in a group does not occur. In this case, it is directly distributed to using to be allocated ID corresponding with serial number in the group in corresponding ID range to be allocated as identifier The data message.In step S3, if serial number N in the group of a data message is calculated, can will accordingly to point The data message is distributed to as identifier with n-th ID to be allocated in ID range.
It is further used as preferred embodiment, referring to Fig. 2, there is phase when occurring multiple homogeneous data messages in step S3 When in same group the case where serial number, following steps are executed:
S4. the transmission source of the multiple homogeneous data message is searched;
S5. the message total issued to the transmission source found counts;
S6. the message total issued by corresponding transmission source is by as little as more sequences, to the multiple homogeneous data report Text is ranked up;
S7. it is distributed to using to be allocated ID corresponding with serial number in the group in corresponding ID range to be allocated as identifier described The data message of sequence first in multiple homogeneous data messages;
S8. other ID to be allocated after ID to be allocated corresponding with serial number in the group in corresponding ID range to be allocated are pressed Sequence is individually assigned to other data messages in the multiple homogeneous data message.
Step S4-S8 is for the case where handling serial number in having the same group of multiple homogeneous data messages, in this case, In one data message set, serial number corresponds to a plurality of data message in a group.Since an ID to be allocated can only distribute to one Data message, therefore in this case cannot directly will be corresponding to be allocated with serial number in the group in corresponding ID range to be allocated ID distributes to these data messages as identifier.
In step S4, if m is calculated1、m2And m3This three periods are sequence in the group of the homogeneous data message of 10ms It number is N, then looking up m1、m2And m3The transmission source of this three homogeneous data messages or sending node.In CAN or CANFD In, m1、m2And m3From different controllers, it is assumed that m1From EPS, m2From ESP, m3From VCU.
In step S5, EPS, ESP and VCU message total issued are counted.In the present embodiment, the message that is counted Period and m1、m2And m3Period is identical, and statistics obtains EPS and sends the message that 2 periods are 10ms altogether, and ESP sends 4 altogether Period is the message of 10ms, and VCU sends the message that 6 periods are 10ms altogether.According to the rule of step S6, issued due to EPS Message total is minimum, therefore the data message m that EPS is issued1It should ranked first, similarly m2It ranked second, m3It ranked third.
In step S7, n-th ID to be allocated in corresponding ID range to be allocated is distributed into the number that ranked first as identifier According to message m1
In step S8, N+1 ID to be allocated in corresponding ID range to be allocated are distributed to as identifier be ranked second Data message m2, N+2 ID to be allocated in corresponding ID range to be allocated are distributed into the datagram that ranked third as identifier Literary m3
If in step S5, the message total for counting on the sending of at least two transmission sources is identical, then corresponding in step S6 The two sequences for sending the homogeneous data message in source can be with random arrangement.For example, statistics obtains EPS and sends 2 periods altogether For the message of 10ms, ESP sends the message that 2 periods are 10ms altogether, and VCU sends the message that 6 periods are 10ms altogether, EPS and The period that ESP is sent is that the sum of the message of 10ms is 2, then m1And m2Sequence between the two can with random arrangement, Either m1It ranked first, m2It ranked second, m3It ranked third, be also possible to m2It ranked first, m1It ranked second, m3It ranked third.
It is further used as preferred embodiment, the permission maximum delay of each data message is according to data message pair That answers sends source and reception terminal parameter setting.In the present embodiment, the permission maximum delay of data message can be by sending Source or the hardware parameter for receiving terminal determine.It can also be set according to the demand of practical service environment.Preferably, logarithm There should be certain corresponding relationship with the period of the data message according to the permission maximum delay of message setting, each item number could be made According to total delay minimization caused by when message transmissions.In the present embodiment, the permission maximum delay of each data message and its Period has following corresponding relationship:
Period 10ms: allow maximum delay 20%;
Period 20ms: allow maximum delay 18%;
Period 40ms or 50ms: allow maximum delay 15%;
Period 100ms, 200ms, 500ms or 100ms allow maximum delay 10%.
In above-mentioned corresponding relationship, allows maximum delay to be indicated with percentage, permission can be calculated by the corresponding period The occurrence of maximum delay.For example, allowing maximum delay is 20% when the period of data message is 10ms, maximum is allowed to prolong Slow occurrence is 10ms*20%=2ms;When the period of data message is 20ms, allowing maximum delay is 18%, is allowed most The occurrence postponed greatly is 20ms*18%=3.6ms.
Be further used as preferred embodiment, the numerical values recited of the corresponding ID range to be allocated of each data message with The period size of data message has positive correlation.That is the period of data message is bigger, in corresponding ID range to be allocated, The numerical value of every ID to be allocated is bigger.The setting of the present embodiment, so that the priority of period bigger data message is lower, the period Lesser data message is first transmitted due to its priority, therefore the delayed impact that period lesser data message is subject to is smaller. And period biggish data message may due to priority is lower by biggish delayed impact, but due to their period compared with Greatly, therefore specific gravity shared by identical delay duration is lower, and it is totally bad to entire Transmission system bring can to weaken delay It influences.
It is further used as preferred embodiment, the corresponding ID range to be allocated of each data message is according to datagram What the period of text and following corresponding relationship were set:
Period 10ms: ID stated range minimum 0x100 to be allocated, ID range maximum value 0x17F to be allocated;
Period 20ms: ID stated range minimum 0x180 to be allocated, ID range maximum value 0x1FF to be allocated;
Period 40ms: ID stated range minimum 0x200 to be allocated, ID range maximum value 0x24F to be allocated;
Period 50ms: ID stated range minimum 0x250 to be allocated, ID range maximum value 0x28F to be allocated;
Period 100ms: ID stated range minimum 0x290 to be allocated, ID range maximum value 0x34F to be allocated;
Period 200ms: ID stated range minimum 0x350 to be allocated, ID range maximum value 0x37F to be allocated;
Period 500ms or 100ms: ID stated range minimum 0x380 to be allocated, ID range maximum value 0x3FF to be allocated.
In the present embodiment, each ID range to be allocated is by corresponding ID stated range minimum to be allocated and ID model to be allocated It encloses what maximum value determined, there is multiple ID to be allocated between ID stated range minimum to be allocated and ID range maximum value to be allocated.Example Such as, it in the corresponding ID range to be allocated of period 10ms, is ranked up, ranked first according to the ascending sequence of ID numerical value to be allocated ID to be allocated be 0x100, the ID to be allocated that ranked second be 0x101, the ID to be allocated that ranked third be 0x102;Period is 10ms Any value of the ID to be allocated that may be assigned to of data message between 0x100-0x17F.
It is further used as preferred embodiment, the permission maximum delay and transmission time meter according to each data message The step for calculating serial number in the group of each data message calculation formula used isIn formula, N is in the group of data message Serial number, TdelayFor the permission maximum delay of data message, TCANFor the transmission time of data message.
The advantages of the method for the present invention, which essentially consists in, improves the identifier allocation method of data message, first by counting The range where the identifier value that data message can be assigned to is determined according to the period of message, is equivalent to and datagram has substantially been determined The priority of text further confirms that the mark of data message then further according to the permission maximum delay and transmission time of data message Know symbol, that is, determines the priority of data message.The method of the present invention confirms data message from according to the feature of data message itself Transmission priority, it is contemplated that the bulk delay of all data messages transmitted in entire bus-type data transmission system overcomes The disadvantage that load factor this excessively coarse index causes efficiency of transmission not high is only considered in the prior art.Further, originally Inventive method gives the optimal range of identifiers of the data message for CAN the and CANFD system various periods.
The present embodiment further includes a kind of preiodic type data-message transmission system, comprising:
ID range determination module to be allocated, it is corresponding wait divide for each data message of cycle set according to each data message With ID range;
Serial number computing module in group, for calculating each data according to the permission maximum delay and transmission time of each data message Serial number in the group of message;Serial number is for indicating the datagram collected works that data message is formed in multiple homogeneous data messages in described group Putting in order in conjunction, the homogeneous data message are the data message for corresponding to identical ID range to be allocated;
Identifier distribution module, for when the data message monopolizes serial number in described group, inciting somebody to action corresponding ID model to be allocated To be allocated ID corresponding with serial number in the group, which is enclosed, as identifier distributes to the data message.
Serial number computing module and identifier distribution module can be transmitting terminal in the ID range determination module to be allocated, group With the hardware module of receiving end, it is also possible to be mounted on the software module on transmitting terminal and receiving end.
The present embodiment further includes a kind of preiodic type data-message transmission device, including memory and processor, the storage Device is for storing at least one program, and the processor is for loading at least one described program to execute data message of the present invention Transmission method.The memory and processor may be mounted on transmitting terminal and receiving end.
The present embodiment further includes a kind of storage medium, wherein being stored with the executable instruction of processor, the processor can The instruction of execution is used to execute data message transmission method of the present invention when executed by the processor.The storage medium can be installed On transmitting terminal and receiving end.
Data-message transmission system, device and storage medium in the present embodiment, can execute data message of the invention Transmission method, any combination implementation steps of executing method embodiment have the corresponding function of this method and beneficial effect.
It is to be illustrated to preferable implementation of the invention, but the implementation is not limited to the invention above Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.

Claims (10)

1. a kind of preiodic type data message transmission method, which is characterized in that each data message is assigned identifier, each institute Data message is stated to be transmitted according to the transmission sequence that priority corresponding to respective identifier value size determines;Each mark Symbol is known through the following steps that distributing to each data message:
According to the corresponding ID range to be allocated of each data message of the cycle set of each data message;
Serial number in the group of each data message is calculated according to the permission maximum delay and transmission time of each data message;Sequence in described group Number for indicating data message putting in order in the data message set that multiple homogeneous data messages form, the like numbers It is the data message for corresponding to identical ID range to be allocated according to message;
When the data message monopolizes serial number in a group, will in corresponding ID range to be allocated it is corresponding with serial number in the group to ID is distributed as identifier and distributes to the data message.
2. a kind of preiodic type data message transmission method according to claim 1, which is characterized in that when multiple homogeneous datas In having the same group of message when serial number, following steps are executed:
Search the transmission source of the multiple homogeneous data message;
The message total issued to the transmission source found counts;
The message total issued by corresponding transmission source arranges the multiple homogeneous data message by as little as more sequences Sequence;
It is distributed to using to be allocated ID corresponding with serial number in the group in corresponding ID range to be allocated as identifier the multiple same The data message of sequence first in class data message;
By other ID to be allocated after ID to be allocated corresponding with serial number in the group in corresponding ID range to be allocated in order by One distributes to other data messages in the multiple homogeneous data message.
3. a kind of preiodic type data message transmission method according to claim 1, which is characterized in that each data message Permission maximum delay be according to the corresponding transmission source of data message and receive terminal parameter set.
4. a kind of preiodic type data message transmission method according to claim 1, which is characterized in that each data message Permission maximum delay be to be set according to the period and following corresponding relationship of data message:
Period 10ms: allow maximum delay 20%;
Period 20ms: allow maximum delay 18%;
Period 40ms or 50ms: allow maximum delay 15%;
Period 100ms, 200ms, 500ms or 100ms allow maximum delay 10%.
5. a kind of preiodic type data message transmission method according to claim 1, which is characterized in that each data message The numerical values recited of corresponding ID range to be allocated and the period size of data message have positive correlation.
6. a kind of preiodic type data message transmission method according to claim 5, which is characterized in that each data message Corresponding ID range to be allocated was set according to the period and following corresponding relationship of data message:
Period 10ms: ID stated range minimum 0x100 to be allocated, ID range maximum value 0x17F to be allocated;
Period 20ms: ID stated range minimum 0x180 to be allocated, ID range maximum value 0x1FF to be allocated;
Period 40ms: ID stated range minimum 0x200 to be allocated, ID range maximum value 0x24F to be allocated;
Period 50ms: ID stated range minimum 0x250 to be allocated, ID range maximum value 0x28F to be allocated;
Period 100ms: ID stated range minimum 0x290 to be allocated, ID range maximum value 0x34F to be allocated;
Period 200ms: ID stated range minimum 0x350 to be allocated, ID range maximum value 0x37F to be allocated;
Period 500ms or 100ms: ID stated range minimum 0x380 to be allocated, ID range maximum value 0x3FF to be allocated.
7. a kind of preiodic type data message transmission method according to claim 1, which is characterized in that described according to each data The step for permission maximum delay and transmission time of message calculate serial number in the group of each data message calculation formula used isIn formula, N is serial number in the group of data message, TdelayFor the permission maximum delay of data message, TCANFor datagram The transmission time of text.
8. a kind of preiodic type data-message transmission system, which is characterized in that each data message is assigned identifier, each institute Data message is stated to be transmitted according to the transmission sequence that priority corresponding to respective identifier value size determines;The system Include:
ID range determination module to be allocated, for the corresponding ID to be allocated of each data message of cycle set according to each data message Range;
Serial number computing module in group, for calculating each data message according to the permission maximum delay and transmission time of each data message Group in serial number;Serial number is for indicating data message in the data message set that multiple homogeneous data messages form in described group Put in order, the homogeneous data message is the data message for corresponding to identical ID range to be allocated;
Identifier distribution module, for when the data message monopolizes serial number in described group, inciting somebody to action in corresponding ID range to be allocated To be allocated ID corresponding with serial number in the group distributes to the data message as identifier.
9. a kind of preiodic type data-message transmission device, which is characterized in that including memory and processor, the memory is used for At least one program is stored, the processor requires any one of 1-7 institute for loading at least one described program with perform claim State method.
10. a kind of storage medium, wherein being stored with the executable instruction of processor, which is characterized in that the processor is executable Instruction be used to execute such as any one of claim 1-7 the method when executed by the processor.
CN201910052149.7A 2019-01-21 2019-01-21 Periodic data message transmission method, system, device and storage medium Active CN109861791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910052149.7A CN109861791B (en) 2019-01-21 2019-01-21 Periodic data message transmission method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910052149.7A CN109861791B (en) 2019-01-21 2019-01-21 Periodic data message transmission method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN109861791A true CN109861791A (en) 2019-06-07
CN109861791B CN109861791B (en) 2021-12-07

Family

ID=66895341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910052149.7A Active CN109861791B (en) 2019-01-21 2019-01-21 Periodic data message transmission method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN109861791B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660417A (en) * 2021-08-11 2021-11-16 科珑诗菁生物科技(上海)有限公司 Periodic shooting method, device, equipment and medium
CN114598752A (en) * 2022-03-07 2022-06-07 潍柴动力股份有限公司 Message processing method, device and related equipment
CN115941651A (en) * 2022-11-30 2023-04-07 东风汽车集团股份有限公司 Communication ID distribution model and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195885A (en) * 2011-05-27 2011-09-21 成都市华为赛门铁克科技有限公司 Message processing method and device
CN105721268A (en) * 2016-01-29 2016-06-29 北京汽车研究总院有限公司 Method and device for sending controller area network (CAN) bus message
CN106453115A (en) * 2016-10-18 2017-02-22 北京汽车研究总院有限公司 Transmission method and device for CAN (Controller Area Network) network messages
CN107566235A (en) * 2017-09-28 2018-01-09 北京新能源汽车股份有限公司 A kind of packet data transmission method, apparatus and electric automobile
CN108667705A (en) * 2018-05-09 2018-10-16 江苏恩达通用设备有限公司 A kind of referee method of CANFD buses
CN109088829A (en) * 2018-09-20 2018-12-25 南方科技大学 A kind of data dispatching method, device, storage medium and equipment
CN109327367A (en) * 2018-10-25 2019-02-12 东北大学 A kind of CAN FD bus message dispatching method based on offset

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195885A (en) * 2011-05-27 2011-09-21 成都市华为赛门铁克科技有限公司 Message processing method and device
CN105721268A (en) * 2016-01-29 2016-06-29 北京汽车研究总院有限公司 Method and device for sending controller area network (CAN) bus message
CN106453115A (en) * 2016-10-18 2017-02-22 北京汽车研究总院有限公司 Transmission method and device for CAN (Controller Area Network) network messages
CN107566235A (en) * 2017-09-28 2018-01-09 北京新能源汽车股份有限公司 A kind of packet data transmission method, apparatus and electric automobile
CN108667705A (en) * 2018-05-09 2018-10-16 江苏恩达通用设备有限公司 A kind of referee method of CANFD buses
CN109088829A (en) * 2018-09-20 2018-12-25 南方科技大学 A kind of data dispatching method, device, storage medium and equipment
CN109327367A (en) * 2018-10-25 2019-02-12 东北大学 A kind of CAN FD bus message dispatching method based on offset

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660417A (en) * 2021-08-11 2021-11-16 科珑诗菁生物科技(上海)有限公司 Periodic shooting method, device, equipment and medium
CN113660417B (en) * 2021-08-11 2023-06-20 科珑诗菁生物科技(上海)有限公司 Periodic shooting method, device, equipment and medium
CN114598752A (en) * 2022-03-07 2022-06-07 潍柴动力股份有限公司 Message processing method, device and related equipment
CN114598752B (en) * 2022-03-07 2023-12-15 潍柴动力股份有限公司 Message processing method and device and related equipment
CN115941651A (en) * 2022-11-30 2023-04-07 东风汽车集团股份有限公司 Communication ID distribution model and method

Also Published As

Publication number Publication date
CN109861791B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN109861791A (en) A kind of preiodic type data message transmission method, system, device and storage medium
CN105208133B (en) A kind of server, load equalizer and server load balancing method and system
CN106598760A (en) Message queue consumption method and apparatus
CN103678199B (en) Data transmission method and data transmission equipment
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN107404443B (en) Queue cache resource control method and device, server and storage medium
CN108268317A (en) A kind of resource allocation methods and device
CN103369041A (en) Cloud-computing-based resource allocation method and device
CN103327072A (en) Method for cluster load balance and system thereof
CN105160570A (en) Concurrent on-line transaction processing method capable of horizontal expansion
CN103955436A (en) Data processing device and terminal
CN103312825A (en) Method and device for data distribution and storage
CN103902384A (en) Method and device for allocating physical machines for virtual machines
CN110609735B (en) Task management method, device and computer program product
CN108769162A (en) Distributed message equalization processing method, device, electronic equipment, storage medium
CN103595654A (en) HQoS implementation method, device and network equipment based on multi-core CPUs
CN105991588B (en) A kind of method and device for defending message attack
CN107169138B (en) Data distribution method for distributed memory database query engine
CN104156505A (en) Hadoop cluster job scheduling method and device on basis of user behavior analysis
CN103701721B (en) Message transmitting method and device
CN111080126B (en) Task allocation method and device
CN104281587B (en) A kind of method and device for establishing connection
CN101753463A (en) Multichannel transmission load balancing method and device
CN116302863A (en) Alarm processing method, device, equipment and computer readable medium
CN105912412A (en) Message distribution method, message distribution device and message distribution system

Legal Events

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