WO2019061116A1 - Terminal pairing method, server and terminal - Google Patents

Terminal pairing method, server and terminal Download PDF

Info

Publication number
WO2019061116A1
WO2019061116A1 PCT/CN2017/103837 CN2017103837W WO2019061116A1 WO 2019061116 A1 WO2019061116 A1 WO 2019061116A1 CN 2017103837 W CN2017103837 W CN 2017103837W WO 2019061116 A1 WO2019061116 A1 WO 2019061116A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
pairing
server
request
identity
Prior art date
Application number
PCT/CN2017/103837
Other languages
French (fr)
Chinese (zh)
Inventor
李伟伟
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to CN201780097099.3A priority Critical patent/CN111373709B/en
Priority to PCT/CN2017/103837 priority patent/WO2019061116A1/en
Publication of WO2019061116A1 publication Critical patent/WO2019061116A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a terminal pairing method, a server, and a terminal.
  • the user In the process of using the terminal by the user, the user often needs to pair his own terminal with other terminals, and then perform communication transmission between the terminals through the paired communication channel.
  • the user A and the user B bring the respective terminals close to each other, and establish a communication channel between the two terminals by using infrared, Bluetooth or Near Field Communication (NFC), so that the two The terminals are paired with each other and communicated.
  • NFC Near Field Communication
  • This terminal pairing method is limited by the propagation distance of infrared, Bluetooth or NFC.
  • the embodiment of the present invention provides a terminal pairing method, a server, and a terminal, which can perform pairing between terminals remotely, so that the pairing of the terminal is not limited by the distance.
  • an embodiment of the present invention provides a terminal pairing method, which is applied to a server, and includes:
  • the server forwards the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
  • the server After the server receives the second pairing code sent by the second terminal, the server determines whether the first pairing code and the second pairing code are the same;
  • the server establishes a communication channel between the first terminal and the second terminal;
  • the server sends pairing success information to the first terminal and the second terminal.
  • the server sends pairing success information to the first terminal and the second terminal, including:
  • the server determines whether the first terminal and the second terminal are in the same local area network
  • the server sends pairing success information to the first terminal and the second terminal;
  • the server sends the pairing success information and the preset animation to the first terminal and the second terminal, where the preset animation is used to indicate the first terminal and the second terminal a terminal and the first The second terminal is located on the same local area network.
  • the pairing request further includes an identity of the first terminal, so that the second terminal device displays the identity of the first terminal to a user to which the second terminal belongs;
  • the method further includes:
  • the server sends the identity of the second terminal to the first terminal
  • the server sends an identity information acquisition request to the second terminal;
  • an embodiment of the present invention provides a terminal pairing method, which is applied to a first terminal, and includes:
  • the first terminal receives pairing success information sent by the server.
  • an embodiment of the present invention provides a terminal pairing method, which is applied to a second terminal, and includes:
  • the second terminal receives pairing success information sent by the server.
  • an embodiment of the present invention provides a server, including:
  • a receiving module configured to receive a pairing request sent by the first terminal for the second terminal, and a first pairing code corresponding to the first terminal;
  • a requesting module configured to forward the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
  • a determining module configured to determine, after the receiving module receives the second pairing code sent by the second terminal, whether the first pairing code and the second pairing code are the same;
  • Establishing a module configured to establish a communication channel between the first terminal and the second terminal when the judgment result of the determining module is the same;
  • a prompting module configured to send pairing success information to the first terminal and the second terminal.
  • the determining module is further configured to determine the first terminal and the second terminal Whether it is on the same local area network;
  • the prompting module is configured to send pairing success information to the first terminal and the second terminal when the determining result of the determining module is in the same local area network; the determining result of the determining module is not Sending the pairing success information and the preset animation to the first terminal and the second terminal when the same local area network is used, the preset animation is used to indicate the first terminal to the first terminal and the second terminal And the second terminal is located on the same local area network.
  • the pairing request further includes an identity of the first terminal, so that the second terminal device displays the identity of the first terminal to a user to which the second terminal belongs;
  • the server further includes: a sending module;
  • the determining module is further configured to determine whether an identity identifier of the second terminal is stored in the local database
  • the sending module is configured to send the identity identifier of the second terminal to the first terminal;
  • the requesting module is further configured to send an identity information acquiring request to the second terminal;
  • the receiving module is further configured to receive an identity identifier of the second terminal sent by the second terminal;
  • the sending module is configured to send the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to a user to which the first terminal belongs.
  • the embodiment of the present invention provides a terminal, where the terminal is a first terminal, and includes:
  • a sending module configured to send, to the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal
  • a receiving module configured to receive pairing success information sent by the server.
  • the embodiment of the present invention provides a terminal, where the terminal is a second terminal, including:
  • a receiving module configured to receive, by the server, a pairing request sent by the first terminal to the server, where the pairing request is used to request a second pairing code corresponding to the second terminal;
  • a sending module configured to send the second pairing code to the server
  • the receiving module is further configured to receive pairing success information sent by the server.
  • an embodiment of the present invention provides a terminal pairing system, including a server, a first terminal, and a second terminal, where the server is configured to perform the method of the foregoing first aspect, where the first terminal is configured to perform The method of the second aspect, the second terminal is configured to perform the method of the third aspect.
  • the present invention further provides a server, including: a memory, a processor, and a computer program,
  • the computer program is stored in the memory, the processor running the computer program to perform the terminal pairing method described in the first aspect and various possible designs of the first aspect.
  • the present invention provides a terminal, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the second aspect and the second aspect
  • a terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the second aspect and the second aspect
  • the present invention further provides a terminal, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to perform the third aspect and the third aspect
  • a terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to perform the third aspect and the third aspect
  • the present invention further provides a readable storage medium, where the execution instruction is stored in the readable storage medium, and when the at least one processor of the terminal executes the execution instruction, the terminal performs various possible design provided above. Terminal pairing method.
  • the present invention also provides a program product, the program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the terminal implements the terminal pairing methods provided by the various possible designs described above.
  • the technical solution provided by the embodiment of the present invention is that the server receives the pairing request for the second terminal and the first pairing code corresponding to the first terminal, and the server forwards the pairing request to the second terminal, and the pairing is performed by the server.
  • the request is for requesting a second pairing code corresponding to the second terminal; after the server receives the second pairing code sent by the second terminal, the server determines whether the first pairing code and the second pairing code are the same; if yes, the server establishes the first a communication channel between the terminal and the second terminal; the server sends the pairing success information to the first terminal and the second terminal, thereby implementing remote pairing between the terminals, so that the pairing of the terminal is not limited by the distance.
  • FIG. 1 is a schematic diagram of a system architecture of a terminal pairing method provided by the present invention.
  • FIG. 2 is a schematic flowchart of a terminal pairing method in Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a terminal pairing method in Embodiment 2 of the present invention.
  • FIG. 4 is a schematic flowchart of a terminal pairing method in Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of a server provided by the present invention.
  • FIG. 6 is a schematic structural diagram of a first terminal provided by the present invention.
  • FIG. 7 is a schematic structural diagram of a second terminal provided by the present invention.
  • FIG. 8 is a schematic structural diagram of hardware of a server provided by the present invention.
  • FIG. 9 is a schematic structural diagram of hardware of a terminal provided by the present invention.
  • FIG. 1 is a schematic diagram of a system architecture of a terminal pairing method according to the present invention.
  • the system architecture includes a first terminal 101, a server 102, and a second terminal 103.
  • the first terminal and the second terminal respectively pass through the server.
  • the first terminal 101 and the second terminal 103 may be wireless terminals.
  • a wireless terminal can be a device that provides voice and/or other service data connectivity to a user.
  • the wireless terminal can be a mobile terminal, such as a mobile telephone (or "cellular" telephone), for example, can be a portable, pocket-sized, handheld mobile device.
  • the server can be either a carrier's server or a third-party server. After the first terminal sends a pairing request for the second terminal to the server, the server may pair the first terminal and the second terminal, so that the two can complete operations such as calling, transferring files, and the like.
  • the terminal pairing method provided by the present invention aims to solve the above technical problems of the prior art.
  • FIG. 2 is a schematic flowchart of a terminal pairing method according to Embodiment 1 of the present invention. As shown in FIG. 2, the terminal pairing method includes:
  • the server receives a pairing request for the second terminal and a first pairing code corresponding to the first terminal, sent by the first terminal.
  • the first terminal belongs to the first user
  • the second terminal belongs to the second user
  • the first terminal sends a pairing request for the second terminal to the server and a first pairing code corresponding to the first terminal
  • the server receives the first a pairing request sent by the terminal for the second terminal and a first pairing code corresponding to the first terminal.
  • the first terminal and the server implement a remote communication connection through a network.
  • the first terminal is a mobile phone, and the first user starts the pairing application on the first terminal, and the first terminal sends a pairing request to the server, and the server receives the pairing request for the second terminal and the first terminal sent by the first terminal.
  • Corresponding first pairing code The pairing means that the second terminal and the first terminal are mutually matched, and the paired first terminal and the second terminal can communicate with each other to realize mutual communication or mutual transmission of files or mutual control.
  • the first pairing code may be a code consisting of four digits of Arabic numerals, for example, the first terminal transmits a first pairing code "0000" to the server.
  • the server forwards a pairing request to the second terminal, where the pairing request is used to obtain a second pairing code corresponding to the second terminal.
  • the server forwards the pairing request to the second terminal, the pairing request is used to obtain a second pairing code corresponding to the second terminal, and the second terminal receives the pairing request forwarded by the server to the server by the first terminal, and the pairing request is used for A second pairing code corresponding to the second terminal is requested.
  • the second terminal and the server implement a remote communication connection through the network.
  • the server After receiving the pairing request sent by the first terminal, the server forwards a pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal.
  • the second terminal sends a second pairing code to the server, corresponding to the foregoing, and the second pairing code is a code consisting of four digits of Arabic numerals.
  • the second terminal sends a second pairing code to the server.
  • the server receives the second pairing code sent by the second terminal.
  • the server determines whether the first pairing code and the second pairing code are the same. If yes, execute S105. If not, the process ends.
  • the server establishes a communication channel between the first terminal and the second terminal.
  • the second pairing code is the same as the first pairing code
  • the server establishes a communication channel between the first terminal and the second terminal, so that the first terminal and the second terminal Paired connection, the paired first terminal and the second terminal can communicate with each other to realize mutual communication or mutual transfer of files or mutual control.
  • the server sends pairing success information to the first terminal and the second terminal.
  • the pairing success information may be a display box for displaying the words “pairing success” to the first user of the first terminal and the second user of the second terminal.
  • the server sends the pairing success information to the first terminal and the second terminal, the first terminal receives the pairing success information sent by the server, and the second terminal receives the pairing success information sent by the server.
  • FIG. 3 is a schematic flowchart of a method for pairing a terminal according to Embodiment 2 of the present invention.
  • This embodiment provides a specific implementation manner in which the server sends pairing success information to the first terminal and the second terminal. The details are as follows, including:
  • the server determines whether the first terminal and the second terminal are in the same local area network. If not, S302 is executed, and if so, S303 is executed.
  • the server when the first terminal is connected to the server, the server can obtain the network address where the first terminal is located, and when the second terminal is connected to the server, the server can obtain the network address where the second terminal is located.
  • the server determines whether the first terminal and the second terminal are in the same local area network by determining whether the network address where the first terminal is located and the network address where the second terminal is located are the same.
  • the server sends pairing success information to the first terminal and the second terminal.
  • the server determines that the first terminal and the second terminal are located at different network addresses, the server only sends the pairing success information to the first terminal and the second terminal.
  • the server sends the pairing success information and the preset animation to the first terminal and the second terminal.
  • the preset animation is used to indicate to the first terminal and the second terminal that the first terminal and the second terminal are located in the same local area network.
  • the server determines that the first terminal and the second terminal are located at the same network address
  • the server sends the pairing success information and the preset animation to the first terminal and the second terminal, and the preset animation is used to indicate the first terminal to the first terminal and the second terminal. It is located on the same local area network as the second terminal.
  • first terminal and the second terminal are located at the same network address, for example, the first user operates the first terminal and the second user operates the second terminal in the same campus network, and can receive the preset animation. For example, a love animation to alert the first user and the second user.
  • the terminal pairing method includes: the pairing request further includes an identity identifier of the first terminal, And causing the second terminal device to display the identity of the first terminal to the user to which the second terminal belongs;
  • the method further includes:
  • the server determines whether the identity of the second terminal is stored in the local database.
  • the server sends the identity of the second terminal to the first terminal.
  • the server sends an identity information acquisition request to the second terminal.
  • the server receives the identity of the second terminal sent by the second terminal, and forwards the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to the user to which the first terminal belongs.
  • the first terminal can obtain the identity of the second terminal to prompt the user.
  • FIG. 5 is a schematic structural diagram of a server provided by the present invention. As shown in FIG. 5, the server 50 includes:
  • the receiving module 51 is configured to receive a pairing request sent by the first terminal for the second terminal and a first pairing code corresponding to the first terminal;
  • the requesting module 52 is configured to forward a pairing request to the second terminal, where the pairing request is used to obtain a second pairing code corresponding to the second terminal;
  • the determining module 53 is configured to determine, after the receiving module receives the second pairing code sent by the second terminal, whether the first pairing code and the second pairing code are the same;
  • the establishing module 54 is configured to establish a communication channel between the first terminal and the second terminal when the determination result of the determining module is the same;
  • the prompting module 55 is configured to send pairing success information to the first terminal and the second terminal.
  • the determining module in the server is further configured to determine whether the first terminal and the second terminal are in the same local area network
  • the prompting module is specifically configured to: when the judgment result of the determining module is in the same local area network, send the pairing success information to the first terminal and the second terminal; when the determining result of the determining module is not in the same local area network, send the pairing success information and the pre- An animation is provided to the first terminal and the second terminal, and the preset animation is used to indicate to the first terminal and the second terminal that the first terminal and the second terminal are located on the same local area network.
  • the pairing request in the server further includes the identity of the first terminal, so that the second terminal device displays the identity of the first terminal to the user to which the second terminal belongs;
  • the server further includes: a sending module 56;
  • the determining module is further configured to determine whether the identity of the second terminal is stored in the local database
  • the sending module is configured to send the identity of the second terminal to the first terminal;
  • the requesting module is further configured to send an identity information obtaining request to the second terminal;
  • the receiving module is further configured to receive an identity of the second terminal sent by the second terminal;
  • the sending module is configured to send the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to the user to which the first terminal belongs.
  • FIG. 6 is a schematic structural diagram of a first terminal provided by the present invention. As shown in FIG. 6, the first terminal 60 includes:
  • the sending module 61 is configured to send, to the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
  • the receiving module 62 is configured to receive pairing success information sent by the server.
  • FIG. 7 is a schematic structural diagram of a second terminal according to the present invention. As shown in FIG. 7, the second terminal 70 includes:
  • the receiving module 71 is configured to receive a pairing request that is sent by the server and sent by the first terminal to the server, where the pairing request is used to obtain a second pairing code corresponding to the second terminal;
  • the sending module 72 is configured to send a second pairing code to the server.
  • the receiving module is further configured to receive pairing success information sent by the server.
  • FIG. 8 is a schematic structural diagram of a hardware of a server provided by the present invention.
  • the server 80 includes: a processor 81 and a memory 82;
  • the memory 82 is configured to store a computer program, and the memory may also be a flash memory.
  • the processor 81 is configured to execute an execution instruction of the memory storage to implement each step in the terminal pairing method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 82 can be either standalone or integrated with the processor 81.
  • the server 80 may further include:
  • a bus 83 is provided for connecting the memory 82 and the processor 81.
  • the present invention also provides a readable storage medium having executable instructions stored therein, and when the at least one processor of the server executes the execution instructions, the server performs the terminal pairing method provided by the various embodiments described above.
  • the present invention also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the server may read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the server implements the terminal pairing methods provided by the various embodiments described above.
  • FIG. 9 is a schematic structural diagram of hardware of a terminal provided by the present invention. As shown in FIG. 9, the terminal 90 includes: a processor 91 and a memory 92;
  • the memory 92 is configured to store a computer program, and the memory may also be a flash memory.
  • the processor 91 is configured to execute an execution instruction of the memory storage to implement each step in the terminal pairing method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 92 can be either standalone or integrated with the processor 91.
  • the terminal 90 may further include:
  • a bus 93 is provided for connecting the memory 92 and the processor 91.
  • the present invention further provides a readable storage medium.
  • the readable storage medium stores execution instructions.
  • the terminal executes the terminal pairing method provided by the various embodiments described above.
  • the present invention also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the terminal can read the execution instruction from the readable storage medium, at least one The processor executes the execution instructions such that the terminal implements the terminal pairing method provided by the various embodiments described above.
  • the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or other general-purpose processor, digital signal processor (English: Digital Signal Processor) , referred to as: DSP), ASIC (English: Application Specific Integrated Circuit, referred to as: ASIC).
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the present invention may be directly embodied by the completion of the execution of the hardware processor or by a combination of hardware and software modules in the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the present invention relate to the technical field of communications, and in particular, to a terminal pairing method, a server and a terminal. The present invention provides a terminal pairing method which is used for a server, and comprises: a server receiving a pairing request, sent by a first terminal, for a second terminal and a first pairing code corresponding to the first terminal the server sending the pairing request to the second terminal, the pairing request being used for retrieving a second pairing code corresponding to the second terminal; after the server receives the second pairing code sent by the second terminal, the server determining whether the first pairing code is identical to the second pairing code; if so, the server establishing a communication channel between the first terminal and the second terminal; and the server sending information indicating successful pairing to the first terminal and the second terminal. The terminal pairing method can remotely implement pairing between terminals, so that pairing of terminals is not limited by a distance.

Description

终端配对方法、服务器及终端Terminal pairing method, server and terminal 技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及终端配对方法、服务器及终端。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a terminal pairing method, a server, and a terminal.
背景技术Background technique
在用户使用终端的过程中,用户经常需要将自己的终端与其它终端进行配对,进而通过配对的通信通道进行终端之间的通信传输。In the process of using the terminal by the user, the user often needs to pair his own terminal with other terminals, and then perform communication transmission between the terminals through the paired communication channel.
现有技术中的终端配对方法,是由用户A和用户B将各自的终端靠近,利用红外、蓝牙或近场通信NFC(Near Field Communication)建立两个终端之间的通信通道,使这两个终端相互配对并进行通信传输。In the terminal pairing method in the prior art, the user A and the user B bring the respective terminals close to each other, and establish a communication channel between the two terminals by using infrared, Bluetooth or Near Field Communication (NFC), so that the two The terminals are paired with each other and communicated.
该种终端配对方法配受限于红外、蓝牙或NFC的传播距离。This terminal pairing method is limited by the propagation distance of infrared, Bluetooth or NFC.
发明内容Summary of the invention
本发明实施例提供终端配对方法、服务器及终端,可以在远程实现终端之间的配对,使终端的配对不受距离的限制。The embodiment of the present invention provides a terminal pairing method, a server, and a terminal, which can perform pairing between terminals remotely, so that the pairing of the terminal is not limited by the distance.
第一方面,本发明实施例提供了一种终端配对方法,应用于服务器,包括:In a first aspect, an embodiment of the present invention provides a terminal pairing method, which is applied to a server, and includes:
服务器接收第一终端发送的针对第二终端的配对请求以及与所述第一终端对应的第一配对码;Receiving, by the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
所述服务器向所述第二终端转发所述配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;The server forwards the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
在所述服务器接收到所述第二终端发送的所述第二配对码后,所述服务器判断所述第一配对码和所述第二配对码是否相同;After the server receives the second pairing code sent by the second terminal, the server determines whether the first pairing code and the second pairing code are the same;
若是,则所述服务器建立所述第一终端和所述第二终端之间的通信通道;If yes, the server establishes a communication channel between the first terminal and the second terminal;
所述服务器发送配对成功信息至所述第一终端和所述第二终端。The server sends pairing success information to the first terminal and the second terminal.
在一种可能的设计中,所述服务器发送配对成功信息至所述第一终端和所述第二终端,包括:In a possible design, the server sends pairing success information to the first terminal and the second terminal, including:
所述服务器判断所述第一终端和所述第二终端是否处于同一局域网;The server determines whether the first terminal and the second terminal are in the same local area network;
若否,则所述服务器发送配对成功信息至所述第一终端和所述第二终端;If not, the server sends pairing success information to the first terminal and the second terminal;
若是,则所述服务器发送配对成功信息以及预设动画至所述第一终端和所述第二终端,所述预设动画用于向所述第一终端和所述第二终端指示所述第一终端和所述第 二终端位于同一局域网。If yes, the server sends the pairing success information and the preset animation to the first terminal and the second terminal, where the preset animation is used to indicate the first terminal and the second terminal a terminal and the first The second terminal is located on the same local area network.
在一种可能的设计中,所述配对请求中还包括所述第一终端的身份标识,以使所述第二终端设备向所述第二终端所属用户显示所述第一终端的身份标识;In a possible design, the pairing request further includes an identity of the first terminal, so that the second terminal device displays the identity of the first terminal to a user to which the second terminal belongs;
在所述服务器接收所述第二终端发送的第二配对码之后,还包括:After the server receives the second pairing code sent by the second terminal, the method further includes:
所述服务器判断本地数据库中是否存储有所述第二终端的身份标识;Determining, by the server, whether an identity identifier of the second terminal is stored in the local database;
若是,则所述服务器向所述第一终端发送所述第二终端的身份标识;If yes, the server sends the identity of the second terminal to the first terminal;
若否,则所述服务器向所述第二终端发送身份信息获取请求;If not, the server sends an identity information acquisition request to the second terminal;
所述服务器接收所述第二终端发送的所述第二终端的身份标识,并向所述第一终端转发所述第二终端的身份标识,以使所述第一终端向所述第一终端所属的用户显示所述第二终端的身份标识。Receiving, by the server, the identity of the second terminal that is sent by the second terminal, and forwarding the identity of the second terminal to the first terminal, so that the first terminal is to the first terminal The associated user displays the identity of the second terminal.
第二方面,本发明实施例提供了一种终端配对方法,应用于第一终端,包括:In a second aspect, an embodiment of the present invention provides a terminal pairing method, which is applied to a first terminal, and includes:
所述第一终端向服务器发送针对第二终端的配对请求以及与所述第一终端对应的第一配对码;Transmitting, by the first terminal, a pairing request for the second terminal and a first pairing code corresponding to the first terminal to the server;
所述第一终端接收所述服务器发送的配对成功信息。The first terminal receives pairing success information sent by the server.
第三方面,本发明实施例提供了一种终端配对方法,应用于第二终端,包括:In a third aspect, an embodiment of the present invention provides a terminal pairing method, which is applied to a second terminal, and includes:
所述第二终端接收服务器转发的由第一终端发送给所述服务器的配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;Receiving, by the second terminal, a pairing request sent by the first terminal to the server, where the pairing request is used to request a second pairing code corresponding to the second terminal;
所述第二终端向所述服务器发送所述第二配对码;Sending, by the second terminal, the second pairing code to the server;
所述第二终端接收所述服务器发送的配对成功信息。The second terminal receives pairing success information sent by the server.
第四方面,本发明实施例提供了一种服务器,包括:In a fourth aspect, an embodiment of the present invention provides a server, including:
接收模块,用于接收第一终端发送的针对第二终端的配对请求以及与所述第一终端对应的第一配对码;a receiving module, configured to receive a pairing request sent by the first terminal for the second terminal, and a first pairing code corresponding to the first terminal;
请求模块,用于向所述第二终端转发所述配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;a requesting module, configured to forward the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
判断模块,用于在所述接收模块接收到所述第二终端发送的所述第二配对码后,判断所述第一配对码和所述第二配对码是否相同;a determining module, configured to determine, after the receiving module receives the second pairing code sent by the second terminal, whether the first pairing code and the second pairing code are the same;
建立模块,用于在所述判断模块的判断结果为相同时,建立所述第一终端和所述第二终端之间的通信通道;Establishing a module, configured to establish a communication channel between the first terminal and the second terminal when the judgment result of the determining module is the same;
提示模块,用于发送配对成功信息至所述第一终端和所述第二终端。a prompting module, configured to send pairing success information to the first terminal and the second terminal.
在一种可能的设计中,所述判断模块,还用于判断所述第一终端和所述第二终端 是否处于同一局域网;In a possible design, the determining module is further configured to determine the first terminal and the second terminal Whether it is on the same local area network;
所述提示模块,具体用于在所述判断模块的判断结果为处于同一局域网时,发送配对成功信息至所述第一终端和所述第二终端;在所述判断模块的判断结果为不处于同一局域网时,发送配对成功信息以及预设动画至所述第一终端和所述第二终端,所述预设动画用于向所述第一终端和所述第二终端指示所述第一终端和所述第二终端位于同一局域网。The prompting module is configured to send pairing success information to the first terminal and the second terminal when the determining result of the determining module is in the same local area network; the determining result of the determining module is not Sending the pairing success information and the preset animation to the first terminal and the second terminal when the same local area network is used, the preset animation is used to indicate the first terminal to the first terminal and the second terminal And the second terminal is located on the same local area network.
在一种可能的设计中,所述配对请求中还包括所述第一终端的身份标识,以使所述第二终端设备向所述第二终端所属用户显示所述第一终端的身份标识;所述服务器还包括:发送模块;In a possible design, the pairing request further includes an identity of the first terminal, so that the second terminal device displays the identity of the first terminal to a user to which the second terminal belongs; The server further includes: a sending module;
所述判断模块,还用于判断本地数据库中是否存储有所述第二终端的身份标识;The determining module is further configured to determine whether an identity identifier of the second terminal is stored in the local database;
若所述判断模块判断所述本地数据库中已经存储第二终端的身份标识时,所述发送模块,用于向所述第一终端发送所述第二终端的身份标识;If the determining module determines that the identity identifier of the second terminal is already stored in the local database, the sending module is configured to send the identity identifier of the second terminal to the first terminal;
若所述判断模块判断所述本地数据库中没有存储第二终端的身份标识时,所述请求模块,还用于向所述第二终端发送身份信息获取请求;If the determining module determines that the identity identifier of the second terminal is not stored in the local database, the requesting module is further configured to send an identity information acquiring request to the second terminal;
所述接收模块,还用于接收所述第二终端发送的所述第二终端的身份标识;The receiving module is further configured to receive an identity identifier of the second terminal sent by the second terminal;
所述发送模块,用于向所述第一终端发送所述第二终端的身份标识,以使所述第一终端向所述第一终端所属的用户显示所述第二终端的身份标识。The sending module is configured to send the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to a user to which the first terminal belongs.
第五方面,本发明实施例提供了一种终端,所述终端为第一终端,包括:In a fifth aspect, the embodiment of the present invention provides a terminal, where the terminal is a first terminal, and includes:
发送模块,用于向服务器发送针对第二终端的配对请求以及与所述第一终端对应的第一配对码;a sending module, configured to send, to the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
接收模块,用于接收所述服务器发送的配对成功信息。And a receiving module, configured to receive pairing success information sent by the server.
第六方面,本发明实施例提供了一种终端,所述终端为第二终端,包括:In a sixth aspect, the embodiment of the present invention provides a terminal, where the terminal is a second terminal, including:
接收模块,用于接收服务器转发的由第一终端发送给所述服务器的配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;a receiving module, configured to receive, by the server, a pairing request sent by the first terminal to the server, where the pairing request is used to request a second pairing code corresponding to the second terminal;
发送模块,用于向所述服务器发送所述第二配对码;a sending module, configured to send the second pairing code to the server;
所述接收模块,还用于接收所述服务器发送的配对成功信息。The receiving module is further configured to receive pairing success information sent by the server.
第七方面,本发明实施例提供了一种终端配对系统,包括服务器、第一终端和第二终端,其中,所述服务器用于执行上述第一方面的方法,所述第一终端用于执行第二方面的方法,所述第二终端用于执行第三方面的方法。According to a seventh aspect, an embodiment of the present invention provides a terminal pairing system, including a server, a first terminal, and a second terminal, where the server is configured to perform the method of the foregoing first aspect, where the first terminal is configured to perform The method of the second aspect, the second terminal is configured to perform the method of the third aspect.
第八方面,本发明还提供一种服务器,包括:存储器、处理器以及计算机程序, 所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的设计所述的终端配对方法。In an eighth aspect, the present invention further provides a server, including: a memory, a processor, and a computer program, The computer program is stored in the memory, the processor running the computer program to perform the terminal pairing method described in the first aspect and various possible designs of the first aspect.
第九方面,本发明还提供一种终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第二方面及第二方面各种可能的设计所述的终端配对方法。In a ninth aspect, the present invention provides a terminal, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the second aspect and the second aspect The terminal pairing method described in various possible designs.
第十方面,本发明还提供一种终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第三方面及第三方面各种可能的设计所述的终端配对方法。According to a tenth aspect, the present invention further provides a terminal, comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to perform the third aspect and the third aspect The terminal pairing method described in various possible designs.
第十一方面,本发明还提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,终端执行上述的各种可能的设计提供的终端配对方法。In an eleventh aspect, the present invention further provides a readable storage medium, where the execution instruction is stored in the readable storage medium, and when the at least one processor of the terminal executes the execution instruction, the terminal performs various possible design provided above. Terminal pairing method.
第十二方面,本发明还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得终端实施上述的各种可能的设计提供的终端配对方法。In a twelfth aspect, the present invention also provides a program product, the program product comprising an execution instruction stored in a readable storage medium. At least one processor of the terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the terminal implements the terminal pairing methods provided by the various possible designs described above.
本发明实施例提供的技术方案的有益效果是:由服务器接收第一终端发送的针对第二终端的配对请求以及与第一终端对应的第一配对码;服务器向第二终端转发配对请求,配对请求用于索取与第二终端对应的第二配对码;在服务器接收到第二终端发送的第二配对码后,服务器判断第一配对码和第二配对码是否相同;若是,则服务器建立第一终端和第二终端之间的通信通道;服务器发送配对成功信息至第一终端和第二终端,从而实现终端之间的远程配对,使终端的配对不受距离的限制。The technical solution provided by the embodiment of the present invention is that the server receives the pairing request for the second terminal and the first pairing code corresponding to the first terminal, and the server forwards the pairing request to the second terminal, and the pairing is performed by the server. The request is for requesting a second pairing code corresponding to the second terminal; after the server receives the second pairing code sent by the second terminal, the server determines whether the first pairing code and the second pairing code are the same; if yes, the server establishes the first a communication channel between the terminal and the second terminal; the server sends the pairing success information to the first terminal and the second terminal, thereby implementing remote pairing between the terminals, so that the pairing of the terminal is not limited by the distance.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明提供的终端配对方法的系统架构示意图;1 is a schematic diagram of a system architecture of a terminal pairing method provided by the present invention;
图2为本发明实施例一中的终端配对方法的流程示意图;2 is a schematic flowchart of a terminal pairing method in Embodiment 1 of the present invention;
图3为本发明实施例二中的终端配对方法的流程示意图;3 is a schematic flowchart of a terminal pairing method in Embodiment 2 of the present invention;
图4为本发明实施例三中的终端配对方法的流程示意图; 4 is a schematic flowchart of a terminal pairing method in Embodiment 3 of the present invention;
图5为本发明提供的服务器的结构示意图;FIG. 5 is a schematic structural diagram of a server provided by the present invention; FIG.
图6为本发明提供的第一终端的结构示意图;6 is a schematic structural diagram of a first terminal provided by the present invention;
图7为本发明提供的第二终端的结构示意图;7 is a schematic structural diagram of a second terminal provided by the present invention;
图8为本发明提供的服务器的硬件结构示意图;FIG. 8 is a schematic structural diagram of hardware of a server provided by the present invention; FIG.
图9为本发明提供的终端的硬件结构示意图。FIG. 9 is a schematic structural diagram of hardware of a terminal provided by the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明提供的终端配对方法的系统架构示意图,如图1所示,该系统架构中包括第一终端101、服务器102和第二终端103,第一终端和第二终端分别与服务器通过网络通信连接。该第一终端101和第二终端103可以是无线终端。无线终端可以是指向用户提供语音和/或其他业务数据连通性的设备。该无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话),例如,可以是便携式、袖珍式、手持式移动装置。该服务器可以为运营商的服务器,也可以为第三方服务器。在第一终端向服务器发送针对第二终端的配对请求后,服务器可以将第一终端和第二终端实现配对,使二者可以完成通话、传输文件等操作。FIG. 1 is a schematic diagram of a system architecture of a terminal pairing method according to the present invention. As shown in FIG. 1 , the system architecture includes a first terminal 101, a server 102, and a second terminal 103. The first terminal and the second terminal respectively pass through the server. Network communication connection. The first terminal 101 and the second terminal 103 may be wireless terminals. A wireless terminal can be a device that provides voice and/or other service data connectivity to a user. The wireless terminal can be a mobile terminal, such as a mobile telephone (or "cellular" telephone), for example, can be a portable, pocket-sized, handheld mobile device. The server can be either a carrier's server or a third-party server. After the first terminal sends a pairing request for the second terminal to the server, the server may pair the first terminal and the second terminal, so that the two can complete operations such as calling, transferring files, and the like.
本发明提供的终端配对方法,旨在解决现有技术的如上技术问题。The terminal pairing method provided by the present invention aims to solve the above technical problems of the prior art.
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solutions of the present invention and how the technical solutions of the present application solve the above technical problems will be described in detail below with reference to specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
图2为本发明实施例一中的终端配对方法的流程示意图,如图2所示,该终端配对方法包括:FIG. 2 is a schematic flowchart of a terminal pairing method according to Embodiment 1 of the present invention. As shown in FIG. 2, the terminal pairing method includes:
S201、服务器接收第一终端发送的针对第二终端的配对请求以及与第一终端对应的第一配对码。S201. The server receives a pairing request for the second terminal and a first pairing code corresponding to the first terminal, sent by the first terminal.
具体地,第一终端归属于第一用户,第二终端归属于第二用户,第一终端向服务器发送针对第二终端的配对请求以及与第一终端对应的第一配对码,服务器接收第一终端发送的针对第二终端的配对请求以及与第一终端对应的第一配对码。 Specifically, the first terminal belongs to the first user, and the second terminal belongs to the second user, and the first terminal sends a pairing request for the second terminal to the server and a first pairing code corresponding to the first terminal, and the server receives the first a pairing request sent by the terminal for the second terminal and a first pairing code corresponding to the first terminal.
举例来说,第一终端和服务器通过网络实现远程通信连接。其中,第一终端为手机,第一用户启动第一终端上的配对应用,第一终端向服务器发送配对请求,同时,服务器接收第一终端发送的针对第二终端的配对请求以及与第一终端对应的第一配对码。其中,配对是指第二终端与第一终端实现相互匹配,配对后的第一终端和第二终端可以相互通信,实现互相通话或互传文件或互相控制。第一配对码可为由四位阿拉伯数字组成的代码,例如第一终端向服务器发送第一配对码“0000”。For example, the first terminal and the server implement a remote communication connection through a network. The first terminal is a mobile phone, and the first user starts the pairing application on the first terminal, and the first terminal sends a pairing request to the server, and the server receives the pairing request for the second terminal and the first terminal sent by the first terminal. Corresponding first pairing code. The pairing means that the second terminal and the first terminal are mutually matched, and the paired first terminal and the second terminal can communicate with each other to realize mutual communication or mutual transmission of files or mutual control. The first pairing code may be a code consisting of four digits of Arabic numerals, for example, the first terminal transmits a first pairing code "0000" to the server.
S202、服务器向第二终端转发配对请求,配对请求用于索取与第二终端对应的第二配对码。S202. The server forwards a pairing request to the second terminal, where the pairing request is used to obtain a second pairing code corresponding to the second terminal.
具体地,服务器向第二终端转发配对请求,配对请求用于索取与第二终端对应的第二配对码,第二终端接收服务器转发的由第一终端发送给服务器的配对请求,配对请求用于索取与第二终端对应的第二配对码。Specifically, the server forwards the pairing request to the second terminal, the pairing request is used to obtain a second pairing code corresponding to the second terminal, and the second terminal receives the pairing request forwarded by the server to the server by the first terminal, and the pairing request is used for A second pairing code corresponding to the second terminal is requested.
第二终端和服务器通过网络实现远程通信连接。服务器在接收到第一终端发出的配对请求后,向第二终端转发配对请求,该配对请求用于索取与第二终端对应的第二配对码。其中,第二终端向服务器发送第二配对码,与前述对应,第二配对码为由四位阿拉伯数字组成的代码。The second terminal and the server implement a remote communication connection through the network. After receiving the pairing request sent by the first terminal, the server forwards a pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal. The second terminal sends a second pairing code to the server, corresponding to the foregoing, and the second pairing code is a code consisting of four digits of Arabic numerals.
S203、第二终端向服务器发送第二配对码。S203. The second terminal sends a second pairing code to the server.
具体地,第二终端向服务器发送第二配对码后,服务器接收到第二终端发送的第二配对码。Specifically, after the second terminal sends the second pairing code to the server, the server receives the second pairing code sent by the second terminal.
S204、服务器判断第一配对码和第二配对码是否相同,若是,则执行S105,若否,则流程结束。S204. The server determines whether the first pairing code and the second pairing code are the same. If yes, execute S105. If not, the process ends.
S205、服务器建立第一终端和第二终端之间的通信通道。S205. The server establishes a communication channel between the first terminal and the second terminal.
当第二终端向服务器发送第二配对码“0000”时,第二配对码和第一配对码相同,服务器建立第一终端和第二终端之间的通信通道,使得第一终端和第二终端配对连接,配对后的第一终端和第二终端可以相互通信,实现互相通话或互传文件或互相控制。When the second terminal sends the second pairing code "0000" to the server, the second pairing code is the same as the first pairing code, and the server establishes a communication channel between the first terminal and the second terminal, so that the first terminal and the second terminal Paired connection, the paired first terminal and the second terminal can communicate with each other to realize mutual communication or mutual transfer of files or mutual control.
S206、服务器发送配对成功信息至第一终端和第二终端。S206. The server sends pairing success information to the first terminal and the second terminal.
该配对成功信息可为一显示框,用以向第一终端的第一用户和第二终端的第二用户显示“配对成功”字样。The pairing success information may be a display box for displaying the words “pairing success” to the first user of the first terminal and the second user of the second terminal.
具体地,服务器发送配对成功信息至第一终端和第二终端,第一终端接收服务器发送的配对成功信息,第二终端接收服务器发送的配对成功信息。Specifically, the server sends the pairing success information to the first terminal and the second terminal, the first terminal receives the pairing success information sent by the server, and the second terminal receives the pairing success information sent by the server.
图3为本发明实施例二中的终端配对方法的流程示意图,在图2实施例的基础上, 本实施例给出了一种服务器发送配对成功信息至第一终端和第二终端的具体实现方式。具体如下,包括:3 is a schematic flowchart of a method for pairing a terminal according to Embodiment 2 of the present invention. On the basis of the embodiment of FIG. 2, This embodiment provides a specific implementation manner in which the server sends pairing success information to the first terminal and the second terminal. The details are as follows, including:
S301、服务器判断第一终端和第二终端是否处于同一局域网。若否,则执行S302,若是,则执行S303。S301. The server determines whether the first terminal and the second terminal are in the same local area network. If not, S302 is executed, and if so, S303 is executed.
具体地,当第一终端和服务器连接时,服务器能获取第一终端所在网络地址,当第二终端和服务器连接时,服务器能获取第二终端所在网络地址。服务器通过判断第一终端所在网络地址和第二终端所在网络地址是否相同的方式,来确定第一终端和第二终端是否处于同一局域网。Specifically, when the first terminal is connected to the server, the server can obtain the network address where the first terminal is located, and when the second terminal is connected to the server, the server can obtain the network address where the second terminal is located. The server determines whether the first terminal and the second terminal are in the same local area network by determining whether the network address where the first terminal is located and the network address where the second terminal is located are the same.
S302、服务器发送配对成功信息至第一终端和第二终端。S302. The server sends pairing success information to the first terminal and the second terminal.
服务器判断第一终端和第二终端位于不同网络地址时,服务器仅发送配对成功信息至第一终端和第二终端。When the server determines that the first terminal and the second terminal are located at different network addresses, the server only sends the pairing success information to the first terminal and the second terminal.
S303、服务器发送配对成功信息以及预设动画至第一终端和第二终端,预设动画用于向第一终端和第二终端指示第一终端和第二终端位于同一局域网。S303. The server sends the pairing success information and the preset animation to the first terminal and the second terminal. The preset animation is used to indicate to the first terminal and the second terminal that the first terminal and the second terminal are located in the same local area network.
服务器判断第一终端和第二终端位于同一网络地址时,服务器发送配对成功信息以及预设动画至第一终端和第二终端,预设动画用于向第一终端和第二终端指示第一终端和第二终端位于同一局域网。When the server determines that the first terminal and the second terminal are located at the same network address, the server sends the pairing success information and the preset animation to the first terminal and the second terminal, and the preset animation is used to indicate the first terminal to the first terminal and the second terminal. It is located on the same local area network as the second terminal.
通过上述内容不难理解,当第一终端和第二终端位于同一网络地址时,例如第一用户操作第一终端和第二用户操作第二终端位于同一校园网络内,还能接收预设动画,例如爱心动画,以向第一用户和第二用户发出提醒。It is not difficult to understand that when the first terminal and the second terminal are located at the same network address, for example, the first user operates the first terminal and the second user operates the second terminal in the same campus network, and can receive the preset animation. For example, a love animation to alert the first user and the second user.
图4为本发明实施例三中的终端配对方法的流程示意图,实施例三基于实施例一,如图4所示,该终端配对方法包括:配对请求中还包括第一终端的身份标识,以使第二终端设备向第二终端所属用户显示第一终端的身份标识;4 is a schematic flowchart of a terminal pairing method according to Embodiment 3 of the present invention. Embodiment 3 is based on Embodiment 1. As shown in FIG. 4, the terminal pairing method includes: the pairing request further includes an identity identifier of the first terminal, And causing the second terminal device to display the identity of the first terminal to the user to which the second terminal belongs;
在服务器接收第二终端发送的第二配对码之后,还包括:After the server receives the second pairing code sent by the second terminal, the method further includes:
S401、服务器判断本地数据库中是否存储有第二终端的身份标识。S401. The server determines whether the identity of the second terminal is stored in the local database.
S402、若是,则服务器向第一终端发送第二终端的身份标识。S402. If yes, the server sends the identity of the second terminal to the first terminal.
S403、若否,则服务器向第二终端发送身份信息获取请求。S403. If no, the server sends an identity information acquisition request to the second terminal.
S404、服务器接收第二终端发送的第二终端的身份标识,并向第一终端转发第二终端的身份标识,以使第一终端向第一终端所属的用户显示第二终端的身份标识。S404. The server receives the identity of the second terminal sent by the second terminal, and forwards the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to the user to which the first terminal belongs.
从而使第一终端能获取第二终端的身份标识,以向用户提示。Therefore, the first terminal can obtain the identity of the second terminal to prompt the user.
图5为本发明提供的服务器的结构示意图,如图5所示,该种服务器50包括: FIG. 5 is a schematic structural diagram of a server provided by the present invention. As shown in FIG. 5, the server 50 includes:
接收模块51,用于接收第一终端发送的针对第二终端的配对请求以及与第一终端对应的第一配对码;The receiving module 51 is configured to receive a pairing request sent by the first terminal for the second terminal and a first pairing code corresponding to the first terminal;
请求模块52,用于向第二终端转发配对请求,配对请求用于索取与第二终端对应的第二配对码;The requesting module 52 is configured to forward a pairing request to the second terminal, where the pairing request is used to obtain a second pairing code corresponding to the second terminal;
判断模块53,用于在接收模块接收到第二终端发送的第二配对码后,判断第一配对码和第二配对码是否相同;The determining module 53 is configured to determine, after the receiving module receives the second pairing code sent by the second terminal, whether the first pairing code and the second pairing code are the same;
建立模块54,用于在判断模块的判断结果为相同时,建立第一终端和第二终端之间的通信通道;The establishing module 54 is configured to establish a communication channel between the first terminal and the second terminal when the determination result of the determining module is the same;
提示模块55,用于发送配对成功信息至第一终端和第二终端。The prompting module 55 is configured to send pairing success information to the first terminal and the second terminal.
可选地,该种服务器中的判断模块,还用于判断第一终端和第二终端是否处于同一局域网;Optionally, the determining module in the server is further configured to determine whether the first terminal and the second terminal are in the same local area network;
提示模块,具体用于在判断模块的判断结果为处于同一局域网时,发送配对成功信息至第一终端和第二终端;在判断模块的判断结果为不处于同一局域网时,发送配对成功信息以及预设动画至第一终端和第二终端,预设动画用于向第一终端和第二终端指示第一终端和第二终端位于同一局域网。The prompting module is specifically configured to: when the judgment result of the determining module is in the same local area network, send the pairing success information to the first terminal and the second terminal; when the determining result of the determining module is not in the same local area network, send the pairing success information and the pre- An animation is provided to the first terminal and the second terminal, and the preset animation is used to indicate to the first terminal and the second terminal that the first terminal and the second terminal are located on the same local area network.
可选地,该种服务器中的配对请求中还包括第一终端的身份标识,以使第二终端设备向第二终端所属用户显示第一终端的身份标识;服务器还包括:发送模块56;Optionally, the pairing request in the server further includes the identity of the first terminal, so that the second terminal device displays the identity of the first terminal to the user to which the second terminal belongs; the server further includes: a sending module 56;
判断模块,还用于判断本地数据库中是否存储有第二终端的身份标识;The determining module is further configured to determine whether the identity of the second terminal is stored in the local database;
若判断模块判断本地数据库中已经存储第二终端的身份标识时,发送模块,用于向第一终端发送第二终端的身份标识;If the determining module determines that the identity of the second terminal is already stored in the local database, the sending module is configured to send the identity of the second terminal to the first terminal;
若判断模块判断本地数据库中没有存储第二终端的身份标识时,请求模块,还用于向第二终端发送身份信息获取请求;If the determining module determines that the identity of the second terminal is not stored in the local database, the requesting module is further configured to send an identity information obtaining request to the second terminal;
接收模块,还用于接收第二终端发送的第二终端的身份标识;The receiving module is further configured to receive an identity of the second terminal sent by the second terminal;
发送模块,用于向第一终端发送第二终端的身份标识,以使第一终端向第一终端所属的用户显示第二终端的身份标识。The sending module is configured to send the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to the user to which the first terminal belongs.
图6为本发明提供的第一终端的结构示意图,如图6所示,该第一终端60包括:FIG. 6 is a schematic structural diagram of a first terminal provided by the present invention. As shown in FIG. 6, the first terminal 60 includes:
发送模块61,用于向服务器发送针对第二终端的配对请求以及与第一终端对应的第一配对码;The sending module 61 is configured to send, to the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
接收模块62,用于接收服务器发送的配对成功信息。The receiving module 62 is configured to receive pairing success information sent by the server.
图7为本发明提供的第二终端的结构示意图,如图7所示,该第二终端70,包括: FIG. 7 is a schematic structural diagram of a second terminal according to the present invention. As shown in FIG. 7, the second terminal 70 includes:
接收模块71,用于接收服务器转发的由第一终端发送给服务器的配对请求,配对请求用于索取与第二终端对应的第二配对码;The receiving module 71 is configured to receive a pairing request that is sent by the server and sent by the first terminal to the server, where the pairing request is used to obtain a second pairing code corresponding to the second terminal;
发送模块72,用于向服务器发送第二配对码;The sending module 72 is configured to send a second pairing code to the server.
该接收模块,还用于接收服务器发送的配对成功信息。The receiving module is further configured to receive pairing success information sent by the server.
图8为本发明提供的服务器的硬件结构示意图。如图8所示,该服务器80包括:处理器81以及存储器82;其中FIG. 8 is a schematic structural diagram of a hardware of a server provided by the present invention. As shown in FIG. 8, the server 80 includes: a processor 81 and a memory 82;
存储器82,用于存储计算机程序,该存储器还可以是flash(闪存)。The memory 82 is configured to store a computer program, and the memory may also be a flash memory.
处理器81,用于执行存储器存储的执行指令,以实现上述终端配对方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。The processor 81 is configured to execute an execution instruction of the memory storage to implement each step in the terminal pairing method. For details, refer to the related description in the foregoing method embodiments.
可选地,存储器82既可以是独立的,也可以跟处理器81集成在一起。Alternatively, the memory 82 can be either standalone or integrated with the processor 81.
当所述存储器82是独立于处理器81之外的器件时,所述服务器80还可以包括:When the memory 82 is a device other than the processor 81, the server 80 may further include:
总线83,用于连接所述存储器82和处理器81。A bus 83 is provided for connecting the memory 82 and the processor 81.
本发明还提供一种可读存储介质,可读存储介质中存储有执行指令,当服务器的至少一个处理器执行该执行指令时,服务器执行上述的各种实施方式提供的终端配对方法。The present invention also provides a readable storage medium having executable instructions stored therein, and when the at least one processor of the server executes the execution instructions, the server performs the terminal pairing method provided by the various embodiments described above.
本发明还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。服务器的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得服务器实施上述的各种实施方式提供的终端配对方法。The present invention also provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the server may read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the server implements the terminal pairing methods provided by the various embodiments described above.
图9为本发明提供的终端的硬件结构示意图。如图9所示,该终端90包括:处理器91以及存储器92;其中FIG. 9 is a schematic structural diagram of hardware of a terminal provided by the present invention. As shown in FIG. 9, the terminal 90 includes: a processor 91 and a memory 92;
存储器92,用于存储计算机程序,该存储器还可以是flash(闪存)。The memory 92 is configured to store a computer program, and the memory may also be a flash memory.
处理器91,用于执行存储器存储的执行指令,以实现上述终端配对方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。The processor 91 is configured to execute an execution instruction of the memory storage to implement each step in the terminal pairing method. For details, refer to the related description in the foregoing method embodiments.
可选地,存储器92既可以是独立的,也可以跟处理器91集成在一起。Alternatively, the memory 92 can be either standalone or integrated with the processor 91.
当所述存储器92是独立于处理器91之外的器件时,所述终端90还可以包括:When the memory 92 is a device other than the processor 91, the terminal 90 may further include:
总线93,用于连接所述存储器92和处理器91。A bus 93 is provided for connecting the memory 92 and the processor 91.
本发明还提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,终端执行上述的各种实施方式提供的终端配对方法。The present invention further provides a readable storage medium. The readable storage medium stores execution instructions. When at least one processor of the terminal executes the execution instruction, the terminal executes the terminal pairing method provided by the various embodiments described above.
本发明还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个 处理器执行该执行指令使得终端实施上述的各种实施方式提供的终端配对方法。The present invention also provides a program product comprising an execution instruction stored in a readable storage medium. At least one processor of the terminal can read the execution instruction from the readable storage medium, at least one The processor executes the execution instructions such that the terminal implements the terminal pairing method provided by the various embodiments described above.
在上述服务器或者终端的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the above embodiment of the server or the terminal, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or other general-purpose processor, digital signal processor (English: Digital Signal Processor) , referred to as: DSP), ASIC (English: Application Specific Integrated Circuit, referred to as: ASIC). The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the present invention may be directly embodied by the completion of the execution of the hardware processor or by a combination of hardware and software modules in the processor.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (10)

  1. 一种终端配对方法,应用于服务器,其特征在于,包括:A terminal pairing method, applied to a server, comprising:
    服务器接收第一终端发送的针对第二终端的配对请求以及与所述第一终端对应的第一配对码;Receiving, by the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
    所述服务器向所述第二终端转发所述配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;The server forwards the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
    在所述服务器接收到所述第二终端发送的所述第二配对码后,所述服务器判断所述第一配对码和所述第二配对码是否相同;After the server receives the second pairing code sent by the second terminal, the server determines whether the first pairing code and the second pairing code are the same;
    若是,则所述服务器建立所述第一终端和所述第二终端之间的通信通道;If yes, the server establishes a communication channel between the first terminal and the second terminal;
    所述服务器发送配对成功信息至所述第一终端和所述第二终端。The server sends pairing success information to the first terminal and the second terminal.
  2. 根据权利要求1所述的终端配对方法,其特征在于,所述服务器发送配对成功信息至所述第一终端和所述第二终端,包括:The terminal pairing method according to claim 1, wherein the server sends pairing success information to the first terminal and the second terminal, including:
    所述服务器判断所述第一终端和所述第二终端是否处于同一局域网;The server determines whether the first terminal and the second terminal are in the same local area network;
    若否,则所述服务器发送配对成功信息至所述第一终端和所述第二终端;If not, the server sends pairing success information to the first terminal and the second terminal;
    若是,则所述服务器发送配对成功信息以及预设动画至所述第一终端和所述第二终端,所述预设动画用于向所述第一终端和所述第二终端指示所述第一终端和所述第二终端位于同一局域网。If yes, the server sends the pairing success information and the preset animation to the first terminal and the second terminal, where the preset animation is used to indicate the first terminal and the second terminal A terminal and the second terminal are located on the same local area network.
  3. 根据权利要求2所述的终端配对方法,其特征在于,所述配对请求中还包括所述第一终端的身份标识,以使所述第二终端设备向所述第二终端所属用户显示所述第一终端的身份标识;The terminal pairing method according to claim 2, wherein the pairing request further includes an identity of the first terminal, so that the second terminal device displays the The identity of the first terminal;
    在所述服务器接收所述第二终端发送的第二配对码之后,还包括:After the server receives the second pairing code sent by the second terminal, the method further includes:
    所述服务器判断本地数据库中是否存储有所述第二终端的身份标识;Determining, by the server, whether an identity identifier of the second terminal is stored in the local database;
    若是,则所述服务器向所述第一终端发送所述第二终端的身份标识;If yes, the server sends the identity of the second terminal to the first terminal;
    若否,则所述服务器向所述第二终端发送身份信息获取请求;If not, the server sends an identity information acquisition request to the second terminal;
    所述服务器接收所述第二终端发送的所述第二终端的身份标识,并向所述第一终端转发所述第二终端的身份标识,以使所述第一终端向所述第一终端所属的用户显示所述第二终端的身份标识。Receiving, by the server, the identity of the second terminal that is sent by the second terminal, and forwarding the identity of the second terminal to the first terminal, so that the first terminal is to the first terminal The associated user displays the identity of the second terminal.
  4. 一种终端配对方法,应用于第一终端,其特征在于,包括:A terminal pairing method is applied to a first terminal, and includes:
    所述第一终端向服务器发送针对第二终端的配对请求以及与所述第一终端对应的第一配对码; Transmitting, by the first terminal, a pairing request for the second terminal and a first pairing code corresponding to the first terminal to the server;
    所述第一终端接收所述服务器发送的配对成功信息。The first terminal receives pairing success information sent by the server.
  5. 一种终端配对方法,应用于第二终端,其特征在于,包括:A terminal pairing method is applied to a second terminal, which is characterized by:
    所述第二终端接收服务器转发的由第一终端发送给所述服务器的配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;Receiving, by the second terminal, a pairing request sent by the first terminal to the server, where the pairing request is used to request a second pairing code corresponding to the second terminal;
    所述第二终端向所述服务器发送所述第二配对码;Sending, by the second terminal, the second pairing code to the server;
    所述第二终端接收所述服务器发送的配对成功信息。The second terminal receives pairing success information sent by the server.
  6. 一种服务器,其特征在于,包括:A server, comprising:
    接收模块,用于接收第一终端发送的针对第二终端的配对请求以及与所述第一终端对应的第一配对码;a receiving module, configured to receive a pairing request sent by the first terminal for the second terminal, and a first pairing code corresponding to the first terminal;
    请求模块,用于向所述第二终端转发所述配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;a requesting module, configured to forward the pairing request to the second terminal, where the pairing request is used to request a second pairing code corresponding to the second terminal;
    判断模块,用于在所述接收模块接收到所述第二终端发送的所述第二配对码后,判断所述第一配对码和所述第二配对码是否相同;a determining module, configured to determine, after the receiving module receives the second pairing code sent by the second terminal, whether the first pairing code and the second pairing code are the same;
    建立模块,用于在所述判断模块的判断结果为相同时,建立所述第一终端和所述第二终端之间的通信通道;Establishing a module, configured to establish a communication channel between the first terminal and the second terminal when the judgment result of the determining module is the same;
    提示模块,用于发送配对成功信息至所述第一终端和所述第二终端。a prompting module, configured to send pairing success information to the first terminal and the second terminal.
  7. 根据权利要求6所述的服务器,其特征在于,A server according to claim 6 wherein:
    所述判断模块,还用于判断所述第一终端和所述第二终端是否处于同一局域网;The determining module is further configured to determine whether the first terminal and the second terminal are in the same local area network;
    所述提示模块,具体用于在所述判断模块的判断结果为处于同一局域网时,发送配对成功信息至所述第一终端和所述第二终端;在所述判断模块的判断结果为不处于同一局域网时,发送配对成功信息以及预设动画至所述第一终端和所述第二终端,所述预设动画用于向所述第一终端和所述第二终端指示所述第一终端和所述第二终端位于同一局域网。The prompting module is configured to send pairing success information to the first terminal and the second terminal when the determining result of the determining module is in the same local area network; the determining result of the determining module is not Sending the pairing success information and the preset animation to the first terminal and the second terminal when the same local area network is used, the preset animation is used to indicate the first terminal to the first terminal and the second terminal And the second terminal is located on the same local area network.
  8. 根据权利要求7所述的服务器,其特征在于,所述配对请求中还包括所述第一终端的身份标识,以使所述第二终端设备向所述第二终端所属用户显示所述第一终端的身份标识;所述服务器还包括:发送模块;The server according to claim 7, wherein the pairing request further includes an identity of the first terminal, so that the second terminal device displays the first terminal to a user to which the second terminal belongs. The identity of the terminal; the server further includes: a sending module;
    所述判断模块,还用于判断本地数据库中是否存储有所述第二终端的身份标识;The determining module is further configured to determine whether an identity identifier of the second terminal is stored in the local database;
    若所述判断模块判断所述本地数据库中已经存储第二终端的身份标识时,所述发送模块,用于向所述第一终端发送所述第二终端的身份标识;If the determining module determines that the identity identifier of the second terminal is already stored in the local database, the sending module is configured to send the identity identifier of the second terminal to the first terminal;
    若所述判断模块判断所述本地数据库中没有存储第二终端的身份标识时,所述请 求模块,还用于向所述第二终端发送身份信息获取请求;If the determining module determines that the identity identifier of the second terminal is not stored in the local database, the The requesting module is further configured to send an identity information acquisition request to the second terminal;
    所述接收模块,还用于接收所述第二终端发送的所述第二终端的身份标识;The receiving module is further configured to receive an identity identifier of the second terminal sent by the second terminal;
    所述发送模块,用于向所述第一终端发送所述第二终端的身份标识,以使所述第一终端向所述第一终端所属的用户显示所述第二终端的身份标识。The sending module is configured to send the identity of the second terminal to the first terminal, so that the first terminal displays the identity of the second terminal to a user to which the first terminal belongs.
  9. 一种终端,其特征在于,所述终端为第一终端,包括:A terminal, wherein the terminal is a first terminal, including:
    发送模块,用于向服务器发送针对第二终端的配对请求以及与所述第一终端对应的第一配对码;a sending module, configured to send, to the server, a pairing request for the second terminal and a first pairing code corresponding to the first terminal;
    接收模块,用于接收所述服务器发送的配对成功信息。And a receiving module, configured to receive pairing success information sent by the server.
  10. 一种终端,其特征在于,所述终端为第二终端,包括:A terminal, wherein the terminal is a second terminal, including:
    接收模块,用于接收服务器转发的由第一终端发送给所述服务器的配对请求,所述配对请求用于索取与所述第二终端对应的第二配对码;a receiving module, configured to receive, by the server, a pairing request sent by the first terminal to the server, where the pairing request is used to request a second pairing code corresponding to the second terminal;
    发送模块,用于向所述服务器发送所述第二配对码;a sending module, configured to send the second pairing code to the server;
    所述接收模块,还用于接收所述服务器发送的配对成功信息。 The receiving module is further configured to receive pairing success information sent by the server.
PCT/CN2017/103837 2017-09-28 2017-09-28 Terminal pairing method, server and terminal WO2019061116A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780097099.3A CN111373709B (en) 2017-09-28 2017-09-28 Terminal pairing method, server and terminal
PCT/CN2017/103837 WO2019061116A1 (en) 2017-09-28 2017-09-28 Terminal pairing method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103837 WO2019061116A1 (en) 2017-09-28 2017-09-28 Terminal pairing method, server and terminal

Publications (1)

Publication Number Publication Date
WO2019061116A1 true WO2019061116A1 (en) 2019-04-04

Family

ID=65900480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103837 WO2019061116A1 (en) 2017-09-28 2017-09-28 Terminal pairing method, server and terminal

Country Status (2)

Country Link
CN (1) CN111373709B (en)
WO (1) WO2019061116A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259942A (en) * 2021-05-17 2021-08-13 广州极飞科技股份有限公司 Connection method, connection device, electronic equipment, connection system and computer-readable storage medium
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2811095A1 (en) * 2000-06-28 2002-01-04 Smain Benali Server with removable memory chip card allowing access control, from client terminal, to the server configuration parameters, in which server code is compared with client code only when they match is client allowed access to server
CN101267581A (en) * 2007-04-03 2008-09-17 华为技术有限公司 Method, system and device for reporting terminal number matching information
CN104052751A (en) * 2014-06-25 2014-09-17 北京奇艺世纪科技有限公司 Method and device for establishing communication connection
CN104981025A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Terminal pairing method, terminal pairing device, server and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282184A (en) * 2014-05-29 2016-01-27 昆达电脑科技(昆山)有限公司 Method and system for helping matching and friend making by using motion information
CN104125485B (en) * 2014-07-02 2018-03-16 深圳创维数字技术有限公司 A kind of user profile shared method, equipment and system
CN104486093B (en) * 2014-11-19 2018-02-23 广州华多网络科技有限公司 A kind of network interdynamic method and relevant device, system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2811095A1 (en) * 2000-06-28 2002-01-04 Smain Benali Server with removable memory chip card allowing access control, from client terminal, to the server configuration parameters, in which server code is compared with client code only when they match is client allowed access to server
CN101267581A (en) * 2007-04-03 2008-09-17 华为技术有限公司 Method, system and device for reporting terminal number matching information
CN104981025A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Terminal pairing method, terminal pairing device, server and terminal
CN104052751A (en) * 2014-06-25 2014-09-17 北京奇艺世纪科技有限公司 Method and device for establishing communication connection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259942A (en) * 2021-05-17 2021-08-13 广州极飞科技股份有限公司 Connection method, connection device, electronic equipment, connection system and computer-readable storage medium
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product

Also Published As

Publication number Publication date
CN111373709A (en) 2020-07-03
CN111373709B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10979887B2 (en) Access method, network device, terminal device, and AMF device
CN105744466B (en) A kind of connection method of Bluetooth device and bluetooth equipment
CN105704837B (en) Method and equipment for establishing wireless connection
US9210734B2 (en) Direct mode communication system and communication attaching method thereof
WO2015135326A1 (en) Method and terminal for sharing positioning information
WO2018036071A1 (en) Method and device for networking devices
JP6092425B2 (en) Near field communication method and device
JP2021090205A (en) WI-FI hotspot connection method and terminal
CN103312787B (en) A kind of method and mobile terminal being quickly shared file by fingerprint recognition
WO2015161442A1 (en) D2d communication detection method, device and system
WO2019047117A1 (en) Network access method, terminal device and network device
WO2017066978A1 (en) Mobile terminal precise positioning method and system
WO2016106737A1 (en) Call transfer method and terminal
WO2019061116A1 (en) Terminal pairing method, server and terminal
WO2015139401A1 (en) Establishment method and system for wireless network, and wireless routing device
WO2017000495A1 (en) Method and device for adding contacts
WO2014206104A1 (en) Direct-link communication method and relevant device and system
WO2017066979A1 (en) Mobile phone indoor positioning method and system
WO2019072156A1 (en) Apn information acquisition method, storage device and mobile terminal
CN114173321B (en) Equipment communication connection establishment method and equipment communication system
CN105357238A (en) Point-to-point data transmission method and device
KR20220122731A (en) Multicast service processing method, multicast service setting method and communication device
WO2018082104A1 (en) Assisted positioning data sharing method, and terminal
WO2017124436A1 (en) Communication method, mobile terminal, issuing terminal and communication system
TW201902192A (en) Information processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17927835

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17927835

Country of ref document: EP

Kind code of ref document: A1