CN110062412A - Wireless pairing method, system, storage medium and mobile terminal - Google Patents

Wireless pairing method, system, storage medium and mobile terminal Download PDF

Info

Publication number
CN110062412A
CN110062412A CN201910280726.8A CN201910280726A CN110062412A CN 110062412 A CN110062412 A CN 110062412A CN 201910280726 A CN201910280726 A CN 201910280726A CN 110062412 A CN110062412 A CN 110062412A
Authority
CN
China
Prior art keywords
power
wireless
wireless signal
multiple wireless
mobile terminal
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.)
Granted
Application number
CN201910280726.8A
Other languages
Chinese (zh)
Other versions
CN110062412B (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 CN201910280726.8A priority Critical patent/CN110062412B/en
Publication of CN110062412A publication Critical patent/CN110062412A/en
Application granted granted Critical
Publication of CN110062412B publication Critical patent/CN110062412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

This application discloses a kind of wireless pairing method, system, storage medium and mobile terminals, comprising: obtains the power of multiple wireless signals;Information to be paired is determined according to the power of the multiple wireless signal;Default unpaired message is obtained, the information to be paired is detected and whether the default unpaired message is identical;If they are the same, it is determined that mobile terminal and target device successful matching.Two mobile devices can quickly be matched, improve the rate that connection is established.

Description

Wireless pairing method, system, storage medium and mobile terminal
Technical field
This application involves the communications fields, and in particular to a kind of wireless pairing method, system, storage medium and mobile terminal.
Background technique
In recent years, with the raising that development in science and technology and people require quality of life, wire transmission mode draws its wiring Complexity, convenience are not denounced by user by force, and wireless transmission is come into being as a result, wherein user is the most widely used to be surely belonged to Bluetooth transmission.
In the prior art, two mobile devices are when establishing bluetooth connection, need user input mobile device PIN code or The verification informations such as password, and it also requires user carries out a large amount of clicking operation on the mobile apparatus, mode is established in this connection It is relatively complicated.
Therefore, the prior art is defective, needs to improve.
Summary of the invention
The embodiment of the present application provides a kind of wireless pairing method, two mobile devices can quickly be matched, and improves connection and builds Vertical rate.
The embodiment of the present application provides a kind of wireless pairing method, applied to the shifting for including timer and wireless transmission device Dynamic terminal, comprising:
Obtain the power of multiple wireless signals;
Information to be paired is determined according to the power of the multiple wireless signal;
Default unpaired message is obtained, the information to be paired is detected and whether the default unpaired message is identical;
If they are the same, it is determined that mobile terminal and target device successful matching.
In wireless pairing method described herein, the step of the power for obtaining multiple wireless signals, comprising:
When receiving wireless matching instruction, the power for the wireless signal that the wireless transmission device issues is monitored;
When monitor it is described wireless transmission device issue wireless signal power be greater than the first preset threshold when, according to when Between sequence and prefixed time interval obtain it is described wireless transmission device issue multiple wireless signals power.
It is described when the wireless communication for monitoring that the wireless transmission device issues in wireless pairing method described herein Number power when being greater than the first preset threshold, sequentially in time and prefixed time interval obtains wireless transmission device sending Multiple wireless signals power the step of after, further includes:
Judge the power of the multiple wireless signal whether less than the second preset threshold;
If the power of the multiple wireless signal is less than second preset threshold, stop obtaining the multiple wireless communication Number power.
In wireless pairing method described herein, the power according to the multiple wireless signal determines to be paired The step of information, comprising:
The power of the multiple wireless signal is arranged according to the time sequencing of acquisition, obtains power set;
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
The information to be paired is determined according to the multiple difference.
In wireless pairing method described herein, the power by the multiple wireless signal according to acquisition when Between the step of sequentially arranging, obtaining power set, comprising:
The timer is opened, the power of the multiple wireless signal is marked, it is multiple wireless after being marked The power of signal;
The power set is obtained according to the power of multiple wireless signals after the label.
In wireless pairing method described herein, if the power of the multiple wireless signal is less than described second Preset threshold, then after stopping the step of obtaining the power of the multiple wireless signal, further includes:
The timer is closed, the label to the power of the multiple wireless signal is terminated.
The embodiment of the present application also provides a kind of Wireless pairing system, comprising:
Module is obtained, for obtaining the power of multiple wireless signals;
Determining module, for determining information to be paired according to the power of the multiple wireless signal;
Detection module, for obtaining default unpaired message, detecting the information to be paired with the default unpaired message is It is no identical;
Matching module, if for the information to be paired it is identical with the default unpaired message, it is determined that mobile terminal and Target device successful matching.
In Wireless pairing system described herein, the determining module is used for:
The power of the multiple wireless signal is arranged according to the time sequencing of acquisition, obtains power set;
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
The information to be paired is determined according to the multiple difference.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers, so that the computer executes wireless pairing method as described above.
The embodiment of the present application also provides a kind of mobile terminal, and the mobile terminal includes processor and memory, described to deposit Computer program is stored in reservoir, the processor is used by calling the computer program stored in the memory In execution wireless pairing method as described above.
Wireless pairing method provided by the embodiments of the present application, comprising: obtain the power of multiple wireless signals;According to described more The power of a wireless signal determines information to be paired;Default unpaired message is obtained, the information to be paired is detected and is preset with described Whether unpaired message is identical;If they are the same, it is determined that mobile terminal and target device successful matching.It can be quick by two mobile devices Pairing improves the rate that connection is established.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the first flow diagram of wireless pairing method provided by the embodiments of the present application.
Fig. 2 is second of flow diagram of wireless pairing method provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of Wireless pairing system provided by the embodiments of the present application.
Fig. 4 is the specific block diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall in the protection scope of this application.
In the prior art, what smartwatch used is more and more, since the screen of smartwatch is usually smaller, shows Show that content is limited, it is often necessary to by, by bluetooth connection, then smartwatch will need to be shown important interior with mobile terminal Appearance is shown by mobile terminal.It in the prior art, is that will show that content is sent to mobile terminal by smartwatch, so Related content is shown by mobile terminal afterwards, for example, heart rate data is passed through indigo plant by the heart rate of smartwatch detection human body, smartwatch Mobile terminal is issued in tooth connection, is finally displayed on the screen the heart rate data of human body by certain processing by mobile terminal.Base In above-mentioned, it is limited to the screen of smartwatch, smartwatch establishes connection firstly the need of with mobile terminal, and establishes connection procedure More setting is generally required, especially for excessively complicated cumbersome for green hand, or even the case where will appear operation error.
Referring to Fig. 1, Fig. 1 is the first flow diagram of wireless pairing method provided by the embodiments of the present application.
Described method includes following steps:
Step 101, the power for obtaining multiple wireless signals.
It is understood that the power of the multiple wireless signals obtained here is the Bluetooth signal that target device is sent, example Such as: user carries out Bluetooth pairing using mobile phone and smartwatch, and smartwatch here is the target device, target Equipment can continue outwardly to send Bluetooth signal, in order to arrive the acquisition for mobile terminal of user.
Step 102 determines information to be paired according to the power of the multiple wireless signal.
It is understood that the power of the multiple wireless signals got here can be a set or one Array, such as: { bluetooth [1];bluetooth[2];bluetooth[3];Bluetooth [4] } or { 1;0.8; 1.2;1.4;0.6 }, the power according to the multiple wireless signal determine that information to be paired refers to will be the multiple wireless The power of each wireless signal carries out corresponding operation, an obtained letter to be paired in the set of the power composition of signal Breath.
Step 103 obtains default unpaired message, detect the information to be paired and the default unpaired message whether phase Together, if they are the same, then follow the steps 104,
Specifically, default unpaired message here refers to that customer mobile terminal and target device carry out Bluetooth matching for the first time When, according to step 101, the collected default unpaired message of step 102 and step 103 institute, the default unpaired message can be with It is stored in the memory block of mobile terminal, to call the default unpaired message when subsequent be compared.In the mistake of subsequent pairing Collected information to be paired can be compared by Cheng Zhong with the default unpaired message.
Step 104, if they are the same, it is determined that mobile terminal and target device successful matching.
It is appreciated that in the step 103, when information to be paired is identical with default unpaired message, mobile terminal is and target Equipment establishes connection, successful matching.
Wireless pairing method provided by the embodiments of the present application, comprising: obtain the power of multiple wireless signals;According to described more The power of a wireless signal determines information to be paired;Default unpaired message is obtained, the information to be paired is detected and is preset with described Whether unpaired message is identical;If they are the same, it is determined that mobile terminal and target device successful matching.It can be quick by two mobile devices Pairing improves the rate that connection is established.
Referring to Fig. 2, Fig. 2 is second of flow diagram of wireless pairing method provided by the embodiments of the present application.
Described method includes following steps:
Step 201, when receiving wireless matching instruction, the power for the wireless signal that monitoring wireless transmission device issues.
Wherein, wireless matching instruction here refers to that user carries out opening bluetooth or wireless network etc. on mobile terminals Function, user can click the function that screen or physical button open bluetooth or wireless network etc..When mobile terminal receives After wireless matching instruction, start the wireless signal that the wireless transmission device of real-time monitoring mobile terminal in a certain range issues Power.Here range size can be the transmission range of Bluetooth signal or the transmission range of Wi-Fi, here without limitation.
Step 202, it when monitoring that the power of wireless signal of wireless transmission device sending is greater than the first preset threshold, presses The power for multiple wireless signals that wireless transmission device issues is obtained according to time sequencing and prefixed time interval.
Specifically, a voltage threshold can be set in order to make terminal obtain stable Bluetooth signal or Wi-Fi signal VTH1, i.e. the first preset threshold, monitor wireless transmission device issue wireless signal power be greater than VTH1 when, according to when Between sequence and prefixed time interval obtain wireless transmission device issue multiple wireless signals power.Here suitable according to the time Sequence refers to being obtained according to the sequencing of time, and prefixed time interval refers to making mobile terminal every preset time The power of a wireless signal is obtained, such as: obtain within every 2 seconds the power of a wireless signal.Here the first preset threshold compared with Good is 0.8 millivolt (mV).
Step 203, the power of multiple wireless signals is marked in opening timing device, multiple wireless after being marked The power of signal executes step 204.
It is understood that here opening timing device be in order to will it is described sequentially in time and prefixed time interval obtains To the power of multiple wireless signals be marked, the power of multiple wireless signals after being marked, in order to subsequent to more The power of a wireless signal is handled.
Step 204, power set is obtained according to the power of multiple wireless signals after label, is obtaining the power set Afterwards, step 205 is executed.
Wherein, the power here according to multiple wireless signals after label obtains power set and refers to marking timer Later the power of the multiple wireless signals obtained forms a set or array, such as: { bluetooth [1]; bluetooth[2];bluetooth[3];bluetooth[4]…bluetooth[i];Bluetooth [i+1] } or { 1 [1];0.8[2];1.2[3];1.4[4];0.6[5]};The numerical chracter of " [1] " here etc. is timer to multiple wireless The label that the power of signal carries out.
Step 205, the difference for determining the power of each adjacent two wireless signal in power set obtains multiple differences.? After obtaining the multiple difference, step 206 is executed.
It is understood that according to timer to the label of the power of the wireless signal got, by phase in power set Adjacent two wireless signals make the difference, and obtain multiple differences, such as: reduce [1]=bluetooth [2]-bluetooth [1]; Reduce [i]=bluetooth [i+1]-bluetooth [i], this is that the latter in power set is subtracted what the former obtained, Or by power set the former subtract the latter and obtain, such as: reduce [1]=bluetooth [1]-bluetooth [2];;Reduce [i]=bluetooth [i]-bluetooth [i+1].
Step 206, the information to be paired is determined according to multiple differences.
Specifically, multiple differences that step 205 obtains are recombinated by label or time sequencing, a new set is obtained Or array, such as: { reduce [1]=bluetooth [2]-bluetooth [1];…;Reduce [i]=bluetooth [i+ 1]-bluetooth [i] } or { reduce [1]=bluetooth [1]-bluetooth [2];…;Reduce [i]= bluetooth[i]-bluetooth[i+1]}。
Wherein, after step 203, comprising: step 207, judge the power of the multiple wireless signal whether less than Two preset thresholds.If being less than, 208 are thened follow the steps.
Specifically, a voltage threshold can be set in order to make terminal obtain stable Bluetooth signal or Wi-Fi signal VTH2, i.e. the second preset threshold are monitoring the power of the wireless signal of wireless transmission device sending less than the second preset threshold When, execute step 208.Here the second preset threshold is preferably 0.5mA.
Step 208, Off Timer terminates the power flag to multiple wireless signals.
When monitoring the power of wireless signal of wireless transmission device sending less than the second preset threshold, mobile terminal is closed Timer is closed, and terminates the power flag to multiple wireless signals.By the mark value reset of timer.
Step 209, stop obtaining the power of multiple wireless signals.
It is understood that the power of the wireless signal issued here in judgement wireless transmission device is less than the second default threshold After value, then mobile terminal does not continue to obtain the power of multiple wireless signals.
Step 210, default unpaired message is obtained, whether detect information to be paired identical as default unpaired message, if they are the same, Execute step 211.
It is understood that default unpaired message here refers to that mobile terminal and target device carry out nothing in first time Line matches the default unpaired message that clock synchronization is obtained according to step 201 to step 209, the default pairing that mobile terminal can will acquire Information store in memory, so as to it is subsequent detect information to be paired it is whether identical as default unpaired message when recall again To test.
Step 211 determines mobile terminal and target device successful matching.
It is appreciated that determining mobile terminal and target when detection information to be paired is identical as default unpaired message here Device pairing success, at this moment mobile terminal can establish connection with target device.
Wireless pairing method provided by the embodiments of the present application, comprising: when receiving wireless matching instruction, monitor wireless pass The power for the wireless signal that defeated device issues;When the power for the wireless signal for monitoring wireless transmission device sending is greater than first in advance If when threshold value, sequentially in time and prefixed time interval obtains the power for being wirelessly transferred multiple wireless signals that device issues; The power of multiple wireless signals is marked in opening timing device, the power of multiple wireless signals after being marked;According to mark The power of multiple wireless signals after note obtains power set;Determine the power of each adjacent two wireless signal in power set Difference obtains multiple differences;The information to be paired is determined according to multiple differences;Judging the power of the multiple wireless signal is It is no less than the second preset threshold;Off Timer terminates the power flag to multiple wireless signals;Stop obtaining multiple wireless communications Number power;Default unpaired message is obtained, detects whether information to be paired is identical as default unpaired message, and if they are the same, determination moves Dynamic terminal and target device successful matching.Whether the power difference of multiple wireless signals by judging to obtain is identical, can incite somebody to action Two mobile devices are quickly matched, and the rate that connection is established is improved.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of Wireless pairing system provided by the embodiments of the present application.It is described wirelessly to match It include: to obtain module 31, determining module 32, detection module 33 and matching module 34 to system.
Wherein, module 31 is obtained, for obtaining the power of multiple wireless signals.
It is understood that the power of the multiple wireless signals obtained here is the Bluetooth signal that target device is sent, example Such as: user carries out Bluetooth pairing using mobile phone and smartwatch, and smartwatch here is the target device, target Equipment can continue outwardly to send Bluetooth signal, in order to arrive the acquisition for mobile terminal of user
Determining module 32, for determining information to be paired according to the power of the multiple wireless signal.
It is understood that the power of the multiple wireless signals got here can be a set or one Array, such as: { bluetooth [1];bluetooth[2];bluetooth[3];Bluetooth [4] } or { 1;0.8; 1.2;1.4;0.6 }, the power according to the multiple wireless signal determine that information to be paired refers to will be the multiple wireless The power of each wireless signal carries out corresponding operation, an obtained letter to be paired in the set of the power composition of signal Breath.
Wherein, the determining module 32, is used for, and the power of the multiple wireless signal is arranged according to the time sequencing of acquisition Column, obtain power set;
Wherein, the power here according to multiple wireless signals after label obtains power set and refers to marking timer Later the power of the multiple wireless signals obtained forms a set or array, such as: { bluetooth [1]; bluetooth[2];bluetooth[3];bluetooth[4]…bluetooth[i];Bluetooth [i+1] } or { 1 [1];0.8[2];1.2[3];1.4[4];0.6[5]};The numerical chracter of " [1] " here etc. is timer to multiple wireless The label that the power of signal carries out.
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
It is understood that according to timer to the label of the power of the wireless signal got, by phase in power set Adjacent two wireless signals make the difference, and obtain multiple differences, such as: reduce [1]=bluetooth [2]-bluetooth [1]; Reduce [i]=bluetooth [i+1]-bluetooth [i], this is that the latter in power set is subtracted what the former obtained, Or by power set the former subtract the latter and obtain, such as: reduce [1]=bluetooth [1]-bluetooth [2];;Reduce [i]=bluetooth [i]-bluetooth [i+1].
The information to be paired is determined according to the multiple difference.
Specifically, multiple differences that step 205 obtains are recombinated by label or time sequencing, a new set is obtained Or array, such as: { reduce [1]=bluetooth [2]-bluetooth [1];…;Reduce [i]=bluetooth [i+ 1]-bluetooth [i] } or { reduce [1]=bluetooth [1]-bluetooth [2];…;Reduce [i]= bluetooth[i]-bluetooth[i+1]}。
Detection module 33 detects the information to be paired and the default unpaired message for obtaining default unpaired message It is whether identical.
Specifically, default unpaired message here refers to that customer mobile terminal and target device carry out Bluetooth matching for the first time When, the collected default unpaired message of institute, the default unpaired message can store in the memory block of mobile terminal, so as to subsequent The default unpaired message is called when being compared.It, can be by collected information to be paired during subsequent pairing It is compared with the default unpaired message.
Matching module 34, if identical as the default unpaired message for the information to be paired, it is determined that mobile terminal With target device successful matching
It is appreciated that mobile terminal, which is established with target device, to be connected when information to be paired is identical as default unpaired message It connects, successful matching.
Based on the above method, the present invention also provides a kind of storage mediums, are stored thereon with a plurality of instruction, wherein described Instruction is suitble to be loaded by processor and execute wireless pairing method as described above.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Fig. 4 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for Wireless pairing method, system, storage medium and the mobile terminal provided in above-described embodiment is provided.The mobile terminal 1200 can be with For smart phone or tablet computer.
As shown in figure 4, mobile terminal 1200 may include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display Unit 140, voicefrequency circuit 160, transmission module 170, includes one or more than one and (only shows one in figure sensor 150 It is a) processor 180 of processing core and the equal components of power supply 190.It will be understood by those skilled in the art that being moved shown in Fig. 4 Dynamic 1200 structure of terminal does not constitute the restriction to mobile terminal 1200, may include components more more or fewer than diagram, or Person combines certain components or different component layouts.Wherein:
RF circuit 110 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave News network or other equipment are communicated.RF circuit 110 may include various existing for executing the circuit elements of these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage Device etc..RF circuit 110 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Memory 120 can be used for storing software program and module, as wireless pairing method in above-described embodiment, system, Storage medium and the corresponding program instruction/module of mobile terminal, processor 180 are stored in soft in memory 120 by operation Part program and module realize the function that chip is mutually distinguishable thereby executing various function application and data processing.Storage Device 120 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 120 can further comprise relative to processing The remotely located memory of device 180, these remote memories can pass through network connection to mobile terminal 1200.Above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof, and memory 120 can be for such as The upper storage medium.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and mobile terminal that are supplied to user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 3, touch sensitive surface 131 and display surface Plate 141 is to output and input function as two independent components to realize, but in some embodiments it is possible to by touch-sensitive table Face 131 and display panel 141 integrate and realize and output and input function.Wherein, in above-described embodiment mobile terminal display circle Face can indicate with the display unit 140, can by current mobile payment information together with current retail shop's information association in Appearance is shown on the display unit 140 of the mobile terminal 1200, i.e., the display content that display interface is shown can be single by display Member 140 is shown.
Mobile terminal 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when mobile terminal 1200 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 1200 etc. its His sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can provide between user and mobile terminal 1200 connect Mouthful.Electric signal after the audio data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to audio data, then by after the processing of audio data output processor 180, through RF circuit 110 to be sent to ratio Such as another terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 1200.
Mobile terminal 1200 can be with by transmission module 170 (such as wireless network module 1701 or bluetooth module 1702) Help user to send and receive e-mail, browse webpage and access streaming video etc., it provides wireless broadband internet for user Access.Although Fig. 3 shows transmission module 170, but it is understood that, and it is not belonging to the necessary structure of mobile terminal 1200 At can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 180 is the control centre of mobile terminal 1200, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in storage Data in device 120 execute the various functions and processing data of mobile terminal 1200, to carry out integral monitoring to mobile phone.It can Choosing, processor 180 may include one or more processing cores;In some embodiments, processor 180 can be integrated using processing Device and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation Demodulation processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processing In device 180.
Mobile terminal 1200 further includes the power supply 190 (such as battery) powered to all parts, in some embodiments, electricity Source can be logically contiguous by power-supply management system and processor 180, to realize management charging by power-supply management system, put The functions such as electricity and power managed.Power supply 190 can also include one or more direct current or AC power source, recharge The random components such as system, power failure detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 1200 can also include camera (such as front camera, rear camera), bluetooth Module etc., details are not described herein.
Specifically in the present embodiment, the display unit 140 of mobile terminal 1200 is touch-screen display, mobile terminal 1200 It further include having memory 120 and one perhaps more than one program one of them or more than one program being stored in and deposits In reservoir 120, and be configured to by one or more than one processor 180 to execute one or more than one program include to use In the instruction performed the following operation:
Obtain the power of multiple wireless signals;
Information to be paired is determined according to the power of the multiple wireless signal;
Default unpaired message is obtained, the information to be paired is detected and whether the default unpaired message is identical;
If they are the same, it is determined that mobile terminal and target device successful matching.
In some embodiments, the step of power for obtaining multiple wireless signals, comprising:
When receiving wireless matching instruction, the power for the wireless signal that the wireless transmission device issues is monitored;
When monitor it is described wireless transmission device issue wireless signal power be greater than the first preset threshold when, according to when Between sequence and prefixed time interval obtain it is described wireless transmission device issue multiple wireless signals power.
In some embodiments, described when the power that monitor wireless signal that the wireless transmission device issues is greater than the When one preset threshold, sequentially in time and prefixed time interval obtains multiple wireless signals that the wireless transmission device issues Power the step of after, further includes:
Judge the power of the multiple wireless signal whether less than the second preset threshold;
If the power of the multiple wireless signal is less than second preset threshold, stop obtaining the multiple wireless communication Number power.
In some embodiments, the step of power according to the multiple wireless signal determines information to be paired, packet It includes:
The power of the multiple wireless signal is arranged according to the time sequencing of acquisition, obtains power set;
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
The information to be paired is determined according to the multiple difference.
In some embodiments, the power by the multiple wireless signal is arranged according to the time sequencing of acquisition, is obtained The step of to power set, comprising:
The timer is opened, the power of the multiple wireless signal is marked, it is multiple wireless after being marked The power of signal;
The power set is obtained according to the power of multiple wireless signals after the label.
In some embodiments, if the power of the multiple wireless signal is less than second preset threshold, stop After the step of only obtaining the power of the multiple wireless signal, further includes:
The timer is closed, the label to the power of the multiple wireless signal is terminated.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
Above to a kind of wireless pairing method, system, storage medium and mobile terminal provided by the embodiment of the present application into It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation The explanation of example is merely used to help understand the technical solution and its core concept of the application;Those skilled in the art should Understand: it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of technical characteristic It is equivalently replaced;And these are modified or replaceed, each embodiment of the application that it does not separate the essence of the corresponding technical solution The range of technical solution.

Claims (10)

1. a kind of wireless pairing method, applied to the mobile terminal for including timer and wireless transmission device, which is characterized in that Include:
Obtain the power of multiple wireless signals;
Information to be paired is determined according to the power of the multiple wireless signal;
Default unpaired message is obtained, the information to be paired is detected and whether the default unpaired message is identical;
If they are the same, it is determined that mobile terminal and target device successful matching.
2. wireless pairing method according to claim 1, which is characterized in that the power for obtaining multiple wireless signals Step, comprising:
When receiving wireless matching instruction, the power for the wireless signal that the wireless transmission device issues is monitored;
It is suitable according to the time when monitoring that the power of wireless signal of the wireless transmission device sending is greater than the first preset threshold Sequence and prefixed time interval obtain the power for multiple wireless signals that the wireless transmission device issues.
3. wireless pairing method according to claim 2, which is characterized in that described to monitor the wireless transmission device When the power of the wireless signal of sending is greater than the first preset threshold, sequentially in time and prefixed time interval acquisition is described wireless After the step of power for multiple wireless signals that transmission apparatus issues, further includes:
Judge the power of the multiple wireless signal whether less than the second preset threshold;
If the power of the multiple wireless signal is less than second preset threshold, stop obtaining the multiple wireless signal Power.
4. wireless pairing method according to claim 1, which is characterized in that the function according to the multiple wireless signal Rate determines the step of information to be paired, comprising:
The power of the multiple wireless signal is arranged according to the time sequencing of acquisition, obtains power set;
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
The information to be paired is determined according to the multiple difference.
5. wireless pairing method according to claim 4, which is characterized in that the power by the multiple wireless signal The step of arranging according to the time sequencing of acquisition, obtain power set, comprising:
The timer is opened, the power of the multiple wireless signal is marked, multiple wireless signals after being marked Power;
The power set is obtained according to the power of multiple wireless signals after the label.
6. wireless pairing method according to claim 5, which is characterized in that if the power of the multiple wireless signal Less than second preset threshold, then after stopping the step of obtaining the power of the multiple wireless signal, further includes:
The timer is closed, the label to the power of the multiple wireless signal is terminated.
7. a kind of Wireless pairing system characterized by comprising
Module is obtained, for obtaining the power of multiple wireless signals;
Determining module, for determining information to be paired according to the power of the multiple wireless signal;
Detection module, for obtaining default unpaired message, detect the information to be paired and the default unpaired message whether phase Together;
Matching module, if identical as the default unpaired message for the information to be paired, it is determined that mobile terminal and target Device pairing success.
8. Wireless pairing system according to claim 7, which is characterized in that the determining module is used for:
The power of the multiple wireless signal is arranged according to the time sequencing of acquisition, obtains power set;
The difference for determining the power of each adjacent two wireless signal in the power set obtains multiple differences;
The information to be paired is determined according to the multiple difference.
9. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer program When running on computers, so that the computer executes such as wireless pairing method as claimed in any one of claims 1 to 6.
10. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and memory, is deposited in the memory Computer program is contained, the processor is by calling the computer program stored in the memory, for executing such as Wireless pairing method as claimed in any one of claims 1 to 6.
CN201910280726.8A 2019-04-09 2019-04-09 Wireless pairing method, system, storage medium and mobile terminal Active CN110062412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910280726.8A CN110062412B (en) 2019-04-09 2019-04-09 Wireless pairing method, system, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910280726.8A CN110062412B (en) 2019-04-09 2019-04-09 Wireless pairing method, system, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN110062412A true CN110062412A (en) 2019-07-26
CN110062412B CN110062412B (en) 2022-01-04

Family

ID=67318797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910280726.8A Active CN110062412B (en) 2019-04-09 2019-04-09 Wireless pairing method, system, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN110062412B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432387A (en) * 2020-03-31 2020-07-17 Tcl移动通信科技(宁波)有限公司 Many-to-many switching module, multi-machine wireless communication system and communication method thereof
CN113207087A (en) * 2021-04-27 2021-08-03 上海闻泰信息技术有限公司 Wireless communication device connection method, system, wireless communication device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424820B1 (en) * 1999-04-02 2002-07-23 Interval Research Corporation Inductively coupled wireless system and method
US20110255414A1 (en) * 2010-04-15 2011-10-20 Mediatek Inc. Communication Apparatus and Bluetooth ID Packet Recognition Method Thereof
CN103139885A (en) * 2011-11-29 2013-06-05 中兴通讯股份有限公司 Mobile station power control method and device based on voice services over adaptive multi-user channels on one slot (VAMOS) pairing users
CN104066205A (en) * 2014-07-03 2014-09-24 乐鑫信息科技(上海)有限公司 Device connection method and device connection device based on received signal intensity
CN105187203A (en) * 2015-09-22 2015-12-23 中国科学院信息工程研究所 Shared secret key establishment method between wireless equipment based on receiving signal intensity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424820B1 (en) * 1999-04-02 2002-07-23 Interval Research Corporation Inductively coupled wireless system and method
US20110255414A1 (en) * 2010-04-15 2011-10-20 Mediatek Inc. Communication Apparatus and Bluetooth ID Packet Recognition Method Thereof
CN103139885A (en) * 2011-11-29 2013-06-05 中兴通讯股份有限公司 Mobile station power control method and device based on voice services over adaptive multi-user channels on one slot (VAMOS) pairing users
CN104066205A (en) * 2014-07-03 2014-09-24 乐鑫信息科技(上海)有限公司 Device connection method and device connection device based on received signal intensity
CN105187203A (en) * 2015-09-22 2015-12-23 中国科学院信息工程研究所 Shared secret key establishment method between wireless equipment based on receiving signal intensity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈焕波: "基于MSP430F149的蓝牙无线充电系统设计", 《现代电子技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432387A (en) * 2020-03-31 2020-07-17 Tcl移动通信科技(宁波)有限公司 Many-to-many switching module, multi-machine wireless communication system and communication method thereof
CN111432387B (en) * 2020-03-31 2024-01-23 河北世纪恒兴电子技术有限公司 Many-to-many switching module, multi-machine wireless communication system and communication method thereof
CN113207087A (en) * 2021-04-27 2021-08-03 上海闻泰信息技术有限公司 Wireless communication device connection method, system, wireless communication device and storage medium

Also Published As

Publication number Publication date
CN110062412B (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN105306682B (en) The method and device of network connection switch is automatically closed
CN106507482B (en) A kind of network locating method and terminal device
CN105892850B (en) Open method, device and the mobile terminal of application program for mobile terminal
CN107635266A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN109600740A (en) Document down loading method, device and computer readable storage medium
CN108958593A (en) A kind of method and mobile terminal of determining communication object
CN104573437B (en) Information authentication method, device and terminal
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN109151174A (en) Message display method, wearable device and computer readable storage medium
CN105808043B (en) A kind of setting method and mobile terminal of terminal applies
CN106817489B (en) The reminding method and mobile terminal of message
CN108446574A (en) data query method, terminal and computer readable storage medium
CN108363479A (en) A kind of terminal display screen control method, terminal and computer readable storage medium
CN110062412A (en) Wireless pairing method, system, storage medium and mobile terminal
CN109413256A (en) Contact person information processing method, device, storage medium and electronic equipment
CN109639834A (en) A kind of synchronizing information processing method, system and mobile terminal
CN109656431A (en) Information display method, device and storage medium
CN109600511A (en) Mobile terminal warranty information management method, mobile terminal and storage medium
CN109462693A (en) A kind of information processing method, terminal and computer readable storage medium
CN108629863A (en) Method, mobile terminal and the readable storage medium storing program for executing being automatically signing in the application
CN109801061A (en) Delay in payment method, mobile terminal and storage medium
CN110022600A (en) Adjusting method, device, storage medium and the mobile terminal of driving current
CN109544168A (en) Method of payment, device, mobile terminal and storage medium based on double-sided screen
CN110046488A (en) Unlocking method, mobile terminal and computer readable storage medium

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

Effective date of registration: 20231213

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.

TR01 Transfer of patent right