CN113169995A - Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle - Google Patents

Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle Download PDF

Info

Publication number
CN113169995A
CN113169995A CN201980078131.2A CN201980078131A CN113169995A CN 113169995 A CN113169995 A CN 113169995A CN 201980078131 A CN201980078131 A CN 201980078131A CN 113169995 A CN113169995 A CN 113169995A
Authority
CN
China
Prior art keywords
switch
network
ethernet switch
ethernet
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980078131.2A
Other languages
Chinese (zh)
Inventor
A·吉泰
A·布瓦瑟里
J·T·维亚尔
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.)
PSA Automobiles SA
Original Assignee
Peugeot Citroen Automobiles SA
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 Peugeot Citroen Automobiles SA filed Critical Peugeot Citroen Automobiles SA
Publication of CN113169995A publication Critical patent/CN113169995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/26Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using dedicated tools for LAN [Local Area Network] management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a method for configuring an Ethernet switch (303) of an on-board network (206) of a motor vehicle (205). The method is based on the use of dedicated software modules (302) stored in the memory of a computer (301) of a network device (20l) integrated with this computer, said computer being able to interpret general commands for configuring any type of Ethernet switch, so as to be able to generate (402) configuration commands specific to the Ethernet switch concerned.

Description

Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle
Technical Field
The present invention relates generally to the field of on-board networks in motor vehicles, and more particularly to testing of on-board local area networks in motor vehicles.
The invention relates to a method for configuring an Ethernet switch of such a vehicle-mounted network, said method being implemented for testing said network.
Background
The integration of ethernet technology into the on-board network of a motor vehicle can simultaneously facilitate a high degree of modularity of the network and a high data transmission rate. An ethernet network, in particular an ethernet network operating in switched mode over the IP Protocol ("Internet Protocol"), is a network with a star topology. The star topology is organized around Ethernet switches (english "Ethernet Switch") that interconnect all the devices of the onboard Ethernet network. In particular, the transmission of a data frame in the network from the source device towards the destination device necessarily means that the frame passes through an ethernet switch. Thus, with reference to the OSI model (the english language "Open Systems interconnect"), an ethernet switch is a layer 2 (referred to as the link layer) device in which the data units are frames. The role of the ethernet switch is to direct data frames received from the source device towards the destination device by using a physical addressing system. The physical addressing system is the Medium of the Medium Access Control sublayer (also called MAC layer, in english "Medium Access Control"), which is the lower half of the data link layer of the OSI model.
To this end, ethernet switches rely on a database or CAM (Content Addressable Memory) table that enables the ethernet switch to determine which device is connected to which port of the switch and to know how to direct the data based on the addresses of the source and target devices included in the frame. This table is empty at switch initialization. Thus, frames are initially distributed across all ports of the switch. The table is then gradually filled and updated as the switch is used, thereby resulting in each port of the switch being associated with one or more given MAC addresses of devices of the onboard ethernet network. Once the table is filled, the switch transmits the frame only to the appropriate port based on the MAC address of the target device included in the frame being transmitted, the other ports thus remaining idle for other transmissions that occur at the same time.
Each ethernet switch has a unique configuration register integrated into the hardware. These registers determine the operating parameters of the ethernet switch. For example, by means of these configuration registers, it is possible to activate or deactivate a port, to modify the behaviour of the port in the face of a given MAC address (for example to control the filtering of all frames coming from or going towards the device corresponding to this MAC address) or generally to modify the behaviour of the switch with respect to the data it transmits.
There is no standard for the management of registers of ethernet switches on the market. Therefore, each switch manufacturer designs and integrates these registers as desired. Thus, the configuration of a particular model switch by one manufacturer only listens for configuration commands specific to that switch model. It is worth mentioning that when the switch is integrated in an on-board device in a motor vehicle, only software functions executed by the computer of the device and known only to its manufacturer and above all specific to the switch for configuring the switch are able to configure the switch.
Since motor vehicles are loaded with a large variety of devices that are integrated with ethernet switches from different manufacturers, testing the operation of these onboard ethernet switches is difficult to implement. In particular, in verifying the functioning of a given switch, it must be possible to modify the behaviour of this switch in the desired specific way by means of configuration commands, in order to be able to then test the functioning of the entire network in different configurations. Typically, in the case of an ethernet switch loaded in a motor vehicle, such modification is implemented by configuration commands sent by a test tool (i.e. test equipment) connected to the vehicle. The configuration of a switch therefore requires the use and therefore the prior knowledge of the configuration commands specific to the switch. For this reason, a specific personalization of each ethernet switch is necessary, which is a problem for the car manufacturer.
Some solutions in the prior art, which are capable of configuring an ethernet switch from a network and are inspired by the known techniques of switches of internet networks, require a priori knowledge of the switch to be configured and its entire register structure. This solution causes a considerable consumption of resources, which in the case of an internet network does not cause problems, but is largely unsuitable in the case of an on-board local area network in a motor vehicle.
The document CN102355377 discloses a complete test system and test method for testing ethernet switches. According to the method, a first port of a test device is connected to any one port of a switch under test, a second port of the test device is connected to any one interface of layer 3 of an auxiliary test device, and the other ports of the switch under test are connected to interfaces of layer 3 of the auxiliary test device.
Document FR2868567 discloses a simulation and test system of devices of an AFDX type network (i.e. a switched ethernet type communication network). The system uses non-specific information components, such as a simulation layer that handles at least one ethernet controller, and ethernet switches on the market.
Document US20180072250 discloses a testing device and an associated method in an on-board ethernet network of a motor vehicle. In this example, the management controller interfaces with the physical layer to manage the ports.
None of these documents of the prior art provides a solution to enable a computer of an on-board device integrated with an ethernet switch to interpret a generic (i.e. standard) command for configuring the switch from a test tool connected to the vehicle when a test operation is performed by the vehicle manufacturer, for example at the output of a production line of the vehicle.
Disclosure of Invention
The present invention seeks to obviate or at least mitigate all or some of the above-mentioned disadvantages of the prior art.
To this end, a first aspect of the invention provides a method of configuring an ethernet switch comprised in a first device of an onboard ethernet network of a motor vehicle, said ethernet network being adapted to couple to each other, by means of said ethernet switch, the first device of said onboard ethernet network and at least one second device different from said first device, said method comprising the steps of:
-receiving, by the computer of the first device, at least one configuration command of the ethernet switch from a test tool, the at least one configuration command being a generic command of the test tool;
-a software module executed by a computer of the first device generating a configuration command of the ethernet switch, the configuration command having the form of a configuration command specific to the ethernet switch; and the number of the first and second groups,
-executing the generated specific configuration command under command of the computer of the first device.
Thanks to the invention, it is possible to configure an ethernet switch using generic commands generated by a test tool of a motor vehicle manufacturer. In other words, the commands generated by the test tool and used to configure the ethernet switch can be the same regardless of which switch is involved. A dedicated software module of a computer of a device integrated with the switch is capable of interpreting standard commands to enable configuration of the switch independent of a hardware configuration of the switch. Thanks to this software module, the computer of the device can therefore act on the specific switch on which it is integrated, by using configuration commands appropriate to the technology of the switch, regardless of which general commands it receives from the testing tool.
Embodiments that can be employed individually or in combination can also be arranged as follows:
-said software module is storable in a memory of a first device of said on-board network, integrated with said ethernet switch;
-a configuration command of the ethernet switch is transmittable by the testing tool to the first device via a link established between the testing tool and the first device on the on-board network and connected with a port of the ethernet switch via the on-board network;
as a variant, the configuration commands of the ethernet switch CAN be sent by the test tool to the first device, and the test tool is connected to the first device by another Network, in particular a multiplexed Network, for example a Network of LIN (Local Interconnect Network) type or CAN (Controller Area Network) type;
the generic configuration command of the switch may comprise at least one frame consisting of a plurality of valid data bytes and adapted to define at least one action to be performed by the ethernet switch in order to implement a test service determined in the list of determined test services, the test service being adapted to modify the operation of the ethernet switch when transmitting data in the on-board network of the motor vehicle;
-the list of test services may comprise:
activating/deactivating one or more ports of the ethernet switch;
modifying an incoming validation time duration of a MAC address table of the Ethernet switch, the validation time duration being managed by the Ethernet switch and the MAC address table being reinitialized;
-activating or deactivating filtering of said data frames at the input and/or at the output on one or more ports of said switch in response to ARP, RTP, IEEE 1722 or IEEE1733 protocols;
adding a Virtual Local Area Network (VLAN) on the whole of the switch or on a specific port of the switch;
assigning a special Priority or PCP (Priority Code Point in english) to a given waiting queue of the switch;
activation of port mirroring (port mirroring in english);
programming functions that involve setting tags for untagged frames ("untagged frames" in english) in a default VLAN;
programming functions that involve unmarking (in english "untag") frames with labels;
programming the change of the tag of the VLAN network to another;
filtering by the MAC address on the determined port to allow transmission of data only to the device identified by the MAC address;
recycling the MAC address table of the switch;
activating strict priority on the waiting queue of the switch;
disabling learning of MAC addresses on a given port;
changing the given priority on the input on the port; and the number of the first and second groups,
credit-based port shaping ("credit-based shape" in english) functionality is activated or deactivated per port and per PCP.
-the first device of the on-board network of the motor vehicle may be included in the list consisting of: a communication module that integrates electronic components connected towards the outside (in order to acquire mobile network, TNT, RNT, AM/FM, GPS) and towards the inside of the motor vehicle; an infotainment module; a connection gateway towards an external network external to the motor vehicle; and an electronic course corrector.
-said generic configuration command of the ethernet switch is responsive to a communication protocol included in the list consisting of: SOME/IP, WebSocket, MQTT or proprietary protocols.
The second aspect of the invention also relates to a device of a motor vehicle, said device comprising an ethernet switch to connect said device with another device via an on-board ethernet network, and further comprising software modules and means for implementing all the steps of the method according to the first aspect.
A final aspect of the invention relates to a motor vehicle comprising an apparatus according to the second aspect.
Drawings
Other features and advantages of the present invention will become apparent upon reading the following detailed description and the accompanying drawings. The following description is merely illustrative and is read with reference to the accompanying drawings, in which:
figure 1 is a schematic view of a device of an on-board network of a motor vehicle according to the prior art;
FIG. 2 is a schematic view of an on-board network of a motor vehicle in which the method according to the invention can be implemented;
figure 3 is a schematic view of a device of an on-board network of a motor vehicle according to the invention;
figure 4 is a step diagram illustrating an embodiment of the method according to the invention; and the number of the first and second groups,
figure 5 is a schematic view of an example of a data frame associated with different configuration commands of a test service example.
Detailed Description
In the following description of the embodiments and in the drawings, the same elements or similar elements have the same reference numerals in the drawings.
Referring to fig. 1, a configuration method of an ethernet switch according to the related art will be described first.
The ethernet switch 103 shown in fig. l is integrated in a device 101 of an on-board network of a motor vehicle (not shown in fig. 1). The device 101 also integrates a computer 102 with at least one processor and memory and in direct communication with the switch 103. In the example shown, the ethernet switch is equipped with three ports 104 that allow the ethernet switch to transmit data from a source device toward at least one destination device during normal use. Those skilled in the art realize that in practice the number of ports of such a switch is not limited to three and at least more than two. Typically, the ethernet switches on the market comprise eight ports. Also, the in-vehicle device may include more than one switch, such as switch 103 as shown. For example, an onboard device may include two such switches, each with eight ports and thus sixteen ports in total.
As mentioned in the introduction, the test equipment (or tool) 105 is switched on (i.e. connected) to one of the ports 104 of the switch 102. The device 105 then sends a configuration command for the ethernet switch 103 that is specifically adapted to the switch so as to be able to be interpreted and executed correctly in the switch. Thus, the configuration of the switch can only be carried out if the test tool knows the unique configuration commands of the switch in advance.
Fig. 2 schematically shows a motor vehicle 205 with an on-board network 206, in which the method according to the invention can be implemented. In the context of the present specification, "in-vehicle network" refers to a local area communication network that couples a plurality of in-vehicle devices of a vehicle to each other. In the example shown, the onboard network couples four devices 201, 202, 203 and 204 to each other according to a star topology. Those skilled in the art will appreciate that the number of network devices shown is not limiting, but must be more than or equal to two. In the case of the example shown, the device 201 is integrated with an ethernet switch (shown on fig. 3 and referenced 303) that is capable of interconnecting all the devices of the on-board network 206.
The devices making up the on-board network can be any device of the electronic device type of a motor vehicle. For example, each device (which can be a motor vehicle) is included in the list consisting of: a communication module that integrates electronic components connected towards the outside (in order to acquire mobile network, TNT, RNT, AM/FM, GPS) and towards the inside of the motor vehicle; an infotainment module; a connection gateway towards an external network external to the motor vehicle; and an electronic course corrector. This list is non-limiting.
With reference to fig. 3 and 4, an implementation example of the method according to the invention will now be described.
Fig. 3 shows an ethernet switch 303 integrated in the device 201. As was the case with reference to fig. 1, the device 201 also integrates a computer 301 that communicates directly with an ethernet switch 303. However, the device 201 differs from the prior art device 101 in that its computer also has integrated a software module 302. In particular, the software module is stored in the memory of the computer 301 of the device 201. The software module 302 is adapted to generate a specific configuration command specific to an ethernet switch integrated in the first device based on the generic configuration command of the ethernet switch. In other words, the software module enables the computer to have the ability to interpret any one of the standard configuration commands (from the point of view of the test tool) and translate it into a form that the ethernet switch can interpret and execute, i.e. specific commands specific to the computer.
In the same way as described above with reference to fig. 1, the configuration of the ethernet switch can be implemented here by means of a test device 305, which is connected for this purpose by a cable to one of the ports 304 of the ethernet switch 303. To configure the switch, the device sends a generic configuration command for the ethernet switch, which is transmitted to the computer of the device 201 by means of the switch 303.
As a variant, in other embodiments of the method, the test device can be connected to the computer by means of another on-board network (i.e. a network different from the ethernet network 206 to which the ethernet switch 303 to be tested belongs). The further on-board Network CAN be, for example, a multiplex Network (i.e. not an ethernet Network) of the motor vehicle, for example a Network of the LIN (Local Interconnect Network) type or the CAN (Controller Area Network) type. This embodiment is illustrated on fig. 3 by the coupling 307 between the test tool and the on-board device 201. In this embodiment, the function of link 307 is to transmit configuration commands for Ethernet switch 303 from test tool 305. This embodiment is useful for testing of on-board devices in vehicles, where not all devices are connected to an on-board ethernet network, some devices being connected to a LIN or CAN type or other type of multiplexed network.
The generic configuration command of the ethernet switch is composed of at least one frame composed of a plurality of valid data bytes and arranged to define at least one action to be performed by the ethernet switch. The command is referred to as generic in the sense that it does not have any suitability to be interpreted by the switch it is intended for, which may wait for a command having a specific format depending on the ethernet switch manufacturer. This command is simply a standard command that the generic test equipment of the motor vehicle manufacturer, which expects to test the onboard equipment in the vehicle, can send when the test is carried out, for example, at the end stage of factory assembly of the vehicle. Examples of such generic configuration commands will be described later.
Further, according to an embodiment of the method, such configuration commands are responsive to a given communication protocol. For example, the protocol may be included in the following list: EMP, SOME/IP, MQTT, WebSocket. This list is non-limiting. The protocol can also be a proprietary protocol.
Referring to fig. 4, step 401 of the method involves receiving, by the computer 201, at least one generic configuration command for the ethernet switch from the test equipment 305.
Step 402 involves the software module 302 executed by the computer 301 of the device 201 generating a configuration command for the ethernet switch, the configuration command being in the form of a configuration command specific to the ethernet switch. Due to the software module 302, each generic configuration command is converted into a specific command specific to the ethernet switch under test to be specifically interpreted and executed by that ethernet switch 303. Those skilled in the art realize that in all cases said configuration commands belong to the manufacturer of the device in which said switch is integrated to adapt the software module 302 to implement the configuration operations of the ethernet switch concerned, corresponding to the generic configuration commands received from the tool 305, based on the generic commands interpreted by said software module.
Finally, step 403 involves executing the specific configuration command received by the computer 301 under the command of the computer of the device 201. This command causes a modification of the configuration registers of the switch and then of the behaviour of the switch with respect to the data transmitted by means of the switch.
Advantageously, the method thus enables any one device integrated with an ethernet switch to receive a generic configuration command from a test device and to convert said generic configuration command into a configuration command specifically adapted to the ethernet switch that the device is integrated with.
As described above, the general configuration command is composed of a valid data frame. The sending of a series of frames by the test tool can handle the implementation of special test services on the ethernet switch side that receive these frames. In other words, a plurality of configuration commands can form a test service, the purpose of which is to modify the operation of the ethernet switch when transmitting data in the on-board network of a motor vehicle. In other words, the test service is defined by a plurality of configuration commands that, when executed, cause the behavior of the ethernet switch to be modified.
To perform a particular test service, the computer receives a frame whose different valid data bytes can define in detail the actions to be performed according to the known protocol specifications of the test tool 305 and the software module 302. "valid data byte" refers herein to a byte of a Frame that merely relates to the command to be executed and does not provide any protocol encapsulation information (e.g., identification of source and destination addresses, length of the Frame, or FCS field (in "Frame Check Sequence" in english, including the Frame's Check Code (or CRC Code) in english, and "Cyclic Redundancy Code" in english).
The frame consists of a variable number of valid data bytes, which depends on the action to be performed. In the implementation example, the first byte of the frame associated with the different service commands is used in the same way in all cases. This can define whether the computer needs to configure the ports of the switch in a manner defined by the following bytes (SET function), or whether the computer needs to query the switch to GET the status of each port back (GET function). For example, if all bits of the byte are 0, the computer needs to perform the configuration (SET function), and if the last bit is 1, the computer needs to perform the query to the switch (GET function).
In the following, with reference now to fig. 5, the structure of a frame of a configuration command relating to the activation or deactivation of a port of a switch is described by way of a purely non-limiting example. This function is based on the use of a 5 byte frame 501, where the first byte is defined as described above.
For example, the second and third bytes form a binary mask that can indicate which port(s) of the switch are involved by the command, since it is observed that up to sixteen different ports can be managed with two bytes for this mask. For example, a bit value of 1 in the second and third bytes indicates that a given port (identified by the column of bits involved in the two bytes of the frame) is involved, while a value of 0 indicates that the corresponding port should not be affected by the command. If more than sixteen ports are to be managed, more bytes are available for encoding the binary mask.
Finally, the fourth and fifth bytes may specify, for example, a desired state for each port (e.g., "activate" or "deactivate" states if the test service involves activating or deactivating ports of the switch). For example, the values of the bits of the fourth and fifth bytes can activate (with a value of 1) or deactivate (with a value of 0), respectively, the port corresponding to the bit concerned.
Thus, for example, if bit 7 of the second byte has a value of 1 and bit 7 of the fourth byte has a value of 1, port 15 of the ethernet switch is activated. In another example, if bit 6 of the second byte has a value of 1 and bit 6 of the fourth byte has a value of 0, port 14 of the ethernet switch is disabled. Finally, in the last example, if bit 5 of the second byte has a value of 0 and bit 5 of the fourth byte has a value of 1, the state of port 13 remains unchanged.
Now, the switch is queried by the computer to know the status of each port (GET function, defined by the value of the first byte of the five bytes of the frame), it being noted that the query uses exactly a frame 502 consisting of only one valid data byte. As described above, the inquiry command of the switch is executed based on the value of the bit of the first byte.
The response to this command itself takes place in a frame 503 (response function) consisting of three bytes, in the example considered here the switch having at most sixteen ports, feeds back to the computer in response to queries about the status of each port. The number of ports of the switch is indicated by means of the value of the bit of the first byte and the respective state of each port is indicated by the value of the bit of the second and third byte. For example, the lower four bits of the first byte indicate the port number of the switch by converting a binary value to a hexadecimal system (where sixteen different values may be encoded on just four bits). In addition, in the second and third bytes, a column bit corresponding to a given port of the switch and having a value of 1 means that the port is activated, whereas if the bit concerned has a value of 0, the port is deactivated.
It is reminded that, as described above, only commands transmitted by the test equipment to the computer are generic configuration commands. As shown in the above example, the software module enables any one of the computers of the device integrated into the in-vehicle network to recognize that an action is to be performed in response to a given command. The manufacturer of the device needs to implement in the computer of the device: in response to a given generic command, appropriate software functions are invoked to configure the ethernet switch. Thus, the configuration commands generated by the test equipment can be the same regardless of the switch to be configured.
In addition, a large number of commands and thus test services can thus be created as desired.
In addition to the examples given above of test services involving activating/deactivating (by a SET function) a port of the ethernet switch or collecting (by a GET function) the activation/deactivation status of the port, other test services may be implemented by using generic configuration commands. These other test services may be included in the following list of non-limiting examples:
-activating or deactivating filtering of said data frames at an input and/or at an output on one or more ports of said switch in response to ARP, RTP, IEEE 1722 or IEEE1733 protocols;
-modifying an incoming validation duration of a MAC address table of the ethernet switch and re-initializing the MAC address table;
-adding a Virtual Local Area Network (VLAN) over the whole of the switch or over a specific port of the switch;
-assigning a particular Priority or PCP (Priority Code Point in english) to a given waiting queue of the switch;
activating a port mirroring function (port mirroring in english) capable of copying data transmitted on one port of a switch (at the input and/or at the output) towards another port, for example to perform error detection; with this functionality, filtering is applied based on MAC source and/or destination addresses, Virtual networks (or VLANs, in english "Virtual Local Area networks") or on ports; filtering per port is applied on incoming and/or outgoing traffic;
-programming functions related to tagging untagged frames ("untagged frames" in english) in a default VLAN;
programming functions that involve unmarking (in english "untag") frames with labels;
-programming the change of the tag of the VLAN network to another;
-filtering by the MAC address on the determined port to allow transmission of data only to the device identified by the MAC address;
-recycling (r _ cup _ ratio) the MAC address table of the switch;
-activating strict priority on waiting queues of the switch;
-disabling learning of MAC addresses on a given port;
-changing the given priority on the input on the port; and the number of the first and second groups,
-activating or deactivating credit-based port shaping ("credit-based shape" in english) functions per port and per PCP.
The invention has been described and illustrated in the foregoing detailed description, in the drawings and in possible embodiments. However, the invention is not limited to the embodiments shown. Other variations and embodiments can be derived and practiced by those skilled in the art upon a reading of the specification and the drawings.
In the claims, the term "comprising" does not exclude other elements or steps. Only one processor or a plurality of other units may be used to implement the invention. The different features shown and/or claimed may advantageously be combined. The presence of these features in the description or in different dependent claims does not exclude this possibility. The reference signs should not be construed as limiting the scope of the invention.

Claims (10)

1. A configuration method of an ethernet switch (303) comprised in a first device (201) of an onboard ethernet network (206) of a motor vehicle (205), said ethernet network being adapted to couple to each other, by means of said ethernet switch, the first device of said onboard ethernet network and at least one second device (202, 203, 204) different from said first device, said method comprising the steps of:
-receiving (401), by a computer of the first device, from a test tool, at least one configuration command of the ethernet switch, the at least one configuration command being a generic command of the test tool;
-a software module executed by a computer of the first device generating (402) a configuration command of the ethernet switch, the configuration command having the form of a configuration command specific to the ethernet switch; and the number of the first and second groups,
-executing (403) the generated specific configuration command under command of the computer of the first device.
2. The configuration method of claim 1, wherein the software module is stored in a memory of a first device of the in-vehicle network integrated with the ethernet switch.
3. A configuration method according to claim 1 or 2, wherein the configuration command of the ethernet switch is sent by the test tool to the first device via a link established between the test tool and the first device on the on-board network and connected with a port of the ethernet switch via the on-board network.
4. A configuration method according to claim 1 or 2, wherein the configuration commands of the ethernet switch are sent by the test tool to the first device and the test tool is connected to the first device by another Network, in particular a multiplexing Network, for example a Network of the LIN (Local Interconnect Network) type or CAN (Controller Area Network) type.
5. The configuration method according to any one of claims 1 to 4, wherein the generic configuration command of a switch comprises at least one frame consisting of a plurality of valid data bytes and adapted to define at least one action to be performed by the Ethernet switch in order to implement a test service determined in the list of determined test services, the test service being adapted to modify the operation of the Ethernet switch when transmitting data in the on-board network of the motor vehicle.
6. The configuration method of claim 5, wherein the list of test services comprises:
-activating/deactivating one or more ports of the ethernet switch;
-modifying an incoming validation time duration of a MAC address table of the ethernet switch, the validation time duration being managed by the ethernet switch and the MAC address table being reinitialized;
-activating or deactivating filtering of said data frames at an input and/or at an output on one or more ports of said switch in response to ARP, RTP, IEEE 1722 or IEEE1733 protocols;
-adding a Virtual Local Area Network (VLAN) over the whole of the switch or over a specific port of the switch;
-assigning a particular Priority or PCP (Priority Code Point in english) to a given waiting queue of the switch;
-activating a port mirroring function;
-programming functions relating to tagging untagged frames in a default VLAN;
-programming a function relating to unmarking;
-programming the change of the tag of the VLAN network to another;
-filtering by the MAC address on the determined port to allow transmission of data only to the device identified by the MAC address;
-recycling the MAC address table of the switch;
-activating strict priority on waiting queues of the switch;
-disabling learning of MAC addresses on a given port;
-changing the given priority on the input on the port; and the number of the first and second groups,
-activating or deactivating credit based port shaping functions per port and per PCP.
7. The configuration method according to any one of claims 1 to 6, wherein the first device of the on-board network of the motor vehicle is included in the list consisting of: a communication module centralized with electronic components connected towards the outside in order to acquire a mobile network, TNT, RNT, AM/FM, GPS and connected towards the inside of the motor vehicle; an infotainment module; a connection gateway towards an external network external to the motor vehicle; and an electronic course corrector.
8. The configuration method according to any of claims 1 to 7, wherein the generic configuration command of an Ethernet switch is responsive to a communication protocol included in the list consisting of: SOME/IP, WebSocket, MQTT or proprietary protocols.
9. A device of a motor vehicle, the device comprising an ethernet switch to connect the device with another device via an on-board ethernet network, and further comprising a software module and means for implementing all the steps of the method according to any one of claims 1 to 8.
10. A motor vehicle comprising the apparatus of claim 9.
CN201980078131.2A 2018-11-27 2019-11-07 Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle Pending CN113169995A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
FR1871959 2018-11-27
FR1871959A FR3089082B1 (en) 2018-11-27 2018-11-27 Method for configuring an Ethernet switch of an on-board network of a motor vehicle
PCT/FR2019/052659 WO2020109691A1 (en) 2018-11-27 2019-11-07 Method for configuring an ethernet switch of an on-board network of a motor vehicle

Publications (1)

Publication Number Publication Date
CN113169995A true CN113169995A (en) 2021-07-23

Family

ID=65951750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980078131.2A Pending CN113169995A (en) 2018-11-27 2019-11-07 Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle

Country Status (4)

Country Link
EP (1) EP3888330A1 (en)
CN (1) CN113169995A (en)
FR (1) FR3089082B1 (en)
WO (1) WO2020109691A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024098332A1 (en) * 2022-11-10 2024-05-16 华为技术有限公司 Network configuration method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203740B1 (en) * 1999-12-22 2007-04-10 Intel Corporation Method and apparatus for allowing proprietary forwarding elements to interoperate with standard control elements in an open architecture for network devices
CN104012052A (en) * 2011-11-10 2014-08-27 博科通讯系统有限公司 System And Method For Flow Management In Software-Defined Networks
CN104471896A (en) * 2012-07-20 2015-03-25 Abb技术有限公司 Configuration management device, configuration interface device and method for vendor-independent network device configuration
US20180054355A1 (en) * 2016-08-19 2018-02-22 Hewlett Packard Enterprise Development Lp Micro-services for configuring switches

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2868567B1 (en) 2004-04-02 2008-03-14 Airbus France Sas SYSTEM FOR SIMULATION AND TESTING AT LEAST ONE EQUIPMENT ON AN AFDX NETWORK
CN102355377B (en) 2011-06-30 2014-03-26 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
FR3018650B1 (en) * 2014-03-14 2017-08-25 Aton Systemes ETHERNET SWITCH, MOBILE MACHINE AND PASSENGER TRANSPORT BUS COMPRISING SAID ETHERNET SWITCH
DE102017121073A1 (en) 2016-09-12 2018-03-15 Hyundai Motor Company DIAGNOSTIC METHODS AND APPARATUSES IN VEHICLE NETWORK

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203740B1 (en) * 1999-12-22 2007-04-10 Intel Corporation Method and apparatus for allowing proprietary forwarding elements to interoperate with standard control elements in an open architecture for network devices
CN104012052A (en) * 2011-11-10 2014-08-27 博科通讯系统有限公司 System And Method For Flow Management In Software-Defined Networks
CN104471896A (en) * 2012-07-20 2015-03-25 Abb技术有限公司 Configuration management device, configuration interface device and method for vendor-independent network device configuration
US20180054355A1 (en) * 2016-08-19 2018-02-22 Hewlett Packard Enterprise Development Lp Micro-services for configuring switches

Also Published As

Publication number Publication date
FR3089082B1 (en) 2020-10-30
WO2020109691A1 (en) 2020-06-04
FR3089082A1 (en) 2020-05-29
EP3888330A1 (en) 2021-10-06

Similar Documents

Publication Publication Date Title
JP7289332B2 (en) Electronic control unit, frame generation method and program
US10917253B2 (en) Ethernet switch, method of configuring in-vehicle network, and vehicle
US10530606B2 (en) Method for transmitting data via a serial communication bus, bus interface, and computer program
KR101923511B1 (en) Apparatus for communicating diagnostic vehicle and method thereof
JP7192074B2 (en) Network hub, transfer method and in-vehicle network system
CN105388858B (en) Method of operating a communication node in a network
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
US10681184B2 (en) Method and device for transmitting a message in a vehicle
US20170250905A1 (en) Communication method in divided vehicle network
CN110083088A (en) Signal controls conversion equipment and signal controls conversion method
US9674119B2 (en) Method and apparatus for controlling audio/video bridging stream for in-vehicle ethernet
CN113179321A (en) Network hub, transfer method, and vehicle-mounted network system
KR102337548B1 (en) Method for diagnosing network and apparatus for the same
JP7133022B2 (en) In-vehicle communication device and in-vehicle system
CN114545906B (en) Vehicle-mounted Ethernet gateway and vehicle
KR102234210B1 (en) Security method for ethernet based network
US20200412572A1 (en) Apparatuses and methods involving first type of transaction registers mapped to second type of transaction addresses
US20210399916A1 (en) Data Switching Device and Data Switching Method for a Vehicle, Device and Method for a Vehicle Component of a Vehicle, and Computer Program
KR20130099813A (en) Method for changing an operating state of at least one device
CN102694703B (en) Method for setting up a communication network comprising devices of an automation assembly
CN113169995A (en) Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle
EP4404487A1 (en) Intelligent vehicle communication system
US20190305983A1 (en) Method and apparatus for configuring backup path in vehicle network
US20070140278A1 (en) Network system
WO2017203904A1 (en) Electronic control unit, frame generation method, and program

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