Network switching method and device and storage medium
Through API calls and capabilities, autonomous vehicles expand the operator's switching range when communication is abnormal, solving the limitations of operator switching and ensuring normal communication between the remote control platform and the vehicle and high network quality.
Patent Information
- Application Number
- CN202411570981.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-18
AI Technical Summary
When the communication between the remote control platform and the vehicle is abnormal, the operator's handover is limited, which may lead to the inability to switch to the operator's network with normal communication.
Through API calls, the capability integration module determines at least one operator with high priority when the network is currently accessed by the vehicle, and calls the operator's network capabilities through the capability open gateway to expand the operator's switching range.
It effectively reduces the limitations of switchover of autonomous vehicle operators, ensures normal communication between the remote control platform and the vehicle, and provides higher network quality.
Smart Images

Figure CN119485558A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a network switching method, device and storage medium. Background Art
[0002] Cloud driving technology refers to the technology that the remote control platform provides real-time driving guidance for the autonomous vehicle through remote control, so as to ensure the driving safety of the autonomous vehicle as much as possible. When the autonomous vehicle turns on the cloud driving function, the remote control platform and the autonomous vehicle need to communicate so that the remote control platform can provide driving assistance information for the autonomous vehicle.
[0003] However, in the event of an abnormality in the communication between the remote control platform and the autonomous driving vehicle, the current operator of the autonomous driving vehicle can be switched to another operator so that the other operator can provide communication services for the autonomous driving vehicle. However, at present, the autonomous driving vehicle can only switch among the operators corresponding to the subscriber identity module (SIM) card deployed in the autonomous driving vehicle, which will lead to limitations in the switching of the operator of the autonomous driving vehicle, and it is very likely that the autonomous driving vehicle will still not be able to switch to the operator network that can communicate normally, that is, it is very likely that the normal communication between the remote control platform and the autonomous driving vehicle will still not be guaranteed. Summary of the invention
[0004] The present application provides a network switching method, device and storage medium, which can reduce the switching limitations of the operator of the autonomous driving vehicle as much as possible, thereby ensuring the normal communication between the remote control platform and the autonomous driving vehicle as much as possible.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a network switching method, the method comprising: in the event that a network currently accessed by a vehicle has an abnormality, determining the priority of at least one first operator, the first operator being the operator to which the network called through an application programming interface API belongs, and there being no abnormality in the network of the first operator, the higher the priority of the first operator, the higher the network quality of the network of the first operator; calling the network capability of the second operator through the API to a capability opening gateway of the second operator, wherein the second operator is the first operator with the highest priority among the at least one first operator.
[0007] In one possible implementation, determining the priority of at least one first operator includes: obtaining network indicators of the network of each first operator among the at least one first operator; determining the network quality of each first operator's network based on the network indicators of each first operator's network; and configuring a corresponding priority for each first operator based on the network quality of each first operator's network.
[0008] In one possible implementation, the network quality of each first operator's network is determined based on the network indicators of each first operator's network, including: based on the indicator weights corresponding to the network indicators of the first operator's network, weighted summing up the network indicators of the first operator's network to obtain the network quality of the first operator's network.
[0009] In a possible implementation, the method further includes: determining an indicator weight corresponding to the network indicator based on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator, wherein the first weight is determined based on an information utility value of the network indicator, and the second weight is determined based on a score of the network indicator.
[0010] In a possible implementation, determining an indicator weight corresponding to a network indicator based on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator includes: performing a multiplication operation on the first weight corresponding to the network indicator and the second weight corresponding to the network indicator to obtain the indicator weight corresponding to the network indicator.
[0011] In a possible implementation manner, the method further includes: determining an information utility value of the network indicator based on the network indicator; and normalizing the information utility value of the network indicator to obtain a first weight corresponding to the network indicator.
[0012] In a possible implementation, the method also includes: performing a variance operation on the score of the network indicator to obtain the variance of the score of the network indicator, wherein the score of the network indicator is determined based on a scoring experience rule; determining a second weight corresponding to the network indicator based on the variance of the score of the network indicator, the smaller the variance of the score of the network indicator, the larger the second weight corresponding to the network indicator.
[0013] In a second aspect, the present application provides a network switching device, which includes: a communication unit and a processing unit; the processing unit is used to determine the priority of at least one first operator when there is an abnormality in the network currently accessed by the vehicle, the first operator is the operator to which the network called through the application programming interface API belongs, and there is no abnormality in the network of the first operator, the higher the priority of the first operator, the higher the network quality of the network of the first operator; the communication unit is used to call the network capability of the second operator to the capability opening gateway of the second operator through the API, wherein the second operator is the first operator with the highest priority among the at least one first operator.
[0014] In one possible implementation, the communication unit is further used to obtain network indicators of the network of each first operator among at least one first operator; the processing unit is further used to determine the network quality of each first operator's network based on the network indicators of each first operator's network; the processing unit is further used to configure a corresponding priority for each first operator based on the network quality of each first operator's network.
[0015] In a possible implementation, the processing unit is further configured to perform weighted summation of the network indicators of the first operator's network based on indicator weights corresponding to the network indicators of the first operator's network to obtain the network quality of the first operator's network.
[0016] In one possible implementation, the processing unit is further used to determine the indicator weight corresponding to the network indicator based on the first weight corresponding to the network indicator and the second weight corresponding to the network indicator, wherein the first weight is determined based on the information utility value of the network indicator, and the second weight is determined based on the score of the network indicator.
[0017] In a possible implementation, the processing unit is further used to perform a multiplication operation on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator to obtain an indicator weight corresponding to the network indicator.
[0018] In a possible implementation, the processing unit is further used to determine the information utility value of the network indicator based on the network indicator; the processing unit is further used to normalize the information utility value of the network indicator to obtain a first weight corresponding to the network indicator.
[0019] In one possible implementation, the processing unit is further used to perform a variance operation on the score of the network indicator to obtain the variance of the score of the network indicator, wherein the score of the network indicator is determined based on an empirical rule for scoring; the processing unit is further used to determine a second weight corresponding to the network indicator based on the variance of the score of the network indicator, and the smaller the variance of the score of the network indicator, the larger the second weight corresponding to the network indicator.
[0020] In a third aspect, the present application provides a network switching device, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the network switching method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal, the terminal executes the network switching method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a network switching device, enables the network switching device to execute the network switching method as described in the first aspect and any possible implementation of the first aspect.
[0023] In a sixth aspect, the present application provides a chip, the chip comprising a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the network switching method described in the first aspect and any possible implementation method of the first aspect.
[0024] Specifically, the chip provided in the present application also includes a memory for storing computer programs or instructions.
[0025] The network switching method provided by the present application, when there is an abnormality in the network currently connected to the vehicle, the capability integration module can determine the second operator from at least one first operator, and call the network capability of the second operator to the capability opening gateway of the second operator through the API. Since the first operator is the operator to which the network called through the API belongs, that is, the capability integration module can initiate a switch to the network of the operator that can be called through the API, rather than only being able to switch among the operators corresponding to the SIM card deployed in the vehicle, the network switching method provided in the embodiment of the present application can effectively expand the switching range of operators to effectively reduce the limitations of operator switching.
[0026] Furthermore, there is no abnormality in the network of the first operator recorded in the embodiment of the present application, and the second operator is the first operator with the highest priority among at least one first operator, and the higher the priority of the first operator, the higher the network quality of the network of the first operator. That is to say, the capability integration module can determine the network with the best network quality (that is, the network of the second operator) from the networks without abnormalities, and then call the network capabilities of the second operator to the capability opening gateway of the second operator through the API, so as to provide the vehicle with network capabilities with better network quality as much as possible, and thus can ensure that the vehicle can communicate normally as much as possible, that is, to ensure normal communication between the remote control platform and the vehicle as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A structural diagram of a communication system supporting cloud driving technology provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the structure of another communication system provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the composition of a network switching device provided in an embodiment of the present application;
[0031] Figure 5 A flowchart of a network switching method provided in an embodiment of the present application;
[0032] Figure 6 A flowchart of another network switching method provided in an embodiment of the present application;
[0033] Figure 7 A flowchart of another network switching method provided in an embodiment of the present application;
[0034] Figure 8 A flowchart of another network switching method provided in an embodiment of the present application;
[0035] Fig. 9 A flowchart of another network switching method provided in an embodiment of the present application;
[0036] Fig.10 A flowchart of another network switching method provided in an embodiment of the present application;
[0037] Fig.11 A flowchart of another network switching method provided in an embodiment of the present application;
[0038] Fig.12A schematic diagram of the structure of another network switching device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The network switching method, device and storage medium according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0041] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0042] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0043] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0044] In the description of the present application, unless otherwise specified, “plurality” means two or more.
[0045] Cloud driving technology can be understood as providing a virtual "driver" for autonomous vehicles, or cloud driving technology can be understood as providing a virtual "driving trainer" for autonomous vehicles. In view of this, it can be seen that cloud driving technology refers to the technology that the remote control platform provides real-time driving guidance and / or real-time driving intervention for autonomous vehicles through remote control. This cloud driving technology can not only improve the operational efficiency of autonomous vehicles, but also reduce the dependence of autonomous vehicles on on-site safety personnel, so as to ensure that autonomous vehicles can drive safely in complex or uncertain traffic environments as much as possible, thereby ensuring the safety and reliability of autonomous vehicles as much as possible, and providing strong support for the construction of future intelligent transportation systems. Since cloud driving technology can ensure the safety of autonomous driving vehicles as much as possible, cloud driving technology has brought revolutionary progress to the field of autonomous driving and greatly broadened the scope of application of autonomous driving technology.
[0046] For example, the present application embodiment provides a communication system that supports cloud driving technology. Figure 1 As shown, the communication system supporting cloud driving technology may include a vehicle-side device, a remote control platform, and a cloud platform. The vehicle-side device is a terminal deployed in the vehicle. The vehicle-side device can communicate with the remote control platform through the cloud platform.
[0047] Take the cloud driving function as an example: the vehicle side can obtain vehicle information in real time and send the vehicle information to the cloud platform. The vehicle information may include driving status information and video of the environment around the vehicle. Correspondingly, the cloud platform receives the vehicle information from the vehicle side device and sends the vehicle information to the remote control platform. Correspondingly, the remote control platform receives the vehicle information from the cloud platform.
[0048] The remote control platform can determine the remote control driving control information based on the vehicle information and send the remote control driving control information to the cloud platform. Correspondingly, the cloud platform receives the remote control driving control information from the remote control platform and sends the remote control driving control information to the vehicle-side device, so that the vehicle-side device can provide real-time driving guidance and / or real-time driving intervention for the autonomous driving vehicle through the remote control driving control information, thereby realizing remote monitoring, remote control, remote assisted driving and other functions.
[0049] Exemplarily, the remote control driving control information may include mechanical parameters such as speed or acceleration. Of course, the above is only an exemplary description of the remote control driving control information, and the remote control driving control information may also include other parameters, such as tire speed, and the present application embodiment does not impose any limitation on this.
[0050] Optionally, the vehicle-side device may include at least one of the following: a domain controller, a perception device, or a communication device. Among them, the perception device can obtain perception data by perceiving the collected environmental video around the vehicle, and process the perception data to determine the video of the environment around the vehicle, and send the video of the environment around the vehicle to the domain controller in real time. The domain controller can be connected to the controller area network (CAN) bus deployed in the vehicle so that the domain controller can issue control instructions to the vehicle chassis, that is, the control instructions related to vehicle driving are sent by the domain controller. In view of this, the domain controller can obtain the driving status information in real time through the generated control instructions. Among them, the driving status information may include at least one of the following: frame header type, timestamp, vehicle information, check bit. The communication device can be used to communicate with an external device (e.g., a cloud platform). For example, the communication device can receive the video and driving status information of the environment around the vehicle from the domain controller, and send the video and driving status information of the environment around the vehicle to the cloud platform.
[0051] Exemplarily, the above-mentioned perception device may be a vehicle-mounted surround view camera deployed on a vehicle. Of course, the above is only an exemplary description of the perception device, and the perception device may also be other devices, such as a millimeter wave radar, and the present application embodiment does not impose any limitation on this.
[0052] Optionally, the remote control platform may include a wireless customer premise equipment (CPE) module, a remote networking device, a central server, a driving simulator, or a screen. Among them, the wireless CPE module and the remote networking device are mainly used for sending and receiving data. The central server is mainly used to analyze and process vehicle information in real time to generate remote control driving control information. The screen is mainly used to display the vehicle driving trajectory, the environmental video around the vehicle, etc. included in the vehicle information, so that relevant personnel can monitor the vehicle driving trajectory, the environmental video around the vehicle, etc. of the vehicle in real time through the screen. The driving simulator simulates the real driving scene of the vehicle, so that relevant personnel can simulate the control effect of the above remote control driving control information on the vehicle driving through the driving simulator. In addition, in order to enable the driving simulator to simulate the vehicle driving scene normally, the driving simulator usually includes devices such as a steering wheel, a brake, and an accelerator.
[0053] Optionally, the cloud platform may include a client, a server (e.g., a message queuing telemetry transport (MQTT) server), and a cloud. The client may obtain vehicle information reported by a vehicle-side device through a configured Internet Protocol (IP) address and / or a configured port, and send the vehicle information to the server so that the server can process the vehicle information. The client may also send the vehicle information to the cloud so that the cloud can store the vehicle information and send the vehicle information to the remote control platform (e.g., a screen in the remote control platform).
[0054] Further, optionally, the vehicle-side device and the cloud platform can communicate through a network device in the communication network (e.g., a 5G base station). The network device can meet the communication requirements of low latency and high reliability, for example, meeting the communication requirements of latency less than 120 milliseconds (ms), and supporting dynamic and flexible network switching. In addition, optionally, the remote control platform and the cloud platform can communicate through a network device in the communication network (e.g., a 5G base station).
[0055] In addition, a remote control platform can provide real-time driving guidance and / or real-time driving intervention for multiple autonomous vehicles. It can be understood that cloud driving technology provides a virtual "driver" for autonomous vehicles and can provide real-time driving guidance and / or real-time driving intervention for multiple autonomous vehicles at the same time.
[0056] When the cloud driving function is turned on for an autonomous vehicle, the remote control platform needs to communicate with the autonomous vehicle so that the remote control platform can provide driving assistance information for the autonomous vehicle. In other words, the use of cloud driving technology depends on communication technology (for example, 5G communication technology), and the remote control platform can use the low latency and high bandwidth characteristics brought by communication technology to achieve efficient supervision and remote control of autonomous vehicles.
[0057] Vehicles that support autonomous driving technology can be controlled by the vehicle's car robot when the network is disconnected, that is, the vehicle can maintain driving functions through the computing power of its own processor when the network is disconnected. In other words, vehicles that support autonomous driving technology can maintain driving functions through the computing power of its own processor when the network is disconnected. However, when the vehicle is remotely controlled, if the vehicle communication network is abnormal (for example, the network is disconnected or the signal quality of the communication network fluctuates greatly), it is easy for the vehicle to lose control. Therefore, compared with autonomous driving technology, cloud driving technology has more stringent requirements on the communication network, which leads to strong limitations in the application scenarios of cloud driving technology.
[0058] However, in the case of an abnormality in the communication between the remote control platform and the autonomous driving vehicle, the current operator of the autonomous driving vehicle can be switched to other operators so that other operators can provide communication services for the autonomous driving vehicle. At present, when the autonomous driving vehicle determines that the communication network of the autonomous driving vehicle is abnormal based on the preset network failure condition (for example, the network indicator data meets the preset network failure condition), the network of the currently connected operator can be switched through the SIM card deployed in the vehicle. After the autonomous driving vehicle switches the operator, the autonomous driving mode is turned on, and the remote control platform determines the autonomous driving decision based on the vehicle's surrounding environment, and sends the determined autonomous driving decision to the vehicle's car robot. The car robot receives the autonomous driving decision sent by the remote control platform and executes the autonomous driving decision to control the vehicle's driving. However, since the autonomous driving vehicle can only switch among the operators corresponding to the SIM card deployed in the autonomous driving vehicle, this will lead to limitations in the switching of the operator of the autonomous driving vehicle, which is likely to cause the autonomous driving vehicle to still be unable to switch to the operator network that can communicate normally, that is, it is likely that the normal communication between the remote control platform and the autonomous driving vehicle cannot be guaranteed.
[0059] In view of this, an embodiment of the present application provides a network switching method. When an abnormality occurs in the network currently connected to the vehicle, the capability integration module can determine the second operator from at least one first operator, and call the network capability of the second operator to the capability opening gateway of the second operator through an API. Since the first operator is the operator to which the network called through the API belongs, that is, the capability integration module can initiate a switch to the network of the operator that can be called through the API, rather than only being able to switch among the operators corresponding to the SIM card deployed in the vehicle. Therefore, the network switching method provided in the embodiment of the present application can effectively expand the switching range of operators to effectively reduce the limitations of operator switching.
[0060] Furthermore, there is no abnormality in the network of the first operator recorded in the embodiment of the present application, and the second operator is the first operator with the highest priority among at least one first operator, and the higher the priority of the first operator, the higher the network quality of the network of the first operator. That is to say, the capability integration module can determine the network with the best network quality (that is, the network of the second operator) from the networks without abnormalities, and then call the network capabilities of the second operator to the capability opening gateway of the second operator through the API, so as to provide the vehicle with network capabilities with better network quality as much as possible, and thus ensure that the vehicle can communicate normally as much as possible, that is, ensure normal communication between the remote control platform and the vehicle as much as possible.
[0061] The technical solution provided in the embodiments of the present application can be applied to various communication systems, for example, a new radio (NR) communication system using the fifth generation mobile communication technology (5G), a future evolution system, or a multi-communication fusion system.
[0062] For example, Figure 2 A schematic diagram of the structure of a communication system provided by an embodiment of the present application is shown in FIG. The communication system 20 may include at least one capability integration module 201 and at least one capability open gateway 202 , and the capability integration module 201 may be connected to the capability open gateway 202 for communication. Figure 2 Only one capability integration module 201 and three capability exposure gateways 202 are shown.
[0063] In a possible implementation, the capability integration module 201 is used to determine the priority of at least one first operator when there is an abnormality in the network currently accessed by the vehicle, and to call the network capability of the second operator to the capability opening gateway 202 of the second operator. The first operator is an operator to which the network that can be called through the application programming interface API belongs, and there is no abnormality in the network. The higher the priority of the first operator, the higher the network quality of the network of the first operator; the second operator is the first operator with the highest priority among the at least one first operator.
[0064] Optionally, the capability integration module 201 can be deployed in the cloud platform, or as a separately deployed device, deployed in the cloud platform, and the embodiments of the present application do not impose any restrictions on this. The capability integration module 201 can connect to the capability exposure gateway 202 of multiple operators, and call network assurance capabilities through standardized APIs, such as network transmission quality (quality of delivery, QoD), network slicing (for example, 5G network slicing) and other capabilities to achieve a higher level of network assurance.
[0065] Optionally, the capability opening gateway 202 can provide capabilities or services with external devices (e.g., vehicle-side devices), mainly for opening up the internal network capabilities of the operator. Specifically, the capability opening gateway 202 can encapsulate the internal network capabilities of the operator into a standard API, so that external devices can call the internal network capabilities of the operator through the standardized API.
[0066] It should be noted that Figure 2 This is just an exemplary framework diagram. Figure 2 The number of nodes included in the Figure 2In addition to the functional nodes shown, the communication system 20 may also include other nodes, and this application does not impose any limitation on this.
[0067] The application scenarios of the embodiments of the present application are not limited. The system architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It is known to those skilled in the art that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0068] In addition, since the network switching method described in the embodiment of the present application can be applied to the cloud driving scenario, Figure 3 A schematic diagram of the structure of another communication system provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the communication system may include a vehicle-side device, a cloud platform, and a remote control platform, wherein a capability integration module and a capability exposure gateway are deployed in the cloud platform.
[0069] Optionally, when the vehicle-side device determines that the communication between it and the remote control platform is abnormal, the vehicle-side device sends network anomaly information to the capability integration module deployed in the cloud platform, wherein the network anomaly information is used to indicate that there is an anomaly in the network currently connected to the vehicle. The capability integration module receives the network anomaly information and determines at least one first operator that meets the preset conditions. The capability integration module determines the first operator with the highest priority among the at least one first operator as the second operator, and calls the network capability to the capability opening gateway of the second operator through the API, so that the normal communication between the vehicle-side device and the remote control platform can be guaranteed through the network of the called second operator.
[0070] Exemplarily, the preset condition may include at least one of the following: network delay is less than or equal to a set threshold, network bandwidth is greater than or equal to a set threshold, or network speed is greater than or equal to a set threshold.
[0071] Exemplarily, the capabilities and / or information opened through the capability opening gateway include atomic capabilities, 5G network capabilities, security information, audio and video, and text messages. Of course, the above is only an exemplary description of the capabilities opened by the first operator through the capability opening gateway. The capabilities opened by the first operator through the capability opening gateway may also include other capabilities and / or information, such as location information. The embodiments of this application do not impose any restrictions.
[0072] It is understandable that the relevant descriptions of vehicle-side devices, capability exposure gateways, cloud platforms, remote control platforms, and capability integration modules can be referred to Figure 1 and Figure 2 The relevant descriptions involved have been understood and will not be repeated here.
[0073] When implementing it specifically, Figure 2 or Figure 3 The equipment in Figure 4 The structure shown, or including Figure 4 Parts shown. Figure 4 The present invention provides a schematic diagram of the composition of a communication device 40, which may be a capability integration module 201 or a chip or system on chip in the capability integration module 201. Alternatively, the communication device 40 may be a capability open gateway 202 or a chip or system on chip in the capability open gateway 202. Figure 4 As shown, the communication device 40 may include a processor 401 , a communication line 402 , a communication interface 403 , and a memory 404 .
[0074] Furthermore, the communication device 40 may also include a communication interface 403 and a memory 404. The processor 401, the memory 404 and the communication interface 403 may be connected via a communication line 402.
[0075] The processor 401 is a CPU, a general processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 401 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0076] The communication line 402 is used to transmit information between the components included in the communication device 40.
[0077] The communication interface 403 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The communication interface 403 may be a module, a circuit, a communication interface or any device capable of achieving communication.
[0078] The memory 404 is used to store instructions, where the instructions may be computer programs.
[0079] The memory 404 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a read-only optical disk, or a memory that can store data and / or instructions.
[0080] There are no restrictions on compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices.
[0081] It should be noted that the memory 404 can exist independently of the processor 401, or can be integrated with the processor 401. The memory 404 can be used to store instructions or program codes or some data, etc. The memory 404 can be located in the communication device 40, or can be located outside the communication device 40, without limitation. The processor 401 is used to execute the instructions stored in the memory 404 to implement the network switching method provided in the following embodiments of the present application.
[0082] In one example, the processor 401 may include one or more CPUs, for example, Figure 4 CPU0 and CPU1 (not shown in the figure).
[0083] As an optional implementation, the communication device 40 includes multiple processors.
[0084] As an optional implementation, the communication device 40 further includes an output device and an input device. For example, the input device is a keyboard, a mouse, a microphone, a joystick, and the like, and the output device is a display screen, a speaker, and the like.
[0085] It should be noted that the communication device 40 can be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a Figure 4 In addition, Figure 4 The composition shown in the Figure 1 as well as Figure 4 The limitations of each device in Figure 4 In addition to the parts shown, Figure 1 as well as Figure 4The various devices shown may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0086] In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0087] In addition, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation without limitation.
[0088] Combine the following Figure 2 The communication system shown describes the network switching method of the embodiment of the present application. Among them, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of the present application is only an example, and other names can also be used in the specific implementation without limitation. The actions involved in the various embodiments of the present application are only an example, and other names can also be used in the specific implementation, such as: "included in" in the embodiment of the present application can also be replaced by "carried on" or "carried in", etc.
[0089] In order to solve the problems existing in the above-mentioned prior art, the embodiment of the present application proposes a network switching method, which can reduce the switching limitations of the operator of the autonomous driving vehicle as much as possible, thereby ensuring the normal communication between the remote control platform and the autonomous driving vehicle as much as possible. Figure 5 As shown, the method includes:
[0090] S501: When an abnormality occurs in a network currently accessed by a vehicle, a capability integration module determines a priority of at least one first operator.
[0091] The first operator is the operator to which the network called through the API belongs, and there is no abnormality in the network of the first operator. The higher the priority of the first operator, the higher the network quality of the network of the first operator.
[0092] It is understandable that the API described in the embodiments of the present application may be a standardized API specified in the relevant protocol. The relevant protocol specifies that standardized openness of network capabilities can be achieved through standardized APIs, so that the operators to which the network belongs can be called through the API, including all or part of the operators involved in the above-mentioned relevant protocols.
[0093] S502: The capability integration module calls the network capability of the second operator to the capability exposure gateway of the second operator through an API.
[0094] The second operator is a first operator with the highest priority among the at least one first operator.
[0095] For example, taking at least one first operator including first operator A, first operator B, and first operator C as an example: assuming that the priority of first operator A is higher than that of first operator B, and the priority of the network of first operator B is higher than that of first operator C, then the second operator is first operator A.
[0096] The network switching method provided by the present application, when there is an abnormality in the network currently connected to the vehicle, the capability integration module can determine the second operator from at least one first operator, and call the network capability of the second operator to the capability opening gateway of the second operator through the API. Since the first operator is the operator to which the network called through the API belongs, that is, the capability integration module can initiate a switch to the network of the operator that can be called through the API, rather than only being able to switch among the operators corresponding to the SIM card deployed in the vehicle, the network switching method provided in the embodiment of the present application can effectively expand the switching range of operators to effectively reduce the limitations of operator switching.
[0097] Furthermore, there is no abnormality in the network of the first operator recorded in the embodiment of the present application, and the second operator is the first operator with the highest priority among at least one first operator, and the higher the priority of the first operator, the higher the network quality of the network of the first operator. That is to say, the capability integration module can determine the network with the best network quality (that is, the network of the second operator) from the networks without abnormalities, and then call the network capabilities of the second operator to the capability opening gateway of the second operator through the API, so as to provide the vehicle with network capabilities with better network quality as much as possible, and thus can ensure that the vehicle can communicate normally as much as possible, that is, to ensure normal communication between the remote control platform and the vehicle as much as possible.
[0098] The following is a detailed description of the implementation process of the capability integration module determining whether there is an abnormality in the network currently connected to the vehicle.
[0099] For example, at least one first operator includes first operator A, first operator B, and first operator C: Assuming that the network quality of the network of first operator A is higher than that of the network of first operator B, and the network quality of the network of first operator B is higher than that of the network of first operator C, the priority of first operator A is higher than that of first operator B, and the priority of first operator B is higher than that of first operator C. In some possible implementations, the vehicle-side device can determine whether there is an abnormality in the network currently connected to the vehicle through the network indicators of the network currently connected to the vehicle. For example, the network indicators of the network currently connected to the vehicle may include at least one of the following: network delay, network bandwidth, or network speed.
[0100] Furthermore, taking the network indicators including network latency as an example, that is, the vehicle-side device can determine whether there is an abnormality in the network currently connected to the vehicle through the network latency of the network currently connected to the vehicle. Specifically, the vehicle-side device can compare the network latency of the network currently connected to the vehicle with the first threshold, and determine that there is an abnormality in the network currently connected to the vehicle when the network latency of the network currently connected to the vehicle is greater than the first threshold; and determine that there is no abnormality in the network currently connected to the vehicle when the network latency of the network currently connected to the vehicle is less than or equal to the first threshold.
[0101] Furthermore, taking the network bandwidth included in the network indicators as an example, that is, the vehicle-side device can determine whether there is an abnormality in the network currently connected to the vehicle through the network bandwidth of the network currently connected to the vehicle. Specifically, the vehicle-side device can compare the network bandwidth of the network currently connected to the vehicle with the second threshold, and determine that there is an abnormality in the network currently connected to the vehicle when the network bandwidth of the network currently connected to the vehicle is less than the second threshold; and determine that there is no abnormality in the network currently connected to the vehicle when the network bandwidth of the network currently connected to the vehicle is greater than or equal to the second threshold.
[0102] Furthermore, taking the network speed included in the network indicators as an example, that is, the vehicle-side device can determine whether there is an abnormality in the network currently connected to the vehicle by the network speed of the network currently connected to the vehicle. Specifically, the vehicle-side device can compare the network speed of the network currently connected to the vehicle with the third threshold, and when the network speed of the network currently connected to the vehicle is less than the third threshold, determine that there is an abnormality in the network currently connected to the vehicle; when the network delay of the network currently connected to the vehicle is greater than or equal to the third threshold, determine that there is no abnormality in the network currently connected to the vehicle.
[0103] The above-mentioned implementation process of the vehicle-side device determining whether there is an abnormality in the network currently connected to the vehicle can be combined arbitrarily, and the embodiments of the present application do not impose any restrictions on this.
[0104] Of course, the above is only an exemplary description of the network indicators of the network currently connected to the vehicle. The network indicators of the network currently connected to the vehicle may also include other indicators, such as network load or signal strength, and the embodiments of the present application do not impose any restrictions on this. The implementation process of the vehicle-side device determining whether there is an abnormality in the network currently connected to the vehicle based on other network indicators can be understood by referring to the description of the corresponding position above, and will not be repeated here.
[0105] In addition, optionally, the vehicle-side device can set the first threshold, the second threshold, and the third threshold according to the actual network conditions. For example, the vehicle-side device sets the first threshold to 5ms; for example, the vehicle-side device sets the second threshold to 5Kbps; for example, the vehicle-side device sets the third threshold to 5MB / s. The embodiments of the present application do not impose any restrictions on this.
[0106] As can be seen from the above description of "S501", the capability integration module can determine the priority of at least one first operator, so that the second operator can be determined from the at least one first operator based on the operator priority. Since the priority of the first operator is related to the network quality of the network of the first operator, the priority of the first operator can be determined based on the network indicators of the network of the first operator. In view of this, Figure 6 As shown, S501 provided in the embodiment of the present application can be implemented through the following S601 to S603.
[0107] S601. A capability integration module obtains a network indicator of a network of each first operator of at least one first operator.
[0108] Exemplarily, the network indicator of the first operator's network may include at least one of the following: signal strength, network load, network delay, network bandwidth, or network speed.
[0109] Optionally, the signal strength can be represented by s, the network load can be represented by p, the network delay can be represented by l, the network bandwidth can be represented by w, and the network speed can be represented by t. The embodiments of the present application do not impose any restrictions on this.
[0110] Of course, the above is only an exemplary description of the network indicators of the first operator's network. The network indicators of the first operator's network may also include other indicators, such as network throughput, and the embodiments of the present application do not impose any restrictions on this.
[0111] In some possible implementations, the implementation process of S601 may be: the capability integration module may call the network indicator of each first operator's network to the capability exposure gateway of each first operator through an API to obtain the network indicator of each first operator's network.
[0112] Of course, the above is only an exemplary description of the implementation process of S601, and S601 can also be implemented through other implementation processes, for example, the capability integration module tests the network of each first operator through a network speed test tool to obtain network indicators of each first operator's network. The present application embodiment does not impose any limitation on this.
[0113] S602: The capability integration module determines the network quality of each first operator's network based on the network indicator of each first operator's network.
[0114] In some possible implementations, the implementation process of S602 may be: the capability integration module may perform a comprehensive operation on the network indicators of the first operator's network, and determine the network quality of the first operator's network based on the result of the comprehensive operation. The capability integration module may determine the network quality of each first operator's network in turn through the above method.
[0115] In addition, optionally, before S602, the capability integration module may preprocess the network indicators of the first operator's network to eliminate abnormal network indicators or redundant network indicators, so that the subsequent capability integration module can determine the network quality of the first operator's network based on the preprocessed network indicators of the first operator's network.
[0116] S603: The capability integration module configures a corresponding priority for each first operator based on the network quality of each first operator's network.
[0117] For example, taking at least one first operator including a first operator A, a first operator B, and a first operator C as an example: assuming that the network quality of the network of the first operator A is higher than the network quality of the network of the first operator B, and the network quality of the network of the first operator B is higher than the network quality of the network of the first operator C, then the priority configured by the capability integration module for the first operator A is higher than the priority configured by the capability integration module for the first operator B, and the priority configured by the capability integration module for the first operator B is higher than the priority configured by the capability integration module for the first operator C.
[0118] As can be seen from the above description of "S602", the capability integration module determines the network quality of each first operator's network based on the network indicators of each first operator's network. However, in general, the network indicators of the first operator's network include multiple network indicators. Therefore, the capability integration module needs to perform a comprehensive calculation on the network indicators of the first operator's network to determine the network quality of each first operator's network. In view of this, Figure 7 As shown, S602 provided in the embodiment of the present application can be implemented through the following S701.
[0119] S701. The capability integration module performs weighted summation on the network indicators of the first operator's network based on the indicator weights corresponding to the network indicators of the first operator's network to obtain the network quality of the first operator's network.
[0120] Exemplarily, take the network indicators of the first operator's network including signal strength, network load, network delay, network bandwidth, and network speed as an example: assuming that the indicator weight corresponding to the signal strength is weight a, the indicator weight corresponding to the network load is weight b, the indicator weight corresponding to the network delay is weight c, the indicator weight corresponding to the network bandwidth is weight d, and the indicator weight corresponding to the network speed is weight e, then the network quality of the first operator's network is the sum of the product of signal strength and weight a, the product of network load and weight b, the product of network delay and weight c, the product of network bandwidth and weight d, and the product of network speed and weight e.
[0121] As described in the above "S701", the capability integration module performs weighted summation of the network indicators of the first operator's network based on the indicator weights corresponding to the network indicators of the first operator's network to obtain the network quality of the first operator's network. That is to say, when determining the network quality of the first operator's network, the capability integration module is based not only on the network indicators of the first operator's network, but also on the indicator weights corresponding to the network indicators of the first operator's network. Therefore, the capability integration module needs to determine the indicator weights corresponding to the network indicators of each first operator's network. In view of this, Figure 8 As shown, the network switching method provided in the embodiment of the present application may also include the following S801.
[0122] S801. A capability integration module determines an indicator weight corresponding to a network indicator based on a first weight corresponding to a network indicator of a first operator's network and a second weight corresponding to the network indicator of the first operator's network.
[0123] The first weight of the network indicator of the first operator's network is determined based on the information utility value of the network indicator, and the second weight of the network indicator of the first operator's network is determined based on the score of the network indicator.
[0124] It is understandable that the information utility value of the network indicator of the first operator's network can be used to measure the degree of influence of the network indicator on the network performance of the first operator's network. By calculating the information utility value of the network indicator of the first operator's network, the relative importance of the network indicator can be obtained, and then the weight information of each network indicator of the first operator's network can be determined. Therefore, the embodiment of the present application determines the first weight of the network indicator of the first operator's network through the information utility value, which can ensure the objectivity of the indicator weight of the network indicator of the first operator's network determined by the capability integration module as much as possible.
[0125] However, at certain moments, the data of the network indicators of the first operator's network may have abnormal values, that is, the data of the network indicators of the first operator's network may have abnormal fluctuations that violate common sense at certain moments, resulting in the lack of accuracy of the indicator weights of the network indicators of the first operator's network determined by the first weights of the network indicators of the first operator's network, affecting the accuracy of the subsequent determination of the network quality of the first operator's network by the capability integration module. Therefore, the capability integration module can periodically score the data of the network indicators of the first operator's network based on the scoring experience rules to determine the second weights of the network indicators of the first operator's network, thereby reducing the impact of the abnormal fluctuations in the network indicator data on the indicator weights of the network indicators of the first operator's network and improving the reliability of the indicator weights of the network indicators determined by the capability integration module.
[0126] The capability integration module determines the indicator weight of the network indicator of the first operator's network based on the first weight and the second weight of the network indicator of the first operator's network. The capability integration module determines the indicator weight of the network indicator based on the first weight and the second weight of the network indicator, ensuring the accuracy of the subsequent capability integration module in determining the priority of the first operator.
[0127] As described above with respect to "S801", the capability integration module may determine the indicator weight corresponding to the network indicator based on the first weight corresponding to the network indicator of the first operator's network and the second weight corresponding to the network indicator of the first operator's network. That is, the indicator weight corresponding to the network indicator is obtained by processing the first weight corresponding to the network indicator of the first operator's network and the second weight corresponding to the network indicator of the first operator's network. In view of this, if Fig. 9 As shown, S801 provided in the embodiment of the present application can be implemented through the following S901.
[0128] S901. The capability integration module performs a multiplication comprehensive operation on a first weight corresponding to a network indicator of a first operator's network and a second weight corresponding to the network indicator of the first operator's network to obtain an indicator weight corresponding to the network indicator of the first operator's network.
[0129] Optionally, the indicator weight corresponding to the network indicator satisfies the following formula 1:
[0130]
[0131] Among them, H j * represents the indicator weight corresponding to the jth network indicator of the first operator’s network, W j * represents the first weight corresponding to the jth network indicator of the first operator’s network, Fj * Indicates a second weight corresponding to the j-th network indicator of the network of the first operator.
[0132] Furthermore, it is understandable that W j * W * =[W1 * , W2 * , W3 * , ..., W j * ] T Elements in; F j * F * =[F1 * , F2 * , F3 * , ..., F j * ] T The elements in .
[0133] Where W * is the weight vector composed of the first weight corresponding to the network index of the first operator’s network, F * A weight vector composed of second weights corresponding to the network indicators of the first operator's network.
[0134] As described above in relation to "S901", the capability integration module performs a multiplication and synthesis operation on the first weight corresponding to the network indicator of the first operator's network and the second weight corresponding to the network indicator of the first operator's network to obtain the indicator weight corresponding to the network indicator of the first operator's network. That is, the first weight corresponding to the network indicator is required in the process of the capability integration module determining the weight corresponding to the network indicator. In view of this, if Fig.10 As shown, the network switching method provided in the embodiment of the present application may also include the following S1001 to S1002.
[0135] S1001. The capability integration module determines the information utility value of the network indicator based on the network indicator.
[0136] Optionally, the network indicator is a network indicator of the first operator's network. The implementation process of the above S1001 may be: the capability integration module may obtain the information utility value of the network indicator, and standardize the data of each network indicator to eliminate the influence of unit differences on the calculation results. The capability integration module processes the data of the standardized network indicator to obtain a non-negative matrix, and calculates the proportion of the probability of a network indicator of the first operator (recorded as the first network indicator) in the sum of the probabilities of the first network indicators of each first operator through the elements in the non-negative matrix, that is, the relative entropy of the first network indicator of the first operator. The capability integration module processes the relative entropy of the first operator under the network indicator to obtain a probability matrix, and calculates the information entropy of the network indicator according to the relative entropy of the first operator under the network indicator. The capability integration module can calculate the information utility value of the network indicator according to the information entropy of the network indicator. The capability integration module can determine the information utility value of the network indicator of the first operator's network according to the above-mentioned relevant information utility value calculation step.
[0137] Optionally, the network index after normalization satisfies the following formula 2:
[0138]
[0139] Among them, X ij represents the jth network indicator of the ith first operator’s network, Z ij Represents data of the j-th network indicator of the network of the i-th first operator after normalization. Exemplarily, the data of the normalized network indicator is between [0,1], i=1,2,…n, j=1,2,…m, n represents n first operators, and m represents that each first operator's network has m network indicators.
[0140] Optionally, the non-negative matrix satisfies the following formula 3:
[0141]
[0142] Wherein, n is the nth first operator, and m is the mth network indicator of the network of the first operator.
[0143] Optionally, the relative entropy is as follows:
[0144]
[0145] Among them, P ij is the relative entropy of the jth first operator under the ith network metric.
[0146] Optionally, the information entropy is as follows:
[0147]
[0148] Among them, e j is the information entropy corresponding to the j-th network indicator.
[0149] Optionally, the information utility value is calculated as follows:
[0150] d j =1-e j Formula 6
[0151] Among them, d j is the information utility value corresponding to the j-th network indicator.
[0152] S1002: The capability integration module normalizes the information utility value of the network indicator to obtain a first weight corresponding to the network indicator.
[0153] Optionally, the first weight corresponding to the network indicator may satisfy the following formula 7:
[0154]
[0155] Where W j Represents the first weight corresponding to the j-th network indicator.
[0156] As described above with respect to "S901", the capability integration module needs to obtain the comprehensive indicator weight corresponding to the network indicator and the second weight corresponding to the network indicator. Fig.11 As shown, the network switching method provided in the embodiment of the present application may also include the following S1101 to S1102.
[0157] S1101. The capability integration module performs variance calculation on the scores of the network indicators to obtain the variance of the scores of the network indicators.
[0158] Among them, the scoring of network indicators is determined based on the scoring experience rules.
[0159] Optionally, the scoring matrix of the network indicator satisfies the following formula 8:
[0160]
[0161] Among them, G nj represents the score corresponding to the jth scoring experience rule of the nth network indicator,
[0162] That is, G nj It represents the jth score of the nth network indicator determined by the capability integration module based on the jth score experience rule. j = a, b, c, … j.
[0163] Optionally, the score variance of the network indicator satisfies the following formula 9:
[0164] σ n 2=(∑(X i -X mean ) 2 ) / N Formula 9
[0165] Among them, σ n 2 represents the score variance of the nth network indicator, X i represents the score corresponding to the i-th scoring empirical rule of the n-th network indicator, X mean Represents the mean of the scores of the nth network indicator, and N represents the number of scores of the nth network indicator. i=1,2,3,…N, n is a positive integer.
[0166] Optionally, the score variance matrix of the network indicator satisfies the following formula 10:
[0167]
[0168] S1102: The capability integration module determines a second weight corresponding to the network indicator based on the variance of the score of the network indicator.
[0169] Among them, the smaller the variance of the score of the network indicator is, the greater the second weight corresponding to the network indicator is.
[0170] Optionally, the variance of the network indicator score determines the distribution of the second weight of the network indicator, and the network indicator with a large score variance is assigned a smaller weight, and the network indicator with a small score variance is assigned a larger weight. Therefore, the second weight of the network indicator is calculated according to the score variance of the network indicator.
[0171] Optionally, the second weight of the network indicator satisfies the following formula 11:
[0172] The second weight of the nth network indicator = 1-σ n 2 / (∑σ n 2) Formula 11 where n is a positive integer.
[0173] It is understandable that the above-mentioned network switching method can be implemented by a network switching device. In order to realize the above-mentioned functions, the network switching device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments disclosed in the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments disclosed in this application.
[0174] The embodiments disclosed in the present application can divide the functional modules of the network switching device generated by the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments disclosed in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0175] Fig.12 The structure diagram of a network switching device provided by an embodiment of the present invention is shown in FIG. Fig.12 As shown, the network switching device 120 can be used to perform Figure 5-Figure 11 The network switching method shown. The network switching device 120 includes: a communication unit 1201 and a processing unit 1202.
[0176] The processing unit 1202 is used to determine the priority of at least one first operator when there is an abnormality in the network currently accessed by the vehicle, where the first operator is an operator to which the network called through the application programming interface API belongs, and there is no abnormality in the network of the first operator. The higher the priority of the first operator, the higher the network quality of the network of the first operator;
[0177] The communication unit 1201 is configured to call the network capability of the second operator to the capability exposure gateway of the second operator through an API, wherein the second operator is a first operator with the highest priority among the at least one first operator.
[0178] In one possible implementation, the communication unit 1201 is further used to obtain network indicators of the network of each first operator among at least one first operator; the processing unit 1202 is further used to determine the network quality of each first operator's network based on the network indicators of each first operator's network; the processing unit 1202 is further used to configure a corresponding priority for each first operator based on the network quality of each first operator's network.
[0179] In a possible implementation, the processing unit 1202 is further configured to perform weighted summation on the network indicators of the first operator's network based on indicator weights corresponding to the network indicators of the first operator's network to obtain the network quality of the first operator's network.
[0180] In one possible implementation, the processing unit 1202 is also used to determine the indicator weight corresponding to the network indicator based on the first weight corresponding to the network indicator and the second weight corresponding to the network indicator, wherein the first weight is determined based on the information utility value of the network indicator, and the second weight is determined based on the score of the network indicator.
[0181] In a possible implementation, the processing unit 1202 is further configured to perform a multiplication operation on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator to obtain an indicator weight corresponding to the network indicator.
[0182] In a possible implementation, the processing unit 1202 is further used to determine the information utility value of the network indicator based on the network indicator; the processing unit 1202 is further used to normalize the information utility value of the network indicator to obtain a first weight corresponding to the network indicator.
[0183] In one possible implementation, the processing unit 1202 is further used to perform a variance operation on the score of the network indicator to obtain the variance of the score of the network indicator, wherein the score of the network indicator is determined based on a scoring empirical rule; the processing unit 1202 is further used to determine a second weight corresponding to the network indicator based on the variance of the score of the network indicator, and the smaller the variance of the score of the network indicator, the larger the second weight corresponding to the network indicator.
[0184] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0185] The present disclosure also provides a computer-readable storage medium having instructions stored thereon. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the network switching method provided by the above-mentioned embodiment of the present disclosure.
[0186] The embodiments of the present disclosure also provide a computer program product including instructions, which, when executed on an electronic device, enables the electronic device to execute the network switching method provided by the embodiments of the present disclosure.
[0187] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0188] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A network switching method, characterized in that: include: In the case that the network currently accessed by the vehicle has an abnormality, determining the priority of at least one first operator, where the first operator is an operator to which the network called through the application programming interface API belongs, and there is no abnormality in the network of the first operator. The higher the priority of the first operator, the higher the network quality of the network of the first operator; The network capability of the second operator is called to the capability exposure gateway of the second operator through an API, wherein the second operator is a first operator with the highest priority among the at least one first operator.
2. The method according to claim 1, characterized in that The determining the priority of at least one first operator includes: Acquire network indicators of a network of each first operator among the at least one first operator; Determine the network quality of each first operator's network based on the network indicator of each first operator's network; A corresponding priority is configured for each first operator based on the network quality of the network of each first operator.
3. The method according to claim 2, characterized in that The determining the network quality of the network of each first operator based on the network indicator of the network of each first operator includes: Based on the indicator weight corresponding to the network indicator of the network of the first operator, the network indicator of the network of the first operator is weightedly summed to obtain the network quality of the network of the first operator.
4. The method according to claim 3, characterized in that The method further comprises: The indicator weight corresponding to the network indicator is determined based on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator, wherein the first weight is determined based on the information utility value of the network indicator, and the second weight is determined based on the score of the network indicator.
5. The method according to claim 4, characterized in that The determining the indicator weight corresponding to the network indicator based on the first weight corresponding to the network indicator and the second weight corresponding to the network indicator includes: A multiplication operation is performed on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator to obtain an indicator weight corresponding to the network indicator.
6. The method according to claim 4 or 5, characterized in that: The method further comprises: Determining an information utility value of the network indicator based on the network indicator; The information utility value of the network indicator is normalized to obtain a first weight corresponding to the network indicator.
7. The method according to claim 4 or 5, characterized in that: The method further comprises: Performing a variance operation on the score of the network indicator to obtain the variance of the score of the network indicator, wherein the score of the network indicator is determined based on a scoring empirical rule; The second weight corresponding to the network indicator is determined based on the variance of the score of the network indicator. The smaller the variance of the score of the network indicator is, the larger the second weight corresponding to the network indicator is.
8. A network switching device, characterized in that: The network switching device comprises: a communication unit and a processing unit; The processing unit is configured to determine the priority of at least one first operator when an abnormality exists in a network currently accessed by the vehicle, wherein the first operator is an operator to which a network called through an application programming interface API belongs, and the network of the first operator does not have an abnormality, and the higher the priority of the first operator, the higher the network quality of the network of the first operator; The communication unit is used to call the network capability of the second operator to the capability exposure gateway of the second operator through the API, wherein the second operator is the first operator with the highest priority among the at least one first operator.
9. The device according to claim 8, characterized in that The communication unit is further configured to obtain a network indicator of a network of each first operator among the at least one first operator; The processing unit is further configured to determine the network quality of the network of each first operator based on the network indicator of the network of each first operator; The processing unit is further configured to configure a corresponding priority for each first operator based on the network quality of the network of each first operator.
10. The device according to claim 9, characterized in that The processing unit is further configured to perform weighted summation of the network indicators of the first operator's network based on indicator weights corresponding to the network indicators of the first operator's network to obtain the network quality of the first operator's network.
11. The device according to claim 10, characterized in that The processing unit is further used to determine the indicator weight corresponding to the network indicator based on a first weight corresponding to the network indicator and a second weight corresponding to the network indicator, wherein the first weight is determined based on the information utility value of the network indicator, and the second weight is determined based on the score of the network indicator.
12. The device according to claim 11, characterized in that The processing unit is further used to perform a multiplication and comprehensive operation on the first weight corresponding to the network indicator and the second weight corresponding to the network indicator to obtain the indicator weight corresponding to the network indicator.
13. The device according to claim 11 or 12, characterized in that The processing unit is further used to determine the information utility value of the network indicator based on the network indicator; The processing unit is further used to normalize the information utility value of the network indicator to obtain a first weight corresponding to the network indicator.
14. The device according to claim 11 or 12, characterized in that The processing unit is further used to perform a variance operation on the score of the network indicator to obtain the variance of the score of the network indicator, wherein the score of the network indicator is determined based on a scoring empirical rule; The processing unit is further configured to determine a second weight corresponding to the network indicator based on a variance of the score of the network indicator, wherein the smaller the variance of the score of the network indicator is, the larger the second weight corresponding to the network indicator is.
15. A network switching device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the network switching method as described in any one of claims 1-7.
16. A computer-readable storage medium having instructions stored therein, characterized in that: When a computer executes the instruction, the computer executes the network switching method described in any one of claims 1 to 7.