Flow orientation method, vehicle-mounted domain controller system and vehicle
By writing network identifiers in the on-board domain controller system and routing them to the corresponding network traffic channel, the docking difficulties caused by inconsistent interfaces between content providers and network operators are solved, and efficient traffic orientation is achieved.
Patent Information
- Application Number
- CN202411452892.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, the platform interface between content providers and network operators is not unified, which makes it difficult to connect the platform and difficult to achieve targeted traffic access.
By obtaining the service traffic data generated by the application in the vehicle domain controller system, determining its corresponding network traffic channel, and writing a network identifier in the data, sending the data to the communication controller through the gateway, realizing the routing of the corresponding network traffic channel.
There is no need for content providers to connect to the interfaces of various mobile network operators, which realizes traffic orientation, avoids docking difficulties caused by inconsistency of the platform, and improves the efficiency of traffic orientation.
Smart Images

Figure CN119561894A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and specifically to a traffic orientation method, a vehicle-mounted domain controller system, and a vehicle. Background Art
[0002] With the rapid development of Internet of Vehicles and intelligent driving technology, applications running on various domain controller systems in vehicles are increasingly dependent on the network, and the consumption of network traffic is also increasing. For example, applications such as voice assistants, map navigation, log collection, data embedding, online music, online video, OTA upgrades, etc. in the vehicle cockpit domain will generate a large amount of traffic consumption. Some of the traffic is necessary for vehicle manufacturers to provide basic capabilities, and some traffic is generated by user entertainment. The traffic generated by third-party applications or ecological applications used by users for entertainment is often huge, especially in areas where overseas traffic consumption is relatively expensive, and there is a need and necessity to differentiate.
[0003] There is currently a concept of "directional traffic", that is, some content providers will cooperate with certain mobile network operators to give preferential billing for the traffic generated by users accessing the content provided by these content providers through specific applications.
[0004] The existing traffic targeting method usually involves content providers reporting domain names to network operators, who then count the traffic of users accessing certain specific addresses based on the domain names and offer traffic discounts to achieve traffic targeting. However, in practice, since network operators in different countries or regions are different, each content provider needs to connect to the interfaces of each mobile network operator. The lack of unified platform interfaces makes it difficult to connect to the platform and access the network with targeted traffic. Summary of the invention
[0005] In view of the above problems, the embodiments of the present application provide a traffic direction method, a vehicle-mounted domain controller system and a vehicle, which are used to solve the technical problems in the prior art that the interfaces between content providers and network operators are not unified, resulting in difficulty in platform docking and difficulty in accessing the network with directed traffic.
[0006] According to one aspect of an embodiment of the present application, a traffic orientation method is provided, which is applicable to a vehicle-mounted domain controller system, wherein the vehicle-mounted domain controller system includes a gateway, multiple domain controllers, and a communication controller, and the traffic orientation method includes:
[0007] The domain controller obtains the service flow data generated by the application when accessing the network;
[0008] The domain controller determines a network traffic channel corresponding to the service traffic data;
[0009] The domain controller writes a network identifier into the service flow data, and sends the service flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the service flow data is routed to a corresponding network flow channel;
[0010] The communication controller routes the service traffic data to a corresponding network traffic channel according to the network identifier.
[0011] According to one aspect of an embodiment of the present application, a vehicle-mounted domain controller system is provided, wherein the vehicle-mounted domain controller system includes a gateway, multiple domain controllers, and a communication controller:
[0012] The domain controller is used to obtain the business flow data generated by the application when accessing the network; determine the network flow channel corresponding to the business flow data; write a network identifier into the business flow data, and send the business flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the business flow data is routed to the corresponding network flow channel;
[0013] The communication controller is used to route the service traffic data to the corresponding network traffic channel according to the network identifier.
[0014] The domain controller determines the network traffic channel corresponding to the business traffic data according to the traffic channel configuration information of the application.
[0015] In an optional manner, determining the network traffic channel corresponding to the service traffic data according to the traffic channel configuration information of the application program includes:
[0016] Determine whether a network identifier is configured in the traffic channel configuration information, and if not, determine the preset traffic channel as the network traffic channel corresponding to the service traffic data;
[0017] If so, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic.
[0018] In an optional manner, the determining the network traffic channel corresponding to the service traffic data further includes:
[0019] The domain controller responds to the cloud server sending a traffic channel configuration instruction, updates the traffic channel configuration information of the application based on the traffic channel configuration instruction, and determines the network traffic channel corresponding to the updated traffic channel configuration information as the network traffic channel corresponding to the business traffic data.
[0020] In an optional manner, writing a network identifier into the service flow data includes:
[0021] The domain controller creates a socket based on the network identifier, and writes the network identifier into the service flow data according to the socket.
[0022] In an optional manner, routing the service traffic data to a corresponding network traffic channel according to the network identifier includes:
[0023] The communication controller determines the virtual local area network corresponding to the network traffic channel, and routes the service traffic data from the virtual local area network to the corresponding network traffic channel according to the network identifier.
[0024] In an optional manner, after determining the network traffic channel corresponding to the service traffic data, the method further includes:
[0025] The domain controller responds to the traffic channel configuration instruction initiated by the user according to the application program, and switches / cancels the network traffic channel currently corresponding to the business traffic data.
[0026] In an optional manner, the vehicle-mounted domain controller system further includes: a query module composed of a plurality of the domain controllers;
[0027] The query module is used to respond to a traffic channel configuration information query request initiated by a user and return the current traffic channel configuration information.
[0028] According to one aspect of an embodiment of the present application, a vehicle is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0029] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations such as the above-mentioned traffic orientation method.
[0030] The embodiment of the present application writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for the content provider to connect to the interfaces of various mobile network operators to achieve traffic orientation, thus avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation.
[0031] Furthermore, the embodiment of the present application creates a socket based on a network identifier through a domain controller, and writes the network identifier into the business traffic data according to the socket, ensuring that when the application accesses the network with the socket, the network identifier can be written into the generated business traffic data, so that the business traffic data can be accurately routed to the corresponding traffic channel according to the network identifier, thereby realizing traffic orientation, and different sockets can be created according to usage needs, so that the application can access different network resources, thereby improving the flexibility of traffic management.
[0032] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0034] Figure 1 A schematic diagram of a flow chart of a flow orientation method provided in an embodiment of the present application is shown;
[0035] Figure 2 Another schematic diagram of the flow direction method provided by the embodiment of the present application is shown;
[0036] Figure 3 A schematic diagram of a flow direction system provided by an embodiment of the present application is shown;
[0037] Figure 4 A schematic diagram of the structure of the vehicle-mounted domain controller system provided by the present application is shown;
[0038] Figure 5 A schematic structural diagram of the vehicle provided in the present application is shown. DETAILED DESCRIPTION
[0039] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein.
[0040] Figure 1 The flowchart of the first embodiment of the traffic orientation method of the present application is shown. The method is executed by a vehicle and is applicable to a vehicle-mounted domain controller system, wherein the vehicle-mounted domain controller system includes a gateway, multiple domain controllers and a communication controller. Figure 1 As shown, the method comprises the following steps:
[0041] Step 110: The domain controller obtains the service flow data generated by the application when accessing the network;
[0042] Step 120: The domain controller determines the network traffic channel corresponding to the service traffic data;
[0043] In the embodiment of the present invention, the network traffic channel is a transmission channel for business traffic data generated when the application accesses the network. The network traffic channel may include a company-specific traffic channel, a company-paid traffic channel, and a user-paid traffic channel.
[0044] Step 130: The domain controller writes a network identifier into the service flow data, and sends the service flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the service flow data is routed to a corresponding network flow channel;
[0045] Step 140: The communication controller routes the service flow data to a corresponding network flow channel according to the network identifier. The communication controller includes a TBOX.
[0046] In an embodiment of the present invention, a network identifier is written into the business traffic data, so that the business traffic data generated by the application when accessing the network is marked with the written network identifier, and the communication controller routes the business traffic data to the corresponding network traffic channel by identifying the network identifier.
[0047] The implementation of the embodiments of the present invention has the following beneficial effects:
[0048] The embodiment of the present application writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for the content provider to connect to the interfaces of various mobile network operators to achieve traffic orientation, thus avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation.
[0049] Figure 2 Another flow chart of the traffic orientation method according to an embodiment of the present application is shown. The method is executed by a vehicle and is applicable to a vehicle-mounted domain controller system, wherein the vehicle-mounted domain controller system includes a gateway, multiple domain controllers and a communication controller. Figure 2 As shown, the method comprises the following steps:
[0050] Step 210: The domain controller obtains the service flow data generated by the application when accessing the network;
[0051] Step 220: The domain controller determines the network traffic channel corresponding to the service traffic data;
[0052] In the embodiment of the present invention, the network traffic channel is a transmission channel for business traffic data generated when the application accesses the network. The network traffic channel may include a company-specific traffic channel, a company-paid traffic channel, and a user-paid traffic channel.
[0053] The embodiments of the present invention can design the correspondence between different network identifiers and different traffic channels. For example, the network identifier corresponding to the company's dedicated traffic channel can be set to 10001; the network identifier corresponding to the company's paid traffic channel can be set to 10002; and the network identifier corresponding to the user's paid traffic channel can be set to 10003.
[0054] Step 230: The domain controller writes a network identifier into the service flow data, and sends the service flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the service flow data is routed to a corresponding network flow channel;
[0055] Step 240: The communication controller routes the service flow data to a corresponding network flow channel according to the network identifier. The communication controller includes a TBOX.
[0056] In an embodiment of the present invention, a network identifier is written into the business traffic data, so that the business traffic data generated by the application when accessing the network is marked with the written network identifier, and the communication controller routes the business traffic data to the corresponding network traffic channel by identifying the network identifier.
[0057] Step 250: The domain controller responds to the traffic channel configuration instruction initiated by the user according to the application program, and switches / cancels the network traffic channel currently corresponding to the business traffic data.
[0058] The embodiment of the present invention writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for the content provider to connect to the interfaces of various mobile network operators to achieve traffic orientation, thus avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation. The domain controller of the embodiment of the present invention responds to the traffic channel configuration instruction initiated by the user according to the application, and can dynamically switch / cancel the currently configured network traffic channel, which can effectively improve the convenience of traffic orientation and is conducive to improving the efficiency of traffic orientation.
[0059] In an alternative approach, Figure 3 A schematic diagram of a flow directional system is shown, wherein Figure 3The traffic directing system shown includes multiple domain controllers, TBOX and gateway GW. The domain controllers include smart cockpit domain controllers and smart driving domain controllers. The operating systems of the smart cockpit domain controllers are QNX and Android, and the operating system of the smart driving domain controllers is Linux. The smart cockpit domain controllers, smart driving domain controllers and TBOX communicate through the gateway.
[0060] In an embodiment of the present invention, when the user configures a specific network identifier according to an application, such as -1, a traffic channel cancellation instruction is generated, and the network traffic channel currently corresponding to the business traffic data is canceled according to the traffic channel cancellation instruction, so that the business traffic data is routed to the default network traffic channel; when the user configures other network identifiers according to the application switch, for example, switching the current network identifier 10003 to the network identifier 10002, the current user-paid traffic channel is switched to the company-paid traffic channel, so that the subsequently generated business traffic data is routed to the company-paid traffic channel.
[0061] In an optional manner, determining the network traffic channel corresponding to the service traffic data includes:
[0062] The domain controller determines the network traffic channel corresponding to the business traffic data according to the traffic channel configuration information of the application.
[0063] In an embodiment of the present invention, a traffic selection channel interface for an application may be provided, and a network identifier of the application may be configured according to the traffic selection channel interface to generate corresponding traffic channel configuration information.
[0064] In an embodiment of the present invention, based on the application traffic channel configuration information, the network traffic channel corresponding to the business traffic data can be accurately determined, so that the business traffic data generated during the network access process can be accurately routed to the corresponding network traffic channel, thereby realizing traffic directionality, and thus effectively improving the efficiency of traffic directionality.
[0065] In an optional manner, determining the network traffic channel corresponding to the service traffic data according to the traffic channel configuration information of the application program includes:
[0066] Determine whether a network identifier is configured in the traffic channel configuration information, and if not, determine the preset traffic channel as the network traffic channel corresponding to the service traffic data;
[0067] In an embodiment of the present invention, when a network identifier is not set in an application, the service data traffic generated by the application when accessing the network is routed to a default network traffic channel.
[0068] If so, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic.
[0069] In an embodiment of the present invention, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic, so that the business traffic data generated by the application when accessing the network is routed to the corresponding network traffic channel. There is no need for content providers to connect to the interfaces of various mobile network operators to achieve traffic orientation, thus avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation.
[0070] In an optional manner, writing a network identifier into the service flow data includes:
[0071] The domain controller creates a socket based on the network identifier, and writes the network identifier into the service flow data according to the socket.
[0072] In an embodiment of the present application, an application accesses the network through a socket, and a domain controller creates a socket based on a network identifier, and writes the network identifier into the business traffic data according to the socket, to ensure that when the application accesses the network with the socket, the network identifier can be written into the generated business traffic data. The network identifier will be recognized by the communication controller, thereby routing the business traffic data written into the network identifier to the corresponding virtual LAN network through the communication controller, so as to be further routed to the traffic channel corresponding to the virtual LAN network.
[0073] The configuration of the skill-based underlying socket interface layer socket in the embodiment of the present application is not limited by the programming language or programming tool used by the application.
[0074] In an optional manner, routing the service traffic data to a corresponding network traffic channel according to the network identifier includes:
[0075] The communication controller determines the virtual local area network corresponding to the network traffic channel, and routes the service traffic data from the virtual local area network to the corresponding network traffic channel according to the network identifier.
[0076] In the embodiment of the present invention, different traffic channels correspond to different network access points, and different network access points correspond to different virtual local area network networks. That is, the correspondence between different virtual local area network networks and different business traffic data can be set to isolate different types of business traffic data to different virtual local area network networks, which can not only distinguish different business traffic data, but also effectively reduce potential security risks.
[0077] In the embodiment of the present application, different network access point APNs can be created according to different traffic channels. For example, the network access points include the first network access point APN1, the second network access point APN2, and the third network access point APN3. The first network access point APN1 corresponds to the company's private network traffic channel, the second network access point APN2 corresponds to the company's paid traffic channel, and the third network access point APN3 corresponds to the user's paid traffic channel.
[0078] In the embodiment of the present application, different virtual local area network VLANs can be created according to the network access points. For example, the virtual local area network VLANs include a first virtual local area network VLAN1, a second virtual local area network VLAN2, and a third virtual local area network VLAN3, wherein the first virtual local area network VLAN1 corresponds to the first network access point APN1, the second virtual local area network VLAN2 corresponds to the second network access point APN2, and the third virtual local area network VLAN3 corresponds to the third network access point APN3.
[0079] The embodiment of the present application creates different network traffic channels corresponding to different network access points, and creates different virtual LAN networks corresponding to different network access points, so that the business traffic data written with the network identifier is routed to the corresponding virtual LAN network, then routed to the corresponding network access point, and then routed to the corresponding network traffic channel. For example, the business traffic data marked with the network label 10001 is routed to the first virtual LAN network, then routed to the first network access point through the first virtual LAN network, and then routed to the company's dedicated traffic channel through the first network access point. This can ensure that different business traffic data are isolated from each other, reduce interference and potential risks, and facilitate the formulation of subsequent traffic orientation strategies, thereby improving the efficiency of traffic orientation.
[0080] In an optional manner, the determining the network traffic channel corresponding to the service traffic data further includes:
[0081] The domain controller responds to the cloud server sending a traffic channel configuration instruction, updates the traffic channel configuration information of the application based on the traffic channel configuration instruction, and determines the network traffic channel corresponding to the updated traffic channel configuration information as the network traffic channel corresponding to the business traffic data.
[0082] In an embodiment of the present application, the network identifier of each application can be dynamically configured with the server to configure the network traffic channel used by the application. The cloud server pushes the traffic channel configuration information of the application to the vehicle-mounted domain controller system through the gateway. At least one domain controller in one of the vehicles can be used as a message center to establish a long connection with the cloud to receive message pushes from the cloud server. Each of the other domain controllers has a message service that communicates with the message center. When the message center receives a message push from the cloud, the traffic channel configuration information of the other domain controller applications is pushed to the corresponding domain controller through the message center. The message service of each domain controller receives the push message, and updates the traffic channel configuration information according to the push information, thereby updating the configured network traffic channel, so that the application can switch to the corresponding virtual LAN network according to the updated network traffic channel, and then can direct subsequent traffic to the corresponding network traffic channel.
[0083] In an optional manner, the vehicle-mounted domain controller system further includes: a query module composed of a plurality of the domain controllers; the query module is used to respond to a traffic channel configuration information query request initiated by a user and return the current traffic channel configuration information.
[0084] In an embodiment of the present invention, the query module and the cloud server are provided with a request interface, and the query module and the cloud server can receive and respond to the traffic channel configuration information query request initiated by the user according to the request interface, and return the current traffic channel configuration information, so that the user can query whether the current network traffic channel configuration information has been updated, and can adjust the current traffic channel configuration according to the update situation, thereby effectively improving the traffic direction efficiency.
[0085] The implementation of the embodiments of the present invention has the following beneficial effects:
[0086] The embodiment of the present application writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for content providers to connect to the interfaces of various mobile network operators to achieve traffic orientation, thereby avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation. In addition, the domain controller of the embodiment of the present application responds to the traffic channel configuration instruction initiated by the user according to the application, and can dynamically switch / cancel the currently configured network traffic channel, which can effectively improve the convenience of traffic orientation and is conducive to improving the efficiency of traffic orientation.
[0087] Furthermore, the embodiment of the present application creates a socket based on a network identifier through a domain controller, and writes the network identifier into the business traffic data according to the socket, ensuring that when the application accesses the network with the socket, the network identifier can be written into the generated business traffic data, so that the business traffic data can be accurately routed to the corresponding traffic channel according to the network identifier, thereby realizing traffic orientation, and different sockets can be created according to usage needs, so that the application can access different network resources, thereby improving the flexibility of traffic management.
[0088] Figure 4 The schematic diagram of the structure of the vehicle-mounted domain controller system of the present application is shown. Figure 4 As shown, the system includes a gateway, multiple domain controllers and a communication controller;
[0089] The domain controller is used to obtain the business flow data generated by the application when accessing the network; determine the network flow channel corresponding to the business flow data; write a network identifier into the business flow data, and send the business flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the business flow data is routed to the corresponding network flow channel;
[0090] The communication controller is used to route the service traffic data to the corresponding network traffic channel according to the network identifier.
[0091] In an optional manner, determining the network traffic channel corresponding to the service traffic data according to the traffic channel configuration information of the application program includes:
[0092] Determine whether a network identifier is configured in the traffic channel configuration information, and if not, determine the preset traffic channel as the network traffic channel corresponding to the service traffic data;
[0093] If so, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic.
[0094] In an optional manner, the determining the network traffic channel corresponding to the service traffic data further includes:
[0095] The domain controller responds to the traffic channel configuration instruction sent by the cloud server, updates the traffic channel configuration information of the application based on the traffic channel configuration instruction, and determines the network traffic channel corresponding to the updated traffic channel configuration information as the network traffic channel corresponding to the business traffic data.
[0096] In an optional manner, writing a network identifier into the service flow data includes:
[0097] The domain controller creates a socket based on the network identifier, and writes the network identifier into the service flow data according to the socket.
[0098] In an optional manner, routing the service traffic data to a corresponding network traffic channel according to the network identifier includes:
[0099] The communication controller determines the virtual local area network corresponding to the network traffic channel, and routes the service traffic data from the virtual local area network to the corresponding network traffic channel according to the network identifier.
[0100] In an optional manner, after determining the network traffic channel corresponding to the service traffic data, the method further includes:
[0101] The domain controller responds to the traffic channel configuration instruction initiated by the user according to the application program, and switches / cancels the network traffic channel currently corresponding to the business traffic data.
[0102] In an optional manner, the vehicle-mounted domain controller system further includes: a query module composed of a plurality of the domain controllers;
[0103] The query module is used to respond to a traffic channel configuration information query request initiated by a user and return the current traffic channel configuration information.
[0104] The embodiment of the present application writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for content providers to connect to the interfaces of various mobile network operators to achieve traffic orientation, thereby avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation. In addition, the domain controller of the embodiment of the present application responds to the traffic channel configuration instruction initiated by the user according to the application, and can dynamically switch / cancel the currently configured network traffic channel, which can effectively improve the convenience of traffic orientation and is conducive to improving the efficiency of traffic orientation.
[0105] Furthermore, the embodiment of the present application creates a socket based on a network identifier through a domain controller, and writes the network identifier into the business traffic data according to the socket, ensuring that when the application accesses the network with the socket, the network identifier can be written into the generated business traffic data, so that the business traffic data can be accurately routed to the corresponding traffic channel according to the network identifier, thereby realizing traffic orientation, and different sockets can be created according to usage needs, so that the application can access different network resources, thereby improving the flexibility of traffic management.
[0106] Figure 5A schematic structural diagram of an embodiment of the vehicle of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the vehicle.
[0107] like Figure 5 As shown, the vehicle may include: a processor 502 , a communications interface 504 , a memory 506 , and a communications bus 508 .
[0108] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above-mentioned embodiment of the method for flow orientation.
[0109] Specifically, the program 510 may include program code including computer-executable instructions.
[0110] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the vehicle may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0111] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0112] The program 510 may be specifically called by the processor 502 to enable the vehicle to perform the following operations:
[0113] Obtain business traffic data generated by applications when accessing the network;
[0114] Determine the network traffic channel corresponding to the business traffic data;
[0115] Writing a network identifier into the service flow data, and sending the service flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the service flow data is routed to a corresponding network flow channel;
[0116] The service traffic data is routed to a corresponding network traffic channel according to the network identifier.
[0117] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0118] The network traffic channel corresponding to the business traffic data is determined according to the traffic channel configuration information of the application.
[0119] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0120] Determine whether a network identifier is configured in the traffic channel configuration information, and if not, determine the preset traffic channel as the network traffic channel corresponding to the service traffic data;
[0121] If so, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic.
[0122] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0123] The domain controller responds to the traffic channel configuration instruction sent by the cloud server, updates the traffic channel configuration information of the application based on the traffic channel configuration instruction, and determines the network traffic channel corresponding to the updated traffic channel configuration information as the network traffic channel corresponding to the business traffic data.
[0124] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0125] The domain controller creates a socket based on the network identifier, and writes the network identifier into the service flow data according to the socket.
[0126] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0127] The communication controller determines the virtual local area network corresponding to the network traffic channel, and routes the service traffic data from the virtual local area network to the corresponding network traffic channel according to the network identifier.
[0128] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations:
[0129] The domain controller responds to the traffic channel configuration instruction initiated by the user according to the application program, and switches / cancels the network traffic channel currently corresponding to the business traffic data.
[0130] In an optional manner, the program 510 is called by the processor 502 to enable the vehicle to perform the following operations;
[0131] Respond to traffic channel configuration information query requests initiated by users and return the current traffic channel configuration information.
[0132] The embodiment of the present application writes a network identifier into the business traffic data, and routes the business traffic data to the corresponding network traffic channel through the written network identifier. There is no need for content providers to connect to the interfaces of various mobile network operators to achieve traffic orientation, thereby avoiding the difficulty of connection due to inconsistent platforms, and effectively improving the efficiency of traffic orientation. In addition, the domain controller of the embodiment of the present application responds to the traffic channel configuration instruction initiated by the user according to the application, and can dynamically switch / cancel the currently configured network traffic channel, which can effectively improve the convenience of traffic orientation and is conducive to improving the efficiency of traffic orientation.
[0133] Furthermore, the embodiment of the present application creates a socket based on a network identifier through a domain controller, and writes the network identifier into the business traffic data according to the socket, ensuring that when the application accesses the network with the socket, the network identifier can be written into the generated business traffic data, so that the business traffic data can be accurately routed to the corresponding traffic channel according to the network identifier, thereby realizing traffic orientation, and different sockets can be created according to usage needs, so that the application can access different network resources, thereby improving the flexibility of traffic management.
[0134] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present application are not directed to any particular programming language.
[0135] In the specification provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. Similarly, in order to simplify the application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are thus clearly incorporated into the specific embodiment, wherein each claim itself is used as a separate embodiment of the application.
[0136] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.
[0137] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A flow orientation method, characterized in that: Applicable to a vehicle-mounted domain controller system, the vehicle-mounted domain controller system includes a gateway, multiple domain controllers and a communication controller, and the traffic orientation method includes: The domain controller obtains the service flow data generated by the application when accessing the network; The domain controller determines a network traffic channel corresponding to the service traffic data; The domain controller writes a network identifier into the service flow data, and sends the service flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the service flow data is routed to a corresponding network flow channel; The communication controller routes the service traffic data to a corresponding network traffic channel according to the network identifier.
2. The flow orientation method according to claim 1, characterized in that: The determining of the network traffic channel corresponding to the service traffic data includes: The domain controller determines the network traffic channel corresponding to the business traffic data according to the traffic channel configuration information of the application.
3. The flow orientation method according to claim 2, characterized in that: Determining the network traffic channel corresponding to the service traffic data according to the traffic channel configuration information of the application program includes: Determine whether a network identifier is configured in the traffic channel configuration information, and if not, determine the preset traffic channel as the network traffic channel corresponding to the service traffic data; If so, the network traffic channel corresponding to the configured network identifier is determined as the network traffic channel corresponding to the business traffic.
4. The flow orientation method according to claim 2, characterized in that: The determining of the network traffic channel corresponding to the service traffic data further includes: The domain controller responds to the cloud server sending a traffic channel configuration instruction, updates the traffic channel configuration information of the application based on the traffic channel configuration instruction, and determines the network traffic channel corresponding to the updated traffic channel configuration information as the network traffic channel corresponding to the business traffic data.
5. The flow orientation method according to claim 1, characterized in that: The step of writing a network identifier into the service flow data comprises: The domain controller creates a socket based on the network identifier, and writes the network identifier into the service flow data according to the socket.
6. The flow orientation method according to claim 1, characterized in that: The step of routing the service traffic data to a corresponding network traffic channel according to the network identifier includes: The communication controller determines the virtual local area network corresponding to the network traffic channel, and routes the service traffic data from the virtual local area network to the corresponding network traffic channel according to the network identifier.
7. The flow orientation method according to claim 1, characterized in that: After determining the network traffic channel corresponding to the service traffic data, the method further includes: The domain controller responds to the traffic channel configuration instruction initiated by the user according to the application program, and switches / cancels the network traffic channel currently corresponding to the business traffic data.
8. The flow orientation method according to any one of claims 2 to 6, characterized in that: The vehicle-mounted domain controller system further comprises: a query module composed of a plurality of the domain controllers; The query module is used to respond to a traffic channel configuration information query request initiated by a user and return the current traffic channel configuration information.
9. A vehicle-mounted domain controller system, characterized in that: The vehicle-mounted domain controller system includes a gateway, multiple domain controllers and a communication controller: The domain controller is used to obtain the business flow data generated by the application when accessing the network; determine the network flow channel corresponding to the business flow data; write a network identifier into the business flow data, and send the business flow data to the communication controller through the gateway; wherein the network identifier is used to indicate that the business flow data is routed to the corresponding network flow channel; The communication controller is used to route the service traffic data to the corresponding network traffic channel according to the network identifier.
10. A vehicle, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the traffic orientation method as described in any one of claims 1-8.