Vehicle data interaction method, device and equipment and storage medium
By setting up multiple network connections and preset routing rules in the vehicle, the human-to-human Internet transmission of vehicle component operating data is realized, solving the problem of abnormal vehicle control when the Internet of Vehicles is unavailable, and ensuring the normal operation of the vehicle.
Patent Information
- Application Number
- CN202410855337.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
AI Technical Summary
When vehicles use the Internet of People, they rely too much on the Internet of Vehicles to transmit the operating data of vehicle components. As a result, when the Internet of Vehicles is unavailable, the vehicle control becomes abnormal and cannot be controlled normally.
By setting up multiple network connections in the vehicle, including the Internet of People and the Internet of Vehicles, a data routing network is set up for the data to be interacted according to the preset routing rules, the data classification category is obtained and the target server is determined, and the data to be interacted is sent or downloaded through the data routing network. , ensuring that the operating data of vehicle-mounted components can be transmitted through the Internet of Things.
Even if the Internet of Vehicles is unavailable, the vehicle's on-board component operating data can still be transmitted through the Internet of People to ensure normal control of the vehicle and avoid over-reliance on the Internet of Vehicles.
Smart Images

Figure CN118612690A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle data interaction method, device, equipment and storage medium. Background Art
[0002] At present, with the gradual popularization of intelligence, vehicles can generally use a variety of different networks when surfing the Internet, such as the human network (such as mobile 4G or 5G network) and the vehicle network at the same time. However, when vehicles use the network, they will use the vehicle network to transmit the operating data of the vehicle's on-board components (such as vehicle operation logs, diagnostic results data, etc.) and entertainment attribute data (such as music, video and other entertainment applications uploaded or downloaded data). However, only using the human network to transmit various entertainment attribute data is too dependent on the vehicle network. Once the vehicle network cannot be used (such as traffic exhaustion, poor signal, etc.), the operating data of the vehicle's on-board components cannot be transmitted normally, resulting in abnormal control of the vehicle and inability to control normally. Summary of the invention
[0003] The main purpose of the present invention is to provide a vehicle data interaction method, device, equipment and storage medium, aiming to solve the technical problem that vehicles in the prior art are too dependent on the Internet of Vehicles, and if the Internet of Vehicles cannot be used, it is difficult to transmit the operating data of vehicle-mounted components.
[0004] To achieve the above object, the present invention provides a vehicle data interaction method, the method is applied to a vehicle, the vehicle is connected to multiple networks at the same time, the networks at least include a human network and a vehicle network, the vehicle network is the vehicle's own network, and the human network is an external network connected to the vehicle;
[0005] The vehicle data interaction method comprises the following steps:
[0006] Setting a corresponding data routing network for the data to be interacted with according to a preset routing rule, wherein the data to be interacted with includes data to be uploaded or downloaded by vehicle-mounted components and data to be uploaded or downloaded by vehicle-mounted system applications;
[0007] Obtaining a data classification category corresponding to the to-be-interacted data;
[0008] Determine the target server based on the data classification category;
[0009] The data to be interacted with is sent to the target server through the data routing network, or the data to be interacted with is downloaded from the target server.
[0010] Optionally, the step of setting a corresponding data routing network for the data to be interacted with according to a preset routing rule includes:
[0011] Determine the available working condition set corresponding to each network according to the preset routing rules;
[0012] The data working conditions of the data to be interacted are matched with the available working condition sets corresponding to each network, and the data routing network corresponding to the data to be interacted is determined.
[0013] Optionally, the preset routing rule is set based on the amount of interactive data;
[0014] The step of determining the available working condition set corresponding to each network according to the preset routing rule includes:
[0015] Determine the data volume judgment threshold corresponding to each network according to the preset routing rules, and obtain the data size corresponding to each data condition;
[0016] The data size corresponding to each data condition is compared with the data volume determination threshold corresponding to each network to obtain the available condition set corresponding to each network.
[0017] Optionally, the preset routing rule is set based on the data confidentiality level;
[0018] The step of determining the available working condition set corresponding to each network according to the preset routing rule includes:
[0019] Determine the transmission classification level corresponding to each network according to the preset routing rules;
[0020] The confidentiality level corresponding to each data condition is compared with the transmission classification level corresponding to each network to obtain the available condition set corresponding to each network.
[0021] Optionally, the preset routing rule is set based on the traffic margin;
[0022] The step of determining the available working condition set corresponding to each network according to the preset routing rule includes:
[0023] Obtain the network traffic margin of each network in the vehicle;
[0024] Compare the network traffic margin with the traffic threshold corresponding to each network in the preset routing rule to obtain the traffic classification interval corresponding to each network;
[0025] According to the traffic classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
[0026] Optionally, the preset routing rule is set based on network signal strength;
[0027] The step of determining the available working condition set corresponding to each network according to the preset routing rule includes:
[0028] Get the current signal strength of each network in the vehicle;
[0029] Compare the current signal strength with the signal strength threshold corresponding to each network in the preset routing rule to obtain the signal classification interval corresponding to each network;
[0030] According to the signal classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
[0031] Optionally, the vehicle is provided with a vehicle computer system and a remote information control unit, the vehicle computer system is connected to the human network, the remote information control unit is connected to the vehicle network, the data routing network is the human network, and the target server is a private network server;
[0032] The step of sending the data to be interacted with to the target server through the data routing network, or downloading the data to be interacted with from the target server, comprises:
[0033] Obtaining the forwarding server corresponding to the private network server;
[0034] The data to be interacted with is sent to the target server or downloaded from the target server through the vehicle system using the data routing network and the forwarding server.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a vehicle data interaction device, which is applied to a vehicle, wherein the vehicle is connected to multiple networks at the same time, wherein the networks include at least a human network and a vehicle network, wherein the vehicle network is the vehicle's own network, and the human network is an external network connected to the vehicle;
[0036] The vehicle data interaction device comprises:
[0037] A routing module, used to set a corresponding data routing network for the data to be interacted with according to a preset routing rule, wherein the data to be interacted with includes data to be uploaded or downloaded by vehicle-mounted components and data to be uploaded or downloaded by vehicle-mounted system applications;
[0038] An acquisition module, used to acquire the data classification category corresponding to the to-be-interacted data;
[0039] A determination module, used to determine a target server according to a data classification category;
[0040] The interaction module is used to send the data to be interacted to the target server through the data routing network, or download the data to be interacted from the target server.
[0041] In addition, to achieve the above-mentioned purpose, the present invention also proposes a vehicle data interaction device, which includes: a processor, a memory, and a vehicle data interaction program stored in the memory and executable on the processor, and the vehicle data interaction program, when executed by the processor, implements the steps of the vehicle data interaction method described above.
[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which a vehicle data interaction program is stored, and when the vehicle data interaction program is executed, the steps of the vehicle data interaction method as described above are implemented.
[0043] The present invention sets a corresponding data routing network for the data to be interacted according to preset routing rules; obtains the data classification category corresponding to the data to be interacted; determines the target server according to the data classification category; sends the data to be interacted to the target server through the data routing network, or downloads the data to be interacted from the target server. Since the corresponding data routing network can be set for the data to be interacted according to the preset routing rules, data interaction with the target server is then performed through the data routing network, ensuring that even the operating data of vehicle-mounted components can be transmitted through the human network, without being closely dependent on the vehicle network. Even if the vehicle network cannot be used, the operating data of the vehicle-mounted components can be transmitted through the human network, ensuring that the vehicle can be controlled normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of a flow chart of a first embodiment of a vehicle data interaction method of the present invention;
[0046] Figure 3 A schematic diagram of an existing Internet access channel for a vehicle according to an embodiment of the present invention;
[0047] Figure 4 This is a schematic diagram of an improved vehicle Internet access channel according to an embodiment of the present invention;
[0048] Figure 5 A schematic diagram of a flow chart of a second embodiment of a vehicle data interaction method of the present invention;
[0049] Figure 6 This is a structural block diagram of the first embodiment of the vehicle data interaction device of the present invention.
[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0051] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0052] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a vehicle data interaction device in a hardware operating environment according to an embodiment of the present invention.
[0053] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0054] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0055] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a vehicle data interaction program.
[0056] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in a vehicle data interaction device, and the electronic device calls the vehicle data interaction program stored in the memory 1005 through the processor 1001, and executes the vehicle data interaction method provided in an embodiment of the present invention.
[0057] The embodiment of the present invention provides a vehicle data interaction method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a vehicle data interaction method according to the present invention.
[0058] In this embodiment, the vehicle data interaction method is applied to a vehicle, and the vehicle is connected to multiple networks at the same time, and the networks include at least a human network and a vehicle network;
[0059] Among them, the vehicle network is the vehicle's own network, such as a network connected through an Internet of Things network card installed in the vehicle; the human network is an external network connected to the vehicle, for example: an external network connected to the vehicle through a hotspot or WiFi, such as: a hotspot network provided by a human network card held by the user (such as a mobile phone card), a WiFi network provided by an external mobile device, a WiFi network in a fixed place, etc.
[0060] The vehicle data interaction method comprises the following steps:
[0061] Step S10: Setting a corresponding data routing network for the data to be interacted with according to preset routing rules.
[0062] It should be noted that the executor of this embodiment can be the vehicle itself or the vehicle data interaction device. The vehicle data interaction device can be an intelligent device arranged in the vehicle, or a controller such as an ECU controller, or other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment and the following embodiments, the vehicle data interaction method of the present invention is explained by taking the vehicle data interaction device as an example.
[0063] It should be noted that the data to be interacted may include data to be uploaded or downloaded by vehicle-mounted components, and data to be uploaded or downloaded by vehicle system applications. The preset routing rules may be pre-set by the administrator of the vehicle data interaction device. The data routing network may be used as a network for transmitting the data to be interacted.
[0064] In actual use, setting a corresponding data routing network for the data to be interacted with according to the preset routing rule may be selecting one from a plurality of networks connected to the vehicle as the data routing network corresponding to the data to be interacted with according to the preset routing rule.
[0065] Among them, the vehicle can be connected to at least one human network and at least one vehicle network. For example, a vehicle can be equipped with multiple vehicle network cards, each of which provides a network connection for a vehicle network; the vehicle can be connected to multiple different mobile network hotspots or wifi networks, thereby connecting to multiple different human networks. Since the MAC of each network card is fixed and unique, after setting up the data routing network corresponding to the data to be interacted, the data routing network can be characterized by the MAC address of the network card.
[0066] Step S20: Obtain the data classification category corresponding to the data to be interacted with.
[0067] It should be noted that, based on the difference in data types, data classification categories can include two major categories: operating data of vehicle-mounted components and entertainment attribute data. Among them, the operating data of vehicle-mounted components may include data related to vehicle control during the operation of the vehicle, such as logs generated by vehicle operation, required maps, application scenarios, diagnostic results generated by vehicle self-inspection or remote diagnosis, and other data. Entertainment attribute data may be data that is not overly related to vehicle control, for example: data generated by entertainment applications installed in the vehicle (such as audio players, video players, etc.).
[0068] In actual use, the data classification category of the data to be interacted can be determined by the application or component that generates the data to be interacted, or the data classification category of the data to be interacted can be determined according to the function of the data to be interacted.
[0069] Step S30: Determine the target server according to the data classification category.
[0070] It should be noted that the target server may be a server to which the data to be interacted needs to be uploaded, or a server from which the data to be interacted can be obtained (eg, downloaded).
[0071] In actual use, the data to be interacted can be divided into two categories: public servers and private servers. Among them, private servers can be servers used to collect and send data related to vehicle control, such as: servers built by vehicle manufacturers to manage vehicles. Public servers are not servers built by vehicle manufacturers, and can be used to collect and send data unrelated to vehicle control, such as: servers built by application manufacturers of music applications for interacting with the music application, or servers built by application manufacturers of video references for interacting with video applications.
[0072] Step S40: sending the data to be interacted with to the target server through the data routing network, or downloading the data to be interacted with from the target server.
[0073] In actual use, after selecting the data routing network, the vehicle can use the data routing network as a data transmission channel to send the data to be interacted to the target server, or download the data to be interacted from the target server.
[0074] In a specific implementation, some private network servers can be directly connected through the vehicle network in the vehicle, but cannot be directly connected through the human network. In order to ensure that data can still be normally interacted in this case, step S40 in this embodiment may include:
[0075] Obtaining the forwarding server corresponding to the private network server;
[0076] The data to be interacted is sent to the target server or downloaded from the target server through the vehicle system using the data routing network and the forwarding server.
[0077] It should be noted that the vehicle is provided with a vehicle-machine system and a remote information control unit, which is connected to the human network through the vehicle-machine system (such as connecting to a hotspot network or WiFi through the vehicle-machine system and thus connecting to the human network), and is connected to the vehicle network through the remote information control unit (such as connecting to the vehicle network through the remote information control unit using an Internet of Things card provided in the vehicle).
[0078] It should be noted that some private network servers may have strict firewall permission restrictions and may not be able to be directly connected through the human network, that is, the private network server cannot be directly accessed through the human network. At this time, in order to correctly interact with the private network server, you can first obtain the forwarding server corresponding to the private network server, and then use the vehicle system to use the data routing network and forwarding server to send the data to be interacted to the target server, or download the data to be interacted from the target server.
[0079] Among them, the forwarding server can be a server set up in a public network environment, which can be directly accessed through the human network and has the ability to access private network servers. The forwarding server can be built by the provider of the private network server or by the manager of the vehicle data interaction equipment.
[0080] For ease of understanding, now combined Figure 3 and Figure 4 This is for illustration only, but not for limitation. Figure 3 This is a schematic diagram of the existing Internet access channel of the vehicle in this embodiment. Figure 4 This is a schematic diagram of the improved vehicle Internet access channel in this embodiment.
[0081] like Figure 3 As shown, a telematics control unit (TCU) and an intelligent interconnection system (i.e., a vehicle system, DA) may be provided in the vehicle. The vehicle is connected to the human network (4G / 5G channel) through the DA and to the vehicle network (4G / 5G channel) through the TCU. The data to be interacted may be data to be uploaded or downloaded by vehicle-mounted components (such as ADCU / CCM / IBCM / ZCU / VCM, etc.) in the vehicle, or data to be uploaded or downloaded by a vehicle system application (the vehicle system application may be provided in the DA);
[0082] Taking data upload as an example, the operation data of vehicle components (i.e. Figure 3The vehicle operation data in the DA can be transmitted to the TCU through the central gateway in the vehicle, and the data to be interacted can be sent to the smart IoT card platform (MNO) through the Internet of Vehicles connected to the TCU, and then forwarded to the private network server or the public network server by the MNO; while the data to be interacted of the vehicle system application in the DA can be sent to the MNO through the Internet of People connected to the DA, and then forwarded to the public network server by the MNO, or the data to be interacted can be transmitted to the TCU, and the data to be interacted can be sent to the MNO through the Internet of Vehicles, and then forwarded to the public network server by the MNO;
[0083] In this process, the human network in the vehicle is actually only used to send entertainment attribute data to the MNO, and then the MNO sends it to the public network server, while the vehicle network in the vehicle can send the operation data of the vehicle components and entertainment attribute data to the MNO, and then the MNO forwards it to the private network server or the public network server;
[0084] This embodiment improves the network channel in the vehicle, such as Figure 4 As shown, TCU can also send the data to be interacted to DA, and then send the data to be interacted to MNO via the human network connected to DA, and then forward it to the private network server or the public network server by MNO. However, since the MNO connected through the human network may not have firewall permissions and cannot directly send the data to be interacted to the private network server, it can be forwarded through the OEM public network server (that is, the forwarding server corresponding to the private network server) at this time.
[0085] This embodiment sets a corresponding data routing network for the data to be interacted with according to the preset routing rules; obtains the data classification category corresponding to the data to be interacted with; determines the target server according to the data classification category; sends the data to be interacted with to the target server through the data routing network, or downloads the data to be interacted with from the target server. Since the corresponding data routing network can be set for the data to be interacted with according to the preset routing rules, data interaction with the target server is then performed through the data routing network, ensuring that even the operating data of the vehicle-mounted components can be transmitted through the human network, without being closely dependent on the vehicle network. Even if the vehicle network cannot be used, the operating data of the vehicle-mounted components can be transmitted through the human network, ensuring that the vehicle can be controlled normally.
[0086] refer to Figure 5 , Figure 5 The figure is a flow chart of a second embodiment of a vehicle data interaction method according to the present invention.
[0087] Based on the first embodiment, step S10 of the vehicle data interaction method of this embodiment includes:
[0088] Step S101: Determine the available working condition set corresponding to each network according to the preset routing rule.
[0089] Step S102: Match the data working condition of the data to be interacted with the available working condition set corresponding to each network, and determine the data routing network corresponding to the data to be interacted.
[0090] It should be noted that the available working condition set corresponding to the network may store all data working conditions that can use the network for data interaction.
[0091] In actual use, various data conditions can be divided according to the type of data and the function of the data, such as: CCM log upload, AD domain control map data update, SOA scenario download, vehicle component operation data upload, remote diagnosis result return, other ECU network access requirements, etc. The data condition corresponding to the data to be interacted can be determined according to the data type and data function of the data to be interacted.
[0092] In actual use, matching the data conditions of the data to be interacted with the available condition sets corresponding to each network can be to detect whether the data conditions of the data to be interacted exist in the available condition sets corresponding to the network. If so, the network can be used as the data routing network corresponding to the data to be interacted.
[0093] In the actual implementation process, since the same data condition may exist in the available condition sets of multiple different networks, the network corresponding to the available condition set of the data condition with the data to be interacted can be first used as an optional network, thereby obtaining multiple optional networks, and then selecting one from the multiple optional networks as the data routing network corresponding to the data to be interacted.
[0094] Among them, when selecting a data routing network from multiple optional networks, the selection can be made according to the selection priority of each optional network. The selection priority can be set in advance by the manager of the vehicle data interaction equipment. For example: the optional networks for the data to be interacted include both human network A and vehicle network B, but the selection priority of human network A is higher than that of vehicle network B. In this case, human network A can be set as the data routing network corresponding to the data to be interacted.
[0095] In specific applications, the preset routing rules can be pre-set by the administrator or user of the vehicle data interactive identification, for example: Figure 4Based on the example in, the preset routing rules can be set in the TCU, and the TCU can set the data routing network for the data to be interacted according to the preset routing rules. However, since the TCU generally does not include a visual interface, but the DA generally includes a visual interface, a routing configuration interface can be set in the DA, and the configurable routing rule items can be displayed in the routing configuration interface. After that, after the configuration, the DA can send the configuration results of the routing configuration items to the TCU, and the TCU can generate preset routing rules for the configuration results.
[0096] In a specific implementation, the routing rule item of the preset routing rule may include the interactive data volume, that is, the preset routing rule may be set based on the interactive data volume. In this case, step S101 of this embodiment may include:
[0097] Determine the data volume judgment threshold corresponding to each network according to the preset routing rules, and obtain the data size corresponding to each data condition;
[0098] The data size corresponding to each data condition is compared with the data volume determination threshold corresponding to each network to obtain the available condition set corresponding to each network.
[0099] It should be noted that determining the data volume determination threshold corresponding to each network according to the preset routing rules may be to extract the data volume determination threshold corresponding to each network from the preset routing rules, wherein the data volume determination threshold corresponding to the network may be the maximum data size of data transmitted using the network. The data size corresponding to the data condition may be the size of the data volume that may be transmitted for data transmission under the data condition, and the data size that is not transmitted in real time may be pre-set by the administrator of the vehicle data interaction device.
[0100] For example: Assume that the data volume judgment threshold corresponding to the Internet of Vehicles is 30M, and the data volume judgment threshold corresponding to the Internet of Humans is unlimited, and the data size corresponding to the data condition "CCM log upload" is 80M, then the data condition "CCM log upload" will exist in the available condition set corresponding to the Internet of Humans, but not in the available condition set corresponding to the Internet of Vehicles.
[0101] In a specific implementation, the routing rule item of the preset routing rule may include a data confidentiality level, that is, the preset routing rule may be set based on the data confidentiality level. In this case, step S101 of this embodiment may include:
[0102] Determine the transmission classification level corresponding to each network according to the preset routing rules;
[0103] The confidentiality level corresponding to each data condition is compared with the transmission classification level corresponding to each network to obtain the available condition set corresponding to each network.
[0104] It should be noted that determining the transmission classification level corresponding to each network according to the preset routing rules may be extracting the transmission classification level corresponding to each network from the preset routing rules, wherein the transmission classification level corresponding to the network may be the maximum confidentiality level of data that can be transmitted using the network.
[0105] In actual use, the confidentiality level corresponding to a data condition may be the maximum confidentiality level of all data that may be transmitted under the data condition, rather than the data confidentiality level of a particular piece of data.
[0106] For example: Assuming that the transmission classification level corresponding to the Internet of Vehicles is 5, and the transmission classification level corresponding to the Internet of Humans is 3, and the confidentiality level corresponding to the data condition "upload operation data of vehicle components" is 4, then the data condition "upload operation data of vehicle components" will exist in the available condition set corresponding to the Internet of Vehicles, but not in the available condition set corresponding to the Internet of Humans.
[0107] In a specific implementation, the routing rule item of the preset routing rule may include a traffic margin, that is, the preset routing rule may be set based on the traffic margin. In this case, step S101 of this embodiment may include:
[0108] Obtain the network traffic margin of each network in the vehicle;
[0109] Compare the network traffic margin with the traffic threshold corresponding to each network in the preset routing rule to obtain the traffic classification interval corresponding to each network;
[0110] According to the traffic classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
[0111] It should be noted that the network traffic margin of a network can be the specific value of the remaining available network traffic of the network, or it can be the ratio of the available network traffic to the total network traffic of the network. For example, taking the human network as an example, if the remaining available network traffic of the human network is 300M and the total network traffic is 1000M, if it is expressed in a specific value, then the network traffic margin is 300M; if it is expressed in a ratio, then the network traffic margin is 30%.
[0112] In actual use, when setting routing rules based on traffic margin, multiple traffic classification intervals can be set, and a corresponding set of available working conditions can be set for each traffic classification interval. For example, when setting for the Internet of Vehicles, it can be set that when the network traffic margin is >50%, all working conditions are allowed to use the Internet of Vehicles. At this time, the available working condition set can include all data working conditions; when the network traffic margin is ≤50% and greater than 20%, only data working conditions A, B, and C are allowed to use the Internet of Vehicles. At this time, the available working condition set corresponding to the Internet of Vehicles includes A, B, and C; when the network traffic margin interval is ≤20%, only data working condition A is allowed to use the Internet of Vehicles. At this time, the available working condition set corresponding to the Internet of Vehicles only includes A.
[0113] In a specific implementation, the routing rule item of the preset routing rule may include the network signal strength, that is, the preset routing rule may be set based on the network signal strength. In this case, step S101 of this embodiment may include:
[0114] Get the current signal strength of each network in the vehicle;
[0115] Compare the current signal strength with the signal strength threshold corresponding to each network in the preset routing rule to obtain the signal classification interval corresponding to each network;
[0116] According to the signal classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
[0117] It should be noted that the network traffic margin of the network can be the specific value of the signal strength of the network at the current moment, or it can be the ratio of the available signal strength value at the current moment to the maximum signal strength of the network. For example, taking the human network as an example, if the signal strength of the human network at the current moment is 80dB, and the maximum signal strength of the human network is 100dB, if expressed in a specific value, the current signal strength is 80dB; if expressed in a ratio, the current signal strength is 80%.
[0118] In actual use, when setting routing rules based on network signal strength, multiple signal classification intervals can be set, and a corresponding set of available working conditions can be set for each signal classification interval. For example, when setting for the Internet of Vehicles, it can be set that when the current signal strength is >60%, all working conditions are allowed to use the Internet of Vehicles. At this time, the available working condition set can include all data working conditions; when the signal classification interval is ≤60% and greater than 30%, only data working conditions A and B are allowed to use the Internet of Vehicles. At this time, the available working condition set corresponding to the Internet of Vehicles includes A and B; when the network traffic margin interval is ≤30%, only data working condition A is allowed to use the Internet of Vehicles. At this time, the available working condition set corresponding to the Internet of Vehicles only includes A.
[0119] During specific settings, one or more of the above-mentioned multiple routing rule items (ie, interactive data volume, data confidentiality level, traffic margin, network signal strength) may be used simultaneously to set the preset routing rules.
[0120] When setting preset routing rules based on multiple routing rule items, the available working condition sets corresponding to multiple networks can be determined respectively according to each routing rule item, and then the intersection or union of the available working condition sets of the same network is taken to finally obtain the final available working condition set of the network.
[0121] For example: the vehicle is connected to the human network and the vehicle network at the same time, and the preset routing rules are set using two routing rule items: traffic margin and network signal strength. At this time, the available working condition set corresponding to the human network is determined as A1 according to the traffic margin, and the available working condition set of the vehicle network is A2; the available working condition set corresponding to the human network is determined as B1 according to the network signal strength, and the available working condition set of the vehicle network is B2. Then, the final available working condition set of the human network can be A1∩B1, or A1∪B1; similarly, the final available working condition set of the vehicle network is A2∩B2, or A2∪B2.
[0122] This embodiment determines the available working condition set corresponding to each network according to the preset routing rules; matches the data working condition of the data to be interacted with the available working condition set corresponding to each network, and determines the data routing network corresponding to the data to be interacted. Since the network allowed to be used when downloading or uploading the data to be interacted is determined according to the data working condition of the data to be interacted, and then the data routing network is selected from the allowed networks, the user's preference for network usage is met while ensuring the utilization rate of the human network, which is more in line with the user's actual usage habits.
[0123] In addition, an embodiment of the present invention further proposes a storage medium, on which a vehicle data interaction program is stored. When the vehicle data interaction program is executed by a processor, the steps of the vehicle data interaction method described above are implemented.
[0124] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the vehicle data interaction device of the present invention.
[0125] like Figure 6 As shown, it is applied to a vehicle, and the vehicle is connected to multiple networks at the same time, and the networks include at least a human network and a vehicle network. The vehicle network is the vehicle's own network, and the human network is an external network connected to the vehicle;
[0126] The vehicle data interaction device comprises:
[0127] The routing module 10 is used to set a corresponding data routing network for the data to be interacted with according to a preset routing rule, wherein the data to be interacted with includes data to be uploaded or downloaded by vehicle-mounted components and data to be uploaded or downloaded by vehicle-mounted system applications;
[0128] An acquisition module 20 is used to acquire a data classification category corresponding to the to-be-interacted data;
[0129] A determination module 30, for determining a target server according to a data classification category;
[0130] The interaction module 40 is used to send the data to be interacted to the target server through the data routing network, or download the data to be interacted from the target server. The vehicle data interaction proposed in the embodiment of the present invention.
[0131] This embodiment sets up a corresponding data routing network for the data to be interacted according to preset routing rules; obtains the data classification category corresponding to the data to be interacted; determines the target server according to the data classification category; sends the data to be interacted to the target server through the data routing network, or downloads the data to be interacted from the target server. Since the corresponding data routing network can be set up for the data to be interacted according to the preset routing rules, data can then be interacted with the target server through the data routing network, ensuring that even the operating data of vehicle-mounted components can be transmitted through the human network and is not closely dependent on the vehicle network. Even if the vehicle network cannot be used, the operating data of the vehicle-mounted components can be transmitted through the human network to ensure that the vehicle can be controlled normally. Operating data of vehicle-mounted components
[0132] Furthermore, the routing module 10 is also used to determine the available working condition set corresponding to each network according to the preset routing rules; match the data working condition of the data to be interacted with the available working condition set corresponding to each network, and determine the data routing network corresponding to the data to be interacted.
[0133] Furthermore, the preset routing rule is set based on the amount of interactive data;
[0134] The routing module 10 is also used to determine the data volume determination threshold corresponding to each network according to the preset routing rules, and obtain the data size corresponding to each data working condition; compare the data size corresponding to each data working condition with the data volume determination threshold corresponding to each network, and obtain the available working condition set corresponding to each network.
[0135] Furthermore, the preset routing rules are set based on the data confidentiality level;
[0136] The routing module 10 is also used to determine the transmission classification level corresponding to each network according to the preset routing rules; compare the confidentiality level corresponding to each data working condition with the transmission classification level corresponding to each network, and obtain the available working condition set corresponding to each network.
[0137] Furthermore, the preset routing rule is set based on the traffic margin;
[0138] The routing module 10 is also used to obtain the network traffic surplus of each network in the vehicle; compare the network traffic surplus with the traffic threshold corresponding to each network in the preset routing rules to obtain the traffic classification interval corresponding to each network; and search the available working condition set corresponding to each network in the preset routing rules according to the traffic classification interval.
[0139] Furthermore, the preset routing rule is set based on the network signal strength;
[0140] The routing module 10 is also used to obtain the current signal strength of each network in the vehicle; compare the current signal strength with the signal strength threshold corresponding to each network in the preset routing rules to obtain the signal classification interval corresponding to each network; and search the preset routing rules for the available working condition set corresponding to each network according to the signal classification interval.
[0141] Furthermore, the vehicle is provided with a vehicle computer system and a remote information control unit, the vehicle computer system is connected to the human network, the remote information control unit is connected to the vehicle network, the data routing network is the human network, and the target server is a private network server;
[0142] The interaction module 40 is also used to obtain the forwarding server corresponding to the private network server; through the vehicle system, the data routing network and the forwarding server are used to send the data to be interacted to the target server, or download the data to be interacted from the target server.
[0143] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0144] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0145] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the vehicle data interaction method provided in any embodiment of the present invention, and will not be repeated here.
[0146] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0147] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0149] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A vehicle data interaction method, characterized in that: Applied to a vehicle, the vehicle is connected to multiple networks at the same time, the networks at least include a human network and a vehicle network, the vehicle network is the vehicle's own network, and the human network is an external network connected to the vehicle; The vehicle data interaction method comprises the following steps: Setting a corresponding data routing network for the data to be interacted with according to a preset routing rule, wherein the data to be interacted with includes data to be uploaded or downloaded by vehicle-mounted components and data to be uploaded or downloaded by vehicle-mounted system applications; Obtaining a data classification category corresponding to the to-be-interacted data; Determine the target server based on the data classification category; The data to be interacted with is sent to the target server through the data routing network, or the data to be interacted with is downloaded from the target server.
2. The vehicle data interaction method according to claim 1, characterized in that: The step of setting a corresponding data routing network for the data to be interacted with according to the preset routing rules includes: Determine the available working condition set corresponding to each network according to the preset routing rules; The data working conditions of the data to be interacted are matched with the available working condition sets corresponding to each network, and the data routing network corresponding to the data to be interacted is determined.
3. The vehicle data interaction method according to claim 2, characterized in that: The preset routing rule is set based on the amount of interactive data; The step of determining the available working condition set corresponding to each network according to the preset routing rule includes: Determine the data volume judgment threshold corresponding to each network according to the preset routing rules, and obtain the data size corresponding to each data condition; The data size corresponding to each data condition is compared with the data volume determination threshold corresponding to each network to obtain the available condition set corresponding to each network.
4. The vehicle data interaction method according to claim 2, characterized in that: The preset routing rules are set based on the data confidentiality level; The step of determining the available working condition set corresponding to each network according to the preset routing rule includes: Determine the transmission classification level corresponding to each network according to the preset routing rules; The confidentiality level corresponding to each data condition is compared with the transmission classification level corresponding to each network to obtain the available condition set corresponding to each network.
5. The vehicle data interaction method according to claim 2, characterized in that: The preset routing rule is set based on the traffic margin; The step of determining the available working condition set corresponding to each network according to the preset routing rule includes: Obtain the network traffic margin of each network in the vehicle; Compare the network traffic margin with the traffic threshold corresponding to each network in the preset routing rule to obtain the traffic classification interval corresponding to each network; According to the traffic classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
6. The vehicle data interaction method according to claim 2, characterized in that: The preset routing rule is set based on the network signal strength; The step of determining the available working condition set corresponding to each network according to the preset routing rule includes: Get the current signal strength of each network in the vehicle; Compare the current signal strength with the signal strength threshold corresponding to each network in the preset routing rule to obtain the signal classification interval corresponding to each network; According to the signal classification interval, the available working condition set corresponding to each network is searched in the preset routing rules.
7. The vehicle data interaction method according to any one of claims 1 to 6, characterized in that: The vehicle is provided with a vehicle computer system and a remote information control unit, the vehicle computer system is connected to the human network, the remote information control unit is connected to the vehicle network, the data routing network is connected to the human network, and the target server is a private network server; The step of sending the data to be interacted with to the target server through the data routing network, or downloading the data to be interacted with from the target server, comprises: Obtaining the forwarding server corresponding to the private network server; The data to be interacted is sent to the target server or downloaded from the target server through the vehicle system using the data routing network and the forwarding server.
8. A vehicle data interaction device, characterized in that: Applied to a vehicle, the vehicle is connected to multiple networks at the same time, the networks at least include a human network and a vehicle network, the vehicle network is the vehicle's own network, and the human network is an external network connected to the vehicle; The vehicle data interaction device comprises: A routing module, used to set a corresponding data routing network for the data to be interacted with according to a preset routing rule, wherein the data to be interacted with includes data to be uploaded or downloaded by vehicle-mounted components and data to be uploaded or downloaded by vehicle-mounted system applications; An acquisition module, used to acquire the data classification category corresponding to the to-be-interacted data; A determination module, used to determine a target server according to a data classification category; The interaction module is used to send the data to be interacted to the target server through the data routing network, or download the data to be interacted from the target server.
9. A vehicle data interaction device, characterized in that: The vehicle data interaction device includes: a processor, a memory, and a vehicle data interaction program stored in the memory and executable on the processor. When the vehicle data interaction program is executed by the processor, the steps of the vehicle data interaction method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle data interaction program, and when the vehicle data interaction program is executed, the steps of the vehicle data interaction method according to any one of claims 1 to 7 are implemented.
