A link switching method, apparatus and device

By acquiring environmental and business information and combining it with communication link capability description files, the target link is dynamically switched, solving the communication stability and continuity issues between vehicle terminals and mobile terminals in complex signal environments. This achieves seamless and smooth transition and intelligent resource allocation, thereby improving the user experience.

CN123123969APending Publication Date: 2026-11-17XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611468742.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-20
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

The existing interconnection and communication system between vehicle terminals and mobile terminals cannot dynamically match transmission resources to meet the differentiated service quality requirements of different services. This results in insufficient communication stability and continuity in complex signal environments, especially in areas with signal interference such as tunnels or underground parking garages, where link degradation and disconnection are prone to occur, making seamless switching impossible.

Method used

By acquiring environment type information and business information, combined with the capability description file of the communication link, the target communication link is dynamically determined, and the link quality changes are proactively predicted based on the environment type information, so as to achieve a smooth switch from the current communication link to the target communication link, establish a unified evaluation and scheduling basis for multi-protocol links, and realize intelligent adaptation and allocation of link resources.

Benefits of technology

Achieving seamless and smooth transitions in complex signal environments enhances the communication stability and continuity of vehicle terminals and mobile terminals across all scenarios, optimizes user communication experience, strengthens service assurance capabilities, and avoids the problems of disconnection and poor resource adaptability in traditional single-link transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123969A_ABST
    Figure CN123123969A_ABST
Patent Text Reader

Abstract

This disclosure relates to a link switching method, apparatus, and device, relating to the field of automotive technology. The method involves: acquiring environmental type information and service information; determining the target communication link for each currently running service based on the service information and the capability description file of each communication link; and switching from the current communication link of each currently running service to the corresponding target communication link based on the environmental type information. This solution manages multiple types of communication links uniformly through capability description files, intelligently matching the optimal link based on service requirements and environmental awareness, achieving multi-link collaborative scheduling and seamless switching. It solves the problems of easy disconnection and poor resource adaptability in single-link transmission, improving the stability and continuity of in-vehicle interconnection communication. Applied to the field of smart cockpits, this solution can adapt to the differentiated communication needs of multiple cockpit services, achieving seamless link switching in complex scenarios, avoiding lag and disconnection, significantly improving the stability of in-vehicle communication, and providing users with a smooth cockpit interaction experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of automotive technology, and more specifically, to a link switching method, apparatus, and device. Background Technology

[0002] In the interconnection and communication scenarios between vehicle terminals and mobile terminals, the current mainstream solutions generally adopt a single-link transmission mode of Bluetooth or wireless network. When the vehicle enters areas with strong signal interference such as tunnels or underground parking garages, this single communication link is prone to quality degradation or even direct disconnection.

[0003] The existing interconnection and communication system between vehicle terminals and mobile terminals cannot dynamically match transmission resources to meet the differentiated service quality requirements of different services, resulting in a significant deficiency in the ability to guarantee continuous communication services. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides a link switching method, apparatus and device.

[0005] According to a first aspect of the present disclosure, a link switching method is provided, the method comprising: Obtain environment type information and business information; Based on the aforementioned service information and the capability description files of each communication link, the target communication links for each currently running service are determined. Based on the environment type information, the current communication link of each currently running service is switched to the corresponding target communication link.

[0006] According to a second aspect of the present disclosure, a link switching apparatus is provided, the apparatus comprising: The acquisition unit is used to acquire environment type information and business information; The determining unit is used to determine the target communication links for each currently running service based on the service information and the capability description files of each communication link. The switching unit is used to switch from the current communication link of each currently running service to the corresponding target communication link based on the environment type information.

[0007] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor executes the instructions to implement the link switching method described in any of the technical solutions of the first aspect above.

[0008] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which computer instructions are stored, which, when executed by a processor of an electronic device, implement the link switching method described in any of the technical solutions of the first aspect.

[0009] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the link switching method as described in any of the technical solutions of the first aspect above.

[0010] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: In this embodiment, by acquiring environment type information and service information, and combining the service information with the capability description files of each communication link, the target communication link corresponding to each current service is determined. Furthermore, based on the environment type information, the switch from the current communication link to the target communication link is completed. Unlike the traditional fixed single-link transmission mode, this solution uniformly organizes and manages the capability information of different communication links based on the capability description files of each communication link, establishing a unified evaluation and scheduling foundation for multi-protocol links. This allows for precise matching of differentiated transmission requirements of different services, achieving intelligent adaptation and allocation of link resources. This approach completely eliminates the limitations of single-link transmission, adapting to complex and highly interfering communication scenarios such as tunnels and underground parking garages. It proactively predicts link quality changes based on environment type information and initiates switching, eliminating the need for manual reconnection by the user. It can complete service link migration in advance when the link is about to deteriorate, achieving a seamless and smooth transition of communication services. This effectively solves the problems of easy disconnection, delayed recovery, and poor resource adaptability in traditional single-link transmission, significantly improving the communication stability and continuity of the full-scenario interconnection between vehicle terminals and mobile terminals, optimizing the user's seamless communication experience, and strengthening the service guarantee capabilities of vehicle-to-everything (V2X) communication.

[0011] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0012] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0013] Figure 1 This is a flowchart illustrating a link switching method according to an exemplary embodiment of the present disclosure.

[0014] Figure 2 This is a schematic diagram illustrating the determination of a target communication link according to an exemplary embodiment of the present disclosure.

[0015] Figure 3This is a schematic diagram illustrating the determination of a target communication link according to an exemplary embodiment of the present disclosure.

[0016] Figure 4 This is a schematic diagram illustrating a link allocation scheme based on priority, according to an exemplary embodiment of this disclosure.

[0017] Figure 5 This is a schematic diagram illustrating dynamic adjustment of service priorities according to an exemplary embodiment of this disclosure.

[0018] Figure 6 This is a schematic diagram illustrating a priority quantity constraint according to an exemplary embodiment of the present disclosure.

[0019] Figure 7 This is a schematic diagram illustrating the determination of an initial priority according to an exemplary embodiment of the present disclosure.

[0020] Figure 8 This is a schematic diagram illustrating excess priority downgrading according to an exemplary embodiment of the present disclosure.

[0021] Figure 9 This is a schematic diagram illustrating the determination of the total link capability score according to an exemplary embodiment of this disclosure.

[0022] Figure 10 This is a schematic diagram illustrating the calculation of the comprehensive matching score according to an exemplary embodiment of the present disclosure.

[0023] Figure 11 This is a schematic diagram illustrating global link allocation optimization according to an exemplary embodiment of the present disclosure.

[0024] Figure 12 This is a schematic diagram illustrating secondary adaptation in a multi-service, low-link scenario according to an exemplary embodiment of this disclosure.

[0025] Figure 13 This is a schematic diagram illustrating the determination of link switching timing according to an exemplary embodiment of the present disclosure.

[0026] Figure 14 This is a schematic diagram illustrating seamless parallel switching of dual links according to an exemplary embodiment of the present disclosure.

[0027] Figure 15 This is a schematic diagram illustrating a fallback mechanism for link switching according to an exemplary embodiment of this disclosure.

[0028] Figure 16 This is a schematic diagram illustrating an update capability description file according to an exemplary embodiment of this disclosure.

[0029] Figure 17 This is a schematic diagram illustrating an update capability description file according to an exemplary embodiment of this disclosure.

[0030] Figure 18 This is a schematic diagram of a multi-communication link switching system according to an exemplary embodiment of the present disclosure.

[0031] Figure 19 This is a block diagram illustrating a link switching device according to an exemplary embodiment of the present disclosure.

[0032] Figure 20 This is a schematic diagram of the structure of a vehicle according to an exemplary embodiment of the present disclosure.

[0033] Figure 21 This is a functional block diagram of an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation

[0034] Some exemplary embodiments of this disclosure will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. Various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will become apparent upon understanding this disclosure. For example, the order of operations described herein is merely illustrative and is not limited to those orders set forth herein, but can be changed as will become apparent upon understanding this disclosure, except for operations that must be performed in a particular order. Furthermore, for clarity and brevity, descriptions of features known in the art may be omitted.

[0035] The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0036] Currently, with the rapid development of automotive intelligence and mobile terminal technology, the interconnection between mobile phones and in-vehicle systems has become a core capability of smart cockpits. This enables cross-device collaborative services across multiple scenarios, such as navigation transitions, music playback, screen projection, and voice calls, significantly enhancing the user's travel experience. The industry has already established a technology system for interconnecting in-vehicle and mobile terminals based on various wireless protocols such as Bluetooth, WiFi, and near-field communication. Various solutions achieve connection and data interaction between mobile phones and in-vehicle systems through different communication links, and are widely used in various smart vehicle models.

[0037] However, existing technologies generally adopt an architecture that uses a single communication link to carry all business data. Even if some solutions support multiple communication protocols, each link can only work independently and lacks a global collaborative scheduling mechanism. This makes it difficult to adapt to the complex and ever-changing wireless signal environment during vehicle operation, and the connection stability and service experience between vehicle terminals and mobile terminals have always been significant shortcomings.

[0038] These solutions typically rely solely on a single link in Bluetooth or Wi-Fi for all data transmission. When a vehicle enters areas with strong signal interference, such as tunnels or underground parking garages, the quality of the current link deteriorates rapidly. Since there is no backup link to quickly take over the service, the user must manually trigger a reconnection after the link is completely lost, easily leading to issues like screen mirroring stuttering, audio interruptions, and navigation data packet loss. Furthermore, the capability description systems of different communication protocols are independent, lacking a unified standardized measurement dimension. The system cannot uniformly quantify and compare core indicators such as bandwidth, latency, and stability of different links, making it difficult to achieve cross-protocol global resource coordination. With all service data—navigation, music, screen mirroring, voice calls, etc.—transmitted on the same communication link, the differentiated needs of different services cannot be specifically met. Various services compete for limited link resources, ultimately resulting in an unoptimized experience for all services. Furthermore, existing interconnected systems cannot predict link quality changes in advance by combining geographical environment information of vehicle travel. They cannot complete link switching and resource pre-configuration before the vehicle enters a weak signal coverage area. They can only passively remedy the situation after the link has been disconnected and the service has been interrupted. In addition, the lack of multi-link parallel pre-connection and seamless service migration mechanisms results in obvious service interruptions and data packet loss during link switching, making it impossible to achieve millisecond-level seamless switching between different links.

[0039] The steps of the method in the exemplary embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings and examples.

[0040] Figure 1 This is a flowchart illustrating a link switching method according to an exemplary embodiment of the present disclosure.

[0041] like Figure 1 As shown, in some embodiments, the link switching method of this disclosure may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0042] In step S101, environment type information and business information are obtained.

[0043] In this embodiment, the environment type information is generated by a multi-dimensional fusion of the device's built-in sensing module, location data, multi-link signal quality sampling values, and pre-stored spatial environment tags. This serves as a structured output for scene recognition, accurately classifying typical communication environments such as enclosed signal-obstructed spaces, densely populated equipment interference areas, open public spaces, weak building signal coverage areas, and cross-route roaming scenarios. For each environment type, pre-calibration and modeling of link interference intensity distribution, signal attenuation variation patterns, and wireless signal penetration loss characteristics have been completed, providing accurate environmental-side decision-making basis for subsequent multi-link collaborative scheduling. For example, in a vehicle-mounted scenario, the environment type information includes tunnels, underground parking garages, and highways.

[0044] In this embodiment, the service information refers to standardized resource requirement parameters generated by the device system for currently resident operational services. This service information includes common service types such as real-time navigation, high-definition audio and video calls, multi-screen high-definition projection, high-fidelity audio and video playback, remote device control command issuance, and background device data synchronization. The system uniformly collects quantitative requirements for each service type across four dimensions: minimum bandwidth threshold, maximum tolerable latency, minimum reliability requirements, and jitter tolerance, forming a structured service requirement pool. This avoids fuzzy matching of communication requirements for different services and ensures the accuracy of subsequent link matching. For example, in an in-vehicle scenario, this service information includes resource requirement parameters for dedicated services such as cockpit navigation flow, in-vehicle calls, and remote vehicle control.

[0045] In step S102, the target communication links for each currently running service are determined based on the service information and the capability description files of each communication link.

[0046] In this embodiment of the disclosure, the capability description files of each communication link can be obtained, and then combined with service information, the real-time performance of the link, theoretical upper limit, service requirements, and service importance are comprehensively considered to match the target communication link with the highest comprehensive adaptability, optimal transmission stability, and highest resource utilization for each vehicle-mounted real-time operation service. Finally, the set of target communication links corresponding to all services is output to provide accurate decision results for subsequent link switching.

[0047] In step S103, based on the environment type information, the current communication link of each currently running service is switched to the corresponding target communication link.

[0048] In this embodiment, based on environmental type information, i.e., the environmental interference characteristics of the current scenario, the link quality degradation inflection point and optimal switching time are intelligently predicted to avoid passive disconnection and subsequent switching. After confirming that the target link is stable, meets the requirements for continuous service transmission, and the switching time is ripe, each service is smoothly switched from the current communication link with degraded performance to the pre-allocated target communication link, ensuring that the vehicle service is uninterrupted, uninterrupted, and without data loss throughout the process.

[0049] In this embodiment, by acquiring environment type information and service information, and combining the service information with the capability description files of each communication link, the target communication link corresponding to each current service is determined. Furthermore, based on the environment type information, the switch from the current communication link to the target communication link is completed. Unlike the traditional fixed single-link transmission mode, this solution uniformly organizes and manages the capability information of different communication links based on the capability description files of each communication link, establishing a unified evaluation and scheduling foundation for multi-protocol links. This allows for precise matching of differentiated transmission requirements of different services, achieving intelligent adaptation and allocation of link resources. This approach completely eliminates the limitations of single-link transmission, adapting to complex and highly interfering communication scenarios such as tunnels and underground parking garages. It proactively predicts link quality changes based on environment type information and initiates switching, eliminating the need for manual reconnection by the user. It can complete service link migration in advance when the link is about to deteriorate, achieving a seamless and smooth transition of communication services. This effectively solves the problems of easy disconnection, delayed recovery, and poor resource adaptability in traditional single-link transmission, significantly improving the communication stability and continuity of the full-scenario interconnection between vehicle terminals and mobile terminals, optimizing the user's seamless communication experience, and strengthening the service guarantee capabilities of vehicle-to-everything (V2X) communication.

[0050] In some implementations, in Figure 1 Based on the link switching method shown, before information collection in step S101, a capability description file corresponding to each communication link can also be constructed.

[0051] In this embodiment, the Communication Link Description File (CLDF) establishes a structured capability profile in a unified format for each available communication link. This breaks down the capability description barriers between different communication protocols. It converts the core attributes of links such as Bluetooth, Wireless Fidelity (WiFi), 5th Generation Mobile Communication Technology (5G), Ultra Wide Band (UWB), Universal Serial Bus (USB), and Near Field Communication (NFC), which originally used independent measurement systems, into standardized quantitative fields that can be compared horizontally. This allows the system to quickly sort and filter the capabilities of all links without having to customize identification logic for different protocols, just like reading a unified format capability profile.

[0052] In this embodiment of the disclosure, the capability description file includes at least one of the following: link unique identifier, link type, protocol version, core link capability parameters, supported service types, environmental sensitivity, handover capability, and security capability; the core link capability parameters include at least one of the following: bandwidth capability, latency characteristics, reliability indicators, power consumption characteristics, and coverage range.

[0053] Specifically, a capability description document covers the following items: Basic Information: including link type (Bluetooth / WiFi / 5G / UWB / USB / NFC) and protocol version, equivalent to the name and education in a resume, used to quickly identify the basic identity attributes of the link; Bandwidth Capability: including maximum bandwidth and typical bandwidth, used to measure how much data the link can transmit at most; Latency Characteristics: including minimum latency, maximum latency, and typical latency, used to measure how fast the link responds; Reliability Indicators: including packet loss rate and connection stability, used to measure how reliable the link's transmission is; Power Consumption Characteristics: including active state power consumption and idle state power consumption, used to measure how power-consuming the link is; Coverage Range: i.e., maximum transmission distance, used to measure how far the link can transmit; Supported Service Types: including audio, data, voice, screen projection, location, authentication, and other service types, clearly defining what the link can do; Environmental Sensitivity: including anti-interference capability and wall penetration capability, used to measure how susceptible the link is to interference; Switching Capability: including switching time, whether seamless switching is supported, and whether dual-link parallel operation is supported, used to measure how quickly the link can switch tasks; Security Capability: including whether encryption and authentication methods are supported, used to measure the security of the link.

[0054] And, the key fields of the capability description file are explained as follows: link_id: unique identifier of the link, used for link identification and management; link_type: link type (Bluetooth / WiFi / 5G / UWB / USB / NFC, etc.); version: protocol version, used for compatibility judgment; capabilities: core capability parameters of the link, further including: (1) bandwidth: bandwidth capability (maximum value, typical value); (2) latency: latency characteristics (minimum value, maximum value, typical value); (3) reliability: reliability indicators (packet loss rate, connection stability); (4) power_consumption: power consumption characteristics (active and idle state power consumption); (5) range: coverage area; supported_services: supported service types; environment_sensitivity: environmental sensitivity (anti-interference capability, penetration capability); switching_capabilities: switching capability (switching time, seamless switching support, dual link support); security: security capability (encryption support, authentication method, security level).

[0055] For example, the capability description profile of Bluetooth 5.3 is: { "link_id": "bluetooth_5.3_001", "link_type": "bluetooth", "version": "5.3", "capabilities": { "bandwidth": { "max": 3.0, "typical": 2.5, "unit": "Mbps"}, "latency": { "min": 10, "max": 100, "typical": 30, "unit": "ms"}, "reliability": { "packet_loss_rate": 0.01, "connection_stability":0.95}, "power_consumption": { "active": 100, "idle": 10, "unit": "mW"}, "range": { "max": 100, "unit": "meters"} }, "supported_services": ["audio", "data", "voice"], "environment_sensitivity": { "interference_resistance": 0.7, "obstacle_penetration": 0.6}, "switching_capabilities": { "handover_time": 500, "seamless_support":true, "dual_link_support": true}, "security": { "encryption": "AES-128", "auth_method": "pairing", "security_level": 2} }.

[0056] Through the aforementioned capability description files, the link capabilities of different communication protocols are uniformly mapped to the same structured description system. The system can directly perform horizontal capability comparison and sorting of all available links, providing a unified decision-making benchmark for subsequent intelligent link scheduling based on business needs and environmental conditions.

[0057] Figure 2 This is a schematic diagram illustrating the determination of a target communication link according to an exemplary embodiment of the present disclosure.

[0058] like Figure 2 As shown, in some embodiments, in Figure 1 Based on the link switching method shown, Figure 1 Step S102 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0059] In step S201, the total capability score of each communication link is determined based on the capability description file and the actual test data of each link.

[0060] In this embodiment of the disclosure, the nominal parameters of the core capability parameters of the corresponding communication link are extracted from the capability description file of each communication link.

[0061] In some implementations, all currently available, connectable, and hardware-fault-free communication links can be traversed, and the capability description files stored locally can be read one by one. The nominal static parameters of the four core capabilities of each communication link—bandwidth, latency, reliability, and power consumption—can be extracted in batches, including the theoretical maximum value, theoretical minimum value, and standard typical value for each dimension, providing a unified benchmark for subsequent link capability scoring.

[0062] In this embodiment of the disclosure, the measured data of the link is obtained, and the total capability score of each communication link is determined by combining the measured data of the link with the nominal parameters of the core capability parameters of the link.

[0063] In some embodiments, link measurement data can be acquired in real time, including real-world operating data such as the actual effective bandwidth, actual transmission delay, real-time packet loss rate, and actual operating power consumption of each link under the current environment. The system compares and converts the real-time acquired dynamic measurement data with the extracted static nominal parameters to obtain the total capability score for each communication link. This total capability score can be used to quantitatively reflect the actual availability performance of the link under the current environment.

[0064] In step S202, the business information is broken down to determine the sub-requirement information corresponding to each currently running business.

[0065] In this embodiment of the disclosure, the service information of each real-time running vehicle service is standardized and decoupled, and uniformly decomposed into four independent dimensions of sub-requirement information: bandwidth sub-requirement, latency sub-requirement, reliability sub-requirement, and jitter tolerance sub-requirement. Each dimension clearly marks the minimum threshold required for the normal operation of the service.

[0066] For example, navigation services require a bandwidth of no less than 2Mbps, latency of no more than 200ms, packet loss rate of no more than 0.1%, and high jitter tolerance; high-definition screen projection services require a bandwidth of no less than 20Mbps, latency of no more than 100ms, and packet loss rate of no more than 1%; in-vehicle communication services require a bandwidth of no less than 0.1Mbps, latency of no more than 50ms, packet loss rate of no more than 0.5%, and low jitter tolerance; remote vehicle control services require a bandwidth of no less than 0.01Mbps, latency of no more than 50ms, and packet loss rate of no more than 0.01%; lossless music services require a bandwidth of no less than 1Mbps, latency of no more than 150ms, and packet loss rate of no more than 1%; and background data synchronization services require a bandwidth of no less than 10Mbps, latency of no more than 1000ms, and packet loss rate of no more than 5%.

[0067] In step S203, the target communication links corresponding to each currently running service are determined based on the total capability score of each communication link and the sub-requirement information corresponding to each currently running service.

[0068] In this embodiment of the disclosure, the total capability score of each link is first determined based on the capability description file of each communication link and the actual test data of the link. Then, the service information is split and processed to obtain the sub-requirement information corresponding to each service. Finally, the target communication link corresponding to each service is obtained by accurately matching the total link capability score with the sub-requirement information of each service. This breaks the limitation that traditional cross-protocol links cannot be uniformly quantified and evaluated, and allows services with different resource requirements to be matched with the most suitable transmission channel, thus optimizing the rationality of multi-link resource allocation from a global perspective.

[0069] Figure 3 This is a schematic diagram illustrating the determination of a target communication link according to an exemplary embodiment of the present disclosure.

[0070] like Figure 3 As shown, in some embodiments, in Figure 2 Based on the determination of the target communication link shown, Figure 2 Step S203 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0071] In step S301, according to the preset matching rules, the sub-requirement information of each currently running service is matched with the total capability score of each communication link to determine the comprehensive matching score between the service and the communication link.

[0072] In this embodiment of the disclosure, the system calls the preset dimension matching rules to match each dimension sub-requirement of each service with the total capability score of each communication link one by one, and finally determines the unique comprehensive matching score of each "service-communication link". The comprehensive matching score is used to quantitatively characterize the overall adaptability of the link to the current service.

[0073] In step S302, a link allocation scheme is determined based on the obtained comprehensive matching score.

[0074] In this embodiment of the disclosure, the comprehensive matching score of all services and all available links is aggregated. A global overall optimization logic is adopted, taking into account the resource upper limit of each link, service adaptability, and resource conflict constraints, to initially generate the globally optimal service-link matching relationship and form a link allocation scheme.

[0075] In step S303, the target communication links corresponding to each currently running service are determined based on the link allocation scheme.

[0076] In this embodiment of the disclosure, the optimal communication link matched for each service in the link allocation scheme is determined as the target communication link corresponding to that service, providing a clear decision basis for subsequent link switching.

[0077] In this embodiment, the standardized quantitative evaluation of link capabilities is completed by extracting the nominal parameters of the link and combining them with real-time measured data. After decomposing the business requirements into multi-dimensional sub-requirements, the business and the link are matched dimension by dimension. A link allocation scheme is generated through global planning, which solves the problems of the inability to compare the capabilities of different communication protocols horizontally and the mismatch between business requirements and link capabilities. Under the current environmental constraints, the communication link with the highest adaptability can be matched for each business, which greatly improves the utilization rate of link resources.

[0078] Figure 4 This is a schematic diagram illustrating a link allocation scheme based on priority, according to an exemplary embodiment of this disclosure.

[0079] like Figure 4 As shown, in some embodiments, in Figure 3 Based on the determination of the target communication link shown, Figure 3 Step S302 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0080] In step S401, the priority information of each currently running service is determined.

[0081] In this embodiment, the priority information of each currently running service can be determined. This priority information is used to clarify the order in which different in-vehicle services are allocated link resources, ensure switching timing, and prioritize resources in abnormal scenarios. For example, navigation and remote vehicle control services related to driving safety are always given the highest priority. Services such as calls and voice assistants that the user is currently interacting with can have their priority dynamically increased. Low-priority background data synchronization services can flexibly relinquish resources when resources are scarce. Ultimately, this achieves a differentiated guarantee mechanism where core services prioritize securing high-quality link resources, while non-core services adapt as needed, avoiding the situation where all services compete for resources equally, which could damage the experience of core services.

[0082] In step S402, a link allocation scheme is determined based on priority information and comprehensive matching score.

[0083] In this embodiment, after determining the priorities of all services, all currently running services are first sorted from highest to lowest priority, prioritizing the resource needs of high-priority services by matching them with candidate links that have higher overall matching scores. Based on satisfying the priority allocation constraints of each service, the matching relationship between all services and candidate communication links is then comprehensively optimized to determine the globally optimal link allocation scheme. This avoids the waste of overall resources and the problem of local optima caused by matching only the optimal link for a single service.

[0084] In this embodiment of the disclosure, by combining service priority and comprehensive matching score to carry out link allocation, the transmission stability of high-priority core services is guaranteed, and the communication resources of all links are maximized through global planning. Under the condition of limited link resources, the overall service experience of the whole vehicle can be optimized globally.

[0085] Figure 5 This is a schematic diagram illustrating dynamic adjustment of service priorities according to an exemplary embodiment of this disclosure.

[0086] like Figure 5 As shown, in some embodiments, in Figure 4 Based on the link allocation scheme determined by priority as shown, Figure 5 Step S401 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0087] In step S501, preset business basic priority information is obtained.

[0088] In this embodiment of the disclosure, the system pre-defines the basic priority information of the core in-vehicle services. For example, the navigation service typically has the highest priority, the in-vehicle call and remote vehicle control services typically have a high priority, the voice assistant service typically has a medium-high priority, the high-definition screen projection service typically has a medium priority, the lossless music playback service typically has a low priority, and the background data synchronization service typically has the lowest priority.

[0089] In step S502, based on user interaction service information, the basic priority information of services is dynamically adjusted to determine the priority information of each currently running service.

[0090] In this embodiment of the disclosure, the service priority is not fixed, but is dynamically adjusted according to the user's real-time interaction behavior to ensure that the service currently being used by the user can obtain link resources first.

[0091] In this embodiment of the disclosure, by using a mechanism that combines preset basic priority information with dynamic adjustment based on real-time user interaction, the drawback of fixed priority failing to respond to real-time user needs is avoided. Resources can be dynamically allocated based on the user's current operation, ensuring the user experience of core interactive services.

[0092] Figure 6 This is a schematic diagram illustrating a priority quantity constraint according to an exemplary embodiment of the present disclosure.

[0093] like Figure 6 As shown, in some embodiments, in Figure 6 Based on the dynamic adjustment of business priorities shown, Figure 5 Step S502 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0094] In step S601, the initial priority of each currently running service is determined.

[0095] In this embodiment of the disclosure, the initial priority is the result of a preliminary adjustment of the priority based on the basic priority and user interaction behavior.

[0096] In step S602, the initial priority is subject to priority constraint processing based on the quantity limit, which represents the maximum number of services that are allowed to be at the highest priority at the same time.

[0097] In this embodiment of the disclosure, the system presets that at most two services can be at the highest priority at any given time. This upper limit is configured according to the overall resource carrying capacity of the vehicle communication link to avoid scheduling chaos caused by too many services competing for the highest priority at the same time, and to ensure that truly urgent core services can stably obtain the optimal link resources.

[0098] In step S603, the priority obtained after constraint processing is determined as the priority information of each currently running service.

[0099] In this embodiment of the disclosure, the priority result after the quantity limit constraint adjustment is more reasonable. It not only ensures the priority experience of user interaction services, but also limits the number of highest priority services, avoiding the scheduling dilemma of "all highest priority is equal to no priority", and provides a clear priority basis for the orderly allocation of subsequent link resources.

[0100] Figure 7 This is a schematic diagram illustrating the determination of an initial priority according to an exemplary embodiment of the present disclosure.

[0101] like Figure 7 As shown, in some embodiments, in Figure 6 Based on the priority quantity constraints shown, Figure 6 Step S602 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0102] In step S701, the business basic priority information is used as a basis to traverse each currently running business.

[0103] In step S702, for the target service that has been traversed, if the target service belongs to the service that the user is currently interacting with, the priority of the target service is increased.

[0104] In some implementations, for example, when a user is on a car call, the call priority is increased from high to highest; when a user is sending commands through a voice assistant, the voice assistant priority is increased from medium-high to high; when a user is selecting a navigation destination on the screen mirroring interface, the screen mirroring priority is increased from medium to medium-high; and services without user interaction maintain their basic priority.

[0105] In step S703, after completing the traversal of all currently running services, the initial priority of each service is obtained.

[0106] In this embodiment of the disclosure, by traversing each service and prioritizing interactions, the services that the user is currently using can be quickly identified and given priority, ensuring that services that the user interacts with in real time can receive better resource guarantees, while the basic priority rules guarantee the priority baseline for security-related services.

[0107] Figure 8 This is a schematic diagram illustrating excess priority downgrading according to an exemplary embodiment of the present disclosure.

[0108] like Figure 8 As shown, in some embodiments, in Figure 6Based on the priority quantity constraints shown, Figure 6 Step S602 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0109] In step S801, the number of services with the highest priority in the initial priority is counted.

[0110] In step S802, in response to the number of services with the highest priority exceeding the upper limit, the priority of non-security services is lowered until the number of services with the highest priority does not exceed the upper limit.

[0111] In this embodiment, each time priority is lowered, the service with the lowest interaction and lowest overall importance among the non-security categories in the current highest priority category is selected, and its priority is lowered by one level. This statistical and downgrading operation is repeated until the number of highest priority services does not exceed a preset limit. During the process, the priority of security services is never lower than the preset minimum priority level, ensuring that services related to driving safety, such as navigation and remote vehicle control, are not excessively downgraded due to priority competition.

[0112] For example, if navigation, in-vehicle calling, and HD screen mirroring are all at the highest priority at a certain time, and the preset limit is 2, then the non-safety-related HD screen mirroring service will be downgraded one level to medium-high priority, so that the number of highest priority services is restored to 2.

[0113] In step S803, in response to the number of services with the highest priority being less than or equal to the upper limit, the priority of each service remains unchanged.

[0114] In this embodiment of the disclosure, by using the constraint rules of prioritizing non-security services and guaranteeing the priority of security services, the number of highest priority services is satisfied while firmly maintaining the priority bottom line of security services, thus achieving a balance between the flexibility and security of priority scheduling.

[0115] Figure 9 This is a schematic diagram illustrating the determination of the total link capability score according to an exemplary embodiment of this disclosure.

[0116] like Figure 9 As shown, in some embodiments, in Figure 2 Based on the determination of the target communication link shown, Figure 2 Step S201 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0117] In step S901, the bandwidth sub-score is determined based on the actual bandwidth and the corresponding nominal bandwidth within the link measured data.

[0118] In this embodiment, the bandwidth score is calculated by multiplying the actual bandwidth by the corresponding nominal bandwidth by 100, with a maximum score of 100 for each dimension. If the calculated result exceeds 100, it is uniformly counted as 100 points. That is, even if the actual bandwidth of the link exceeds the nominal value, it is still counted as the full score, to avoid abnormal measurement data from raising the overall score.

[0119] For example, Bluetooth 5.3 has a nominal typical bandwidth of 3Mbps. If the actual measured bandwidth is 2Mbps, then the bandwidth score is (2÷3)×100≈67 points.

[0120] In step S902, the delay sub-score is determined based on the actual delay in the link measured data and the corresponding nominal maximum delay.

[0121] In this embodiment, the delay score is calculated by subtracting the actual delay from the corresponding nominal maximum delay and multiplying by 100. If the actual delay exceeds the nominal maximum delay of the link, a score of 0 is given, indicating that the link delay has exceeded the theoretically tolerable limit and cannot meet the requirements for normal service transmission.

[0122] For example, if the nominal maximum latency of a link is 100ms, and the actual measured latency is 50ms, then the latency score is (1-50÷100)×100=50 points.

[0123] In step S903, the reliability sub-score is determined based on the actual packet loss rate within the link measured data.

[0124] In this embodiment of the disclosure, the reliability score is calculated by multiplying the difference between 1 and the actual measured packet loss rate by 100. That is, when there is no packet loss in the link, the full score of 100 is obtained. For every 1% increase in the packet loss rate, the reliability score decreases by 1 point.

[0125] For example, if the measured packet loss rate of a certain link is 1%, then the reliability score is (1-0.01)×100=99 points; the higher the packet loss rate, the lower the score, which accurately reflects the stability and reliability of the link transmission.

[0126] In step S904, the power consumption score is determined based on the actual power consumption in the link measured data and the corresponding nominal maximum power consumption.

[0127] In this embodiment of the disclosure, the power consumption score is calculated by multiplying the difference between 1 and (actual power consumption divided by the corresponding nominal maximum power consumption) by 100, and the lower the power consumption, the higher the score.

[0128] For example, if the nominal maximum power consumption of a Bluetooth link is 100mW, and the actual measured power consumption is 80mW, then the power consumption score is (1-80÷100)×100=20 points.

[0129] In step S905, the bandwidth sub-score, delay sub-score, reliability sub-score, and power consumption sub-score are assigned corresponding first weights, second weights, third weights, and fourth weights, respectively. The sub-scores are then multiplied by their corresponding weights and summed to obtain the total capability score of the corresponding communication link.

[0130] In some implementations, the weights of the four sub-items are configured as follows: bandwidth sub-item is assigned a first weight of 30%, latency sub-item is assigned a second weight of 30%, reliability sub-item is assigned a third weight of 25%, and power consumption sub-item is assigned a fourth weight of 15%. The final capability score is calculated as follows: capability score = bandwidth score × 30% + latency score × 30% + reliability score × 25% + power consumption score × 15%, with a maximum score of 100 points.

[0131] For example, the capabilities of six typical automotive links—Bluetooth 5.3, WiFi 6, 5G, UWB, USB 3.2, and NFC—were simultaneously evaluated. The bandwidth scores were 67, 90, 85, 60, 98, and 5 respectively; the latency scores were 50, 70, 80, 90, 95, and 95 respectively; the reliability scores were 95, 80, 90, 97, 100, and 100 respectively; and the power consumption scores were 80, 40, 20, 60, 0, and 98 respectively. After weighting and summing according to the above criteria, the total capability scores for the six links were 71, 72, 71, 75, 79, and 44 respectively. Among them, the USB 3.2 link has the lowest score in power consumption because it requires continuous wired power supply, but its bandwidth and reliability scores are close to full marks, and its overall capability score is still the highest among the six links; the NFC link has the lowest overall capability score because of its low bandwidth score, and it is only suitable for small data volume interaction scenarios such as device pairing and identity authentication, and is not suitable for carrying continuous data transmission services.

[0132] In this embodiment, by scoring the four core dimensions of bandwidth, latency, reliability, and power consumption separately and then summing them according to preset weights, a unified quantitative evaluation of the capabilities of different communication protocol links is achieved. This solves the problem of inconsistent description systems for the capabilities of different communication links and the inability to make horizontal comparisons, and provides a standardized decision-making basis for the intelligent matching of subsequent services and links.

[0133] In some implementations, before determining the comprehensive matching score of the service-communication link, for each currently running service, communication links that do not meet the minimum requirement threshold corresponding to the service in at least one dimension can be excluded to obtain a set of candidate links for the service.

[0134] In this embodiment of the disclosure, before calculating the comprehensive matching score, an admission threshold verification is performed on all communication links. For example, the high-definition screen projection service requires a minimum bandwidth of no less than 20Mbps, while the Bluetooth link has a nominal typical bandwidth of only about 3Mbps, which does not meet the minimum bandwidth requirement and will be directly excluded from the candidate set of screen projection services; the remote vehicle control service requires a latency of no more than 50ms, while the WiFi link has a typical latency of about 100ms, which does not meet the low latency requirement and will be excluded from the candidate set of vehicle control services; the background data synchronization service has a higher tolerance for latency, and all links can meet its requirements in terms of latency, so the range of candidate links is relatively wider, and only the bandwidth dimension needs to be focused on.

[0135] In this embodiment of the disclosure, links that do not meet the minimum requirements of the business are quickly excluded by screening through the admission threshold. This not only avoids invalid matching that occupies computing resources, but also eliminates the problem of the business being assigned to a link that is completely unable to support its own needs.

[0136] Figure 10 This is a schematic diagram illustrating the calculation of the comprehensive matching score according to an exemplary embodiment of the present disclosure.

[0137] like Figure 10 As shown, in some embodiments, in Figure 3 Based on the determination of the target communication link shown, Figure 3 Step S301 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0138] In step S1001, for the communication links that are retained in the candidate link set corresponding to the business after screening, the dimension matching score of each requirement dimension is determined.

[0139] In this embodiment of the disclosure, the requirement dimensions include at least one of bandwidth requirement, latency requirement, reliability requirement, and jitter tolerance requirement. The matching score for each requirement dimension is calculated by multiplying the actual capacity of the communication link corresponding to that dimension by the requirement value of the service corresponding to that dimension, and then multiplying by 100. If the result exceeds 100, it is uniformly counted as 100 points. That is, even when the link capacity exceeds the service requirement, only the full score is counted, avoiding unnecessary increases in matching scores due to capacity redundancy, and reflecting the matching principle of "sufficient is optimal".

[0140] In step S1002, the preference weights set by the business for each demand dimension are obtained.

[0141] In this embodiment of the disclosure, different types of services attach different degrees of importance to each dimension, so differentiated dimension preference weights are configured respectively, and the sum of the dimension preference weights is 100%.

[0142] For example, the dimensional preference weights for navigation services are set as follows: reliability 40%, bandwidth 25%, latency 20%, and jitter tolerance 15%; for in-vehicle calling services, the weights are set as follows: latency 50%, reliability 30%, bandwidth 10%, and jitter tolerance 10%; for high-definition screen projection services, the weights are set as follows: bandwidth 50%, latency 25%, reliability 15%, and jitter tolerance 10%; and for backend data synchronization services, the weights are set as follows: bandwidth 40%, jitter tolerance 30%, latency 20%, and reliability 10%.

[0143] In step S1003, the comprehensive matching score between the service and communication links is determined based on the dimension matching score and corresponding preference weight of each demand dimension.

[0144] In this embodiment, the dimensional matching scores of each requirement dimension are multiplied by their corresponding preference weights and then summed to obtain the comprehensive matching score for the "business-communication link". This comprehensive matching score can be used to quantitatively characterize the overall adaptability of the link to the current business; a higher score indicates a better fit between the link and the business requirements.

[0145] For example, the overall matching score for navigation services can reach 95 points on 5G links and about 75 points on WiFi links, indicating that 5G links are better suited to the wide coverage and high reliability requirements of navigation services; the overall matching score for in-vehicle calling services can reach 90 points on Bluetooth links and 80 points on 5G links, indicating that Bluetooth links with the lowest latency are better suited to the low latency requirements of calling services.

[0146] In this embodiment of the disclosure, by calculating the comprehensive matching score by weighting according to business preference weights, the matching result can meet the differentiated needs of different businesses, avoiding the problem of poor adaptability of a unified scoring standard to special businesses, and achieving accurate adaptation between business needs and link capabilities.

[0147] Figure 11 This is a schematic diagram illustrating global link allocation optimization according to an exemplary embodiment of the present disclosure.

[0148] like Figure 11 As shown, in some embodiments, in Figure 4 Based on the link allocation scheme determined by priority as shown, Figure 4 Step S402 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0149] In step S1101, based on the priority information of each service, the currently running services are prioritized and sorted to obtain sorting result information.

[0150] In this embodiment, all currently running services are uniformly sorted according to their priority from high to low, forming a service priority ranking list. High-priority services are placed at the front of the list, and low-priority services are placed at the back, ensuring that the resource needs of high-priority services are processed first during subsequent allocation.

[0151] In step S1102, candidate communication links are assigned to each running service according to the sorting result information.

[0152] In this embodiment of the disclosure, according to the priority ranking result information, starting with the highest priority service, candidate communication links with the highest comprehensive matching score and sufficient resources are matched for each service in turn, so as to initially meet the principle that high-priority services occupy high-quality link resources first.

[0153] In step S1103, based on satisfying the priority allocation constraints of each service, the matching relationship between all services and candidate communication links is optimized in an overall manner to determine the link allocation scheme.

[0154] In this embodiment, after initial priority-based allocation, the Hungarian algorithm is used to globally optimize the matching relationship between all services and candidate communication links. Without exceeding the bandwidth and concurrent capacity limits of each link, the algorithm finds the link allocation scheme with the highest overall matching degree for all services. This Hungarian algorithm can be compared to the logic of scheduling a timetable: by filling the matching score of "service × link" into the matching matrix, the algorithm can quickly calculate the allocation result that maximizes the overall satisfaction of all services, ensuring that limited link resources are utilized to the maximum extent.

[0155] For example, the comprehensive matching scores of six services—navigation, in-vehicle calling, remote vehicle control, high-definition screen projection, lossless music, and background data synchronization—with six links—Bluetooth, WiFi, 5G, UWB, USB, and NFC—are as follows: Navigation service scores 95 points on the 5G link, 75 points on the WiFi link, and 90 points on the USB link; Bluetooth, UWB, and NFC links are excluded due to insufficient bandwidth. In-vehicle calling service scores 90 points on the Bluetooth link, 80 points on the 5G link, 70 points on the WiFi link, and 60 points on the USB link; the UWB link does not support voice, and the NFC link is excluded due to insufficient bandwidth. Remote vehicle control service scores 88 points on the Bluetooth link and 60 points on the 5G link. The following services were excluded: 85 points for the USB link, 80 points for the UWB link, and 70 points for the WiFi link; the USB link had no physical connection and the NFC link had insufficient bandwidth. The HD screen mirroring service scored 98 points for the USB link, 95 points for the WiFi link, and 70 points for the 5G link; the Bluetooth, UWB, and NFC links had insufficient bandwidth and were therefore excluded. The lossless music service scored 75 points for the Bluetooth link, 60 points for the WiFi link, and 50 points for the 5G link; the UWB link did not support audio and the NFC link had insufficient bandwidth and were therefore excluded. The background data synchronization service scored 70 points for the USB link, 60 points for the 5G link, and 55 points for the WiFi link; the Bluetooth, UWB, and NFC links had insufficient bandwidth and were therefore excluded.

[0156] Based on this matching matrix, the globally optimal allocation scheme obtained by using the Hungarian algorithm is as follows: Navigation service → 5G link (widest coverage, highest reliability, priority for driving safety); In-vehicle communication service → Bluetooth link (lowest latency, best call experience); Remote vehicle control service → Bluetooth link (shares Bluetooth with calls, time-division multiplexing, minimal data volume for vehicle control commands); High-definition screen projection service → WiFi link (maximum bandwidth; if connected via USB wired connection, USB link is prioritized for higher stability); Lossless music service → shares WiFi link with screen projection service (WiFi bandwidth is sufficient to support both screen projection and music); Background data synchronization service → background transmission will only occur when idle bandwidth becomes available on the WiFi or 5G link.

[0157] In this embodiment of the disclosure, by allocating resources sequentially according to priority and combining it with global optimization using the Hungarian algorithm, the resource priority of high-priority services is guaranteed, while the global optimal algorithm avoids resource fragmentation and waste, thereby maximizing the overall resource utilization efficiency under priority constraints.

[0158] Figure 12 This is a schematic diagram illustrating secondary adaptation in a multi-service, low-link scenario according to an exemplary embodiment of this disclosure.

[0159] like Figure 12 As shown, in some implementations, this step is performed after the link allocation scheme is determined. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0160] In step S1201, the number of currently running services and the number of available communication links are counted.

[0161] In step S1202, in response to the number of currently running services being greater than the number of available communication links, a secondary adaptation adjustment is performed on the initial matching relationship between services and links within the link allocation scheme.

[0162] For example, if six services are running simultaneously but only three communication links are available, it can be identified as a resource-scarce scenario, triggering a secondary adaptation adjustment.

[0163] In this embodiment of the disclosure, if the number of currently running services exceeds the number of available communication links, a secondary adaptation adjustment is performed on the initial matching relationship between services and links within the link allocation scheme using a target strategy from a preset strategy library. The preset strategy library stores various adaptation strategies for scenarios with insufficient link resources, and one or more strategies can be flexibly selected and combined according to the actual scenario. Specifically, it includes at least one of the following: Service merging strategy: Multiple low-priority services are aggregated onto a single available communication link, and data transmission is completed through link sharing. For example, lossless music playback and background data synchronization are both low-priority services, and can be merged into the same WiFi link for transmission. As long as the total bandwidth does not exceed the link's available limit, both types of services can be carried simultaneously.

[0164] Service degradation strategy: Reduce the resource requirements of low-priority services across all dimensions, and re-adapt the communication link based on the adjusted service requirements. For example, the bandwidth requirement for lossless music playback is 2Mbps under lossless audio quality. After downgrading to standard audio quality, the bandwidth requirement drops to 0.5Mbps, allowing it to share the same link with other low-priority services without affecting each other.

[0165] Service Suspension Policy: When the service merging and service degradation policies still cannot meet resource constraints, the lowest priority service will be suspended, and the suspended service will be automatically resumed when an idle communication link is detected. For example, the background data synchronization service has the lowest priority and can be temporarily suspended when resources are extremely scarce. It will automatically resume transmission after the link resources are released, without affecting the user's core experience.

[0166] Link multiplexing strategy: Configure a single communication link to operate in time-division multiplexing mode, using the time-division multiplexing mechanism to simultaneously carry the data transmission of multiple services. For example, a Bluetooth link can transmit voice calls and remote vehicle control commands alternately in a time-division manner. Since the data volume of a single vehicle control command is extremely small (bandwidth requirement is only about 0.01Mbps), the time-division alternating transmission will not have a perceptible impact on call quality.

[0167] In this embodiment of the disclosure, by combining multiple resource adaptation strategies, it is possible to flexibly cope with extreme scenarios of insufficient link resources, maximize resource utilization without increasing hardware costs, ensure that core services always operate stably, and at the same time maintain the availability of non-core services as much as possible.

[0168] In this embodiment of the disclosure, the secondary adaptation adjustment performs at least one of the following processes: aggregating multiple low-priority services to a single available communication link and completing data transmission through link sharing; lowering the resource requirement indicators of each dimension of the low-priority services and re-adapting the communication link based on the adjusted service requirements; if the resource constraints still cannot be met after completing the service aggregation and requirement indicator lowering processes, suspending the current lowest priority service and resuming the suspended service when an idle communication link is detected; configuring the single communication link to a time-division multiplexing working mode to simultaneously carry the data transmission of multiple services.

[0169] In step S1203, based on the results of the secondary adaptation adjustment, the target communication links corresponding to each currently running service are determined.

[0170] In this embodiment of the disclosure, after secondary adaptation and adjustment, even in resource-scarce scenarios where the number of services exceeds the number of available links, the stable transmission of core services can be guaranteed through strategy combination, while maintaining the availability of low-priority services as much as possible, thereby maximizing the service capacity of limited link resources.

[0171] Figure 13 This is a schematic diagram illustrating the determination of link switching timing according to an exemplary embodiment of the present disclosure.

[0172] like Figure 13 As shown, in some embodiments, in Figure 1 Based on the link switching method shown, Figure 1 Step S103 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0173] In step S1301, based on the current operating information and environment type information of the device, a preset historical experience database is retrieved to obtain historical link information.

[0174] In some implementations, the device's current operating information includes dynamic operating parameters such as the vehicle's absolute GPS position, vehicle direction of travel, real-time vehicle speed, connection status of all onboard communication links, Received Signal Strength Indicator (RSSI), real-time bandwidth usage, and link operating modes. These communication links include Bluetooth, WiFi, 5G, UWB, USB, and NFC.

[0175] In this embodiment of the disclosure, the vehicle's GPS absolute position and vehicle direction of travel information are extracted from the current operating information to provide a location basis for subsequent environmental prediction.

[0176] In this embodiment, the system maintains a preset historical experience database, which stores records of past link quality performance at various locations. Based on the vehicle's current location and direction of travel, the system can retrieve historical experience records for the area the vehicle is about to reach, thus obtaining information about the past link quality performance in that area. For example, if historical records show that the WiFi signal at the tunnel entrance ahead will rapidly weaken while the 5G signal is relatively stable, preparations can be made in advance to switch to the 5G link.

[0177] In step S1302, the timing of link switching is determined based on historical link information and signal trend information of the communication link.

[0178] In this embodiment, data such as RSSI, packet loss rate, and latency of each communication link are collected in real time over the past 30 seconds. A trend analysis algorithm is used to calculate the signal change trend of each link to determine whether the signal is in a state of continuous increase, stability, or continuous decrease. For example, if the WiFi signal has been continuously decreasing with a steep slope over the past 30 seconds, it indicates that the vehicle is leaving the WiFi coverage area, and the link quality is about to deteriorate significantly.

[0179] In this embodiment, the optimal link switching timing is determined by combining historical experience base predictions of upstream link quality changes with real-time monitored signal trends. For example, a switching command is triggered 3 to 5 seconds before the link quality is about to significantly decline but has not yet been disconnected, ensuring that service migration is completed before the current link completely fails, thus avoiding the loss of experience due to passive disconnection and subsequent remediation.

[0180] In step S1303, when the link switching opportunity is reached, each currently running service is switched from the current communication link to the corresponding target communication link.

[0181] In this embodiment of the disclosure, by combining historical experience database prediction with real-time signal trend analysis, the system achieves early perception of link quality changes and intelligent prediction of switching timing. This breaks the passive mode of the traditional solution of "reconnecting only after the link is lost" and enables the service migration to be completed in advance when the link is about to deteriorate, which greatly improves the connection stability and service continuity between vehicle terminals and mobile terminals.

[0182] In some implementations, the historical experience database stores multiple experience records, each containing location information, environment type, link quality score, and timestamp. The data maintenance rules for the experience database are as follows: the most recent 100 records are retained for each approximately 50m x 50m GPS grid, and any records exceeding this limit are overwritten with the oldest records; records not updated for more than 90 days are automatically deleted; after system upgrades, old data is marked as low confidence, and newly collected data is used preferentially, ensuring the timeliness and accuracy of the experience database data.

[0183] In some implementations, it is possible to detect whether there is data in the historical experience database that matches the current location information. When no data matching the location information is found in the historical experience database, the location information, environment type, link information, link quality score, and timestamp are collected and entered into the historical experience database.

[0184] In this embodiment of the disclosure, when passing through an unfamiliar area with no historical records for the first time, the system degenerates into a pure real-time perception mode, making switching decisions only based on real-time signal trends, while simultaneously collecting various types of data at the current location and entering them into the experience database to accumulate predictive data for subsequent passage through the area.

[0185] In this embodiment of the disclosure, through a self-learning mechanism that automatically collects new location data and enters it into the experience base, the system will continuously accumulate experience as the user's driving mileage increases, the prediction accuracy will continue to improve, and the longer the usage time, the more accurate the switching decision will be.

[0186] In some implementations, anonymous link data of the same vehicle model and location are aggregated to obtain the aggregation result, and the aggregation result is recorded in the historical experience database.

[0187] In this embodiment, the system can aggregate and calculate anonymous link data of the same model and location uploaded by connected vehicles. After removing outliers, it obtains the average quality performance data of each link at that location. The average quality data obtained from crowdsourcing aggregation is written into a historical experience database, which can significantly improve the prediction accuracy when passing through an unfamiliar area for the first time and avoid the problem of passively waiting for signal attenuation when there is no data. For example, crowdsourced data at a tunnel entrance shows that the WiFi signal begins to attenuate rapidly 50 meters from the entrance. When a vehicle passes through this area for the first time, the switching time can be predicted in advance based on the crowdsourced data, without the need for the user to accumulate data by driving.

[0188] In this embodiment of the disclosure, anonymous data crowdsourcing aggregation of the same vehicle model and location enables cross-user sharing of link quality experience, which greatly improves the accuracy of switching prediction in unfamiliar scenarios and allows new users to also have a mature prediction experience.

[0189] Figure 14 This is a schematic diagram illustrating seamless parallel switching of dual links according to an exemplary embodiment of the present disclosure.

[0190] like Figure 14 As shown, in some embodiments, in Figure 13 Based on the determination of the link switching timing shown, Figure 13 Step S1303 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0191] In step S1401, the current communication link and the target communication link are controlled to transmit in parallel for a preset duration.

[0192] In this embodiment, after the handover command is triggered, preparatory work such as connection establishment, two-way authentication, and pre-allocation of transmission resources are first completed on the target communication link to ensure that the target link has the basic conditions to carry services. After the connection is established, it is also necessary to perform stability verification on core indicators such as latency and packet loss rate of the target link. Only when the latency and packet loss rate of the target link meet the minimum requirements of the service will the service data migration be officially started, so as to avoid a hasty switchover due to instability of the target link itself, which would lead to a decline in service experience.

[0193] In this embodiment of the disclosure, after the target link passes the verification, the current communication link is not immediately disconnected. Instead, the two links are controlled to transmit in parallel for a preset duration, such as 2 seconds, 3 seconds, etc. This embodiment of the disclosure does not limit this duration.

[0194] During parallel transmission, critical service data such as navigation and in-vehicle communication are transmitted simultaneously on two links. The receiving end performs deduplication based on packet sequence numbers: when packets with the same sequence number are received, only the one with lower latency and better quality is retained, ensuring the integrity and real-time performance of the service data. The receiving end also maintains a sorting buffer of 50 packets to reorder packets arriving in different orders from the two links according to their sequence numbers before delivering them to the upper-layer services, preventing out-of-order data from causing service anomalies.

[0195] During parallel transmission, the receiver always takes the first data packet that arrives on either link, resulting in lower actual latency and no increased latency due to switching. For non-critical services such as lossless music and background data synchronization, parallel transmission can be selected based on strategy to reduce bandwidth waste.

[0196] In step S1402, after detecting that the communication status of the target communication link is stable, the data transmission task of the current communication link is terminated.

[0197] In this embodiment of the disclosure, after a preset duration of parallel transmission, if the latency, packet loss rate, and other indicators of the target communication link are detected to remain stable within a reasonable range, confirming that the target link can independently and stably carry the service, then the data transmission task of the current communication link is officially terminated, and the main link is switched over.

[0198] In this embodiment of the disclosure, the switching process of first establishing a link for verification, then transmitting data in parallel across two links, and finally terminating the old link transmission ensures that service data is not lost or interrupted during the switching process, achieving a smooth switching that is imperceptible to the user.

[0199] Figure 15 This is a schematic diagram illustrating a fallback mechanism for link switching according to an exemplary embodiment of this disclosure.

[0200] like Figure 15 As shown, in some implementations, this step is performed after terminating the data transmission task of the current communication link. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0201] In step S1501, the current communication link is controlled to enter a low-power listening standby state.

[0202] In this embodiment of the disclosure, after the data transmission is terminated, the physical connection of the current communication link is not immediately disconnected. Instead, it is controlled to enter a low-power listening standby state, maintaining only a minimum heartbeat connection. This consumes almost no additional bandwidth and power resources, but the data transmission capability can be quickly restored when needed.

[0203] In step S1502, in response to the communication quality degradation of the target communication link after the switch reaching a preset proportional threshold, the system automatically reverts to the current communication link before the switch.

[0204] In this embodiment of the disclosure, the communication quality of the target link is continuously monitored after the switch is completed. For example, if the communication quality of the target link drops by 30% within 5 seconds after the switch, it indicates that the actual performance of the target link is not as expected. Then, the automatic fallback mechanism is immediately triggered to quickly switch the service back to the original communication link that is still in standby state, so as to avoid the service from continuing to run on the link with substandard quality, which would lead to a deterioration in the user experience.

[0205] In this embodiment of the disclosure, a fallback mechanism of low-power standby for old links and automatic fallback in case of anomalies provides security for link switching. Even if the target link suddenly fails, services can be quickly restored without long-term service interruption.

[0206] Figure 16 This is a schematic diagram illustrating an update capability description file according to an exemplary embodiment of this disclosure.

[0207] like Figure 16 As shown, in some implementations, after constructing the capability description file of the communication link, the following steps may also be performed. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0208] In step S1601, operational monitoring data of the communication link is collected.

[0209] In this embodiment, the system continuously collects operational monitoring data from each communication link, including core operational parameters such as real-time bandwidth, actual latency, packet loss rate, and power consumption. For example, a full data collection and comparison check is performed every 10 seconds; when a drastic change in link quality is detected, collection and comparison are immediately triggered to ensure that sudden changes in link capabilities can be captured in a timely manner.

[0210] In step S1602, the deviation between the operation monitoring data and the nominal parameters in the capability description file of the communication link is determined.

[0211] In this embodiment of the disclosure, the real-time collected operational monitoring data is compared with the nominal typical parameters in the CLDF of the corresponding communication link, and the deviation ratio between the two is calculated. For example, the nominal typical bandwidth of a WiFi link is 300Mbps, but the actual measured bandwidth in a tunnel scenario is only 10Mbps, which is far beyond the normal range, indicating that the nominal value in the capability description file can no longer reflect the actual capability in the current environment.

[0212] In step S1603, when the preset periodic conditions are met or the deviation value is greater than the preset threshold, the capability description file of the communication link is updated.

[0213] In this embodiment of the disclosure, the update triggering conditions for the capability description file include two categories: one is to meet the preset periodic update conditions, that is, to periodically verify and update the capability description file according to a fixed period (e.g., 10 minutes) to ensure the timeliness of the data; the other is to immediately trigger the update when the deviation value between the monitoring data and the nominal typical parameters exceeds a preset threshold (e.g., 20%) to ensure that the capability description file can reflect the real capability changes of the link in a timely manner.

[0214] In this embodiment of the disclosure, the update mechanism, which combines periodic triggering and deviation triggering, not only ensures the regular calibration of the capability description file, but also enables a rapid response when the link capability changes abruptly, thus ensuring that the capability description file is always accurate.

[0215] Figure 17 This is a schematic diagram illustrating the determination of an update capability description file according to an exemplary embodiment of this disclosure.

[0216] likeFigure 17 As shown, in some embodiments, in Figure 16 Based on the description file showing the determination of update capabilities, Figure 16 Step S1603 shown may include the following steps. The method of this embodiment can be applied to vehicles and / or electronic devices.

[0217] In step S1701, the average value of the sliding window is obtained based on the monitoring data of the preset window duration.

[0218] In this embodiment of the disclosure, when updating the capability description file, the single monitoring data is not directly used as the new nominal value. Instead, the average value of the sliding window is calculated based on the continuous monitoring data of the preset window duration (e.g., the most recent 5 seconds). The average value is used as the basis for updating to avoid erroneous updates caused by instantaneous fluctuations.

[0219] In step S1702, the value of the standard typical value field in the capability description file is replaced based on the sliding window average value, and the updated value of the standard typical value field is controlled to not exceed the upper limit of the value corresponding to the maximum value field in the capability description file.

[0220] In this embodiment, the standard typical value field of the corresponding dimension in the capability description file is replaced with the calculated sliding window average value, while the maximum and minimum value fields remain unchanged—these two fields represent the theoretical limiting parameters of the link and will not change due to environmental variations. An update protection mechanism is also implemented: the updated standard typical value field must not exceed the upper limit of the corresponding maximum value field, preventing abnormal measurement data from contaminating the capability description file and ensuring the reasonableness of the file data. Furthermore, the updated capability description file is persistently saved to local storage, and the latest version is automatically loaded after a device restart, ensuring the continuity of capability data.

[0221] In this embodiment, a sliding window averaging calculation and upper limit protection update strategy is used to achieve dynamic adaptive updating of the capability description file. This ensures that the capability description file can always accurately reflect the actual availability of the link in the current environment, providing a continuous and accurate decision-making benchmark for link capability scoring and service matching, and avoiding scheduling decision deviations caused by the disconnect between static nominal parameters and the actual environment.

[0222] The above embodiments are illustrated below using four scenarios.

[0223] The link switching method proposed in this disclosure can be widely applied to intelligent cockpit communication and multi-device collaborative communication in the Internet of Vehicles (IoV). It fundamentally addresses the practical needs for more stable communication connections, more efficient transmission, and more intelligent scheduling between mobile terminals and vehicle terminals. This technical solution is not limited to a single scenario of interconnection between vehicle terminals and mobile terminals; it can be horizontally extended to multi-link communication scheduling scenarios in multiple fields: in smart home scenarios, it enables seamless communication switching between mobile phones and TVs, speakers, and smart lights, avoiding control command delays or disconnections when multiple devices are linked; in mobile office scenarios, it optimizes file transfer and high-definition screen projection between mobile phones and computers, ensuring continuous and smooth cross-device collaboration; in industrial IoT scenarios, it provides dynamic link scheduling capabilities for various sensing devices and execution terminals in factories, improving the reliability of industrial communication in complex electromagnetic environments; in IoV (V2X) scenarios, it supports intelligent multi-link switching between vehicles and between vehicles and roadside devices, enhancing communication stability in vehicle-road cooperative scenarios; and in aerospace multi-link communication management scenarios, it enables unified evaluation and dynamic allocation of multiple communication channels in complex aerospace environments, ensuring the continuity of critical data transmission.

[0224] Scene 1: Tunnel crossing scene.

[0225] Before a user's vehicle enters the tunnel area, the system searches its historical experience database based on GPS location and direction of travel to predict the upcoming strong interference environment. After entering the tunnel, the GPS signal gradually disappears, the Bluetooth link is affected by multipath interference within the tunnel, resulting in a continuous drop in RSSI, and the WiFi signal rapidly attenuates due to tunnel wall obstruction. The system collects real-time measured data for each link and compares it with the nominal parameters in the capability description file to calculate the dynamic total capability score for each link: the WiFi link's total capability score rapidly drops from 72 points under normal conditions to 35 points, the Bluetooth link's total capability score drops from 71 points to 42 points, and the 5G link, due to its strong cellular network coverage and penetration capabilities, maintains a total capability score of around 65 points, still meeting the minimum bandwidth and reliability requirements for navigation services.

[0226] Based on the service priority ranking results, the system re-allocates global links using the Hungarian algorithm: the navigation service, with the highest priority, has the highest overall matching score on the 5G link and automatically and smoothly switches from the WiFi link to the 5G cellular network. The switching process utilizes a dual-link parallel transmission mechanism to achieve a seamless transition, prevent navigation data loss, and ensure smooth video playback. The music service continues transmission via the WiFi Direct link, avoiding music interruptions caused by Bluetooth interference. After the vehicle exits the tunnel, the system detects that the WiFi signal strength has returned to normal levels. After the capability description file is dynamically updated, the total WiFi link capability score rises above 70 points, automatically triggering a switchback process to revert navigation and music services back to the WiFi link, reducing cellular network traffic consumption.

[0227] Scene 2: Underground parking garage scene.

[0228] When a user drives their vehicle into an underground parking garage, the multi-layered concrete structure causes severe signal attenuation. The Bluetooth RSSI drops rapidly below the preset threshold, and the WiFi signal also suffers significant attenuation due to multiple layers of obstruction. The system identifies the environment as an underground parking garage and updates the overall capability score of each link in real time: the Bluetooth link's overall capability score drops below 40 points due to severe signal attenuation; the WiFi link's overall capability score drops to around 50 points; the UWB link, with its strong penetration and high-precision ranging characteristics, maintains a high capability score even in the parking garage environment; and the USB wired link is unaffected by the wireless environment, maintaining an overall capability score of around 79 points.

[0229] The system dynamically adjusts and recalculates the link allocation scheme based on the current service combination and changes in link capabilities, prioritizing services. For screen projection, which has the highest bandwidth requirements, if the vehicle is already connected via USB wired connection, the system automatically switches to USB link transmission to ensure a consistently smooth and lag-free screen projection. Simultaneously, UWB link-assisted positioning and connection keep-alive are activated to compensate for location awareness and device discovery capabilities after GPS signal loss. After the user parks and turns off the engine, the system automatically switches the connection mode to low-power Bluetooth standby mode, maintaining only low-data-volume services such as car key authentication and vehicle control commands. All other high-power links enter a dormant state, minimizing vehicle power consumption when stationary.

[0230] Scenario 3: High-speed driving scenario.

[0231] When a user drives at 120 km / h on a highway, the Doppler effect and wind noise caused by the high speed continuously interfere with the Bluetooth connection. The system detected that the Bluetooth link packet loss rate increased from the normal 0.1% to 2%, and the transmission latency also showed significant jitter. The system combined CLDF to calculate the total capability score of each link in real time: due to the increased packet loss rate, the Bluetooth link's reliability score dropped significantly, and its total capability score dropped from 71 to 55; the 5G link maintained a total capability score of around 71 thanks to its stable coverage in high-speed mobile scenarios; and the WiFi hotspot sharing link had sufficient bandwidth, with a total capability score of around 70.

[0232] The system identifies currently running services including navigation, voice calls, and music playback, and dynamically adjusts the rules based on service priority: voice calls, due to the user being in a call, are prioritized from high to highest; navigation remains at the highest priority; and music remains at a low priority. After constraining the number of priority services (maximum of two highest priority services) and globally optimizing using the Hungarian algorithm, a new link allocation scheme is obtained: voice calls are switched to the 5G VoNR channel to meet the requirements of low latency and high reliability, significantly improving call clarity; navigation is switched to a shared WiFi hotspot link to ensure real-time updates and stable transmission of navigation data; and music is downgraded to a low bitrate mode and continues transmission via Bluetooth, prioritizing the resource needs of the two high-priority services, voice calls and navigation, with limited bandwidth.

[0233] Scenario 4: Urban commuting scenario.

[0234] Users commute daily on urban roads, traversing complex environments such as densely built-up areas, overpasses, and intersections, where signal obstruction and switching occur frequently, and the quality of each link is constantly changing dynamically. The system continuously monitors the real-time operating status of all links, including Bluetooth, WiFi, 5G, and UWB, through CLDF, completing a capability score update every 10 seconds. When the measured data of a link deviates from the nominal value by more than 20%, a dynamic CLDF refresh is immediately triggered.

[0235] The vehicle is currently running three services simultaneously: navigation, lossless music playback, and voice assistant. The system prioritizes navigation (highest priority), voice assistant (highest priority due to user interaction), and music playback (low priority). Based on the real-time capability score of each link and the differentiated preference weights for each service (reliability for navigation, bandwidth for music, latency for voice), the system calculates a comprehensive matching score for each "service-link" pair. Then, it uses a Hungarian algorithm to find the globally optimal allocation scheme: navigation uses the 5G link, fully utilizing 5G's wide coverage and high reliability to ensure uninterrupted navigation data even in environments with tall buildings obstructing the view; music uses the WiFi link, leveraging WiFi's high bandwidth to ensure lossless audio quality; and the voice assistant uses the Bluetooth link, utilizing Bluetooth's low latency for rapid voice command response. During driving, the system uses historical experience to predict signal fluctuations at intersections and under bridges, triggering a dual-link parallel switch 3-5 seconds before the link quality is about to degrade. This ensures optimal parallel transmission of multiple services throughout the journey, with no perceived disconnection or lag for the user.

[0236] The following is combined Figure 18 The above embodiments are illustrated by examples; please refer to [reference needed]. Figure 18 The diagram shown is an example of the architecture of a multi-communication link switching system. The system mainly consists of five layers: the link capability management layer, the perception layer, the decision layer, the execution layer, and the monitoring layer.

[0237] This disclosed multi-communication link switching system adopts a five-layer hierarchical collaborative architecture, with clear responsibilities and decoupled division of labor at each layer, enabling efficient scheduling and dynamic optimization of communication resources across the entire link. This architecture completely separates link lifecycle management, real-time status awareness, intelligent decision-making, seamless execution, and closed-loop effect verification. Data interaction between layers is achieved through standardized interfaces, ensuring both real-time system response and strong functional scalability.

[0238] In this embodiment of the disclosure, the link capability management layer, as the basic resource management unit of the system, is responsible for the registration, parsing and dynamic updating of the capability description files (CLDF) of all communication links. When a new link is connected, a corresponding capability file is automatically generated. When the file information expires, a refresh mechanism is automatically triggered to provide unified link capability benchmark data for the entire system.

[0239] In this embodiment, the perception layer serves as the system's all-dimensional information acquisition unit, performing real-time quality monitoring of multiple communication links in parallel. It covers all-dimensional indicators such as Bluetooth RSSI / packet loss rate / latency, WiFi signal strength / bandwidth / latency, UWB ranging accuracy / signal quality, 5G signal strength / latency / jitter, USB connection status / bandwidth, and NFC connection status. Simultaneously, it identifies the current driving environment and perceives the status of operating services, providing complete real-time input data for upper-layer decision-making.

[0240] In this embodiment, the decision layer, as the core scheduling unit of the system, performs dynamic evaluation of service priorities and quantitative scoring of real-time link capabilities based on the full data output by the perception layer. It generates the optimal allocation scheme of services and links through a global optimization algorithm. At the same time, it can predict changes in the communication scenario ahead based on historical environmental data and complete link pre-scheduling in advance to avoid service disconnection and lag.

[0241] In this embodiment of the disclosure, the execution layer, as the system's operational landing unit, is responsible for the parallel transmission management of the old and new links. It completes the seamless migration of services between different links through data deduplication and time-series sorting mechanisms, and at the same time completes the resource preheating of the new link in advance, compressing the service interruption time of the switching process to the millisecond level.

[0242] In this embodiment of the disclosure, the monitoring layer, as the closed-loop optimization unit of the system, quantitatively evaluates the actual execution effect of each link switch, iteratively optimizes the scheduling strategy based on historical operation data, detects link operation anomalies in real time, and automatically triggers the link capability management layer to complete the dynamic update of the CLDF when the deviation between the actual transmission capacity of the link and the nominal parameters of the CLDF exceeds the threshold, thus forming a self-optimizing closed loop throughout the entire process.

[0243] In this embodiment, the internal data flow of the entire system forms a complete positive scheduling and negative feedback closed loop: the link capability management layer synchronizes standardized CLDF data to the perception layer, the perception layer uploads the collected real-time link status, environmental information, and business requirement data to the decision layer, the decision layer generates link switching instructions and sends them to the execution layer to complete the operation, the execution layer sends the switching execution status back to the monitoring layer, the monitoring layer feeds back strategy optimization suggestions to the decision layer to iterate the scheduling logic, and synchronizes link capability deviation information to the link capability management layer to update the capability description file, thereby realizing autonomous iterative optimization throughout the entire life cycle of the system.

[0244] Based on the same inventive concept, this disclosure also provides a link switching device. Since the principle by which the device solves the problem is similar to the link switching method, the implementation of the device can refer to the implementation of the method, and repeated details will not be elaborated further. This device can be applied to electronic devices, and this disclosure does not limit the type of electronic device. The device embodiment can be implemented by software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by the processor of the electronic device loading the corresponding computer program instructions from the non-volatile memory into memory for execution.

[0245] See Figure 19 The diagram shown is a structural block diagram of a link switching device according to an embodiment of this disclosure. In some embodiments, the link switching device 1900 of this disclosure includes: Acquisition unit 1901 is used to acquire environment type information and business information; The determining unit 1902 is used to determine the target communication links of each currently running service based on the service information and the capability description files of each communication link. The switching unit 1903 is used to switch from the current communication link of each currently running service to the corresponding target communication link based on the environment type information.

[0246] In one exemplary embodiment of this disclosure, the apparatus further includes a construction unit for: Construct capability description files for each communication link; The capability description file includes at least one of the following: unique link identifier, link type, protocol version, core link capability parameters, supported service types, environmental sensitivity, handover capability, and security capability; the core link capability parameters include at least one of the following: bandwidth capability, latency characteristics, reliability indicators, power consumption characteristics, and coverage range.

[0247] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Based on the capability description files and actual test data of each communication link, determine the total capability score for each communication link; The business information is broken down to determine the sub-requirement information corresponding to each currently running business; Based on the total capability score of each communication link and the sub-requirement information corresponding to each currently running service, the target communication link corresponding to each currently running service is determined.

[0248] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: According to the preset matching rules, the sub-requirement information of each currently running service is matched with the total capability score of each communication link to determine the comprehensive matching score between the service and the communication link; Based on the obtained comprehensive matching score, a link allocation scheme is determined; Based on the link allocation scheme, the target communication links corresponding to each currently running service are determined.

[0249] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Determine the priority information of each currently running service; Based on the priority information and the comprehensive matching score, a link allocation scheme is determined.

[0250] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Obtain the preset basic business priority information; Based on user interaction service information, the basic priority information of the services is dynamically adjusted to determine the priority information of each currently running service.

[0251] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Determine the initial priority of each currently running service; The initial priority is subject to priority constraint processing based on the aforementioned quantity limit; the quantity limit represents the maximum number of services that can be simultaneously at the highest priority. The priorities obtained after constraint processing are used to determine the priority information of each currently running service.

[0252] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Using the aforementioned basic priority information of the business as a benchmark, traverse each currently running business; For each target service encountered during the traversal, if the target service is one that the user is currently interacting with, the priority of the target service is increased. After completing the traversal and processing of all currently running services, the initial priority of each service is obtained.

[0253] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Count the number of services with the highest priority in the initial priority list; If the number of services with the highest priority exceeds the upper limit, the priority of non-security services is reduced until the number of services with the highest priority does not exceed the upper limit; wherein, after processing, the priority of security services is not lower than the preset minimum priority level. If the number of services with the highest priority is less than or equal to the upper limit, the priority of each service remains unchanged.

[0254] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: For each currently running service, communication links that do not meet the minimum requirement threshold for at least one dimension are excluded, resulting in a candidate link set for the service.

[0255] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: Statistics on the number of currently running services and the number of available communication links; In response to the fact that the number of currently running services exceeds the number of available communication links, a secondary adaptation adjustment is performed on the initial matching relationship between services and links within the link allocation scheme; Based on the results of the secondary adaptation and adjustment, the target communication links corresponding to each currently running service are determined.

[0256] In an exemplary embodiment of this disclosure, the determining unit 1902 is configured to: The secondary adaptation adjustment performs at least one of the following processes: Multiple low-priority services are aggregated into a single available communication link, and data transmission is completed through link sharing. Lower the resource requirements of low-priority services across all dimensions, and re-adapt the communication links based on the adjusted service requirements; If resource constraints cannot be met even after completing business aggregation and demand indicator reduction, the lowest priority business is suspended, and the suspended business is resumed when an idle communication link is detected. Configure a single communication link to time-division multiplexing mode to carry the data transmission of multiple services simultaneously.

[0257] In one exemplary embodiment of this disclosure, the switching unit 1903 is configured to: Based on the current operating information of the device and the environment type information, a preset historical experience database is retrieved to obtain historical link information; Based on the historical link information and the signal trend information of the communication link, the timing of link switching is determined; When the link switching time is reached, the currently running services are switched from the current communication link to the corresponding target communication link.

[0258] In one exemplary embodiment of this disclosure, the switching unit 1903 is configured to: Control the current communication link and the target communication link to transmit in parallel for a preset duration; Once the target communication link is detected to be in a stable state, the data transmission task of the current communication link is terminated.

[0259] In one exemplary embodiment of this disclosure, the switching unit 1903 is configured to: Control the current communication link to enter a low-power listening standby state; In response to the communication quality degradation of the target communication link after the switch reaching a preset percentage threshold, the system automatically reverts to the current communication link before the switch.

[0260] Based on the aforementioned device, by acquiring environmental type information and service information, and combining the service information with the capability description files of each communication link, the target communication link corresponding to each current service is determined. Furthermore, based on the environmental type information, the switch from the current communication link to the target communication link is completed. Unlike the traditional fixed single-link transmission mode, this solution uniformly organizes and manages the capability information of different communication links based on the capability description files of each communication link, establishing a unified evaluation and scheduling foundation for multi-protocol links. This allows for precise matching of differentiated transmission requirements of different services, achieving intelligent adaptation and allocation of link resources. This method completely eliminates the limitations of single-link transmission, adapting to complex and highly interference-prone communication scenarios such as tunnels and underground parking garages. It proactively predicts link quality changes based on environmental type information and initiates switching, eliminating the need for manual reconnection by the user. It can complete service link migration in advance when the link is about to deteriorate, achieving a seamless and smooth transition of communication services. This effectively solves the problems of easy disconnection, delayed recovery, and poor resource adaptability in traditional single-link transmission, significantly improving the communication stability and continuity of vehicle-mounted terminals and mobile terminals across all scenarios, optimizing the user's seamless communication experience, and strengthening the service guarantee capabilities of vehicle-mounted interconnected communication.

[0261] Figure 20This is a functional block diagram of a vehicle according to an exemplary embodiment of the present disclosure. For example, vehicle 2000 can be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 2000 can be a driver-assisted vehicle, a semi-driver-assisted vehicle, or a driver-free vehicle.

[0262] Reference Figure 20 The vehicle 2000 may include various subsystems, such as an infotainment system 2010, a perception system 2020, a decision control system 2030, a drive system 2040, and a computing platform 2050. The vehicle 2000 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and component of the vehicle 2000 can be interconnected via wired or wireless means.

[0263] In some embodiments, the infotainment system 2010 may include a communication system, an entertainment system, and a navigation system, etc.

[0264] The perception system 2020 may include several types of sensors for sensing information about the environment surrounding the vehicle 2000. For example, the perception system 2020 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and camera devices.

[0265] The decision control system 2030 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0266] The drive system 2040 may include components that provide powered motion to the vehicle 2000. In one embodiment, the drive system 2040 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0267] Some or all of the functions of the vehicle 2000 are controlled by a computing platform 2050. The computing platform 2050 may include at least one processor 2051 and a memory 2052, the processor 2051 being able to execute instructions 2053 stored in the memory 2052.

[0268] The processor 2051 can be any conventional processor, including, for example, a graphics processing unit (GPU), a field programmable gate array (FPGA), a system on chip (SOC), an application specific integrated circuit (ASIC), or a combination thereof.

[0269] The memory 2052 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0270] In addition to instruction set 2053, memory 2052 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in memory 2052 can be used by computing platform 2050.

[0271] In this embodiment of the disclosure, the processor 2051 may execute instruction 2053 to complete all or part of the steps of the above link switching method.

[0272] Reference Figure 21 The electronic device 2100 may include one or more of the following components: a processing component 2102, a memory 2104, a power supply component 2106, a multimedia component 2108, an audio component 2110, an input / output (I / O) interface 2112, a sensor component 2114, and a communication component 2116.

[0273] Processing component 2102 typically controls the overall operation of electronic device 2100, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 2102 may include one or more processors 2121 to execute instructions to complete all or part of the steps of the link switching method. Furthermore, processing component 2102 may include one or more modules to facilitate interaction between processing component 2102 and other components. For example, processing component 2102 may include a multimedia module to facilitate interaction between multimedia component 2108 and processing component 2102.

[0274] Memory 2104 is configured to store various types of data to support the operation of electronic device 2100. Memory 2104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0275] Power supply component 2106 provides power to various components of electronic device 2100. Power supply component 2106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 2100.

[0276] Multimedia component 2108 includes a screen that provides an output interface between the electronic device 2100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). In some embodiments, multimedia component 2108 includes a front-facing camera and / or a rear-facing camera.

[0277] Audio component 2110 is configured to output and / or input audio signals. For example, audio component 2110 includes a microphone (MIC) configured to receive external audio signals when electronic device 2100 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 2104 or transmitted via communication component 2116. In some embodiments, audio component 2110 also includes a speaker for outputting audio signals.

[0278] I / O interface 2112 provides an interface between processing component 2102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0279] Sensor assembly 2114 includes one or more sensors for providing state assessments of various aspects of electronic device 2100. For example, sensor assembly 2114 may detect the on / off state of electronic device 2100, the relative positioning of components such as the display and keypad of electronic device 2100, changes in position of electronic device 2100 or a component of electronic device 2100, the presence or absence of user contact with electronic device 2100, the orientation or acceleration / deceleration of electronic device 2100, and temperature changes of electronic device 2100. Sensor assembly 2114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 2114 may also include a light sensor for use in imaging applications. In some embodiments, sensor assembly 2114 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0280] The communication component 2116 is configured to facilitate wired or wireless communication between the electronic device 2100 and other devices.

[0281] In some embodiments of this disclosure, the electronic device 2100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0282] In some embodiments of this disclosure, a non-transitory computer-readable storage medium stores a computer program that, when executed by a processor, implements all or part of the steps of the link switching method described above.

[0283] In some embodiments of this disclosure, a computer program product includes a computer program that, when executed by a processor, implements all or part of the steps of the link switching method described above.

[0284] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0285] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A link switching method, characterized in that, include: Obtain environment type information and business information; Based on the aforementioned service information and the capability description files of each communication link, the target communication links for each currently running service are determined. Based on the environment type information, the current communication link of each currently running service is switched to the corresponding target communication link.

2. The method according to claim 1, characterized in that, Before obtaining environment type information and business information, the method further includes: Construct capability description files for each communication link; The capability description file includes at least one of the following: unique link identifier, link type, protocol version, core link capability parameters, supported service types, environmental sensitivity, handover capability, and security capability; the core link capability parameters include at least one of the following: bandwidth capability, latency characteristics, reliability indicators, power consumption characteristics, and coverage range.

3. The method according to claim 1 or 2, characterized in that, Based on the aforementioned service information and the capability description files of each communication link, the target communication links for each currently running service are determined, including: Based on the capability description files and actual test data of each communication link, determine the total capability score for each communication link; The business information is broken down to determine the sub-requirement information corresponding to each currently running business; Based on the total capability score of each communication link and the sub-requirement information corresponding to each currently running service, the target communication link corresponding to each currently running service is determined.

4. The method according to claim 3, characterized in that, Based on the total capability score of each communication link and the sub-requirement information corresponding to each currently running service, the target communication link corresponding to each currently running service is determined, including: According to the preset matching rules, the sub-requirement information of each currently running service is matched with the total capability score of each communication link to determine the comprehensive matching score between the service and the communication link; Based on the obtained comprehensive matching score, a link allocation scheme is determined; Based on the link allocation scheme, the target communication links corresponding to each currently running service are determined.

5. The method according to claim 4, characterized in that, Based on the obtained comprehensive matching score, a link allocation scheme is determined, including: Determine the priority information of each currently running service; Based on the priority information and the comprehensive matching score, a link allocation scheme is determined.

6. The method according to claim 5, characterized in that, Determine the priority information of each currently running service, including: Obtain the preset basic business priority information; Based on user interaction service information, the basic priority information of the services is dynamically adjusted to determine the priority information of each currently running service.

7. The method according to claim 6, characterized in that, Based on user interaction service information, the basic priority information of the services is dynamically adjusted to determine the priority information of each currently running service, including: Determine the initial priority of each currently running service; The initial priority is subject to priority constraint processing based on the quantity limit; the quantity limit represents the maximum number of services that can be in the highest priority at the same time. The priorities obtained after constraint processing are used to determine the priority information of each currently running service.

8. The method according to claim 7, characterized in that, Determine the initial priority of each currently running service, including: Using the aforementioned basic priority information of the business as a benchmark, traverse each currently running business; For each target service encountered during the traversal, if the target service is one that the user is currently interacting with, the priority of the target service is increased. After completing the traversal and processing of all currently running services, the initial priority of each service is obtained.

9. The method according to claim 7, characterized in that, Priority constraint processing is performed on the initial priority based on the quantity upper limit, including: Count the number of services with the highest priority in the initial priority list; In response to the number of services with the highest priority exceeding the upper limit, the priority of non-security services is lowered until the number of services with the highest priority does not exceed the upper limit; wherein, after processing, the priority of security services is not lower than the preset minimum priority level. If the number of services with the highest priority is less than or equal to the upper limit, the priority of each service remains unchanged.

10. The method according to claim 4, characterized in that, Before determining the comprehensive matching score between the service and communication links, the method further includes: For each currently running service, communication links that do not meet the minimum requirement threshold for at least one dimension are excluded, resulting in a candidate link set for the service.

11. The method according to claim 4, characterized in that, After determining the link allocation scheme, the method further includes: Statistics on the number of currently running services and the number of available communication links; In response to the fact that the number of currently running services exceeds the number of available communication links, a secondary adaptation adjustment is performed on the initial matching relationship between services and links within the link allocation scheme; Based on the results of the secondary adaptation and adjustment, the target communication links corresponding to each currently running service are determined.

12. The method according to claim 11, characterized in that, The secondary adaptation adjustment performs at least one of the following processes: Multiple low-priority services are aggregated into a single available communication link, and data transmission is completed through link sharing. Lower the resource requirements of low-priority services across all dimensions, and re-adapt the communication links based on the adjusted service requirements; If resource constraints cannot be met even after completing business aggregation and demand indicator reduction, the lowest priority business is suspended, and the suspended business is resumed when an idle communication link is detected. Configure a single communication link to time-division multiplexing mode to carry the data transmission of multiple services simultaneously.

13. The method according to claim 1, characterized in that, Based on the environment type information, switching from the current communication link of each currently running service to the corresponding target communication link includes: Based on the current operating information of the device and the environment type information, a preset historical experience database is retrieved to obtain historical link information; Based on the historical link information and the signal trend information of the communication link, the timing of link switching is determined; When the link switching time is reached, the currently running services are switched from the current communication link to the corresponding target communication link.

14. The method according to claim 13, characterized in that, Switching each currently running service from the current communication link to the corresponding target communication link includes: Control the current communication link and the target communication link to transmit in parallel for a preset duration; Once the target communication link is detected to be in a stable state, the data transmission task of the current communication link is terminated.

15. The method according to claim 14, characterized in that, After terminating the data transmission task of the current communication link, the method further includes: Control the current communication link to enter a low-power listening standby state; In response to the communication quality degradation of the target communication link after the switch reaching a preset percentage threshold, the system automatically reverts to the current communication link before the switch.

16. A link switching device, characterized in that, include: The acquisition unit is used to acquire environment type information and business information; The determining unit is used to determine the target communication links for each currently running service based on the service information and the capability description files of each communication link. The switching unit is used to switch from the current communication link of each currently running service to the corresponding target communication link based on the environment type information.

17. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor executes the instructions to implement the link switching method according to any one of claims 1-15.

18. A non-transitory computer-readable storage medium storing computer instructions thereon, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the link switching method of any one of claims 1-15 is implemented.

19. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the link switching method as described in any one of claims 1-15.