Communication connection method and related apparatus
By sending communication connection requests through a dedicated network and using dedicated network identification information to achieve identity authentication communication between devices, the problem of cumbersome operation when connecting multiple devices is solved, and fast and secure communication connections are achieved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2026/093124
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-08
- Filing Date
- 2026-04-27
- Publication Date
- 2026-11-12
AI Technical Summary
In existing technologies, when multiple devices are connected, users need to manually enter connection information, which makes the operation cumbersome and prone to errors, affecting the user experience.
Communication connection requests are sent through a dedicated network, and device authentication communication is achieved using dedicated network identification information, simplifying user operations and ensuring security.
It enables fast and secure communication connections between devices, simplifies user operations, and enhances the user experience.
Smart Images

Figure CN2026093124_12112026_PF_FP_ABST
Abstract
Description
A communication connection method and related apparatus
[0001] This application claims priority to Chinese Patent Application No. 202510593746.6, filed on May 8, 2025, entitled "A Communication Connection Method and Related Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to a communication connection method and related apparatus. Background Technology
[0003] With the rapid development of communication technology, multiple electronic devices can interconnect through short-range communication technologies. For example, two electronic devices can establish communication connections such as hotspot connections and Bluetooth connections to achieve multiple functions such as network sharing and file sharing.
[0004] Taking the establishment of a communication connection between two devices (which can be referred to as Device 1 and Device 2) as an example, a user can enter the connection name, connection password, and other information of Device 1 into Device 2 and request it from Device 1. This allows Device 1 to authenticate the identity of Device 2, meaning Device 2 establishes a communication connection with Device 1 based on this information. However, for improved security, this information from Device 1 may be quite complex, leading to cumbersome user operations and potentially impacting the user experience. If multiple devices need to connect and communicate with Device 1, each device must obtain Device 1's connection information separately before connecting, making the process cumbersome and prone to errors. Summary of the Invention
[0005] In view of this, embodiments of this application provide a communication connection method and related apparatus, the purpose of which is to simplify user operations and improve user experience while ensuring security when establishing a communication connection based on identity authentication between multiple electronic devices.
[0006] In a first aspect, embodiments of this application provide a communication connection method applied to a first device, the first device supporting private network communication and authentication communication, the method comprising:
[0007] In response to the triggering operation of the second private network identification information, a first communication connection request is sent based on the private network;
[0008] Wherein, the second private network identification information is used to indicate the target receiving device in the private network that receives the first communication connection request; the first communication connection request includes the second private network identification information and the communication connection information of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device;
[0009] The system receives a second communication connection request sent by a second device; wherein the second device is a target receiving device that receives the first communication connection request based on the second private network identification information, and the second device supports private network communication and identity authentication communication; the second communication connection request is generated by the second device based on the communication connection information of the first device.
[0010] In response to receiving the second communication connection request, the first device sends information to the second device to indicate that the first device agrees to establish a communication connection with the second device.
[0011] In one possible implementation, the second private network identification information is private network identification information used to identify the group to which the M target receiving devices belong, and the receiving of the second communication connection request sent by the second device includes:
[0012] Receive second communication connection requests sent by N second devices respectively; N second devices are group members corresponding to the second private network identifier; M≥N;
[0013] The step of responding to receiving the second communication connection request by sending information to the second device to indicate that the first device agrees to establish a communication connection with the second device includes:
[0014] In response to receiving a second communication connection request sent by N second devices respectively, information indicating that the first device agrees to establish a communication connection with the second device is sent to each of the N second devices.
[0015] In one possible implementation, the second private network identification information is information used to identify the private network identity of the second device, and the second device includes a device.
[0016] In one possible implementation, the communication connection information of the first device includes the identification information of the first device; the method further includes:
[0017] In response to the triggering operation of the second private network identification information, the initial identification information of the first device's identity authentication is modified based on the first private network identification information of the first device to obtain the identification information of the first device.
[0018] In one possible implementation, the communication connection method further includes:
[0019] If it is determined that no device with private network identification information has established a communication connection with the first device, the identification information of the first device is restored to the initial identification information of the first device's identity authentication.
[0020] In one possible implementation, the communication connection information of the first device includes the identification information of the first device and the connection password of the first device; the identification information is the identification information of the hotspot of the first device, and the connection password is the connection password of the hotspot of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating with the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0021] Secondly, embodiments of this application provide a communication connection method applied to a second device, the second device supporting private network communication and authentication communication, the method comprising:
[0022] Receive the first communication connection request;
[0023] The first communication connection request includes second private network identification information and communication connection information of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device; the first device supports private network communication and authentication communication; the second private network identification information is used to indicate the target receiving device in the private network that receives the first communication connection request;
[0024] If the second device is determined to be the target receiving device corresponding to the second private network identification information, then a second communication connection request is sent to the first device based on the communication connection information of the first device;
[0025] Receive information from the first device agreeing to establish a communication connection with the second device.
[0026] In one possible implementation, when determining that the second device is the target receiving device corresponding to the second private network identification information, a second communication connection request is sent to the first device based on the communication connection information of the first device, including:
[0027] If the second device is determined to be the target receiving device corresponding to the second private network identification information, a prompt message is displayed to prompt the first device to request the establishment of a communication connection.
[0028] In response to the agreement to the prompt message, a second communication connection request is sent to the first device based on the communication connection information of the first device.
[0029] In one possible implementation, the communication connection information of the first device includes the hotspot identification information of the first device and the connection password of the hotspot; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating with the first device based on the hotspot identification information and the hotspot connection password.
[0030] Thirdly, this application provides a communication device, which includes a processing unit and a transceiver unit, and the device is used to execute the program or instructions of the communication connection method described in the first or second aspect above.
[0031] Fourthly, this application provides a communication device, which includes a processor coupled to a memory, the memory storing a program or instructions for executing the communication connection method described in the first or second aspect.
[0032] Fifthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the communication connection method described in the first or second aspect.
[0033] Sixthly, this application provides a computer program product, which includes computer program code. When the computer program code is executed by an electronic device, it implements the communication connection method described in the first or second aspect.
[0034] Compared with the prior art, the embodiments of this application have the following beneficial effects:
[0035] This application provides a communication connection method and related apparatus. The method can be applied to a first device that supports private network communication and authentication communication. In this method, in response to a triggering operation of second private network identification information, the first device can send a first communication connection request through the private network. The second private network identification information is used to indicate a target receiving device. The first communication connection request includes the second private network identification information and the communication connection information of the first device. The first communication connection request instructs the receiving device corresponding to the second private network identification information to send an authentication request to the first device based on the communication connection information of the first device. After successful authentication by the first device, a communication connection is established with the first device. Then, the first device can receive a second communication connection request sent by a second device, which also supports private network communication and authentication communication. Subsequently, in response to receiving the second communication connection request, the first device sends information to the second device instructing the first device to agree to establish a communication connection with the second device.
[0036] Since both the first and second devices support private network communication and authentication communication, the first device can directly send messages to other devices via the private network, directly sending its authentication-required communication connection information to the second device. This eliminates the need for users to manually access the private network's contacts on the first device to send authentication connection messages to the second device. Private network communication offers higher security, ensuring secure transmission of the first device's communication connection information. Furthermore, while maintaining security, the second device authenticates itself through the first device, avoiding the need for users to obtain the first device's authentication connection information beforehand and then input it into the second device for authentication. This simplifies user operations and improves the user experience. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 is a schematic diagram of a communication system provided in an embodiment of this application;
[0039] Figure 2 is a flowchart of a communication connection method provided in an embodiment of this application;
[0040] Figure 3 is a flowchart of a first device communication connection method provided in an embodiment of this application;
[0041] Figure 4 is a flowchart of another communication connection method provided in an embodiment of this application;
[0042] Figure 5 is a flowchart of a second device communication connection method provided in an embodiment of this application;
[0043] Figure 6 is a schematic diagram of a communication connection method provided in an embodiment of this application;
[0044] Figure 7 is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Detailed Implementation
[0045] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0046] First, we will explain several terms that may be involved in the embodiments of this application below.
[0047] Private networks, also known as dedicated networks, are wireless communication networks specifically designed and built for a particular industry or user group to meet specific business needs and functions. The main characteristics of private networks include high reliability, high security, and stringent requirements for data transmission quality. They are commonly used in public safety, transportation, energy, and healthcare. The most typical private network is Land Mobile Radio (LMR), a dedicated communication system built to meet the communication needs of users in public safety, public utilities, transportation, energy, and industry for command and dispatch, organization and management, and safe production. LMR is a narrowband radio communication technology that provides half-duplex PTT (PTT) services, including but not limited to Terrestrial Trunked Radio (TETRA), Professional Digital Trunking (PDT), Digital Mobile Radio (DMR), as well as other industrial private networks, enterprise internal private networks, personal private networks, etc. Compared to public wireless network communication, common private network terminals, such as walkie-talkies, have the characteristics of "one-click connection" (the transmitter can send a message by pressing the PTT button, and the receiver can automatically connect when the signal is detected) and "one call, many responses" (the walkie-talkie has a group call function, and when the transmitter presses the PTT button to start speaking, all members in the group call will immediately connect and receive). They also have the advantages of fast transmission speed, good signal reception, and short connection time.
[0048] Authentication-based communication refers to communication that requires authentication to be established. In this embodiment, the first device supports authentication-based communication, indicating that it can establish a communication connection with devices that have been authenticated by the first device, and also indicating that the first device can establish a communication connection with other devices after being authenticated by other devices. The same applies to the second device, and will not be described further.
[0049] In some embodiments, authentication communication may include wireless communication, which refers to communication that transmits data via radio waves. For example, short-range wireless communication, within a small physical range (typically within tens of meters), can enable device interconnection through Personal Area Networks (PANs), Local Area Networks (LANs), and the Internet of Things (IoT). Exemplarily, short-range wireless communication may include, but is not limited to, Wireless Fidelity (Wi-Fi), hotspots, Bluetooth, Zigbee, and Z-Wave. Alternatively, wireless communication may be medium-range or long-range, enabling device interconnection within a larger physical range through LANs, etc.
[0050] Currently, the existing communication connection methods are as follows: taking the establishment of a hotspot connection between the first device and the second device as an example, the first device can act as the hotspot sharing side, that is, the first device can turn on the hotspot, and the second device can act as the hotspot connection side, that is, the second device can connect to the hotspot turned on by the first device, thereby enabling the second device to share the network of the first device, or enabling the first device and the second device to share files, etc.
[0051] In related technologies, a hotspot is typically started by a first device. Users can also modify the connection name and password of the hotspot on the first device. Subsequently, users can enter the connection name and password of the hotspot on a second device and initiate authentication with the first device through short-range communication technology. This allows the second device to pass the authentication of the first device based on the connection name and password of the hotspot, and the second device establishes a hotspot connection with the first device.
[0052] However, users need to manually enter the connection name and password of the hotspot on the first device, which is quite cumbersome. If the connection name and password of the hotspot on the first device are complex, it will further increase the cumbersomeness of the operation for users and easily affect the user experience.
[0053] To address the aforementioned issues, this application provides a communication connection method and related apparatus. This method can be applied to a first device, which supports private network communication and authentication communication. In this method, in response to a triggering operation on second private network identification information, a first communication connection request is sent based on the private network. The second private network identification information is used to indicate a target receiving device in the private network that receives the first communication connection request. The first communication connection request includes the second private network identification information and the communication connection information of the first device. The first communication connection request instructs the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after authentication by the first device based on the communication connection information of the first device. A second communication connection request is received from a second device. The second device is the target receiving device that receives the first communication connection request based on the second private network identification information, and the second device supports private network communication and authentication communication. The second communication connection request is generated by the second device based on the communication connection information of the first device. In response to receiving the second communication connection request, information instructing the first device to agree to establish a communication connection with the second device is sent to the second device.
[0054] Thus, when both the first and second devices support private network communication and authentication communication, the first device can directly send its own communication connection information to the second device based on the private network by indicating the second device's private network identification information. On the one hand, the first device can identify the second device by indicating the second device's private network identification information; on the other hand, private network communication is more secure and has better immediacy, such as the "press and connect" effect of walkie-talkies in LMR networks, which requires almost no time to establish a connection or channel for communication in advance. The terminal device can directly initiate and receive communication, thus ensuring secure and fast transmission of the first device's communication connection information. While ensuring security, the second device can be authenticated by the first device without the user having to manually enter the first device's communication connection information, which simplifies user operation and improves the user experience.
[0055] For example, embodiments of this application can be applied to the communication system shown in FIG1. This communication system may include a first device 101 and a second device 102. It should be noted that this application does not limit the number of second devices 102; the communication system may include a first device 101 and multiple second devices 102, and the first device 101 may establish a communication connection with each second device 102.
[0056] In the embodiments provided in this application, the first device and the second device, these electronic devices, can be terminal devices that support private network communication and identity authentication communication. The terminal devices can be of various forms, such as walkie-talkies with short-range communication modules (also known as multi-mode terminal devices), Internet of Things devices, and radio relay devices, etc. They can support private network communication and identity authentication communication at the same time. This application does not limit them in this regard.
[0057] It should be emphasized that the communication system shown in Figure 1 above is only an example. In actual applications, the communication system may include more numbers or types of devices. This application does not limit the specific architecture of the communication system.
[0058] The following description, in conjunction with the accompanying drawings, details the specific implementation of the communication connection method and related devices in the embodiments of this application.
[0059] First, let’s look at Figures 2 and 3 to introduce the communication connection method when the first device acts as the execution subject.
[0060] Referring to Figure 2, which is a flowchart of a communication connection method provided in an embodiment of this application, the method may specifically include the following steps:
[0061] S201: In response to the triggering operation of the second private network identification information, the first device sends a first communication connection request based on the private network.
[0062] The first device can respond to the user's triggering operation on the second private network identification information by sending a first communication connection request.
[0063] It should be noted that the communication connection established between the first device and the second device mentioned in this application is based on identity authentication communication. That is, the second device needs to be authenticated by the first device before a communication connection can be established between the two.
[0064] Taking a hotspot connection as an example, a user's triggering action for the second private network identification information can include: the user accessing a page containing the second private network identification information via the following path: settings control -> network and internet control -> hotspot and network sharing control -> connect via private network identity control. The triggering action can be a click on each control. Subsequently, the user can trigger the second private network identification information on this page (e.g., the "connect via private network identity" page), and the user's triggering action can be a click.
[0065] The example shown, where the page accessed by the first device via the user's triggering action on the aforementioned path includes the second private network identifier information, is merely an illustration to indicate that the first device currently stores the second private network identifier information. For instance, if the first and second devices were previously interconnected via a private network, the first device may store the second device's second private network identifier information, the first device's private network contact list, etc.
[0066] In some embodiments, the interface described above that includes the second private network identification information may also include an input box, which allows the user to input the private network identification information of the target receiving device. For example, the user can input the second private network identification information of the second device in the input box. In response to the user's triggering operation on the second private network identification information, the first device can send a first communication connection request.
[0067] It should be noted that the above path is only an example. It can also be a user's trigger operation on the following path: file selection control -> sharing control through private network identity. The trigger operation can also be a click operation on each control. This application does not limit the path for triggering the second private network identification information.
[0068] It should be noted that the above-mentioned triggering operation can be a click operation, an input operation, or it can be a user's voice operation on the first device, so that the first device enters the page including the second private network identification information based on the user's voice. This application does not limit the user's triggering operation.
[0069] It should be further noted that the hotspot connection scenario in the above example is only an example, and it can also be other types of communication connection scenarios, such as the Bluetooth connection scenario in the above example, and other communication connection scenarios based on identity authentication communication.
[0070] For ease of understanding, the following describes the communication connection method provided in the embodiments of this application using a hotspot connection scenario as an example.
[0071] The second private network identification information is used to indicate the target receiving device in the private network that receives the first communication connection request. For example, the second private network identification information can be the device's private network identity identifier ID (also known as a private network identity identifier).
[0072] In one example, the second private network identification information can identify the private network identity of a device. For example, the second private network identification information is the private network identity ID of a second device. For instance, the private network identity ID of the second device is 1002, which is used to uniquely identify the private network identity of the second device. 1002 can be used to uniquely identify the second device from multiple devices.
[0073] In another example, the second private network identification information can also identify the private network identity of a group to which multiple target receiving devices belong, meaning these multiple devices belong to the same group. The second private network identifier can be the private network identity ID of the group to which the second devices belong. For example, the private network identity ID of a group can be 2001, and this group includes multiple second devices. 2001 can be used to uniquely identify the group to which the target receiving device, i.e., the second device, belongs from multiple private network groups. In other words, the second private network identification information can be the private network identification information of the group, without needing to include the private network identification information of any individual second device in the group. When the first device initiates a first communication connection request to the group through the private network, any member (device) within the group can receive the first communication connection request.
[0074] In some embodiments, the second private network identification information can also be used to indicate the user of the device having the second private network identification information, and can be referred to as a contact. In an example where the second private network identification information can identify the private network identity of a device, it can be referred to as an individual call contact; in an example where the second private network identification information can also identify the private network identity of a group to which multiple devices belong, it can be referred to as a group call contact.
[0075] In some embodiments, sending a first communication connection request based on a dedicated network includes: a first device modulating the first communication connection request information and transmitting radio waves through a dedicated wireless network. A second device receiving the radio waves can demodulate the radio waves to obtain the first communication connection request.
[0076] In one embodiment, after the user of the first device selects or enters the second private network identifier information of the target receiving device, and presses the PTT button or the TK pre-programmed button, the first device sends radio waves carrying a first communication connection request based on the private network. The sending method includes short messages, packet data, etc. In the private network, the first device typically sends messages "instantly," and the receiving device can directly receive the message without delay or needing user confirmation.
[0077] In one embodiment, the dedicated network also supports "one call, many responses," meaning that the first device can initiate a message in a group, and all members of the group can receive the message without requiring user confirmation. Thus, when the first device needs to establish a communication connection with multiple second devices, it can send a single message, allowing multiple devices to simultaneously receive the first communication connection request, instead of sending messages individually.
[0078] In some embodiments, the first communication connection request may include second private network identification information and communication connection information of the first device.
[0079] The communication connection information of the first device refers to the information required for other devices to establish a communication connection with the first device.
[0080] In one example, the communication connection information of the first device may include the identification information of the first device, which can be used to identify the first device. For example, the identification information of the first device may be the connection name of the first device, etc.
[0081] In addition to the identification information of the first device, the communication connection information of the first device may also include the connection password of the first device. This connection password can be used to enable other devices to establish a connection with the first device after being authenticated (i.e., identity authentication) by the first device.
[0082] In one possible implementation of this application, in a hotspot connection scenario, the communication connection information of the first device includes the identification information of the first device and the connection password of the first device; the identification information is the identification information of the hotspot of the first device, and the connection password is the connection password of the hotspot of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating the identity of the first device based on the identification information and the connection password.
[0083] In addition, in some embodiments, the communication connection information of the first device may include, in addition to the connection name and connection password of the first device, the private network identification information of the first device, the Media Access Control (MAC) address of the first device, the supported speed, security settings information, etc.
[0084] It should be noted that the communication connection information of the first device may include more or fewer types of information than those in the above examples, so that the second device can establish a communication connection with the first device based on this information. This application does not limit this.
[0085] The aforementioned first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after the target device has authenticated itself based on the communication connection information of the first device.
[0086] In other words, after the target receiving device corresponding to the second private network identification information obtains the first communication connection request, it can actively establish a communication connection with the first device based on the communication connection information of the first device therein. After the first device authenticates the identity of the second device, the two can establish a communication connection.
[0087] In some embodiments, the first device may broadcast the first communication connection request. Within the coverage area of the broadcast signal of the first communication connection request, the second device may receive the first communication connection request.
[0088] In the example where the second private network identification information is private network identification information used to identify the group to which M target receiving devices belong, the first device can broadcast the first communication connection request. When there are one or more of the M second devices within the coverage area of the broadcast signal of the first communication connection request, one or more of the M second devices can receive the first communication connection request.
[0089] In the example where the second private network identification information is used to identify the private network identity of the second device, the first device can broadcast the first communication connection request or send the first communication connection request to the second device separately. As long as the second device is within the coverage area of the request signal, the second device can receive the first communication connection request.
[0090] The signal range (also referring to the broadcast signal coverage area mentioned above) refers to the distance within which radio waves emitted by an electronic device can be normally received by a receiving device. For example, if the signal range of a dedicated network device is within 10 meters, when the first device sends broadcast information (such as the first communication connection request described above) within 10 meters of the second device, the second device can scan the broadcast information sent by the first device; when the first device sends broadcast information beyond 10 meters of the second device, the second device cannot scan the broadcast information sent by the first device.
[0091] For example, in this embodiment of the application, the first device and the second device are both within each other's signal range under the identity authentication communication network and within each other's signal range under the dedicated network. Typically, the signal coverage of the dedicated network is greater than that of the identity authentication communication network.
[0092] In some embodiments, the first device may send the first communication connection request to a private network base station. After receiving the first communication connection request, the private network base station may forward the first communication connection request, or the system may send the first communication connection request to another base station. When the coverage area of the first communication connection request signal includes the location of the second device, the second device may receive the first communication connection request. The example in this embodiment is similar to that described above and will not be repeated here.
[0093] S202: The first device receives a second communication connection request sent by the second device.
[0094] The second device can send a second communication connection request to the first device based on the communication connection information of the first device.
[0095] The second device is the target receiving device corresponding to the second private network identification information, and the second device supports private network communication and identity authentication communication.
[0096] The second communication connection request is used to request the first device to establish a communication connection with the second device.
[0097] In some embodiments, the second communication connection request may carry the second private network identification information of the second device, the connection name and connection password of the first device, and other communication connection information.
[0098] In addition, in some embodiments, the second communication connection request may also include the MAC address of the second device, etc., which is not limited in this application.
[0099] Taking a hotspot connection scenario as an example, the second communication connection request can carry the second private network identification information of the second device, the connection name and password of the hotspot of the first device, and the MAC address of the second device. The first device can identify and authenticate the second device based on the second private network identification information, the connection name and password of the hotspot carried in the second communication connection request, and thus agree to allow the second device to establish a hotspot connection with itself.
[0100] S203: In response to receiving the second communication connection request, the first device sends information to the second device to indicate that the first device agrees to establish a communication connection with the second device.
[0101] After receiving the second communication connection request, the first device may agree to establish a communication connection with the second device based on the information carried in the second communication connection request as described above. The first device may send a confirmation message to the second device to indicate that the first device agrees to establish a communication connection, and the communication connection between the two is successfully established.
[0102] It should be noted that the single authentication process between the first and second devices when establishing a communication connection is merely an example; multiple authentications are also possible. For instance, the first device can send a second communication connection request to a Remote Authentication Dial-In User Service (RADIUS) server (which is connected to both the first and second devices). Once the RADIUS server authenticates the connection, it can send information to the first device indicating that the second device's communication connection authentication has been successful. Subsequently, the first device can send information to the second device indicating that it agrees to establish a communication connection with the second device.
[0103] Based on the above description, in one possible implementation, the second private network identification information can be private network identification information used to identify the group to which the M target receiving devices belong. Accordingly, S202 may specifically include: the first device receiving second communication connection requests sent by N second devices respectively; the N second devices are all group members corresponding to the second private network identification. Accordingly, S203 may specifically include: in response to receiving the second communication connection requests sent by the N second devices respectively, the first device sends information to the N second devices respectively to indicate that the first device agrees to establish a communication connection with the second devices.
[0104] It should be understood that when the first device or private network base station sends a first communication connection request, on the one hand, a second device within the signal range can receive the first communication connection request; on the other hand, even if the second device receives the first communication connection request, the second device can agree to the first communication connection request or reject it. Therefore, M≥N. For specific implementation details, please refer to the description of the embodiment corresponding to Figure 4 below, which will not be elaborated here.
[0105] For example, M can be 10, N can be 5, and the group includes 10 second devices, indicating that these 10 second devices are all receiving devices indicated by the second private network identification information. Assuming that 8 second devices and the first device are within each other's signal range, these 8 second devices can receive the first communication connection request. Further assuming that 5 second devices agree to the first communication connection request and 3 second devices reject the first communication connection request, then the first device can receive the second communication connection requests sent by the 5 second devices respectively. Subsequently, in response to receiving the second communication connection requests sent by the 5 second devices respectively, the first device can send information to the 5 second devices respectively to indicate that the first device agrees to establish a communication connection with the second devices.
[0106] Based on the above description, in another possible implementation, the second private network identification information can be information used to identify the private network identity of the second device. In this case, the second device includes a second device. Accordingly, S202 may specifically include: the first device receiving a second communication connection request sent by the second device; accordingly, S203 may specifically include: in response to receiving the second communication connection request sent by the second device, the first device sends information to the second device to indicate that the first device agrees to establish a communication connection with the second device.
[0107] Thus, leveraging the characteristics of a dedicated network, the first device can quickly and conveniently establish communication connections with one or more second devices simultaneously, greatly improving user convenience. When the first device establishes a one-to-one communication connection with a second device, the user is spared the need to input the first device's connection name, password, and other communication connection information, reducing user operations. In some cases, the first device can send a first connection request in encrypted form. The second device, upon receiving the request, may not decrypt it or display it; instead, its internal processor will process the request and respond to the user's request to initiate a communication connection with the first device, sending a communication connection request based on the encrypted connection information. When the first device establishes a one-to-many communication connection with multiple second devices, multiple users are spared the need to input the first device's connection name, password, and other communication connection information on their respective second devices, significantly reducing cumbersome user operations, increasing connection speed, and improving the user experience.
[0108] Furthermore, based on the above description, the communication connection information of the first device may include the identification information of the first device. In one possible implementation of this application, the communication connection method may further include: in response to a triggering operation on the second private network identification information, the first device may modify the initial identification information of the first device based on the first private network identification information of the first device to obtain the identification information of the first device.
[0109] In some embodiments, the first private network identification information can be added to the initial identification information of the first device to form the identification information of the first device.
[0110] For example, the initial identification information of the first device can be the device's generic name, and the first private network identification information can be added after the device's generic name. The identification information of the first device is then: device generic name + first private network identification information.
[0111] For example, if the initial identification information of the first device can be Radio, and its first private network identification information is 1001, then the identification information of the first device can be: Radio 1001.
[0112] It should be noted that this application does not limit the location of the initial identification information of the first device. The first private network identification information can also be added before the device model. The identification information of the first device is: first private network identification information + device general name (based on the previous example, it can be 1001Radio).
[0113] In other embodiments, the first private network identification information may replace the initial identification information of the first device. This application does not limit this, as long as other devices can identify the private network identity of the first device based on the identification information of the first device.
[0114] Therefore, considering that the initial identification information of the first device is not very recognizable, which may make it difficult for the second device to identify the identity of the first device, the identification information of the first device is enhanced by its private network identity. This allows users of the second device to determine the private network identity of the first device that they want to establish a communication connection with, thereby enhancing convenience, recognizability, and security.
[0115] Furthermore, when users do not communicate through a dedicated network, the first device retains its initial identification information, aligning with users' original usage habits. It also reduces the leakage of the first device's private network identification information when no dedicated network is involved, further enhancing security.
[0116] Furthermore, in one possible implementation of this application, the communication connection method may include: the first device determining that a device without private network identification information establishes a communication connection with the first device, and the identification information of the first device can be restored to the initial identification information of the first device.
[0117] For example, based on the above example, the identification information of the first device can be: Radio 1001. When the first device determines that a device without private network identification information establishes a communication connection with the first device, "Radio 1001" can be restored to the initial identification information "Radio" of the first device.
[0118] In some embodiments, after the first device and the second device successfully establish a communication connection, the first device may check whether the second device is still maintaining a communication connection with itself at a preset period. For example, the preset period may be 10s, 20s, etc.
[0119] For example, the first device can send heartbeat packets to the second device at a preset period and detect whether it can receive a response from the second device. If it can receive a response, it indicates that the two are still maintaining a communication connection. If it cannot receive a response, it indicates that the communication connection between the two is broken.
[0120] Thus, when the first device establishes a communication connection with a device that does not have private network identification information, it indicates that the private network identity of the first device is not required. Therefore, the identification information of the first device can be restored, avoiding the situation where the first device establishes a communication connection with other devices according to the normal procedure.
[0121] As an example, referring to Figure 3, taking the communication connection as a hotspot connection as an example, this figure is a flowchart of a first device communication connection method provided by an embodiment of this application, where the first device acts as the hotspot sharing side.
[0122] As shown in Figure 3, the following steps may be included:
[0123] S301: The first device responds to the user's trigger operation on the hotspot and network sharing page by connecting to the control through the private network identity, and enters the page including private network identification information.
[0124] S302: In response to the user's trigger operation on the second private network identification information, the first device starts the hotspot and modifies the initial connection name of the hotspot to obtain the connection name of the hotspot.
[0125] S303: The first device responds to the user's triggering operation on the second private network identification information by sending a first communication connection request.
[0126] S304: If the second private network identification information is used to identify the group to which M second devices belong, the first device can receive the second communication connection requests sent by N second devices respectively.
[0127] S305: If the second private network identification information is information used to identify the private network identity of the second device, the first device may receive a second communication connection request sent by the second device.
[0128] S306: The first and second devices share the network.
[0129] The first device sends a message to the second device to indicate that the first device agrees to establish a communication connection with the second device, indicating that the first device and the second device have successfully established a hotspot connection.
[0130] It should be noted that in the example where the second private network identification information is used to identify the group to which the M second devices belong, the first device shares the network with the N second devices.
[0131] In the example where the second private network identification information is used to identify the private network identity of the second device, the first device shares the network with the first second device.
[0132] S307: The first device periodically checks whether there is still a second device maintaining a communication connection with it. If yes, execute S306; otherwise, execute S308.
[0133] S308: The first device restores the hotspot's connection name to the hotspot's initial connection name.
[0134] The hotspot's connection name is an example of the hotspot's identification information mentioned above, and the hotspot's initial connection name is an example of the hotspot's initial identification information mentioned above.
[0135] It should be noted that the implementation methods of S301-S308 can be found in the description of the implementation methods of S201-203 in the above embodiments, and will not be repeated here.
[0136] Next, we will introduce the communication connection method when the second device acts as the execution subject, referring to Figures 4 and 5.
[0137] Referring to Figure 4, which is a flowchart of another communication connection method provided in an embodiment of this application, the method may specifically include the following steps:
[0138] S401: The second device receives the first communication connection request.
[0139] The first communication connection request includes second private network identification information and communication connection information of the first device; the first communication connection request is used to instruct the receiving device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device; the first device supports private network communication and authentication communication; the second private network identification information is used to indicate the target receiving device.
[0140] In some embodiments, the first device or private network base station broadcasts a first communication connection request within the signal range of the second device, and the second device can receive the first communication connection request.
[0141] In one possible implementation of this application, the communication connection can be a hotspot connection. In this case, the communication connection information of the first device includes the hotspot identification information and the connection password of the hotspot. The first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating the first device based on the identification information and the connection password.
[0142] S402: If the second device is determined to be the target receiving device corresponding to the second private network identification information, then a second communication connection request is sent to the first device based on the communication connection information of the first device.
[0143] After receiving the first communication connection request sent by the first device, the second device obtains the second private network identification information included in it. The second device determines itself to be the target receiving device corresponding to the second private network identification information, and sends a second communication connection request to the first device based on the communication connection information of the first device.
[0144] In one embodiment, the second device determines that the second device is the target receiving device corresponding to the second private network identification information by: confirming that the second private network identification information is the private network identity identifier of the second device; or confirming that the second private network identification information is a group call identifier in the group call receiving list of the second device.
[0145] In one possible implementation of this application, S402 may specifically include: if the second device determines that the second device is the target receiving device corresponding to the second private network identification information, then it displays a prompt message to prompt the first device to request the establishment of a communication connection; in response to the user's agreement to the prompt message, the second device sends a second communication connection request to the first device based on the communication connection information of the first device.
[0146] In some embodiments, the prompt information may include the first private network identification information of the first device and prompt text for prompting the first device to request the establishment of a communication connection.
[0147] For example, taking a hotspot connection scenario, the second device can display a pop-up window on the screen showing the prompt message: Connect to hotspot: Radio 1001. Here, "Radio 1001" is the hotspot identification information of the first device, "1001" is the first private network identification information of the first device, and "Connect to hotspot" is a prompt text used to prompt the second device, which is the prompt text of the first device requesting to establish a hotspot connection.
[0148] In some embodiments, the second device may display an agreement control on the screen, such as in the pop-up window of the previous example. The user's agreement to the prompt message can be a click on the agreement control.
[0149] Therefore, compared to related technologies where users need to input the connection name and password of the first device into the second device, which can easily lead to information leakage if the information is in plaintext, and makes it difficult for the first device to authenticate the identity of the second device, the embodiments of this application allow the first device to actively initiate a communication connection to the second device through its private network identity under a dedicated network. The user only needs to perform a triggering operation on the first device to obtain the second private network identification information, and the second device is used to perform an agreement operation on the prompt information. These simple operations can realize the identity authentication between the first device and the second device. On the one hand, the first device can directly identify the second device through the private network identity of the second device. On the other hand, the security and timeliness of private network communication are higher, thus ensuring the secure transmission of the communication connection information of the first device. On the basis of ensuring security, the second device can be authenticated by the first device, thereby realizing the communication connection between the two.
[0150] Furthermore, in one possible implementation of this application, if the second device determines that it is the target receiving device corresponding to the second private network identification information, it displays a prompt message to prompt the first device to request the establishment of a communication connection; in response to the user's rejection of the prompt message, the second device does not send information to the first device to instruct the second device to establish a communication connection with the first device.
[0151] In some embodiments, the second device may also display a rejection control on the display screen, for example, in the pop-up window of the previous example. The user's rejection action on the prompt message can be a click on the rejection control.
[0152] It should be noted that the pop-up window displaying the prompt information in the example above is only an example. The prompt information could also be displayed on the drop-down notification interface of the second device. This application does not limit this.
[0153] Furthermore, in some embodiments, when the first device is a trusted device of the second device, the second device may also determine that the second device is the target receiving device corresponding to the second private network identification information, and automatically send a second communication connection request to the first device based on the communication connection information of the first device. This application does not limit this.
[0154] Furthermore, in some embodiments, assuming that other devices besides the first and second devices also receive the second private network identification information, and that device determines that it is not the target receiving device corresponding to the second private network identification information, then the device can ignore the first communication connection request.
[0155] S403: The second device receives information from the first device indicating its agreement to establish a communication connection with the second device.
[0156] After the second device receives the information sent by the first device agreeing to establish a communication connection with the second device, it indicates that the second device has successfully established a communication connection with the first device.
[0157] It should be noted that other implementations of S401-S403 can be found in the introduction of S201-S203, and will not be repeated here.
[0158] As an example, referring to Figure 5, taking the communication connection as a hotspot connection as an example, this figure is a schematic diagram of a second device communication connection method provided by an embodiment of this application, where the second device serves as the hotspot connection side.
[0159] As shown in Figure 5, the following steps may be included:
[0160] S501: The second device receives the first communication connection request sent by the first device.
[0161] S502: The second device determines that the second private network identification information is the same as its own second private network identification information, and pops up a pop-up window to display a prompt message for the first device to request the establishment of a communication connection.
[0162] S503: In response to the user's agreement to the prompt message, the second device sends a second communication connection request to the first device based on the communication connection information of the first device.
[0163] S504: The second device shares the network with the first device.
[0164] The second device receives information sent by the first device that instructs the first device to agree to establish a communication connection with the second device, indicating that the second device and the first device have successfully established a hotspot connection.
[0165] S505: The second device periodically checks whether the first device maintains a communication connection with itself. If yes, it executes S504; otherwise, it terminates.
[0166] To facilitate understanding, the communication connection method provided in this application embodiment will be described in detail with reference to the hotspot connection scenario shown in Figure 6, focusing on the interaction between the first device and the second device. Figure 6 is a schematic diagram of a communication connection method provided in an embodiment of this application.
[0167] As shown in Figure 6, taking both the first device and the second device as terminal devices that support private network communication and identity authentication communication, such as walkie-talkies, the hotspot connection scenario includes the first device 101 and the second device 102. The first device can display a page for connecting through private network identity. This page includes the second private network identification information 11:1002 of the second device 102. The user can click on the second private network identification information. In response to the user's click operation, the first device 101 can broadcast or send a first communication connection request to the second device. The second device 102 can receive the first communication connection request. Then, the second device 102 determines that the second private network identification information is the same as the second private network identification information of the second device, or confirms that the second private network identification information is a group call identifier in the group call receiving list of the second device (that is, as mentioned above, the second device 102 determines itself to be the target receiving device corresponding to the second private network identification information). A pop-up window can display a prompt message: Connect to hotspot: Radio 1001. This window may also include an agree control 12 and a refuse control 13. When the user clicks the agree control 12, the second device 102 can send a second communication connection request to the first device based on the communication connection information of the first device. Subsequently, in response to receiving the second communication connection request, the first device sends information to the second device to indicate that the first device agrees to establish a communication connection with the second device, and the two successfully establish a hotspot connection.
[0168] The following describes the communication connection method provided in the embodiments of this application in conjunction with practical applications.
[0169] Example 1: After the first and second devices establish a communication connection, network sharing is achieved.
[0170] The current environment has two terminals, identified as Terminal S (ID: 1031) and Terminal T (ID: 1032). Terminal S has a SIM card installed and is capable of connecting to the mobile network; while Terminal T does not have a SIM card installed but needs to use the mobile network. In this scenario, a local area network sharing mechanism can be used to share the mobile network (i.e., the hotspot connection scenario described above, where the network can be shared).
[0171] In this context, terminal S is the first device, and "1031" is its first private network identification information; terminal T is the second device, and "1032" is its second private network identification information.
[0172] First, enable the "Mobile Network" function on terminal S, then go to "Settings" -> "Network & Internet" -> "Hotspot & Network Sharing" -> "Connect via Private Network Identity" configuration item. You will then be redirected to the "Select Contact" screen (which includes the second private network identifier information, and can be called the "Connect via Private Network Identity" page) to select the sharing recipient. On this screen, by selecting the contact with ID 1032, or by directly entering the number "1032," you explicitly designate terminal T (ID: 1032) as the recipient through the triggering operation of the second private network identifier information.
[0173] After completing the above steps, terminal S will automatically activate its hotspot function and send a WiFi connection request (i.e., the first communication connection request) to terminal T. Terminal T will then receive a pop-up prompt: "Connect to WiFi: Radio 1031?" (i.e., display the prompt information). After the user confirms (i.e., the user confirms the prompt information), both parties will successfully establish a WiFi connection (i.e., a hotspot connection). In one implementation, terminal T may also initiate a communication connection to terminal S based on the connection information in the first communication connection request after user confirmation. After terminal S authenticates the connection, both parties will successfully establish a WiFi connection. Afterward, terminal T can use this WiFi connection to access the internet via terminal S's mobile network, achieving convenient sharing of mobile network resources.
[0174] Example 2: After the first and second devices establish a communication connection, file sharing is realized.
[0175] The current environment has two terminals, identified as Terminal A (ID: 1001) and Terminal B (ID: 1002). Terminal A is the first device, and "1001" is its first private network identifier. Terminal B is the second device, and "1002" is its second private network identifier.
[0176] On terminal A, launch the file manager and select one or more "files to be shared". Then, click the "Share" button. The system will present a series of sharing options, from which select "Share via private network identity". This operation will take you to the "Select Contacts" interface (i.e., the page that includes the second private network identification information). The normal way to access this interface is to go to "Settings" -> "Network & Internet" -> "Hotspot & Network Sharing" -> "Connect via private network identity" -> "Select Contacts" to clearly specify the target device for sharing (i.e., the second device).
[0177] On the "Select Contact" screen, select the contact with ID 1002, or directly enter the number "1002" to identify terminal B (ID: 1002) as the recipient. Once the selection is confirmed, terminal A will automatically activate its hotspot function and send a WiFi connection request to terminal B. Terminal B will then receive a pop-up prompt: "Connect to WiFi: Radio 1001?" After confirmation, a WiFi connection will be established between the two parties.
[0178] Once the WiFi connection is successful, the file sharing process begins. Terminal A sends a "file transfer request" to Terminal B via the local area network, listing all "files to be shared." On Terminal B, a pop-up notification will appear indicating a file transfer request, clearly displaying the list of shared files. Users can choose to click the "Confirm" button to accept the file transfer or click the "Cancel" button to decline.
[0179] After the file transfer is complete, terminal A will display a success message to confirm that the file was sent successfully. Meanwhile, these newly received files can be directly accessed and managed in the "LAN Received Files" directory of terminal B's file manager.
[0180] Example 3: After the first and second devices establish a communication connection, configuration sharing is achieved.
[0181] For example, the current environment contains multiple terminals, designated M, N, O, and P, with terminal M having a walkie-talkie ID of 1023. These terminals are all in standby mode on the private network within the same group, Group 2001 (group call ID 2001). Utilizing the "one call, many responses" characteristic of private network communication, any terminal within the group can initiate one-to-many communication, ensuring that messages are broadcast to all members.
[0182] Among them, terminal M is the first device, "1023" is its first private network identification information, terminal N, terminal O and terminal P are the second devices, and "2001" is the second private network identification information of the group to which terminals N, O and P belong.
[0183] When terminal M enters the configuration copy page and selects either the frequency writing configuration or the system upgrade package, the system will automatically redirect to the "Select Contacts" page to establish a local area network. (The normal access path for this page is "Settings" -> "Network and Internet" -> "Hotspot and Network Sharing" -> "Connect via Private Network Identity" -> "Select Contacts," designed to specify the sharing target). On this page, the user needs to select a group call contact with ID 2001 or enter the group call number "2001" to indicate that the entire group Group2001 is the target. After confirming the selection, terminal M will activate the hotspot and send WiFi connection requests to all terminals in the group (terminal N, terminal O, and terminal P) at once through the private network's group call function.
[0184] Upon receiving the request, terminals N, O, and P will each display a prompt asking "Connect to WIFI: Radio1023 (Group 2001)?". After confirmation, the WiFi connection will be established successfully, or it may be established after terminal M's authentication is successful. Immediately afterwards, terminal M will automatically send its local configuration file (which, depending on previous selections, could be a frequency programming configuration or a system upgrade package) to terminals N, O, and P via the local area network.
[0185] On terminals N, O, and P, a pop-up window will appear requesting the receipt of a configuration file, clearly displaying the information of the configuration file to be transferred. Users can click "Confirm" to receive the file or "Cancel" to refuse. Once the file transfer is complete, terminal M will display a success message, while terminals N, O, and P will receive a prompt asking "Upgrade your local configuration based on the received configuration file?" After user confirmation, each terminal will perform the corresponding configuration upgrade operation.
[0186] Thus, based on the above embodiments, the communication connection method provided in this application can leverage the existing private network identity of the second device to enable the first device to directly identify the second device through a dedicated network. This eliminates the need for the user of the second device to select the first device and perform cumbersome operations such as entering the first device's connection name, connection password, and other communication connection information. Furthermore, private network communication offers higher security, ensuring secure transmission of the first device's communication connection information. By ensuring security, the second device can be authenticated by the first device, simplifying user operations and improving the user experience.
[0187] In addition, the first device can automatically modify its identification information based on its private network identity to improve its recognizability, enabling the second device to clearly identify the first device and further enhance the user experience.
[0188] The above are some specific implementations of the communication connection method provided in the embodiments of this application. Based on this, this application also provides a corresponding communication device. The communication device provided in the embodiments of this application will be described below from the perspective of functional modularity.
[0189] Referring to Figure 7, which is a schematic diagram of the structure of a communication device provided in an embodiment of this application, the communication device 700 may include a processing unit 720 and a transceiver unit 710.
[0190] In one possible design, the communication device 700 may correspond to the first device in the above method embodiments, and the communication device 700 may be used to execute the steps or processes performed by the first device in any of the above method embodiments.
[0191] The transceiver unit 710 is used to send a first communication connection request based on the private network in response to a trigger operation for the second private network identification information.
[0192] Wherein, the second private network identification information is used to indicate the target receiving device in the private network that receives the first communication connection request; the first communication connection request includes the second private network identification information and the communication connection information of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device;
[0193] The transceiver unit 710 is further configured to receive a second communication connection request sent by a second device; wherein the second device is a target receiving device that receives the first communication connection request based on the second private network identification information, and the second device supports private network communication and identity authentication communication; the second communication connection request is generated by the second device based on the communication connection information of the first device;
[0194] The transceiver unit 710 is further configured to, in response to receiving the second communication connection request, send information to the second device indicating that the first device agrees to establish a communication connection with the second device.
[0195] In one possible implementation, the second private network identification information is information used to identify the private network identity of the group to which the M target devices belong. Accordingly, the transceiver unit 710 is used to receive the second communication connection requests sent by the N second devices respectively; the N second devices are group members corresponding to the second private network identification information; M≥N; accordingly, the transceiver unit 710 is used to, in response to receiving the second communication connection requests sent by the N second devices respectively, send information to the N second devices respectively to indicate that the first device agrees to establish a communication connection with the second device.
[0196] In one possible implementation, the second private network identification information is information used to identify the private network identity of the second device, and the second device includes a device.
[0197] In one possible implementation, the processing unit 720 is configured to, in response to a triggering operation for the second private network identification information, modify the initial identification information of the first device's identity authentication based on the first private network identification information of the first device to obtain the identification information of the first device.
[0198] In one possible implementation, the processing unit 720 is configured to determine, when another device establishes a communication connection with the first device in a conventional manner, to restore the identification information of the first device to the initial identification information for the first device's identity authentication.
[0199] In one possible implementation, the communication connection information of the first device includes the identification information of the first device and the connection password of the first device; the identification information is the identification information of the hotspot of the first device, and the connection password is the connection password of the hotspot of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating with the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0200] In one possible design, the communication device 700 may correspond to the second device in the above method embodiments, and the communication device 700 may be used to execute the steps or processes performed by the second device in any of the above method embodiments.
[0201] Transceiver unit 710 is used to receive a first communication connection request;
[0202] The first communication connection request includes a second private network identification information and communication connection information of the first device; the first communication connection request is used to instruct the target device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device; the first device supports private network communication and authentication communication; the second private network identification information is used to indicate the target receiving device;
[0203] Processing unit 720 is configured to determine that the second private network identification information is the same as the second private network identification information of the second device, or that the second private network identification information is a group call identifier in the private network group call receiving list of the second device. Transceiver unit 710 is configured to send a second communication connection request to the first device based on the communication connection information of the first device.
[0204] The transceiver unit 710 is used to receive information sent by the first device indicating its agreement to establish a communication connection with the second device.
[0205] In one possible implementation, the processing unit 720 is configured to determine that the second private network identification information is the same as the second private network identification information of the second device, or that the second private network identification information is a group call identifier in the private network group call receiving list of the second device, and then display a prompt message to prompt the first device to request the establishment of a communication connection; the transceiver unit 710 is configured to, in response to the agreement operation of the prompt message, send a second communication connection request to the first device based on the communication connection information of the first device.
[0206] In one possible implementation, the communication connection information of the first device includes the hotspot identification information of the first device and the connection password of the hotspot; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after authenticating with the first device based on the hotspot identification information and the hotspot connection password.
[0207] This application also provides a communication device, which includes a processor coupled to a memory, the memory storing a program or instructions for executing the communication connection method described in any of the above embodiments.
[0208] For example, the communication device may correspond to the first device in the method embodiments described above.
[0209] Alternatively, the communication device may correspond to the second device in the above method embodiments.
[0210] This application also provides computer-readable storage media and computer program products for implementing the solutions provided in this application.
[0211] The computer-readable storage medium stores a computer program, which, when run, implements the communication connection method described in any embodiment of this application.
[0212] The computer program product includes computer program code, which, when executed by an electronic device (first device or second device), implements the above-described communication connection method.
[0213] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.
[0214] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a readable storage medium, such as a read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions to cause a wireless communication device (which may be a walkie-talkie, base station, or network communication device such as IoT communication device) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0215] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0216] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication connection method, characterized in that, Applied to a first device, the first device supporting private network communication and authentication communication, including: In response to a triggering operation on the second private network identification information, a first communication connection request is sent based on the private network; wherein, the second private network identification information is used to indicate a target receiving device in the private network to receive the first communication connection request; the first communication connection request includes the second private network identification information and the communication connection information of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after authenticating with the first device based on the communication connection information of the first device; The system receives a second communication connection request sent by a second device; wherein the second device is a target receiving device that receives the first communication connection request based on the second private network identification information, and the second device supports private network communication and identity authentication communication; the second communication connection request is generated by the second device based on the communication connection information of the first device. In response to receiving the second communication connection request, the first device sends information to the second device to indicate that the first device agrees to establish a communication connection with the second device.
2. The method according to claim 1, characterized in that, The second private network identification information is private network identification information used to identify the group to which the M target receiving devices belong. Receiving the second communication connection request sent by the second device includes: Receive second communication connection requests sent by N second devices respectively; N second devices are group members corresponding to the second private network identifier; M≥N; The step of responding to receiving the second communication connection request by sending information to the second device to indicate that the first device agrees to establish a communication connection with the second device includes: In response to receiving a second communication connection request sent by N second devices respectively, information indicating that the first device agrees to establish a communication connection with the second device is sent to each of the N second devices.
3. The method according to claim 1, characterized in that, The second private network identification information is used to identify the private network identity of the second device, which includes one device.
4. The method according to claim 1, characterized in that, The communication connection information of the first device includes the identification information of the first device; the method further includes: In response to the triggering operation of the second private network identification information, the initial identification information of the first device's identity authentication is modified based on the first private network identification information of the first device to obtain the identification information of the first device.
5. The method according to claim 4, characterized in that, The method further includes: If it is determined that no device with private network identification information has established a communication connection with the first device, the identification information of the first device is restored to the initial identification information of the first device's identity authentication.
6. The method according to any one of claims 1-5, characterized in that, The communication connection information of the first device includes the identification information of the first device and the connection password of the first device; The identification information is the identification information of the hotspot of the first device, and the connection password is the connection password of the hotspot of the first device; the first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after being authenticated by the first device based on the identification information of the hotspot and the connection password of the hotspot.
7. A communication connection method, characterized in that, Applied to a second device, the second device supports private network communication and authentication communication, including: Receive a first communication connection request; wherein the first communication connection request includes second private network identification information and communication connection information of the first device; The first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a communication connection with the first device after being authenticated by the first device based on the communication connection information of the first device; The first device supports private network communication and authentication communication; the second private network identification information is used to indicate the target receiving device in the private network that receives the first communication connection request; If the second device is determined to be the target receiving device corresponding to the second private network identification information, then a second communication connection request is sent to the first device based on the communication connection information of the first device; Receive information from the first device agreeing to establish a communication connection with the second device.
8. The method according to claim 7, characterized in that, If the second device is determined to be the target receiving device corresponding to the second private network identification information, then based on the communication connection information of the first device, a second communication connection request is sent to the first device, including: If the second device is determined to be the target receiving device corresponding to the second private network identification information, a prompt message is displayed to prompt the first device to request the establishment of a communication connection. In response to the agreement to the prompt message, a second communication connection request is sent to the first device based on the communication connection information of the first device.
9. The method according to claim 7 or 8, characterized in that, The communication connection information of the first device includes the hotspot identification information of the first device and the connection password of the hotspot; The first communication connection request is used to instruct the target receiving device corresponding to the second private network identification information to establish a hotspot connection with the first device after the hotspot identification information and the hotspot connection password are authenticated by the first device.
10. A communication device, characterized in that, The apparatus includes a processing unit and a transceiver unit, and is used to execute a program or instructions for the communication connection method as described in any one of claims 1 to 6, or to execute a program or instructions for the communication connection method as described in any one of claims 7 to 9.
