Connection control method, apparatus and device, and storage medium
By reading and adjusting the connection protocol support table of the smart terminal, the connection channel of the coexisting connection protocol is determined and dynamically negotiated, which solves the problem of unstable connection when the smart terminal uses WIFI, P2P and AP, and realizes more stable interconnection and interactive operation.
Patent Information
- Application Number
- PCT/CN2025/117382
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-01
- Filing Date
- 2025-08-27
- Publication Date
- 2026-01-08
Smart Images

Figure CN2025117382_08012026_PF_FP_ABST
Abstract
Description
Connection control method, device, apparatus and storage medium
[0001] The present application claims priority to the Chinese patent application No. 202410874322.2, filed on July 01, 2024, entitled "Connection control method, device, apparatus and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of wireless network, in particular to a connection control method, device, apparatus and storage medium. BACKGROUND
[0003] At present, with the development of wireless communication technology, various smart home applications using wireless communication technology for interaction are also more and more widely used. For example, taking a smart TV as an example, the existing smart TV may integrate WiFi (Wireless Fidelity), P2P (Peer-to-Peer) and AP (Access Point) functions at the same time, so as to realize screen projection interaction operation through wireless communication technology when connecting to a wireless network. However, when the terminal starts the network hotspot, the network hotspot needs to be closed before the screen projection or other air interaction operation can be performed, and when using WiFi, P2P and AP for interaction, there are problems of slow network access / disconnection or unstable interaction operation such as screen projection and disconnection, which affects the user experience. TECHNICAL SOLUTION
[0004] The embodiments of the present application provide a connection control method, device, apparatus and storage medium, which aims to solve the technical problem of unstable connection such as unsmooth interaction operation and frequent disconnection when the smart terminal uses WIFI, P2P and AP connection protocols for connection interaction in the prior art.
[0005] In one aspect, the present application provides a connection control method, which comprises the following steps:
[0006] In response to the connection coexistence request, reading the target connection protocol in the connection protocol support table;
[0007] Based on the target connection protocol, the historical use data and the performance index of the target communication module, determining the coexistence connection protocol of the target communication module, the coexistence connection protocol including the connection protocol combination of the wireless connection protocol and the point-to-point connection protocol and / or the hotspot connection protocol;
[0008] In response to the target terminal interaction request, a target connection channel of the coexistence connection protocol is adjusted based on the target terminal interaction request, and communication interaction operation is performed by using the target connection channel.
[0009] In a possible implementation of the present application, the target communication module includes a first communication module and a second communication module.
[0010] The coexistence connection protocol of the target communication module is determined based on the target connection protocol, historical use data, and performance indicators of the target communication module.
[0011] The protocol priority of the target connection protocol, the first performance indicator of the first communication module, and the second performance indicator of the second communication module are obtained.
[0012] The first initial connection protocol of the first communication module and the second initial connection protocol of the second communication module are set according to the protocol priority, the first performance indicator, and the second performance indicator.
[0013] In response to a protocol update request, the first initial connection protocol and / or the second initial connection protocol are adjusted based on the historical use data, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol.
[0014] In a possible implementation of the present application, in response to the protocol update request, the first initial connection protocol and / or the second initial connection protocol are adjusted based on the historical use data, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol.
[0015] In response to a protocol update request, the historical use data of the target connection protocol, the first update indicator of the first communication module, and the second update indicator of the second communication module are obtained.
[0016] The first initial connection protocol and / or the second initial connection protocol are adjusted based on the historical use data, the first update indicator, and the second update indicator, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol.
[0017] In a possible implementation of the present application, the target connection channel includes a point-to-point connection channel.
[0018] In response to the target terminal interaction request, a target connection channel of the coexistence connection protocol is adjusted based on the target terminal interaction request, and communication interaction operation is performed by using the target connection channel.
[0019] In response to the target terminal interaction request, it is determined that the target terminal interaction request is a terminal screen projection request, and a point-to-point connection group corresponding to the terminal screen projection request is created.
[0020] obtaining a wireless connection state and a wireless connection channel of a wireless connection protocol in the coexisting connection protocol;
[0021] determining a point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and performing a screen projection interaction operation by using the point-to-point connection channel.
[0022] In a possible implementation manner of the present application, the determining the point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel comprises:
[0023] if the wireless connection state is the connected state, identifying a channel type of the wireless connection channel;
[0024] if the channel type is the non-target channel type, setting the wireless connection channel as the point-to-point connection channel of the point-to-point connection group;
[0025] if the channel type is the target channel type, setting a candidate connection channel which is of the non-target channel type and different from a hotspot connection channel associated with the hotspot connection protocol as the point-to-point connection channel of the point-to-point connection group.
[0026] In a possible implementation manner of the present application, the target connection channel comprises a hotspot connection channel.
[0027] The adjusting the target connection channel of the coexisting connection protocol based on the target terminal interaction request in response to the target terminal interaction request and performing a communication interaction operation by using the target connection channel comprises:
[0028] in response to the target terminal interaction request, determining that the target terminal interaction request is a terminal hotspot request;
[0029] obtaining a wireless connection channel and / or a point-to-point connection channel of a wireless connection protocol in the coexisting connection protocol;
[0030] determining a hotspot connection channel of a hotspot connection protocol in the coexisting connection protocol according to the wireless connection channel and / or the point-to-point connection channel.
[0031] In a possible implementation manner of the present application, the determining the hotspot connection channel of the hotspot connection protocol in the coexisting connection protocol according to the wireless connection channel and / or the point-to-point connection channel comprises:
[0032] if a channel type of the wireless connection channel is the non-target channel type, setting a candidate connection channel which is of the non-target channel type and different from the wireless connection channel as the hotspot connection channel of the hotspot connection protocol;
[0033] If the channel type of the wireless connection channel is a target channel type, a candidate connection channel with a channel type being a non-target channel type and different from the point-to-point connection channel is set as a hotspot connection channel of the hotspot connection protocol.
[0034] In another aspect, the present application provides a connection control device, comprising:
[0035] an information obtaining module configured to read a target connection protocol in a connection protocol support table in response to a connection coexistence request;
[0036] a protocol coexistence module configured to determine a coexistence connection protocol of the target communication module based on the target connection protocol, historical usage data, and performance indicators of the target communication module, the coexistence connection protocol comprising a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol;
[0037] a channel selecting module configured to adjust a target connection channel of the coexistence connection protocol based on a target terminal interaction request in response to the target terminal interaction request, and perform a communication interaction operation using the target connection channel.
[0038] In another aspect, the present application further provides a connection control device, comprising:
[0039] one or more processors;
[0040] a memory; and
[0041] one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the connection control method.
[0042] In another aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps of the connection control method.
[0043] In the present application, a target connection protocol in a connection protocol support table is read in response to a connection coexistence request; a coexistence connection protocol of the target communication module is determined based on the target connection protocol, historical use data, and performance indicators of the target communication module, the coexistence connection protocol including a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol; a target connection channel of the coexistence connection protocol is adjusted based on a target terminal interaction request in response to the target terminal interaction request, and communication interaction operation is performed using the target connection channel. The target connection protocol supported by the terminal is determined, and the coexistence connection protocol supported by the target communication module is determined based on the target connection protocol, historical use data, and performance indicators of the target communication module, so that the target connection protocols can coexist simultaneously, the terminal interconnection application scenario is improved, and the connection channel of the coexistence connection protocol is dynamically negotiated, thereby reducing connection interference and improving connection interaction stability. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0045] FIG. 1 is a scene schematic diagram of the connection control method according to an embodiment of the present application;
[0046] FIG. 2 is a flow schematic diagram of one embodiment of the connection control method according to an embodiment of the present application;
[0047] FIG. 3 is a flow schematic diagram of one embodiment of dynamic channel negotiation to a point-to-point connection protocol in the connection control method according to an embodiment of the present application;
[0048] FIG. 4 is a flow schematic diagram of one embodiment of dynamic channel negotiation to a hotspot connection protocol in the connection control method according to an embodiment of the present application;
[0049] FIG. 5 is a structural schematic diagram of one embodiment of the connection control device according to an embodiment of the present application;
[0050] FIG. 6 is a structural schematic diagram of one embodiment of the connection control device according to an embodiment of the present application.
[0051] Embodiments of the present application
[0052] With reference to the drawings and the embodiments described herein, it will be understood that the application is not limited in its application to the details of construction and the arrangements of the components set forth in the following description or illustrated in the drawings. Departures can be made from these details without departing from the spirit or scope of the application.
[0053] In the description of the present application, the terms "first", "second", etc. are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise specifically limited.
[0054] In the present application, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any implementation described as "exemplary" in the present application is not necessarily to be construed as preferred or advantageous over other implementations. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, for purposes of explanation, specific details are set forth. It will be apparent to those skilled in the art that the present application can be practiced without the specific details. In other instances, well-known structures and processes are not elaborated in order not to obscure the description of the present application with unnecessary details. Thus, the present application is not intended to be limited by the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
[0055] At present, with the development of wireless communication technology, various smart home applications using wireless communication technology for interaction are also becoming more and more widespread. For example, taking a smart TV as an example, the existing smart TV can integrate WiFi (Wireless Fidelity), P2P (Peer-to-Peer) and AP (Access Point) functions at the same time, so as to realize screen projection interaction operation through wireless communication technology when connecting to a wireless network. However, when the terminal is turned on, the network hotspot needs to be closed before the screen projection or other air interaction operation can be performed, and when using WIFI, P2P and AP for interaction, there are problems of slow network access / disconnection or unstable screen projection and other interaction operations, which affect the user experience.
[0056] Based on this, the application proposes a connection control method, device, equipment and computer readable storage medium to solve the technical problem of unstable connection such as unsmooth interaction operation and frequent disconnection when the intelligent terminal uses WIFI, P2P and AP connection protocols for connection interaction in the prior art.
[0057] The connection control method in the embodiments of the application is applied to a connection control device, which is arranged in a connection control equipment. The connection control equipment is provided with one or more processors, a memory and one or more application programs. The one or more application programs are stored in the memory and configured to be executed by the processor to implement the connection control method. The connection control equipment can be an intelligent terminal such as a mobile phone, a tablet computer, a network device, a smart television and a smart computer.
[0058] As shown in FIG. 1, FIG. 1 is a scene schematic diagram of the connection control method of the embodiments of the application. The connection control scene in the embodiments of the application includes a connection control equipment 100 (the connection control device 100 is integrated with a connection control device) and a target interaction terminal 200. The connection control equipment 100 runs a computer readable storage medium corresponding to the connection control method to execute the steps of the connection control method. The target interaction terminal 200 is an intelligent terminal for connection interaction with the connection control equipment 100.
[0059] It can be understood that the connection control equipment in the connection control method scene shown in FIG. 1, or the device contained in the connection control equipment does not constitute a limitation on the embodiments of the application, that is, the number and type of the connection control equipment contained in the connection control method scene, or the number and type of the devices contained in each equipment do not affect the overall implementation of the technical solutions in the embodiments of the application, and can be regarded as equivalent replacement or derivation of the technical solutions claimed in the embodiments of the application.
[0060] The connection control equipment 100 in the embodiments of the application is mainly used for: responding to a connection coexistence request, reading a target connection protocol in a connection protocol support table;
[0061] Based on the target connection protocol, historical use data and performance indicators of the target communication module, a coexistence connection protocol of the target communication module is determined, which includes a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hot spot connection protocol.
[0062] Responding to a target terminal interaction request, a target connection channel of the coexistence connection protocol is adjusted based on the target terminal interaction request, and a communication interaction operation is performed by using the target connection channel.
[0063] The connection control device 100 in the embodiments of the present application can be a standalone connection control device, such as a mobile phone, a tablet computer, a network device, a server, a smart television, a smart computer, and the like, or can be a connection control network or a connection control cluster composed of multiple connection control devices.
[0064] The embodiments of the present application provide a connection control method, device, equipment and computer readable storage medium, which are described in detail below.
[0065] Those skilled in the art can understand that the application environment shown in FIG. 1 is only one of the application scenarios related to the present application scheme, and does not constitute a limitation on the application scenarios of the present application scheme. Other application environments can further include more or less connection control devices or connection control network connection relationships than those shown in FIG. 1. For example, only one connection control device is shown in FIG. 1. It can be understood that the scenario of the connection control method can also include one or more connection control devices, which are not limited specifically herein. The connection control device 100 can further include a memory for storing order data and other data.
[0066] It should be noted that the scenario diagram of the connection control method shown in FIG. 1 is only an example. The scenario of the connection control method described in the embodiments of the present application is to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application.
[0067] Based on the above-mentioned connection control method scenario, various embodiments of the connection control method disclosed in the present application are proposed.
[0068] As shown in FIG. 2, FIG. 2 is a flowchart of one embodiment of the connection control method in the embodiments of the present application. The connection control method includes the following steps 201-203:
[0069] 201. In response to a connection coexistence request, reading a target connection protocol in a connection protocol support table;
[0070] The connection control method in the embodiments of the present application is applied to a connection control device, and the type and number of the connection control device are not limited specifically, i.e., the connection control device can be one or more smart terminals simultaneously integrated with a wireless connection protocol, a point-to-point connection protocol and a hotspot connection protocol. In a specific embodiment, the connection control device is a smart television terminal. The smart television can enable the wireless connection protocol, the point-to-point connection protocol and the hotspot connection protocol to coexist, i.e., simultaneously perform wireless network connection, point-to-point communication connection and hotspot connection, thereby realizing that a user simultaneously connects a wireless network, shares a network hotspot and synchronously performs screen projection by using the smart television, to improve the use scenario of the smart television and optimize the use experience of the user.
[0071] Specifically, the connection control device starts to respond to the connection coexistence request after power-on, wherein the connection coexistence request determines the target connection protocol supported by the connection control device and controls the control event of the connection function coexistence corresponding to the target connection protocol. The trigger mode of the connection coexistence request is not limited here, that is, the connection coexistence request can be triggered by the user by clicking the connection coexistence button on the control device (such as remote control, handle, keyboard, and mouse control terminal) or target interactive terminal connected with the connection control device. Alternatively, the connection coexistence request can also be triggered automatically by the connection control device, for example, the connection control device automatically selects to start the connection coexistence option after power-on and actively triggers the connection coexistence request.
[0072] Specifically, the connection control device reads the target connection protocol in the connection protocol support table after obtaining the connection coexistence request. The target connection protocol is a communication connection protocol supported by the connection control device. In one specific embodiment, the target connection protocol can include any one or more of a wireless connection protocol (STA, Station), a peer-to-peer connection protocol (P2P), and a hotspot connection protocol (AP).
[0073] The wireless connection protocol is a connection protocol for driving the connection control device to access a specified wireless network, so that the connection control device can access the Internet and provide the user with specified Internet content. Secondly, the peer-to-peer connection protocol is a connection protocol for driving the connection control device to establish a screen projection connection with a target interactive terminal (such as a smart terminal such as a mobile phone and a tablet computer), so that the user can view the audiovisual content transmitted by the target interactive terminal based on the peer-to-peer connection and played on the display screen of the connection control device. In addition, the hotspot connection protocol is a connection protocol for driving the connection control device to share a hotspot.
[0074] Specifically, the connection control device, after being powered on, also identifies hardware function support information in the connection control device, determines supported connection protocols of the connection control device through the hardware function support information, creates a connection protocol support table through the connection protocols of the connection control device, and maintains a target connection protocol of the connection control device and connection protocol information corresponding to the target connection protocol, such as a protocol priority, in the connection protocol support table. The protocol priority represents a control priority of each target connection protocol when the connection device control device is running. In one specific embodiment, the target connection protocol is a wireless connection protocol, a point-to-point connection protocol, and a hotspot connection protocol. In order to ensure network connection stability, the connection control device sets the protocol priority of the target connection protocol to a first priority with the highest priority, sets the protocol priority of the point-to-point connection protocol to a second priority with a lower priority, and sets the protocol priority of the hotspot connection protocol to a third priority with the lowest priority.
[0075] Specifically, in the subsequent protocol coexistence process, the connection control device also starts the corresponding target connection protocol function according to the protocol priority in the connection protocol support table, and improves the calling priority of the service system according to the protocol priority. The target connection protocol service with a higher calling priority is more likely to be called by the system, thereby reducing the performance lag problem caused by high CPU assignment.
[0076] 202. Determine a coexistence connection protocol of the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module.
[0077] Specifically, after determining the supported target connection protocol, the connection control device also calls a protocol coexistence service and determines a coexistence connection protocol carried by the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module through the protocol coexistence service, thereby managing the function range of the target communication module. The target communication module is a communication module that can realize coexistence of each target connection protocol. For example, in one specific embodiment, the target communication module includes a first communication module and a second communication module. The wireless connection protocol and the point-to-point connection protocol are coexistence connection protocols in the first communication module, that is, the first communication module carries wireless network functions and point-to-point communication functions. The hotspot connection protocol is a coexistence connection protocol in the second communication module, that is, the second communication module carries hotspot connection functions. Therefore, when using point-to-point communication functions or wireless network functions for interaction, it is not necessary to disconnect the hotspot connection function to realize protocol coexistence among the wireless connection protocol, the point-to-point connection protocol, and the hotspot connection protocol. For example, in one specific embodiment, a user can perform screen projection interaction without closing the hotspot connection during wireless network and screen projection interaction.
[0078] Specifically, the connection control device is configured with a target communication module for realizing protocol coexistence between each target connection protocol. The target communication module includes a first communication module and a second communication module. After receiving a connection coexistence request, the connection control device further acquires historical usage data of each target connection protocol and performance indicators of the target communication module, and adjusts the coexistence connection protocol of the target communication module, i.e., adjusts the communication connection functions carried by the first communication module and the second communication module in the target communication module, through the historical usage data, performance indicators and protocol priority.
[0079] The historical usage data is usage data representing user usage habits or usage frequency of each target connection protocol.
[0080] The performance indicators are indicator parameters representing the communication connection performance of the target communication module. In one specific embodiment, the performance indicators include packet loss rate and throughput.
[0081] Specifically, the connection control device acquires the protocol priority of each target connection protocol, the first performance indicators of the first communication module and the second performance indicators of the second communication module by reading the connection protocol support table. The first performance indicators are indicator parameters representing the communication connection performance of the first communication module. The second performance indicators are indicator parameters representing the communication connection performance of the second communication module.
[0082] Specifically, after acquiring the protocol priority, the first performance indicators of the first communication module and the second performance indicators of the second communication module, the connection control device sets the first initial connection protocol of the first communication module and the second initial connection protocol of the second communication module according to the protocol priority, the first performance indicators and the second performance indicators, i.e., the connection control device sets the target connection protocol with higher protocol priority as the initial connection protocol of the target communication module with better performance indicators by comparing the protocol priority of each target connection protocol and comparing the first performance indicators and the second performance indicators.
[0083] For example, if the protocol priority of the protocol combination of the wireless connection protocol and the point-to-point connection protocol is higher than the protocol priority of the hotspot connection protocol, and the first performance indicators are greater than the second performance indicators, the connection control device sets the protocol combination of the wireless connection protocol and the point-to-point connection protocol as the first initial connection protocol of the first communication module, and sets the hotspot connection protocol as the second initial connection protocol of the second communication module. The first initial connection protocol is the initial coexistence connection protocol of the first communication module. The second initial connection protocol is the initial coexistence connection protocol of the second communication module.
[0084] Optionally, after setting the first initial connection protocol of the first communication module and the second initial connection protocol of the second communication module, the connection control device may also respond to a protocol update request when an abnormal situation is detected, and adjust the first initial connection protocol and / or the second initial connection protocol based on historical usage data to obtain a first coexistence connection protocol and / or a second coexistence connection protocol.
[0085] Specifically, when the system restarts abnormally or the target communication module malfunctions, the connection control device triggers a protocol update request and responds to the protocol update request by adjusting the first initial connection protocol and / or the second initial connection protocol based on historical usage data to obtain the first coexistence connection protocol and / or the second coexistence connection protocol.
[0086] Specifically, after responding to a protocol update request, the connection control device reads historical usage data of each target connection protocol, a first update index of the first communication module, and a second update index of the second communication module. The first update index is a parameter characterizing the current communication connection performance of the first communication module, and the second update index is a parameter characterizing the current communication connection performance of the second communication module. The device then compares these first and second update indices with preset performance thresholds. Based on the comparison results and historical usage data, it adjusts the first initial connection protocol and / or the second initial connection protocol to obtain a first coexisting connection protocol and / or a second coexisting connection protocol. These performance thresholds can be customized according to actual scenario requirements.
[0087] Optionally, if the first update metric is lower than the performance metric threshold and the historical usage data is high-frequency usage data, the connection control device switches the first initial connection protocol to the second connection module, and the second connection module carries the connection function of the first initial connection protocol, thus obtaining the second coexistence connection protocol of the second connection module.
[0088] Optionally, if the second update metric is lower than the performance metric threshold and the historical usage data is high-frequency usage data, the connection control device switches the second initial connection protocol to the first connection module, and the first connection module carries the connection function of the second initial connection protocol, thus obtaining the first coexistence connection protocol of the first connection module.
[0089] For example, in one specific embodiment, the first initial connection protocol of the first connection module is a hotspot connection protocol, and the second initial connection protocol of the second connection module is a combination of a wireless connection protocol and a point-to-point connection protocol. The connection control device detects that the first update index of the first communication module is lower than the performance index threshold, and determines that the historical use data is the user hotspot frequency and the user hotspot frequency is a high frequency level. The connection control device switches the hotspot connection protocol to the second communication module, sets the hotspot connection protocol as the second coexistence connection protocol of the second communication module, and switches the combination of the wireless connection protocol and the point-to-point connection protocol to the first communication module as the first coexistence connection protocol, to realize dynamic connection protocol coexistence and ensure the protocol performance in protocol coexistence.
[0090] 203、responding to a target terminal interaction request, adjusting a target connection channel of the coexistence connection protocol based on the target terminal interaction request, and performing communication interaction operation by using the target connection channel.
[0091] Specifically, after the connection control device determines the coexistence connection protocol of the target communication module based on the connection function of the target communication module carrying the corresponding coexistence connection protocol, it can also dynamically negotiate the target connection channel corresponding to the coexistence connection protocol according to the specified target terminal interaction request, and perform communication interaction operation by using the target connection channel, to improve the connection stability.
[0092] Specifically, the connection control device receives a target terminal interaction request triggered by a user, analyzes the interaction type of the target terminal interaction request, dynamically negotiates a target connection channel of the corresponding coexistence connection protocol according to the interaction type, and executes the interaction operation corresponding to the target terminal interaction request through the target connection channel. Optionally, in one specific embodiment, the target terminal interaction request includes a terminal screen projection request or a terminal hotspot request. The terminal screen projection request is an operation instruction for driving the connection control device to establish a point-to-point screen projection connection with a specified target interaction terminal to perform screen projection interaction. The terminal hotspot request is an interaction operation instruction for driving the connection control device to open a hotspot service for other terminals to perform hotspot connection.
[0093] Optionally, if the target terminal interaction request is a terminal screen projection request, the connection control device dynamically negotiates a connection channel of a point-to-point connection protocol, determines a target connection channel of the point-to-point connection protocol, and executes a screen projection interaction operation through the target connection channel and a target interaction terminal suggestion point-to-point screen projection channel.
[0094] Optionally, if the target terminal interaction request is a terminal hotspot request, the connection control device dynamically negotiates a connection channel corresponding to a hotspot connection protocol, determines a target connection channel of the hotspot connection protocol, and opens a hotspot connection service through the target connection channel.
[0095] Optionally, the target terminal interaction request can also be other interaction requests corresponding to each coexistence connection protocol, and the embodiment does not make specific limitation here, that is, after the connection control device obtains the target terminal interaction request, it determines the coexistence connection protocol associated with the target terminal interaction request, and dynamically negotiates the connection channel corresponding to the coexistence connection protocol to determine the target connection channel of the coexistence connection protocol, and performs the corresponding interaction operation through the target connection channel, thereby ensuring the connection stability and improving the user interaction experience.
[0096] In the embodiment, the connection control device reads the target connection protocol in the connection protocol support table in response to the connection coexistence request; determines the coexistence connection protocol of the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module, the coexistence connection protocol including the connection protocol combination of the wireless connection protocol and the point-to-point connection protocol and / or the hotspot connection protocol; adjusts the target connection channel of the coexistence connection protocol based on the target terminal interaction request in response to the target terminal interaction request, and performs communication interaction operation by using the target connection channel. The target connection protocol supported by the terminal is determined, and the coexistence connection protocol supported by the target communication module is determined based on the target connection protocol, historical use data, and performance indicators of the target communication module, so that each target connection protocol can coexist simultaneously, the terminal interconnection application scenario is improved, and the connection channel of the coexistence connection protocol is dynamically negotiated, thereby reducing the connection interference and improving the connection interaction stability.
[0097] As shown in FIG. 3, FIG. 3 is a flowchart of one embodiment of the dynamic channel negotiation to the point-to-point connection protocol in the connection control method provided by the embodiment of the application. Specifically, in the embodiment, the connection control method further includes steps 301-303:
[0098] 301, in response to the target terminal interaction request, determining that the target terminal interaction request is a terminal screen projection request, and creating a point-to-point connection group corresponding to the terminal screen projection request;
[0099] 302, obtaining the wireless connection state and the wireless connection channel of the wireless connection protocol in the coexistence connection protocol;
[0100] 303, determining the point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and performing screen projection interaction operation by using the point-to-point connection channel.
[0101] Based on the above embodiments, in this embodiment, the connection control device determines the coexistence connection protocol of the target communication module, and based on the target communication module carrying the connection function corresponding to the coexistence connection protocol, can also dynamically negotiate the target connection channel corresponding to the coexistence connection protocol according to the specified target terminal interaction request, and use the target connection channel for communication interaction operation, so as to improve the connection stability.
[0102] Specifically, after the connection control device obtains the target terminal interaction request sent by the user to the connection control device, the connection control device parses the target terminal interaction request and determines that the target terminal interaction request is a terminal screen projection request. Then the connection control device creates a point-to-point connection group corresponding to the terminal screen projection request, dynamically negotiates a point-to-point connection channel of the point-to-point connection group, and uses the point-to-point connection channel for point-to-point screen projection interaction operation.
[0103] Specifically, after the connection control device responds to the terminal screen projection request, the connection control device also obtains the wireless connection state and the wireless connection channel of the wireless connection protocol in the coexistence connection protocol, and negotiates the channel of the point-to-point connection group according to the wireless connection state and the wireless connection channel, to determine the point-to-point connection channel of the point-to-point connection group.
[0104] Specifically, if the connection control device determines that the wireless connection state of the wireless connection protocol is a connected state, the connection control device identifies the channel type of the wireless connection channel, wherein the channel type is a wireless channel type representing a wireless connection link corresponding to the wireless connection protocol. In one specific embodiment, the channel type includes a target channel type and a non-target channel type. The target channel type is a dynamic frequency selection (DFS) channel type, and the non-target channel type is a channel type other than the DFS channel type.
[0105] Optionally, if the connection control device determines that the channel type of the wireless connection channel is a non-target channel type, that is, the wireless connection link corresponding to the wireless connection protocol is not in the DFS channel, the connection control device sets the wireless connection channel where the wireless connection link corresponding to the wireless connection protocol is located as the point-to-point connection channel of the point-to-point connection group, thereby avoiding the problem that the connection link of the wireless connection protocol and / or the point-to-point connection protocol is disconnected due to negotiation error.
[0106] Specifically, after setting the point-to-point connection channel corresponding to the point-to-point connection group, the connection control device continues to monitor the wireless connection state of the wireless connection protocol, and when the wireless connection channel corresponding to the wireless connection protocol changes, i.e., the wireless connection channel is switched to another non-target connection channel, the point-to-point connection channel is dynamically switched to the wireless connection channel.
[0107] Optionally, if the connection control device determines that the channel type of the wireless connection channel is the target channel type, the connection control device identifies the hotspot connection channel in the coexisting connection protocol, and compares the candidate connection channel of the non-target channel type with the hotspot connection channel, and sets any candidate connection channel of the non-target channel type and different from the hotspot connection channel as the point-to-point connection channel corresponding to the point-to-point connection group, thereby avoiding channel interference with the hotspot connection link in the point-to-point connection process.
[0108] Specifically, after setting the point-to-point connection channel, the connection control device continues to monitor the channel change of the wireless connection channel, and when the wireless connection channel corresponding to the wireless connection protocol changes, i.e., the wireless connection channel is switched to another non-target connection channel, the point-to-point connection channel is dynamically switched to the wireless connection channel.
[0109] Specifically, after negotiating the point-to-point connection channel, the connection control device also transmits the screen projection content based on the point-to-point connection channel, and plays the screen projection content in the display screen of the connection control device to complete the screen projection interactive operation.
[0110] In this embodiment, the connection control device determines that the target terminal interactive request is a terminal screen projection request in response to the target terminal interactive request, creates a point-to-point connection group corresponding to the terminal screen projection request, obtains the wireless connection state and the wireless connection channel of the wireless connection protocol in the coexisting connection protocol, determines the point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and performs screen projection interactive operation using the point-to-point connection channel. The point-to-point connection channel is dynamically negotiated through the wireless connection channel, thereby avoiding channel interference with the hotspot connection link in the point-to-point connection process, improving the connection stability of the point-to-point connection channel in the screen projection process, and improving the screen projection interactive effect.
[0111] As shown in FIG. 4, FIG. 4 is a flowchart of one embodiment of the dynamic channel negotiation of the hotspot connection protocol in the connection control method provided by the embodiment of the application. Specifically, in this embodiment, the connection control method further includes steps 401-403.
[0112] 401、in response to the target terminal interaction request, determining that the target terminal interaction request is a terminal hotspot request;
[0113] 402、obtaining a wireless connection channel and / or a point-to-point connection channel of a wireless connection protocol in the coexistence connection protocol;
[0114] 403、determining a hotspot connection channel of a hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel.
[0115] Based on the first embodiment, in this embodiment, the connection control device can determine the coexistence connection protocol of the target communication module, and based on the target communication module carrying the connection function corresponding to the coexistence connection protocol, the connection control device can also dynamically negotiate the target connection channel corresponding to the coexistence connection protocol according to the specified target terminal interaction request, and use the target connection channel for communication interaction operation, so as to improve the connection stability.
[0116] Specifically, after the connection control device obtains the target terminal interaction request triggered by the user for the connection control device, the connection control device parses the target terminal interaction request and determines that the target terminal interaction request is a terminal hotspot request. The terminal hotspot request is a control event for starting the hotspot connection function of the connection control device.
[0117] Specifically, after the connection control device obtains the terminal hotspot request, the connection control device also negotiates the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol based on the terminal hotspot request and the connection channel of other connection protocols in the coexistence connection protocol.
[0118] Specifically, after the connection control device obtains the terminal hotspot request, the connection control device obtains the wireless connection channel and the point-to-point connection channel of the wireless connection protocol in the coexistence connection protocol, and dynamically negotiates and determines the hotspot connection channel of the hotspot connection protocol according to the wireless connection channel and the point-to-point connection channel.
[0119] Optionally, in other embodiments, the connection control device can also dynamically negotiate and determine the hotspot connection channel of the hotspot connection protocol according to any one of the wireless connection channel and the point-to-point connection channel.
[0120] Optionally, the connection control device judges the wireless connection channel of the wireless connection protocol, determines the channel type and connection state of the wireless connection channel. If the channel connection state is an unconnected state or the channel type is a non-target channel type, the connection control device selects a candidate connection channel of the channel type of the non-target channel type, and compares the selected candidate connection channel with the wireless connection channel. If the candidate connection channel is different from the wireless connection channel, the next candidate connection channel of the channel type of the non-target channel type is obtained, until the candidate connection channel is different from the wireless connection channel. Then, the candidate connection channel which is different from the wireless connection channel and has the channel type of the non-target channel type is set as the hotspot connection channel of the hotspot connection protocol. The non-target channel type includes a non-DFS 5G channel and a non-DFS 2.4G channel.
[0121] Optionally, if the channel type of the wireless connection channel is a target channel type, that is, the wireless connection channel is not in a DFS channel, the connection control device compares the candidate channel type of the channel type of the non-target channel type with the point-to-point connection channel corresponding to the point-to-point connection protocol, and sets the candidate connection channel which has the channel type of the non-target channel type and is different from the point-to-point connection channel as the hotspot connection channel of the hotspot connection protocol.
[0122] Specifically, after the connection control device negotiates the hotspot connection channel, it also creates a wireless monitoring process to continuously monitor the wireless connection state corresponding to the wireless connection protocol. When the wireless connection state changes, the hotspot connection channel is dynamically negotiated again, so that the channel with the minimum batch wireless interference and the optimal interaction stability is negotiated.
[0123] Specifically, after the connection control device determines the hotspot connection channel, it also establishes a hotspot connection link based on the hotspot connection channel, so that the user can establish a hotspot connection through the hotspot connection link and complete the hotspot connection interaction.
[0124] In this embodiment, the connection control device determines that the target terminal interaction request is a terminal hotspot request by responding to the target terminal interaction request, obtains the wireless connection channel and / or the point-to-point connection channel of the wireless connection protocol in the coexistence connection protocol, and determines the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel. The wireless connection channel or the point-to-point connection channel is dynamically negotiated to avoid channel interference with the hotspot connection link in the hotspot connection process, and to improve the connection stability of the hotspot connection channel in the hotspot link connection process.
[0125] In order to better implement the connection control method in the embodiments of the present application, based on the connection control method, the embodiments of the present application further provide a connection control device, as shown in FIG. 5, which is a structural schematic diagram of the connection control device provided by the embodiments of the present application. Specifically, the connection control device 500 comprises:
[0126] The information acquisition module 501 is configured to read the target connection protocol in the connection protocol support table in response to the connection coexistence request.
[0127] The protocol coexistence module 502 is configured to determine the coexistence connection protocol of the target communication module based on the target connection protocol, the historical use data and the performance index of the target communication module, wherein the coexistence connection protocol comprises a connection protocol combination of the wireless connection protocol and the point-to-point connection protocol and / or the hotspot connection protocol.
[0128] The channel selection module 503 is configured to adjust the target connection channel of the coexistence connection protocol based on the target terminal interaction request in response to the target terminal interaction request, and perform communication interaction operation by using the target connection channel.
[0129] In a possible implementation manner of the embodiment, the connection control device determines the coexistence connection protocol of the target communication module based on the target connection protocol, the historical use data and the performance index of the target communication module, comprising:
[0130] Obtaining the protocol priority of the target connection protocol, the first performance index of the first communication module and the second performance index of the second communication module;
[0131] Setting the first initial connection protocol of the first communication module and the second initial connection protocol of the second communication module according to the protocol priority, the first performance index and the second performance index;
[0132] Adjusting the first initial connection protocol and / or the second initial connection protocol based on the historical use data in response to the protocol update request, to obtain the first coexistence connection protocol and / or the second coexistence connection protocol.
[0133] In a possible implementation manner of the embodiment, the connection control device adjusts the first initial connection protocol and / or the second initial connection protocol based on the historical use data in response to the protocol update request, to obtain the first coexistence connection protocol and / or the second coexistence connection protocol, comprising:
[0134] In response to the protocol update request, obtaining the historical use data of the target connection protocol, the first update index of the first communication module and the second update index of the second communication module;
[0135] adjust the first initial connection protocol and / or the second initial connection protocol based on the historical usage data, the first update indicator, and the second update indicator to obtain a first coexisting connection protocol and / or a second coexisting connection protocol.
[0136] In a possible implementation of the embodiment, the connection control device, in response to a target terminal interaction request, adjusts a target connection channel of the coexisting connection protocol based on the target terminal interaction request, and performs a communication interaction operation using the target connection channel, including:
[0137] In response to the target terminal interaction request, it is determined that the target terminal interaction request is a terminal screen projection request, and a point-to-point connection group corresponding to the terminal screen projection request is created.
[0138] A wireless connection state and a wireless connection channel of a wireless connection protocol in the coexisting connection protocol are obtained.
[0139] The point-to-point connection channel in the point-to-point connection group is determined according to the wireless connection state and the wireless connection channel, and a screen projection interaction operation is performed using the point-to-point connection channel.
[0140] In a possible implementation of the embodiment, the connection control device determines the point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, including:
[0141] If the wireless connection state is a connected state, a channel type of the wireless connection channel is identified.
[0142] If the channel type is a non-target channel type, the wireless connection channel is set as the point-to-point connection channel of the point-to-point connection group.
[0143] If the channel type is a target channel connection type, a candidate connection channel that is of a non-target channel type and different from a hotspot connection channel associated with the hotspot connection protocol is set as the point-to-point connection channel of the point-to-point connection group.
[0144] In a possible implementation of the embodiment, the connection control device, in response to a target terminal interaction request, adjusts a target connection channel of the coexisting connection protocol based on the target terminal interaction request, and performs a communication interaction operation using the target connection channel, including:
[0145] In response to the target terminal interaction request, it is determined that the target terminal interaction request is a terminal hotspot request.
[0146] A wireless connection channel and / or a point-to-point connection channel of a wireless connection protocol in the coexisting connection protocol are obtained.
[0147] determining, according to the wireless connection channel and / or the point-to-point connection channel, a hotspot connection channel of a hotspot connection protocol in the coexisting connection protocols.
[0148] In a possible implementation of the embodiment, the connection control device determines, according to the wireless connection channel and / or the point-to-point connection channel, a hotspot connection channel of a hotspot connection protocol in the coexisting connection protocols, including:
[0149] if the channel type of the wireless connection channel is the non-target channel type, setting a candidate connection channel, which is of the non-target channel type and different from the wireless connection channel, as the hotspot connection channel of the hotspot connection protocol;
[0150] if the channel type of the wireless connection channel is the target channel type, setting a candidate connection channel, which is of the non-target channel type and different from the point-to-point connection channel, as the hotspot connection channel of the hotspot connection protocol.
[0151] In the embodiment, the connection control device reads a target connection protocol in the connection protocol support table in response to a connection coexistence request, determines a coexisting connection protocol of a target communication module based on the target connection protocol, historical use data, and a performance index of the target communication module, the coexisting connection protocol including a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol, adjusts a target connection channel of the coexisting connection protocol based on a target terminal interaction request in response to the target terminal interaction request, and performs a communication interaction operation by using the target connection channel. The embodiment realizes the coexistence of various target connection protocols by determining a target connection protocol supported by a terminal, determines a coexisting connection protocol supported by a target communication module based on the target connection protocol, historical use data, and a performance index of the target communication module, so that the various target connection protocols can coexist simultaneously, improves a terminal interconnection application scenario, and dynamically negotiates a connection channel of the coexisting connection protocol, thereby reducing connection interference and improving connection interaction stability.
[0152] The embodiment of the application further provides a connection control device, as shown in FIG. 6, which is a structural schematic diagram of one embodiment of the connection control device provided in the embodiment of the application.
[0153] The connection control device integrates any one of the connection control devices provided in the embodiment of the application, and the connection control device includes:
[0154] one or more processors;
[0155] a memory; and
[0156] One or more application programs, wherein the one or more application programs are stored in the memory and configured to perform the steps of the connection control method in any of the above connection control method embodiments by the processor.
[0157] In particular, the connection control device can include a processor 601 with one or more processing cores, a memory 602 with one or more computer readable storage media, a power supply 603, an input unit 604, and the like. Those skilled in the art can understand that the structure of the connection control device shown in FIG. 6 does not constitute a limitation on the connection control device, and can include more or fewer components than shown, or combine certain components, or different component arrangements. Among them:
[0158] The processor 601 is the control center of the connection control device, which connects various parts of the entire connection control device through various interfaces and lines, executes various functions of the connection control device and processes data by running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, thereby overall monitoring the connection control device. Optionally, the processor 601 can include one or more processing cores; preferably, the processor 601 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 601.
[0159] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functions and data processing by running the software programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store the operating system, at least one application program required by the function (such as sound playing function, image playing function, etc.), etc.; the data storage area can store data created according to the use of the connection control device, etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, for example, at least one magnetic disk storage device, flash memory device, or other volatile solid-state memory device. Accordingly, the memory 602 can also include a memory controller to provide the processor 601 with access to the memory 602.
[0160] The connection control device further comprises a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so that the power management system can be used to manage charging, discharging, power consumption management and the like. The power supply 603 can further comprise one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
[0161] The connection control device can further comprise an input unit 604 for receiving input digital or character information, and generating keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0162] Although not shown, the connection control device can further comprise a display unit and the like, which will not be described here. In the present embodiment, the processor 601 in the connection control device loads one or more executable files corresponding to the processes of the application programs into the memory 602 according to the following instructions, and runs the application programs stored in the memory 602 by the processor 601, thereby implementing various functions, such as:
[0163] reading a target connection protocol in the connection protocol support table in response to a connection coexistence request;
[0164] determining a coexistence connection protocol of the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module, the coexistence connection protocol comprising a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol;
[0165] adjusting a target connection channel of the coexistence connection protocol based on the target terminal interaction request in response to a target terminal interaction request, and performing communication interaction operations using the target connection channel.
[0166] To this end, the embodiments of the present application provide a computer readable storage medium, which can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. A computer program is stored on the computer readable storage medium, and the computer program is loaded by a processor to execute the steps of any of the connection control methods provided by the embodiments of the present application. For example, the computer program loaded by the processor can execute the following steps:
[0167] reading a target connection protocol in the connection protocol support table in response to a connection coexistence request;
[0168] determine a coexistence connection protocol of the target communication module based on the target connection protocol, historical use data and performance indicators of the target communication module, the coexistence connection protocol including a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hot spot connection protocol;
[0169] adjust the target connection channel of the coexistence connection protocol based on the target terminal interaction request in response to the target terminal interaction request, and perform communication interaction operation by using the target connection channel.
[0170] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the detailed description of other embodiments above, which will not be described here again.
[0171] In the implementation, the above various units or structures can be implemented as independent entities, or can be combined as the same or several entities, and the specific implementation of the above various units or structures can be referred to the method embodiments above, which will not be described here again.
[0172] The specific implementation of the above various operations can be referred to the embodiments above, which will not be described here again.
[0173] The above describes in detail the connection control method provided by the embodiments of the present application, the principles and implementation manners of the present application are described in the text by using specific embodiments, the above embodiment descriptions are only used to help understand the method and its core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range will be changed, and the above description should not be understood as the limitation of the present application.
Claims
A connection control method in which, The connection control method comprises: in response to a connection coexistence request, reading a target connection protocol in a connection protocol support table; based on the target connection protocol, historical use data, and performance indicators of the target communication module, determining a coexistence connection protocol of the target communication module, the coexistence connection protocol comprising a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol; in response to a target terminal interaction request, adjusting a target connection channel of the coexistence connection protocol based on the target terminal interaction request, and performing communication interaction operations using the target connection channel. The connection control method according to claim 1, wherein The target communication module comprises a first communication module and a second communication module; The determination of the coexistence connection protocol of the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module comprises: obtaining a protocol priority of the target connection protocol, a first performance indicator of the first communication module, and a second performance indicator of the second communication module; setting a first initial connection protocol of the first communication module and a second initial connection protocol of the second communication module according to the protocol priority, the first performance indicator, and the second performance indicator; in response to a protocol update request, adjusting the first initial connection protocol and / or the second initial connection protocol based on the historical use data to obtain a first coexistence connection protocol and / or a second coexistence connection protocol. The connection control method according to claim 2, wherein The adjustment of the first initial connection protocol and / or the second initial connection protocol based on the historical use data to obtain the first coexistence connection protocol and / or the second coexistence connection protocol in response to the protocol update request comprises: in response to a protocol update request, obtaining historical use data of the target connection protocol, a first update indicator of the first communication module, and a second update indicator of the second communication module; adjusting the first initial connection protocol and / or the second initial connection protocol based on the historical use data, the first update indicator, and the second update indicator to obtain a first coexistence connection protocol and / or a second coexistence connection protocol. The connection control method according to claim 3, wherein The adjustment of the first initial connection protocol and / or the second initial connection protocol based on the historical use data, the first update indicator, and the second update indicator to obtain the first coexistence connection protocol and / or the second coexistence connection protocol comprises: if the first update indicator is lower than a performance indicator threshold value and the historical use data is high-frequency use data, switching the first initial connection protocol to the second connection module to obtain a second coexistence connection protocol; and / or, if the second update indicator is lower than the performance indicator threshold value and the historical use data is high-frequency use data, switching the second initial connection protocol to the first connection module to obtain a first coexistence connection protocol. The connection control method according to claim 1, wherein The target connection channel comprises a point-to-point connection channel. The adjustment of the target connection channel of the coexistence connection protocol based on the target terminal interaction request in response to a target terminal interaction request and the performance of communication interaction operations using the target connection channel comprise: in response to a target terminal interaction request, determining that the target terminal interaction request is a terminal screen projection request, and creating a point-to-point connection group corresponding to the terminal screen projection request. acquire a wireless connection state and a wireless connection channel of a wireless connection protocol in the coexistence connection protocol; determine a point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and perform a screen projection interactive operation by using the point-to-point connection channel. The connection control method according to claim 5, wherein The determination of the point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel comprises: if the wireless connection state is a connected state, identifying a channel type of the wireless connection channel; if the channel type is a non-target channel type, setting the wireless connection channel as a point-to-point connection channel of the point-to-point connection group; if the channel type is a target channel connection type, setting a candidate connection channel which is of a non-target channel type and different from a hotspot connection channel associated with the hotspot connection protocol as the point-to-point connection channel of the point-to-point connection group. The connection control method according to claim 1, wherein The target connection channel comprises a hotspot connection channel. The response to the target terminal interactive request, the adjustment of the target connection channel of the coexistence connection protocol based on the target terminal interactive request, and the communication interactive operation by using the target connection channel comprise: in response to the target terminal interactive request, determining that the target terminal interactive request is a terminal hotspot request; acquiring a wireless connection channel and / or a point-to-point connection channel of a wireless connection protocol in the coexistence connection protocol; determining a hotspot connection channel of a hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel. The connection control method according to claim 7, wherein The determination of the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel comprises: if the channel type of the wireless connection channel is a non-target channel type, setting a candidate connection channel which is of a non-target channel type and different from the wireless connection channel as the hotspot connection channel of the hotspot connection protocol; if the channel type of the wireless connection channel is a target channel type, setting a candidate connection channel which is of a non-target channel type and different from the point-to-point connection channel as the hotspot connection channel of the hotspot connection protocol. The connection control method according to claim 7, characterized in that After the determination of the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel, the method further comprises: monitoring a wireless connection state corresponding to the wireless connection protocol by using a wireless monitoring process; when the wireless connection state changes, dynamically negotiating the hotspot connection channel to obtain a negotiated hotspot connection channel; establishing a hotspot connection link by using the negotiated hotspot connection channel. A connection control device, wherein The connection control device comprises: an information acquisition module configured to read a target connection protocol in a connection protocol support table in response to a connection coexistence request; a protocol coexistence module configured to determine a coexistence connection protocol of a target communication module based on the target connection protocol, historical use data, and a performance index of the target communication module, wherein the coexistence connection protocol comprises a connection protocol combination of a wireless connection protocol and a point-to-point connection protocol and / or a hotspot connection protocol. The channel selection module is configured to adjust a target connection channel of the coexistence connection protocol based on a target terminal interaction request in response to the target terminal interaction request, and perform a communication interaction operation by using the target connection channel. The connection control device according to claim 10, wherein The target communication module in the protocol coexistence module includes a first communication module and a second communication module. The protocol coexistence module determines the coexistence connection protocol of the target communication module based on the target connection protocol, historical use data, and performance indicators of the target communication module, including: obtaining a protocol priority of the target connection protocol, a first performance indicator of the first communication module, and a second performance indicator of the second communication module; setting a first initial connection protocol of the first communication module and a second initial connection protocol of the second communication module according to the protocol priority, the first performance indicator, and the second performance indicator; adjusting the first initial connection protocol and / or the second initial connection protocol based on the historical use data in response to a protocol update request, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol. The connection control device according to claim 11, wherein The protocol coexistence module adjusts the first initial connection protocol and / or the second initial connection protocol based on the historical use data in response to a protocol update request, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol, including: obtaining historical use data of the target connection protocol, a first update indicator of the first communication module, and a second update indicator of the second communication module in response to a protocol update request; adjusting the first initial connection protocol and / or the second initial connection protocol based on the historical use data, the first update indicator, and the second update indicator, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol. The connection control device according to claim 12, wherein The protocol coexistence module adjusts the first initial connection protocol and / or the second initial connection protocol based on the historical use data, the first update indicator, and the second update indicator, to obtain a first coexistence connection protocol and / or a second coexistence connection protocol, including: if the first update indicator is lower than a performance indicator threshold and the historical use data is high-frequency use data, switching the first initial connection protocol to the second connection module to obtain a second coexistence connection protocol; and / or, if the second update indicator is lower than the performance indicator threshold and the historical use data is high-frequency use data, switching the second initial connection protocol to the first connection module to obtain a first coexistence connection protocol. The connection control device according to claim 10, wherein The target connection channel in the channel selection module includes a point-to-point connection channel. The channel selection module adjusts a target connection channel of the coexistence connection protocol based on a target terminal interaction request in response to the target terminal interaction request, and performs a communication interaction operation by using the target connection channel, including: in response to a target terminal interaction request, determining that the target terminal interaction request is a terminal screen projection request, and creating a point-to-point connection group corresponding to the terminal screen projection request; obtaining a wireless connection state and a wireless connection channel of a wireless connection protocol in the coexistence connection protocol; Determine a point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and use the point-to-point connection channel for the screen projection interactive operation. The connection control device according to claim 14, wherein The channel selection module determines a point-to-point connection channel in the point-to-point connection group according to the wireless connection state and the wireless connection channel, and includes: If the wireless connection state is the connected state, identify the channel type of the wireless connection channel; If the channel type is the non-target channel type, set the wireless connection channel as the point-to-point connection channel of the point-to-point connection group; If the channel type is the target channel connection type, set a candidate connection channel with the channel type of the non-target channel type and different from the hotspot connection channel associated with the hotspot connection protocol as the point-to-point connection channel of the point-to-point connection group. The connection control device according to claim 10, wherein The target connection channel in the channel selection module includes the hotspot connection channel; The channel selection module adjusts the target connection channel of the coexistence connection protocol based on the target terminal interactive request in response to the target terminal interactive request, and uses the target connection channel for the communication interactive operation, and includes: In response to the target terminal interactive request, determine that the target terminal interactive request is a terminal hotspot request; Obtain the wireless connection channel and / or the point-to-point connection channel of the wireless connection protocol in the coexistence connection protocol; Determine the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel. The connection control device according to claim 16, wherein The channel selection module determines the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel, and includes: If the channel type of the wireless connection channel is the non-target channel type, set a candidate connection channel with the channel type of the non-target channel type and different from the wireless connection channel as the hotspot connection channel of the hotspot connection protocol; If the channel type of the wireless connection channel is the target channel type, set a candidate connection channel with the channel type of the non-target channel type and different from the point-to-point connection channel as the hotspot connection channel of the hotspot connection protocol. The connection control device according to claim 16, wherein After the channel selection module determines the hotspot connection channel of the hotspot connection protocol in the coexistence connection protocol according to the wireless connection channel and / or the point-to-point connection channel, it further includes: Use a wireless monitoring process to monitor the wireless connection state corresponding to the wireless connection protocol; When the wireless connection state changes, dynamically negotiate the hotspot connection channel to obtain a negotiated hotspot connection channel; Use the negotiated hotspot connection channel to establish a hotspot connection link. A connection control device, wherein, The connection control device includes: One or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the connection control method of any one of claims 1 to 7. A computer-readable storage medium, wherein, A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the connection control method of any one of claims 1 to 7.
Citation Information
Patent Citations
WI-FI P2P communication terminal device and communication method thereof
CN103780672A
Mobile terminal and control method of mobile terminal
CN106792130A
Wireless hotspot connection control method and apparatus, storage medium and terminal device
CN108184245A
Display device, multi-working-mode coexistence method based on single wifi module and medium
CN117651185A
Communication apparatus, control method, and computer-readable storage medium
EP3148230A1