WO2024078634A1 - 服务管理方法、系统、装置、电子设备及存储介质 - Google Patents

服务管理方法、系统、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024078634A1
WO2024078634A1 PCT/CN2023/124674 CN2023124674W WO2024078634A1 WO 2024078634 A1 WO2024078634 A1 WO 2024078634A1 CN 2023124674 W CN2023124674 W CN 2023124674W WO 2024078634 A1 WO2024078634 A1 WO 2024078634A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
mac layer
ethernet
virtual
layer devices
Prior art date
Application number
PCT/CN2023/124674
Other languages
English (en)
French (fr)
Inventor
孙武奎
张晨
Original Assignee
锐凌无线有限责任公司
锐凌无线通讯科技(深圳)有限公司
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 锐凌无线有限责任公司, 锐凌无线通讯科技(深圳)有限公司 filed Critical 锐凌无线有限责任公司
Publication of WO2024078634A1 publication Critical patent/WO2024078634A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a service management method, system, device, electronic device and storage medium.
  • In-vehicle Ethernet usually includes electronic control units (ECUs), sensors, smart sensors and other devices under the classic AUTOSAR architecture, as well as high-performance computers and in-vehicle cellular network communication modules under the adaptive AUTOSAR architecture. These devices are connected to the in-vehicle Ethernet through an Ethernet switch.
  • the core of the in-vehicle cellular network communication module can be the Linux system core.
  • the vehicle Ethernet is connected to the wide area network through the vehicle cellular network communication module for vehicle-to-cloud communication.
  • the vehicle cellular network communication module provides a variety of services to the devices in the vehicle Ethernet, such as voice calls, emergency calls, OTA upgrades, data transmission, WIFI/Bluetooth management and control, etc. These services may belong to different virtual local area networks (VLANs) of the vehicle Ethernet.
  • VLANs virtual local area networks
  • wireless devices such as vehicle WIFI/Bluetooth are installed on the vehicle cellular network communication module and are uniformly managed and controlled by the vehicle cellular network communication module. Due to security and other reasons, VLAN technology is usually used in the vehicle Ethernet to divide these services into different domains, such as vehicle entertainment domain, autonomous driving domain, etc.
  • the VLAN technology of in-vehicle Ethernet is built on the data link layer and works based on the VLAN tag mechanism, so it requires that services belonging to different VLANs use different MAC addresses.
  • the in-vehicle cellular network communication module usually only has one Ethernet interface (physical link). In this case, the in-vehicle cellular network communication module can only provide one MAC address. However, this cannot meet the requirement of allocating MAC addresses to services in different VLANs, or in other words, it is not enough to support the deployment of a large number of services provided by the vehicle cellular network communication module in different domains of the vehicle Ethernet.
  • the present disclosure provides a service management method, which is applied to a vehicle-mounted cellular network communication module, and the method includes:
  • multiple virtual MAC layer devices are used to provide services for various network devices located in different VLANs in the automotive Ethernet through a virtual Ethernet switch.
  • the method further comprises:
  • a plurality of MAC addresses are obtained, and the plurality of MAC addresses are allocated one by one to a plurality of virtual MAC layer devices.
  • multiple virtual MAC layer devices are assigned to a virtual local area network VLAN of an in-vehicle Ethernet network, including:
  • VLAN information includes information of multiple VLANs where each network device in the automotive Ethernet is located;
  • the multiple virtual MAC layer devices are allocated to the multiple VLANs one by one.
  • multiple virtual MAC layer devices are used to provide services for various network devices located in different VLANs in the vehicle Ethernet through a virtual Ethernet switch, including:
  • Receive a service call request which is used to request to provide services to the target network device located in the target VLAN in the automotive Ethernet;
  • the target network device is each network device Any one of;
  • Target virtual MAC layer device Use the target virtual MAC layer device to provide services to the target network device located in the target VLAN through the virtual Ethernet switch.
  • the present disclosure provides a service management method, which is applied to an in-vehicle Ethernet, and the method includes:
  • the present disclosure provides a service management system, which includes an in-vehicle Ethernet and an in-vehicle cellular network communication module; the in-vehicle Ethernet is connected to the in-vehicle cellular network communication module via an Ethernet interface of the in-vehicle cellular network communication module;
  • the vehicle cellular network communication module is configured to construct a virtual Ethernet switch and multiple virtual MAC layer devices; the multiple virtual MAC layer devices correspond to multiple MAC addresses one by one; the multiple virtual MAC layer devices are assigned to the virtual local area network VLAN of the vehicle Ethernet; based on the VLANs where the multiple virtual MAC layer devices are located, the multiple virtual MAC layer devices are used to provide services for various network devices located in different VLANs in the vehicle Ethernet through the virtual Ethernet switch; and
  • the in-vehicle Ethernet is configured to allocate various network devices in the in-vehicle Ethernet to different VLANs; based on the VLANs where various network devices are located, services are obtained for various network devices located in different VLANs in the in-vehicle Ethernet through a virtual Ethernet switch and multiple virtual MAC layer devices constructed in the in-vehicle cellular network communication module; and multiple virtual MAC layer devices correspond one-to-one to multiple MAC addresses.
  • the present disclosure provides a service management device, comprising:
  • a construction module is configured to construct a virtual Ethernet switch and a plurality of virtual MAC layer devices; the plurality of virtual MAC layer devices correspond one to one with the plurality of MAC addresses;
  • an allocation module configured to allocate multiple virtual MAC layer devices to a virtual local area network VLAN of the in-vehicle Ethernet;
  • a service providing module is configured to provide services for various network devices located in different VLANs in the vehicle Ethernet through a virtual Ethernet switch using multiple virtual MAC layer devices based on the VLANs where the multiple virtual MAC layer devices are located.
  • the present disclosure provides a service management device, which includes:
  • a distribution module configured to distribute each network device in the vehicle Ethernet to different virtual local area networks (VLANs);
  • the service acquisition module is configured to obtain services for each network device located in different VLANs in the vehicle Ethernet based on the VLAN where each network device is located, through the virtual Ethernet switch and multiple virtual MAC layer devices constructed in the vehicle-mounted cellular network communication module; multiple virtual MAC layer devices correspond one-to-one to multiple MAC addresses.
  • the present disclosure provides an electronic device, which includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
  • a memory configured to store a computer program
  • the processor is configured to implement the service management method described in the present disclosure when executing the program stored in the memory.
  • the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the service management method described in the present disclosure.
  • the vehicle-mounted cellular network communication module constructs a virtual Ethernet switch and multiple virtual MAC layer devices, and allocates the multiple virtual MAC addresses to the VLAN of the vehicle-mounted Ethernet, that is, the MAC addresses corresponding to the multiple virtual MAC layer devices are allocated to different VLANs, so as to meet the demand of providing MAC addresses for services in different VLANs, so that the vehicle-mounted cellular network communication module uses the multiple virtual MAC layer devices based on the VLANs where the multiple virtual MAC layer devices are located, through virtual Ethernet switches provide services for network devices located in different VLANs in automotive Ethernet.
  • FIG1 is a schematic diagram of the structure of an in-vehicle Ethernet provided by an embodiment of the present disclosure
  • FIG2 is a flow chart of a service management method according to an embodiment of the present disclosure.
  • FIG3 is a second flow chart of a service management method provided by an embodiment of the present disclosure.
  • FIG4 is a schematic diagram of a service management system provided by an embodiment of the present disclosure.
  • FIG5 is a schematic diagram of a specific structure of a service management system provided by an embodiment of the present disclosure.
  • FIG6 is a schematic diagram 1 of a service management device provided by an embodiment of the present disclosure.
  • FIG. 7 is a second schematic diagram of a service management device provided by an embodiment of the present disclosure.
  • FIG8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
  • some embodiments of the present disclosure provide a service management method, which is applied to the vehicle-mounted cellular network communication module, and the vehicle-mounted cellular network communication module can be located in any vehicle-mounted device. As shown in FIG. 2, the method includes Includes steps 201 to 203.
  • Step 201 construct a virtual Ethernet switch and multiple virtual MAC layer devices.
  • the plurality of virtual MAC layer devices corresponds one-to-one to the plurality of MAC addresses.
  • the plurality of virtual MAC layer devices include device 1 and device 2 , where device 1 corresponds to MAC address 1 and device 2 corresponds to MAC address 2 .
  • the vehicle-mounted cellular network communication module uses the hardware resources and software resources thereon to construct a virtual Ethernet switch and a virtual MAC layer device in a manner of constructing a virtual machine, that is, a virtual Ethernet switch and multiple MAC layer devices are virtualized in logic and function. Subsequently, the vehicle-mounted cellular network communication module uses the MAC layer corresponding to the constructed virtual MAC layer device to replace the original MAC layer in the vehicle-mounted cellular network communication module.
  • the virtual Ethernet switch and multiple virtual MAC layer devices are all in the vehicle-mounted cellular network communication module.
  • the original vehicle-mounted cellular network communication module is logically divided into a virtual Ethernet switch and multiple virtual MAC layer devices.
  • the vehicle-mounted cellular network communication module uses its hardware resources and software resources to enumerate into multiple network devices, namely the aforementioned virtual Ethernet switch and multiple virtual MAC layer devices, and provides multiple independent data/control channels.
  • the virtual Ethernet switch is connected to multiple virtual MAC layer devices through multiple channels. There is a one-to-one correspondence between the multiple channels and the multiple virtual MAC layer devices. It is understandable that each of the multiple channels has its own independent MAC address, i.e., an independent MAC sublayer.
  • the channels between the virtual Ethernet switch and the plurality of virtual MAC layer devices are data/control channels.
  • the vehicle-mounted cellular network communication module after constructing a virtual Ethernet switch and multiple virtual MAC layer devices, obtains multiple MAC addresses and assigns the multiple MAC addresses to the multiple virtual MAC layer devices one by one, that is, a one-to-one correspondence between the multiple MAC addresses and the multiple virtual MAC layer devices is established.
  • three virtual MAC layer devices namely device 1 to device 3, are connected to each other through The 3 channels, namely channel 1 to channel 3, are connected to the virtual Ethernet switch.
  • the 3 channels have their own independent MAC addresses (or MAC layers).
  • MAC addresses 1 to MAC address 3 are assigned to devices 1 to 3 respectively, and the MAC addresses of channels 1 to 3 are MAC addresses 1 to MAC address 3 respectively.
  • the multiple MAC addresses may be enumerated by the vehicle-mounted Ethernet and sent to the vehicle-mounted cellular network communication module. Accordingly, the vehicle-mounted cellular network communication module receives (or obtains) the multiple MAC addresses.
  • the in-vehicle cellular network communication module obtains information sent by the in-vehicle Ethernet, such as multiple MAC addresses, through a virtual Ethernet switch.
  • the multiple MAC addresses may also be enumerated by the vehicle-mounted cellular network communication module itself.
  • the vehicle-mounted cellular network communication network module enumerates MAC addresses in the same way as the vehicle-mounted Ethernet enumerates MAC addresses to ensure that the MAC addresses enumerated by the two are the same.
  • the vehicle-mounted cellular network communication network module enumerates MAC addresses and sends the enumerated MAC addresses to the vehicle-mounted Ethernet so that the vehicle-mounted Ethernet configures these MAC addresses to different VLANs.
  • these multiple MAC addresses may also be enumerated by other devices and synchronized to the vehicle Ethernet and vehicle cellular network communication modules to ensure consistency of the MAC addresses used for allocation in both.
  • the vehicle-mounted cellular network communication module constructs a virtual Ethernet switch and a virtual MAC layer device through a driver.
  • Step 202 Allocate multiple virtual MAC layer devices to a virtual local area network VLAN of the in-vehicle Ethernet.
  • the vehicle Ethernet (any network device in the vehicle Ethernet) sends VLAN information to the vehicle cellular network communication module. Accordingly, the vehicle cellular network communication module receives the VLAN information and allocates multiple virtual MAC layer devices to the multiple VLANs based on the information of multiple VLANs in the received VLAN information.
  • the number of virtual MAC layer devices is greater than the number of VLANs in the automotive Ethernet network.
  • the VLAN information received by the vehicle-mounted cellular network communication module includes the information of multiple VLANs where each network device of the vehicle Ethernet is located.
  • the VLAN information includes identifiers of multiple VLANs where various network devices in the in-vehicle Ethernet are located, and MAC addresses corresponding to the multiple VLANs.
  • the vehicle-mounted cellular network communication module determines the MAC address corresponding to each VLAN based on the VLAN information, combines the MAC address assigned to each virtual MAC layer device, and assigns the virtual MAC layer devices corresponding to different MAC addresses to the corresponding VLAN.
  • the vehicle-mounted cellular network module assigns MAC1-MAC3 in the MAC address to devices 1 to 3 in the virtual MAC layer device, respectively.
  • the VLAN information received by the vehicle-mounted cellular network communication module includes the correspondence between MAC1-MAC3 and VLAN1 to VLAN3.
  • the vehicle-mounted cellular network assigns devices 1 to 3 corresponding to MAC1-MAC3 to VLAN1 to VLAN3, respectively, based on the correspondence between MAC1 to MAC3 and VLAN and the virtual MAC layer device.
  • the virtual Ethernet switch is connected to the vehicle Ethernet through the Ethernet interface of the vehicle cellular network communication module. That is, the vehicle Ethernet (any network device in it) sends VLAN information to the virtual Ethernet switch in the vehicle cellular network communication module through the Ethernet interface.
  • the vehicle-mounted cellular network communication module is the exit of the entire vehicle-mounted network (including the vehicle-mounted cellular network communication module itself and various network devices in the vehicle-mounted Ethernet, etc.), providing services for various network devices in different VLANs in the vehicle-mounted Ethernet.
  • the multiple MAC addresses may be obtained or received by the vehicle-mounted cellular network communication module from the vehicle-mounted Ethernet before receiving the VLAN information.
  • the vehicle-mounted cellular network communication module may also obtain the multiple MAC addresses from the received VLAN information.
  • the vehicle-mounted cellular network communication module can, as described above, after allocating the multiple MAC addresses to multiple virtual MAC layer devices, allocate the virtual MAC layer device to the VLAN corresponding to the MAC address corresponding to it.
  • the vehicle-mounted cellular network communication module may also allocate multiple virtual MAC layer devices to VLANs and then allocate multiple virtual MAC layer devices to VLANs based on the correspondence between VLANs and MAC addresses. Relationship, these multiple MAC addresses are assigned to corresponding VLANs.
  • the vehicle-mounted cellular network communication module can provide services for network devices located in different VLANs in the vehicle-mounted Ethernet based on the correspondence between the three.
  • Step 203 Based on the VLANs where the multiple virtual MAC layer devices are located, multiple virtual MAC layer devices are used to provide services for various network devices located in different VLANs in the vehicle Ethernet through a virtual Ethernet switch.
  • the vehicle-mounted Ethernet (any network device in it) sends a service call request to the vehicle-mounted cellular network communication module, and accordingly, the vehicle-mounted cellular network communication module receives the service call request. Subsequently, the vehicle-mounted cellular network communication module responds to the service call request and, based on the VLANs where the multiple virtual MAC layer devices are located, determines the virtual MAC layer device in the target VLAN as the target virtual MAC layer device. Finally, the vehicle-mounted cellular network communication module uses the target virtual MAC layer device to provide services to the target network device located in the target VLAN through the virtual Ethernet switch.
  • the service invocation request is used to request a target network device located in a target VLAN in the in-vehicle Ethernet network to provide a service.
  • the target network device is any one of the network devices under the vehicle Ethernet. It is understandable that the target VLAN is the VLAN where the target network device is located.
  • the service call request includes information of the target VLAN, such as the identifier of the target VLAN.
  • the vehicle-mounted cellular network communication module determines the virtual MAC layer device corresponding to the identifier of the target VLAN based on the identifier of the target VLAN in the service call request, that is, the virtual MAC layer device allocated in the VLAN corresponding to the identifier of the target VLAN, and determines the virtual MAC layer device as the target virtual MAC layer device.
  • the service call request includes information of the target network device, such as an identifier of the target network device.
  • the VLAN information also includes information of network devices in the vehicle Ethernet corresponding to the multiple VLANs, such as an identifier of the network device.
  • the cellular network communication module After the cellular network communication module receives the service call request, it searches the received VLAN information based on the identifier of the target network device in the service call request, determines that the VLAN corresponding to the network device represented by the identifier of the target network device is the target VLAN, and determines the virtual MAC layer device in the target VLAN as the target virtual MAC layer device.
  • the service call request includes a target MAC address.
  • the on-board cellular network communication module After the on-board cellular network communication module receives the service call request, it determines the virtual MAC layer device corresponding to the target MAC address as the target virtual MAC layer device based on the target MAC address in the service call request.
  • the vehicle-mounted cellular network communication module uses the target virtual MAC layer device to connect to the wide area network based on the MAC address corresponding to the target virtual MAC layer device, that is, communicates with the cloud to obtain services and provide the services to the target network device in the vehicle-mounted Ethernet.
  • the virtual Ethernet switch in the vehicle-mounted cellular network communication module receives a service call request sent by the vehicle-mounted Ethernet through an Ethernet interface, determines a target MAC address based on the service call request, and forwards the service call request to a virtual MAC layer device corresponding to the target MAC address, and then uses the virtual MAC layer device to obtain services from the cloud based on the MAC address corresponding to the virtual MAC address, and provides the service to the target network device.
  • the on-board cellular network communication module constructs a virtual Ethernet switch and multiple virtual MAC layer devices corresponding to multiple MAC addresses, and assigns the virtual MAC layer devices to different VLANs. Subsequently, the on-board cellular network communication module uses these multiple virtual MAC layer devices corresponding to the MAC addresses to provide services for network devices located in different VLANs in the on-board Ethernet through the virtual Ethernet switch, thereby solving the problem that the on-board cellular network communication module provides fewer MAC addresses and cannot meet the demand for allocating MAC addresses to services in different VLANs.
  • some embodiments of the present disclosure also provide a service management method, which is applied to any network device in the vehicle-mounted Ethernet ( As shown in FIG3 , the service management method includes steps 301 to 302.
  • Step 301 Allocate each network device in the vehicle Ethernet to different virtual local area networks (VLANs).
  • VLANs virtual local area networks
  • the vehicle-mounted Ethernet allocates various network devices in the vehicle-mounted Ethernet to different VLANs according to the vehicle's own preset rules, and configures the MAC addresses for the VLANs.
  • the preset rules divide network devices that require these services into different VLANs based on the types of information involved in the services and the different security level requirements for different types of information.
  • the in-vehicle Ethernet includes network devices 1 to 3, service 1 required by network device 1, service 2 required by network device 2, and service 3 required by network device 3, and the types of information involved are sensitive information (such as vehicle privacy information), control information (such as information related to OTA upgrades), and entertainment information (such as music).
  • the security levels corresponding to these three types of information are different, and services 1 to 3 are not the same.
  • network devices 1 to 3 can be divided into different VLANs, such as VLAN1 to VLAN3.
  • the MAC addresses configured for different VLANs can be obtained by enumeration by the vehicle-mounted Ethernet itself, or can be enumerated by the vehicle-mounted cellular network communication module and synchronized to the vehicle-mounted Ethernet, or can be enumerated by other devices and synchronized to the vehicle-mounted Ethernet and the vehicle-mounted cellular network communication module.
  • the vehicle Ethernet allocates each network device therein to a different VLAN, configures the MAC address of the VLAN, and sends the VLAN information to the vehicle cellular network communication module.
  • VLAN information please refer to the above content and will not be repeated here.
  • the enumerated multiple MAC addresses configured for the VLAN can be sent to the vehicle-mounted cellular network communication module before sending the VLAN information.
  • the number of MAC addresses enumerated by any of the above devices is the same as the number of VLANs in the vehicle Ethernet to meet the needs of different vehicle Ethernets. The need to assign MAC addresses to VLANs in Ethernet.
  • Step 302 Based on the VLANs where the network devices are located, services are obtained for the network devices located in different VLANs in the vehicle Ethernet through the virtual Ethernet switch and multiple virtual MAC layer devices constructed in the vehicle cellular network communication module.
  • the in-vehicle Ethernet generates a service call request based on the VLAN where each network device is located, and sends the service call request to the in-vehicle cellular network communication module to obtain services for each network device located in different VLANs in the in-vehicle Ethernet through the virtual Ethernet switch and multiple virtual MAC layer devices constructed in the in-vehicle cellular network communication module.
  • the service call request is used to request to provide a service to a target network device located in a target VLAN in the automotive Ethernet network.
  • the service call request includes information of the target VLAN, such as an identifier of the target VLAN.
  • the automotive Ethernet any network device determines the VLAN where the target network device is located, i.e., the target VLAN, based on the VLAN where each network device is located, and generates a service call request based on the information of the target VLAN.
  • the VLAN information sent by the vehicle Ethernet to the vehicle cellular network communication module also includes information of network devices corresponding to each VLAN, such as the identification of the network device.
  • the service call request includes information of the target network device, and the vehicle Ethernet can directly generate a service call request based on the information of the target network device.
  • the service call request includes a target MAC address.
  • the in-vehicle Ethernet (any network device) determines the MAC address corresponding to the VLAN where the target network device is located based on the VLAN where each network device is located, that is, the target MAC address, and generates a service call request based on the target MAC address.
  • the service call request also includes relevant information of the service required by the target network device.
  • the target network device can be determined based on the trigger instruction, that is, the vehicle Ethernet determines any network device that receives the trigger instruction as the target network device. Subsequently, the vehicle Ethernet obtains the target network device from the vehicle cellular network communication module based on the VLAN where the target network device is located, the MAC address corresponding to the VLAN, etc. Corresponding services.
  • certain embodiments of the present disclosure provide a service management system, which includes an on-board Ethernet and an on-board cellular network communication module.
  • the on-board Ethernet is connected to the virtual Ethernet switch in the on-board cellular network communication module through the Ethernet interface of the on-board cellular network communication module.
  • the vehicle-mounted cellular network communication module is configured to construct a virtual Ethernet switch and multiple virtual MAC layer devices; the multiple virtual MAC layer devices correspond one-to-one to multiple MAC addresses; the multiple virtual MAC layer devices are assigned to the virtual local area network VLAN of the vehicle-mounted Ethernet; based on the VLANs where the multiple virtual MAC layer devices are located, the multiple virtual MAC layer devices are used to provide services for various network devices located in different VLANs in the vehicle-mounted Ethernet through the virtual Ethernet switch.
  • the vehicle-mounted Ethernet is configured to assign each network device in the vehicle-mounted Ethernet to a different VLAN; based on the VLAN where each network device is located, services are obtained for each network device located in different VLANs in the vehicle-mounted Ethernet through a virtual Ethernet switch and multiple virtual MAC layer devices constructed in the vehicle-mounted cellular network communication module; and multiple virtual MAC layer devices correspond one-to-one to multiple MAC addresses.
  • the virtual Ethernet switch and the virtual MAC layer device are connected via multiple channels, namely, data/control channels.
  • the specific structure of the service management system may be as shown in FIG5 , where the vehicle-mounted Ethernet divides each network device therein into different VLANs, namely VLAN1, VLAN2, ..., VLANn as shown in the figure.
  • the vehicle-mounted Ethernet is connected to the Ethernet interface of the vehicle-mounted cellular network communication module via an Ethernet cable, and is connected to the virtual Ethernet switch constructed in the vehicle-mounted cellular network communication module through the Ethernet interface.
  • the virtual Ethernet switch is connected to n virtual MAC layer devices through n data/control channels, respectively.
  • each virtual MAC layer device corresponds to a MAC sublayer, that is, a MAC address.
  • these n data/control channels have their own independent MAC sublayers, namely MAC sublayer 1, MAC sublayer 2, ..., MAC sublayer n as shown in the figure.
  • service set 1 includes services required by network devices in the vehicle-mounted Ethernet in VLAN1
  • service set 2 includes services required by network devices in the vehicle-mounted Ethernet in VLAN2.
  • the service set n includes the services required by the network devices in the vehicle Ethernet in VLAN n.
  • the vehicle cellular network communication module provides services to the corresponding network devices in the vehicle Ethernet based on the relationship between the network devices (required services), VLAN, and MAC sublayer (or MAC address).
  • the present invention simulates a virtual Ethernet switch and a MAC layer device with multiple MAC sublayers through hardware or software, so that the vehicle-mounted cellular network communication module with a single physical link can support multiple MAC addresses, thereby solving the problem that the vehicle-mounted cellular network communication module cannot provide enough MAC addresses for services in different domains.
  • some embodiments of the present disclosure provide a service management device, which includes a construction module 601, an allocation module 602, and a service provision module 603.
  • the construction module 601 is configured to construct a virtual Ethernet switch and multiple virtual MAC layer devices; the multiple virtual MAC layer devices correspond to the multiple MAC addresses one by one.
  • the allocation module 602 is configured to allocate multiple virtual MAC layer devices to a virtual local area network VLAN of the in-vehicle Ethernet.
  • the service providing module 603 is configured to use multiple virtual MAC layer devices based on the VLANs where the multiple virtual MAC layer devices are located, and to provide services for various network devices located in different VLANs in the vehicle Ethernet through a virtual Ethernet switch.
  • some embodiments of the present disclosure provide a service management device, which includes an allocation module 701 and a service acquisition module 702.
  • the allocation module 701 is configured to allocate MAC addresses to services in different VLANs
  • the service acquisition module 702 is configured to obtain services for each network device located in different VLANs in the vehicle Ethernet based on the VLAN where each network device is located, through the virtual Ethernet switch and multiple virtual MAC layer devices constructed in the vehicle-mounted cellular network communication module; multiple virtual MAC layer devices correspond one-to-one to multiple MAC addresses.
  • some embodiments of the present disclosure provide an electronic device, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other via the communication bus 804.
  • Memory 803 configured to store computer programs
  • the processor 801 is configured to implement the service management method provided by the present disclosure when executing the program stored in the memory 803 .
  • the electronic device may be a module capable of realizing a communication function or a terminal device including the module, etc.
  • the terminal device may be a mobile terminal or a smart terminal.
  • the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a laptop computer, etc.
  • the smart terminal may specifically be a terminal including a wireless communication module such as a smart car, a smart watch, a shared bicycle, a smart cabinet, etc.
  • the module may specifically be a wireless communication module, such as any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and a NB-IOT communication module.
  • Certain embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the service management method provided by the present disclosure is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

公开了服务管理方法、系统、装置、电子设备及存储介质,应用于车载蜂窝网络通信模块的该服务管理方法包括,构建虚拟以太网交换机与多个虚拟MAC层设备,多个虚拟MAC层设备与多个MAC地址一一对应;将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;以及基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。

Description

服务管理方法、系统、装置、电子设备及存储介质
相关申请的引用
本公开要求于2022年10月14日向中华人民共和国国家知识产权局提交的申请号为202211260873.7、发明名称为“服务管理方法、系统、装置、电子设备及存储介质”的发明专利申请的全部权益,并通过引用的方式将其全部内容并入本公开中。
领域
本公开涉及通信技术领域,尤其涉及服务管理方法、系统、装置、电子设备及存储介质。
背景
车载以太网中通常包含classic AUTOSAR架构下的电子控制单元(electronic control unit,ECU)、传感器、智能传感器等设备,以及adaptive AUTOSAR架构下的高性能计算机、车载蜂窝网络通信模块等设备,这些设备通过以太网交换机连接到车载以太网。其中,车载蜂窝网络通信模块的核心可以为Linux系统核心。
车载以太网通过车载蜂窝网络通信模块连接广域网,进行车到云通信,车载蜂窝网络通信模块向车载以太网中的设备提供各种各样的服务,例如语音电话、紧急电话、OTA升级、数据传输、WIFI/蓝牙管理控制等。这些服务可能归属于车载以太网的不同虚拟局域网(virtual local areanetwork,VLAN)中。一般的,车载WIFI/蓝牙等无线设备安装于车载蜂窝网络通信模块上,由车载蜂窝网络通信模块统一管理控制。由于安全等原因,车载以太网中通常会通过VLAN技术,将这些服务划分到不同的域,如车载娱乐域、自动驾驶域等。
车载以太网的VLAN技术建立在数据链路层,以虚拟局域网标签VLAN tag机制为基础工作,因此要求归属于不同VLAN的服务使用不同的MAC地址。但是,车载蜂窝网络通信模块通常只设置一个以太网接口(物理链路),此时车载蜂窝网络通信模块仅能提供一个MAC地址, 但这并不能满足为处于不同VLAN的服务均分配MAC地址的需求,或者说,不足以支持将车载蜂窝网络通信模块提供的大量服务部署在车载以太网不同的域中。
概述
第一方面,本公开提供了服务管理方法,应用于车载蜂窝网络通信模块,该方法包括:
构建虚拟以太网交换机与多个虚拟MAC层设备;多个虚拟MAC层设备与多个MAC地址一一对应;
将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;以及
基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
在某些实施方案中,在构建虚拟以太网交换机与多个虚拟MAC层设备之后,该方法还包括:
获取多个MAC地址,并将多个MAC地址一一分配给多个虚拟MAC层设备。
在某些实施方案中,将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中,包括:
接收VLAN信息,VLAN信息包括车载以太网中各个网络设备所在的多个VLAN的信息;以及
基于VLAN信息中多个VLAN的信息,将多个虚拟MAC层设备一一分配给多个VLAN。
在某些实施方案中,基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务,包括:
接收服务调用请求,服务调用请求用于请求为车载以太网中位于目标VLAN的目标网络设备提供服务;目标网络设备为各个网络设备 中的任意一个;
响应于服务调用请求,基于多个虚拟MAC层设备所在的VLAN,将目标VLAN中的虚拟MAC层设备,确定为目标虚拟MAC层设备;以及
使用目标虚拟MAC层设备,通过虚拟以太网交换机为位于目标VLAN的目标网络设备提供服务。
第二方面,本公开提供了服务管理方法,应用于车载以太网,该方法包括:
将车载以太网中各个网络设备分配到不同的虚拟局域网VLAN中;以及
基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;多个虚拟MAC层设备与多个MAC地址一一对应。
第三方面,本公开提供了服务管理系统,其包括车载以太网、车载蜂窝网络通信模块;车载以太网通过车载蜂窝网络通信模块的以太网接口与车载蜂窝网络通信模块连接;
其中车载蜂窝网络通信模块,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;多个虚拟MAC层设备与多个MAC地址一一对应;将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务;以及
车载以太网,配置为将车载以太网中各个网络设备分配到不同的VLAN中;基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;多个虚拟MAC层设备与多个MAC地址一一对应。
第四方面,本公开提供了服务管理装置,其包括:
构建模块,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;多个虚拟MAC层设备与多个MAC地址一一对应;
分配模块,配置为将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;以及
提供服务模块,配置为基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
第五方面,本公开提供了服务管理装置,其包括:
分配模块,配置为将车载以太网中各个网络设备分配到不同的虚拟局域网VLAN中;以及
获取服务模块,配置为基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;多个虚拟MAC层设备与多个MAC地址一一对应。
第六方面,本公开提供了电子设备,其包括处理器、通信接口、存储器和通信总线,其中,处理器、通信接口、存储器通过通信总线完成相互间的通信;
存储器,配置为存放计算机程序;
处理器,配置为执行存储器上所存放的程序时,实现本公开所述的服务管理方法。
第五方面,本公开提供了计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开所述的服务管理方法。
在某些实施方案中,本公开的服务管理方法中,车载蜂窝网络通信模块构建虚拟以太网交换机与多个虚拟MAC层设备,并将这多个虚拟MAC地址分配到车载以太网的VLAN中,即将这多个虚拟MAC层设备对应的MAC地址分配给不同的VLAN,满足为不同VLAN的服务提供MAC地址的需求,以便于车载蜂窝网络通信模块基于多个虚拟MAC层设备所在VLAN,使用这多个虚拟MAC层设备,通过虚拟 以太网交换机为车载以太网中位于不同VLAN的网络设备提供服务。
附图的简要说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开一实施例提供的车载以太网的结构的示意图;
图2为本公开一实施例提供的服务管理方法的流程示意图一;
图3为本公开一实施例提供的服务管理方法的流程示意图二;
图4为本公开一实施例提供的服务管理系统的示意图;
图5为本公开一实施例提供的服务管理系统的具体结构的示意图;
图6为本公开一实施例提供的服务管理装置的示意图一;
图7为本公开一实施例提供的服务管理装置的示意图二;以及
图8为本公开一实施例提供的电子设备的结构示意图。
详述
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
为了解决车载蜂窝网络通信模块提供的MAC地址较少,不能满足为不同VLAN的服务均分配MAC地址的需求的问题,本公开的某些实施例提供了服务管理方法,应用于车载蜂窝网络通信模块中,该车载蜂窝网络通信模块可位于任一车载设备中。如图2所示,该方法包 括步骤201至步骤203。
步骤201:构建虚拟以太网交换机与多个虚拟MAC层设备。
在某些实施方案中,多个虚拟MAC层设备与多个MAC地址一一对应。
在某些实施方案中,多个虚拟MAC层设备包括设备1与设备2,设备1对应MAC地址1,设备2对应MAC地址2。
在某些实施方案中,车载蜂窝网络通信模块利用其上的硬件资源和软件资源,以构建虚拟机的方式,构建虚拟以太网交换机与虚拟MAC层设备,即在逻辑和功能上虚拟了一个以太网交换机和多个MAC层设备。随后,车载蜂窝网络通信模块使用构建得到的虚拟MAC层设备对应的MAC层,替代车载蜂窝网络通信模块中的原MAC层。
也就是说,虚拟以太网交换机与多个虚拟MAC层设备均处于车载蜂窝网络通信模块中。此时,在车载以太网一侧看来,原本的车载蜂窝网络通信模块,从逻辑上分成了一个虚拟以太网交换机和多个虚拟MAC层设备。
在某些实施方案中,车载蜂窝网络通信模块使用其硬件资源与软件资源,枚举成多个网络设备,即上述虚拟以太网交换机与多个虚拟MAC层设备,并提供多条独立的数据/控制通道。
在某些实施方案中,虚拟以太网交换机与多个虚拟MAC层设备通过多个通道连接。这多个通道与多个虚拟MAC层设备之间一一对应。可以理解的是,这多个通道中每一通道都有其独立的MAC地址,即独立的MAC子层。
在某些实施方案中,虚拟以太网交换机与多个虚拟MAC层设备之间的通道为数据/控制通道。
在某些实施方案中,车载蜂窝网络通信模块在构建虚拟以太网交换机与多个虚拟MAC层设备后,获取多个MAC地址,并将这多个MAC地址一一分配给多个虚拟MAC层设备。也就是说,建立这多个MAC地址与多个虚拟MAC层设备之间的一一对应关系。
在某些实施方案中,3个虚拟MAC层设备即设备1至设备3,通 过3个通道即通道1至通道3,分别与虚拟以太网交换机连接。此时,这3个通道分别有其独立的MAC地址(或者说MAC层)。将MAC地址1至MAC地址3分别分配给设备1至设备3,则该通道1至通道3所具有的MAC地址分别为MAC地址1至MAC地址3。
在某些实施方案中,这多个MAC地址可以是车载以太网枚举出来并发送给车载蜂窝网络通信模块的。相应地,车载蜂窝网络通信模块接收(或者说获取)到这多个MAC地址。
在某些实施方案中,车载蜂窝网络通信模块通过虚拟以太网交换机获取车载以太网发送的信息,例如多个MAC地址。
在某些实施方案中,这多个MAC地址也可以是车载蜂窝网络通信模块本身枚举出来的。只是,车载蜂窝网络通信网络模块枚举MAC地址的方式与车载以太网中枚举MAC地址的方式相同,以保证两者所枚举出的MAC地址相同。在某些实施方案中,车载蜂窝网络通信网络模块枚举MAC地址,并将枚举出的MAC地址发送给车载以太网,以使得车载以太网将这些MAC地址配置给不同的VLAN。
在某些实施方案中,这多个MAC地址也可以是由其他设备枚举并同步给车载以太网与车载蜂窝网络通信模块的,以保证两者中用于分配的MAC地址的一致性。
在某些实施方案中,车载蜂窝网络通信模块通过驱动,构建虚拟以太网交换机与虚拟MAC层设备。
步骤202:将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中。
在某些实施方案中,车载以太网(中的任一网络设备)发送VLAN信息给车载蜂窝网络通信模块。相应地,车载蜂窝网络通信模块接收VLAN信息,并基于接收到的VLAN信息中多个VLAN的信息,将多个虚拟MAC层设备一一分配给这多个VLAN。
在某些实施方案中,虚拟MAC层设备的数量大于车载以太网中的VLAN的数量。
在某些实施方案中,车载蜂窝网络通信模块接收到的VLAN信息 中,包括车载以太网各个网络设备所在的多个VLAN的信息。
在某些实施方案中,VLAN信息中包括车载以太网中各个网络设备所在的多个VLAN的标识,以及这多个VLAN对应的MAC地址。
此时,车载蜂窝网络通信模块基于VLAN信息,确定各个VLAN对应的MAC地址,结合分配给各个虚拟MAC层设备的MAC地址,并将与不同MAC地址对应的虚拟MAC层设备分配至相应的VLAN中。
在某些实施方案中,车载蜂窝网络模块将MAC地址中的MAC1-MAC3分别分配给了虚拟MAC层设备中的设备1至设备3。车载蜂窝网络通信模块接收到的VLAN信息中,包括MAC1-MAC3与VLAN1至VLAN3之间的对应关系。此时,车载蜂窝网络基于MAC1至MAC3与VLAN和虚拟MAC层设备之间的对应关系,将与MAC1-MAC3对应的设备1至设备3,分别分配给VLAN1至VLAN3。
在某些实施方案中,上述虚拟以太网交换机通过车载蜂窝网络通信模块的以太网接口与车载以太网连接。也就是说,车载以太网(中的任一网络设备),通过以太网接口将VLAN信息发送给车载蜂窝网络通信模块中的虚拟以太网交换机。
可以理解的是,车载蜂窝网络通信模块是整个车载网络(包括车载蜂窝网络通信模块本身和车载以太网中各个网络设备等)的出口,为车载以太网中处于不同VLAN的各个网络设备提供服务。
上述过程中,多个MAC地址可以是车载蜂窝网络通信模块在接收到该VLAN信息之前,从车载以太网中获取或接收到的。
在某些实施方案中,车载蜂窝网络通信模块还可以从接收到的VLAN信息中获取到的这多个MAC地址。
此时,车载蜂窝网络通信模块可以如上所述,在将这多个MAC地址分配给多个虚拟MAC层设备后,再将虚拟MAC层设备分配给与其对应的MAC地址所对应的VLAN。
在某些实施方案中,车载蜂窝网络通信模块也可以在将多个虚拟MAC层设备分配给VLAN后,再基于VLAN与MAC地址之间的对应 关系,将这多个MAC地址分配给相应的VLAN。
通过上述过程,不论通过何种方式,均实现了建立MAC地址、虚拟MAC层设备与VLAN之间的对应关系的效果。这样的话,车载蜂窝网络通信模块可基于这三者之间的对应关系,为车载以太网中位于不同VLAN的网络设备提供服务。
步骤203:基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
在某些实施方案中,车载以太网(中的任一网络设备)发送服务调用请求给车载蜂窝网络通信模块,相应地,车载蜂窝网络通信模块接收服务调用请求。随后,车载蜂窝网络通信模块响应于服务调用请求,基于多个虚拟MAC层设备所在的VLAN,将目标VLAN中的虚拟MAC层设备,确定为目标虚拟MAC层设备。最后,车载蜂窝网络通信模块使用目标虚拟MAC层设备,通过虚拟以太网交换机为位于目标VLAN的目标网络设备提供服务。
在某些实施方案中,服务调用请求用于请求车载以太网中位于目标VLAN的目标网络设备提供服务。
在某些实施方案中,目标网络设备为车载以太网下各个网络设备中的任意一个。可以理解的是,目标VLAN即目标网络设备所在的VLAN。
在某些实施方案中,服务调用请求中包括目标VLAN的信息,例如目标VLAN的标识。此时,车载蜂窝网络通信模块接收到服务调用请求后,基于服务调用请求中的目标VLAN的标识,确定与该目标VLAN的标识对应的虚拟MAC层设备,即被分配处于该目标VLAN的标识对应的VLAN中的虚拟MAC层设备,并将该虚拟MAC层设备确定为目标虚拟MAC层设备。
在某些实施方案中,服务调用请求中包括目标网络设备的信息,例如目标网络设备的标识。此时,上述VLAN信息中还包括多个VLAN所对应的车载以太网中的网络设备的信息,例如网络设备的标识。车 载蜂窝网络通信模块接收到服务调用请求后,基于服务调用请求中的目标网络设备的标识,在其接收到的VLAN信息中进行查找,确定该目标网络设备的标识表示的网络设备所对应的VLAN为目标VLAN,并将该目标VLAN中的虚拟MAC层设备,确定为目标虚拟MAC层设备。
在某些实施方案中,服务调用请求中包括目标MAC地址,车载蜂窝网络通信模块接收到服务调用请求后,基于服务调用请求中的目标MAC地址,将该目标MAC地址对应的虚拟MAC层设备,确定为目标虚拟MAC层设备。
在某些实施方案中,车载蜂窝网络通信模块,在确定目标虚拟MAC层设备后,基于该目标虚拟MAC层设备对应的MAC地址,使用目标虚拟MAC层设备连接广域网,即与云端进行通信,以获取服务并将该服务提供给车载以太网中的目标网络设备。
在某些实施方案中,车载蜂窝网络通信模块中的虚拟以太网交换机通过以太网接口,接收车载以太网发送的服务调用请求,并基于服务调用请求确定目标MAC地址,并将该服务调用请求转发给该目标MAC地址对应的虚拟MAC层设备,进而使用该虚拟MAC层设备,基于该虚拟MAC地址对应的MAC地址从云端获取服务,并将该服务提供给目标网络设备。
需要说明的是,在上述过程中,车载蜂窝网络通信模块构建虚拟以太网交换机和与多个MAC地址一一对应的多个虚拟MAC层设备,并将虚拟MAC层设备分配给不同的VLAN,随后,车载蜂窝网络通信模块使用这与MAC地址一一对应的多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的网络设备提供服务,从而解决车载蜂窝网络通信模块提供的MAC地址较少,不能满足为不同VLAN的服务均分配MAC地址的需求的问题。
为了解决车载蜂窝网络通信模块提供的MAC地址较少,不能满足为不同VLAN的服务均分配MAC地址的需求的问题,本公开的某些实施例还提供了服务管理方法,应用于车载以太网(中的任一网络设 备),如图3所示,该服务管理方法包括步骤301至步骤302。
步骤301:将车载以太网中各个网络设备分配到不同的虚拟局域网VLAN中。
在某些实施方案中,车载以太网依据车辆自身的预设规则,将车载以太网中的各个网络设备分配到不同的VLAN中,并对VLAN进行MAC地址的配置。
在某些实施方案中,预设规则是基于服务所涉及的信息的类型,和不同类型的信息对于安全等级的要求的不同,将需要这些服务的网络设备划分到不同的VLAN中。
在某些实施方案中,车载以太网中包括网络设备1-网络设备3,网络设备1所需的服务1、网络设备2所需的服务2和网络设备3所需的服务3,所涉及的信息的类型分别为敏感信息(例如车辆隐私信息)、控制信息(例如涉及OTA升级的信息)、和娱乐信息(例如音乐)。这3种信息所对应的安全等级不同,且服务1至服务3并不相同,此时,可将网络设备1至网络设备3分别划分至不同的VLAN,例如VLAN1至VLAN3中。
在某些实施方案中,上述配置给不同VLAN的MAC地址可以是车载以太网自行枚举得到的,也可以是由车载蜂窝网络通信模块枚举并同步给车载以太网的,或者是由其他设备枚举并同步给车载以太网与车载蜂窝网络通信模块的。
在某些实施方案中,车载以太网将其中的各个网络设备分配到不同的VLAN,并对VLAN进行MAC地址的配置后,发送VLAN信息给车载蜂窝网络通信模块。关于VLAN信息的介绍可参见上述内容,在此不进行赘述。
在某些实施方案中,车载以太网自行枚举得到多个MAC地址后,可在发送VLAN信息之前,将枚举出的配置给VLAN的多个MAC地址发送给车载蜂窝网络通信模块。
在某些实施方案中,上述无论哪一设备枚举出的MAC地址的数量,均与车载以太网中的VLAN的数量相同,以满足为不同的车载以 太网中的VLAN分配MAC地址的需求。
步骤302:基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务。
在某些实施方案中,车载以太网基于各个网络设备所在VLAN,生成服务调用请求,并将该服务调用请求发送给车载蜂窝网络通信模块,以通过该车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务。
在某些实施方案中,服务调用请求用于请求为车载以太网中位于目标VLAN的目标网络设备提供服务。
在某些实施方案中,服务调用请求中包括目标VLAN的信息,例如目标VLAN的标识。此时,车载以太网(中任一网络设备)基于各个网络设备所在的VLAN,确定目标网络设备所在的VLAN,即目标VLAN,并基于该目标VLAN的信息生成服务调用请求。
在某些实施方案中,车载以太网发送给车载蜂窝网络通信模块的VLAN信息中还包括各个VLAN所对应的网络设备的信息,例如网络设备的标识时。此时,服务调用请求中包括目标网络设备的信息,车载以太网可直接基于目标网络设备的信息生成服务调用请求。
在某些实施方案中,服务调用请求中包括目标MAC地址,车载以太网(中任一网络设备)基于各个网络设备所在的VLAN,确定目标网络设备所在的VLAN对应的MAC地址,即目标MAC地址,并基于该目标MAC地址生成服务调用请求。
在某些实施方案中,服务调用请求中还包括目标网络设备所需服务的相关信息。
需要说明的是,上述目标网络设备可以是基于触发指令确定的,即车载以太网将其中任一接收到触发指令的网络设备确定为目标网络设备。随后,车载以太网基于该目标网络设备所处的VLAN,该VLAN对应的MAC地址等,从车载蜂窝网络通信模块为该目标网络设备获取 相应服务。
如图4所示,本公开某些实施例提供了服务管理系统,该服务管理系统包括车载以太网与车载蜂窝网络通信模块,车载以太网通过车载蜂窝网络通信模块的以太网接口与车载蜂窝网络通信模块中的虚拟以太网交换机连接。
在某些实施方案中,车载蜂窝网络通信模块,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;多个虚拟MAC层设备与多个MAC地址一一对应;将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;基于多个虚拟MAC层设备所在的VLAN,使用所述多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
在某些实施方案中,车载以太网,配置为将车载以太网中各个网络设备分配到不同的VLAN中;基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;多个虚拟MAC层设备与多个MAC地址一一对应。
在某些实施方案中,虚拟以太网交换机与虚拟MAC层设备之间通过多个通道,即数据/控制通道连接。
在某些实施方案中,服务管理系统的具体结构可如图5所示,车载以太网将其中的各个网络设备划分到不同的VLAN,即图示的VLAN1、VLAN2、…、VLANn中。车载以太网通过以太网线连接车载蜂窝网络通信模块的以太网接口,并通过该以太网接口与车载蜂窝网络通信模块中构建的虚拟以太网交换机连接。车载蜂窝网络通信模块中,虚拟以太网交换机通过n个数据/控制通道分别与n个虚拟MAC层设备连接。其中,每个虚拟MAC层设备对应一个MAC子层,即一个MAC地址。也就是说,这n个数据/控制通道分别具有其独立的MAC子层,即图示MAC子层1、MAC子层2、…、MAC子层n。其中,服务集合1中包括处于VLAN1的车载以太网中的网络设备所需的服务,服务集合2包括处于VLAN2的车载以太网中的网络设备所需服务, 服务集合n中包括处于VLANn的车载以太网中的网络设备所需服务。车载蜂窝网络通信模块基于网络设备(所需的服务)、VLAN、MAC子层(或者说MAC地址)之间的关系,将服务提供给车载以太网中的相应网络设备。
需要说明的是,本公开在使用单物理链路(以太网接口)的车载蜂窝网络通信模块中,通过硬件或软件模拟虚拟以太网交换机和多MAC子层的MAC层设备,使该单物理链路的车载蜂窝网络通信模块实现对多MAC地址的支持,解决该车载蜂窝网络通信模块无法提供足够的MAC地址给处于不同域的服务的问题。
如图6所示,本公开某些实施例提供了服务管理装置,该装置包括构建模块601、分配模块602与提供服务模块603,
其中,构建模块601,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;多个虚拟MAC层设备与多个MAC地址一一对应。
分配模块602,配置为将多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中。
提供服务模块603,配置为基于多个虚拟MAC层设备所在的VLAN,使用多个虚拟MAC层设备,通过虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
如图7所示,本公开某些实施例提供了服务管理装置,该装置包括分配模块701和获取服务模块702,
其中,分配模块701,配置为为处于不同VLAN中的服务分配MAC地址;
获取服务模块702,配置为基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;多个虚拟MAC层设备与多个MAC地址一一对应。
如图8所示,本公开某些实施例提供了电子设备,包括处理器801、通信接口802、存储器803和通信总线804,其中,处理器801,通信接口802,存储器803通过通信总线804完成相互间的通信,
存储器803,配置为存放计算机程序;以及
处理器801,配置为执行存储器803上所存放的程序时,实现本公开提供的服务管理方法。
本公开某些实施例提供的电子设备,可以为能够实现通信功能的模组或包含该模组的终端设备等,该终端设备可以为移动终端或智能终端。移动终端具体可以为手机、平板电脑、笔记本电脑等中的至少一种;智能终端具体可以是智能汽车、智能手表、共享单车、智能柜等含有无线通信模组的终端;模组具体可以为无线通信模组,例如2G通信模组、3G通信模组、4G通信模组、5G通信模组、NB-IOT通信模组等中的任意一种。
本公开某些实施例还提供了计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开提供的服务管理方法。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其他实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (10)

  1. 服务管理方法,应用于车载蜂窝网络通信模块,所述方法包括:
    构建虚拟以太网交换机与多个虚拟MAC层设备;所述多个虚拟MAC层设备与多个MAC地址一一对应;
    将所述多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;以及
    基于所述多个虚拟MAC层设备所在的VLAN,使用所述多个虚拟MAC层设备,通过所述虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
  2. 如权利要求1所述的服务管理方法,其中在所述构建虚拟以太网交换机与多个虚拟MAC层设备之后,所述方法还包括:
    获取多个MAC地址,并将多个MAC地址一一分配给所述多个虚拟MAC层设备。
  3. 如权利要求1或2所述的服务管理方法,其中所述将所述多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中,包括:
    接收VLAN信息,所述VLAN信息包括车载以太网中各个网络设备所在的多个VLAN的信息;以及
    基于所述VLAN信息中多个VLAN的信息,将所述多个虚拟MAC层设备一一分配给所述多个VLAN。
  4. 如权利要求1至3中任一权利要求所述的MAC地址管理方法,其中所述基于所述多个虚拟MAC层设备所在的VLAN,使用所述多个虚拟MAC层设备,通过所述虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务,包括:
    接收服务调用请求,所述服务调用请求用于请求为车载以太网中位于目标VLAN的目标网络设备提供服务;所述目标网络设备为所述各个网络设备中的任意一个;
    响应于所述服务调用请求,基于所述多个虚拟MAC层设备所在的VLAN,将所述目标VLAN中的虚拟MAC层设备,确定为目标虚拟MAC层设备;以及
    使用所述目标虚拟MAC层设备,通过所述虚拟以太网交换机为所述位于目标VLAN的目标网络设备提供服务。
  5. 服务管理方法,应用于车载以太网,所述方法包括:
    将所述车载以太网中各个网络设备分配到不同的虚拟局域网VLAN中;以及
    基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;所述多个虚拟MAC层设备与多个MAC地址一一对应。
  6. 服务管理系统,其包括车载以太网、车载蜂窝网络通信模块;所述车载以太网通过所述车载蜂窝网络通信模块的以太网接口与所述车载蜂窝网络通信模块连接;
    其中所述车载蜂窝网络通信模块,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;所述多个虚拟MAC层设备与多个MAC地址一一对应;将所述多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;基于所述多个虚拟MAC层设备所在的VLAN,使用所述多个虚拟MAC层设备,通过所述虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务;
    所述车载以太网,配置为将所述车载以太网中各个网络设备分配到不同的VLAN中;基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;所述多个虚拟MAC层设备与多个MAC地址一一对应。
  7. 服务管理装置,其包括:
    构建模块,配置为构建虚拟以太网交换机与多个虚拟MAC层设备;所述多个虚拟MAC层设备与多个MAC地址一一对应;
    分配模块,配置为将所述多个虚拟MAC层设备分配到车载以太网的虚拟局域网VLAN中;以及
    提供服务模块,配置为基于所述多个虚拟MAC层设备所在的VLAN,使用所述多个虚拟MAC层设备,通过所述虚拟以太网交换机为车载以太网中位于不同VLAN的各个网络设备提供服务。
  8. 服务管理装置,其包括:
    分配模块,配置为将所述车载以太网中各个网络设备分配到不同的虚拟局域网VLAN中;以及
    获取服务模块,配置为基于各个网络设备所在VLAN,通过车载蜂窝网络通信模块中构建的虚拟以太网交换机与多个虚拟MAC层设备,为车载以太网中位于不同VLAN的各个网络设备获取服务;所述多个虚拟MAC层设备与多个MAC地址一一对应。
  9. 电子设备,其包括处理器、通信接口、存储器和通信总线,其中所述处理器、所述通信接口、所述存储器通过所述通信总线完成相互间的通信;
    所述存储器,配置为存放计算机程序;
    所述处理器,配置为执行存储器上所存放的程序时,实现权利要求1至5中任一权利要求所述的服务管理方法。
  10. 计算机可读存储介质,其上存储有计算机程序,其中所述计算机程序被处理器执行时实现权利要求1至5中任一权利要求所述的服务管理方法。
PCT/CN2023/124674 2022-10-14 2023-10-16 服务管理方法、系统、装置、电子设备及存储介质 WO2024078634A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211260873.7 2022-10-14
CN202211260873.7A CN115589396A (zh) 2022-10-14 2022-10-14 服务管理方法、系统、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024078634A1 true WO2024078634A1 (zh) 2024-04-18

Family

ID=84780247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/124674 WO2024078634A1 (zh) 2022-10-14 2023-10-16 服务管理方法、系统、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN115589396A (zh)
WO (1) WO2024078634A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589396A (zh) * 2022-10-14 2023-01-10 锐凌无线有限责任公司 服务管理方法、系统、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170250905A1 (en) * 2016-02-26 2017-08-31 Hyundai Motor Company Communication method in divided vehicle network
CN110574344A (zh) * 2017-06-23 2019-12-13 株式会社电装 网络交换机
CN114679289A (zh) * 2021-01-28 2022-06-28 北京新能源汽车股份有限公司 一种车载通信系统及车辆
CN115589396A (zh) * 2022-10-14 2023-01-10 锐凌无线有限责任公司 服务管理方法、系统、装置、电子设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2505145A1 (en) * 2002-11-07 2004-05-21 Tpack A/S Virtual ethernet mac switching
EP2075959A1 (en) * 2007-12-27 2009-07-01 THOMSON Licensing Apparatus amd method for concurently accessing multiple wireless networks (WLAN/WPAN)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170250905A1 (en) * 2016-02-26 2017-08-31 Hyundai Motor Company Communication method in divided vehicle network
CN110574344A (zh) * 2017-06-23 2019-12-13 株式会社电装 网络交换机
CN114679289A (zh) * 2021-01-28 2022-06-28 北京新能源汽车股份有限公司 一种车载通信系统及车辆
CN115589396A (zh) * 2022-10-14 2023-01-10 锐凌无线有限责任公司 服务管理方法、系统、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN115589396A (zh) 2023-01-10

Similar Documents

Publication Publication Date Title
US10666609B2 (en) Management of domain name systems in a large-scale processing environment
JP7085565B2 (ja) 分離されたネットワークスタックにわたるインテリジェントなスレッド管理
CN111404753B (zh) 一种扁平网络配置方法、计算机设备及存储介质
WO2017148249A1 (zh) 配置资源的方法及其网络设备
CN111736955B (zh) 一种数据存储方法、装置、设备及可读存储介质
US20170228337A1 (en) Network interface card configuration method and resource management center
CN107580083A (zh) 一种容器ip地址分配的方法和系统
WO2024078634A1 (zh) 服务管理方法、系统、装置、电子设备及存储介质
US8417848B2 (en) Method and apparatus for implementing multiple service processing functions
CN110532101B (zh) 微服务集群的部署系统及方法
US10361970B2 (en) Automated instantiation of wireless virtual private networks
CN112637371B (zh) 节点地址确定方法、装置、电子设备及存储介质
CN109617906B (zh) 一种混合云的接入方法及装置
CN109150638A (zh) 一种路由管理方法及装置
CN113709707B (zh) 服务网格中边车部署的方法、装置、电子设备和存储介质
CN104506403B (zh) 一种支持多级隔离的虚拟网络管理方法
CN112099913A (zh) 一种基于OpenStack实现虚拟机安全隔离的方法
WO2024008104A1 (zh) 远程升级方法及系统
CN114615109A (zh) 容器网络创建方法、装置、电子设备及存储介质
CN109889421B (zh) 路由器的管理方法、装置、终端、系统及存储介质
CN112583655A (zh) 数据传输方法、装置、电子设备及可读存储介质
CN104065554A (zh) 一种组网方法以及组网装置
CN109933959B (zh) 一种许可证控制方法及相关设备
CN108259345B (zh) 端口生成方法和装置
CN109257201B (zh) 一种License的发送方法和装置