Communication configuration method, wireless communication module, electronic equipment and storage medium

By creating virtual network cards and bridge network cards in the wireless communication module of the vehicle system and configuring different network rules to form different virtual networks, the problem of high cost and complex implementation of on-board communication solutions in the existing technology is solved, and the effect of providing differentiated access to the network for different applications is achieved.

CN119967445APending Publication Date: 2025-05-09SIMCOM WIRELESS SOLUTIONS SHANGHAI
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411993418.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The communication solutions of existing vehicle-mounted systems are costly and complex in implementation, making it difficult to effectively provide differentiated access networks for different applications.

Method used

By creating virtual network cards and bridge network cards in wireless communication modules and on-board systems, and configuring different network rules for these network cards, different virtual networks are formed, thereby providing a distinct access network for applications.

Benefits of technology

It realizes a differentiated access network for applications of different on-board systems with lower cost and simplified processing, avoids the need to add additional physical network cards, and realizes data distinction through the network configuration of virtual network cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967445A_ABST
    Figure CN119967445A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of vehicle communication, and discloses a communication configuration method, a wireless communication module, electronic equipment and a storage medium. The communication configuration method is applied to a wireless communication module, and comprises the following steps: creating at least two virtual network cards based on a physical network card; creating at least two network bridge network cards; correspondingly associating the at least two virtual network cards with the at least two network bridge network cards; different network rules are configured for the at least two network bridge network cards, so that the at least two virtual network cards are associated with virtual network cards of the vehicle-mounted system through the different network rules, and different virtual networks are formed; wherein the data transmitted by the at least two network bridge network cards are distinguished through the different network rules. At least differentiated access networks can be provided for application programs of different vehicle-mounted systems with lower cost and more concise processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of vehicle communication technology, and in particular to a communication configuration method, a wireless communication module, an electronic device, and a storage medium. Background Art

[0002] The main core component of the T-Box that provides network services to the vehicle system is a wireless wireless communication module, and usually contains only one UIM card or ESIM card, one card corresponds to one network operator (ISP). The data traffic package corresponding to the UIM card or ESIM card usually supports more than two APNs to initiate data dialing at the same time to establish a data link. One data link corresponds to one network. The operator configures different access rights for different links. For example, some links can access any Internet site without restriction, some links can only interact with the server group specified by the TSP, and some links can only communicate with a specific OTA server.

[0003] However, in-vehicle systems have different requirements for different applications to access the network. In order to meet the above requirements, current communication solutions are usually costly and complex to implement. Summary of the invention

[0004] The embodiments of the present application provide a communication configuration method, a wireless communication module, an electronic device and a storage medium, which are at least conducive to providing differentiated access networks for applications of different vehicle systems at a lower cost and with simpler processing.

[0005] According to some embodiments of the present application, a first aspect of the embodiments of the present application provides a communication configuration method, which is applied to a wireless communication module, and the method includes: creating at least two virtual network cards based on a physical network card; creating at least two bridge network cards; associating the at least two virtual network cards with the at least two bridge network cards; configuring different network rules for the at least two bridge network cards, so that the at least two virtual network cards are associated with the virtual network card of the vehicle-mounted system through the different network rules, and form different virtual networks; wherein, the data transmitted by the at least two bridge network cards is distinguished by the different network rules.

[0006] In some embodiments, configuring different network rules for the at least two bridge network cards includes: configuring different LAN IP address segments for the at least two bridge network cards; configuring different data flow rules for the at least two bridge network cards; and configuring different network forwarding rules for the at least two bridge network cards.

[0007] In some embodiments, the number of virtual network cards in the at least two virtual network cards is the same as the number of bridge network cards in the at least two bridge network cards; associating the at least two virtual network cards with the at least two bridge network cards includes: associating each of the at least two virtual network cards with a different bridge network card in the at least two virtual network cards.

[0008] In some embodiments, the method further comprises: creating a data link according to the configured APN.

[0009] According to some embodiments of the present application, the second aspect of the embodiments of the present application also provides a communication configuration method, which is applied to a vehicle-mounted system, and the vehicle-mounted system supports at least two applications. The method includes: creating at least two virtual network cards based on a physical network card; configuring different network rules for the at least two virtual network cards; associating each of the at least two virtual network cards with a different bridge network card of the wireless communication module, so as to form different virtual networks based on each virtual network card in the at least two virtual network cards and the corresponding bridge network card; allocating the at least two virtual network cards to different applications among the at least two applications, so that the different applications among the at least two applications can access the corresponding virtual network through the allocated virtual network cards.

[0010] In some embodiments, configuring different network rules for the at least two virtual network cards includes: starting a DHCP client to obtain different IP addresses of the at least two virtual network cards through the DHCP client; and performing network configuration for the at least two virtual network cards according to the different IP addresses.

[0011] In some embodiments, configuring different network rules for the at least two virtual network cards includes: receiving a static IP address; and performing network configuration for the at least two virtual network cards respectively according to the static IP address.

[0012] According to some embodiments of the present application, the third aspect of the embodiments of the present application also provides a wireless communication module, including: a creation module, used to create at least two virtual network cards; create at least two bridge network cards; an association module, used to associate the at least two virtual network cards with the at least two bridge network cards; a configuration module, used to configure different network rules for the at least two bridge network cards, so as to associate the at least two virtual network cards with the virtual network card of the vehicle-mounted system through the different network rules to form different virtual networks; wherein, the data transmitted by the at least two bridge network cards is distinguished by the different network rules.

[0013] According to some embodiments of the present application, a fourth aspect of the embodiments of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the communication configuration method as described in any one of the first aspect, or execute the communication configuration method as described in any one of the second aspect.

[0014] According to some embodiments of the present application, the fifth aspect of the embodiments of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the communication configuration method as described in any one of the first aspect, or implements the communication configuration method as described in any one of the second aspect.

[0015] The technical solution provided in the embodiment of the present application has at least the following advantages:

[0016] By associating the virtual network cards created by the wireless communication module and the vehicle-mounted system, different virtual networks can be formed, thereby providing different virtual networks for the applications of the vehicle-mounted system to access and achieve access, thereby achieving the purpose of distinguishing the access networks of the applications. At the same time, since a physical network card can support the creation of at least two virtual network cards, there is no need to add additional physical network cards. At the same time, since the processing is based on the virtual network card, it can communicate according to the network configuration of the virtual network card and be distinguished by the network rules corresponding to the configuration of different virtual network cards. Ultimately, it is achieved to provide differentiated access networks for applications of different vehicle-mounted systems at a lower cost and more concise processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0018] Figure 1 is a flow chart of a communication method applied to a wireless communication module provided in an embodiment of the present application;

[0019] Figure 2 is a flow chart of a communication method applied to a vehicle-mounted system provided in an embodiment of the present application;

[0020] Figure 3 It is a schematic diagram of the interaction between the communication method applied to the wireless communication module and the communication method applied to the vehicle-mounted system provided in the embodiment of the present application;

[0021] Figure 4is a schematic diagram of the structure of a wireless communication module provided in an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] As can be seen from the background art, in order to meet the requirements of the vehicle-mounted system to distinguish different applications accessing the network, the current communication solutions usually have the problems of high cost and complex implementation.

[0024] After analysis, it was found that the reason for the above problems is at least that: At present, in order to meet the needs of the vehicle system to distinguish different applications to access the network, there are mainly two implementation solutions. One is to use multiple network media such as Ethernet cards, WiFi and USB network cards to connect to T-Box at the same time. Second, use a single network medium, such as a USB network card, and all application data will be labeled and uniformly handed over to T-Box for differentiation or T-Box will distinguish access to different server IPs and port numbers according to preset rules. However, the first solution mentioned above uses hardware redundantly, increases product costs, and different network cards are not easy to distinguish. At the same time, T-Box needs to maintain a variety of different network cards, which increases development costs. In addition to the additional processing of the vehicle computer's own application sending and receiving data, the second solution also adds a lot of processing work to T-Box.

[0025] In order to solve the above technical problems, the embodiments of the present application provide a communication configuration method, a wireless communication module, an electronic device and a storage medium, which realize association through the virtual network cards created by the wireless communication module and the vehicle-mounted system, so that different virtual networks can be formed, thereby providing different virtual networks for the application programs of the vehicle-mounted system to access, so as to achieve access and achieve the purpose of distinguishing the access network of the application program. At the same time, since a physical network card can support the creation of at least two virtual network cards, there is no need to add additional physical network cards. At the same time, since the processing is based on the virtual network card, it can communicate according to the network configuration of the virtual network card and be distinguished by the network rules corresponding to the configuration of different virtual network cards. Ultimately, it is achieved to provide differentiated access networks for the applications of different vehicle-mounted systems at a lower cost and more concise processing.

[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present application, many technical details are provided in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0027] The division of the following embodiments is for the convenience of description and shall not constitute any limitation on the specific implementation of the present application. The embodiments may be combined with each other and referenced to each other without contradiction.

[0028] On the one hand, the embodiment of the present application provides a communication configuration method, which is applied to a wireless communication module. It should be noted that the embodiment of the present application does not limit the wireless communication module, which belongs to the core part of the vehicle-mounted T-BOX (intelligent terminal of the Internet of Vehicles, Telematics BOX). The vehicle-mounted T-BOX can communicate with the background system / mobile phone APP (application, application program) of the vehicle-mounted system under the support of the wireless communication module, and provide services such as vehicle information display and control. For example, when the user sends a control command through the mobile phone APP, the TSP (car remote service provider, Telematics Service Provider) background will issue a monitoring request instruction to the vehicle-mounted T-BOX. After the vehicle obtains the control command, it sends a control message through the CAN (Controller Area Network) bus and realizes the control of the vehicle, and finally feeds back the operation result to the user's mobile phone APP. Only this function can help users remotely start the vehicle, turn on the air conditioner, adjust the seat to a suitable position, etc. In this process, the wireless communication module mainly supports the communication function of the vehicle-mounted T-BOX. For this reason, it will integrate various devices for cooperating to realize communication internally, which will not be repeated here. Of course, the above is only an explanation of a specific application scenario. It can also be applied to provide corresponding services in other specific scenarios, which will not be described here one by one.

[0029] In some embodiments, Figure 1 As shown, the process of the communication configuration method applied to the wireless communication module provided in the embodiment of the present application at least includes the following steps:

[0030] Step 101: Create at least two virtual network cards based on a physical network card.

[0031] Step 102: Create at least two bridge network cards.

[0032] Step 103: Correspondingly associate at least two virtual network cards with at least two bridge network cards.

[0033] Step 104 , configuring different network rules for at least two bridge network cards, so that at least two virtual network cards are associated with the virtual network card of the vehicle-mounted system through different network rules, and form different virtual networks.

[0034] The data transmitted by at least two bridge network cards are differentiated by different network rules.

[0035] In this way, by creating a virtual network card and a bridge network card, and performing corresponding configuration, the virtual network card and the bridge network card of the wireless communication module can be associated with the virtual network card of the vehicle system, thereby forming different virtual networks, and then the application of the vehicle system can access different virtual networks based on the associated different virtual network cards, so as to achieve the distinction of the application access network. In addition, in the implementation process, since a physical network card can support the creation of several virtual network cards, it is possible to create several different virtual networks based on a physical network card, and achieve the distinction of access networks without adding more devices. In addition, based on different network rules, the data will be distinguished, and no additional labeling is required, so the processing is simpler and less difficult. It is achieved to provide differentiated access networks for applications of different vehicle systems at a lower cost and simpler processing.

[0036] In order to facilitate those skilled in the art to better understand the above embodiment, the steps are explained below.

[0037] In some embodiments, configuring different network rules for at least two bridge network cards can be achieved through the following steps: configuring different LAN IP address segments for at least two bridge network cards; configuring different data flow rules for at least two bridge network cards; configuring different network forwarding rules for at least two bridge network cards.

[0038] Among them, the embodiments of the present application do not limit the above-mentioned related configurations. It can be understood that the number and type of bridge network cards created according to different needs are different, and the configurations required will also have different adaptability.

[0039] In some embodiments, the number of virtual network cards in at least two virtual network cards is the same as the number of bridge network cards in at least two bridge network cards; accordingly, in some embodiments, associating at least two virtual network cards with at least two bridge network cards can be achieved in the following manner: associating each of the at least two virtual network cards with a different bridge network card in the at least two virtual network cards.

[0040] Of course, the above is only an example. In some embodiments, the number of virtual network cards and bridge network cards may not be consistent, so that when problems occur in some of the subsequent virtual network cards or bridge network cards, idle virtual network cards and / or bridge network cards can be enabled as substitutes, thereby improving the high availability of the communication configuration method provided in the embodiments of the present application.

[0041] In some embodiments, the communication configuration method applied to the wireless communication module also includes: creating a data link according to the configured APN.

[0042] Correspondingly, another aspect of the present application embodiment provides a communication configuration method, which is applied to a vehicle-mounted system. The vehicle-mounted T-BOX to which the wireless communication module described above belongs belongs to a part of the vehicle networking system, and will not be described in detail here. In some embodiments, Figure 2 As shown, the process of the communication configuration method applied to the vehicle-mounted system provided in the embodiment of the present application includes at least the following steps:

[0043] Step 201: Create at least two virtual network cards based on a physical network card.

[0044] Step 202: configure different network rules for at least two virtual network cards.

[0045] Step 203: associate each of the at least two virtual network cards with a different bridge network card of the wireless communication module, so as to form a different virtual network based on each virtual network card in the at least two virtual network cards and the corresponding bridge network card.

[0046] Step 204: allocate at least two virtual network cards to different application programs among the at least two application programs, so that the different application programs among the at least two application programs access the corresponding virtual network through the allocated virtual network cards.

[0047] In this way, the vehicle system builds a virtual network through a virtual network card, so that each application can access different networks through different virtual network cards assigned to form a differentiated access network, without the need for additional hardware, and the implementation is simple and flexible. It is achieved to provide differentiated access networks for applications of different vehicle systems at a lower cost and simpler processing.

[0048] For ease of understanding, some steps in the above embodiments are explained below.

[0049] In some embodiments, configuring different network rules for at least two virtual network cards can be achieved as follows: starting a DHCP client to obtain different IP addresses of at least two virtual network cards through a DHCP (Dynamic Host Configuration Protocol) client; and performing network configuration for at least two virtual network cards according to different IP addresses.

[0050] In some embodiments, configuring different network rules for at least two virtual network cards can be achieved in the following manner: receiving a static IP address; and performing network configuration for the at least two virtual network cards respectively according to the static IP address.

[0051] In other words, it can support IP addresses dynamically obtained through DHCP clients and network configuration based on static IP addresses. When applying, you can make flexible choices based on actual needs and application scenarios.

[0052] To facilitate understanding of the communication configuration method provided in the embodiment of the present application, an example will be given below.

[0053] refer to Figure 3 , a communication system is formed inside the vehicle equipment. The communication system consists of two parts, namely the wireless communication module on the T-Box side and the vehicle-mounted system. The vehicle-mounted system, as the main control device, can form a communication channel with the wireless communication module through the USB ECM and support further communication. Among them, the configuration process between the vehicle-mounted system and the wireless communication module is as follows:

[0054] For the vehicle-mounted system, assume that it is connected to a USB ECM network card as an example. Therefore, it is standard for intelligent systems such as Linux, Android, and QNX. The vehicle-mounted system only needs to open the corresponding driver in its kernel. In this example, usb0 is used as the name of the identified network card for explanation, and the same applies below.

[0055] When starting up, the vehicle system first loads a driver that supports 802.1Q. System applications need to use this driver to perform VLAN (Virtual Local Area Network) operations. 802.1Q is also a standard protocol.

[0056] Then, the vehicle system creates a virtual network card. For example, a VLAN standard tool (such as vconfig) is used to create the virtual network card. The user can divide multiple virtual network cards as needed, such as usb0.100 and usb0.200. This is only an example of a virtual network card. In some embodiments, the virtual network card can also be named in other ways, which will not be described here one by one.

[0057] Next, enable the DHCP client to dynamically obtain an IP address as needed and do basic network configuration. If it is inconvenient to enable the DHCP client, you can also configure the network by setting a static IP address.

[0058] Then, the applications on the vehicle system (such as APP1, APP2, ..., APPx) are assigned different virtual network cards as needed, so that these applications can use different virtual network cards and access different virtual networks.

[0059] As a part of T-Box, the wireless communication module can be operated as T-Box. This component can dynamically configure two or more VLAN network card mappings according to demand. Specifically:

[0060] First, configure the USB ECM network card.

[0061] Then, create a virtual network card by using a standard VLAN tool (such as vconfig, etc.), and create ecm0.100 and ecm0.200 based on the vconfig add ecm0 100 and vconfig add ecm0 200 operations respectively.

[0062] Next, multiple data links are established based on different APNs (Access Point Names). Figure 3 Data links 1, 2, ..., N) are shown.

[0063] Then, create multiple bridge network cards according to the number of virtual network cards. For example, ecm0.100 and ecm0.200 have corresponding bridges bridge100 and bridge200. The function of the bridge is to facilitate the main control device to obtain the LAN IP address and management.

[0064] At the same time, associate the bridge network card and the virtual network card one by one.

[0065] The above creation and association instructions can be set as follows:

[0066] brctl addbr bridge100,

[0067] brctl addbr bridge200,

[0068] brctl addif bridge100 ecm0.100,

[0069] brctl addif bridge200 ecm0.200.

[0070] Next, configure different LAN IP address segments for different bridges and enable the bridges. The sample instructions are as follows:

[0071] ifconfig bridge100 192.168.100.1netmask 255.255.255.0up,

[0072] ifconfig bridge200 192.168.200.1netmask 255.255.255.0up.

[0073] It should be noted that the above instructions are only examples. Different virtual network cards and bridge network card names will have different instruction contents. In particular, different tools or code frameworks will require different instructions, which will not be listed here one by one.

[0074] In addition, data flow rules are configured. After different data flow rules are configured, the data on different bridges are correspondingly distinguished, which is equivalent to marking, so that the system's routing and firewall can correctly handle the data flows on different virtual network cards.

[0075] Configuring data volume rules can be implemented using the iptables command. In some examples, examples of instructions are as follows:

[0076] iptables-t mangle-APREROUTING-i bridge100-j MARK--set-mark 100,

[0077] iptables-t mangle-A PREROUTING-i bridge200-j MARK--set-mark 200.

[0078] At the same time, start the DHCP server and DNS proxy. There are various implementation programs for DHCP server and DNS proxy, which can be selected according to needs.

[0079] Finally, configure the network forwarding rules. The purpose of this step is to bind the data links established by dialing with different APNs to different virtual network cards to ensure that data between different virtual network cards will not be mixed.

[0080] It is not difficult to find from the above example that after the above-mentioned wireless communication module is integrated / connected to the vehicle-mounted system, the wireless communication module and the virtual network card created by the vehicle-mounted system are associated to form different virtual networks, thereby providing different virtual networks for the vehicle-mounted system's applications to access and achieve access, thereby achieving the purpose of distinguishing the access network of the application. At the same time, since a physical network card can support the creation of at least two virtual network cards, there is no need to add additional physical network cards. At the same time, since the processing is based on the virtual network card, it can communicate according to the network configuration of the virtual network card and be distinguished by the network rules configured for different virtual network cards. Ultimately, it is achieved to provide differentiated access networks for applications of different vehicle-mounted systems at a lower cost and with simpler processing. That is, Figure 3The ISP (Internet Service Provider) instance shown (i.e., the network providers that vehicle equipment usually supports, usually 1 or 2 in number) provides virtual network cards with different functions on a single physical network medium (such as Ethernet, USB network card, Wi-Fi) to establish multi-network domain communications for the vehicle system, which can effectively isolate data and achieve the purpose of convenient and efficient networking.

[0081] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0082] On the other hand, the present application also provides a wireless communication module, such as Figure 4 As shown, it includes: a creation module 401, an association module 402, and a configuration module 403.

[0083] Among them, the creation module 401 is used to create at least two virtual network cards; create at least two bridge network cards; the association module 402 is used to associate at least two virtual network cards with at least two bridge network cards; the configuration module 403 is used to configure different network rules for at least two bridge network cards, so as to associate at least two virtual network cards with the virtual network card of the vehicle-mounted system through different network rules to form different virtual networks; wherein the data transmitted by at least two bridge network cards is distinguished by different network rules.

[0084] It is not difficult to find that this embodiment is a module embodiment corresponding to the method embodiment, and this embodiment can be implemented in conjunction with the method embodiment. The relevant technical details mentioned in the method embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the method embodiment.

[0085] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.

[0086] Another aspect of the present application embodiment further provides an electronic device, such as Figure 5As shown, it includes: at least one processor 501; and a memory 502 that is communicatively connected to the at least one processor 501; wherein the memory 502 stores instructions that can be executed by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute the communication configuration method described in any of the above method embodiments.

[0087] The memory 502 and the processor 501 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and the memory 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 501.

[0088] The processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 502 can be used to store data used by the processor 501 when performing operations.

[0089] Another aspect of the present application embodiment further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the communication configuration method described in any of the above method embodiments.

[0090] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0091] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.

Claims

1. A communication configuration method, characterized in that: Applied to a wireless communication module, the method comprises: Create at least two virtual network cards based on one physical network card; Create at least two bridge network cards; Correspondingly associating the at least two virtual network cards with the at least two bridge network cards; Configuring different network rules for the at least two bridge network cards, so that the at least two virtual network cards are associated with the virtual network card of the vehicle-mounted system through the different network rules, and form different virtual networks; The data transmitted by the at least two bridge network cards are differentiated by the different network rules.

2. The communication configuration method according to claim 1, characterized in that: The configuring different network rules for the at least two bridge network cards includes: Configuring different local area network IP address segments for the at least two bridge network cards; Configuring different data flow rules for the at least two bridge network cards; Different network forwarding rules are configured for the at least two bridge network cards.

3. The communication configuration method according to claim 1, characterized in that: The number of virtual network cards in the at least two virtual network cards is the same as the number of bridge network cards in the at least two bridge network cards; The step of correspondingly associating the at least two virtual network cards with the at least two bridge network cards includes: Each of the at least two virtual network cards is associated with a different bridge network card in the at least two virtual network cards.

4. The communication configuration method according to claim 1, characterized in that: The method further comprises: Create a data link based on the configured APN.

5. A communication configuration method, characterized in that: Applied to an in-vehicle system, the in-vehicle system supports at least two applications, and the method includes: Create at least two virtual network cards based on one physical network card; Configuring different network rules for the at least two virtual network cards; Associating each of the at least two virtual network cards with a different bridge network card of the wireless communication module, so as to form different virtual networks based on each virtual network card in the at least two virtual network cards and the corresponding bridge network card; The at least two virtual network cards are allocated to different application programs among the at least two application programs, so that the different application programs among the at least two application programs access the corresponding virtual network through the allocated virtual network cards.

6. The communication configuration method according to claim 5, characterized in that: The configuring different network rules for the at least two virtual network cards includes: Starting a DHCP client to obtain different IP addresses of the at least two virtual network cards through the DHCP client; Network configuration is performed for the at least two virtual network cards according to the different IP addresses.

7. The communication configuration method according to claim 5, characterized in that: The configuring different network rules for the at least two virtual network cards includes: Receive a static IP address; Network configuration is performed for the at least two virtual network cards respectively according to the static IP addresses.

8. A wireless communication module, characterized in that: include: A creation module, used to create at least two virtual network cards; Create at least two bridge network cards; An association module, used to associate the at least two virtual network cards with the at least two bridge network cards; A configuration module, configured to configure different network rules for the at least two bridge network cards, so as to associate the at least two virtual network cards with the virtual network card of the vehicle-mounted system through the different network rules to form different virtual networks; The data transmitted by the at least two bridge network cards are differentiated by the different network rules.

9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the communication configuration method as described in any one of claims 1 to 4, or execute the communication configuration method as described in any one of claims 5 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the communication configuration method according to any one of claims 1 to 4 is implemented, or the communication configuration method according to any one of claims 5 to 7 is implemented.

Citation Information

Cited By

  • Local area network flow routing control method, device and medium

    CN120567771A