Transmission link management methods, apparatus, device and storage medium
By negotiating access point priorities, the link priority of transmission links is dynamically determined, which solves the problem of mismatch in transmission link selection in multi-access point environments and improves data transmission efficiency.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2026-03-26
AI Technical Summary
In the presence of multiple network access points, existing technologies cannot effectively select transmission links that are suitable for various communication scenarios, resulting in low data transmission efficiency.
By detecting access point priority information, the sending and receiving ends negotiate to determine the link priority of the transmission link and dynamically adjust the selection of the transmission link.
It enables flexible selection of transmission links, adapts to network changes, and improves data transmission performance.
Smart Images

Figure CN2025106413_26032026_PF_FP_ABST
Abstract
Description
Transmission link management method, device, equipment and storage medium
[0001] Cross-reference to Related Applications
[0002] This application claims priority to Chinese Patent Application No. 202411330892.1, filed September 23, 2024, the disclosure of which is incorporated herein in its entirety by this reference as part of the present application. TECHNICAL FIELD
[0003] Embodiments of the present disclosure relate to a transmission link management method, device, equipment and storage medium. BACKGROUND
[0004] For two ends with communication needs, if there are multiple network access points in the two ends, multiple transmission links can be formed between the two ends. When transmitting data, the sending end needs to select a target transmission link from multiple transmission links for data transmission.
[0005] Currently, the data sending end mainly selects the transmission link with the highest priority from multiple transmission links as the target transmission link by using the default set link priority information. The set link priority information may not be suitable for various communication situations, such as when the number of access points of the two ends changes. Therefore, the link priority information cannot be used to effectively select the transmission link. SUMMARY
[0006] Embodiments of the present disclosure provide a transmission link management method, device, equipment and storage medium.
[0007] In a first aspect, embodiments of the present disclosure provide a transmission link management method, which is applied to a sending end and includes:
[0008] When it is detected that the priority determination condition is met, the first access point priority information of the currently possessed first access point is determined, and a priority negotiation request containing the first access point priority information is sent to a receiving end, so that the receiving end parses the first access point priority information from the priority negotiation request, determines the second access point priority information of the currently possessed second access point based on the first access point priority information, and encapsulates the second access point priority information to form a negotiation response message;
[0009] The negotiation response message sent by the receiving end is parsed to obtain the second access point priority information contained therein;
[0010] According to the first access point priority information and the second access point priority information, a transmission link is established, and the link priority of the established transmission link is determined.
[0011] In a second aspect, the embodiments of the present disclosure further provide a transmission link management method, applied to a receiving end, comprising:
[0012] receiving and analyzing a priority negotiation request sent by a sending end to obtain first access point priority information determined by the sending end according to a currently possessed first access point;
[0013] determining second access point priority of a currently possessed second access point according to the first access point priority information, and constructing second access point priority information containing the second access point priority;
[0014] packaging the second access point priority information to form negotiation response information and sending the negotiation response information to the sending end, so that the sending end assembles a transmission link according to the second access point priority information in combination with the first access point priority information, and determines link priority of the assembled transmission link.
[0015] In a third aspect, the embodiments of the present disclosure further provide a transmission link management device, configured in a sending end, comprising:
[0016] a first determination module, configured to determine first access point priority information of a currently possessed first access point when it is detected that a priority determination condition is met, and form a priority negotiation request containing the first access point priority information and send the priority negotiation request to a receiving end, so that the receiving end analyzes the first access point priority information from the priority negotiation request, determines second access point priority information of a currently possessed second access point based on the first access point priority information, and packages the second access point priority information to form a negotiation response message;
[0017] a second determination module, configured to analyze the negotiation response message sent by the receiving end to obtain the second access point priority information contained in the negotiation response message;
[0018] a third determination module, configured to assemble a transmission link according to the first access point priority information and the second access point priority information, and determine link priority of the assembled transmission link.
[0019] In a fourth aspect, the embodiments of the present disclosure further provide a transmission link management device, configured in a receiving end, comprising:
[0020] a receiving module, configured to receive and analyze a priority negotiation request sent by a sending end to obtain first access point priority information determined by the sending end according to a currently possessed first access point;
[0021] determining a second access point priority of a currently possessed second access point according to the first access point priority information, and constructing second access point priority information containing the second access point priority;
[0022] sending the second access point priority information to the sending end in a form of negotiation response information, so that the sending end assembles a transmission link according to the second access point priority information and the first access point priority information, and determines a link priority of the assembled transmission link.
[0023] In a fifth aspect, the embodiments of the present disclosure further provide a computer device, which comprises:
[0024] one or more processors;
[0025] a storage device configured to store one or more programs,
[0026] When the one or more programs are executed by the one or more processors, the one or more processors implement the transmission link management method provided by any of the embodiments of the present disclosure.
[0027] In a sixth aspect, the embodiments of the present disclosure further provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the transmission link management method provided by any of the embodiments of the present disclosure.
[0028] In a seventh aspect, the embodiments of the present disclosure further provide a computer program product, which comprises a computer program. The computer program is executed by a processor to implement the transmission link management method provided by any of the embodiments of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present disclosure, the drawings needed in the description of the embodiments are briefly introduced as follows. Obviously, the drawings introduced are only a part of the drawings of the present disclosure, and not all the drawings. Those skilled in the art can obtain other drawings according to these drawings without creating any creative labor.
[0030] FIG. 1 is a flowchart of a transmission link management method provided by the embodiments of the present disclosure;
[0031] FIG. 2 is a flowchart of a transmission link management method provided by the embodiments of the present disclosure;
[0032] FIG. 3 shows an example flowchart of the transmission link management method provided by the embodiments of the present disclosure;
[0033] FIG. 4 is a structural schematic diagram of a transmission link management apparatus according to an embodiment of the present disclosure;
[0034] FIG. 5 is a structural schematic diagram of a transmission link management apparatus according to an embodiment of the present disclosure; and
[0035] FIG. 6 is a structural schematic diagram of a computer device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] Embodiments of the present disclosure will be described in more detail with reference to the drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, but rather, the embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and are not intended to limit the scope of protection of the present disclosure.
[0037] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.
[0038] The term "comprising" and variations thereof as used in the present disclosure are open-ended, that is, "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related definitions are given throughout the description.
[0039] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the terms "one", "multiple" mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that, unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0040] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0041] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0042] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.
[0043] For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using personal information of the user. Thus, the user can voluntarily choose whether to provide personal information to the software or hardware such as an electronic device, an application program, a server or a storage medium, etc. performing the operation of the technical solutions of the present disclosure according to the prompt information.
[0044] As an optional but non-limiting implementation manner, in response to receiving an active request of a user, the manner of sending a prompt information to the user may, for example, be a pop-up window manner, in which the prompt information can be presented in a text manner. In addition, the pop-up window can also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0045] It can be understood that the above notification and obtaining of user authorization process is only illustrative and does not limit the implementation manners of the present disclosure, and other manners meeting relevant laws and regulations can also be applied to the implementation manners of the present disclosure.
[0046] FIG. 1 is a flow diagram of a transmission link management method provided by an embodiment of the present disclosure. The present embodiment can be applied to the case of managing transmission links for data transmission. The method can be executed by a transmission link management apparatus, which can be implemented by software and / or hardware. The transmission link management method in the present embodiment can be implemented in a terminal and / or a server, and the terminal and / or the server can be selected as a sending end to execute the transmission link management method provided by the present embodiment.
[0047] It should be noted that one application scenario of the present embodiment can be described as follows: for two terminals having communication needs, if one or both of the terminals has two or more network access points available for communication, multiple transmission links for data output can be formed through the multiple network access points existing at both ends. Moreover, in order to ensure effective data transmission, a transmission link with better transmission performance will be selected when data is transmitted. How to select a more suitable transmission link becomes a problem to be solved.
[0048] Based on this, the present embodiment provides a transmission link management method, which can effectively determine the priority of transmission links at both ends to realize subsequent effective selection of transmission links through the determined link priority. Specifically, as shown in FIG. 1, the transmission link management method provided by the present embodiment can include:
[0049] S101, when it is detected that the priority determination condition is met, determine the first access point priority information of the currently possessed first access point, and form a priority negotiation request containing the first access point priority information and send it to the receiving end, so that the receiving end parses the first access point priority information from the priority negotiation request, determines the second access point priority information of the currently possessed second access point based on the first access point priority information, and encapsulates the second access point priority information to form a negotiation response message.
[0050] It should be noted that the execution logic of the transmission link management method provided in the embodiment can be considered to be periodically real-time. It can trigger the execution of the method steps involved in the embodiment when the priority determination condition is met.
[0051] In the embodiment, the execution period of the logical step can be considered as one of the priority determination conditions, which can start the management logic of the transmission link through the step when the time interval from the previous execution period reaches the set interval. In addition, the priority determination condition set in the embodiment can also be that the number of access points of the access sending end is detected to have changed, or the access point number change information sent by the receiving end is received, or the receiving end has not performed data information transmission before the sending end determines the receiving end to be the data transmission.
[0052] In the embodiment, the access point can be considered as a network device that can access the network of the terminal. Different network operators correspond to different network devices for accessing the network. In the embodiment, different access points can be distinguished by different access point names. For the terminal (which can be a sending end or a receiving end), the number of access points it possesses is determined by the number of configured network access devices and the access point name.
[0053] In the embodiment, the sending end and the receiving end can determine the number of access points possessed at the current execution time according to the number of configured network access devices. The sending end as the execution subject in the embodiment can determine the priority of the currently possessed access point (referred to as the first access point in the embodiment) through the step, and can form access point priority information. The access point priority information in the embodiment is referred to as the first access point priority information.
[0054] Specifically, the step can be performed according to the historical priority information of the historical access points to determine the priority of the access points for each first access point possessed by the sending terminal. For example, assuming that the sending terminal currently possesses three first access points, each first access point can be clearly identified by the access point name possessed by the sending terminal, and the subject can determine the priority of the access points at the current time according to the historical priority of the access points corresponding to different network operators. For example, the access point of the first network operator can be set as the highest priority, the access point of the second network operator can be set as the second highest priority, and the access point of the third network operator can be set as the lowest priority. Different priorities can be represented by setting numerical values, and the priority information of each first access point can be included in the first access point priority information.
[0055] According to the above description, after determining the first access point priority information of each first access point possessed, the first access point priority information can be encapsulated as valid data in the message to form a request message of the priority negotiation request, and sent to the receiving terminal.
[0056] In the embodiment, the receiving terminal can obtain the priority negotiation request and parse the first access point priority information from the priority negotiation request. Then, the receiving terminal can obtain the priority of each first access point according to the first access point priority information. After determining the access points possessed by the receiving terminal, the receiving terminal can find the first access point with the same name as the second access point from the first access point priority information, and set the priority of the first access point as the priority of the second access point with the same name.
[0057] In the embodiment, for the second access point whose name does not exist in the first access point priority information, the receiving terminal can randomly assign a priority to the second access point. Thus, the receiving terminal can determine the priority of each second access point possessed, obtain the second access point priority information, and then encapsulate the second access point priority information to obtain the negotiation response message.
[0058] For example, assuming that the sending terminal sends the first access point priority information of two first access points possessed to the receiving terminal, and the receiving terminal possesses three second access points, and the names of two second access points are the same as the names of two first access points in the received first access point priority information, the access point priority of the two access points with the same name can be directly set as the access priority of the corresponding second access points, and the priority of the third second access point can be randomly set as a priority different from the priorities of the other two second access points.
[0059] It should be noted that the sending end and the receiving end can be considered to have established a connection through a certain connection mode (such as a communication connection mode of a transmission control protocol) before performing the method provided in the embodiment.
[0060] S102, parsing the negotiation response message sent by the receiving end to obtain the second access point priority information contained.
[0061] In the embodiment, according to the above description, after the receiving end forms the second access point priority information corresponding to the second access points possessed by the receiving end, the receiving end can also encapsulate in the form of a message to form a negotiation response message fed back to the sending end. The sending end can receive the negotiation response message by performing the step, and can parse the second access point priority information determined by the receiving end from the negotiation response message, wherein the second access point priority information includes the second access point priority of the second access points possessed by the receiving end.
[0062] S103, assembling a transmission link according to the first access point priority information and the second access point priority information, and determining the link priority of the assembled transmission link.
[0063] In the embodiment, the sending end can obtain the second access point priority of the second access points possessed by the receiving end from the parsed second access point priority information, which is equivalent to knowing which second access points are included in the receiving end. The sending end can determine how many transmission links for data transmission can be assembled by the sending end and the receiving end according to the first access point name and the number of the first access points included in the first access point priority information in combination with the analyzed second access point name and the number of the second access points, and can represent the assembled transmission link in the form of an access point pair (such as <first access point name 1, second access point name 1>, <first access point name 1, second access point name 2>,...).
[0064] In the embodiment, through the first access point priority information and the second access point priority information, it is known which transmission links are included, it is also known the access point priority of the two access points in each transmission link, and it is also known the highest access point priority of the access points possessed by the two ends. On the basis of the known information, the link priority of each transmission link can be determined.
[0065] In the embodiment, one of the determination manners of the link priority can be described as follows: for the case that the access point names of the two access points included in the transmission link are different, i.e., the network operators providing the network services are different, the link priority of the transmission link can be determined according to the highest priority of the access points possessed by the sending end and the receiving end and the priorities of the two access points included in the transmission link; for the case that the access point names of the two access points included in the transmission link are the same, i.e., the network operators providing the network services are the same, the highest priorities of the access points possessed by the sending end and the receiving end are obtained first, and then the link priority of the transmission link is determined according to the priorities of the two access points included in the transmission link.
[0066] The transmission link management method provided in the embodiment can determine the number of transmission links possessed by the sending end and the receiving end and the link priority of each transmission link. The technical solution of the embodiment is equivalent to achieving consensus of the priorities of the access points possessed by the sending end and the receiving end, thereby realizing dynamic determination of the link priority of the transmission link. The determination manner has stronger flexibility in determining the link priority, and the link priority determined by the manner can better adapt to the case that the network or the access point involved in the communication of the sending end and the receiving end changes, thereby ensuring that a suitable transmission link with high transmission performance can be selected for data transmission based on the determined link priority.
[0067] As a first optional embodiment of the embodiment, the first access point priority information of the first access point possessed by the current sending end can be optimized as follows when the priority determination condition is met:
[0068] The first access point priority of the first access point possessed by the current sending end is determined according to the historical access point priority information of the historical access point possessed in the preceding time period, and the first access point priority information including the first access point priority is constructed.
[0069] Or, the first access point priority of the first access point possessed by the current sending end is randomly assigned, and the first access point priority information including the first access point priority is constructed.
[0070] It can be known that the embodiment meets the logical execution condition of the transmission link management at the current execution time when the priority determination condition is met, thereby determining the access point priority information of the access points possessed by the sending end and the receiving end.
[0071] The optional embodiment can determine a certain time length before the current execution time as the preceding set time period. In the embodiment, the sending end can acquire which access points (which can be recorded as historical access points) it has in the preceding set time period before the current execution time, and can acquire which access point priority the historical access points it has correspond to at the corresponding historical time. For a historical access point, the historical access point priority of the historical access point in the preceding set time period can be acquired. If the historical access point also exists at the current execution time, the historical access point priority determined can be used as the first access point priority corresponding to the historical access point at the current execution time while the historical access point is used as the first access point.
[0072] For the first access points that do not exist in the preceding set time period, the embodiment can allocate distinguishable first access point priorities to them in a random manner. As another implementation manner, the embodiment can also directly allocate first access point priorities to all the first access points possessed at the current execution time in a random manner. To ensure that the access point priority information meets the actual network environment better, the embodiment uses the historical access point information to determine the first access point information.
[0073] The first optional embodiment of the embodiment gives the determination implementation of the first access point priority information. Through the determination manner, the first access point priority of the first access points possessed can be determined, which is more suitable for the network situation of the sending end. The determination of the first access point priority provides basic information support for the determination of the access point priority of the receiving end and the determination of the transmission link priority.
[0074] As the second optional embodiment of the embodiment, on the basis of the optimization, the transmission link can be established according to the first access point priority information and the second access point priority information, and the link priority of the established transmission link can be specifically optimized as:
[0075] a1) combining the first access points contained in the first access point priority information and the second access points contained in the second access point priority information into an access point pair, and taking the access point pair formed by the combination as a transmission link established.
[0076] In the embodiment, the first access points possessed by the sending end and the second access points possessed by the receiving end provided by the network operators can be determined through the analysis of the first access point priority information and the second access point priority information. The embodiment can determine the network operators to which the first access points and the second access points belong through the access point names matched by the network operators.
[0077] According to the above description, after the first access point comprised by the sending end and the second access point comprised by the receiving end are determined, the first access point and the second access point can be combined in pairs, thereby forming an access point pair composed of the first access point and the second access point. For example, assuming that the sending end has three first access points and the receiving end has two second access points, six access point pairs can be formed, each of which can be regarded as a transmission link formed by a group, each transmission link can be represented by an access point pair, and the access point pair can be represented by the access point names of the access points.
[0078] b1) determining a first highest priority from the first access point priority information and a second highest priority from the second access point priority information.
[0079] In the embodiment, the first access point priority of the first access point possessed by the sending end and the second access point priority of the second access point possessed by the receiving end can also be determined through the first access point priority information and the second access point priority information. The highest access point priority can be determined from each first access point priority, which is recorded as the first highest priority in the embodiment. The highest access point priority can also be determined from each second access point priority, which is recorded as the second highest priority in the embodiment.
[0080] c1) for each transmission link formed, if the first access point and the second access point in the transmission link belong to the same network operator, determining the link priority of the transmission link according to the first highest priority and the second highest priority.
[0081] In the embodiment, for the access point pair representing the transmission link, the access point name in the access point pair can indicate to which network operator the access point specifically belongs. Therefore, for each transmission link formed, after the access point pair representing the transmission link is known, the access point name in the access point pair can be used to determine whether the first access point and the second access point involved in the transmission link belong to the same network operator.
[0082] It should be noted that in the communication field, when the two access points in the transmission link belong to the same network operator, the transmission link can have better transmission performance. The embodiment can set a higher link priority for the transmission link with better transmission performance. The embodiment can use a pre-set priority determination strategy to ensure that the transmission link formed by the access points belonging to the same network operator has a higher link priority.
[0083] For example, in one implementation of the set priority determination policy, the current priority of the first access point involved in the transmission link can be obtained, and the determined first highest priority and second highest priority can also be obtained, and then the link priority of the transmission link can be determined by multiplying the first highest priority and the second highest priority and combining the result with the current priority of the first access point.
[0084] d1) If the first access point and the second access point in the transmission link belong to different network operators, the link priority of the transmission link is determined according to the second highest priority.
[0085] According to the above description, it can also be considered in the communication field that the transmission performance of the transmission link formed when the two access points belong to different network operators is lower than that when the two access points belong to the same network operator. This embodiment considers setting a lower link priority for the transmission link formed by the access points belonging to different network operators. Similarly, this embodiment can specifically use a pre-set priority determination policy to ensure that the transmission link formed by the access points belonging to different network operators has a lower link priority.
[0086] For example, in one implementation of the set priority determination policy, the current priority of the first access point involved in the transmission link can be obtained, and the current priority of the second access point involved can also be obtained, and then the link priority of the transmission link can be determined by multiplying the first highest priority and the second highest priority and combining the result with the current priority of the first access point.
[0087] As an implementation of the above-mentioned second optional embodiment, the determination of the link priority of the transmission link according to the first highest priority and the second highest priority can be further specified as:
[0088] c11) Determine the priority product value of the first highest priority and the second highest priority, and add the priority product value to the current priority of the first access point in the transmission link to obtain a first priority sum.
[0089] In the embodiment, in the link priority determination of the two access points in the transmission link belonging to the same network operator, there can be a calculation formula of the link priority, and the step c12) and the following step c12) give the specific implementation of the execution logic involved in the calculation formula. Wherein, the current priority of the first access point included in the transmission link can be obtained through the step, the first access point belongs to the sending end, and the current priority can be considered as the first access point priority determined for the first access point at the current execution time. Then the product value of the first highest priority and the second highest priority can be calculated in the step, and the product value is recorded as the priority product value. Then the priority product value can be added to the current priority of the first access point to obtain the sum, and the sum is recorded as the first priority sum.
[0090] It should be noted that the embodiment can use numerical values to represent the access point priority of the access point, so that the link priority can be directly calculated through the step by using the numerical values representing the access point priority.
[0091] c12) The second priority sum obtained by adding the first priority sum and the second highest priority is determined as the link priority of the transmission link.
[0092] According to the above description, the first priority sum determined by the above step can be added to the second highest priority again in the step, the sum can be recorded as the second priority sum, and finally the second priority sum can be determined as the link priority of the transmission link.
[0093] Meanwhile, as another implementation of the above second optional embodiment, the link priority of the transmission link determined according to the second highest priority can be further specified as:
[0094] d11) Determine the priority product value of the current priority of the first access point in the transmission link and the second highest priority.
[0095] In the embodiment, in the link priority determination of the two access points in the transmission link not belonging to the same network operator, there is also a calculation formula of the link priority, and the step d12) and the following step d12) give the specific implementation of the execution logic involved in the calculation formula. Wherein, the current priority of the first access point included in the transmission link can be obtained through the step, and the current priority of the first access point can be directly multiplied with the determined second highest priority to obtain the product value, which can be recorded as the priority product value.
[0096] d12) The priority product value is added to the current priority of the second access point in the transmission link, and the addition result is determined as the link priority of the transmission link.
[0097] In this step, the current priority of the second access point in the transmission link can also be further obtained, and the determined priority product value can be added to the current priority of the second access point, and finally the added result can be determined as the link priority of the transmission link.
[0098] The second alternative embodiment of the present embodiment provides a link priority determination method of the transmission link, which can provide different link priority determination methods for each transmission link formed by the transmission link through the determination of whether the access points in the transmission link belong to the same network operator after the transmission link is formed. Through this method, the determined link priority can meet the link transmission characteristics of the transmission link formed by the same network operator or different network operators in the communication field, so that the link priority determined based on this method can also filter out more suitable transmission links for the network operation environment for data transmission.
[0099] In the alternative embodiment, the present terminal can determine the link priority of the transmission link formed by the above embodiments; similarly, after the first access point priority information is sent by the present subject as the sending end to the receiving end, the receiving end can determine the second access point priority information according to the first access point priority information, and the receiving end can also determine the transmission link formed and the link priority of each transmission link according to the known first access point priority information and the second access point priority information. Therefore, under the premise of ensuring that the sending end and the receiving end have the first access point priority information and the second access point priority information synchronized, the two communication terminals can respectively determine the transmission link that can be formed and the priority of each transmission link.
[0100] As a third alternative embodiment of the present embodiment, on the basis of the above optimization, the method can further include:
[0101] a2) sending a channel connection request to the receiving end through the formed transmission link.
[0102] It can be understood that after the formation of the transmission link and the determination of the related link priority are completed through the above embodiments, how to use the formed transmission link for subsequent data transmission is also an important management item in the management of the transmission link.
[0103] In the current implementation of transmission link selection for data transmission, the transmission link with the highest priority is directly selected for data transmission. However, this selection method has the following problem: if a high-priority transmission link is desired for data transmission, the connection of the transmission link needs to be established first, which means waiting for the high-priority transmission link to establish a communication connection. If the high-priority transmission link takes a long time to establish a communication connection, the connection establishment time is in a waiting state for data transmission, which delays data transmission and affects data transmission efficiency.
[0104] Therefore, the connection of the transmission link and the selection of the transmission link for data transmission can be performed by the optional embodiment. Specifically, first, a channel connection request of each transmission link can be sent to the receiving end by the step. Each transmission link corresponds to a channel connection request, and the channel connection request can be sent to the receiving end through the corresponding transmission link.
[0105] b2) The transmission link that first transmits the connection response message is determined as the target transmission link, and the to-be-transmitted data is transmitted to the receiving end through the target transmission link.
[0106] In the embodiment, after the receiving end receives the channel connection request sent through a transmission link, it is considered that the receiving end has established a channel connection with the sending end through the transmission link. Therefore, the receiving end can form a connection response message and return it to the sending end through the corresponding transmission link after receiving the channel connection request.
[0107] In the embodiment, the sending end can detect which transmission link first transmits the connection response message through the step, and the transmission link that first receives the connection response message can be determined as the target transmission link for the transmission of the to-be-transmitted data.
[0108] The optional embodiment can solve the problem that data transmission needs to wait for the connection of the high-priority transmission link.
[0109] It should be noted that after the transmission link that first transmits the connection response message is determined as the target transmission link for the transmission of the to-be-transmitted data, the return of the connection response message of other transmission links needs to be continuously monitored, so that when the transmission link with the highest priority receives the connection response message, the transmission link with the highest priority can be switched as the target transmission link for the transmission of the to-be-transmitted data in time.
[0110] Therefore, based on the third optional embodiment, in the process of transmitting the data to be transmitted to the receiving end through the target transmission link, the following step can be further performed:
[0111] In this embodiment, the monitoring of whether the connection response message is received through each transmission link can be performed in the process of transmitting the data to be transmitted through the determined target transmission link. Specifically, after the link priorities of the transmission links are known, it can be known which transmission link has the highest priority, and thus the transmission link can be detected in real time to determine whether the connection response message is received through the transmission link.
[0112] According to the above description, when the transmission link with the highest priority receives the connection response message, the transmission link with the highest priority can be determined as a new target transmission link, and thus the transmission of the effective data through the target transmission link is switched. On this basis, the link switching message of the target transmission link also needs to be sent to the receiving end, so that the receiving end can transmit the information to be transmitted to the sending end through the switched target transmission link according to the link switching message.
[0113] It should be noted that, in the process of data transmission, there can also be network delay, network congestion or network interruption caused by network environment or network equipment problems, which can affect the connectivity of the transmission link. If the transmission link, especially the target transmission link for transmitting the data to be transmitted, has a problem, the transmission of the data to be transmitted will be affected.
[0114] Based on the third optional embodiment, the following step can also be further performed in the process of transmitting the data to be transmitted to the receiving end through the target transmission link:
[0115] a3) The connectivity of the transmission link is detected according to a set period, the transmission link is a transmission link that returns a connection response message, and the transmission link includes the target transmission link.
[0116] In this embodiment, the connectivity of the transmission link can be detected through this step in the process of transmitting the data to be transmitted through the target transmission link.
[0117] In one implementation of the connectivity detection, a heartbeat message mechanism can be used for sending and receiving detection of the heartbeat message. Specifically, the sending end sends a ping message to the receiving end through the transmission link, and it is considered that the transmission link for which the connectivity detection is performed is in a connected state when the receiving end sends a pong message in response to the ping message, i.e., it is considered that the detection result is that the link is connected normally. Similarly, it is considered that the transmission link for which the connectivity detection is performed is in a non-connected state when the receiving end does not send a pong message in response to the ping message within a certain time, i.e., it is considered that the detection result is that the link is connected abnormally.
[0118] It should be noted that different transmission links can use different heartbeat periods for sending heartbeat messages. For example, for other built transmission links other than the target transmission link, a long time interval can be used for the detection period for connectivity detection, so as to reduce the resource occupancy rate of the connectivity detection. For the target transmission link, a short time interval can be used as the detection period for connectivity detection, so as to ensure that whether the target transmission link is suitable for continuing data transmission can be found in time, so that link switching can be made as soon as possible, and data transmission delay can be minimized.
[0119] b3) If the detection result of the target transmission link is that the link is connected abnormally, a first built transmission link with the highest priority is selected from the built transmission links with the connected normal detection result, and the target transmission link is replaced.
[0120] It can be understood that all built transmission links can be detected for connectivity by the above steps, and the specific execution of the logic is triggered mainly based on the detection result of the target transmission link.
[0121] For example, when it is detected that the target transmission link is in a link connectivity abnormal state, the target transmission link can be selected from other transmission links with link connectivity normal state by this step. Specifically, a first built transmission link with the highest priority can be selected from the built transmission links with the connected normal detection result, and the first built transmission link is used as a new target transmission link to replace the original target transmission link.
[0122] It should be noted that in the implementation of selecting a first built transmission link with the highest priority from the built transmission links with the connected normal detection result, the link detection period of the transmission link other than the target transmission link can be changed, and the interval length of the link detection period can be shortened, such as changing from original 10s detection to 1s detection, so as to quickly determine a new target transmission link that meets the condition from other transmission links.
[0123] c3) if the detection result of the target transmission link is link connectivity normal, when there is a second established transmission link with higher priority than the priority of the target transmission link in the transmission links with link connectivity normal, the highest priority transmission link is selected from the second established transmission link to replace the target transmission link.
[0124] In the embodiment, when it is detected that the target transmission link is in link connectivity normal, it is determined again whether the link priority of the target transmission link is the highest. When a second established transmission link with higher priority than the target transmission link is determined in other transmission links with link connectivity normal, the switching of the target transmission link is also needed to switch the target transmission link to the second established transmission link with higher priority.
[0125] It should be noted that the above-mentioned scheme of the embodiment can solve the problem that the transmission link cannot be switched back to the transmission link with high priority after being switched to the transmission link with low priority.
[0126] d3) sending a link switching message of the target transmission link to the receiving end, so that the receiving end switches the target transmission link for information feedback according to the switching information.
[0127] In the embodiment, after the replacement of the target transmission link is performed through the above-mentioned steps, the link switching message of the target transmission link is sent by the receiving end through the step, so that the transmission link information possessed by the receiving end can be aligned with the information of the sending end, so as to realize the effective transmission of data.
[0128] The above-mentioned technical scheme of the third optional embodiment gives several cases of the switching of the target transmission link. Through the above-mentioned technical scheme of the embodiment, the effective transmission of data can be ensured, the influence of network delay or network interruption on data transmission can be better avoided, the flexible switching of the target transmission link is also realized, and the effectiveness of data transmission is better ensured.
[0129] In the specific embodiment, FIG. 2 is a flowchart of a transmission link management method provided by the embodiment of the disclosure. The embodiment can be applied to the case of managing the transmission link for data transmission. The method can be executed by a transmission link management device. The device can be realized by software and / or hardware. The device can be configured in a terminal and / or a server to realize the transmission link management method in the embodiment of the disclosure. The terminal and / or the server can be selected as a receiving end to execute the transmission link management method provided by the embodiment.
[0130] In the embodiment, the method provided by the embodiment can be considered as a counterpart processing method of the method provided by the above embodiment. That is, the method provided by the embodiment can be considered as a response of the receiving end after the sending end executes the method provided by the above embodiment.
[0131] Specifically, as shown in FIG. 2, the embodiment provides a transmission link management method, which can include:
[0132] S201, receiving and analyzing a priority negotiation request sent by the sending end to obtain first access point priority information, wherein the first access point priority information is determined by the sending end according to the first access point currently possessed.
[0133] In the embodiment, it can be known from the above description that the sending end will generate the first access point priority information and send it to the receiving end in the form of the priority negotiation request after satisfying the priority determination condition. The executing subject of the receiving end can receive the priority negotiation request and analyze the priority negotiation request through the step to obtain the first access point priority information contained in the priority negotiation request.
[0134] S202, determining a second access point priority of a second access point currently possessed according to the first access point priority information, and constructing second access point priority information containing the second access point priority.
[0135] In the embodiment, the executing subject of the receiving end can obtain the first access point name of the first access point contained in the first access point priority information and the first access point priority of each first access point. Meanwhile, the executing subject can also determine which access points corresponding to network operators are pre-configured by itself, and the embodiment can record the access point as a second access point.
[0136] In the embodiment, each second access point also has a corresponding second access point name. It can be known that the access point names of the access points involved in the same network operator are the same, and thus after the second access point names of each second access point are known, the first access point name obtained by analysis can be compared. If the first access point names are the same, the first access point priority of the first access point corresponding to the first access point name can be used as the second access point priority of the second access point corresponding to the second access point name. If the second access point name is not contained in the first access point priority information, a priority can be randomly allocated to the second access point corresponding to the second access point name, and specifically, a value representing other priority different from the first access point priority can be allocated.
[0137] After the second access point priority is determined for each second access point, second access point priority information including the name of each second access point and the corresponding second access point priority is formed.
[0138] In S203, the second access point priority information is encapsulated to form negotiation response information, which is sent to the sending end, so that the sending end assembles a transmission link according to the second access point priority information in combination with the first access point priority information, and determines the link priority of the assembled transmission link.
[0139] In this embodiment, the second access point priority information can be encapsulated by this step to form negotiation response information corresponding to the priority negotiation request and can be sent to the sending end. The sending end can determine which transmission links can be assembled by the two ends by combining the second access point priority information with the determined first access point priority information, and determine the link priority of each transmission link.
[0140] The above transmission link management method provided by the embodiments of the present disclosure is equivalent to the process of determining the second access point priority information by processing the first access point priority information sent by the sending end. This method realizes the negotiation of the relative priority of the sending end and the receiving end, and through this negotiation method, the sending end can determine the effective link priority of each transmission link. This method also ensures that the determination of the link priority has stronger flexibility in determining the link priority, and the link priority determined by this method can better adapt to the change of the network or access point involved in the communication of the sending end and the access end. Therefore, based on the determined link priority, a suitable high transmission performance transmission link can be better selected for data transmission.
[0141] On the basis of the above-mentioned scheme of the embodiments of the present disclosure, it can be known that after the receiving end obtains the first access point priority information and determines the second access point priority information, the first access point priority information and the second access point priority information can be further used to determine the transmission link that can be assembled and the link priority of each transmission link.
[0142] Similarly, as an optional embodiment of the above-mentioned scheme of the embodiments of the present disclosure, the method provided by this embodiment can further include:
[0143] When receiving the channel connection request sent by the sending end through the assembled transmission link, a connection response message is fed back to the sending end through the corresponding transmission link; and the target transmission link is determined, and the target link information of the target transmission link is recorded.
[0144] In the optional embodiment, the response to the channel connection request sent by the sending end for transmission link establishment is also given. The data transmission of the transmitted data received by the determined target transmission link is also given. The above steps can ensure the channel connection of the established transmission link, and better ensure the effective transmission of the data to be transmitted by the sending end and the receiving end.
[0145] In addition, as another optional embodiment of the above scheme, the method provided in the embodiment can further include: updating the recorded target link information based on the link switching message when the link switching message sent by the sending end is received.
[0146] In the optional embodiment, the response to the channel connection request sent by the sending end for transmission link establishment is also given. The data transmission of the transmitted data received by the determined target transmission link is also given. The above steps can ensure the channel connection of the established transmission link, and better ensure the effective transmission of the data to be transmitted by the sending end and the receiving end.
[0147] To better understand the transmission link management method provided in the embodiment, the following example is given in the embodiment. Specifically, FIG. 3 shows an example flowchart of the transmission link management method provided in the embodiment. As shown in FIG. 3, the transmission link management method provided in the embodiment can be executed by electronic devices as the sending end 31 and the receiving end 32, and can include the following specific logical implementation steps:
[0148] S1, when the sending end detects that the priority determination condition is met, the first access point priority information of the currently possessed first access point is determined, and a priority negotiation request containing the first access point priority information is formed and sent to the receiving end.
[0149] S2, the receiving end receives and analyzes the priority negotiation request sent by the sending end, obtains the first access point priority information, and determines the second access point priority of the currently possessed second access point according to the first access point priority information.
[0150] S3, the receiving end forms the second access point priority information containing the second access point basic information and the second access point priority, and encapsulates the second access point priority information to form a negotiation response information sent to the sending end.
[0151] S4, the sending end analyzes the negotiation response message sent by the receiving end, obtains the second access point priority information contained, and establishes a transmission link according to the first access point priority information and the second access point priority information, and determines the link priority of the established transmission link.
[0152] S5, the sending end sends a channel connection request to the receiving end through the established transmission link.
[0153] S6, when the receiving end receives the channel connection request sent by the sending end through the established transmission link, the receiving end feeds back a connection response message to the sending end through the corresponding transmission link.
[0154] S7, the sending end takes the first transmission link that feeds back the connection response message as the target transmission link, and transmits the data to be transmitted to the receiving end through the target transmission link.
[0155] S8, the receiving end receives the data to be transmitted transmitted by the sending end through the determined target transmission link, and records the target link information of the target transmission link.
[0156] S9, during the data transmission process, if the sending end detects that the transmission link with the highest priority feeds back the connection response message, the sending end switches the transmission link with the highest priority as the target transmission link, and sends a link switching message of the target transmission link to the receiving end.
[0157] S10, the sending end performs connectivity detection on the established transmission link according to a set period during the data transmission process.
[0158] S11, in the case where the detection result of the target transmission link is link connectivity abnormal, the sending end selects the first established transmission link with the highest priority from the established transmission links with normal connectivity, and replaces the target transmission link.
[0159] S12, in the case where the detection result of the target transmission link is link connectivity normal, when there is a second established transmission link with a priority higher than that of the target transmission link among the transmission links with normal connectivity, the sending end selects the transmission link with the highest priority from the second established transmission link to replace the target transmission link.
[0160] S13, the sending end sends a link switching message of the target transmission link to the receiving end, so that the receiving end switches the target transmission link for information feedback according to the switching information.
[0161] S14, when the receiving end receives the link switching message sent by the sending end, the receiving end updates the recorded target link information based on the link switching message.
[0162] Fig. 4 is a structural schematic diagram of a transmission link management apparatus provided by the embodiment of the present disclosure. The embodiment can be applied to the case of managing the transmission link for data transmission. The apparatus can be realized by software and / or hardware, and can be configured in a terminal and / or a server as a sending end to realize the transmission link management method in the embodiment of the present disclosure. Specifically, the apparatus can include a first determining module 41, a second determining module 42, and a third determining module 43.
[0163] The first determining module 41 is configured to, when it is detected that the priority determination condition is met, determine first access point priority information of a currently possessed first access point, and form a priority negotiation request containing the first access point priority information and sending the priority negotiation request to a receiving end, so that the receiving end parses the first access point priority information from the priority negotiation request, determines second access point priority information of a currently possessed second access point based on the first access point priority information, and encapsulates the second access point priority information to form a negotiation response message.
[0164] The second determining module 42 is configured to parse the negotiation response message sent by the receiving end to obtain the second access point priority information contained therein.
[0165] The third determining module 43 is configured to establish a transmission link according to the first access point priority information and the second access point priority information, and determine a link priority of the established transmission link.
[0166] The transmission link management apparatus provided by the embodiment can realize dynamic determination of the link priority of the transmission link in the form of consensus of the access point priority of the possessed access point by the sending end and the receiving end. The determination method has stronger flexibility in determining the link priority. The link priority determined by the method can better adapt to the case where the network or the access point involved in the communication of the sending end and the receiving end changes. Therefore, it can be ensured that a suitable transmission link with high transmission performance can be better selected for data transmission based on the determined link priority.
[0167] Further, the first determining module 41 can be specifically configured to:
[0168] determine the first access point priority of the currently possessed first access point according to the historical access point priority information of the possessed historical access point in the preceding time period, and form the first access point priority information containing the first access point priority;
[0169] or,
[0170] randomly assign the first access point priority to the currently possessed first access point, and form the first access point priority information containing the first access point priority.
[0171] Further, the third determining module 43 specifically can include:
[0172] a combination unit, configured to combine a first access point included in the first access point priority information and a second access point included in the second access point priority information into an access point pair, and take one access point pair formed by the combination as one constructed transmission link;
[0173] a first determining unit, configured to determine a first highest priority from the first access point priority information, and determine a second highest priority from the second access point priority information;
[0174] a second determining unit, configured to, for each constructed transmission link, if the first access point and the second access point in the transmission link belong to a same network operator, determine a link priority of the transmission link according to the first highest priority and the second highest priority; if the first access point and the second access point in the transmission link belong to different network operators, determine the link priority of the transmission link according to the second highest priority;
[0175] wherein, the execution logic of the first priority determining strategy is different from the execution logic of the second priority determining strategy.
[0176] Further, the first determining unit specifically can be configured to:
[0177] determine a priority product value of the first highest priority and the second highest priority, and add the priority product value to a current priority of the first access point in the transmission link to obtain a first priority sum;
[0178] determine a second priority sum obtained by adding the first priority sum to the second highest priority as the link priority of the transmission link.
[0179] Further, the second determining unit specifically can be configured to:
[0180] determine a priority product value of a current priority of the first access point in the transmission link and the second highest priority;
[0181] add the priority product value to a current priority of the second access point in the transmission link, and determine the addition result as the link priority of the transmission link.
[0182] Further, the apparatus further includes:
[0183] a second sending module, configured to send a channel connection request to the receiving end through the constructed transmission link;
[0184] The third sending module is configured to take the transmission link from which the first connection response message is returned as a target transmission link, and transmit the data to be transmitted to the receiving end through the target transmission link.
[0185] Further, the apparatus further comprises:
[0186] The first switching module is configured to, in the process of transmitting the data to be transmitted to the receiving end through the target transmission link, switch the transmission link with the highest priority as the target transmission link when detecting that the transmission link with the highest priority returns the connection response message, and send a link switching message of the target transmission link to the receiving end, so that the receiving end switches the target transmission link for information feedback according to the switching information.
[0187] Further, the apparatus further comprises:
[0188] The connection detection module is configured to, in the process of transmitting the data to be transmitted to the receiving end through the target transmission link, detect the connection of the transmission link according to a set period, the transmission link returning the connection response message is the transmission link with the built connection, and the transmission link with the built connection includes the target transmission link.
[0189] The second switching module is configured to, if the detection result of the target transmission link is that the link connection is abnormal, select the first transmission link with the built connection with the highest priority from the transmission link with the built connection with the normal connection, and replace the target transmission link; if the detection result of the target transmission link is that the link connection is normal, when there is a second transmission link with the built connection with the higher priority than the target transmission link in the transmission link with the normal connection, select the transmission link with the highest priority from the second transmission link with the built connection to replace the target transmission link.
[0190] The fourth sending module is configured to send a link switching message of the target transmission link to the receiving end, so that the receiving end switches the target transmission link for information feedback according to the switching information.
[0191] The apparatus described above can execute the method provided by any embodiment of the present disclosure, and has the corresponding function modules and beneficial effects of executing the method.
[0192] FIG. 5 is a structural schematic diagram of a transmission link management apparatus provided by an embodiment of the present disclosure, the embodiment can be applied to the case of managing the transmission link for data transmission, the apparatus can be realized by software and / or hardware, and can be configured in a terminal and / or a server as a receiving end to realize the transmission link management method in the embodiment of the present disclosure. The apparatus specifically can include a receiving module 51, a determining module 52, and a sending module 53.
[0193] The receiving module 51 is configured to receive and analyze the priority negotiation request sent by the sending terminal, and obtain the first access point priority information determined by the sending terminal according to the first access point currently possessed by the sending terminal.
[0194] The determining module 52 is configured to determine the second access point priority of the second access point currently possessed by the receiving terminal according to the first access point priority information, and form the second access point priority information including the second access point priority.
[0195] The sending module 53 is configured to encapsulate the second access point priority information to form the negotiation response information, and send the negotiation response information to the sending terminal, so that the sending terminal assembles a transmission link according to the second access point priority information and the first access point priority information, and determines the link priority of the assembled transmission link.
[0196] The transmission link management device provided in the embodiment is equivalent to the process of processing the first access point priority information sent by the sending terminal to determine the second access point priority information. The method realizes the negotiation of the relative priorities of the sending terminal and the receiving terminal, and can ensure that the sending terminal determines the effective link priority of each transmission link through the negotiation mode. The mode also ensures that the determination of the link priority has stronger flexibility of link priority determination, and the link priority determined through the mode can better adapt to the case that the network or access point involved in the communication of the sending terminal and the access terminal changes, so that it can also be ensured that the suitable high transmission performance transmission link can be better selected for data transmission based on the determined link priority.
[0197] Further, the device further comprises:
[0198] The connection response module is configured to, when receiving the channel connection request sent by the sending terminal through the assembled transmission link, feed back the connection response message to the sending terminal through the corresponding transmission link.
[0199] The information recording module is configured to receive the to-be-transmitted data transmitted by the sending terminal through the determined target transmission link, and record the target link information of the target transmission link.
[0200] Further, the device further comprises:
[0201] The information updating module is configured to, when receiving the link switching message sent by the sending terminal, update the recorded target link information based on the link switching message.
[0202] It is noted that each unit and module included in the above apparatus is only divided according to the function logic, and is not limited to the above division, as long as the corresponding function can be realized; in addition, the specific name of each functional unit is only for the convenience of mutual differentiation, and does not serve to limit the protection scope of the embodiments of the present disclosure.
[0203] FIG. 6 is a structural schematic diagram of a computer device according to an embodiment of the present disclosure. Referring to FIG. 6, a structural schematic diagram of a computer device (e.g., a terminal device or a server in FIG. 6) 60 suitable for implementing the embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a vehicle terminal (e.g., a vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The computer device shown in FIG. 6 is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
[0204] As shown in FIG. 6, the computer device 60 can include a processing apparatus (e.g., a central processing unit, a graphic processing unit, etc.) 61, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 62 or a program loaded from a storage apparatus 68 to a random access memory (RAM) 63. In the RAM 63, various programs and data required for the operation of the computer device 60 are also stored. The processing apparatus 61, the ROM 62, and the RAM 63 are connected to each other through a bus 65. An input / output (I / O) interface 64 is also connected to the bus 65.
[0205] Generally, the following apparatuses can be connected to the I / O interface 64: an input apparatus 66 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; an output apparatus 67 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage apparatus 68 including, for example, a magnetic tape, a hard disk, and the like; and a communication apparatus 69. The communication apparatus 69 can allow the computer device 60 to communicate with other devices to exchange data wirelessly or by wire. Although FIG. 6 shows the computer device 60 having various apparatuses, it is understood that all the shown apparatuses are not required to be implemented or possessed. More or less apparatuses can be alternatively implemented or possessed.
[0206] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 69, or installed from the storage device 68, or installed from the ROM 62. When the computer program is executed by the processing device 61, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
[0207] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0208] The computer device provided by the embodiments of the present disclosure and the transmission link management method provided by the above-mentioned embodiments belong to the same inventive concept, and the technical details not described in detail in the present embodiment can be referred to the above-mentioned embodiments, and the present embodiment has the same beneficial effects as the above-mentioned embodiments.
[0209] The embodiments of the present disclosure provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the transmission link management method provided by the above-mentioned embodiments.
[0210] It should be noted that the computer readable medium of the present disclosure described above can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0211] In this disclosure, a computer readable storage medium can be any tangible medium that can contain, or store computer readable program codes. In this disclosure, a computer readable signal medium can include a data signal traveling in baseband or traveling as a part of a carrier wave. In this disclosure, a computer readable medium can also be any computer readable medium that can be targeted for modification by a computer program. Examples of a computer readable medium include, but are not limited to, a primary storage medium (e.g., random access memory, read only memory), a secondary storage medium (e.g., a fixed disk, a floppy disk, tape), and a computer communication medium (e.g., a local area network, the Internet, extranet, etc.). Computer program or program in this context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: (a) conversion to another language, code or notation; and / or (b) reproduction in a different material form.
[0212] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and an end-to-end network (e.g., an ad hoc end-to-end network), as well as any current known or future developed network.
[0213] The computer readable medium described above can be included in the computer device described above; or can exist separately from the computer device.
[0214] The computer readable medium described above carries one or more programs, which when executed by the computer device, cause the computer device to:
[0215] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0216] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or in the reverse order, depending on the functionality involved. It is also noted that each block in the block diagrams and / or flow diagrams and combinations of blocks in the block diagrams and / or flow diagrams can be implemented by special-purpose hardware-based systems that perform the specified functions or operations, or combinations of hardware and computer instructions.
[0217] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself. For example, the first obtaining unit can also be described as a unit for obtaining at least two Internet protocol addresses.
[0218] The functions described in this specification can be implemented in part or in whole by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0219] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include a lined-inked electrical connection, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0220] The foregoing description merely exemplifies the preferred embodiments of the disclosure and the principles of the technology applied. It is understood by those skilled in the art that the disclosed scope of the disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and also covers other technical solutions formed by any combinations of the above technical features or equivalent features without departing from the above disclosed concept. For example, the technical solutions formed by replacing the above features with the technical features disclosed in the disclosure (but not limited to) having similar functions.
[0221] Further, although operations are depicted in a particular, sequential order, this should not be understood as requiring or implying that the operations are performed in the order illustrated, or that they are performed sequentially. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, although specific implementation details are contained in the above discussion, these should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0222] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A method for managing a transmission link, applied to a sending end, comprising: determining first access point priority information of a first access point currently possessed by the sending end when it is detected that a transmission link between the sending end and a receiving end satisfies a priority determination condition, and sending a priority negotiation request containing the first access point priority information to the receiving end, so that the receiving end parses the first access point priority information from the priority negotiation request, determines second access point priority information of a second access point currently possessed by the receiving end based on the first access point priority information, and encapsulates the second access point priority information to form a negotiation response message; parsing the negotiation response message sent by the receiving end to obtain the second access point priority information of the negotiation response message; assembling a transmission link according to the first access point priority information and the second access point priority information, and determining a link priority of the assembled transmission link.
2. The method of claim 1, wherein, The determination of the first access point priority information of the first access point currently possessed by the sending end when it is detected that the priority determination condition is satisfied comprises: determining a first access point priority of the first access point currently possessed by the sending end according to historical access point priority information of historical access points possessed by the sending end in a preceding time period, and constituting the first access point priority information containing the first access point priority; or, randomly assigning a first access point priority to the first access point currently possessed by the sending end, and constituting the first access point priority information containing the first access point priority.
3. The method of claim 1 or 2, wherein, The assembling of the transmission link according to the first access point priority information and the second access point priority information, and the determination of the link priority of the assembled transmission link comprise: combining the first access point contained in the first access point priority information with the second access point contained in the second access point priority information to form an access point pair, and taking the access point pair as an assembled transmission link; determining a first highest priority from the first access point priority information, and determining a second highest priority from the second access point priority information; for each assembled transmission link, if the first access point and the second access point in the transmission link belong to the same network operator, determining a link priority of the transmission link according to the first highest priority and the second highest priority; if the first access point and the second access point in the transmission link belong to different network operators, determining the link priority of the transmission link according to the second highest priority.
4. The method of claim 3, wherein, The determination of the link priority of the transmission link according to the first highest priority and the second highest priority comprises: determining a priority product value of the first highest priority and the second highest priority, adding the priority product value to a current priority of the first access point in the transmission link to obtain a first priority sum, and determining a second priority sum obtained by adding the first priority sum to the second highest priority as the link priority of the transmission link. The determination of the link priority of the transmission link according to the second highest priority comprises:
5. The method of claim 3, wherein, determining a product value of a current priority of a first access point in the transmission link and the second highest priority; adding the product value to a current priority of a second access point in the transmission link, and determining a link priority of the transmission link as a result of the addition.
6. The method of any one of claims 1-5, further comprising: sending a channel connection request to the receiving end through the established transmission link; selecting a transmission link that first returns a connection response message as a target transmission link, and transmitting the data to be transmitted to the receiving end through the target transmission link.
7. The method of claim 6, wherein, In the process of transmitting the data to be transmitted to the receiving end through the target transmission link, the method further comprises: if a transmission link with the highest priority returns a connection response message, switching the transmission link with the highest priority as a target transmission link, and sending a link switching message of the target transmission link to the receiving end, so that the receiving end switches a target transmission link for information feedback according to the switching information.
8. The method of claim 6, wherein, In the process of transmitting the data to be transmitted to the receiving end through the target transmission link, the method further comprises: performing connectivity detection on the established transmission link at a set period, the established transmission link being a transmission link that returns a connection response message, and the established transmission link including the target transmission link; if the detection result of the target transmission link is link connectivity abnormal, selecting a first established transmission link with the highest priority from the established transmission links with normal connectivity, and replacing the target transmission link; if the detection result of the target transmission link is link connectivity normal, when there is a second established transmission link with a priority higher than that of the target transmission link among the transmission links with normal connectivity, selecting a transmission link with the highest priority from the second established transmission link to replace the target transmission link; sending a link switching message of the target transmission link to the receiving end, so that the receiving end switches a target transmission link for information feedback according to the switching information.
9. A transmission link management method applied to a receiving end, comprising: receiving and analyzing a priority negotiation request sent by a sending end to obtain first access point priority information, the first access point priority information being determined by the sending end according to a currently possessed first access point; determining a second access point priority of a currently possessed second access point according to the first access point priority information, and constructing second access point priority information containing the second access point priority; packaging the second access point priority information to form a negotiation response information and sending it to the sending end, so that the sending end establishes a transmission link according to the second access point priority information in combination with the first access point priority information, and determines a link priority of the established transmission link.
10. The method of claim 9, further comprising: when receiving a channel connection request sent by the sending end through the established transmission link, feeding back a connection response message to the sending end through a corresponding transmission link; receive the to-be-transmitted data transmitted by the sending end through the determined target transmission link, and record target link information of the target transmission link.
11. The method of claim 9 or 10, further comprising: when receiving the link switching message sent by the sending end, updating the recorded target link information based on the link switching message.
12. A transmission link management apparatus configured in a sending end, comprising: a first determining module configured to, when detecting that a priority determination condition is met, determine first access point priority information of a currently possessed first access point, and form a priority negotiation request containing the first access point priority information and sending to a receiving end, so that the receiving end parses first access point priority information from the priority negotiation request, determines second access point priority information of a currently possessed second access point based on the first access point priority information, and encapsulates the second access point priority information to form a negotiation response message; a second determining module configured to parse the negotiation response message sent by the receiving end to obtain the contained second access point priority information; a third determining module configured to assemble a transmission link according to the first access point priority information and the second access point priority information, and determine a link priority of the assembled transmission link.
13. A transmission link management apparatus configured in a receiving end, comprising: a receiving module configured to receive and parse a priority negotiation request sent by a sending end to obtain first access point priority information, which is determined by the sending end according to a currently possessed first access point; a determining module configured to determine second access point priority of a currently possessed second access point according to the first access point priority information, and form second access point priority information containing the second access point priority; a sending module configured to encapsulate the second access point priority information to form a negotiation response message and send to the sending end, so that the sending end assembles a transmission link according to the second access point priority information combined with the first access point priority information, and determines a link priority of the assembled transmission link.
14. A computer device, comprising: one or more processors; a storage apparatus configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the transmission link management method of any one of claims 1-11.
15. A computer readable storage medium storing a computer program, wherein, The computer program is executed by the processor to implement the transmission link management method of any one of claims 1-11.
16. A computer program product comprising a computer program, wherein, The computer program is executed by the processor to implement the transmission link management method of any one of claims 1-11. The computer program is executed by the processor to implement the transmission link management method of any one of claims 1-11.
Citation Information
Patent Citations
Backhaul path construction method and device
CN110461019A
Network equipment role self-adaption method and device
CN113498062A
Roaming for wireless LAN communication
JP2013058946A
Connectivity Setup For Dynamic Wireless Mesh Networks
US20130016648A1