Multipath dialing conflict processing method, device, equipment, chip and chip module
By identifying and terminating conflicts in multiple dial-up links within communication devices, the problem of network service instability caused by link parameter conflicts was resolved, thereby improving the reliability of network services.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SPREADTRUM COMM (TIANJIN) INC
- Filing Date
- 2026-02-13
- Publication Date
- 2026-05-15
AI Technical Summary
In communication equipment, the link parameters of multiple dial-up links may conflict, causing some or all dial-up links to malfunction and resulting in poor network service reliability.
By obtaining the link parameters of the first dial-up link and each of the established second dial-up links, conflicting links are identified, and dialing operations on the first dial-up link are stopped to meet the preset conflict conditions.
This effectively avoids business anomalies or service interruptions caused by link parameter conflicts, and improves the stability and reliability of network services.
Smart Images

Figure CN122053674A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, computer equipment, chip, and chip module for handling multi-dialing conflicts. Background Technology
[0002] Currently, in order to make communication equipment suitable for different business scenarios, multiple dialing can be implemented on a single communication device, that is, a communication device can access the Internet through multiple different dialing links.
[0003] However, the link parameters of different dial-up links may conflict. If the communication equipment maintains multiple conflicting dial-up links at the same time, some or all dial-up links may fail to operate normally, resulting in poor network service reliability. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, chip, and chip module for handling multi-dialing conflicts to address the aforementioned technical problems, so as to ensure the normal operation of each dialing link and improve the reliability of network services.
[0005] Firstly, this application provides a method for handling multi-dialing conflict, including:
[0006] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0007] Get the link parameters of each currently established second dial-up link;
[0008] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0009] In one embodiment, the method further includes:
[0010] In response to the absence of a conflicting link in each of the second dialing links, a dialing operation is performed on the first dialing link.
[0011] In one embodiment, the link parameters include a session identifier and a reuse license status, and the method further includes:
[0012] For each of the second dialing links, in response to the fact that the session identifier of the first dialing link is the same as the session identifier of the second dialing link, and the multiplexing permission status of the target dialing link is not allowed, it is determined that the link parameters of the second dialing link and the link parameters of the first dialing link satisfy the preset conflict condition, and the target dialing link includes the first dialing link and / or the second dialing link.
[0013] In one embodiment, the link parameters include transmission mode and port reservation status; the method further includes:
[0014] For each of the second dial-up links, in response to the second dial-up link's transmission mode being transparent and its port reservation status being unreserved, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link satisfy the preset conflict condition.
[0015] In one embodiment, the first dialing link includes a first uplink or a second uplink; the step of performing a dialing operation on the first dialing link includes:
[0016] Detect the link status of the first uplink;
[0017] In response to the first uplink being in a valid state, a dialing operation is performed on the first uplink; or, in response to the first uplink being invalid, a dialing operation is performed on the second uplink.
[0018] In one embodiment, the method further includes:
[0019] Based on pre-configured link priority information, the first uplink is determined from each uplink included in the first dialing link, and the other uplinks are determined as the second uplink.
[0020] Secondly, this application also provides a multi-dialing conflict handling device, comprising:
[0021] The response module is used to respond to a dial initiation command for the first dialing link and obtain the link parameters of the first dialing link.
[0022] The acquisition module is used to acquire the link parameters of each currently established second dial-up link;
[0023] The processing module is configured to terminate the dialing operation on the first dialing link in response to the identification of at least one conflicting link from each of the second dialing links; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0024] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0025] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0026] Get the link parameters of each currently established second dial-up link;
[0027] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0028] Fourthly, this application also provides a chip, including a processor and a communication interface, wherein the processor is configured to cause the chip to perform:
[0029] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0030] Get the link parameters of each currently established second dial-up link;
[0031] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0032] Fifthly, this application also provides a chip module, including a communication module, a power module, a storage module, and a chip, wherein:
[0033] The power module is used to provide power to the chip module;
[0034] The storage module is used to store data and instructions;
[0035] The communication module is used for internal communication within the chip module, or for communication between the chip module and external devices.
[0036] The chip is used to perform the steps of the method provided in the first aspect above.
[0037] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0038] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0039] Get the link parameters of each currently established second dial-up link;
[0040] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0041] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0042] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0043] Get the link parameters of each currently established second dial-up link;
[0044] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0045] The aforementioned multi-dialing conflict handling method, apparatus, computer equipment, chip, and chip module, in a communication device supporting multi-dialing, in response to a dialing initiation command for a first dialing link, compares the link parameters of the first dialing link with the link parameters of each successfully established second dialing link in the communication device; for each second dialing link, once the link parameters of the first dialing link and the link parameters of the second dialing link meet a preset conflict condition, the second dialing link can be identified as a conflicting link, thereby suspending the dialing operation on the first dialing link, thus preventing the establishment of the first dialing link from disrupting the stable operation of the identified conflicting link, avoiding service anomalies or service interruptions caused by link parameter conflicts in multi-dialing scenarios, and effectively improving the stability and reliability of network services. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a schematic diagram illustrating an application scenario of a multi-dialing conflict resolution method in one embodiment.
[0048] Figure 2This is a flowchart of a multi-dialing conflict handling method in one embodiment;
[0049] Figure 3 This is a system architecture diagram of a multi-dialing conflict handling method in one embodiment;
[0050] Figure 4 Here is a flowchart of conflict determination in a specific embodiment;
[0051] Figure 5 Here is a flowchart for conflict determination in another specific embodiment;
[0052] Figure 6 This is a schematic diagram of the link switching process in a specific embodiment;
[0053] Figure 7 This is a structural block diagram of a multi-dialing conflict handling device in one embodiment;
[0054] Figure 8 This is an internal structural diagram of a computer device in one embodiment;
[0055] Figure 9 This is a structural block diagram of a chip module in one embodiment. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0057] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0058] To make communication equipment suitable for different service scenarios, multiple dialing can be implemented on a single communication device, meaning that a single communication device can access the Internet through multiple different dialing links. However, the link parameters of different dialing links may conflict. If the communication device maintains multiple conflicting dialing links simultaneously, some or all of the dialing links may fail to function properly, resulting in poor network service reliability.
[0059] Based on this, in an exemplary embodiment, this application provides a multi-dialing conflict handling method, which can be applied to a communication device with network communication capabilities, wherein the communication device can be in the following state: Figure 1 In the application environment shown, communication device 102 communicates with network-side device 104 via a dial-up link. Communication device 102 supports multiple dial-ups, meaning it can communicate with network-side device 104 through various different dial-up links. A data storage system can store the data that network-side device 104 needs to process. The data storage system can be integrated into network-side device 104 or located in the cloud or on other network servers.
[0060] The communication device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. The network-side device 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0061] Specifically, such as Figure 2 As shown, this method includes the following steps:
[0062] Step 201: In response to the dial initiation command for the first dialing link, obtain the link parameters of the first dialing link.
[0063] In this embodiment, the communication device supports multiple dial-up connections. Therefore, when the communication device receives a dial-up initiation command requesting the establishment of a new dial-up link, it needs to first determine that this new dial-up link will not conflict with existing dial-up links in the communication device. The service types of the dial-up links supported by the communication device include, but are not limited to, USBNDIS (Universal Serial Bus Network Driver Interface Specification), USB Tether (Universal Serial Bus Tethering), PPP NDIS (Point-to-Point Protocol Network Driver Interface Specification), PPP Tether (Point-to-Point Protocol Tethering), WIFI AP (Wireless Fidelity Access Point), or local internet access. The multiple dial-up links supported by the communication device typically correspond to different service types. For ease of description, the dial-up link to be established indicated by the dial-up initiation command can be referred to as the first dial-up link, and the dial-up link already successfully established in the communication device can be referred to as the second dial-up link.
[0064] The dialing initiation command can be triggered by user operation of the communication device. For example, the user can trigger the dialing initiation command to establish the first dialing link through interactive operation on the front-end operation interface; or, the dialing initiation command can be automatically triggered by the communication device's own business needs. For example, the application can actively call the API (Application Programming Interface) to issue a dialing initiation command for establishing a first dialing link dedicated to transmitting certain data; etc. The specific implementation of this application does not limit this.
[0065] Based on this, in response to the detected dialing initiation command, the communication device can obtain the link parameters related to the first dialing link. These link parameters include, but are not limited to, session identifier, multiplexing license status, transmission mode and port reservation status, which serve as the basis for subsequent judgment on whether there is a conflict between the first dialing link and each of the second dialing links.
[0066] Step 202: Obtain the link parameters of each of the currently established second dial-up links.
[0067] Then, the communication device can also obtain the link parameters of each of the currently established second dial-up links. The second dial-up link refers to the dial-up link in the current communication device that has been successfully connected and is in normal operation, and there can be one or more of them.
[0068] Specifically, the communication device can traverse each established second dial-up connection and extract the link parameters of each second dial-up link one by one. The parameter types of the link parameters of the second dial-up link are completely consistent with those of the first dial-up link, ensuring that the subsequent parameter comparisons are of the same dimension and comparable, avoiding omission of second dial-up links and thus preventing missed conflict judgments, and ensuring the comprehensiveness of conflict handling.
[0069] Step 203: In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0070] After obtaining the link parameters of the first dial-up link and the second dial-up link, the communication device can use the conflict management module to determine whether the link parameters of the first dial-up link and the link parameters of the second dial-up link meet the preset conflict conditions. If the link parameters of a certain second dial-up link meet the preset conflict conditions with the link parameters of the first dial-up link, it indicates that the second dial-up link conflicts with the first dial-up link to be established. Therefore, the second dial-up link can be used as a conflict link.
[0071] Specifically, the conflict management module can compare the obtained link parameters of the first dialing link with the link parameters of each second dialing link according to the preset conflict conditions. Once a conflict link is identified, the dialing operation of the first dialing link can be stopped, and the first dialing link indicated by the dialing initiation command will not be established. This avoids the situation where the first dialing link and the identified conflict link exist at the same time, and ensures that the established conflict links can continue to operate normally.
[0072] As can be seen from the above, in the solution provided in this application, in response to the dialing initiation command for the first dialing link, the link parameters of the first dialing link are compared with the link parameters of each second dialing link that has been successfully established in the communication device. For each second dialing link, once the link parameters of the first dialing link and the link parameters of the second dialing link meet the preset conflict conditions, the second dialing link can be identified as a conflicting link, and the dialing operation for the first dialing link can be stopped. This prevents the establishment of the first dialing link from disrupting the stable operation of the identified conflicting link, avoids service anomalies or service interruptions caused by link parameter conflicts in multi-dialing scenarios, and effectively improves the stability and reliability of network services.
[0073] In one exemplary embodiment, the method further includes:
[0074] In response to the absence of a conflicting link in each of the second dialing links, a dialing operation is performed on the first dialing link.
[0075] In this exemplary embodiment, if the conflict management module does not identify any conflicting links among the second dialing links, that is, after traversing each second dialing link, it finds that no link parameter of any second dialing link meets the preset conflict condition with the link parameter of the first dialing link, it means that there is no conflict between the first dialing link and each second dialing link. In other words, the first dialing link can coexist with each second dialing link, and there will be no problem that some or all of the second dialing links cannot operate normally due to link parameter conflicts.
[0076] Based on the judgment result generated by the conflict management module, the communication device can continue to perform the dialing operation on the first dialing link through the dial-up Internet access service module, complete the subsequent dialing process, and perform related operations such as access configuration and network resource allocation of the first dialing link according to the dialing initiation command, until the first dialing link is successfully established and in an effective operating state.
[0077] This constitutes a complete multi-dialing conflict handling mechanism. By comparing link parameters in the early stage, it avoids the risk of conflict and ensures the stable operation of the existing second dialing link. At the same time, it ensures that the first dialing link can be successfully established even if no conflicting link is identified, thus meeting the service requirements of multi-dialing access of communication equipment and improving the network adaptability and reliability of communication equipment in different scenarios.
[0078] In an exemplary embodiment, the link parameters include a session identifier and a multiplexing license status. The method further includes:
[0079] For each second dial-up link, in response to the fact that the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link, and the multiplexing permission status of the target dial-up link is not allowed, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link meet the preset conflict conditions, and the target dial-up link includes the first dial-up link and / or the second dial-up link.
[0080] In this exemplary embodiment, the link parameters include a session identifier and a reuse license status. The session identifier refers to the CID (ContextIdentifier) of the PDP (Packet Data Protocol) session associated with the dial-up link. The reuse license status is used to declare whether the PDP session is allowed to be shared by other dial-up links. It can be understood that the reuse license status includes two states: allowed and disallowed.
[0081] Based on this, the specific process for determining whether the link parameters of the first dial-up link and the link parameters of the second dial-up link meet the preset conflict conditions includes:
[0082] For each second dial-up link, determine whether the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link. If the session identifier of the first dial-up link is different from the session identifier of the second dial-up link, it indicates that the first dial-up link and the second dial-up link belong to different PDP sessions and are independent of each other, and there is no basis for conflict for the same PDP session.
[0083] If the session identifier of the first dial-up link is the same as that of the second dial-up link, it indicates that the first dial-up link and the second dial-up link are associated with the same PDP session. It is necessary to further combine the multiplexing license status of the first dial-up link and the second dial-up link to determine whether the preset conflict conditions are met.
[0084] Specifically, the multiplexing permission status of the target dialing link can be verified. The target dialing link here includes either or both of the first dialing link and the second dialing link. If the multiplexing permission status of both the first dialing link and the second dialing link is allowed, it means that the first dialing link and the second dialing link can coexist. Conversely, if there is a situation where the session identifier is the same, and the multiplexing permission status of at least one of the target dialing links is not allowed, it means that the first dialing link and the second dialing link cannot coexist. In this case, the communication device can determine that the second dialing link is a conflicting link that conflicts with the first dialing link.
[0085] In this way, by using the judgment logic based on session identifier and reuse license status, the specific scenarios in which the session identifier and reuse license status are linked to trigger conflict are accurately defined, ensuring the targetedness and accuracy of conflict handling. At the same time, it also provides a clear basis for the suspension or execution of subsequent dialing operations, effectively avoiding dialing link operation abnormalities caused by duplicate session identifiers that cannot be reused.
[0086] In one exemplary embodiment, the link parameters include the transmission mode and port reservation status; the method further includes:
[0087] For each second dial-up link, in response to the second dial-up link's transmission mode being transparent and its port reservation status being unreserved, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link meet the preset conflict conditions.
[0088] In this exemplary embodiment, the link parameters include the transmission mode and port reservation status. The transmission mode refers to the data forwarding and processing method adopted by the dial-up link when transmitting data, including routing and pass-through. If the transmission mode is routing, the dial-up link needs to parse the network layer information of the data packet and perform corresponding processing. If the transmission mode is pass-through, the dial-up link will not check or modify the data packet, but will directly forward the data packet.
[0089] The port reservation status is used to declare whether the port used by a dial-up link with a transparent transmission mode is exclusive. The port reservation status includes reserved status and unreserved status. Reserved status means that the communication device has reserved a dedicated port for the dial-up link, which cannot be occupied by other dial-up links. Unreserved status means that the communication device has not reserved a dedicated port for the dial-up link. Therefore, the establishment of other dial-up links may cause multiple dial-up links to use the same port at the same time, resulting in resource conflicts.
[0090] Based on this, the specific process for determining whether the link parameters of the first dial-up link and the link parameters of the second dial-up link meet the preset conflict conditions includes:
[0091] For each second dial-up link, first determine whether the transmission mode of the second dial-up link is transparent. If the transmission mode of the second dial-up link is routing, it means that the second dial-up link forwards data by routing the network layer information of the data packet, does not rely on a fixed port for transmission, and there is no conflict caused by port resources.
[0092] If the transmission mode of the second dial-up link is transparent, it indicates that the second dial-up link uses a fixed port for data transmission, which may lead to port resource contention. It is necessary to further determine the port reservation status of the second dial-up link to determine whether it conflicts with the first dial-up link.
[0093] Specifically, if the port reservation status of the second dial-up link is "reserved", it means that the communication device has reserved a dedicated port for the second dial-up link. The second dial-up link can transmit data through this port, while the first dial-up link cannot use this port. Therefore, the first dial-up link will not have a port conflict with the second dial-up link.
[0094] Conversely, if the port reservation status of the second dial-up link is unreserved, it means that the communication device has not reserved a dedicated port for the second dial-up link. If the first dial-up link is allowed to continue to be established, port resource contention is very likely to occur, which will cause the second dial-up link to fail to work properly. In this case, it can be determined that the second dial-up link and the first dial-up link meet the preset conflict conditions, that is, the second dial-up link is determined to be a conflict link that conflicts with the first dial-up link.
[0095] This allows for timely identification of conflict risks arising from insufficient port resources in transparent transmission mode during the dialing initiation phase, providing accurate judgment criteria for subsequent suspension or continuation of dialing operations, and further enhancing the stability and reliability of multi-channel dialing coexistence.
[0096] The uplink types for each dial-up link include cellular network or USB (Universal Serial Bus) to Ethernet. Cellular network refers to accessing the wireless network through a mobile communication module (such as a 4G / 5G module), while USB (Universal Serial Bus) to Ethernet refers to accessing the wired broadband network by connecting an external Ethernet adapter through a USB interface.
[0097] Based on this, in an exemplary embodiment, the first dialing link includes a first uplink or a second uplink; in step 203, performing a dialing operation on the first dialing link includes:
[0098] Detect the link status of the first uplink;
[0099] In response to the first uplink being in a valid state, a dialing operation is performed on the first uplink; or, in response to the first uplink being invalid, a dialing operation is performed on the second uplink.
[0100] In this exemplary embodiment, provided that there is no conflicting link that conflicts with the first dialing link, a dialing guarantee mechanism that serves as a backup for each other can be constructed based on two different types of uplinks: cellular network and USB to Ethernet. This avoids the dialing failure problem caused by the failure of a single uplink and ensures that the conflict-free first dialing link can be successfully established.
[0101] Specifically, after confirming that there are no conflicts between the first dial-up link and all currently established second dial-up links, the network link management module of the communication device can prioritize performing link status detection on the preset first uplink. The detection scope covers key indicators such as link connectivity, signal strength, transmission stability, and network access permissions to determine whether the first uplink can meet the requirements of dial-up establishment and subsequent data transmission. The first uplink can be a cellular network or a USB-to-Ethernet connection, while the second uplink is any other uplink type besides the first, without specific limitations.
[0102] If the test results show that the first uplink is valid, it means that the first uplink can be put into normal use. In this case, the communication device can directly execute the dialing operation based on the uplink, and complete the access configuration, network resource allocation and other related processes of the first dialing link according to the dialing initiation command, and establish the first dialing link. If the test finds that the first uplink is invalid, such as when the cellular network has a signal interruption, link failure, or when the USB to Ethernet interface connection is abnormal or the wired broadband is interrupted, the network link management module can automatically trigger the uplink switching mechanism and switch to execute the dialing operation of the second uplink. The backup second uplink is used to make up for the defects of the first uplink, ensuring that the dialing operation of the first dialing link can continue to advance and be completed smoothly.
[0103] This link switching implementation method not only fully leverages the advantages of different types of uplinks, but also effectively improves the reliability and stability of multi-dialing establishment, ensuring that communication equipment can flexibly adapt to the actual status of the uplink and continuously and stably achieve network access, thus better meeting the multi-dialing usage needs under different business scenarios.
[0104] In one implementation, this method further includes:
[0105] Based on pre-configured link priority information, the first uplink is determined from all uplinks included in the first dial-up link, and the other uplinks are determined as the second uplink.
[0106] In this implementation, the first uplink can be determined from the selectable uplinks based on the pre-configured link priority information. The link priority information here is pre-configured by the network link management module according to factors such as actual business needs, network transmission characteristics and usage scenarios. It is used to clarify the usage priority order of each uplink included in the first dial-up link and provide a clear basis for the primary and backup division of uplinks.
[0107] Link priority configuration can be combined with the advantages of different uplinks. For example, if a cellular network has the advantages of convenient access and wide coverage, it can be configured as a high priority; if a USB to Ethernet network has the advantages of stable transmission and stable bandwidth, it can be configured as a high priority according to business needs. The specific priority division can be flexibly adapted to the actual application scenario.
[0108] When performing this step, the network link management module can call the pre-stored link priority information to prioritize all uplinks included in the first dialing link, and determine the uplink with the highest priority as the first uplink, which will be used first during dialing operations; at the same time, the remaining uplinks with lower priority will be determined as the second uplinks as backup uplinks.
[0109] This ensures that dialing operations prioritize uplinks that better meet business needs and offer greater advantages. It also provides clear logical support for subsequent uplink status detection and automatic switching, further optimizing the efficiency and reliability of dialing establishment. This makes the selection of uplinks for multi-dialing more targeted and reasonable, and better adapts to the network usage needs of different business scenarios.
[0110] Based on the conflict handling mechanism of this application embodiment, the following results can be obtained by judging whether there is a conflict between dialing links of different service types:
[0111] Table 1. Dialing link conflict scenarios for different service types
[0112]
[0113] Table 1 illustrates the dial-up link conflict scenarios for different service types. NA indicates no conflict within the same service type; × indicates a conflict; and √ indicates no conflict. Specifically, USB NDIS conflicts with USB Tether and PPP NDIS, but not with PPP Tether, WIFI AP, or local internet access; USB Tether conflicts with USB NDIS, but not with PPP NDIS, PPP Tether, WIFI AP, or local internet access; PPP NDIS conflicts with USB NDIS and PPP Tether, but not with USB Tether, WIFI AP, or local internet access; PPP Tether conflicts with USB NDIS and PPP NDIS, but not with USB Tether, WIFI AP, or local internet access; WIFI AP conflicts with USB NDIS, but not with USB Tether, PPP NDIS, PPP Tether, or local internet access; and local internet access conflicts with USB NDIS, but not with USB Tether, PPP NDIS, PPP Tether, or WIFI AP.
[0114] like Figure 3The diagram shown is a system architecture provided in an embodiment of this application, including a conflict management module, a dial-up internet access service module, and a link management module. Specifically, the dial-up internet access service module can be used to establish dial-up links for various service types such as WIFI AP, PPP NDIS, PPP Tether, USB NDIS, USB Tether, and local dial-up. The conflict determination of these dial-up links is implemented by the conflict management module, while the link management module is used to determine which uplink to use for newly established dial-up links. The uplink includes cellular networks and USB to Ethernet. The overall architecture ensures the stable operation and reasonable coexistence of multiple dial-up services through the coordination of conflict management and link management.
[0115] In one specific embodiment of this application, for a second dial-up link with a transmission type of routing, the conflict management module can, as follows: Figure 4 The process shown implements conflict determination. First, for each second dial-up link, it is determined whether the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link.
[0116] If the session identifier of the first dial-up link is different from that of the second dial-up link, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link do not meet the preset conflict conditions.
[0117] If the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link, then the multiplexing license status of the first dial-up link and the second dial-up link is further determined.
[0118] If both the first dial-up link and the second dial-up link are in the allowed state for multiplexing permission, then it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link do not meet the preset conflict conditions.
[0119] In response to the multiplexing permission status of the target dialing link being in an unallowed state, it is determined that the link parameters of the second dialing link and the link parameters of the first dialing link meet a preset conflict condition, and the target dialing link includes the first dialing link and / or the second dialing link.
[0120] In another specific embodiment of this application, for a second dial-up link with a transmission type of transparent transmission, the conflict management module can, as follows: Figure 5 The process shown implements conflict determination. First, for each second dial-up link, it is determined whether the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link.
[0121] If the session identifier of the first dial-up link is different from that of the second dial-up link, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link do not meet the preset conflict conditions.
[0122] If the session identifier of the first dial-up link is the same as the session identifier of the second dial-up link, then the multiplexing license status of the first dial-up link and the second dial-up link is further determined.
[0123] In response to the multiplexing permission status of the target dialing link being in an unallowed state, it is determined that the link parameters of the second dialing link and the link parameters of the first dialing link meet a preset conflict condition. The target dialing link includes the first dialing link and / or the second dialing link.
[0124] In response to the fact that the multiplexing permission status of both the first dial-up link and the second dial-up link is in the allowed state, the port reservation status of the second dial-up link is further determined.
[0125] If the port reservation status of the second dial-up link is in the reserved state, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link do not meet the preset conflict conditions.
[0126] In response to the port reservation status of the second dial-up link being unreserved, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link meet the preset conflict conditions.
[0127] like Figure 6 The diagram shown is a flowchart illustrating the link switching process of the link management module for the first dial-up link to be established in a specific embodiment of this application. In this embodiment, the link priority information indicates that the cellular network has a higher link priority. Based on the link priority information, the link management module first detects the link status of the cellular network. If the link status of the cellular network is valid, the module performs a dial-up operation on the cellular network. Alternatively, if the link status of the cellular network is invalid, the module performs a dial-up operation on the USB-to-Ethernet connection.
[0128] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0129] Based on the same inventive concept, this application also provides a multi-dialing conflict processing device for implementing the multi-dialing conflict processing method described above. This device can be applied to or integrated into a chip or chip module, for example. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more embodiments of the multi-dialing conflict processing device provided below can be found in the limitations of the multi-dialing conflict processing method described above, and will not be repeated here.
[0130] In one exemplary embodiment, such as Figure 7 As shown, a multi-dialing conflict handling device is provided. This device includes:
[0131] The response module 701 is used to obtain the link parameters of the first dialing link in response to the dialing initiation command for the first dialing link.
[0132] The acquisition module 702 is used to acquire the link parameters of each of the currently established second dial-up links;
[0133] The processing module 703 is configured to stop dialing the first dialing link in response to the identification of at least one conflicting link from each of the second dialing links; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0134] In one exemplary embodiment, the apparatus further includes:
[0135] The dialing module is used to perform a dialing operation on the first dialing link in response to the absence of a conflicting link identified in each of the second dialing links.
[0136] In one exemplary embodiment, the link parameters include a session identifier and a multiplexing license status, and the apparatus further includes:
[0137] The first identification module is configured to, for each of the second dialing links, in response to the fact that the session identifier of the first dialing link is the same as the session identifier of the second dialing link, and the multiplexing permission status of the target dialing link is not allowed, determine that the link parameters of the second dialing link and the link parameters of the first dialing link satisfy the preset conflict condition, wherein the target dialing link includes the first dialing link and / or the second dialing link.
[0138] In one exemplary embodiment, the link parameters include transmission mode and port reservation status; the device further includes:
[0139] The second identification module is used to determine, for each of the second dial-up links, in response to the second dial-up link's transmission mode being transparent and the second dial-up link's port reservation status being unreserved, that the link parameters of the second dial-up link and the link parameters of the first dial-up link satisfy the preset conflict condition.
[0140] In an exemplary embodiment, the first dialing link includes a first uplink or a second uplink; the processing module 703 is specifically used for:
[0141] Detect the link status of the first uplink;
[0142] In response to the first uplink being in a valid state, a dialing operation is performed on the first uplink; or, in response to the first uplink being invalid, a dialing operation is performed on the second uplink.
[0143] In one implementation, the processing module 703 is specifically used for:
[0144] Based on pre-configured link priority information, the first uplink is determined from each uplink included in the first dialing link, and the other uplinks are determined as the second uplink.
[0145] Regarding the modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for various devices and products applied to or integrated into a chip, all of their modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits; for various devices and products applied to or integrated into a chip module, all of their modules / units can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0146] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores measurement data and / or positioning information. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a multiplexing conflict resolution method.
[0147] Those skilled in the art will understand that Figure 8The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0148] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0149] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0150] Get the link parameters of each currently established second dial-up link;
[0151] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0152] Based on the same inventive concept, this application also provides a chip, including a processor and a communication interface; the communication interface is used to receive or send data; the processor is configured to cause the chip to perform the following steps:
[0153] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0154] Get the link parameters of each currently established second dial-up link;
[0155] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0156] It is understood that the chip involved in the embodiments of this application may be a field-programmable gate array (FPGA), may be an application-specific integrated circuit (ASIC), may be a system on chip (SoC), may be a central processor unit (CPU), may be a network processor (NP), may be a digital signal processor (DSP), may be a microcontroller unit (MCU), may be a programmable logic device (PLD), or other integrated chips, etc.
[0157] Based on the same inventive concept, this application also provides a chip module, such as... Figure 9 As shown, the chip module includes a communication module, a power module, a storage module, and a chip. Among them:
[0158] The power module is used to provide power to the chip module; the storage module is used to store data and instructions; the communication module is used for internal communication within the chip module, or for communication between the chip module and external devices; this chip corresponds to the chip in the above chip embodiment.
[0159] The implementation method of this chip module can be found in the relevant content of the above chip embodiment, and will not be repeated here.
[0160] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0161] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0162] Get the link parameters of each currently established second dial-up link;
[0163] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0164] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0165] In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained;
[0166] Get the link parameters of each currently established second dial-up link;
[0167] In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
[0168] Regarding the modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for various devices and products applied to or integrated into a chip, all of their modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into a chip module, all of their modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., a chip circuit module) or different components of the chip module, or at least some modules / units... It can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its modules / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0169] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0170] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0171] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0172] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for handling multi-channel dialing conflicts, characterized in that, The method includes: In response to a dial initiation command for the first dialing link, the link parameters of the first dialing link are obtained; Get the link parameters of each currently established second dial-up link; In response to the identification of at least one conflicting link from each of the second dialing links, the dialing operation on the first dialing link is terminated; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
2. The method according to claim 1, characterized in that, The method further includes: In response to the absence of a conflicting link in each of the second dialing links, a dialing operation is performed on the first dialing link.
3. The method according to claim 1 or 2, characterized in that, The link parameters include session identifier and reuse license status, and the method further includes: For each of the second dialing links, in response to the fact that the session identifier of the first dialing link is the same as the session identifier of the second dialing link, and the multiplexing permission status of the target dialing link is not allowed, it is determined that the link parameters of the second dialing link and the link parameters of the first dialing link satisfy the preset conflict condition, and the target dialing link includes the first dialing link and / or the second dialing link.
4. The method according to claim 1 or 2, characterized in that, The link parameters include the transmission mode and port reservation status; the method further includes: For each of the second dial-up links, in response to the second dial-up link's transmission mode being transparent and its port reservation status being unreserved, it is determined that the link parameters of the second dial-up link and the link parameters of the first dial-up link satisfy the preset conflict condition.
5. The method according to claim 2, characterized in that, The first dialing link includes a first uplink or a second uplink; the step of performing a dialing operation on the first dialing link includes: Detect the link status of the first uplink; In response to the first uplink being in a valid state, a dialing operation is performed on the first uplink; or, in response to the first uplink being invalid, a dialing operation is performed on the second uplink.
6. The method according to claim 5, characterized in that, The method further includes: Based on pre-configured link priority information, the first uplink is determined from each uplink included in the first dialing link, and the other uplinks are determined as the second uplink.
7. A multi-channel dialing conflict handling device, characterized in that, The device includes: The response module is used to respond to a dial initiation command for the first dialing link and obtain the link parameters of the first dialing link. The acquisition module is used to acquire the link parameters of each currently established second dial-up link; The processing module is configured to terminate the dialing operation on the first dialing link in response to the identification of at least one conflicting link from each of the second dialing links; the link parameters of the conflicting link and the link parameters of the first dialing link satisfy a preset conflict condition.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A chip, characterized in that, The device includes a processor and a communication interface, wherein the processor is configured to cause the chip to perform the steps of the method described in any one of claims 1 to 6.
10. A chip module, characterized in that, The device includes a communication module, a power module, a storage module, and a chip, wherein: the power module provides power to the chip module; the storage module stores data and instructions; the communication module performs internal communication within the chip module or communication between the chip module and external devices; and the chip performs the steps of the method described in any one of claims 1 to 6.