CN109831770B - Pairing method and device of mobile terminal, storage medium and mobile terminal - Google Patents

Pairing method and device of mobile terminal, storage medium and mobile terminal Download PDF

Info

Publication number
CN109831770B
CN109831770B CN201910279391.8A CN201910279391A CN109831770B CN 109831770 B CN109831770 B CN 109831770B CN 201910279391 A CN201910279391 A CN 201910279391A CN 109831770 B CN109831770 B CN 109831770B
Authority
CN
China
Prior art keywords
mobile terminal
information
pairing
sliding track
paired
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910279391.8A
Other languages
Chinese (zh)
Other versions
CN109831770A (en
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Jiupin Sesame Information Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910279391.8A priority Critical patent/CN109831770B/en
Publication of CN109831770A publication Critical patent/CN109831770A/en
Application granted granted Critical
Publication of CN109831770B publication Critical patent/CN109831770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a pairing method and device of a mobile terminal, a storage medium and the mobile terminal. The method comprises the following steps: receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired; determining a graph corresponding to the information to be paired; displaying the graph; receiving the operation on the graph to obtain first operation information; and pairing the second mobile terminal according to the first operation information. The method and the device can reduce the phenomenon of misoperation.

Description

Pairing method and device of mobile terminal, storage medium and mobile terminal
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a pairing method and apparatus for a mobile terminal, a storage medium, and a mobile terminal.
Background
Bluetooth is a wireless technology standard, and can realize short-distance data exchange among fixed equipment, mobile equipment and a building personal area network. The bluetooth communication has an important characteristic that two mobile terminals need to be paired before communication, identity confirmation of the two mobile terminals can be realized after the two mobile terminals are paired, and then data exchange is carried out. However, in the related art, when bluetooth pairing is performed between mobile terminals, user operation is very simple, and thus, an erroneous operation may occur.
Disclosure of Invention
The embodiment of the application provides a pairing method and device for a mobile terminal, a storage medium and the mobile terminal, which can reduce the phenomenon of misoperation.
The embodiment of the application provides a pairing method of a mobile terminal, which comprises the following steps:
receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired;
determining a graph corresponding to the information to be paired;
displaying the graph;
receiving the operation on the graph to obtain first operation information;
and pairing the second mobile terminal according to the first operation information.
The embodiment of the application provides a pairing device of a mobile terminal, which comprises:
the first receiving module is used for receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired;
the determining module is used for determining a graph corresponding to the information to be paired;
the display module is used for displaying the graph;
the second receiving module is used for receiving the operation on the graph to obtain first operation information;
and the pairing module is used for pairing with the second mobile terminal according to the first operation information.
The embodiment of the application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is enabled to execute the flow in the pairing method of the mobile terminal provided by the embodiment of the application.
The embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the processor is configured to execute the procedure in the pairing method of the mobile terminal provided in the embodiment of the present application by calling the computer program stored in the memory.
In the embodiment of the application, a first mobile terminal can receive a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired; determining and displaying a graph according to the information to be paired; and receiving the operation on the graph to obtain operation information, and pairing with the second mobile terminal according to the operation information. According to the method and the device, when the first mobile terminal is paired with the second mobile terminal, the user needs to perform correct operation on the graph to start to perform the operation of pairing with the second mobile terminal, so that the phenomenon of misoperation can be reduced.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a first flowchart illustrating a pairing method for a mobile terminal according to an embodiment of the present application.
Fig. 2 is a second flowchart of a pairing method for a mobile terminal according to an embodiment of the present disclosure.
Fig. 3 is a third flowchart illustrating a pairing method for a mobile terminal according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a pairing apparatus of a mobile terminal according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the related art, when a mobile terminal and another mobile terminal perform bluetooth pairing, authorization of the another mobile terminal is often required to obtain the authorization before the pairing is successful. For example, a prompt message is displayed on the interface of the other mobile terminal to prompt the user whether to approve the bluetooth pairing. And if the user chooses to approve, the mobile terminals are successfully paired. When the bluetooth pairing is performed by adopting the bluetooth pairing method, an "agreement" button and a "rejection" button are usually displayed on an interface of the mobile terminal, and as long as a user clicks the "agreement" button, the mobile terminal can be successfully paired with another mobile terminal, or the "rejection" button is clicked, so that the mobile terminal fails to be paired with another mobile terminal. Since the user can determine that the pairing with another mobile terminal is successful or failed by simply clicking the "agree" button or the "reject" button on the interface of the mobile terminal, a phenomenon of misoperation occurs. For example, when the mobile terminal user does not want to pair with another mobile terminal but still clicks the "ok" button, the mobile terminal will pair with another mobile terminal successfully, and the mobile terminal user needs to cancel the bluetooth connection, so as to stop the bluetooth connection with another mobile terminal. When the user of the mobile terminal wants to pair with another mobile terminal but inadvertently clicks the "reject" button, the mobile terminal fails to pair with another mobile terminal, and thus only a pairing request can be sent to another mobile terminal again to pair with another mobile terminal again.
It can be understood that the execution subject of the embodiment of the present application may be a mobile terminal such as a smart phone or a tablet computer.
Referring to fig. 1, fig. 1 is a schematic view of a first flow of a pairing method for a mobile terminal according to an embodiment of the present application, where the pairing method for the mobile terminal is applied to a first mobile terminal, and the flow may include:
101, receiving a pairing request of a second mobile terminal, where the pairing request carries information to be paired.
It is understood that when the second mobile terminal needs to perform wireless connection with the first mobile terminal to realize file transfer, the second mobile terminal may send a pairing request to the first mobile terminal. The first mobile terminal receives a pairing request from the second mobile terminal. Wherein, the pairing request carries the information to be paired.
And 102, determining a graph corresponding to the information to be paired.
When the first mobile terminal receives the information to be paired, the first mobile terminal may analyze the information to be paired to determine a graph corresponding to the information to be paired.
In this embodiment, when the first mobile terminal receives the information to be paired, the first mobile terminal may determine a graphic according to the information to be paired. Different information to be paired corresponds to different graphs. For example, assume several types of information to be paired a, information to be paired B, and information to be paired C. Then, the graph corresponding to the information a to be paired may be a square, the graph corresponding to the information B to be paired may be a rectangle, and the graph corresponding to the information C to be paired may be a circle.
103, displaying the graph.
After the first mobile terminal determines the graph corresponding to the information to be paired, the first mobile terminal may display the graph, for example, the first mobile terminal may display the graph on the main interface. Or the first mobile terminal can create a blank interface and then display the graph on the blank page, so that the user can conveniently view the graph on the interface and operate on the graph.
104, receiving the operation on the graph to obtain first operation information.
When the first mobile terminal displays the graph, the first mobile terminal can receive the operation on the graph to obtain the first operation information.
For example, a user may perform a click operation on the graph, and the first mobile terminal may determine the first operation information according to the click operation of the user, where the click operation may include one click or multiple clicks; or the user may perform a sliding operation on the graph, and the first mobile terminal may determine the first operation information according to a sliding track corresponding to the sliding operation, and so on.
And 105, pairing with the second mobile terminal according to the first operation information.
When the first mobile terminal receives the operation on the graph and obtains the first operation information, the first mobile terminal may pair with the second mobile terminal according to the first operation information.
For example, the first mobile terminal may transmit the operation information to the second mobile terminal, so that the second mobile terminal determines whether to pair with the first mobile terminal according to the first operation information.
It can be understood that, in this embodiment, by receiving a pairing request of a second mobile terminal, the pairing request carries information to be paired; determining a graph corresponding to the information to be paired; displaying the graph; receiving the operation on the graph to obtain first operation information; and matching the first operation information with the second mobile terminal, so that the phenomenon of misoperation can be reduced.
Referring to fig. 2, fig. 2 is a second flowchart illustrating a pairing method for a mobile terminal according to an embodiment of the present application. Wherein, the process may include:
201, a first mobile terminal receives a pairing request of a second mobile terminal, where the pairing request carries information to be paired.
It is understood that when the first mobile terminal needs to perform wireless connection with the second mobile terminal to realize file transfer, the second mobile terminal may send a pairing request to the first mobile terminal. The first mobile terminal receives a pairing request from the second mobile terminal. Wherein, the pairing request carries the information to be paired. The wireless connection may be a bluetooth connection.
202, the first mobile terminal determines a graph corresponding to the information to be paired.
When the first mobile terminal receives the information to be paired, the first mobile terminal may analyze the information to be paired to determine a graph corresponding to the information to be paired.
In this embodiment, when the first mobile terminal receives the information to be paired, the first mobile terminal may determine a graphic according to the information to be paired. Different information to be paired corresponds to different graphs. For example, assume several types of information to be paired a, information to be paired B, and information to be paired C. Then, the graph corresponding to the information a to be paired may be a square, the graph corresponding to the information B to be paired may be a rectangle, and the graph corresponding to the information C to be paired may be a circle.
For example, the information to be paired may be a string of data, the string of data is composed of a plurality of two-dimensional data, each two-dimensional data includes two one-dimensional data, and the string of data may be composed into a square. In addition, the string of data may include other redundant data or duplicated data in addition to the data capable of composing a square.
For example, the string of data is two-dimensional data of four vertices of a square, such as (0, 0), (4, 4), (0, 4), (4, 0).
For another example, the string of data is two-dimensional data of four vertices of a square, and two other two-dimensional data, and the two other two-dimensional data are located on the sides of the square, such as (0, 0), (4, 4), (0, 4), (4, 0), (2, 0), (0, 1).
For another example, the string of data is two-dimensional data of four vertices of a square, and five other two-dimensional data, and two other two-dimensional data of the five other two-dimensional data are located on the sides of the square, and the remaining three other two-dimensional data are located inside or outside the area of the square but not on any one side of the square, such as (0, 0), (4, 4), (0, 4), (4, 0), (2, 0), (0, 1), (1, 1), (1, 3), (10, 9).
203, the first mobile terminal displays a graphic.
After the first mobile terminal determines the graph corresponding to the information to be paired, the first mobile terminal may display the graph, for example, the first mobile terminal may display the graph on the main interface. Or the first mobile terminal can create a blank interface and then display the graph on the blank page, so that the user can conveniently view the graph on the interface and operate on the graph.
For example, when the first mobile terminal determines that the graph corresponding to the information to be paired is a square, the first mobile terminal may display the square.
204, the first mobile terminal receives the sliding track on the graph.
For example, the user may perform a sliding operation on the graph, and the first mobile terminal may determine the sliding track according to the sliding operation.
And 205, the first mobile terminal determines first operation information according to the sliding track.
When the first movement receives a sliding track on the graph, the first mobile terminal may determine the first operation information according to the sliding track.
For example, assume that a rectangle is determined from the pairing information, and then the user performs an operation on the rectangle.
In some embodiments, when the user performs a sliding operation on the rectangle, the first mobile terminal may determine a sliding track according to the sliding operation, and then determine the first operation information according to the sliding track.
In other embodiments, the sliding operation by the user may be restricted. For example, the first operation information may be determined according to the sliding track, which is limited to have the sliding track corresponding to the sliding operation of the user intersect with one or more sides of the rectangle, so as to prevent the misoperation.
In some embodiments, a user may perform a sliding operation on a rectangle, and when a sliding track formed by the sliding operation of the user intersects with three sides of the rectangle, the sliding track is received, and the first operation information is determined according to the sliding track.
In other embodiments, the user may perform a sliding operation on the rectangle, and when a sliding track formed by the sliding operation of the user intersects three sides of the rectangle and intersects each side only once, the sliding track is received, and the first operation information is determined according to the sliding track.
It can be known that the more complicated the operation of the user on the rectangle, the less the possibility of the user performing an incorrect operation, and therefore, in some embodiments, the second mobile terminal may determine the operation of the user on the rectangle according to the actual requirement to determine the pairing requirement, and carry the pairing requirement when sending the pairing request, so that the first mobile terminal may determine different operations according to the actual requirement of the second mobile terminal. For example, when the pairing request is such that a slide trajectory formed by a slide operation by a user is received only when the slide trajectory intersects three sides of a rectangle and the intersection is performed only once with each side. And if the first mobile terminal determines that the sliding track intersected with the three sides of the rectangle is received and only once intersected with each side is performed, determining first operation information according to the sliding track, otherwise, prompting the user to perform sliding operation again.
And 206, the first mobile terminal sends the first operation information to the second mobile terminal.
After the first mobile terminal obtains the first operation information, the first mobile terminal can send the first operation information to the second mobile terminal.
And 207, the first mobile terminal receives confirmation information from the second terminal, wherein the confirmation information is information generated when the second mobile terminal detects that the second operation information matched with the first operation information exists in the preset operation information set.
It is understood that when the first mobile terminal transmits the first operation information to the second mobile terminal, the second mobile terminal receives the first operation information.
Then, the second mobile terminal may obtain a preset operation information set; detecting whether second operation information matched with the first operation information exists in the preset operation information set or not; if the second mobile terminal detects that the second operation information matched with the first operation information exists in the preset operation information set, the second mobile terminal can generate confirmation information and send the confirmation information to the first mobile terminal, and the first mobile terminal receives the confirmation information from the second mobile terminal.
In this embodiment, the second mobile terminal may set a preset operation information set for the first mobile terminal to pass pairing. For example, the operation information in the preset operation information set may be determined according to a sliding trajectory that intersects three sides of a rectangle and intersects each side only once. Then, the second mobile terminal may transmit the confirmation information to the first mobile terminal as long as the first operation information is determined based on the sliding track intersecting three sides of the rectangle and intersecting each side once.
And 208, the first mobile terminal is paired with the second mobile terminal according to the confirmation information.
After the first mobile terminal receives the confirmation information, the first mobile terminal can be paired with the second mobile terminal according to the confirmation information.
And 209, the first mobile terminal receives prompt information from the second mobile terminal, wherein the prompt information is generated when the second mobile terminal detects that no second operation information matched with the first operation information exists in a preset operation information set, and the prompt information is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
It is understood that when the first mobile terminal transmits the first operation information to the second mobile terminal, the second mobile terminal receives the first operation information.
Then, the second mobile terminal may obtain a preset operation information set; detecting whether second operation information matched with the first operation information exists in the preset operation information set or not; if the second mobile terminal detects that second operation information matched with the first operation information does not exist in the preset operation information set, the second mobile terminal can generate prompt information and send the prompt information to the first mobile terminal, and the first mobile terminal receives the prompt information from the second mobile terminal, wherein the prompt information is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
In this embodiment, the second mobile terminal may set a preset operation information set for the first mobile terminal to pass pairing. For example, the operation information in the preset operation information set may be determined according to a sliding trajectory that intersects three sides of a rectangle and intersects each side only once. Then, if the first operation information is determined according to a sliding track intersecting with three sides of the rectangle and intersecting with each side for multiple times, the second mobile terminal may send a prompt message to the first mobile terminal to prompt that the first mobile terminal and the second mobile terminal fail to be paired.
In some embodiments, when the second mobile terminal sends the prompt message to the first mobile terminal, the second mobile terminal also sends a pairing request to the first mobile terminal at the same time so as to pair with the first mobile terminal again.
In other embodiments, when the first mobile terminal receives the prompt message, the first mobile terminal may actively send a pairing request to the second mobile terminal to pair with the second mobile terminal again.
In this embodiment, the first mobile terminal may receive a pairing request of the second mobile terminal, where the pairing request carries information to be paired; determining and displaying a graph according to the information to be paired; and receiving the operation on the graph to obtain operation information, and pairing with the second mobile terminal according to the operation information. According to the method and the device, when the first mobile terminal is paired with the second mobile terminal, the user needs to perform correct operation on the graph to start to perform the operation of pairing with the second mobile terminal, so that the phenomenon of misoperation can be reduced.
Referring to fig. 3, fig. 3 is a third flowchart illustrating a pairing method for a mobile terminal according to an embodiment of the present application. Wherein, the process may include:
301, the second mobile terminal sends a pairing request to the first mobile terminal, where the pairing request carries information to be paired.
It is understood that when the second mobile terminal needs to perform wireless connection with the first mobile terminal to realize file transfer, the second mobile terminal may send a pairing request to the first mobile terminal. Wherein, the pairing request carries the information to be paired. The wireless connection may be a bluetooth connection.
302, when the first mobile terminal receives a pairing request of the second mobile terminal, the first mobile terminal determines a polygon corresponding to information to be paired.
When the first mobile terminal receives the pairing request, the information to be paired can be extracted from the pairing request, and the first mobile terminal can analyze the information to be paired so as to determine a polygon corresponding to the information to be paired. For example, the polygon may be a square, rectangle, trapezoid, pentagon, or hexagon, among others.
In this embodiment, when the first mobile terminal receives the information to be paired, the first mobile terminal may determine a polygon according to the information to be paired. Different information to be paired corresponds to different polygons. For example, assume two types of information to be paired a and information to be paired B. Then, the graph corresponding to the information a to be paired may be a square, and the graph corresponding to the information B to be paired may be a rectangle.
303, the first mobile terminal displays the polygon.
After the first mobile terminal determines the polygon corresponding to the information to be paired, the first mobile terminal may display the polygon, for example, the polygon may be displayed on the main interface by the first mobile terminal. Or the first mobile terminal can newly create a blank interface and then display the polygon on the blank page, so that the user can conveniently view the polygon on the interface and operate on the polygon.
In some embodiments, the pairing request sent by the second mobile terminal may also carry a pairing requirement. When the first mobile terminal receives the pairing request, a polygon corresponding to the to-be-paired information carried in the pairing request can be determined, and a corresponding pairing requirement is obtained. The pairing requirement is used for prompting the first mobile terminal to determine the corresponding sliding track as the first operation information.
304, the first mobile terminal receives a sliding trajectory on the polygon.
After the first mobile terminal displays the polygon, the user may perform an operation on the polygon. For example, the user may perform a sliding operation on the polygon, and the first mobile terminal receives the sliding track on the polygon.
305, if the sliding track intersects with at least one side of the polygon, the first mobile terminal saves the sliding track.
And 306, the first mobile terminal determines the saved sliding track as the first operation information.
When the pairing requirement is: when the sliding track needs to be intersected with at least one side of the polygon, the first terminal stores the sliding track only when the sliding track is determined to be intersected with at least one side of the polygon, and the stored sliding track is determined as first operation information.
307, the first mobile terminal obtains a preset corresponding relationship between the sliding track and the number information.
In this embodiment, when the second mobile terminal sends the pairing request to the first mobile terminal, the pairing request may also carry a preset corresponding relationship between the sliding track and the number information.
For example, the second mobile terminal may number each edge of the polygon that the first mobile terminal is required to display. For example, assuming that the polygon is a rectangle, four sides of the rectangle may be numbered 01, 02, 03, and 04, respectively. For example, when the sliding track has a side with the number 01 and intersects with the side with the number 01 once, the corresponding number information is determined to be 01; when the sliding track intersects the edges with the numbers 01, 02 and 03 respectively once in sequence, determining that the corresponding number information is 010203; when the sliding trajectory sequentially crosses the side numbered 01 once and the side numbered 02 twice, the corresponding number information is determined to be 010202. Then, the second mobile terminal may determine the preset corresponding relationship between the sliding track and the number information in the manner described in the above example.
After the first mobile terminal obtains the stored sliding track, the preset corresponding relation between the sliding track and the number information can be obtained.
308, the first mobile terminal determines the target number information corresponding to the stored sliding track according to the preset corresponding relation.
After the first mobile terminal obtains the preset corresponding relationship between the sliding track and the operation information, the first mobile terminal may determine, according to the preset corresponding relationship, the target number information corresponding to the stored sliding track. For example, assuming that the stored sliding trajectory sequentially intersects the edges numbered 01, 02, and 04 once, respectively, the first mobile terminal determines that the object number information corresponding to the stored sliding trajectory is 010204.
309, the first mobile terminal sends the target number information to the second mobile terminal.
When the first mobile terminal determines the target number information corresponding to the stored sliding track, the first mobile terminal sends the target number information to the second mobile terminal.
310, when the second mobile terminal receives the target number information of the first mobile terminal, the second mobile terminal obtains a preset number information set.
When the second mobile terminal receives the target number information of the first mobile terminal, the second mobile terminal may obtain a preset number information set, where the preset number information set includes a plurality of number information.
The second mobile terminal may determine a plurality of pieces of numbering information according to an actual situation, and determine a preset numbering information set according to the plurality of pieces of numbering information.
And 311, the second mobile terminal detects whether the number information matched with the target number information exists in the preset number information set.
After the second mobile terminal acquires the preset number information set, the second mobile terminal may detect whether number information matched with the target number information exists in the preset number information set.
312, when the preset number information set has the number information matching with the target number information, the second mobile terminal sends a confirmation message to the first mobile terminal.
For example, it is assumed that the preset number information set includes the number information: 010203, 010204, 010304, 020304, 01020304, and object number information is 010204. It is obvious that the second mobile terminal can determine that there is number information in the preset number information set that matches the target number information 010204, and therefore the second mobile terminal can send confirmation information to the first mobile terminal.
313, when the first mobile terminal receives the confirmation information, the first mobile terminal pairs with the second mobile terminal according to the confirmation information.
For example, when the first mobile terminal receives the confirmation information, the first mobile terminal may pair with the second mobile terminal to finally successfully perform wireless connection with the second mobile terminal.
314, when no number information matched with the target number information exists in the preset number information set, the second mobile terminal sends a prompt message to the first mobile terminal, wherein the prompt message is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
For example, it is assumed that the preset number information set includes the number information: 010203, 010204, 010304, 020304, 01020304, object number information 0102. Obviously, the second mobile terminal may determine that no number information matching the target number information 0102 exists in the preset number information set, and therefore, the second mobile terminal may send a prompt message to the first mobile terminal to prompt that the first mobile terminal and the second mobile terminal fail to pair.
When the first mobile terminal receives the prompt message, the prompt message can be displayed to prompt the first mobile terminal user that the first mobile terminal and the second mobile terminal are unsuccessfully paired.
In some embodiments, when the second mobile terminal sends the prompt message to the first mobile terminal, the second mobile terminal also sends a pairing request to the first mobile terminal at the same time so as to pair with the first mobile terminal again.
In other embodiments, when the first mobile terminal receives the prompt message, the first mobile terminal may generate and display a query message asking the first mobile terminal user whether to select to pair with the second mobile terminal again. When the user of the first mobile terminal selects to pair with the second mobile terminal again, the first mobile terminal may actively send a pairing request to the second mobile terminal to pair with the second mobile terminal again.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a pairing device of a mobile terminal according to an embodiment of the present disclosure. The pairing device of the mobile terminal comprises: a first receiving module 401, a determining module 402, a displaying module 403, a second receiving module 404 and a pairing module 405.
The first receiving module 401 is configured to receive a pairing request of a second mobile terminal, where the pairing request carries information to be paired.
A determining module 402, configured to determine a graph corresponding to the information to be paired.
A display module 403, configured to display the graph.
A second receiving module 404, configured to receive an operation on the graph to obtain first operation information.
A pairing module 405, configured to pair with the second mobile terminal according to the first operation information.
In some embodiments, the graph is a polygon, and the determining module 402 may be configured to: determining a polygon corresponding to the information to be paired; the display module 403 may be configured to: displaying the polygon; the second receiving module 404 may be configured to: and receiving the operation on the polygon to obtain first operation information.
In some embodiments, the second receiving module 404 may be configured to: receiving a sliding track on the polygon; if the sliding track is intersected with at least one side of the polygon, the sliding track is saved; determining the stored sliding track as first operation information; the pairing module 405 may be configured to: and pairing the second mobile terminal according to the stored sliding track.
In some embodiments, the pairing module 405 may be configured to: acquiring a preset corresponding relation between the sliding track and the serial number information; determining target number information corresponding to the stored sliding track according to the preset corresponding relation; and pairing with the second mobile terminal according to the target number information.
In some embodiments, the second receiving module 404 may be configured to: receiving a sliding track on the graph; and determining first operation information according to the sliding track.
In some embodiments, the pairing module 405 may be configured to: sending the first operation information to the second mobile terminal; receiving confirmation information from a second terminal, wherein the confirmation information is information generated when the second mobile terminal detects that second operation information matched with the first operation information exists in a preset operation information set; and pairing with the second mobile terminal according to the confirmation information.
In some embodiments, the pairing module 405 may be configured to: receiving prompt information from a second mobile terminal, wherein the prompt information is generated when the second mobile terminal detects that no second operation information matched with the first operation information exists in a preset operation information set, and the prompt information is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute a procedure in a pairing method of a mobile terminal as provided in this embodiment.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the processor is configured to execute the procedure in the pairing method of the mobile terminal provided in this embodiment by calling the computer program stored in the memory.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be used to implement the pairing method, apparatus, storage medium and mobile terminal provided in the foregoing embodiments. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 5, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 5 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols that have not yet been developed.
The memory 120 may be used to store software programs and modules, such as the pairing method, apparatus, storage medium of the mobile terminal and program instructions/modules corresponding to the mobile terminal in the above embodiments, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory located remotely from processor 180, which may be connected to mobile terminal 1200 via a network. Examples of the above network include, but are not limited to, the internet, an intranet, a lan, a mobile communication network, and a combination thereof, and the storage 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 5, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions. In the above embodiment, the display interface of the mobile terminal may be represented by the display unit 140, and content that associates the current mobile payment information with the current store information may be displayed on the display unit 140 of the mobile terminal 1200, that is, the display content displayed on the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200 may assist a user in transceiving files and the like through the transmission module 170 (e.g., the bluetooth module 1701), which provides wireless short-range communication and the like to the user.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired;
determining a graph corresponding to the information to be paired;
displaying the graph;
receiving the operation on the graph to obtain first operation information;
and pairing the second mobile terminal according to the first operation information.
In some embodiments, the determining the graph corresponding to the information to be paired includes:
determining a polygon corresponding to the information to be paired;
the displaying the graphic includes:
displaying the polygon;
the receiving the operation on the graph to obtain first operation information comprises:
and receiving the operation on the polygon to obtain first operation information.
In some embodiments, the receiving the operation on the polygon, and obtaining first operation information includes:
receiving a sliding track on the polygon;
if the sliding track is intersected with at least one side of the polygon, the sliding track is saved;
determining the stored sliding track as first operation information;
the pairing with the second mobile terminal according to the first operation information includes:
and pairing the second mobile terminal according to the stored sliding track.
In some embodiments, the pairing with the second mobile terminal according to the saved sliding track includes:
acquiring a preset corresponding relation between the sliding track and the serial number information;
determining target number information corresponding to the stored sliding track according to the preset corresponding relation;
and pairing with the second mobile terminal according to the target number information.
In some embodiments, the receiving an operation on the graph to obtain first operation information includes:
receiving a sliding track on the graph;
and determining first operation information according to the sliding track.
In some embodiments, the pairing with the second mobile terminal according to the first operation information includes:
sending the first operation information to the second mobile terminal;
receiving confirmation information from a second terminal, wherein the confirmation information is information generated when the second mobile terminal detects that second operation information matched with the first operation information exists in a preset operation information set;
and pairing with the second mobile terminal according to the confirmation information.
In some embodiments, after the sending the first operation information to the second mobile terminal, further includes:
receiving prompt information from a second mobile terminal, wherein the prompt information is generated when the second mobile terminal detects that no second operation information matched with the first operation information exists in a preset operation information set, and the prompt information is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The pairing method, the pairing device, the storage medium and the mobile terminal provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (7)

1. A pairing method of a mobile terminal is applied to a first mobile terminal, and is characterized by comprising the following steps:
receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired;
determining a polygon corresponding to the information to be paired;
displaying the polygon;
receiving a sliding track on the polygon;
if the sliding track is intersected with at least one side of the polygon, the sliding track is saved;
and pairing with the second mobile terminal according to the stored sliding track.
2. The method according to claim 1, wherein the pairing with the second mobile terminal according to the saved sliding trajectory comprises:
acquiring a preset corresponding relation between the sliding track and the serial number information;
determining target number information corresponding to the stored sliding track according to the preset corresponding relation;
and pairing with the second mobile terminal according to the target number information.
3. The method according to claim 1, wherein the pairing with the second mobile terminal according to the saved sliding trajectory comprises:
sending the stored sliding track to the second mobile terminal;
receiving confirmation information from a second terminal, wherein the confirmation information is information generated when the second mobile terminal detects that a sliding track matched with the stored sliding track exists in a preset sliding track set;
and pairing with the second mobile terminal according to the confirmation information.
4. The method for pairing mobile terminals according to claim 3, wherein after the sending the saved sliding trajectory to the second mobile terminal, the method further comprises:
and receiving prompt information from a second mobile terminal, wherein the prompt information is generated when the second mobile terminal detects that no sliding track matched with the stored sliding track exists in a preset sliding track set, and the prompt information is used for prompting that the first mobile terminal and the second mobile terminal are failed to be paired.
5. A pairing device of a mobile terminal is applied to a first mobile terminal, and is characterized by comprising:
the first receiving module is used for receiving a pairing request of a second mobile terminal, wherein the pairing request carries information to be paired;
the determining module is used for determining a polygon corresponding to the information to be paired;
a display module for displaying the polygon;
a second receiving module, configured to receive a sliding track on the polygon; if the sliding track is intersected with at least one side of the polygon, the sliding track is saved;
and the pairing module is used for pairing with the second mobile terminal according to the stored sliding track.
6. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the pairing method of a mobile terminal according to any one of claims 1 to 4.
7. A mobile terminal, characterized in that it comprises a memory, a processor for executing the pairing method of a mobile terminal according to any one of claims 1 to 4 by invoking a computer program stored in said memory.
CN201910279391.8A 2019-04-09 2019-04-09 Pairing method and device of mobile terminal, storage medium and mobile terminal Active CN109831770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910279391.8A CN109831770B (en) 2019-04-09 2019-04-09 Pairing method and device of mobile terminal, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910279391.8A CN109831770B (en) 2019-04-09 2019-04-09 Pairing method and device of mobile terminal, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN109831770A CN109831770A (en) 2019-05-31
CN109831770B true CN109831770B (en) 2022-03-25

Family

ID=66874377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910279391.8A Active CN109831770B (en) 2019-04-09 2019-04-09 Pairing method and device of mobile terminal, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109831770B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132963B (en) * 2021-04-20 2022-09-06 合肥星空物联信息科技有限公司 Pairing method suitable for intelligent skipping rope

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918208A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal pairing method and mobile terminal
CN105246024A (en) * 2015-09-02 2016-01-13 深圳市文鼎创数据科技有限公司 Terminal equipment matching connection method and system
CN108228068A (en) * 2017-12-04 2018-06-29 珠海市魅族科技有限公司 Terminal matching method, device, computer installation and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026052B2 (en) * 2013-01-24 2015-05-05 Htc Corporation Mobile electronic device and connection establishment method between mobile electronic devices
US9762316B2 (en) * 2014-09-03 2017-09-12 Adobe Systems Incorporated Lightweight pairing and connection transfer protocol via gesture-driven shared secrets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918208A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal pairing method and mobile terminal
CN105246024A (en) * 2015-09-02 2016-01-13 深圳市文鼎创数据科技有限公司 Terminal equipment matching connection method and system
CN108228068A (en) * 2017-12-04 2018-06-29 珠海市魅族科技有限公司 Terminal matching method, device, computer installation and computer readable storage medium

Also Published As

Publication number Publication date
CN109831770A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US10169639B2 (en) Method for fingerprint template update and terminal device
WO2017206707A1 (en) Method for launching application and terminal
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
WO2019205065A1 (en) Method for quickly opening application or application function, and terminal
CN104852885B (en) Method, device and system for verifying verification code
US11184754B2 (en) Data sharing method and terminal
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
KR102503514B1 (en) Authentication window display method and device
WO2019007371A1 (en) Method for preventing information from being stolen, storage device, and mobile terminal
WO2015010570A1 (en) A method, device, and terminal for hiding or un-hiding content
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
US10476889B2 (en) Information interaction method, apparatus and system
CN109831770B (en) Pairing method and device of mobile terminal, storage medium and mobile terminal
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN110719361B (en) Information transmission method, mobile terminal and storage medium
WO2016131180A1 (en) Keyboard display method, apparatus and terminal device
CN114126083A (en) Cross-network-segment wireless screen projection method and device, electronic equipment and storage medium
CN112379905A (en) Kernel upgrading method and device, terminal and storage medium
EP3410281B1 (en) Processing method and electronic device
CN105988801B (en) Method and device for displaying annotation information
CN110109582B (en) Display method and device of mobile terminal and storage medium
CN111163221B (en) Group address book updating method and device, storage medium and terminal equipment
CN112380588A (en) Private information display method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231214

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.