CN111641542B - Adaptive adjustment control method and device, gateway terminal and storage medium - Google Patents

Adaptive adjustment control method and device, gateway terminal and storage medium Download PDF

Info

Publication number
CN111641542B
CN111641542B CN202010464453.5A CN202010464453A CN111641542B CN 111641542 B CN111641542 B CN 111641542B CN 202010464453 A CN202010464453 A CN 202010464453A CN 111641542 B CN111641542 B CN 111641542B
Authority
CN
China
Prior art keywords
message
delay time
initial
value
estimated value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010464453.5A
Other languages
Chinese (zh)
Other versions
CN111641542A (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.)
Dongfeng Liuzhou Motor Co Ltd
Original Assignee
Dongfeng Liuzhou Motor 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 Dongfeng Liuzhou Motor Co Ltd filed Critical Dongfeng Liuzhou Motor Co Ltd
Priority to CN202010464453.5A priority Critical patent/CN111641542B/en
Publication of CN111641542A publication Critical patent/CN111641542A/en
Priority to PCT/CN2020/128330 priority patent/WO2021238090A1/en
Application granted granted Critical
Publication of CN111641542B publication Critical patent/CN111641542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Abstract

The invention discloses an adaptive adjustment control method and device, a gateway terminal and a storage medium, wherein the adaptive adjustment control method comprises the steps of obtaining message parameters of a server and load state data of a bus, calculating a message delay time estimated value according to the load state data and a message initial ID, and selecting the message initial ID or the message optimized ID to carry out bus communication according to the message delay time estimated value and a message delay time allowable value.

Description

Adaptive adjustment control method and device, gateway terminal and storage medium
Technical Field
The invention relates to the technical field of vehicle-mounted networks, in particular to a self-adaptive adjustment control method and device, a gateway terminal and a storage medium.
Background
With the continuous upgrading of vehicle type configuration and the continuous increase of network load rate, bus communication is affected along with the continuous rising of load rate, the bus communication is subjected to the risk of message delay or frame loss after the limit of an industry experience value of 40% is reached, and the instantaneity and reliability of network communication are difficult to guarantee.
Disclosure of Invention
The invention mainly aims to provide an adaptive adjustment control method and device, a gateway terminal and a storage medium, and aims to solve the technical problem that the real-time performance and the reliability of vehicle-mounted network communication are difficult to guarantee in the prior art.
In order to achieve the above object, the present invention provides an adaptive modulation method, comprising the following steps:
acquiring message parameters of a server and load state data of a bus, wherein the message parameters comprise a message initial ID, a message delay time allowed value corresponding to the message initial ID and a message optimization ID corresponding to the message initial ID;
calculating a message delay time pre-estimated value according to the load state data and the message initial ID;
and selecting the initial ID of the message or the optimized ID of the message for bus communication according to the estimated value of the message delay time and the allowable value of the message delay time.
Optionally, the step of selecting the initial packet ID or the optimized packet ID for bus communication according to the estimated value of packet delay time and the allowable value of packet delay time includes:
when the message delay time estimated value is smaller than the message delay time allowable value, selecting the message initial ID to carry out bus communication;
and when the estimated message delay time value is greater than or equal to the allowable message delay time value, inquiring ID information of the message optimization ID, and selecting the initial message ID or the message optimization ID according to an inquiry result to perform bus communication.
Optionally, the load status data comprises a load rate;
when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID, and selecting the initial ID of the message or the message optimization ID to perform bus communication according to an inquiry result, wherein the steps comprise:
when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID;
when the ID value does not exist in the ID information, selecting the initial ID of the message for bus communication;
when the ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value, and selecting the message initial ID or the message optimized ID according to the message delay influence factor to carry out bus communication.
Optionally, when it is found that an ID value exists in the ID information, the step of calculating a packet delay impact factor according to the ID value, the load rate, the packet delay time pre-estimated value, and the packet delay time allowable value, and selecting the packet initial ID or the packet optimized ID according to the packet delay impact factor to perform bus communication includes:
when the ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value;
when the message delay influence factor is larger than a preset threshold value, selecting the message optimization ID to carry out bus communication;
and when the message delay influence factor is smaller than or equal to a preset threshold value, selecting the message initial ID to carry out bus communication.
Optionally, when it is found that an ID value exists in the ID information, the step of calculating a packet delay impact factor according to the ID value, the load rate, the packet delay time pre-estimated value, and the packet delay time allowable value includes:
the message delay impact factor is ((0x6FF-ID value) × 25%)/0 x6FF + load factor 30% + (estimated message delay time/allowed message delay time) × 45%.
Optionally, the load status data includes a load rate and/or a number of consecutive transmission packets.
Optionally, before the step of obtaining the message parameter of the server and the load status data of the bus, the adaptive adjustment control method further includes:
establishing a data calculation model corresponding to load state data, a message initial ID and a message delay time estimated value;
the step of calculating the message delay time estimated value according to the load state data and the message initial ID comprises the following steps:
and inputting the load state data and the message initial ID into the data calculation model to obtain a message delay time estimated value.
Optionally, the step of establishing a data computation model corresponding to the load state data and the packet initial ID and the packet delay time estimated value includes:
receiving a source network segment routing message corresponding to the initial ID of the message, and recording the time T1;
routing the source network segment routing message to a target network segment, recording the time T2, and obtaining the bus load rate L of the target network segment1
Calculating the time difference Delta T of message routing delay1And with the bus load rate L1Associating;
recording the time difference Delta T of routing delay of a plurality of messages at different momentsxAnd respectively associated with the bus load rate L per timexAssociating;
fitting multiple message routing delay time difference Delta TxCorresponding bus load rate LxTo obtain a data calculation model.
Optionally, the packet parameter further includes a network node corresponding to the initial ID of the packet;
the step of obtaining the message parameters of the server and the load state data of the bus further comprises the following steps:
acquiring a plurality of initial message IDs (identities) corresponding to each network node on a bus respectively, and determining node parameters of each network node according to the plurality of initial message IDs;
determining a message transmission path according to the message initial ID and the corresponding node parameter;
judging whether the message transmission path is a routing path or not;
and if so, automatically distributing the routing path of the routing message.
Optionally, the step of determining whether the packet transmission path is a routing path includes:
when the sending node and the receiving node of the message transmission path are in different network segments, judging the message transmission path as a routing path;
and when the sending node and the receiving node of the message transmission path are in the same network segment, judging the message transmission path as a non-routing path.
In order to achieve the above object, the present invention also provides an adaptive adjustment control apparatus, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring message parameters of a server and load state data of a bus, and the message parameters comprise a message initial ID, a message delay time allowed value corresponding to the message initial ID and a message optimization ID corresponding to the message initial ID;
the calculation module is used for calculating a message delay time estimated value according to the load state data and the message initial ID; and the number of the first and second groups,
and the selection module is used for selecting the initial ID of the message or the optimized ID of the message to carry out bus communication according to the estimated value of the message delay time and the allowable value of the message delay time.
In order to achieve the above object, the present invention further provides a gateway terminal, including: the adaptive modulation control method comprises a memory, a processor and an adaptive modulation control program stored on the memory and capable of running on the processor, wherein the adaptive modulation control program realizes the steps of the adaptive modulation control method when being executed by the processor.
In order to achieve the above object, the present invention further provides an adaptive adjustment control system, including:
the gateway terminal is the gateway terminal;
the server stores the message parameters; and the number of the first and second groups,
and the remote information processor is arranged between the server and the gateway terminal and is used for realizing bus communication between the gateway terminal and the server.
In order to achieve the above object, the present invention further provides a storage medium storing an adaptive modulation control program, which when executed by a processor implements the steps of the adaptive modulation method described above.
The gateway terminal obtains message parameters of a server and load state data of a bus, calculates a message delay time estimated value according to the load state data and the message initial ID, selects the message initial ID or the message optimized ID to perform bus communication according to the message delay time estimated value and the message delay time allowable value, adaptively adjusts the priority of the message, reduces the risk of message delay or frame loss, and improves the real-time performance and reliability of network communication.
Drawings
Fig. 1 is a schematic structural diagram of a gateway terminal in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of an adaptive modulation control method according to the present invention;
fig. 3 is a schematic flow chart of a second embodiment of the adaptive modulation control method of the present invention;
fig. 4 is a schematic flow chart of a third embodiment of the adaptive modulation control method according to the present invention;
fig. 5 is a schematic flow chart of a fourth embodiment of the adaptive modulation method of the present invention;
fig. 6 is a schematic flow chart of a fifth embodiment of the adaptive modulation control method according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of an adaptive modulation control method according to the present invention;
fig. 8 is a schematic flow chart of a seventh embodiment of the adaptive modulation control method of the present invention;
fig. 9 is a schematic flowchart of an eighth embodiment of an adaptive modulation method according to the present invention;
FIG. 10 is a block diagram showing the construction of a first embodiment of an adaptive modulation control apparatus according to the present invention;
fig. 11 is a block diagram of the adaptive regulation control system according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a gateway terminal in a hardware operating environment according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, the gateway terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the user behavior recognition device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and an adaptive adjustment control program therein.
In the gateway terminal shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the gateway terminal of the present invention may be provided in the gateway terminal, and the gateway terminal calls the adaptive modulation control program stored in the memory 1005 through the processor 1001 and executes the adaptive modulation control method provided by the embodiment of the present invention.
An embodiment of the present invention provides an adaptive modulation method, and referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the adaptive modulation method according to the present invention.
In this embodiment, the adaptive adjustment and control method includes the following steps:
step S1: acquiring message parameters of a server and load state data of a bus;
it should be noted that the main body of the implementation of the method of this embodiment is the gateway terminal, and the gateway terminal controls the transmission of the message in the vehicle-mounted network, to improve the timeliness and reliability of message transmission, the server stores the message parameters defined on the whole communication network, such as initial ID (Identity document) of the message, message sending node, message optimization ID, DLC, source segment message sending type, message sending period, message delay performance requirement, and receiving node, etc., data transfer is performed between the telematics processor and the gateway through the bus, data is transmitted between the telematics processor and the server through the wireless mobile network, the load status data of the bus includes load rate and the number of continuously sent messages, different times of message transmission, the load rates of the buses are different, and can be obtained through simulation calculation.
In addition, it should be noted that the message optimization ID has a higher priority level, so that the message delay can be as small as possible, and the real-time performance and reliability of network communication can be ensured.
Step S2: calculating a message delay time pre-estimated value according to the load state data and the message initial ID;
it should be noted that, after obtaining the message parameters of the server and the load state data of the bus, the gateway terminal calculates the message delay time estimated value according to the obtained information;
step S3: selecting the initial ID or the optimized ID of the message for bus communication according to the estimated value of the message delay time and the allowable value of the message delay time;
it should be noted that, according to the relationship between the estimated value of the message delay time and the allowable value of the message delay time, it is determined whether to select the initial ID of the message or the optimized ID of the message for bus communication, so as to reduce the risk of message delay or frame loss.
The gateway terminal obtains message parameters of a server and load state data of a bus, calculates a message delay time estimated value according to the load state data and the message initial ID, selects the message initial ID or the message optimized ID to perform bus communication according to the message delay time estimated value and the message delay time allowable value, adaptively adjusts the priority of the message, reduces the risk of message delay or frame loss, and improves the real-time performance and reliability of network communication.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the adaptive modulation method according to the present invention.
Based on the first embodiment described above, in the present embodiment, the step S3 includes:
step S31: when the message delay time estimated value is smaller than the message delay time allowable value, selecting the message initial ID to carry out bus communication;
it should be noted that, when the estimated value of the message delay time is smaller than the allowable value of the message delay time, the gateway terminal determines that the requirement for the delay time of the current message is not high, and may perform data communication with the initial message ID with a lower priority level.
Step S32: when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID, and selecting the initial ID of the message or the message optimization ID to perform bus communication according to an inquiry result;
and the gateway terminal automatically selects to carry out bus communication between the initial ID of the message and the optimized ID of the message according to the relation between the estimated value of the delay time of the message and the allowable value of the delay time of the message, adaptively adjusts the priority of the message, reduces the risk of message delay or frame loss, and improves the real-time property and the reliability of network communication.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of an adaptive modulation method according to the present invention.
Based on the second embodiment described above, in the present embodiment, the step S32 includes:
step S321: when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID;
it should be noted that there is a configuration table of message parameters in the server, there are various parameters corresponding to the initial ID of the message in the configuration table, there is a message optimization ID value corresponding to some initial IDs of the message, that is, a high priority level is required, and there is no message optimization ID value for some initial IDs of the message, that is, no high priority level is required.
Step S322: when the ID value does not exist in the ID information, selecting the initial ID of the message for bus communication;
it should be noted that, when it is found that no ID value exists in the ID information, the gateway terminal system directly defaults to that high-priority communication is not required.
Step S323: when an ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value, and selecting the message initial ID or the message optimized ID according to the message delay influence factor to carry out bus communication;
the gateway terminal further inquires the ID information of the message optimization ID, selects the initial ID of the message or the message optimization ID to carry out bus communication according to the inquiry result, reduces the risk of message delay or frame loss, and improves the real-time performance and reliability of network communication.
Referring to fig. 5, fig. 5 is a flowchart illustrating a fourth embodiment of an adaptive modulation method according to the present invention.
Based on the third embodiment, in this embodiment, the step S323 includes:
step S3231: when the ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value;
it should be noted that the message delay impact factor is related to the ID value, the load rate, the message delay time estimated value, and the message delay time allowable value, specifically, in this embodiment, the message delay impact factor is ((0x6FF-ID value) × 25%)/0 x6FF + load rate × 30% + (message delay time estimated value/message delay time allowable value) × 45%), of course, the weight coefficients between the factors for calculating the message delay impact factor may be 25%, 30%, and 45%, or other weight coefficients, which may be set according to actual needs.
Step S3232: when the message delay influence factor is larger than a preset threshold value, selecting the message optimization ID to carry out bus communication;
it should be noted that, according to the network transmission needs, a preset threshold, such as 0.5, 0.6, 0.7, 0.8, etc., may be set, and selected according to the needs of the actual situation, when the preset threshold is exceeded, it is indicated that the message is delayed seriously, the message needs to be transmitted quickly, and the message optimization ID is selected for transmission.
Step S3232: when the message delay influence factor is smaller than or equal to a preset threshold value, selecting the message initial ID to carry out bus communication;
and when the message delay influence factor is smaller than the preset threshold, indicating that the message delay is not serious, and selecting to transmit the message by using the initial ID of the message.
During specific implementation, the message optimization ID is selected to perform bus communication by comparing the relation between the message delay influence factor and a preset threshold value, the priority of the message is adaptively adjusted, the risk of message delay or frame loss is reduced, and the real-time performance and reliability of network communication are improved.
Referring to fig. 6, fig. 6 is a schematic flowchart of a fifth embodiment of the adaptive modulation method according to the present invention.
Based on the first embodiment, the step S1 further includes:
step S4: establishing a data calculation model corresponding to load state data, a message initial ID and a message delay time estimated value;
it should be noted that the establishment of the data model is based on a large amount of statistical data, and a calculation model is obtained according to statistical data fitting, and certainly, the optimization calculation model can be continuously perfected according to more data, so that the estimated value of the message delay time is more accurate.
The step S2 includes:
step S20: inputting the load state data and the initial message ID into the data calculation model to obtain a message delay time estimated value;
the calculation model may be a calculation formula or a model curve, and when we input the load state data and the initial ID of the packet into the calculation model, the prediction value of the packet delay time is automatically obtained.
In specific implementation, the load state data and the initial message ID are input to the data calculation model to obtain a message delay time estimated value, so that the message delay time estimated value can be obtained quickly.
Referring to fig. 7, fig. 7 is a flowchart illustrating a sixth embodiment of an adaptive modulation method according to the present invention.
Based on the above-described fifth embodiment, the step S4 includes:
step S41: receiving a source network segment routing message corresponding to the initial ID of the message, and recording the time T1;
step S42: routing the source network segment routing message to a target network segment, recording the time T2, and obtaining the bus load rate L of the target network segment1
Step S43: calculating the time difference Delta T of message routing delay1And with the bus load rate L1Associating;
step S44: record more than one timeTime difference delta T of secondary message routing delayxAnd respectively associated with the bus load rate L per timexAssociating;
step S45: fitting multiple message routing delay time difference Delta TxCorresponding bus load rate LxTo obtain a data calculation model;
in concrete implementation, the delay time difference Delta T of the message routing is fitted for multiple timesxCorresponding bus load rate Lx,If a fitting formula or a fitting curve, etc. can be obtained, the output value can be obtained quickly by inputting corresponding parameters, i.e. the estimated value of the message delay time can be obtained quickly.
Referring to fig. 8, fig. 8 is a flowchart illustrating a seventh embodiment of an adaptive modulation method according to the present invention.
Based on the first embodiment, the packet parameter further includes a network node corresponding to the initial ID of the packet, and in this embodiment, after step S1, the method further includes:
step S20: acquiring a plurality of initial message IDs (identities) corresponding to each network node on a bus respectively, and determining node parameters of each network node according to the plurality of initial message IDs;
it should be noted that, a plurality of nodes are provided on the vehicle-mounted network, and by receiving a plurality of initial packet IDs respectively corresponding to each network node, the node parameters of each network node can be queried through the corresponding initial packet IDs;
step S30: determining a message transmission path according to the message initial ID and the corresponding node parameter;
step S40: judging whether the message transmission path is a routing path or not;
step S50: if yes, automatically distributing the routing path of the routing message;
during specific implementation, the gateway terminal acquires node parameters of network nodes on a network, determines a message transmission path according to the message initial ID and the corresponding node parameters, and automatically allocates a routing path if the message transmission path is the routing path.
Referring to fig. 9, fig. 9 is a schematic flowchart of an eighth embodiment of an adaptive modulation method according to the present invention.
Based on the seventh embodiment described above, in the present embodiment, the step S40 includes:
step S401: when the sending node and the receiving node of the message transmission path are in different network segments, judging the message transmission path as a routing path;
step S402: when the sending node and the receiving node of the message transmission path are in the same network segment, judging the message transmission path as a non-routing path;
during specific implementation, by judging the network segment state of the sending node and the receiving node of the message transmission path, if the network segment is the same network segment for direct transmission, and if the network segment is different, the route path is self-adaptively and automatically adjusted and planned.
The gateway terminal obtains the configuration of network nodes in the vehicle-mounted network by receiving a source network segment routing message corresponding to the initial ID of the message, identifies all online nodes in the vehicle-mounted network, automatically identifies which messages of each network segment need to be routed and a target network segment of the routing message by receiving and sending message information of the network nodes input by the remote information processor, can automatically identify the change of a network topological structure and automatically change the routing path of the related message, and simultaneously configures the message receiving and sending information of the related network nodes by the server when a newly-added routing message or network node exists, and automatically changes the routing path of the related message by the gateway so as to realize the upgrade of the gateway terminal, improve the expansibility of the whole vehicle, and does not need to repeatedly develop gateway software under the condition of continuous adjustment of the configuration of the whole vehicle, the efficiency is improved, and the management cost is reduced.
Furthermore, an embodiment of the present invention further provides a storage medium, where an adaptive modulation control program is stored, and the adaptive modulation control program implements the steps of the adaptive modulation method as described above when executed by a processor.
Referring to fig. 10, fig. 10 is a block diagram illustrating a first embodiment of an adaptive regulation control apparatus according to the present invention.
As shown in fig. 10, an adaptive adjustment control apparatus according to an embodiment of the present invention includes:
an obtaining module 601, configured to obtain a message parameter of a server and load status data of a bus, where the message parameter includes a message initial ID, a message delay time allowed value corresponding to the message initial ID, and a message optimization ID corresponding to the message initial ID;
it should be noted that the server stores message parameters defined on the entire communication network, such as parameters of an initial ID (identification number) of the message, a message sending node, a message optimization ID, DLC, a source segment message sending type, a message sending period, a message delay performance requirement, and a receiving node, etc., the telematics unit and the gateway perform data transfer through a bus, the telematics unit and the server transmit data through a wireless mobile network, the load state data of the bus includes a load rate and the number of continuously sent messages, and different load rates are available on the bus at different times of message transmission.
In addition, it should be noted that the message optimization ID has a higher priority level, so that the message delay can be as small as possible, and the real-time performance and reliability of network communication can be ensured.
A calculating module 602, configured to calculate a packet delay time pre-estimated value according to the load state data and the packet initial ID;
it should be noted that, after obtaining the message parameters of the server and the load state data of the bus, the gateway terminal calculates the message delay time estimated value according to the obtained information;
a selecting module 603, configured to select the initial packet ID or the optimized packet ID for bus communication according to the packet delay time pre-estimated value and the packet delay time allowed value;
it should be noted that, according to the relationship between the estimated value of the message delay time and the allowable value of the message delay time, it is determined whether to select the initial ID of the message or the optimized ID of the message for bus communication, so as to reduce the risk of message delay or frame loss.
The gateway terminal obtains message parameters of a server and load state data of a bus, calculates a message delay time estimated value according to the load state data and the message initial ID, selects the message initial ID or the message optimized ID to perform bus communication according to the message delay time estimated value and the message delay time allowable value, adaptively adjusts the priority of the message, reduces the risk of message delay or frame loss, and improves the real-time performance and reliability of network communication.
Other embodiments or specific implementation manners of the adaptive adjustment control apparatus of the present invention may refer to the above method embodiments, and are not described herein again.
Referring to fig. 11, fig. 11 is a block diagram of the adaptive control system according to the first embodiment of the present invention.
As shown in fig. 11, the adaptive adjustment system according to the embodiment of the present invention includes a gateway terminal 100, a server 300, and a telematics processor 200, where the gateway terminal 100 is the gateway terminal 100 in the above embodiments, the server 300 stores the message parameters, and the telematics processor 200 is disposed between the server 300 and the gateway terminal 100, so as to enable bus communication between the gateway terminal 100 and the server 300.
The gateway terminal 100 obtains the configuration of network nodes in the vehicle-mounted network by receiving the source network segment routing message corresponding to the initial ID of the message, identifies all online nodes in the vehicle-mounted network, automatically identifies which messages of each network segment need to be routed and the target network segment of the routing message by receiving and sending message information of the network nodes input by the remote information processor 200, can automatically identify the change of the network topology structure, automatically changes the routing path of the related message, and simultaneously configures the message receiving and sending information of the related network nodes for the gateway terminal 100 by the server 300 when a newly-added routing message or network node exists, the gateway automatically changes the routing path of the related message so as to upgrade the gateway terminal 100, improve the expansibility of the whole vehicle, and does not need to repeatedly develop gateway software under the condition that the configuration of the whole vehicle is continuously adjusted, the efficiency is improved, and the management cost is reduced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An adaptive adjustment control method for a vehicle-mounted network, the adaptive adjustment control method comprising the steps of:
acquiring message parameters of a server and load state data of a bus, wherein the message parameters comprise a message initial ID, a message delay time allowed value corresponding to the message initial ID and a message optimization ID corresponding to the message initial ID;
calculating a message delay time pre-estimated value according to the load state data and the message initial ID;
and selecting the initial ID of the message or the optimized ID of the message for bus communication according to the estimated value of the message delay time and the allowable value of the message delay time.
2. The adaptive modulation control method according to claim 1, wherein the step of selecting the initial ID or the optimized ID for bus communication according to the estimated value of the delay time of the packet and the allowable value of the delay time of the packet comprises:
when the message delay time estimated value is smaller than the message delay time allowable value, selecting the message initial ID to carry out bus communication;
and when the estimated message delay time value is greater than or equal to the allowable message delay time value, inquiring ID information of the message optimization ID, and selecting the initial message ID or the message optimization ID according to an inquiry result to perform bus communication.
3. The adaptive modulation control method of claim 2 wherein the load status data comprises a load rate;
when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID, and selecting the initial ID of the message or the message optimization ID to perform bus communication according to an inquiry result, wherein the steps comprise:
when the estimated value of the message delay time is greater than or equal to the allowable value of the message delay time, inquiring ID information of the message optimization ID;
when the ID value does not exist in the ID information, selecting the initial ID of the message for bus communication;
when the ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value, and selecting the message initial ID or the message optimized ID according to the message delay influence factor to carry out bus communication.
4. The adaptive modulation control method according to claim 3, wherein the step of calculating a packet delay impact factor according to the ID value, the load rate, the packet delay time pre-estimated value, and the packet delay time allowable value when the ID value is found in the ID information, and selecting the initial packet ID or the optimized packet ID for bus communication according to the packet delay impact factor comprises:
when the ID value exists in the ID information, calculating a message delay influence factor according to the ID value, the load rate, the message delay time estimated value and the message delay time allowable value;
when the message delay influence factor is larger than a preset threshold value, selecting the message optimization ID to carry out bus communication;
and when the message delay influence factor is smaller than or equal to a preset threshold value, selecting the message initial ID to carry out bus communication.
5. The adaptive modulation control method of claim 1 wherein prior to the step of obtaining the server's message parameters and the bus's load state data, the adaptive modulation control method further comprises:
establishing a data calculation model corresponding to load state data, a message initial ID and a message delay time estimated value;
the step of calculating the message delay time estimated value according to the load state data and the message initial ID comprises the following steps:
and inputting the load state data and the message initial ID into the data calculation model to obtain a message delay time estimated value.
6. The adaptive modulation control method according to claim 5, wherein the step of establishing a data calculation model of the load status data and the data calculation model of the initial ID of the packet corresponding to the estimated value of the delay time of the packet comprises:
receiving a source network segment routing message corresponding to the initial ID of the message, and recording the time T1;
routing the source network segment routing message to a target network segment, recording the time T2, and obtaining the bus load rate L of the target network segment1
Calculating the time difference Delta T of message routing delay1And with the bus load rate L1Associating;
recording the time difference Delta T of routing delay of a plurality of messages at different momentsxAnd respectively associated with the bus load rate L per timexAssociating;
fitting multiple message routing delay time difference Delta TxCorresponding bus load rate LxTo obtain a data calculation model.
7. The adaptive modulation control method according to claim 1, wherein the message parameters further include a network node corresponding to the message initial ID;
the step of obtaining the message parameters of the server and the load state data of the bus further comprises the following steps:
acquiring a plurality of initial message IDs (identities) corresponding to each network node on a bus respectively, and determining node parameters of each network node according to the plurality of initial message IDs;
determining a message transmission path according to the message initial ID and the corresponding node parameter;
judging whether the message transmission path is a routing path or not;
and if so, automatically distributing the routing path of the routing message.
8. An adaptive adjustment control apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring message parameters of a server and load state data of a bus, and the message parameters comprise a message initial ID, a message delay time allowed value corresponding to the message initial ID and a message optimization ID corresponding to the message initial ID;
the calculation module is used for calculating a message delay time estimated value according to the load state data and the message initial ID; and the number of the first and second groups,
and the selection module is used for selecting the initial ID of the message or the optimized ID of the message to carry out bus communication according to the estimated value of the message delay time and the allowable value of the message delay time.
9. A gateway terminal, characterized in that the gateway terminal comprises: a memory, a processor and an adaptive adjustment control program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the adaptive adjustment control method of any one of claims 1 to 7.
10. A storage medium storing an adaptive adjustment control program which, when executed by a processor, implements the steps of the adaptive adjustment control method according to any one of claims 1 to 7.
CN202010464453.5A 2020-05-27 2020-05-27 Adaptive adjustment control method and device, gateway terminal and storage medium Active CN111641542B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010464453.5A CN111641542B (en) 2020-05-27 2020-05-27 Adaptive adjustment control method and device, gateway terminal and storage medium
PCT/CN2020/128330 WO2021238090A1 (en) 2020-05-27 2020-11-12 Adaptive adjustment control method and apparatus, gateway terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010464453.5A CN111641542B (en) 2020-05-27 2020-05-27 Adaptive adjustment control method and device, gateway terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111641542A CN111641542A (en) 2020-09-08
CN111641542B true CN111641542B (en) 2021-08-06

Family

ID=72331157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010464453.5A Active CN111641542B (en) 2020-05-27 2020-05-27 Adaptive adjustment control method and device, gateway terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111641542B (en)
WO (1) WO2021238090A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641542B (en) * 2020-05-27 2021-08-06 东风柳州汽车有限公司 Adaptive adjustment control method and device, gateway terminal and storage medium
CN112532495B (en) * 2020-11-16 2022-03-15 中国汽车技术研究中心有限公司 Vehicle-mounted CAN bus delay optimization method
CN114827046B (en) * 2022-03-22 2023-07-11 西北工业大学 Bus load rate processing method and device and computer readable storage medium
CN116781744B (en) * 2023-07-11 2024-03-01 北京和欣运达科技有限公司 Key event scanning method based on half-duplex bus, gateway and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2886897Y (en) * 2006-03-20 2007-04-04 中国人民解放军总装备部军械技术研究所 Safe multifunctional DC power supply
CN103237243A (en) * 2013-05-10 2013-08-07 无锡北斗星通信息科技有限公司 Vehicle-mounted digital television receiving terminal capable of realizing EPG (Electronic Program Guide) display style multi-user management
CN104902511A (en) * 2015-06-01 2015-09-09 南京邮电大学 Method for alleviating synchronization conflict of control channel
CN106850581A (en) * 2017-01-04 2017-06-13 网宿科技股份有限公司 The distribution backup method of interactive live broadcast stream media data, system and server
CN109873835A (en) * 2019-03-29 2019-06-11 北京经纬恒润科技有限公司 A kind of message handling system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8976730B2 (en) * 2011-07-22 2015-03-10 Alcatel Lucent Enhanced capabilities and efficient bandwidth utilization for ISSI-based push-to-talk over LTE
CN102882753A (en) * 2012-06-15 2013-01-16 浙江吉利汽车研究院有限公司杭州分公司 Controller area network (CAN) message long delay processing method
KR101417459B1 (en) * 2012-12-10 2014-07-08 성균관대학교산학협력단 An improved data processing method and system on gateway used in real-time communication within vehicle components
CN104125152B (en) * 2013-04-23 2018-04-10 浙江大学 A kind of method that In-vehicle networking reliability is improved based on car borne gateway
CN110149348A (en) * 2019-06-20 2019-08-20 北京经纬恒润科技有限公司 The means of defence and device of In-vehicle networking
CN111641542B (en) * 2020-05-27 2021-08-06 东风柳州汽车有限公司 Adaptive adjustment control method and device, gateway terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2886897Y (en) * 2006-03-20 2007-04-04 中国人民解放军总装备部军械技术研究所 Safe multifunctional DC power supply
CN103237243A (en) * 2013-05-10 2013-08-07 无锡北斗星通信息科技有限公司 Vehicle-mounted digital television receiving terminal capable of realizing EPG (Electronic Program Guide) display style multi-user management
CN104902511A (en) * 2015-06-01 2015-09-09 南京邮电大学 Method for alleviating synchronization conflict of control channel
CN106850581A (en) * 2017-01-04 2017-06-13 网宿科技股份有限公司 The distribution backup method of interactive live broadcast stream media data, system and server
CN109873835A (en) * 2019-03-29 2019-06-11 北京经纬恒润科技有限公司 A kind of message handling system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《中国汽车工程学术研究综述 2017》;《中国公路学报》编辑部;《中国公路学报》;20170615;第30卷(第6期);全文 *

Also Published As

Publication number Publication date
CN111641542A (en) 2020-09-08
WO2021238090A1 (en) 2021-12-02

Similar Documents

Publication Publication Date Title
CN111641542B (en) Adaptive adjustment control method and device, gateway terminal and storage medium
US11051210B2 (en) Method and system for network slice allocation
CN110601973B (en) Route planning method, system, server and storage medium
CN103248451B (en) Service rate control method and system and equipment
CN100518104C (en) Speed-measuring resource dynamic distributing method and system for network speed-measuring system
US9253045B2 (en) Modeling and simulating flow propagation in dynamic bandwidth systems
US8199640B2 (en) Path-based adaptive prioritization and latency management
CN103597787A (en) Terminal, control device, communication method, communication system, communication module, program, and information processing device
CN106576074A (en) Routing rule acquisition method, device and system
CN108512672B (en) Service arranging method, service management method and device
CN114500358B (en) Gateway message distribution method, device, equipment and storage medium
US7561883B2 (en) System and method for management of the resources of a broadband mobile network having prolonged fixed accesses by wireless local area network access terminals
CN109617806B (en) Data traffic scheduling method and device
CN114971205A (en) Order dispatching method and system
JP2018098590A (en) Traffic demand prediction device, traffic demand prediction method, and program
CN101129028B (en) Estimation of bandwidth requirements in a communications network with access controls
EP2930617A1 (en) Resource management method and device
Manogaran et al. Optimizing resource and service allocations for iot-assisted intelligent transportation systems
CN103685329B (en) Advanced access control system and method based on load balancing
CN109936460B (en) Method and equipment for charging flow
CN115190034B (en) Service deployment method based on edge cloud computing
Borin et al. Admission control for WiMAX networks
Shawky et al. Class-based context quality optimization for context management frameworks
CN113067659B (en) Information processing method, device, equipment and computer readable storage medium
CN112020032B (en) Internet of vehicles network optimized access method

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