Method, apparatus and device for determining access equipment, and storage medium

By generating and sending a confirmation message by the target communication device, the target access device is instructed to establish a session identification link, and non-target access devices cease interaction. This solves the problem of network resource waste caused by frequent interactions between non-target access devices, and achieves network resource conservation and load reduction.

CN116915835BActive Publication Date: 2026-03-31CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing technologies, after the target communication device identifies the target access device, non-target access devices still frequently interact, leading to a waste of network resources and an increased burden.

Method used

After receiving a user request, the target communication device sends a link establishment request to multiple access devices, receives a link establishment permission response, generates a determination message for the target and non-target access devices, instructs the target access device to establish a session identification link, and the non-target access devices stop interacting.

Benefits of technology

This reduces the number of interactions between the target communication device and the access device, saving network resources and reducing network burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116915835B_ABST
    Figure CN116915835B_ABST
Patent Text Reader

Abstract

The application provides a determination method and device of an access device, equipment and a storage medium. The method is applied to a target communication device, and includes the following steps: receiving a determination request of the access device triggered by a user, generating a link establishment request according to the determination request, and sending the link establishment request to multiple access devices; receiving an allowed link establishment response sent by the multiple access devices; the allowed link establishment response includes a session identifier created by a corresponding access device; determining a target access device according to the multiple allowed link establishment responses, and respectively generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device; sending the first determination message to the target access device, and sending the second determination message to the non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message, and instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to communication technology, and more particularly to a method, apparatus, device, and storage medium for determining an access device. Background Technology

[0002] As users' communication needs increase, the need for remote interaction between various communication devices also grows. The PPP protocol carried by Ethernet allows communication devices to connect and access each other over a shared Ethernet network, enabling data transmission between devices and, consequently, interaction between users.

[0003] In existing technologies, when a target communication device connects to an access device, the target communication device first sends session connection requests to multiple access devices. Then, upon receiving an authorized session connection response from an access device, it selects one access device as the target access device based on proximity and generates a unicast session request. This unicast session request is sent to the target access device, which then creates a session identifier and generates a confirmation response based on the session identifier, sending it to the target communication device. This establishes a link between the target communication device and the target access device corresponding to the session identifier, thus achieving a session connection.

[0004] In the prior art, after the target communication device determines the target access device, at least one non-target access device will continuously send authorized session connection responses to the target communication device, resulting in frequent interactions between the target communication device and at least one non-target access device. In addition, the target communication device only obtains the session identifier after determining the target access device, which increases the interaction between the target access device and the target communication device. Therefore, overall, it wastes network resources and increases the network burden. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for determining access devices, in order to solve the problems of wasting network resources and increasing network burden.

[0006] In a first aspect, this application provides a method for determining an access device, the method being applied to a target communication device, the method comprising:

[0007] Receive a confirmation request from an access device triggered by a user, generate a link establishment request based on the confirmation request, and send it to multiple access devices;

[0008] The system receives link establishment permission responses from multiple access devices; each link establishment permission response is generated by an access device after creating a corresponding session identifier based on a link establishment request; the link establishment permission response includes the session identifier created by the corresponding access device.

[0009] The target access device is determined based on the multiple allowed link establishment responses, and a first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device are generated respectively.

[0010] A first determination message is sent to the target access device, and a second determination message is sent to the non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message, and to instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.

[0011] In one embodiment, the link establishment permission response includes the number of communication devices currently connected to the access device;

[0012] The step of determining the target access device based on multiple permitted link establishment responses includes:

[0013] The number of currently connected communication devices is compared, and the access device with the fewest currently connected communication devices is determined as the target access device.

[0014] In one embodiment, the link establishment permission response includes the load currently being handled by the access device;

[0015] The step of determining the target access device based on multiple permitted link establishment responses includes:

[0016] The current load amounts of multiple devices are compared, and the access device with the smallest current load amount is determined as the target access device.

[0017] In one embodiment, the first determining message includes a field identifying it as a target access device; the second determining message includes a field identifying it as a non-target access device.

[0018] The step of generating a first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device includes:

[0019] Add a field to the confirmation message indicating whether it is the target access device;

[0020] Add a field indicating whether it is a target access device to the corresponding position of the field row indicating whether it is a target access device, and generate a first determination message corresponding to the target access device based on the field indicating whether it is a target access device;

[0021] Add a field indicating that the device is not the target access device to the corresponding position of the field row indicating whether it is the target access device, and generate a second determination message corresponding to the non-target access device based on the field indicating that the device is not the target access device.

[0022] Secondly, this application provides a method for determining an access device, the method being applied to a target access device, the method comprising:

[0023] Receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device upon receiving a confirmation request from the access device triggered by the user;

[0024] Based on the link establishment request, a corresponding session identifier is created, and a link establishment permission response is generated; the link establishment permission response includes the session identifier created by the corresponding access device;

[0025] The link establishment permission response is sent to the target communication device to instruct the target communication device to determine the target access device based on the multiple link establishment permission responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the multiple link establishment permission responses include those generated by the non-target access devices after creating a corresponding session identifier according to the link establishment request; the second determination message is sent by the target communication device to at least one non-target access device to instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message;

[0026] Receive the first determination message sent by the target communication device;

[0027] Establish the link corresponding to the session identifier based on the first determined message.

[0028] In one embodiment, the first determining message includes a field identifying the target access device;

[0029] The step of establishing the link corresponding to the session identifier based on the first determined message includes:

[0030] In response to the first determination message containing a field indicating that it is a target access device, it determines itself to be a target access device and establishes a link corresponding to the session identifier of the target communication device based on the corresponding session identifier; the link corresponding to the session identifier is used to transmit the session between the target communication device and the target access device.

[0031] Thirdly, this application provides a method for determining an access device, the method being applied to at least one non-target access device, the method comprising:

[0032] Receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device upon receiving a confirmation request from the access device triggered by the user;

[0033] Based on the link establishment request, a corresponding session identifier is created, and a link establishment permission response is generated; the link establishment permission response includes the session identifier created by the corresponding access device;

[0034] The link establishment permission response is sent to the target communication device to instruct the target communication device to determine the target access device based on the multiple link establishment permission responses, and to generate a first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device respectively; the multiple link establishment permission responses include those generated by the target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device to instruct the target access device to establish a link corresponding to the session identifier based on the first determination message;

[0035] Receive the second determination message sent by the target communication device;

[0036] Based on the second determination message, interaction with the target communication device is stopped.

[0037] In one embodiment, the second determination message includes a field indicating that the device is not the target access device;

[0038] The step of stopping interaction with the target communication device according to the second determined message includes:

[0039] In response to the second determination message containing a field indicating that it is not the target access device, it determines that it is not the target access device and stops interacting with the target communication device.

[0040] In one embodiment, the method further includes:

[0041] The created session identifier is retained to provide links to other communication devices for establishing the corresponding session identifier.

[0042] Fourthly, this application provides an access device determination apparatus, the apparatus being located in a target communication device, the apparatus comprising:

[0043] The first receiving module is used to receive a confirmation request from the access device triggered by the user; the generating module is used to generate a link establishment request based on the confirmation request; and the sending module is used to send the request to multiple access devices.

[0044] The second receiving module is used to receive link establishment permission responses sent by multiple access devices; the link establishment permission response is generated by the access device after creating a corresponding session identifier according to the link establishment request; the link establishment permission response includes the session identifier created by the corresponding access device.

[0045] The determining module is used to determine the target access device based on the multiple allowed link establishment responses. The generating module is also used to generate a first determining message corresponding to the target access device and a second determining message corresponding to at least one non-target access device.

[0046] The sending module is used to send a first determination message to the target access device and a second determination message to a non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message, and to instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.

[0047] Fifthly, this application provides an access device determination apparatus, the apparatus being located at a target access device, the apparatus comprising:

[0048] The first receiving module is used to receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device receiving a confirmation request from the access device triggered by the user;

[0049] A creation module is used to create a corresponding session identifier based on the link establishment request; a generation module is used to generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0050] A sending module is configured to send the allowed link establishment response to the target communication device, thereby instructing the target communication device to determine the target access device based on multiple allowed link establishment responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device, respectively; the multiple allowed link establishment responses include those generated by the non-target access devices after creating a corresponding session identifier based on the link establishment request; the second determination message is sent by the target communication device to at least one non-target access device, thereby instructing at least one non-target access device to stop interacting with the target communication device based on the second determination message;

[0051] The second receiving module is used to receive the first determination message sent by the target communication device;

[0052] The module is used to establish a link corresponding to the session identifier based on the first determined message.

[0053] Sixthly, this application provides an access device determination apparatus, the apparatus being located at a non-target access device, the apparatus comprising:

[0054] The first receiving module is used to receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device receiving a confirmation request from the access device triggered by the user;

[0055] A creation module is used to create a corresponding session identifier based on the link establishment request; a generation module is used to generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0056] The sending module is configured to send the allowed link establishment response to the target communication device, so as to instruct the target communication device to determine the target access device based on the multiple allowed link establishment responses, and generate a first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device respectively; the multiple allowed link establishment responses include those generated by the target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device, so as to instruct the target access device to establish a link corresponding to the session identifier based on the first determination message;

[0057] The second receiving module is used to receive the second determination message sent by the target communication device;

[0058] The stop module is used to stop interacting with the target communication device based on the second determined message.

[0059] In a seventh aspect, this application provides a communication device, including: a processor, and a memory and a transceiver communicatively connected to the processor;

[0060] The memory stores computer-executed instructions; the transceiver is used for sending and receiving data.

[0061] The processor executes computer execution instructions stored in the memory to implement the method as described in the first aspect or any of the above embodiments.

[0062] Eighthly, this application provides a target access device, including: a processor, and a memory and a transceiver communicatively connected to the processor;

[0063] The memory stores computer-executed instructions; the transceiver is used for sending and receiving data.

[0064] The processor executes computer execution instructions stored in the memory to implement the method as described in the second aspect or any of the above embodiments.

[0065] Ninthly, this application provides a non-target access device, including: a processor, and a memory and a transceiver communicatively connected to the processor;

[0066] The memory stores computer-executed instructions; the transceiver is used for sending and receiving data.

[0067] The processor executes computer execution instructions stored in the memory to implement the method as described in the third aspect or any of the above embodiments.

[0068] In a tenth aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in the first, second, third, or any of the above-described aspects.

[0069] This application provides a method, apparatus, device, and storage medium for determining access devices. In this application, a target communication device receives a user-triggered access device determination request, and then sends link establishment requests to multiple access devices according to the determination request. Further, it receives link establishment permission responses from multiple access devices. The target communication device determines the target access device based on the multiple link establishment permission responses, thereby generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device. Further, it sends the first determination message to the target access device and the second determination message to the non-target access devices, thereby instructing the target access device to establish a link corresponding to a session identifier according to the first determination message, and instructing at least one non-target access device to stop interacting with the target communication device according to the second determination message. The application allows the link establishment response to include a session identifier created by the access device, so that the target communication device only needs to interact with the access device once to obtain the session identifier. In the prior art, the target access device sends the session identifier to the target communication device only during the second interaction, thus increasing the interaction. The present application reduces the interaction between the target communication device and the access device when determining the target access device and obtaining the session identifier. In addition, the present application stops interacting with the target communication device after the non-target access device receives the second determination message. Compared with the prior art, where the non-target access device continuously sends authorized session connection responses to the target communication device, the present application further reduces the interaction between the non-target access device and the target communication device. Therefore, the present application can save network resources and reduce network burden. Attached Figure Description

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

[0071] Figure 1 An application scenario diagram for a method for determining an access device provided in this application;

[0072] Figure 2 This is a schematic flowchart of a method for determining an access device provided in Embodiment 1;

[0073] Figure 3 This is a schematic flowchart of a method for determining an access device provided in Embodiment 3;

[0074] Figure 4 This is a schematic diagram of a method for determining an access device provided in Embodiment 4;

[0075] Figure 5 This is a schematic flowchart of a method for determining an access device provided in Embodiment Six;

[0076] Figure 6 This is a determination interaction diagram of an access device provided in Embodiment Nine;

[0077] Figure 7 This is a schematic diagram of the structure of a device for determining an access device provided in Embodiment 10;

[0078] Figure 8 This is a schematic diagram of the structure of a device for determining an access device provided in Embodiment Eleven;

[0079] Figure 9 This is a schematic diagram of the structure of a device for determining an access device provided in Embodiment Twelve;

[0080] Figure 10 This is a schematic diagram of the structure of a target communication device provided in Embodiment Thirteen;

[0081] Figure 11 This is a schematic diagram of a target access device structure provided in Embodiment Fourteen;

[0082] Figure 12 This is a schematic diagram of a non-target access device structure provided in Embodiment Fifteen.

[0083] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0084] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0085] In existing technologies, when a target communication device connects to an access device, the target communication device first sends session connection requests to multiple access devices. Upon receiving a session connection request, each access device generates an authorized session connection response based on its own circumstances and sends it to the target communication device. Then, upon receiving the authorized session connection response from an access device, the target communication device selects an access device as the target access device according to the nearest principle and generates a unicast session request. The target communication device sends the unicast session request to the target access device, thereby creating a session identifier and generating a session acknowledgment response based on the session identifier, which is then sent to the target communication device. This establishes a link between the target communication device and the target access device corresponding to the session identifier, enabling session transmission between them.

[0086] In the prior art, after the target communication device determines the target access device, at least one non-target access device will continuously send authorized session connection responses to the target communication device, resulting in frequent interactions between the target communication device and at least one non-target access device. In addition, the target communication device only obtains the session identifier after determining the target access device, which increases the interaction between the target access device and the target communication device, thus wasting network resources and increasing the network burden.

[0087] In order to overcome the shortcomings of existing technologies, the inventors of this solution have conducted creative research and designed a new solution. This solution provides a method for determining access devices. To address the issue of frequent interactions between at least one non-target access device, the target communication device generates a first determination message and a second determination message based on the link establishment permission response. The second determination message instructs at least one non-target access device to stop interacting with the target communication device. This ensures that once the target communication device identifies the target access device, non-target access devices cease sending link establishment permission responses, thus stopping interaction between them and saving network resources and reducing network load. Furthermore, to address the issue of increased interaction and wasted network resources caused by the target communication device only obtaining a session identifier after identifying the target access device, this solution creates corresponding session identifiers and generates link establishment permission responses after the target communication device sends its first link establishment request to the access device. These responses are then sent to the target communication device. This allows the target communication device to obtain the session identifier during the first interaction, further reducing interaction between the target communication device and the target access device. Overall, this method saves network resources and reduces network load.

[0088] The following describes the application scenarios of the method, apparatus, device, and storage medium for determining an access device provided in this application.

[0089] Figure 1 This is an application scenario diagram illustrating the method for determining an access device provided in this application. For example... Figure 1 As shown in the diagram, the application scenario includes a target communication device 101 and multiple access devices 102.

[0090] The plurality of access devices 102 include a first access device 1021 and a second access device 1022. The first access device 1021 is the target access device, and the second access device 1022 is a non-target access device.

[0091] The target communication device 101 is connected to multiple access devices 102, and the connection method can be wired or wireless.

[0092] The target communication device 101 can be a mobile phone or a computer, etc., and there are no restrictions here.

[0093] Specifically, the user triggers a confirmation request from the access device through the target communication device 101, and then the target communication device 101 receives the confirmation request, generates a link establishment request based on the confirmation request, and sends it to the access device 102.

[0094] Furthermore, the access device 102 receives the link establishment request, generates a link establishment permission response based on the link establishment request, and sends the link establishment permission response to the target communication device 101.

[0095] Furthermore, the target communication device 101 determines the first access device 1021 as the target access device based on multiple allowed link establishment responses. It should be noted that the target communication device 101 determines the remaining access devices as non-target access devices, that is, it determines the second access device 1022 as a non-target access device.

[0096] Furthermore, the target communication device 101 generates a first determination message corresponding to the first access device 1021 and a second determination message corresponding to the second access device 1022.

[0097] Furthermore, the target communication device 101 sends a first determination message to the first access device 1021 and a second determination message to the second access device 1022.

[0098] Furthermore, the first access device 1021 establishes a link corresponding to the session identifier according to the first determination message, and the second access device 1022 stops interacting with the target communication device 101 according to the second determination message.

[0099] It should be noted that in practical applications, there can be multiple non-target access devices, and there is no limit here.

[0100] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0101] It should be noted that this application applies to the PPP protocol carried over Ethernet, namely PPPoE (PPP over Ethernet). Through PPPoE, a target communication device can establish a link with an access device on a shared Ethernet network, thereby enabling PPP sessions based on the link.

[0102] It's important to note that establishing a PPP session between communication devices involves two phases: the discovery phase and the session phase. The discovery phase involves discovering multiple access devices, selecting one as the target access device, and establishing a link between the target access device and the target communication device. The session phase, after establishing the link, involves both the target access device and the target communication device allocating resources for the PPP session and transmitting PPP data according to the PPP protocol. This enables the target communication device to conduct a session with the target access device, and further enables sessions between the target communication device and other communication devices.

[0103] It should be noted that, assuming the first target communication device needs to establish a session with the second target communication device, the first target access device corresponding to the first target communication device is first identified, and a first target link is established. Simultaneously, the second target access device corresponding to the second target communication device is identified, and a second target link is established. The first target communication device then transmits the session to the first target access device via the first target link. The first target access device then transmits the session to the second target access device, and the second access device, in turn, transmits the session to the second target communication device via the second target link, thus completing the session transmission between the first and second target communication devices.

[0104] It should be noted that, in the prior art, the session connection request sent by the target communication device is a PPPoE Active Discovery Initiation (PADI) packet, which is a request to initiate a session packet to multiple access devices. In this application, the link establishment request is similar to the PADI packet. Furthermore, in the prior art, the authorized session connection response is a PPPoE Active Discovery Offer (PADO) packet, which is a response allowing the target communication device to establish a link with itself. In this application, the allowed link establishment response is similar to the PADO packet, but the difference is that the allowed link establishment response includes the session identifier created by the access device, while the authorized session connection response does not include the session identifier. Finally, in the prior art, the unicast session request is a unicast session request packet (PPPoE Active Discovery). A Request (PADR) is a session request sent by a target communication device to a target access device, instructing the target access device to create a corresponding session identifier. In this application, the target determination message is similar to a unicast session request, except that the target determination message contains special fields used to determine whether the access device is the target access device. The prior art summarizes and generates a response to confirm the session, which is called a confirmation packet message (PAD Session-confirmation, or PADS). This means that the target access device confirms that it is the target access device, creates a corresponding session identifier, generates a confirmation packet message based on the session identifier, and sends it to the target communication device.

[0105] It should be noted that the target determination message in this application includes a first determination message and a second determination message. It should also be noted that multiple access devices determine whether they are the target access device or a non-target access device based on the first determination message and the second determination message.

[0106] This application provides a method for determining an access device, which aims to solve the above-mentioned technical problems in the prior art.

[0107] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0108] Example 1

[0109] The execution entity of Embodiments 1 to 3 of this application is an access device determination device, which is located in the target communication device. The method of this embodiment is applied to the target communication device.

[0110] Figure 2 This is a schematic flowchart illustrating a method for determining an access device as provided in Embodiment 1. Figure 2 As shown, the specific steps are as follows.

[0111] S201: Receive the confirmation request triggered by the user from the access device, generate a link establishment request based on the confirmation request, and send it to multiple access devices.

[0112] In this context, "user" refers to the operator corresponding to the target communication device.

[0113] The access device (Broadband Remote Access Server, or BRAS for short) is a network device used to manage and control bandwidth access users. It should be noted that when a target communication device connects to the access device, i.e., a link is established, session transmission between the target communication device and other communication devices can be achieved through this link.

[0114] The determination request is triggered by the user on the target communication device and is used to initiate a request to determine the target access device from multiple access devices.

[0115] The link establishment request is generated by the target communication device and sent to multiple access devices. A link establishment request is a request to establish a link between the target communication device and the access devices.

[0116] Specifically, the target communication device generates a link establishment request based on the determination request and sends it to multiple access devices.

[0117] It should be noted that the link establishment request may include the physical address or other unique identifier of the target communication device. Based on the physical address or other unique identifier of the target communication device, multiple access devices can determine which communication device they will establish a link with.

[0118] S202, Receive link establishment permission responses from multiple access devices; the link establishment permission response is generated by the access device after creating a corresponding session identifier based on the link establishment request; the link establishment permission response includes the session identifier created by the corresponding access device.

[0119] Among them, the link establishment permission response refers to the response from which the access device can establish a link with the target communication device.

[0120] The session identifier refers to the identifier of the link through which a user transmission session is established.

[0121] According to S201, multiple access devices receive a link establishment request, determine that they can establish a link with the target communication device, further create a corresponding session identifier, and generate a link establishment permission response based on the session identifier, indicating that the access device allows the establishment of a link with the target communication device.

[0122] S203, determine the target access device based on multiple allowed link establishment responses, and generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device.

[0123] The first determination message refers to a message containing a special field that identifies it as the target access device. The second determination message refers to a message containing a special field that identifies it as a non-target access device. The target determination message includes both the first and second determination messages.

[0124] For example, if the CODE position in the target determination message includes 0x18, then the access device receiving the target determination message is determined to be the target access device. If the CODE position in the target determination message includes 0x08, then the access device receiving the target determination message is determined to be a non-target access device.

[0125] The target access device is one of multiple access devices used to establish a link with the target communication device.

[0126] Among them, the non-target access device is at least one of multiple access devices, which refers to the other access devices besides the target access device.

[0127] In one approach, the link establishment permission response may further include the region where the corresponding access device is located, thereby allowing the target communication device to determine the target access device based on the proximity of the regions where each access device in the link establishment permission response is located to itself. For example, if the target communication device determines that the region where a corresponding access device in a link establishment permission response is located is closest to itself, then that access device is determined to be the target access device. Alternatively, the target communication device can determine the target access device based on the region where the communication device with which it has a session is located. For example, assuming the region where the communication device with which it has a session is located is a first region, then the region closest to the first region is determined from multiple link establishment permission responses, and the access device corresponding to that closest region is determined to be the target access device.

[0128] S204, a first determination message is sent to the target access device, and a second determination message is sent to the non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message, and to instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.

[0129] The link corresponding to the session identifier refers to the established link between the target communication device and the target access device, which is used to transmit the session between the target communication device and the communication device with which it generates the session.

[0130] Specifically, the target communication device sends a first determination message to the target access device. Further, the target access device determines itself as the target access device based on the first determination message and establishes a link corresponding to the session identifier.

[0131] Similarly, the target communication device sends a second determination message to the non-target access device. Furthermore, the non-target access device determines itself as a non-target access device based on the second determination message and ceases interaction with the target communication device. It should be noted that ceasing interaction with the target communication device means that the non-target communication device will no longer send messages allowing link establishment responses to the target communication device, thereby stopping the interaction between the two.

[0132] This embodiment provides a method for determining an access device. In this application, a target communication device receives an access device determination request triggered by a user, and then sends link establishment requests to multiple access devices according to the determination request. Further, it receives link establishment permission responses from multiple access devices. The target communication device determines the target access device based on the multiple link establishment permission responses, thereby generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device. Further, the first determination message is sent to the target access device, and the second determination message is sent to the non-target access devices, thereby instructing the target access device to establish a link corresponding to the session identifier according to the first determination message, and instructing at least one non-target access device to stop interacting with the target communication device according to the second determination message. In this application, the link establishment permission is... The path establishment response includes a session identifier created by the access device, so the target communication device only needs to interact with the access device once to obtain the session identifier. In the prior art, the target access device sends the session identifier to the target communication device only during the second interaction, thus increasing the interaction. In this application, the interaction between the target communication device and the access device is reduced when determining the target access device and obtaining the session identifier. In addition, in this application, after obtaining the second determination message, the non-target access device stops interacting with the target communication device according to the second determination message. Compared with the prior art, where the non-target access device continuously sends authorized session connection responses to the target communication device, this application further reduces the interaction between the non-target access device and the target communication device. Therefore, this application can save network resources and reduce network burden.

[0133] Example 2

[0134] This embodiment is a further refinement of the first embodiment described above. In this embodiment, the link establishment response is allowed to include the number of communication devices that the access device has currently connected to.

[0135] The number of currently connected communication devices refers to the data of the links established between the access device and the communication devices under the current circumstances. If the access device establishes a link with 2 communication devices, it means that 2 communication devices are connected to the access device, so the data of currently connected communication devices is 2.

[0136] For example, if the link establishment permission response sent by the first access device includes the number of communication devices currently connected to the first access device as 3, then it is determined that the first access device is connected to 3 communication devices.

[0137] This embodiment is an optional method for determining the target access device based on the establishment response of multiple allowed links, and the specific content is as follows.

[0138] The number of currently connected communication devices is compared, and the device with the fewest currently connected communication devices is identified as the target access device.

[0139] Specifically, the target communication device compares the number of currently connected communication devices corresponding to multiple access devices, determines the one with the fewest currently connected communication devices, and identifies the access device with the fewest currently connected communication devices as the target access device.

[0140] This embodiment provides a method for determining an access device. In this embodiment, the link establishment response is allowed to include the number of communication devices currently connected to the access device. Thus, the target communication device determines the access device with the fewest currently connected communication devices as the target access device, thereby ensuring that the network resources of the determined target access device are sufficient. Consequently, there will be no congestion between the target communication device and the target access device, making the target access device more suitable for the requirements.

[0141] In another approach, this embodiment allows the link establishment response to include the load currently being handled by the access device.

[0142] The current load capacity can be any quantity of indicators other than the number of connected communication devices. For example, it could be the bandwidth currently handled by the connected devices.

[0143] This embodiment is an optional method for determining the target access device based on the establishment response of multiple allowed links, and the specific content is as follows.

[0144] The system compares the current loads of multiple devices and identifies the device with the smallest current load as the target device.

[0145] Specifically, the target communication device compares the current load of multiple access devices, determines the one with the lowest current load, and identifies the access device with the lowest current load as the target access device.

[0146] This embodiment provides a method for determining access devices. In this embodiment, the link establishment response is allowed to include the load currently borne by the access device. Thus, the target communication device determines the access device with the lowest load as the target access device, thereby reducing the load of the determined target access device. Consequently, there will be no congestion between the target communication device and the target access device, making the target access device more suitable for the requirements.

[0147] Example 3

[0148] This embodiment is a further refinement of the above embodiment one or embodiment two. In this embodiment, the first determination message includes a field that determines it to be a target access device; the second determination message includes a field that determines it to be a non-target access device.

[0149] The field that identifies the target access device can be 0X18.

[0150] The field that identifies a non-target access device can be 0X08.

[0151] This embodiment is an optional method for generating a first determination message corresponding to the target access device and a second determination message for at least one non-target access device.

[0152] Figure 3 This is a schematic flowchart of a method for determining an access device provided in Embodiment 3. Figure 3 As shown, the specific steps are as follows.

[0153] S301, add a field to the confirmation message indicating whether it is the target access device.

[0154] Among them, the "determining message" is a message that has not yet had the field line indicating whether it is a target access device added. The "target determining message" refers to the first determining message and the second determining message, which are messages that have already had the field line indicating whether it is a target access device added, and have added the field indicating whether it is a target access device or not at the corresponding position.

[0155] Specifically, the target communication device adds a field indicating whether it is the target access device at the CODE location in the determination message. Here, CODE represents the attribute fields included in the determination message.

[0156] S302, add a field indicating whether it is a target access device to the corresponding position of the field row, and generate a first determination message corresponding to the target access device based on the field indicating whether it is a target access device.

[0157] Specifically, add a field indicating whether it is the target access device to the corresponding position in the field row, i.e., add 0X18, and generate the first determination message corresponding to the target access device based on the field indicating whether it is the target access device.

[0158] S303, add a field indicating that it is not the target access device to the corresponding position of the field row indicating whether it is the target access device, and generate a second determination message corresponding to the non-target access device based on the field indicating that it is not the target access device.

[0159] Similarly, the second determination message is generated using the same method as in S302.

[0160] This embodiment provides a method for determining an access device. In this embodiment, a field row indicating whether it is a target access device is added to the determination message, and a field indicating whether it is a target access device or a non-target access device is added, thereby generating a first determination message and a second determination message. In this embodiment, by adding additional field rows to the determination message, a first determination message corresponding to the target access device and a second determination message corresponding to the non-target access device can be generated. Therefore, the first determination message and the second determination message generated in this embodiment are directional.

[0161] Example 4

[0162] The execution subject of Embodiments 4 and 5 of this application is an access device determination device, which is located in the target access device. The method of this embodiment is applied to the target access device.

[0163] Figure 4 This is a schematic flowchart of a method for determining an access device provided in Embodiment 4. Figure 4 As shown, the specific steps are as follows.

[0164] S401, Receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device upon receiving a confirmation request from the access device triggered by the user.

[0165] S402, create a corresponding session identifier based on the link establishment request, and generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0166] It should be noted that the target access device creates a corresponding session identifier based on the link establishment request and generates a corresponding link establishment permission response.

[0167] S403, a link establishment permission response is sent to the target communication device to instruct the target communication device to determine the target access device based on the multiple link establishment permission responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the multiple link establishment permission responses include those generated by the non-target access devices after creating a corresponding session identifier based on the link establishment request; the second determination message is sent by the target communication device to at least one non-target access device to instruct the at least one non-target access device to stop interacting with the target communication device based on the second determination message.

[0168] It should be noted that in this step, the target communication device determines the target access device based on multiple allowed link establishment responses. These multiple allowed link establishment responses include an allowed link establishment response generated by the target access device and at least one allowed link establishment response generated by a non-target access device.

[0169] S404, Receive the first confirmation message sent by the target communication device.

[0170] S405, establish the link corresponding to the session identifier based on the first determination message.

[0171] Specifically, the target communication device sends a first confirmation message to the target access device. Further, the target access device identifies itself as the target communication device based on the first confirmation message and establishes a link corresponding to the session identifier.

[0172] This embodiment provides a method for determining an access device. In this embodiment, a target communication device receives an access device determination request triggered by a user, and then sends link establishment requests to multiple access devices according to the determination request. Further, the target access device creates a corresponding session identifier according to the link establishment request and generates a link establishment permission response. The target communication device then receives the link establishment permission responses sent by multiple access devices. The target communication device determines the target access device based on the multiple link establishment permission responses, thereby generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device. Further, the first determination message is sent to the target access device, and the second determination message is sent to the non-target access devices, thereby instructing the target access device to establish a link corresponding to the session identifier according to the first determination message. The system instructs at least one non-target access device to stop interacting with the target communication device based on the second determination message. In this embodiment, the link establishment response is allowed to include a session identifier created by the access device, so that the target communication device and the access device only need to interact once for the target communication device to obtain the session identifier. Therefore, this embodiment reduces the interaction between the target communication device and the access device when determining the target access device and obtaining the session identifier. In addition, in this embodiment, after obtaining the second determination message, the non-target access device stops interacting with the target communication device based on the second determination message. Compared with the prior art, where the non-target access device continuously sends authorized session connection responses to the target communication device, this embodiment further reduces the interaction between the non-target access device and the target communication device. Therefore, this application can save network resources and reduce network burden.

[0173] Example 5

[0174] This embodiment is a further refinement of the above embodiment four. In this embodiment, the first determination message includes a field that determines the target access device.

[0175] This embodiment is an optional method for establishing a link corresponding to a session identifier based on a first determined message, and the specific details are as follows.

[0176] In response to the first determination message containing a field identifying it as the target access device, it determines itself as the target access device and establishes a link corresponding to the target communication device's session identifier based on the corresponding session identifier; the link corresponding to the session identifier is used to transmit the session between the target communication device and the target access device.

[0177] For example, the target access device responds to the fact that the CODE attribute field in the first determination message contains a field that identifies it as the target access device, namely 0X18, thereby the target access device determines itself as the target access device. Further, the target access device establishes a link corresponding to the target communication device's session identifier based on the corresponding session identifier.

[0178] This embodiment provides a method for determining an access device. In this embodiment, the target access device determines itself as a target access device based on the field containing the field "determined to be a target access device" in the first determination message. As a result, the target access device establishes a link corresponding to the session identifier, thereby realizing a session between the target communication device and the target access device. In this embodiment, the target access device can accurately determine whether it is a target access device.

[0179] Example 6

[0180] The execution entity of Embodiments 6 to 8 of this application is an access device determination device, which is located in at least one non-target access device. The method of this embodiment is applied to at least one non-target access device.

[0181] Figure 5 This is a schematic flowchart of a method for determining an access device provided in Embodiment Six. Figure 5 As shown, the specific steps are as follows.

[0182] S501, Receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device upon receiving a confirmation request from the access device triggered by the user.

[0183] S502, create a corresponding session identifier based on the link establishment request, and generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0184] S503, a link establishment permission response is sent to the target communication device to instruct the target communication device to determine the target access device based on the multiple link establishment permission responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the multiple link establishment permission responses include those generated by the target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device to instruct the target access device to establish the link corresponding to the session identifier based on the first determination message.

[0185] It should be noted that the multiple link establishment permission responses in this step include a link establishment permission response generated by the target access device and at least one link establishment permission response generated by a non-target access device.

[0186] S504, Receive the second determination message sent by the target communication device.

[0187] S505, based on the second determination message, stop interacting with the target communication device.

[0188] Specifically, the target communication device sends a second determination message to the non-target access device. Furthermore, the non-target access device determines itself as a non-target access device based on the second determination message and stops interacting with the target communication device.

[0189] This embodiment provides a method for determining an access device. In this embodiment, the link establishment response is allowed to include a session identifier created by the access device, so that the target communication device and the access device only need to interact once for the target communication device to obtain the session identifier. Therefore, this embodiment reduces the interaction between the target communication device and the access device when determining the target access device and obtaining the session identifier. Furthermore, in this embodiment, after a non-target access device obtains a second determination message, it stops interacting with the target communication device based on the second determination message. Compared to the prior art where non-target access devices continuously send authorized session connection responses to the target communication device, this embodiment further reduces the interaction between the non-target access device and the target communication device. Therefore, this application can save network resources and reduce network burden.

[0190] Example 7

[0191] This embodiment is a further refinement of the above embodiment six. In this embodiment, the second determination message includes a field that determines that it is a non-target access device.

[0192] This embodiment is an optional method for stopping interaction with the target communication device based on the second determination message, and the specific content is as follows.

[0193] In response to the second determination message containing a field indicating that it is not the target access device, it determines that it is not the target access device and stops interacting with the target communication device.

[0194] For example, if the non-target access device responds to the fact that the CODE attribute field in the second determination message contains a field that identifies it as the target access device, namely 0X08, the target access device will determine that it is a non-target access device. Furthermore, the non-target access device will stop interacting with the target communication device.

[0195] This embodiment provides a method for determining an access device. In this embodiment, a non-target access device determines itself as a non-target access device based on a field in the second determination message that indicates it is not a target access device. Thus, the non-target access device knows that it is not a target access device and stops interacting with the target communication device. In this embodiment, the target access device can accurately determine itself as a non-target access device.

[0196] Example 8

[0197] This embodiment is a further refinement of the above embodiment six or seven. In this embodiment, the created session identifier is retained to provide a link to other communication devices to establish the corresponding session identifier.

[0198] It should be noted that if a corresponding session identifier has already been created for a non-target access device, the session identifier can be retained. When the next target communication device sends a link establishment request, the session identifier can continue to be used to execute the method of this scheme. If it is determined that a certain non-target access device is the target access device in the scheme of determining the next access device, the session identifier retained by the non-target access device will be used to establish a link corresponding to the next target communication device. The corresponding link is the link corresponding to the session identifier of the non-target access device.

[0199] This embodiment provides a method for determining access devices. In this embodiment, the session identifier corresponding to the non-target access device is retained, which can reduce the action of non-target access devices creating session identifiers and reuse unused session identifiers, thus saving network resources.

[0200] Example 9

[0201] The execution subject of this embodiment nine is the access device determination system, which includes a target communication device and an access device, wherein the access device includes a target access device and a non-target access device.

[0202] Figure 6 This is a determination interaction diagram for an access device provided in Embodiment Nine. For example... Figure 6 As shown, the specific steps are as follows.

[0203] S601, the target communication device receives a confirmation request triggered by the user.

[0204] S602, the target communication device generates a link establishment request based on the determination request.

[0205] S603, the target communication device sends a link establishment request to multiple access devices; among which, the multiple access devices include the target access device and non-target access devices.

[0206] S604, the access device creates a corresponding session identifier and generates a link establishment permission response based on the link establishment request.

[0207] S605, the access device will send a link establishment permission response to the target communication device.

[0208] S606, the target communication device determines the target access device based on the allowed link establishment response, and generates a first determination message and a second determination message.

[0209] S607, the target communication device sends the first determination message to the target access device and the second determination message to the non-target access device.

[0210] S608, the target access device determines itself as the target access device based on the first determination message and establishes a link corresponding to the session identifier.

[0211] S609, the non-target access device determines itself as a non-target access device based on the second determination message and stops interacting with the target communication device.

[0212] Example 10

[0213] The following are embodiments of the apparatus provided in this application. Figure 7 This is a schematic diagram of a device for determining an access device provided in Embodiment 10. The device 700 is located in the target communication device, such as... Figure 7 As shown, the device 700 includes the following modules.

[0214] The first receiving module 701 is used to receive the confirmation request triggered by the user from the access device; the generating module 702 is used to generate a link establishment request based on the confirmation request; and the first sending module 703 is used to send the request to multiple access devices.

[0215] The second receiving module 704 is used to receive link establishment permission responses sent by multiple access devices; the link establishment permission response is generated by the access device after creating a corresponding session identifier according to the link establishment request; the link establishment permission response includes the session identifier created by the corresponding access device.

[0216] The determination module 705 is used to determine the target access device based on multiple allowed link establishment responses. The generation module 702 is also used to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device.

[0217] The second sending module 706 is used to send a first determining message to the target access device and a second determining message to a non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determining message, and to instruct at least one non-target access device to stop interacting with the target communication device according to the second determining message.

[0218] In one approach, the link establishment response is allowed to include the number of communication devices currently connected to the access device;

[0219] The determination module 705, when determining the target access device based on multiple allowed link establishment responses, is specifically used for:

[0220] The number of currently connected communication devices is compared, and the device with the fewest currently connected communication devices is identified as the target access device.

[0221] In one approach, the link establishment response is allowed to include the load currently being handled by the access device;

[0222] The determination module 705, when determining the target access device based on multiple allowed link establishment responses, is specifically used for:

[0223] The system compares the current loads of multiple devices and identifies the device with the smallest current load as the target device.

[0224] In one approach, the first determination message includes a field identifying it as the target access device; the second determination message includes a field identifying it as a non-target access device.

[0225] The generation module 702, when generating the first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device, is specifically used for:

[0226] Add a field indicating whether it is the target access device to the determination message; add a field indicating that it is the target access device to the corresponding position of the field indicating whether it is the target access device, and generate a first determination message corresponding to the target access device based on the field indicating that it is the target access device; add a field indicating that it is not the target access device to the corresponding position of the field indicating whether it is the target access device, and generate a second determination message corresponding to the non-target access device based on the field indicating that it is not the target access device.

[0227] Example 11

[0228] The following are embodiments of the apparatus provided in this application. Figure 8 This is a schematic diagram of a device for determining an access device provided in Embodiment Eleven. The device 800 is located in the target communication device, such as... Figure 8 As shown, the device 800 includes the following modules.

[0229] The first receiving module 801 is used to receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device receiving a confirmation request from the access device triggered by the user;

[0230] The creation module 802 is used to create a corresponding session identifier based on the link establishment request, and the generation module 803 is used to generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0231] The sending module 804 is configured to send a link establishment permission response to the target communication device, so as to instruct the target communication device to determine the target access device based on multiple link establishment permission responses, and generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the multiple link establishment permission responses include those generated by the non-target access devices after creating a corresponding session identifier based on the link establishment request; the second determination message is sent by the target communication device to at least one non-target access device, so as to instruct at least one non-target access device to stop interacting with the target communication device based on the second determination message;

[0232] The second receiving module 805 is used to receive the first determination message sent by the target communication device;

[0233] Establishment module 806 is used to establish a link corresponding to the session identifier based on the first determined message.

[0234] In one approach, the first determination message includes a field identifying the target access device;

[0235] Module 806, when establishing a link corresponding to the session identifier based on the first determined message, is specifically used for:

[0236] In response to the first determination message containing a field identifying it as the target access device, it determines itself as the target access device and establishes a link corresponding to the target communication device's session identifier based on the corresponding session identifier; the link corresponding to the session identifier is used to transmit the session between the target communication device and the target access device.

[0237] Example 12

[0238] The following are embodiments of the apparatus provided in this application. Figure 9 This is a schematic diagram of a device for determining an access device, provided in Embodiment Twelve. The device 900 is located in a non-target communication device, such as… Figure 9 As shown, the device 900 includes the following modules.

[0239] The first receiving module 901 is used to receive a link establishment request sent by the target communication device; the link establishment request is generated by the target communication device receiving a confirmation request from the access device triggered by the user;

[0240] The creation module 902 is used to create a corresponding session identifier based on the link establishment request, and the generation module 903 is used to generate a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device.

[0241] The sending module 904 is configured to send a link establishment permission response to the target communication device, so as to instruct the target communication device to determine the target access device based on multiple link establishment permission responses, and generate a first determination message corresponding to the target access device and at least one second determination message corresponding to a non-target access device respectively; the multiple link establishment permission responses include those generated by the target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device, so as to instruct the target access device to establish the link corresponding to the session identifier based on the first determination message;

[0242] The second receiving module 905 is used to receive the second determination message sent by the target communication device;

[0243] The stop module 906 is used to stop interacting with the target communication device according to the second determined message.

[0244] In one approach, the second determination message includes a field identifying the device as a non-target access device;

[0245] When the stop module 906 stops interacting with the target communication device according to the second determined message, it is specifically used for:

[0246] In response to the second determination message containing a field indicating that it is not the target access device, it determines that it is not the target access device and stops interacting with the target communication device.

[0247] In one embodiment, this method provides an access device determination device, which further includes: a reservation module;

[0248] Specifically, the retention module is used to retain the created session identifier in order to provide links to other communication devices that establish the corresponding session identifier.

[0249] Example 13

[0250] Figure 10 This is a schematic diagram of a target communication device structure provided in Embodiment Thirteen. Figure 10 As shown, the target communication device 1000 may include: a processor 1001, and a memory 1002 and a transceiver 1003 communicatively connected to the processor 1001. The memory 1002 stores computer-executable instructions; the transceiver 1003 is used for sending and receiving data; the processor 1001 executes the computer-executable instructions stored in the memory 1002 to implement any of the method embodiments in Embodiments 1 to 3 and Embodiment 9 described above. The specific implementation methods and technical effects are similar and will not be repeated here.

[0251] In this embodiment, the transceiver 1003, memory 1002, and processor 1001 are connected via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0252] Example 14

[0253] Figure 11 This is a schematic diagram of a target access device structure provided in Embodiment Fourteen. Figure 11 As shown, the target access device 1100 may include: a processor 1101, and a memory 1102 and a transceiver 1103 communicatively connected to the processor 1101. The memory 1102 stores computer-executable instructions; the transceiver 1103 is used for sending and receiving data; the processor 1101 executes the computer-executable instructions stored in the memory 1102 to implement any of the method embodiments in Embodiments 4, 5, and 9 above. The specific implementation methods and technical effects are similar, and will not be repeated here.

[0254] In this embodiment, the transceiver 1103, memory 1102, and processor 1101 are connected via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0255] Example 15

[0256] Figure 12 This is a schematic diagram of a non-target access device structure provided in Embodiment Fifteen. Figure 12As shown, the non-target access device 1200 may include: a processor 1201, and a memory 1202 and a transceiver 1203 communicatively connected to the processor 1201. The memory 1202 stores computer-executable instructions; the transceiver 1203 is used for sending and receiving data; the processor 1201 executes the computer-executable instructions stored in the memory 1202 to implement any of the method embodiments in embodiments six to nine above. The specific implementation methods and technical effects are similar, and will not be repeated here.

[0257] In this embodiment, the transceiver 1203, memory 1202, and processor 1201 are connected via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 12 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0258] Example 16

[0259] This application provides a computer-readable storage medium storing computer-executable instructions. When executed by a processor, the computer-executable instructions are used to implement any one of the method embodiments 1 to 9 described above. The specific implementation methods and technical effects are similar and will not be repeated here.

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

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

Claims

1. A determination method of an access device, characterized by, The method is applied to a target communication device, and the method comprises: receiving a determination request of an access device triggered by a user, generating a link establishment request according to the determination request, and sending to a plurality of access devices; receiving a plurality of link establishment permission responses sent by the access devices; the link establishment permission response is generated by the access device after creating a corresponding session identifier according to the link establishment request; the link establishment permission response comprises a session identifier created by the corresponding access device; determining a target access device according to the plurality of link establishment permission responses, and respectively generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device; sending the first determination message to the target access device and the second determination message to the non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message, and instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.

2. The method of claim 1, wherein, The link establishment permission response comprises a number of currently accessed communication devices of the access device; The target access device is determined according to the plurality of link establishment permission responses, comprising: comparing the plurality of currently accessed communication device numbers, and determining the access device with the least number of currently accessed communication devices as the target access device.

3. The method of claim 1, wherein, The link establishment permission response comprises a current load amount borne by the access device; The target access device is determined according to the plurality of link establishment permission responses, comprising: comparing the plurality of current load amounts, and determining the access device with the smallest current load amount as the target access device.

4. The method of claim 1, wherein, The first determination message comprises a field of determining the target access device; and the second determination message comprises a field of determining the non-target access device; The first determination message corresponding to the target access device and the second determination message corresponding to at least one non-target access device are respectively generated, comprising: adding a field row of whether the target access device in the determination message; adding a field of determining the target access device at a corresponding position of the field row of whether the target access device, and generating the first determination message corresponding to the target access device based on the field of determining the target access device; adding a field of determining the non-target access device at a corresponding position of the field row of whether the target access device, and generating the second determination message corresponding to the non-target access device based on the field of determining the non-target access device.

5. A determination method of an access device, characterized by, The method is applied to a target access device, and the method comprises: receiving a link establishment request sent by a target communication device; the link establishment request is generated by the target communication device receiving a determination request of an access device triggered by a user; creating a corresponding session identifier according to the link establishment request, and generating a link establishment permission response; the link establishment permission response comprises a session identifier created by the corresponding access device; sending the allowed link establishment response to the target communication device to instruct the target communication device to determine a target access device according to a plurality of allowed link establishment responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the plurality of allowed link establishment responses include an allowed link establishment response generated by a non-target access device after creating a corresponding session identifier according to the link establishment request; the second determination message is sent by the target communication device to the at least one non-target access device to instruct the at least one non-target access device to stop interacting with the target communication device according to the second determination message; receiving the first determination message sent by the target communication device; establishing a link corresponding to the session identifier according to the first determination message.

6. The method of claim 5, wherein, The first determination message includes a field indicating that the target access device is determined; The establishment of the link corresponding to the session identifier according to the first determination message includes: in response to the field indicating that the target access device is determined in the first determination message, determining that the target access device is itself, and establishing a link corresponding to the session identifier with the target communication device; the link corresponding to the session identifier is used to transmit a session between the target communication device and the target access device.

7. A determination method of an access device, characterized by, The method is applied to at least one non-target access device, and the method includes: receiving a link establishment request sent by a target communication device; the link establishment request is generated by the target communication device receiving a determination request of an access device triggered by a user; creating a corresponding session identifier according to the link establishment request, and generating an allowed link establishment response; the allowed link establishment response includes the session identifier created by the corresponding access device; sending the allowed link establishment response to the target communication device to instruct the target communication device to determine a target access device according to a plurality of allowed link establishment responses, and to generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device respectively; the plurality of allowed link establishment responses include an allowed link establishment response generated by a non-target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message; receiving the second determination message sent by the target communication device; stopping interacting with the target communication device according to the second determination message.

8. The method of claim 7, wherein, The second determination message includes a field indicating that the non-target access device is determined; The stopping of the interaction with the target communication device according to the second determination message includes: in response to the field indicating that the non-target access device is determined in the second determination message, determining that the non-target access device is itself, and stopping the interaction with the target communication device.

9. The method according to any of claims 7 or 8, characterized in that, The method further includes: reserving the created session identifier to provide a link corresponding to the session identifier to other communication devices.

10. A determining apparatus of an access device, characterized by comprising: The device is located in a target communication device, and the device includes: The first receiving module is used for receiving a determination request of an access device triggered by a user, the generating module is used for generating a link establishment request according to the determination request, and the first sending module is used for sending to a plurality of access devices. The second receiving module is used for receiving a plurality of link establishment permission responses sent by the access devices; the link establishment permission response is generated by the access device after creating a corresponding session identifier according to the link establishment request; and the link establishment permission response includes the session identifier created by the corresponding access device. The determining module is used for determining a target access device according to the plurality of link establishment permission responses, and the generating module is further used for generating a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device. The second sending module is used for sending the first determination message to the target access device and sending the second determination message to the non-target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message and instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message.

11. A determining apparatus of an access device, characterized by comprising: The device is located at a target access device, and the device comprises: The first receiving module is used for receiving a link establishment request sent by a target communication device; the link establishment request is generated by the target communication device after receiving a determination request of an access device triggered by a user; The creating module is used for creating a corresponding session identifier according to the link establishment request, and the generating module is used for generating a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device. The sending module is used for sending the link establishment permission response to the target communication device, so as to instruct the target communication device to determine a target access device according to a plurality of link establishment permission responses and generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device; the plurality of link establishment permission responses include a link establishment permission response generated by a non-target access device after creating a corresponding session identifier according to the link establishment request; and the second determination message is sent by the target communication device to at least one non-target access device, so as to instruct at least one non-target access device to stop interacting with the target communication device according to the second determination message; The second receiving module is used for receiving a first determination message sent by the target communication device; The establishing module is used for establishing a link corresponding to the session identifier according to the first determination message.

12. A determining apparatus of an access device, characterized by comprising: The device is located at a non-target access device, and the device comprises: The first receiving module is used for receiving a link establishment request sent by a target communication device; the link establishment request is generated by the target communication device after receiving a determination request of an access device triggered by a user; The creating module is used for creating a corresponding session identifier according to the link establishment request, and the generating module is used for generating a link establishment permission response; the link establishment permission response includes the session identifier created by the corresponding access device. The sending module is configured to send the allowed link establishment response to the target communication device, so as to instruct the target communication device to determine a target access device according to a plurality of allowed link establishment responses, and respectively generate a first determination message corresponding to the target access device and a second determination message corresponding to at least one non-target access device; the plurality of allowed link establishment responses include an allowed link establishment response generated by the target access device after creating a corresponding session identifier according to the link establishment request; the first determination message is sent by the target communication device to the target access device, so as to instruct the target access device to establish a link corresponding to the session identifier according to the first determination message; The second receiving module is configured to receive the second determination message sent by the target communication device. The stopping module is configured to stop interaction with the target communication device according to the second determination message.

13. A communication device comprising: A processor, and a memory and a transceiver connected with the processor in communication; The memory stores computer execution instructions; The transceiver is configured to transceive data; The processor executes the computer execution instructions stored in the memory, so as to implement the method in any one of claims 1-4.

14. A target access device, comprising: A processor, and a memory and a transceiver connected with the processor in communication; The memory stores computer execution instructions; The transceiver is configured to transceive data; The processor executes the computer execution instructions stored in the memory, so as to implement the method in any one of claims 5 or 6.

15. A non-target access device, comprising: A processor, and a memory and a transceiver connected with the processor in communication; The memory stores computer execution instructions; The transceiver is configured to transceive data; The processor executes the computer execution instructions stored in the memory, so as to implement the method in any one of claims 7-9.

16. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method in any one of claims 1-9.

Citation Information

Patent Citations

  • Session dismantling method and device

    CN107547618A

  • Session establishment method and device

    CN110167190A