Vehicle network configuration method, device, electronic device and storage medium

By receiving the network architecture parameters of the vehicle network and the adjustment results of the target processing unit, determining the target network protocol and generating configuration parameters, the problem of low vehicle network design in traditional methods is solved, and efficient configuration and data interaction stability is achieved.

CN115987777BActive Publication Date: 2024-11-26CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211529430.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2024-11-26
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

Traditional Ethernet has many limitations in in-vehicle communication, making it difficult to directly apply to vehicle networks. The existing methods require frequent debugging of configuration parameters to meet the needs of vehicle network design, reducing the parameter configuration efficiency of processing units.

Method used

By receiving the network architecture parameters of the vehicle network and the adjustment results of the target processing unit, the target network protocol is determined, and the target configuration parameters are generated based on the protocol and architecture parameters, and the parameter configuration of the port and the associated processing unit is carried out to ensure the operation information of the target processing unit. Meet the adjustment results.

Benefits of technology

It improves the configuration efficiency of target configuration parameters, lowers the technical threshold for users, and standardizes the output configuration parameters, ensuring that the data interaction between the processing unit and the associated processing unit is not affected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115987777B_ABST
    Figure CN115987777B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a vehicle network configuration method, device, electronic device and storage medium, the method comprising receiving network architecture parameters of a vehicle network, and a target adjustment result corresponding to a target processing unit; determining a target network protocol based on the target adjustment result; determining target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters comprising port configuration parameters of the target processing unit and at least one of port configuration parameters of an associated processing unit of the target processing unit; performing parameter configuration on ports corresponding to the target configuration parameters based on the target configuration parameters; the present disclosure can generate target configuration parameters, and perform parameter configuration on multiple preset processing units in a unified manner based on the target configuration parameters, so as to improve the configuration efficiency of the target configuration parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle network configuration method, device, electronic device and storage medium. Background Art

[0002] With the gradual development of the automobile industry and the popularization of intelligence and networking, the amount of in-vehicle communication data has increased dramatically. However, traditional Ethernet itself has many limitations and is not suitable for direct transplantation and use in in-vehicle communication. How to actually apply TSN (Time-Sensitive Networking) technology to automobiles has become a hot research direction. The current method of use is to configure each protocol separately through hardware such as switches, and it is necessary to continuously debug the configuration parameters to meet the requirements of vehicle network design, thereby reducing the parameter configuration efficiency of each processing unit. Summary of the invention

[0003] The present disclosure provides a network configuration method, device, electronic device and storage medium to at least solve the problems that cannot be solved in the related art. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a network configuration method is provided, the method comprising:

[0005] Receiving network architecture parameters of a vehicle network and a target adjustment result corresponding to a target processing unit; the vehicle network is generated based on a data interaction relationship between a plurality of preset processing units; the target processing unit is at least one processing unit of the plurality of preset processing units;

[0006] Determining a target network protocol based on the target adjustment result;

[0007] Determine the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters include at least one of the port configuration parameters of the target processing unit and the port configuration parameters of the associated processing unit of the target processing unit;

[0008] Based on the target configuration parameters, parameters of ports corresponding to the target configuration parameters are configured so that the operation information parameters of the target processing unit meet the target adjustment result.

[0009] Further, determining the target network protocol based on the target adjustment result includes:

[0010] Performing type identification on the target adjustment result to obtain an adjustment type of the target adjustment result;

[0011] Based on the association relationship between a plurality of preset adjustment types and a plurality of preset network protocols, a target network protocol corresponding to the adjustment type is determined.

[0012] Further, determining the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result includes:

[0013] Determining an associated processing unit of the target processing unit based on the network architecture parameter and the target adjustment result;

[0014] Based on the target network protocol, the network architecture parameters and the target adjustment result, the configuration parameters of the target processing unit and / or the configuration parameters of the associated processing unit are determined.

[0015] Further, the determining the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result also includes:

[0016] In the case where the association processing unit includes a data stream transmission module, based on the target network protocol, the network architecture parameter and the target adjustment result, determining the operating parameters of the target gate switch corresponding to the data stream transmission module;

[0017] The target configuration parameter is determined based on the operating parameter of the target gate-controlled switch corresponding to the data stream transmission module.

[0018] Further, the determining the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result also includes:

[0019] In the case where the association processing unit includes a delay calibration module, determining a time delay parameter corresponding to the delay calibration module based on the target network protocol, the network architecture parameter and the target adjustment result;

[0020] Based on the time delay parameter, the target configuration parameter is determined.

[0021] Further, the target configuration parameters include network address parameters used for the target processing unit to perform data transmission with the associated processing unit; the target processing unit includes a first address port, and the associated processing unit includes a second address port;

[0022] The performing parameter configuration on the port corresponding to the target configuration parameter based on the target configuration parameter further includes:

[0023] The first address port and the second address port are configured respectively based on the network address parameters.

[0024] Further, the performing parameter configuration on the port of the target processing unit based on the target configuration parameter also includes:

[0025] Inputting the target network protocol and the target configuration parameters into a simulation processing unit for data testing to obtain a test adjustment result; the simulation processing unit corresponds to the vehicle network;

[0026] When the test adjustment result is consistent with the target adjustment result, parameter configuration is performed on the target processing unit based on the target configuration parameters.

[0027] According to a second aspect of an embodiment of the present disclosure, a network configuration device is provided, the device comprising:

[0028] A receiving module, configured to receive a network architecture parameter of a vehicle network and a target adjustment result corresponding to a target processing unit; the vehicle network is generated based on a data interaction relationship between a plurality of preset processing units; the target processing unit is at least one processing unit of the plurality of preset processing units;

[0029] A first determination module, configured to determine a target network protocol based on the target adjustment result;

[0030] A second determination module is used to determine the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters include at least one of the port configuration parameters of the target processing unit and the port configuration parameters of the associated processing unit of the target processing unit;

[0031] The parameter configuration module is used to perform parameter configuration on the port corresponding to the target configuration parameter based on the target configuration parameter, so that the operation information parameter of the target processing unit meets the target adjustment result.

[0032] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a vehicle network configuration method as described in any one of the first aspects above.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the vehicle network configuration method described in any one of the first aspects of the embodiment of the present disclosure.

[0034] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0035] The present invention can determine the target network protocol based on the target adjustment result corresponding to the target processing unit, generate the target configuration parameters through the target adjustment result, the network architecture parameters and the target network protocol, and configure the target processing unit based on the target configuration parameters, without the need to debug the target configuration parameters multiple times, thereby improving the configuration efficiency of the target configuration parameters, and the user does not need to master too many technical means, which lowers the user's usage threshold; the target processing unit configuration parameters are output in a standardized manner; since the vehicle network is formed based on the data interaction relationship between multiple preset processing units, adjusting the configuration parameters of the target processing unit may affect the data interaction between the target processing unit and the associated processing units. Therefore, the present invention can obtain the parameter configuration of the target processing unit and / or the associated processing unit based on the target adjustment result, the network architecture parameters and the target network protocol, to ensure that the data interaction between the target processing unit and the associated processing unit is not affected.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0038] Figure 1 is a flow chart of a vehicle network configuration method according to an exemplary embodiment;

[0039] Figure 2 is a flow chart of a parameter configuration method according to an exemplary embodiment;

[0040] Figure 3 is a time delay determination principle diagram according to an exemplary embodiment;

[0041] Figure 4 is a flow chart of a configuration parameter testing method according to an exemplary embodiment;

[0042] Figure 5 The figure is a structural block diagram of a vehicle network configuration device according to an exemplary embodiment. DETAILED DESCRIPTION

[0043] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0045] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0046] Figure 1 is a flow chart of a network configuration method according to an exemplary embodiment. Optionally, the network configuration method is used in an electronic device. Figure 1 As shown, the method may include the following steps.

[0047] S110: receiving a network architecture parameter of a vehicle network and a target adjustment result corresponding to a target processing unit; the vehicle network is generated based on a data interaction relationship between a plurality of preset processing units; the target processing unit is at least one processing unit of the plurality of preset processing units;

[0048] The executor of this embodiment is the vehicle body processor, wherein multiple preset processing units include hardware, software, sensors, actuators, and electronic and electrical distribution systems on the vehicle, etc. The vehicle network is a network formed by data interaction between multiple preset processing units, and the network architecture parameters include multiple preset processing unit parameters themselves, interaction parameters between multiple preset processing units, etc.; the target adjustment results include time synchronization of multiple processing units, delay adjustment of one or more processing units, stable data transmission without packet loss, etc.; this embodiment can be applied to time-sensitive network design, and the process of time-sensitive network design is sequentially: scenario analysis, network simulation, network design, and communication design, etc., wherein scenario analysis is demand collection and technical requirements The fixed-point stage is to determine the target adjustment result corresponding to the target processing unit. The network simulation is performed using software tools, such as RTAW (translated as real-time working tool, Real Time-At-Work). The network architecture parameters of the vehicle network are obtained based on the network simulation topology results. The network architecture parameters are related parameters of the vehicle's electronic and electrical architecture. This embodiment will involve network design and communication design to form a network configuration tool. The network architecture parameters and the target adjustment results are input in the form of engineering files, such as messages. The target processing unit can be multiple processing units among multiple preset processing units. Correspondingly, the target adjustment results can also be multiple. When the target processing unit is one processing unit, there can also be multiple corresponding target adjustment results.

[0049] S120: Determine a target network protocol based on the target adjustment result;

[0050] In this embodiment, multiple preset network protocols are integrated, such as the IEEE 802.1AS protocol for time synchronization and the IEEE 802.1CB protocol for stable data transmission without packet loss, etc., and multiple preset network protocols are uniformly scheduled. The target adjustment result is reflected in a message. A field that meets the requirements of the protocol is configured in a certain frame domain in the message. The message can be identified as a message of the target network protocol and can execute the function written in the configuration field. The key field values ​​of multiple target network protocols can be added to one message, so that the message responds to and enables multiple target network protocols at the same time.

[0051] S130: Determine target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters, and the target adjustment result; the target configuration parameters include at least one of the port configuration parameters of the target processing unit and the port configuration parameters of the associated processing unit of the target processing unit;

[0052] Traditional parameter configuration methods are to configure each protocol separately through hardware such as switches, and manually debug the target configuration parameters. In this embodiment, the time-sensitive network protocol works on the second layer of the ISO model, and can perform model training of configuration parameters to obtain a parameter configuration model. The network architecture parameters and the target adjustment results are input into the parameter configuration model to generate a parameter configuration table. The parameter configuration table includes the unit identifier of the target processing unit, the unit identifier of the associated processing unit, and the configuration parameters corresponding to each unit identifier. The parameter configuration table is in an arxml format that can be directly used for execution. The body controller can perform parameter configuration on the target processing unit and / or the associated processing unit based on the configuration parameters corresponding to each unit identifier in the parameter configuration table. Since the vehicle network is generated based on the data interaction relationship between multiple preset processing units, there may be multiple associated processing units that interact with the target processing unit. In order to ensure that the data interaction between the processing units is not affected, it is also necessary to generate the configuration parameters of the associated processing unit.

[0053] S140: Based on the target configuration parameters, perform parameter configuration on the port corresponding to the target configuration parameters, so that the operation information parameters of the target processing unit meet the target adjustment result.

[0054] The target configuration parameters output by the network design are used to configure the ports of the target processing unit and / or the associated processing unit based on the target configuration parameters; in the present embodiment, multiple preset network protocols are integrated into an independent tool for overall unified scheduling and configuration, which can lower the user's usage threshold; the user does not need to master too many technical means; the target processing unit configuration parameters are output in a standardized manner; since the vehicle network is formed based on the data interaction relationship between multiple preset processing units, adjusting the configuration parameters of the target processing unit may affect the data interaction between the target processing unit and the associated processing unit. Therefore, the present invention can obtain the parameter configuration of the target processing unit and / or the associated processing unit based on the target adjustment result, the network architecture parameters and the target network protocol, thereby ensuring that the data interaction between the target processing unit and the associated processing unit is not affected.

[0055] In this embodiment, the network architecture parameters and the target adjustment results are input into the parameter configuration model, and the parameter configuration table can be automatically generated. Specifically, the training process of the parameter configuration model includes: inputting the target adjustment results of various adjustment types and the network architecture parameters as training samples into the basic training model, the basic training model determines the target network protocol by identifying the key field values ​​of the message message corresponding to the target adjustment result, and generates target configuration parameters matching the target adjustment result by manually debugging the configuration parameters, records the target configuration parameters debugged each time, and iteratively trains the basic training model until the network architecture parameters and the target adjustment results are input into the basic training model, and the target configuration parameters matching the target adjustment result can be automatically generated. After the training of the basic training model is completed, the parameter configuration model is obtained, the network architecture parameters and the target adjustment results are input into the parameter configuration model, and the parameter configuration model outputs the parameter configuration table in arxml format, and the parameter configuration table can be directly used to configure the parameters of the target processing unit and / or associated processing units, thereby improving the parameter configuration efficiency.

[0056] In one implementation, determining a target network protocol based on a target adjustment result includes:

[0057] Performing type identification on the target adjustment result to obtain the adjustment type of the target adjustment result;

[0058] The target adjustment result is presented in the form of a message, and the target adjustment result is input through a scenario analysis tool or other means. The adjustment type of the target adjustment result is determined based on the functional type of the target adjustment result, wherein the adjustment can include each processing unit satisfying consistent time delays, each node data stream having stable transmission without packet loss, or important data not being congested, etc. Based on multiple preset adjustment types, key field values ​​corresponding to the adjustment types are added to the message message corresponding to the target adjustment result. If the target adjustment result includes multiple adjustment types at the same time, key field values ​​corresponding to the multiple adjustment types are added to the message message.

[0059] Based on the association relationship between the plurality of preset adjustment types and the plurality of preset network protocols, a target network protocol corresponding to the adjustment type is determined.

[0060] An association relationship between multiple preset adjustment types and multiple preset network protocols is established, that is, an association relationship between key field values ​​and multiple preset network protocols is established. Based on the association relationship, the target network protocol corresponding to the adjustment type is determined by identifying the key field value in the message message corresponding to the target adjustment type. There is no need to connect to a switch to obtain the target network protocol, and there is no need for the user to be familiar with the principles of various protocols in advance, thereby lowering the user's usage threshold.

[0061] In one embodiment, referring to Figure 2The flowchart shown in the figure determines the target configuration parameters corresponding to the target processing unit based on the target network protocol, network architecture parameters and target adjustment results, including:

[0062] S210: Determine an associated processing unit of the target processing unit based on the network architecture parameter and the target adjustment result;

[0063] The target processing unit is one or more processing units that can be directly obtained based on the target adjustment result; the associated processing unit is one or more processing units that cannot be directly obtained based on the target adjustment result and are associated with the target processing unit. Specifically, the associated processing unit can be determined by a parameter configuration model to establish an association relationship between the target processing unit and the associated processing unit. When the parameter configuration model determines the target processing unit based on the target adjustment result, it can determine the associated processing unit based on the association relationship between the target processing unit and the associated processing unit. For example, the target adjustment result is to adjust the time delay parameters of all processing units to be less than or equal to 100ms. The target processing unit can be directly determined as all processing units, and a delay calibration module is required to send a standard time reference to the target processing unit, and then it is determined that the corresponding associated processing unit includes a delay calibration module, and a standard time reference is sent to the target processing unit through the delay calibration module, so that the guaranteed time delay of each processing unit is consistent.

[0064] S220: Determine configuration parameters of the target processing unit and / or configuration parameters of the associated processing unit based on the target network protocol, network architecture parameters, and target adjustment results.

[0065] The parameter configuration of the target processing unit and / or the associated processing unit is obtained to ensure that the data interaction between the target processing unit and the associated processing unit is not affected.

[0066] In one embodiment, determining target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result also includes:

[0067] In the case where the associated processing unit includes a data stream transmission module, determining an operating parameter of a target gate-controlled switch corresponding to the data stream transmission module;

[0068] The data stream transmission module may include multiple data transmission channels, and operation parameters of multiple gate-controlled switches corresponding to the multiple data transmission channels.

[0069] The target configuration parameters are determined based on the operating parameters of the target gate-controlled switch corresponding to the data stream transmission module.

[0070] Among them, the target gating switch is the gating switch of the transmission channel corresponding to the important data transmission. If the target adjustment result is that important data is transmitted first, the importance of the data will be determined when the data flow is in the data output unit. The target processing unit may include a data output unit, and the data stream transmission is transmitted through a data stream transmission module. Therefore, the associated processing unit may include a data stream transmission module. The data transmission module includes multiple data transmission channels. The operating parameters of the target gating switch are set to parameters that characterize the opening state of the gating switch. Important data does not need to be transmitted together with other data to prevent data congestion. Among them, important data may include command control data and information security data, such as security flow information and control flow information.

[0071] As a specific implementation, based on the data types of the multiple preset data streams, corresponding transmission priorities of the multiple preset data streams are determined;

[0072] There are many forms of data flow, and there are different types according to different functional domains. An important criterion for dividing data flow priorities is the importance of the data flow to the operation of the overall functional domain. Therefore, control flow information and security flow information need to be set as the first priority data flow.

[0073] Determine, based on the transmission priorities corresponding to the multiple preset data streams, the data transmission channels corresponding to the multiple preset data streams;

[0074] The data transmission module includes multiple data transmission channels. Security flow information and control flow information are the first priority. Therefore, the security flow information and control flow information can be transmitted through the same data transmission channel, and the data corresponding to each first priority can be transmitted through different data transmission channels to prevent the data transmission channel corresponding to the first priority from being blocked.

[0075] Based on the data transmission channels corresponding to the multiple preset data streams respectively, the multiple preset data streams are transmitted to a data receiving unit, and the data receiving unit is at least one processing unit of the multiple preset processing units.

[0076] Multiple preset data streams are transmitted based on the data transmission channels corresponding to their respective priorities to prevent the multiple preset data streams from being blocked in the data transmission channel so that the data can reach the data receiving unit in time. Furthermore, during the peak period of data transmission, the gating switch of the data transmission channel corresponding to the first priority can be opened preferentially, or the gating switch of the data transmission channel corresponding to the first priority can be set to normally open to ensure the stable transmission of important data streams.

[0077] Furthermore, if the target adjustment result includes the requirement of stable data transmission without packet loss, the target network protocol is determined to be the IEEE 802.1CB protocol, the transmitted data is redundantly backed up, and simultaneously transmitted to the data receiving module on multiple data links to prevent data transmission packet loss.

[0078] In one embodiment, determining target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result also includes:

[0079] In the case where the association processing unit includes a delay calibration module, determining a time delay parameter corresponding to the delay calibration module;

[0080] Among them, the delay calibration module corresponds to multiple time parameters, such as the timestamp of data interaction between the delay calibration module and the target processing unit, and also includes the time delay parameters of the target processing unit, etc. When it is determined that the associated processing unit includes the delay calibration module, the target adjustment result is that the time delay of the target processing unit does not exceed a preset time, such as 100ms, and the time delay parameters corresponding to the delay calibration module are determined.

[0081] Based on the time delay parameters, target configuration parameters are determined.

[0082] The target configuration parameters are configured so that the time delay parameters corresponding to the delay calibration module do not exceed 100ms, so as to meet the target adjustment result. Specifically, the delay calibration module can be a master clock, which is used as a reference clock. The master clock sends a message to the target processing unit, where the message is divided into an event message (Sync) and a general message (Follo_up). The difference is that the event message generates a timestamp when it is sent and received, while the general message does not generate a timestamp when it is sent and received. Figure 3At time t1, the master clock sends an event message to the target processing unit, and the target processing unit receives the event message at time t2. The sending timestamp of the event message is at the master clock, and the receiving timestamp of the event message is at the target processing unit. Subsequently, the master clock sends a general message carrying the sending timestamp of the event message (time t1) to the target processing unit. At this time, the target processing unit includes the sending timestamp of the event message (time t1) and the receiving timestamp of the event message (time t2). In the same way, the target processing unit sends an event message to the master clock, and then receives the general message sent by the master clock to obtain the sending timestamp of the event message (time t3) and the receiving timestamp (time t4). time), determine the message sending delay between the target processing unit and the main clock as clock_offset=[t3-t4+t2-t1] / 2. If the target adjustment result is that the network transmission delay is less than 100ms, set the time delay parameter clock_offset≤50ms for the interaction between the data of each associated processing unit and the delay calibration module. In addition, set the message sending interval to a preset interval, which may be 1ms. Reserve additional time for the associated processing units to perform internal calculations and processing, and make the delays of each associated processing unit consistent with the main clock, so as to ensure the consistency of the delays of each preset processing unit in the vehicle network, and further ensure the timeliness of subsequent data processing.

[0083] In one embodiment, the target configuration parameter includes a network address parameter corresponding to an address port for data transmission between the target processing unit and the associated processing unit; the target processing unit includes a first address port, and the associated processing unit includes a second address port;

[0084] Based on the target configuration parameters, the port corresponding to the target configuration parameters is configured, which also includes:

[0085] The first address port and the second address port are configured respectively based on the network address parameters.

[0086] The target processing unit can be a data sending unit, and the associated processing unit can be a data receiving unit. If the address parameter of the first address port is the first address parameter and the address parameter of the second address port is the second address parameter, the first address port can be configured based on the second address parameter, or the first address port can be configured based on the second address parameter, or the first address port and the second address port can be configured separately based on the network address parameter. As long as the network address parameter of the first address port is met and consistent with the network address parameter of the second address port, the transmission quality of the data transmission between the target processing unit and the associated processing unit can be guaranteed.

[0087] In one embodiment, referring to Figure 4The flowchart shown performs parameter configuration on the port of the target processing unit based on the target configuration parameters, and also includes:

[0088] S410: Input the target network protocol and target configuration parameters into the simulation processing unit for data testing to obtain a test adjustment result; the simulation processing unit corresponds to the vehicle network;

[0089] S420: When the test adjustment result is consistent with the target adjustment result, parameter configuration is performed on the target processing unit based on the target configuration parameters.

[0090] In this embodiment, a module processing unit is integrated based on the vehicle network. The module processing unit is a test model corresponding to multiple preset processing units. The target network protocol and the target configuration parameters are input into the simulation processing unit to obtain the test adjustment result. The test adjustment result is compared with the target adjustment result. If they are consistent, it is determined that the target configuration parameters are calculated accurately and can be used for subsequent parameter configuration of the target processing unit. If they are inconsistent, it indicates that there are errors in the target configuration parameters and the target configuration parameters need to be recalculated. Each test process is updated in the parameter configuration table. The user can develop subsequent network designs according to the latest parameter configuration table; the originally abstract Layer 2 protocol logic is instantiated into specific interface parameters, protocol parameters, etc. in the tool, so that users can understand their needs more intuitively.

[0091] Figure 5 is a block diagram of a vehicle network configuration device according to an exemplary embodiment, the device can implement all the above method steps, refer to Figure 5 , the device comprises:

[0092] The receiving module 510 is used to receive the network architecture parameters of the vehicle network and the target adjustment result corresponding to the target processing unit; the vehicle network is generated based on the data interaction relationship between the multiple preset processing units; the target processing unit is at least one processing unit of the multiple preset processing units;

[0093] A first determination module 520, configured to determine a target network protocol based on a target adjustment result;

[0094] A second determination module 530 is used to determine target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters include at least one of the port configuration parameters of the target processing unit and the port configuration parameters of the associated processing unit of the target processing unit;

[0095] The parameter configuration module 540 is used to perform parameter configuration on the port corresponding to the target configuration parameter based on the target configuration parameter, so that the operation information parameter of the target processing unit meets the target adjustment result.

[0096] The device also includes:

[0097] An identification module, used for identifying the type of the target adjustment result to obtain the adjustment type of the target adjustment result;

[0098] The third determination module is used to determine a target network protocol corresponding to an adjustment type based on an association relationship between a plurality of preset adjustment types and a plurality of preset network protocols.

[0099] A fourth determination module, configured to determine an associated processing unit of the target processing unit based on the network architecture parameter and the target adjustment result;

[0100] The fifth determination module is used to determine the configuration parameters of the target processing unit and / or the configuration parameters of the associated processing unit based on the target network protocol, network architecture parameters and target adjustment results.

[0101] a sixth determination module, configured to determine, when the associated processing unit includes a data stream transmission module, an operating parameter of a target gate switch corresponding to the data stream transmission module based on a target network protocol, a network architecture parameter, and a target adjustment result;

[0102] The first target parameter configuration module is used to determine the target configuration parameters based on the operating parameters of the target gate-controlled switch corresponding to the data stream transmission module.

[0103] A seventh determination module, configured to determine a time delay parameter corresponding to the delay calibration module based on a target network protocol, a network architecture parameter, and a target adjustment result when the associated processing unit includes a delay calibration module;

[0104] The second target parameter configuration module is used to determine the target configuration parameter based on the time delay parameter.

[0105] The eighth determination module configures the first address port and the second address port respectively based on the network address parameters; the target configuration parameters include network address parameters used for the target processing unit to transmit data with the associated processing unit; the target processing unit includes the first address port, and the associated processing unit includes the second address port.

[0106] The test module is used to input the target network protocol and target configuration parameters into the simulation processing unit for data testing to obtain the test adjustment result; the simulation processing unit corresponds to the vehicle network;

[0107] The first parameter configuration module is used to perform parameter configuration on the target processing unit based on the target configuration parameters when the test adjustment result is consistent with the target adjustment result.

[0108] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0109] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the network configuration method in the embodiment of the present disclosure.

[0110] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the network configuration method in the embodiment of the present disclosure.

[0111] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute the network configuration method in the embodiment of the present disclosure.

[0112] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0113] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0114] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A vehicle network configuration method, characterized in that: The method comprises: Receiving network architecture parameters of a vehicle network and a target adjustment result corresponding to a target processing unit; the vehicle network is generated based on a data interaction relationship between a plurality of preset processing units; the target processing unit is at least one processing unit of the plurality of preset processing units; Determining a target network protocol based on the target adjustment result; Determine the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters include at least one of the port configuration parameters of the target processing unit and the port configuration parameters of the associated processing unit of the target processing unit; Based on the target configuration parameters, performing parameter configuration on the port corresponding to the target configuration parameters so that the operation information parameters of the target processing unit meet the target adjustment result; Wherein, determining the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result includes: In the case where the association processing unit includes a delay calibration module, determining a time delay parameter corresponding to the delay calibration module based on the target network protocol, the network architecture parameter and the target adjustment result; Based on the time delay parameter, the target configuration parameter is determined.

2. The method according to claim 1, characterized in that The determining the target network protocol based on the target adjustment result includes: Performing type identification on the target adjustment result to obtain an adjustment type of the target adjustment result; Based on the association relationship between a plurality of preset adjustment types and a plurality of preset network protocols, a target network protocol corresponding to the adjustment type is determined.

3. The method according to claim 1, characterized in that The determining, based on the target network protocol, the network architecture parameter and the target adjustment result, the target configuration parameter corresponding to the target processing unit includes: Determining an associated processing unit of the target processing unit based on the network architecture parameter and the target adjustment result; Based on the target network protocol, the network architecture parameters and the target adjustment result, the configuration parameters of the target processing unit and / or the configuration parameters of the associated processing unit are determined.

4. The method according to claim 1, characterized in that: The determining, based on the target network protocol, the network architecture parameter and the target adjustment result, the target configuration parameter corresponding to the target processing unit further includes: In the case where the association processing unit includes a data stream transmission module, based on the target network protocol, the network architecture parameter and the target adjustment result, determining the operating parameters of the target gate switch corresponding to the data stream transmission module; The target configuration parameter is determined based on the operating parameter of the target gate-controlled switch corresponding to the data stream transmission module.

5. The method according to claim 1, characterized in that The target configuration parameters include network address parameters used for the target processing unit to perform data transmission with the associated processing unit; the target processing unit includes a first address port, and the associated processing unit includes a second address port; The performing parameter configuration on the port corresponding to the target configuration parameter based on the target configuration parameter further includes: The first address port and the second address port are configured respectively based on the network address parameters.

6. The method according to claim 1, characterized in that The step of configuring the ports of the target processing unit based on the target configuration parameters further includes: Inputting the target network protocol and the target configuration parameters into a simulation processing unit for data testing to obtain a test adjustment result; the simulation processing unit corresponds to the vehicle network; When the test adjustment result is consistent with the target adjustment result, parameter configuration is performed on the target processing unit based on the target configuration parameters.

7. A vehicle network configuration device, characterized in that: The device comprises: A receiving module, configured to receive a network architecture parameter of a vehicle network and a target adjustment result corresponding to a target processing unit; the vehicle network is generated based on a data interaction relationship between a plurality of preset processing units; the target processing unit is at least one processing unit of the plurality of preset processing units; A first determination module, configured to determine a target network protocol based on the target adjustment result; A second determination module is used to determine the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result; the target configuration parameters include the port configuration parameters of the target processing unit and at least one configuration parameter of the port configuration parameters of the associated processing unit of the target processing unit; wherein, the determination of the target configuration parameters corresponding to the target processing unit based on the target network protocol, the network architecture parameters and the target adjustment result includes: in the case where the associated processing unit includes a delay calibration module, determining the time delay parameters corresponding to the delay calibration module based on the target network protocol, the network architecture parameters and the target adjustment result; determining the target configuration parameters based on the time delay parameters; The parameter configuration module is used to perform parameter configuration on the port corresponding to the target configuration parameter based on the target configuration parameter, so that the operation information parameter of the target processing unit meets the target adjustment result.

8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the vehicle network configuration method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the vehicle network configuration method as claimed in any one of claims 1 to 6.