Communication connection method and related device
Identity authentication connection between devices is realized through dedicated networks and dedicated network identification information, solving the problem of cumbersome input of connection information in the prior art, realizing a secure and fast communication connection, and improving user experience.
Patent Information
- Application Number
- CN202510593746.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, when multi-device communication connection, users need to manually enter the connection name and password, which is cumbersome and prone to errors, affecting the user experience.
Send communication connection requests through a dedicated network, and use the dedicated network identification information to realize identity authentication connections between devices, simplify user operations and ensure security and immediacy.
It realizes secure and fast communication connections between devices, simplifies user operation processes, and improves user experience.
Smart Images

Figure CN120343751A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a communication connection method and related devices. Background Art
[0002] With the rapid development of communication technologies, multiple electronic devices can communicate and interconnect with each other through short-distance communication technologies. For example, communication connections such as hotspot connections and Bluetooth connections can be established between two electronic devices to implement multiple functions such as sharing networks and sharing files.
[0003] Taking the establishment of a communication connection between two devices (which can be respectively referred to as a first device and a second device) as an example, a user can input information such as the connection name and connection password of the first device into the second device and request the first device, so that the first device can authenticate the identity of the second device, that is, the second device establishes a communication connection with the first device based on this information of the first device. However, in order to improve security, this information of the first device may be relatively cumbersome, resulting in cumbersome user operations and easily affecting the user experience. When multiple devices need to connect and communicate with the first device, each device needs to obtain the connection information of the first device separately to connect to the first device, and the operations are cumbersome and error-prone. Summary of the Invention
[0004] In view of this, embodiments of this application provide a communication connection method and related devices, aiming to simplify user operations on the basis of ensuring security when establishing a communication connection based on identity authentication communication between multiple electronic devices, and thus improve the user experience.
[0005] In a first aspect, an embodiment of this application provides a communication connection method, which is applied to a first device. The first device supports private network communication and identity authentication communication. The method includes:
[0006] In response to a trigger operation for second private network identification information, send a first communication connection request based on a private network;
[0007] Wherein, 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 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 passing the identity authentication of the first device based on the communication connection information of the first device;
[0008] 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;
[0009] 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.
[0010] In a possible implementation manner, the second private network identification information is private network identification information for identifying a group to which M target receiving devices belong, and the receiving the second communication connection request sent by the second device includes:
[0011] Receive second communication connection requests respectively sent by N of the second devices; the N second devices are group members corresponding to the second private network identification; M≥N;
[0012] The responding to receiving the second communication connection request and sending information to the second device indicating that the first device agrees to establish a communication connection with the second device includes:
[0013] In response to receiving the second communication connection requests respectively sent by N of the second devices, send information to the N second devices respectively indicating that the first device agrees to establish a communication connection with the second device.
[0014] In a possible implementation manner, the second private network identification information is information for identifying the private network identity of the second device, and the second device includes one device.
[0015] In a possible implementation manner, the communication connection information of the first device includes the identification information of the first device; the method further includes:
[0016] In response to a trigger operation for the second private network identification information, modify the initial identification information for 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.
[0017] In a possible implementation manner, the communication connection method further includes:
[0018] Determine that there is no device with private network identification information established a communication connection with the first device, and restore the identification information of the first device to the initial identification information for the first device's identity authentication.
[0019] In a 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 passing the identity authentication of the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0020] In a second aspect, an embodiment of the present application provides a communication connection method, which is applied to a second device. The second device supports private network communication and identity authentication communication. The method includes:
[0021] Receiving a first communication connection request;
[0022] Wherein, the first communication connection request includes 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 passing the identity authentication of the first device based on the communication connection information of the first device; the first device supports private network communication and identity 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.
[0023] If it is determined that the second device is 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;
[0024] Receiving the information sent by the first device agreeing to establish a communication connection with the second device.
[0025] In a possible implementation, the step of determining that the second device is the target receiving device corresponding to the second private network identification information, and then based on the communication connection information of the first device, sending a second communication connection request to the first device includes:
[0026] If it is determined that the second device is the target receiving device corresponding to the second private network identification information, then display a prompt message for prompting the first device to request to establish a communication connection;
[0027] In response to an approval operation on the prompt message, based on the communication connection information of the first device, a second communication connection request is sent to the first device.
[0028] In a possible implementation, the communication connection information of the first device includes the identification information of the hotspot 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 passing the identity authentication of the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0029] In a third aspect, the present application provides a communication device, which includes a processing unit and a transceiver unit, and the device is used to execute the program or instruction of the communication connection method in the first aspect or the second aspect above.
[0030] In a fourth aspect, the present application provides a communication device, which includes a processor, the processor is coupled with a memory, and the memory stores a program or instruction for executing the communication connection method in the first aspect or the second aspect above.
[0031] In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the communication connection method in the first aspect or the second aspect above is implemented.
[0032] In a sixth aspect, the present application provides a computer program product, which includes computer program code, and when the computer program code is executed by an electronic device, the communication connection method in the first aspect or the second aspect above is implemented.
[0033] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0034] The embodiments of the present application provide a communication connection method and related devices. The method can be applied to a first device, which can support private network communication and identity authentication communication. In this method, in response to a trigger operation for the 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 the 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 is used to instruct the receiving device corresponding to the second private network identification information to send an identity authentication request to the first device based on the communication connection information of the first device, and establish a communication connection with the first device after passing the identity authentication of the first device; then, the first device can receive a second communication connection request sent by the second device, and the second device can also support private network communication and identity authentication communication; subsequently, in response to receiving the second communication connection request, the first device sends information indicating that the first device agrees to establish a communication connection with the second device to the second device.
[0035] Since both the first device and the second device support private network communication and identity authentication communication, the first device can directly send messages to other devices based on the private network and directly send its own communication connection information that requires identity authentication to the second device. That is, without the user's separate operation, the user can send an identity authentication connection communication message to the second device through the private network by directly operating the contacts of the private network on the first device. On the one hand, the security of the private network communication is higher, so it can ensure the secure transmission of the communication connection information of the first device. On the other hand, on the basis of ensuring security, the second device can pass the identity authentication of the first device, avoiding the situation where the user needs to obtain the identity authentication connection information of the first device in advance and then input the communication connection information of the first device on the second device for the first device to authenticate the identity of the second device when the user has a need to establish a communication connection between the first device and the second device, which can simplify the user operation and thus improve the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] To more clearly illustrate the technical solutions in the embodiments or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0037] Figure 1 Structural schematic diagram of a communication system provided by an embodiment of the present application;
[0038] Figure 2 Flowchart of a communication connection method provided by an embodiment of the present application;
[0039] Figure 3 Flowchart of a communication connection method of a first device provided by an embodiment of the present application;
[0040] Figure 4 Flowchart of another communication connection method provided by an embodiment of the present application;
[0041] Figure 5 Flowchart of a communication connection method of a second device provided by an embodiment of the present application;
[0042] Figure 6 Schematic diagram of a communication connection method provided by an embodiment of the present application;
[0043] Figure 7 Structural schematic diagram of a communication device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
[0045] First, several noun terms that may be involved in the following embodiments of this application are explained.
[0046] Private network: It can also be simply referred to as a dedicated network. It refers to a wireless communication network designed and built specifically for a specific industry or specific user group to meet specific business requirements and functions. The main features of a private network include high reliability, high security, and strict requirements for data transmission quality, and it is often applied in fields such as public safety, transportation, energy, and healthcare. Among them, the most typical private network is Land Mobile Radio (LMR). LMR refers to a proprietary communication system built to meet the communication needs of users in industries such as public safety, public utilities, transportation, energy, and industry and commerce for command and dispatch, organization and management, and work safety. LMR is a narrowband radio communication technology that provides half-duplex Push-to-Talk (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, and so on. Among them, compared with public wireless networks, the working mode of the terminals of private networks, such as walkie-talkies, has the characteristics of "press-to-talk" (the transmitter presses the PTT button to send, and the receiver automatically connects when detecting the signal), "one call, all respond" (the walkie-talkie has a group call function. After the transmitter presses the PTT button and starts speaking, all members within the group call will be immediately connected to receive), with the effects of fast transmission speed, good received signal, and short connection time.
[0047] Identity authentication communication: It refers to the communication that can be established after passing identity authentication. In the embodiments of this application, the first device supports identity authentication communication, indicating that the first device can establish a communication connection with a device that has passed the identity authentication of the first device, and also indicating that the first device can establish a communication connection with other devices after passing the identity authentication of other devices. The same applies to the second device and will not be elaborated here.
[0048] In some embodiments, the identity authentication communication may include wireless communication, which refers to the communication for data transmission via radio waves. For example, short-range wireless communication can achieve the interconnection and interoperability of devices within a relatively small physical range (usually within dozens of meters) through a Personal Area Network (PAN), a Local Area Network (LAN), and the Internet of Things (IoT). Exemplarily, short-range wireless communication may include, but is not limited to: Wireless Fidelity (Wi-Fi), hotspot, Bluetooth, Zigbee, and Z-Wave, etc. Also, for example, the wireless communication may also be medium-range wireless communication or long-range wireless communication, etc., and within a relatively large physical range, the interconnection and interoperability of devices can be achieved through a LAN, etc.
[0049] Currently, the existing communication connection method is as follows: Taking the establishment of a hotspot connection between a first device and a second device as an example, the first device can be the hotspot sharing side, that is, the first device can turn on the hotspot, and the second device can be the hotspot connection side, that is, the second device can connect to the hotspot turned on by the first device, so that the second device can share the network of the first device, or so that files, etc. can be shared between the first device and the second device.
[0050] In the related art, usually, the first device starts the hotspot, and the user can also modify the connection name and connection password of the hotspot of the first device. Subsequently, the user can input the connection name and connection password of the hotspot of the first device on the second device, and initiate an identity authentication to the first device through short-range communication technology, so that the second device can pass the identity authentication of the first device based on the connection name and connection password of the hotspot, and the second device establishes a hotspot connection with the first device.
[0051] However, the user needs to manually operate to input the connection name and connection password of the hotspot of the first device, and the operation is relatively cumbersome. In the case where the connection name and connection password of the hotspot of the first device are relatively complex, it will further increase the cumbersome operation of the user and easily affect the user experience.
[0052] Based on this, to solve the above problems, an embodiment of the present application provides a communication connection method and related device. This method can be applied to a first device that supports private network communication and identity authentication communication. In this method, in response to a trigger operation for second private network identification information, a first communication connection request is sent based on a 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 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 passing the identity authentication of the first device based on the communication connection information of the first device. A second communication connection request sent by a second device is received. 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 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, information indicating that the first device agrees to establish a communication connection with the second device is sent to the second device.
[0053] In this way, when both the first device and the second device support private network communication and identity 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 private network identification information of the second device. On the one hand, the first device can clarify the second device by indicating the private network identification information of the second device. On the other hand, the security of private network communication is higher and the instantaneity is good. For example, in an LMR network, the "push-to-talk" effect of a walkie-talkie requires almost no time to pre-establish a connection or channel for communication, and the terminal device can directly initiate and receive communication. Therefore, it can ensure the secure and fast transmission of the communication connection information of the first device, enable the second device to pass the identity authentication of the first device on the basis of ensuring security, and simplify the user operation without the user manually inputting the communication connection information of the first device, thereby improving the user experience.
[0054] For example, the embodiment of the present application can be applied to a communication system as Figure 1 shown. This communication system may include a first device 101 and a second device 102. It should be noted that the present application does not limit the number of second devices 102. It may be that the communication system includes a first device 101 and multiple second devices 102, and the first device 101 can establish a communication connection with each second device 102.
[0055] In the embodiments provided in this application, these electronic devices such as the first device and the second device can be terminal devices that support private network communication and identity authentication communication. The terminal devices can be in various forms. For example, they can be walkie-talkies with short-distance communication modules (which can also be called multi-mode terminal devices), Internet of Things devices, radio relay devices, etc. As long as they can support private network communication and identity authentication communication simultaneously, this application does not make any limitations in this regard.
[0056] It should be emphasized that the Figure 1 communication system shown above is only an example. In actual applications, the communication system can include a greater number or more types of devices. This application does not limit the specific architecture of the communication system.
[0057] Next, in combination with the accompanying drawings, the specific implementation manners of the communication connection method and related devices in the embodiments of this application will be described in detail through embodiments.
[0058] First, in combination with Figure 2 and Figure 3 the communication connection method when the first device is the execution subject will be introduced.
[0059] Refer to Figure 2 , which is a flowchart of a communication connection method provided in the embodiments of this application. As shown in combination with Figure 2 , the specific steps can include the following:
[0060] S201: In response to a trigger operation for the second private network identification information, the first device sends a first communication connection request based on the private network.
[0061] The first device can respond to the user's trigger operation for the second private network identification information and send a first communication connection request.
[0062] It should be noted that the communication connection established between the first device and the second device mentioned in this application is achieved based on identity authentication communication. That is, after the second device passes the identity authentication of the first device, a communication connection is established between the two.
[0063] Taking the communication connection as a hotspot connection as an example, the user's trigger operation for the second private network identification information can include: the user's trigger operation on the following path to enter the page including the second private network identification information, Settings control -> Network and Internet control -> Hotspot and network sharing control -> Connect through private network identity control. The trigger operation can be a click operation on each control. Subsequently, the user can trigger the second private network identification information on this page (which can be called the page for connecting through private network identity, for example). The operation triggered by the user can be a click operation.
[0064] Among them, the page entered by the first device through the user's triggering operation on the above path includes the second private network identification information only as an example, indicating that the first device stores the second private network identification information at this time. For example, if the first device and the second device were interconnected based on a private network before, the first device can store the second private network identification information of the second device, the private network contact list of the first device, etc.
[0065] In some embodiments, the interface including the second private network identification information introduced above may also include an input box, which can be used for the user to input the private network identification information indicating the target receiving device. For example, the user can input the second private network identification information of the second device in this 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.
[0066] It should be noted that the above path is only an example, and it can also be the user's triggering operation on the following path: file selection control -> through the private network identity sharing control. The triggering 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.
[0067] It should be noted that the above triggering operation can be a click operation or an input operation only as examples, and it can also be the user's voice operation on the first device, enabling the first device to enter 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.
[0068] 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.
[0069] For ease of understanding, the following uses the hotspot connection scenario as an example to introduce the communication connection method provided by the embodiments of this application.
[0070] Among them, 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. Exemplarily, the second private network identification information can be the private network identity identifier ID of the device (also known as the private network identity).
[0071] 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. Exemplarily, 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, and 1002 can be used to uniquely identify the second device from multiple devices.
[0072] In another example, the second private network identification information can also identify the private network identity of the group to which multiple target receiving devices belong, that is, these multiple devices belong to the same group, and the second private network identification can be the private network identity ID of the group to which the second device belongs. Exemplarily, the private network identity ID of a group can be: 2001, and the group includes multiple second devices. 2001 can be used to uniquely identify the target receiving device, that is, the group to which 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, and it is not necessary to include the private network identification information of any second device in the group. When the first device initiates a first communication connection request to the group through a private network, any member (device) in the group can receive the first communication connection request.
[0073] In some embodiments, the second private network identification information may also be used to indicate a user of a device having the second private network identification information, which may be referred to as a contact. In an example where the second private network identification information may identify a private network identity of a device, it may be referred to as an individual call contact; in an example where the second private network identification information may also identify a private network identity of a group to which multiple devices belong, it may be referred to as a group call contact.
[0074] In some embodiments, sending the first communication connection request based on the dedicated network includes: the first device modulates the first communication connection request information and transmits radio waves through the dedicated wireless network. The second device that receives the radio waves can demodulate the radio waves to obtain the first communication connection request.
[0075] In one embodiment, after the user of the first device selects or inputs the second private network identification information of the target receiving device, the user presses the PTT button or the TK pre-programmed button, and the first device sends a radio wave carrying the 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 usually sends a message "instant call and instant communication", and the receiving device can directly receive the message without delay and without the need for confirmation by the receiving user.
[0076] In one embodiment, the dedicated network also supports "one call, hundreds of responses", that is, it supports the first device to initiate a message in a group manner, and all members in the group can receive the message without receiving user confirmation. In this way, when the first device wants to establish a communication connection with multiple second devices, it can send it once, so that multiple devices can obtain the first communication connection request at the same time, without sending it one by one.
[0077] In some embodiments, the first communication connection request may include second private network identification information and communication connection information of the first device.
[0078] Among them, 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.
[0079] 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. Exemplarily, the identification information of the first device may be the connection name of the first device, etc.
[0080] Based on including the identification information of the first device, the communication connection information of the first device may further include the connection password of the first device, and this connection password can be used to enable other devices to establish a connection with the first device after passing the authentication of the first device (i.e., identity authentication).
[0081] In a possible implementation manner of the present 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 passing the identity authentication of the first device based on the identification information and the connection password.
[0082] In addition, in some embodiments, based on including the connection name of the first device and the connection password of the first device, the communication connection information of the first device may further include the private network identification information of the first device, the (Media Access Control, MAC) address of the first device, the supported rate, security setting information, etc.
[0083] It should be noted that the communication connection information of the first device may include more or fewer types of information than the above examples, as long as the second device can establish a communication connection based on this, and the present application does not limit this.
[0084] The above 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 passing the identity authentication of the first device based on the communication connection information of the first device.
[0085] That is to say, 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 passes the identity authentication of the second device, the two can establish a communication connection.
[0086] In some embodiments, the first device may broadcast the first communication connection request. Within the coverage range of the broadcast signal of the first communication connection request, the second device may receive the first communication connection request.
[0087] In an example where the second private network identification information is the private network identification information used to identify the group to which M target receiving devices belong, the first device may broadcast the first communication connection request. When one or more of the M second devices are within the coverage range of the broadcast signal of the first communication connection request, one or more of the M second devices may receive the first communication connection request.
[0088] In an example where the second private network identification information is the information used to identify the private network identity of the second device, the first device may broadcast the first communication connection request, or may also send the first communication connection request to the second device individually. As long as the second device is within the coverage range of the request signal, the second device may receive the first communication connection request.
[0089] Herein, the signal range (which also refers to the broadcast signal coverage range mentioned above) refers to the distance range within which the radio waves emitted by the electronic device can be normally received by the receiving device. Exemplarily, the signal range of the 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 more than 10 meters away from the second device, the second device cannot scan the broadcast information sent by the first device.
[0090] Exemplarily, in the embodiments of the present application, the first device and the second device are both within the signal range of each other under the network for identity authentication communication and within the signal range of each other under the dedicated network. Generally, the signal coverage range of the dedicated network is larger than the signal coverage range of the network for identity authentication communication.
[0091] In some embodiments, it may also be that the first device sends the first communication connection request to the private network base station. After receiving the first communication connection request, the private network base station forwards the first communication connection request, or sends the first communication connection request through the system at another base station. When the coverage range 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 examples in this embodiment are the same as those above and will not be elaborated here.
[0092] S202: The first device receives the second communication connection request sent by the second device.
[0093] The second device may send the second communication connection request to the first device based on the communication connection information of the first device.
[0094] Among them, 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.
[0095] The second communication connection request is used to request the first device and the second device to establish a communication connection.
[0096] In some embodiments, the second communication connection request may carry the second private network identification information of the second device, communication connection information such as the connection name and connection password of the first device.
[0097] In addition, in some embodiments, the second communication connection request may further include the MAC address of the second device, etc., which is not limited in this application.
[0098] Taking the hotspot connection scenario as an example, the second communication connection request may carry the second private network identification information of the second device, the connection name of the hotspot of the first device and the connection password of the hotspot, the MAC address of the second device, etc. The first device may, based on the second private network identification information of the second device carried in the second communication connection request, the connection name of the hotspot of the first device and the connection password of the hotspot, etc., identify and authenticate the identity of the second device, and then agree to establish a hotspot connection with the second device itself.
[0099] S203: In response to receiving the second communication connection request, the first device sends information to the second device for indicating that the first device agrees to establish a communication connection with the second device.
[0100] After receiving the second communication connection request, based on the information carried in the second communication connection request introduced above, the first device may agree to establish a communication connection with the second device. The first device may send confirmation information to the second device to indicate to the second device that the first device agrees to establish a communication connection, and the communication connection between the two is successfully established.
[0101] It should be noted that when the first device and the second device establish a communication connection, it is only an example that one authentication is performed between the first device and the second device, and multiple authentications may also be performed. For example, the first device may send the second communication connection request to a Remote Authentication Dial-In User Service (RADIUS) server (the RADIUS server is already connected to both the first device and the second device). If the RADIUS server authenticates successfully, it may send information to the first device for indicating that the communication connection authentication of the second device is passed. Subsequently, the first device may send information to the second device for indicating that the first device agrees to establish a communication connection with the second device.
[0102] Based on the above introduction, in a possible implementation, the second private network identification information may be the private network identification information used to identify the group to which M target receiving devices belong. Accordingly, S202 may specifically include: the first device receives second communication connection requests respectively sent by N of the second devices; the N second devices are all members of the group corresponding to the second private network identification; accordingly, S203 may specifically include: in response to receiving the second communication connection requests respectively sent by N of the second devices, the first device sends information indicating that the first device agrees to establish a communication connection with the second devices to the N second devices respectively.
[0103] It should be understood that when the first device or the private network base station sends the first communication connection request, on the one hand, the second devices within the signal range can receive the first communication connection request, and on the other hand, even if the second device receives the first communication connection request, the second device can either agree to the first communication connection request or reject it. Therefore, M≥N. The specific implementation can be referred to the introduction of the corresponding embodiments later, which will not be elaborated here for the time being. Figure 4 The corresponding embodiments will not be elaborated here for the time being.
[0104] For example, M may be 10 and N may be 5. The group includes 10 second devices, indicating that these 10 second devices are all the receiving devices indicated by the second private network identification information. Suppose there are 8 second devices and the first device are within each other's signal range, and these 8 second devices can receive the first communication connection request. Further suppose 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 respectively sent by 5 second devices. Subsequently, in response to receiving the second communication connection requests respectively sent by these 5 second devices, the first device sends information indicating that the first device agrees to establish a communication connection with the second devices to these 5 second devices respectively.
[0105] Based on the above introduction, in another possible implementation, the second private network identification information may be the information used to identify the private network identity of the second device. Then the second device includes one second device. Accordingly, S202 may specifically include: the first device receives 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 indicating that the first device agrees to establish a communication connection with the second device to the second device.
[0106] In this way, based on the characteristics of the dedicated network, the first device can quickly and conveniently establish communication connections with one or more second devices simultaneously, greatly enhancing the convenience of user use. When the first device establishes a one-to-one communication connection with a second device, it is possible to avoid the user entering communication connection information such as the connection name and connection password of the first device, reducing user operations. In some cases, the first device can send a first connection request in ciphertext. After receiving it, the second device can choose not to decrypt it or display it. After being processed by the processor inside the second device, it responds to the need of the second device user to initiate a communication connection to the first device and initiates a communication connection request to the first device based on the connection information in ciphertext. When the first device establishes a one-to-many communication connection with multiple second devices, it is possible to avoid the need for multiple users to separately enter communication connection information such as the connection name and connection password of the first device on the second devices, which can greatly reduce the cumbersome operations of users, improve the connection speed, and is conducive to enhancing the user experience.
[0107] In addition, based on the above introduction, the communication connection information of the first device may include the identification information of the first device. In a possible implementation manner of this application, the communication connection method may further include: when the first device responds to a trigger operation for the second private network identification information, it 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.
[0108] In some embodiments, the first private network identification information may be added to the initial identification information of the first device to form the identification information of the first device.
[0109] Exemplarily, the initial identification information of the first device may be the device general name. The first private network identification information may be added after the device general name, and the identification information of the first device is: device general name + first private network identification information.
[0110] For example, if the initial identification information of the first device is Radio and its first private network identification information is 1001, the identification information of the first device may be: Radio 1001.
[0111] It should be noted that this application does not limit the addition position of the initial identification information of the first device. The first private network identification information may also be added before the device model, and the identification information of the first device is: first private network identification information + device general name (based on the previous example, it may be 1001Radio).
[0112] In other embodiments, the first private network identification information may also 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.
[0113] Thus, considering that the initial identification information of the first device is not highly distinguishable, it may be difficult for the second device to identify the identity of the first device. Therefore, the dedicated network identity of the first device is used to enhance the distinguishability of its identification information, enabling the user of the second device to determine the dedicated network identity of the first device that wants to establish a communication connection with the second device, which not only enhances convenience and recognizability but also enhances security.
[0114] In addition, when the user does not establish a communication connection through a dedicated network, the first device still has the initial identification information, which can conform to the user's original usage habits. Moreover, it can reduce the leakage of the first dedicated network identification information of the first device when not involving the dedicated network, further improving security.
[0115] In addition, in a possible implementation manner of the present application, the communication connection method may include: when the first device determines that a device without dedicated network identification information establishes a communication connection with the first device, the identification information of the first device can be restored to the initial identification information of the first device.
[0116] Exemplarily, 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 dedicated 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.
[0117] In some embodiments, after the first device and the second device successfully establish a communication connection, the first device can check whether the second device still maintains a communication connection with itself at a preset period. For example, the preset period can be 10s, 20s, etc.
[0118] Exemplarily, the first device can send a heartbeat packet to the second device at a preset period and detect whether a response from the second device can be received. If a response can be received, it indicates that the two still maintain a communication connection. If a response cannot be received, it indicates that the communication connection between the two is disconnected.
[0119] Thus, in the case where the first device establishes a communication connection with a device without dedicated network identification information, it indicates that the dedicated network identity of the first device is not required. Therefore, the identification information of the first device can be restored to avoid affecting the situation where the first device establishes a communication connection with other devices according to the conventional process.
[0120] As an example, refer 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 the present application, where the first device is on the hotspot sharing side.
[0121] As Figure 3As shown, it may include the following steps:
[0122] S301: In response to a user's trigger operation on the control for connecting via a private network identity on the hotspot and network sharing page, the first device enters a page including private network identification information.
[0123] S302: In response to a user's trigger operation on the second private network identification information, the first device turns on the hotspot and modifies the initial connection name of the hotspot of the first device to obtain the connection name of the hotspot.
[0124] S303: In response to a user's trigger operation on the second private network identification information, the first device sends a first communication connection request.
[0125] S304: If the second private network identification information is the private network identification information for identifying the group to which M second devices belong, the first device may receive second communication connection requests respectively sent by N second devices.
[0126] S305: If the second private network identification information is the information for identifying the private network identity of the second device, the first device may receive a second communication connection request sent by one second device.
[0127] S306: The first device and the second device share the network.
[0128] The first device sends information indicating that the first device agrees to establish a communication connection with the second device to the second device, indicating that the first device and the second device have successfully established a hotspot connection.
[0129] It should be noted that in the example where the second private network identification information is the private network identification information for identifying the group to which M second devices belong, the first device shares the network with N second devices.
[0130] In the example where the second private network identification information is the information for identifying the private network identity of the second device, the first device shares the network with the first second device.
[0131] S307: The first device periodically checks whether there are still second devices maintaining a communication connection with itself. If so, it executes S306; otherwise, it executes S308.
[0132] S308: The first device restores the connection name of the hotspot to the initial connection name of the hotspot.
[0133] The connection name of the hotspot is an example of the identification information of the hotspot mentioned above, and the initial connection name of the hotspot is an example of the initial identification information of the hotspot mentioned above.
[0134] It should be noted that the implementation manners of S301 - S308 can refer to the introduction of the implementation manners of S201 - 203 in the above embodiments, which will not be elaborated here.
[0135] Next, in combination with Figure 4 and Figure 5 the communication connection method when the second device is the execution subject will be introduced.
[0136] Refer to Figure 4 , this figure is a flowchart of another communication connection method provided by the embodiment of the present application. In combination with Figure 4 as shown, the following steps may specifically be included:
[0137] S401: The second device receives a first communication connection request.
[0138] Among them, 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 passing the identity authentication of the first device based on the communication connection information of the first device; the first device supports private network communication and identity authentication communication; the second private network identification information is used to indicate the target receiving device.
[0139] In some embodiments, the first device or the private network base station broadcasts the first communication connection request within the signal range of the second device, and the second device can receive the first communication connection request.
[0140] In a possible implementation manner of the present application, the communication connection may be a hotspot connection, then the communication connection information of the first device includes the identification information of the hotspot 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 passing the identity authentication of the first device based on the identification information and the connection password.
[0141] S402: If it is determined that the second device is 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.
[0142] After the second device receives the first communication connection request sent by the first device, it obtains the second private network identification information included therein. The second device determines that itself is the target receiving device corresponding to the second private network identification information, and based on the communication connection information of the first device, sends a second communication connection request to the first device.
[0143] In one embodiment, the second device determines that the second device is the target receiving device corresponding to the second private network identification information, including: confirming that the second private network identification information is the private network identity identification of the second device; or confirming that the second private network identification information is the group call identification in the group call receiving list of the second device.
[0144] In a possible implementation manner of this application, S402 may specifically include: when the second device determines that the second device is the target receiving device corresponding to the second private network identification information, it displays a prompt message for prompting the first device to request to establish a communication connection; in response to the user's consent operation on 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.
[0145] In some embodiments, the prompt message may include the first private network identification information of the first device and a prompt text for prompting the first device to request to establish a communication connection.
[0146] Exemplarily, taking the hotspot connection scenario as an example, the second device may pop up a window on the display screen to display the prompt message: Whether to connect to the hotspot: Radio 1001. Among them, "Radio 1001" is the identification information of the hotspot of the first device, "1001" therein is the first private network identification information of the first device, and "Whether to connect to the hotspot" is the prompt text for prompting the second device that it is the first device requesting to establish a hotspot connection.
[0147] In some embodiments, the second device may display an approval control on the display screen, for example, display this control in the popped-up window in the previous example. The user's consent operation on the prompt message may be the user's click operation on this approval control.
[0148] In this way, compared with the related art, in which the user needs to input cumbersome communication connection information such as the connection name and connection password of the first device on the second device, and if it is in plain text, it is also easy to cause information leakage, and the first device authenticates the identity of the second device. In the embodiment of this application, the first device can actively initiate a communication connection to the second device through the private network identity under the private network. The user only needs to perform a triggering operation of the second private network identification information on the first device, and the second device is used to perform an approval operation on the prompt message. 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. Therefore, it can ensure the secure transmission of the communication connection information of the first device, and on the basis of ensuring security, enable the second device to pass the identity authentication of the first device, and then realize the communication connection between the two.
[0149] In addition, in a possible implementation manner of the present application, when the second device determines that it is the target receiving device corresponding to the second private network identification information, it displays a prompt message for prompting the first device to request to establish a communication connection; in response to the user's rejection operation on the prompt message, the second device does not send information for instructing the second device to establish a communication connection with the first device to the first device.
[0150] In some embodiments, the second device may also display a rejection control on the display screen, for example, also display this control in the window popped up in the previous example. The user's rejection operation on the prompt message may be the user's click operation on the rejection control.
[0151] It should be noted that in the above example, the second device popping up a window to display the prompt message is only an example, and it may also be that the second device displays the prompt message in the pull-down notification interface. The present application does not make a limitation on this.
[0152] In addition, in some embodiments, when the first device is a trusted device of the second device, after the second device determines that it is the target receiving device corresponding to the second private network identification information, it may also automatically send a second communication connection request to the first device based on the communication connection information of the first device. The present application does not make a limitation on this.
[0153] In addition, in some embodiments, assuming that other devices except the first device and the second device also receive the second private network identification information, and the device determines that it is not the target receiving device corresponding to the second private network identification information, then the device may ignore the first communication connection request.
[0154] S403: The second device receives the information sent by the first device agreeing to establish a communication connection with the second device.
[0155] 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 and the first device have successfully established a communication connection.
[0156] It should be noted that for other implementation manners of S401 - S403, reference may be made to the introduction of S201 - S203, which will not be elaborated here.
[0157] 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 method for the second device to establish a communication connection provided by an embodiment of the present application, and the second device is on the hotspot connection side.
[0158] As shown in Figure 5 , the following steps may be included:
[0159] S501: The second device receives the first communication connection request sent by the first device.
[0160] 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 window to display a prompt message for prompting the first device to request to establish a communication connection.
[0161] S503: In response to the user's consent operation for 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.
[0162] S504: The second device and the first device share the network.
[0163] The second device receives the information sent by the first device for indicating that the first device agrees to establish a communication connection with the second device, indicating that the second device and the first device successfully establish a hotspot connection.
[0164] S505: The second device periodically checks whether the first device maintains a communication connection with itself. If so, execute S504; otherwise, end.
[0165] For ease of understanding, in combination with Figure 6 the shown hotspot connection scenario, the communication connection method provided by the embodiments of the present application is introduced in detail with the interaction between the first device and the second device. Figure 6 It is a schematic diagram of a communication connection method provided by the embodiments of the present application.
[0166] As Figure 6As shown in the figure, taking the first device and the second device as terminal devices that support private network communication and identity authentication communication, such as walkie-talkies, for example, this hotspot connection scenario includes the first device 101 and the second device 102. The first device can display a private network identity connection page, which includes the second private network identification information 11:1002 of the second device 102. The user can click on this 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, and the second device 102 can receive this first communication connection request. Then, when 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 identification in the group call receiving list of the second device (that is, the second device 102 determines that itself is the target receiving device corresponding to the second private network identification information), it can pop up a window to display a prompt message: Whether to connect to the hotspot: Radio 1001. This window can also include an approval control 12 and a rejection control 13. When the user clicks on the approval 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 indicating that the first device agrees to establish a communication connection with the second device, and the two successfully establish a hotspot connection.
[0167] The communication connection method provided by the embodiments of the present application will be introduced below in combination with actual applications.
[0168] Example 1: After the first device and the second device establish a communication connection, network sharing is realized.
[0169] In the current environment, there are two terminals, respectively identified as terminal S (ID: 1031) and terminal T (ID: 1032). Among them, terminal S has installed a mobile phone card and has the ability to connect to the mobile network; while terminal T has not installed a mobile phone card, but has a need to use the mobile network. In this scenario, a local area network sharing mechanism can be adopted to share the mobile network (that is, the hotspot connection scenario introduced above can share the network).
[0170] Among them, terminal S is the first device, "1031" is its first private network identification information, terminal T is the second device, and "1032" is its second private network identification information.
[0171] First, enable the "Mobile Network" function on terminal S, and then successively enter "Settings" -> "Network & Internet" -> "Hotspot & network sharing" -> "Connect via private network identity" configuration item. Subsequently, it will jump to the "Select contacts" interface (i.e., the page including the second private network identification information, which can be called the connect via private network identity page) to select the sharing object. On this interface, by selecting the contact with ID 1032 or directly entering the number "1032", that is, through the triggering operation on the second private network identification information, terminal T (ID: 1032) is clearly specified as the recipient.
[0172] After completing the above steps, terminal S will automatically turn on the hotspot function and send a WiFi connection request (i.e., the first communication connection request) to terminal T. Terminal T will immediately receive a pop-up prompt: "Do you want to connect to WIFI: Radio 1031" (i.e., display the prompt message). After the user confirms (i.e., the user's confirmation operation on the prompt message), the two parties will successfully establish a WiFi connection (i.e., a hotspot connection). In one implementation, it can also be that after the user confirms, terminal T initiates a communication connection to terminal S based on the connection information in the first communication connection request, and after terminal S passes the authentication, the two parties successfully establish a WiFi connection. Thereafter, terminal T can use the mobile network of terminal S to access the Internet through this WiFi connection, realizing the convenient sharing of mobile network resources.
[0173] Example 2: After the first device and the second device establish a communication connection, file sharing is realized.
[0174] In the current environment, there are two terminals, respectively identified as terminal A (ID: 1001) and terminal B (ID: 1002). Among them, terminal A is the first device, and "1001" is its first private network identification information, terminal B is the second device, and "1002" is its second private network identification information.
[0175] On terminal A, start the file manager and select one or more "files to be shared". Subsequently, click the "Share" function button, and the system will present a series of sharing options. Select "Share via private network identity" from them. This operation will jump to the "Select contacts" interface (i.e., the page including the second private network identification information). The conventional entry method for this interface can be "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).
[0176] On the "Select Contact" interface, 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 turn on its hotspot function and send a WiFi connection request to terminal B. Terminal B will then receive a pop-up prompt: "Do you want to connect to WIFI: Radio 1001". After confirmation, the two parties will establish a WiFi connection.
[0177] After the WiFi connection is successful, the file sharing process will start immediately. Terminal A uses the local area network connection to send a "File Transfer Request" to terminal B, listing all the "files to be shared". On terminal B, a pop-up notification for a file reception request will be received, clearly showing the list of shared files. You can choose to click the "Confirm" control to accept the file transfer, or click the "Cancel" control to reject the reception.
[0178] After the file transfer is completed, terminal A will display a message indicating successful transmission to confirm that the file has been successfully sent. At the same time, these newly received files can be directly accessed and managed in the "Files Received via LAN" directory of the file manager on terminal B.
[0179] Example 3: After the first device and the second device establish a communication connection, configuration sharing is achieved.
[0180] For example, the current environment contains multiple terminals, coded as M, N, O, and P respectively, where the walkie-talkie ID of terminal M is 1023. These terminals are all on standby in the same group Group 2001 (group call ID 2001) in the private network. Using the "one call, all respond" feature of private network communication, any terminal within the group can initiate one-to-many communication to ensure that the message is broadcast to all members.
[0181] Among them, terminal M is the first device, "1023" is its first private network identification information, and 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.
[0182] When terminal M enters the configuration copy page and selects any one of the frequency writing configuration or the system upgrade package, the system will automatically jump to the "Select Contact" page to establish a local area network. (The normal access path to this page is "Settings" -> "Network and Internet" -> "Hotspot and Network Sharing" -> "Connect via Private Network Identity" -> "Select Contact", which is designed to specify the sharing target). On this page, the user needs to select the group call contact with ID 2001 or enter the group call number "2001" to identify the entire group Group 2001 as the target. After confirming the selection, terminal M will turn on the hotspot and, through the group call function of the private network, send a WiFi connection request to all terminals within the group (terminals N, O, and P) at one time.
[0183] Upon receiving the request, terminals N, O, and P will each pop up a prompt box asking "Do you want to connect to WIFI: Radio 1023 (Group 2001)". After confirmation, the WiFi connection will be successfully established immediately, or the WiFi connection will be successfully established after the authentication of terminal M is successful. Immediately afterwards, terminal M will automatically send its local configuration file (which may be a frequency writing configuration or a system upgrade package according to the previous selection) to terminals N, O, and P via the local area network.
[0184] On terminals N, O, and P, a pop-up window for receiving a configuration file request will be received respectively, clearly showing the information of the configuration file to be transmitted. The user can click "Confirm" to receive the file, or click "Cancel" to reject the reception. Once the file transmission is completed, terminal M will display a prompt indicating successful transmission, while terminals N, O, and P will receive an inquiry "Do you want to upgrade the local configuration according to the received configuration file?". After the user confirms, each terminal will perform the corresponding configuration upgrade operation.
[0185] Thus, based on the introduction of the above embodiments, the communication connection method provided by the embodiments of the present application can, by virtue of the existing private network identity of the second device, through the private network, enable the first device to directly identify the identity of the second device without the user of the second device selecting the first device and performing cumbersome operations such as inputting communication connection information such as the connection name and connection password of the first device. Moreover, the security of private network communication is higher, so it can ensure the secure transmission of the communication connection information of the first device, and on the basis of ensuring security, enable the second device to pass the identity authentication of the first device, which can simplify the user operation and improve the user experience.
[0186] In addition, the first device can automatically modify the identification information based on its own private network identity to improve the recognition rate, enabling the second device to clearly identify the identity of the first device and further improving the user experience.
[0187] The above are some specific implementation manners of the communication connection method provided by the embodiments of the present application. Based on this, the present application also provides a corresponding communication device. Next, the communication device provided by the embodiments of the present application will be introduced from the perspective of functional modularization.
[0188] See Figure 7 , this figure is a schematic structural diagram of a communication device provided by the embodiments of the present application. The communication device 700 may include: a processing unit 720 and a transceiver unit 710.
[0189] In a 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.
[0190] A transceiver unit 710, configured to send a first communication connection request based on a private network in response to a trigger operation for second private network identification information.
[0191] Wherein, 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 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 passing the identity authentication of the first device based on the communication connection information of the first device.
[0192] The transceiver unit 710 is further configured to receive a second communication connection request sent by a second device; wherein, 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 identity authentication communication; the second communication connection request is generated by the second device based on the communication connection information of the first device.
[0193] The transceiver unit 710 is further configured to, in response to receiving the second communication connection request, send information indicating that the first device agrees to establish a communication connection with the second device to the second device.
[0194] In a possible implementation, the second private network identification information is information used to identify the private network identity of a group to which M target devices belong. Correspondingly, the transceiver unit 710 is configured to receive second communication connection requests respectively sent by N second devices; the N second devices are group members corresponding to the second private network identification information; M≥N; Correspondingly, the transceiver unit 710 is configured to, in response to receiving the second communication connection requests respectively sent by the N second devices, send information indicating that the first device agrees to establish a communication connection with the second device to the N second devices respectively.
[0195] In a 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 one device.
[0196] In a possible implementation, a processing unit 720 is configured to, in response to a trigger operation for the second private network identification information, modify the initial identification information for the identity authentication 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.
[0197] In a possible implementation, the processing unit 720 is configured to determine that when another device establishes a communication connection with the first device through a conventional method, the identification information of the first device is restored to the initial identification information for the identity authentication of the first device.
[0198] In a 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 passing the identity authentication of the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0199] In a possible design, the communication device 700 may correspond to the second device in the above method embodiment, and the communication device 700 can be configured to execute the steps or processes performed by the second device in any of the above method embodiments.
[0200] The transceiver unit 710 is configured to receive a first communication connection request;
[0201] Wherein, 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 device corresponding to the second private network identification information to establish a communication connection with the first device after passing the identity authentication of the first device based on the communication connection information of the first device; the first device supports private network communication and identity authentication communication; the second private network identification information is used to indicate the target receiving device;
[0202] 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 the second private network identification information is the group call identification in the private network group call receiving list of the second device. The 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;
[0203] The transceiver unit 710 is configured to receive the information sent by the first device agreeing to establish a communication connection with the second device.
[0204] In a possible implementation, a 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 the second private network identification information is a group call identification in the private network group call reception list of the second device, and then display a prompt message for prompting the first device to request to establish a communication connection; a transceiver unit 710 is configured to, in response to an approval operation on the prompt message, send a second communication connection request to the first device based on the communication connection information of the first device.
[0205] In a possible implementation, the communication connection information of the first device includes the identification information of the hotspot 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 passing the identity authentication of the first device based on the identification information of the hotspot and the connection password of the hotspot.
[0206] An embodiment of the present application further provides a communication device, which includes a processor coupled to a memory, and a program or instruction for executing the communication connection method introduced in any of the above embodiments is stored in the memory.
[0207] Exemplarily, the communication device may correspond to the first device in the above method embodiment.
[0208] Again exemplarily, the communication device may correspond to the second device in the above method embodiment.
[0209] An embodiment of the present application further provides a computer-readable storage medium and a computer program product for implementing the solution provided in the embodiment of the present application.
[0210] A computer program is stored in the computer-readable storage medium, and when the computer program is run, the communication connection method described in any embodiment of the present application is implemented.
[0211] The computer program product includes computer program code, and when the computer program code is executed by an electronic device (the first device or the second device), the above communication connection method is implemented.
[0212] In the embodiments of the present application, the "first", "second" (if any) in the names such as "first" and "second" are only used as name identifiers and do not represent the first and second in order.
[0213] As can be seen from the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the above method embodiments can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, and 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 for causing a wireless communication device (which can be a walkie-talkie, a base station, or a network communication device such as an Internet of Things communication device) to execute the methods described in various embodiments or some parts of the embodiments of the present application.
[0214] It should be noted that the embodiments in this specification are all described in a progressive manner. The same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on 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 partial description of the method embodiments. The device embodiments described above are only illustrative. The units described as separated components may or may not be physically separated, and the components prompted as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.
[0215] The above is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A communication connection method, characterized in that, Applied to a first device, the first device supports private network communication and identity authentication communication, including: In response to a trigger operation for second private network identification information, send a first communication connection request based on the private network; Wherein, 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 is used to indicate that the target receiving device corresponding to the second private network identification information establishes a communication connection with the first device after passing the identity authentication of the first device based on the communication connection information of the first device; Receive a second communication connection request sent by a second device; wherein, 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 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, send information indicating that the first device agrees to establish a communication connection with the second device to 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 a group to which M target receiving devices belong. Receiving the second communication connection request sent by the second device includes: Receive second communication connection requests respectively sent by N of the second devices; N of the second devices are group members corresponding to the second private network identification; M≥N; The step of, in response to receiving the second communication connection request, sending information indicating that the first device agrees to establish a communication connection with the second device to the second device includes: In response to receiving second communication connection requests respectively sent by N of the second devices, send information indicating that the first device agrees to establish a communication connection with the second device to N of the second devices respectively.
3. The method according to claim 1, wherein The second private network identification information is information used to identify the private network identity of the second device, and the second device 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 a trigger operation for the second private network identification information, modify the initial identification information for the identity authentication 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.
5. The method according to claim 4, wherein The method further includes: Determine that no device with private network identification information has established a communication connection with the first device, and restore the identification information of the first device to the initial identification information for the identity authentication of the first device.
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 passing the identity authentication of 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 identity authentication communication, including: Receiving a first communication connection request; Wherein, the first communication connection request includes second private network identification information and the communication connection information of a 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 passing the identity authentication of the first device based on the communication connection information of the first device; the first device supports private network communication and identity 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. Determining that the second device is the target receiving device corresponding to the second private network identification information, and then sending a second communication connection request to the first device based on the communication connection information of the first device; Receiving the information sent by the first device consenting to establish a communication connection with the second device.
8. The method according to claim 7, wherein The determining that the second device is the target receiving device corresponding to the second private network identification information, and then sending a second communication connection request to the first device based on the communication connection information of the first device, includes: Determining that the second device is the target receiving device corresponding to the second private network identification information, and then displaying a prompt message for prompting the first device to request to establish a communication connection; In response to an approval operation on the prompt message, sending a second communication connection request 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 identification information of the hotspot 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 passing the identity authentication of the first device based on the identification information of the hotspot and the connection password of the hotspot.
10. A communication device, characterized in that, The device includes a processing unit and a transceiver unit, and the device is used to execute the program or instruction of the communication connection method as described in any one of claims 1 to 6, or execute the program or instruction of the communication connection method as described in any one of claims 7 to 9.