CN108271277A - A kind of communication connecting method and device - Google Patents

A kind of communication connecting method and device Download PDF

Info

Publication number
CN108271277A
CN108271277A CN201711483354.6A CN201711483354A CN108271277A CN 108271277 A CN108271277 A CN 108271277A CN 201711483354 A CN201711483354 A CN 201711483354A CN 108271277 A CN108271277 A CN 108271277A
Authority
CN
China
Prior art keywords
connection
delay time
target device
initiating equipment
initiated
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.)
Pending
Application number
CN201711483354.6A
Other languages
Chinese (zh)
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.)
Goertek Techology Co Ltd
Original Assignee
Shenzhen Zhen Shi Technology 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 Shenzhen Zhen Shi Technology Co Ltd filed Critical Shenzhen Zhen Shi Technology Co Ltd
Priority to CN201711483354.6A priority Critical patent/CN108271277A/en
Publication of CN108271277A publication Critical patent/CN108271277A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a kind of communication connecting method and devices.This method is applied between the initiating equipment and target device of establishing connection, including:Initiating equipment detect disconnected with target device when, wait for initial delay time after, actively initiated the connection to target device;If connection failure, after waiting for for the first delay time, actively initiated the connection again to target device;If being again coupled to failure, after waiting for for the second delay time, actively initiated the connection again to target device, until successful connection;Wherein, the increase of number that delay time initiates the connection with continuous active is waited for every time and is incremented by.The of the invention increase of number that delay time is waited for be initiated the connection with continuous active every time and be incremented by so that initiating equipment is initiated the connection without continual, and then achievees the purpose that saving power consumption.

Description

A kind of communication connecting method and device
Technical field
The present invention relates to field of computer technology, and in particular to a kind of communication connecting method and device.
Background technology
At present, with the rapid development of technology, between two electronic equipments generally use wireless mode into row data communication, After wireless connection between two electronic equipments disconnects, mainly using following two reconnection mechanism, one kind be electronic equipment not between Disconnected initiates the connection.Although it is this it is continual initiate the connection mechanism, can cause two electronic equipments suitable opportunity weight It is new to establish connection, but due to not considering plurality of application scenes, if two electronic equipments are in long-term far from state, two Electronic equipment can not possibly reconnection success, but electronic equipment remain unchanged it is continual initiate the connection, the power consumption of electronic equipment will be led to Seriously.Another kind is only user manually after triggering, can re-establish connection between two electronic equipments, this manual Although triggering reconnection mechanism has the advantages that success rate is high, saves a little, if user forgets to be triggered manually, can cause The loss of significant data, so as to reduce user experience.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State a kind of communication connecting method and device of problem.
According to an aspect of the invention, there is provided a kind of communication connecting method, the method includes:
Initiating equipment detect disconnected with target device when, wait for initial delay time after, actively to the mesh Marking device initiates the connection,
If connection failure, after waiting for for the first delay time, actively initiated the connection again to the target device;If connection Success, then stop initiating the connection to the target device;If being again coupled to failure, after waiting for for the second delay time, again It is actively initiated the connection to the target device, until successful connection or the continuous number actively initiated the connection are more than preset times During threshold value, stop initiating the connection to the target device;
Wherein, the initial delay time, the first delay time, the second delay time and later every time etc. it is to be delayed The increase for the number that time initiates the connection with continuous active and be incremented by.
According to another aspect of the present invention, a kind of communication link is provided, described device includes:
Whether whether detection unit disconnect with the target device and receive for detecting the initiating equipment Trigger connection signal;
Reconnection unit, for detecting that the initiating equipment is disconnected with the target device in the detection unit When, after waiting for initial delay time, actively initiated the connection to the target device;If connection failure, when waiting for the first delay Between after, again actively initiated the connection to the target device;If being again coupled to failure, after waiting for for the second delay time, further Secondary active is initiated the connection to the target device, until successful connection;Wherein, the initial delay time, the first delay time, Second delay time and each increase of number that delay time is waited for be initiated the connection with continuous active later and be incremented by.
The beneficial effects of the invention are as follows:Initiating equipment can be disconnected with target device in technical scheme of the present invention Repeatedly connection is frequently initiated in short time, initiating equipment is avoided not disconnected freely because communicating once in a while with target device, is avoided The loss of important information ensures initiating equipment and target device normal communication;And after initiating equipment waits for certain delay time, It can actively initiate the connection again, until initiating equipment and target device successful connection, so that initiating equipment and target device As long as in communication range can reconnection success, promoted user experience;In addition, delay time is waited for every time as continuous active is sent out It plays the increase of the number of connection and is incremented by, so that initiating equipment initiates the connection, and then reach saving work(without continual The purpose of consumption.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of communication connecting method in one embodiment of the invention;
Fig. 2 shows a kind of communication connection schematic diagram of mechanism in one embodiment of the invention;
Fig. 3 shows a kind of illustrative view of functional configuration of communication link in one embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Embodiment one
Fig. 1 shows a kind of flow chart of communication connecting method in one embodiment of the invention, as shown in Figure 1:
S110, initiating equipment detect disconnected with target device when, wait for initial delay time after, actively to mesh Marking device initiates the connection;
S120 if connection failure, after waiting for for the first delay time, is actively initiated the connection to target device again;If again Secondary connection failure after then waiting for for the second delay time, is actively initiated the connection to target device, again until successful connection;Its In, initial delay time, the first delay time, the second delay time and later each wait for delay time with continuous main It moves the increase of number initiated the connection and is incremented by.
It can be seen that initiating equipment can be within the short time disconnected with target device frequently in technical scheme of the present invention Numerous initiation repeatedly connection, avoids initiating equipment from not disconnected freely because communicating once in a while with target device, avoids important information Lose, ensure initiating equipment and target device normal communication;It, can again actively and after initiating equipment waits for certain delay time It initiates the connection, until initiating equipment and target device successful connection, as long as so that initiating equipment and target device are communicating In the range of can reconnection success, promoted user experience;In addition, initial delay time, the first delay time, the second delay time with And each increase of number that delay time is waited for be initiated the connection with continuous active later and be incremented by so that initiation is set It is standby to be initiated the connection without continual, and then achieve the purpose that save power consumption.
In order to enable technical scheme of the present invention is clearer, it is explained for a specific example below.Fig. 2 Show a kind of communication connection schematic diagram of mechanism in one embodiment of the invention, as shown in Figure 2:It is assumed that initiating equipment Internal storage in prestore initiate the connection number with wait for delay time list, as shown in table 1.
Table 1 initiates the connection number with waiting for the list of delay time
Initiate the connection number Wait for delay time
1st time 30 seconds
2nd time 1 minute
3rd time 2 minutes
The 4th 4 minutes
The 5th 10 minutes
Initiating equipment detects when being disconnected with target device, and initiating equipment is according to the above-mentioned number that initiates the connection with waiting for Delay time list waits for initial delay time (such as 30 seconds) actively to be initiated the connection afterwards to target device;If initiating equipment with Target device connection failure after then initiating equipment waits for the first delay time (such as 1 minute), is initiated to connect to target device again It connects;If initiating equipment and target device connection failure again, after initiating equipment waiting the second delay time (such as 2 minutes) again It is secondary to be initiated the connection to target device;If initiating equipment and target device connection failure again, initiating equipment wait for third delay It is initiated the connection again to target device after time (such as 4 minutes);If initiating equipment and target device connection failure again, send out It rises after equipment waits for the 4th delay time (such as 10 minutes) and is initiated the connection again to target device, direct initiating equipment and target Equipment successful connection.It can be seen that initial delay time, the first delay time, the second delay time and later per inferior The increase for the number that time to be delayed initiates the connection with continuous active and be incremented by, according to this rule, initiating equipment is actively sent out The number risen is more, waits for delay time longer.Because the number that initiating equipment is actively initiated is more, illustrate initiating equipment and mesh Probability of the marking device in communication range is smaller, therefore, extends according to above-mentioned rule and delay time is waited for help to reach saving The purpose of electric energy, and extend and delay time is waited for more to agree with user's usage scenario, help to promote user experience.
In addition, initial delay time, the first delay time, the second delay time and later each wait for delay time The internal storage of initiating equipment can be not only pre-stored in the form of table 1, initiating equipment can also be practised according to the use of user Itself used or initiating equipment use state is adaptively adjusted.For example, system can record user's use equipment of one day Timetable, it is assumed that according to the timetable of record find daily 22:00 to 06:During 00, user never triggers initiating equipment It initiates the connection, then initiating equipment can be set as 8 hours in the waiting delay time of the period.If alternatively, initiating equipment Detect that itself is currently in charged state, it is assumed that the general device fully charged time is half an hour, then initiating equipment meeting Adjust automatically currently waits for delay time to half an hour.In practical applications, initiating equipment can be adaptive according to actual conditions Adjustment waits for delay time to suitable waiting delay time, so as to achieve the purpose that save power consumption, extends treating for initiating equipment The machine time, further promote user experience.
When initiating equipment is during delay time is waited for, if the triggering connection signal that initiating equipment detects is using as follows Reconnection mechanism.Still as shown in Fig. 2, initiating equipment any one waiting delay time (for example, wait for initial delay time, etc. Treated for the first delay time, waited for for the second delay time or wait for N delay times) during, if detecting triggering connection signal (it should be noted that the triggering connection signal can be user hand move triggering initiating equipment after generate, or other set It is standby to be sent to initiating equipment), for example, user triggers initiating equipment by button, then initiating equipment detects that the triggering connects Stop current waiting delay time (such as 10 minutes) after signal at once and initiated the connection immediately to target device, so that hair It plays equipment to establish and connect in time with target device, because when initiating equipment, which detects, triggers connection signal, illustrating initiating equipment With target device can be in communication range, and the distance between two equipment be close.If initiating equipment detects and target Equipment successful connection, then initiating equipment stop initiating the connection to target device.Connect if initiating equipment is detected with target device Failure is connect, then initiating equipment will wait for delay time (for example, until the tenth delay time:20 minutes) when being reset to initial delay Between (such as 30 seconds), that is, initiating equipment is actively initiated the connection again with initial delay time (such as 30 seconds) to target device.By After if triggering connection signal is detected, it was demonstrated that initiating equipment and target device are in communication range, therefore, initiating equipment weight It is newly actively initiated the connection with initial delay time to target device, so as to ensure that initiating equipment and target device are fast in a short time Connection is stood in run-up, and then is met user and wished the needs of initiating equipment and target device establish connection at once, promotes user experience.
Initiating equipment is after the number continuously actively initiated the connection is more than preset times threshold value (such as 50 times), initiating equipment Stop initiating the connection to target device, herein, initiating equipment why is controlled to stop initiating the connection rather than closing to target device Wireless connecting function is closed, is because the connection between equipment is two-way, although initiating equipment will not be built at present with target device Vertical connection, but initiating equipment may be established with other equipment and be connected.When initiating equipment stops initiating the connection to target device Following reconnection mechanism is used by initiating equipment during retriggered again afterwards.Still as shown in Fig. 2, stopping setting to target in initiating equipment For when initiating the connection, if detecting triggering connection signal, initiating equipment initiates the connection immediately to target device, if initiating equipment It initiates after this time connecting and successfully establishes with target device to connect, then initiating equipment stops initiating the connection to target device;If hair Rise equipment initiate after this time connecting with target device connection failure, then initiating equipment delay time will be waited for reset (such as 1 is small When) to initial delay time (such as 30 seconds), that is, initiating equipment is again with initial delay time (such as 30 seconds) actively to target Equipment initiates the connection.If after detecting triggering connection signal due to initiating equipment, it was demonstrated that initiating equipment and target device are logical In the range of letter, therefore, initiating equipment is actively initiated the connection again with initial delay time to target device, so as to ensure to initiate to set Standby and target device quickly establishes connection in a short time, and then meets user and wish that initiating equipment and target device are established at once The demand of connection promotes user experience.
When initiating equipment is after with target device successful connection, if initiating equipment detects that target device is again off connecting When connecing, initiating equipment uses following reconnection mechanism.Still as shown in Figure 2:If current initiating equipment and target device successful connection Afterwards, if initiating equipment detects that itself is again off connecting with target device, initiating equipment will wait for delay time (example Such as 30 minutes) being reset to initial delay time (such as 1 second), active is initiated the connection to target device again.If initiating equipment exists It after target device successful connection, disconnects once more, in the short time disconnected in initiating equipment and target device, initiates to set It is standby with target device still can be in communication range, therefore, in this case, initiating equipment will wait for delay time to be reset to Initial delay time actively initiates the connection again to target device, so as to ensure that initiating equipment and target device are fast in a short time Connection is stood in run-up, and initiating equipment is avoided to communicate once in a while with target device and is not disconnected freely, and then important information is avoided to lose, into One step promotes user experience.
In one embodiment of the invention, initiating equipment include smart mobile phone, wearable device, wear display equipment, The equipment such as tablet computer, MP4 or MP3;Target device includes smart mobile phone, wearable device, wears display equipment, tablet electricity The equipment such as brain, MP4 or MP3.As long as it should be noted that need the electronic equipment being communicatively coupled that the application can be used Claimed method.The application is not construed as limiting the type of initiating equipment and target device.
In addition, the progress of the communication protocols such as bluetooth, WiFi or ZigBee may be used between initiating equipment and target device Wireless communication.It is assumed that initiating equipment is smartwatch, target device is smart mobile phone, and smartwatch passes through indigo plant with smart mobile phone Tooth agreement carries out wireless data communication.When smartwatch detects triggering connection signal, start bluetooth scanning function, get certainly The essential information (such as title and model etc.) of all bluetooth equipments and Bluetooth address list in the scanning of body bluetooth, in the list The title of smart mobile phone is searched, and clicks the smart mobile phone, then the bluetooth module active of smart mobile phone and the bluetooth of smart mobile phone Module establishes bluetooth connection;After smart mobile phone and smartwatch establish bluetooth connection, mobile phone end can show smartwatch Essential information (such as title and model etc.) and Bluetooth address, while smart mobile phone and smartwatch can carry out a data and hand over It changes, for example, smartwatch sends a check code to smart mobile phone, smart mobile phone is in the check code for receiving smartwatch transmission Afterwards, the information of the check code is successfully received to smartwatch feedback, so far, the bluetooth between smartwatch and smart mobile phone is led to Letter is successfully established.
Embodiment two
Fig. 3 shows a kind of illustrative view of functional configuration of communication link in one embodiment of the invention, such as Shown in Fig. 3:Reconnection device 300 is applied between the initiating equipment and target device of establishing connection, and reconnection device 300 includes:
Detection unit 310, for detecting whether initiating equipment with target device disconnects and whether receive triggering company Connect signal;
Reconnection unit 320, for when detection unit 310 detects that initiating equipment is disconnected with target device, waiting for After initial delay time, actively initiated the connection to target device;If connection failure, after waiting for for the first delay time, lead again Trend target device initiates the connection;If being again coupled to failure, after waiting for for the second delay time, again actively to target device It initiates the connection, until successful connection;Wherein, initial delay time, the first delay time, the second delay time and later every The increase of number that the inferior time to be delayed initiates the connection with continuous active and be incremented by.
It can be seen that initiating equipment can be within the short time disconnected with target device frequently in technical scheme of the present invention Numerous initiation repeatedly connection, avoids initiating equipment from not disconnected freely because communicating once in a while with target device, avoids important information Lose, ensure initiating equipment and target device normal communication;It, can again actively and after initiating equipment waits for certain delay time It initiates the connection, until initiating equipment and target device successful connection, as long as so that initiating equipment and target device are communicating In the range of can reconnection success, promoted user experience;In addition, initial delay time, the first delay time, the second delay time with And each increase of number that delay time is waited for be initiated the connection with continuous active later and be incremented by so that initiation is set It is standby to be initiated the connection without continual, and then achieve the purpose that save power consumption.
Fig. 2 shows a kind of reconnection schematic diagram of mechanism in one embodiment of the invention, as shown in Figure 2:It is assumed that hair The list for being prestored in the internal storage of equipment and initiating the connection number and waiting for delay time is played, as shown in table 1.
Table 1. initiates the connection number with waiting for the list of delay time
Initiate the connection number Wait for delay time
1st time 30 seconds
2nd time 1 minute
3rd time 2 minutes
The 4th 4 minutes
The 5th 10 minutes
Initiating equipment detects when being disconnected with target device, and initiating equipment is according to the above-mentioned number that initiates the connection with waiting for Delay time list waits for initial delay time (such as 30 seconds) actively to be initiated the connection afterwards to target device;If initiating equipment with Target device connection failure after then initiating equipment waits for the first delay time (such as 1 minute), is initiated to connect to target device again It connects;If initiating equipment and target device connection failure again, after initiating equipment waiting the second delay time (such as 2 minutes) again It is secondary to be initiated the connection to target device;If initiating equipment and target device connection failure again, initiating equipment wait for third delay It is initiated the connection again to target device after time (such as 4 minutes);If initiating equipment and target device connection failure again, send out It rises after equipment waits for the 4th delay time (such as 10 minutes) and is initiated the connection again to target device, direct initiating equipment and target Equipment successful connection.It can be seen that initial delay time, the first delay time, the second delay time and later per inferior The increase for the number that time to be delayed initiates the connection with continuous active and be incremented by, according to this rule, initiating equipment is actively sent out The number risen is more, waits for delay time longer.Because the number that initiating equipment is actively initiated is more, illustrate initiating equipment and mesh Probability of the marking device in communication range is smaller, therefore, extends according to above-mentioned rule and delay time is waited for help to reach saving The purpose of electric energy, and extend and delay time is waited for more to agree with user's usage scenario, help to promote user experience.
In addition, initial delay time, the first delay time, the second delay time and later each wait for delay time The internal storage of initiating equipment can be not only pre-stored in the form of table 1, initiating equipment can also be practised according to the use of user Itself used or initiating equipment use state is adaptively adjusted.For example, system can record user's use equipment of one day Timetable, it is assumed that according to the timetable of record find daily 22:00 to 06:During 00, user never triggers initiating equipment It initiates the connection, then initiating equipment can be adjusted to 8 hours in the waiting delay time of the period.If alternatively, initiating equipment Detect that itself is currently in charged state, it is assumed that the general device fully charged time is half an hour, then initiating equipment meeting Adjust automatically currently waits for delay time to half an hour.In practical applications, initiating equipment can be adaptive according to actual conditions Adjustment waits for delay time to suitable waiting delay time, so as to achieve the purpose that save power consumption, extends treating for initiating equipment The machine time, further promote user experience.
In one embodiment of the invention, reconnection unit 320 is additionally operable to initiating equipment during delay time is waited for, If detection unit 310 detects triggering connection signal, stop waiting for delay time and be initiated the connection immediately to target device, if Successful connection then stops initiating the connection to target device;If connection failure, when waiting delay time will be reset to initial delay Between, it is actively initiated the connection again to target device.In the present embodiment, when initiating equipment is during delay time is waited for, initiate to set If the standby triggering connection signal detected by detection unit 310 uses following reconnection mechanism.Still as shown in Fig. 2, initiating to set It is standby to wait for delay time (for example, waiting for initial delay time, the first delay time of waiting, the second delay of waiting at any one Time waits for N delay times) during, if detection unit 310 detects triggering connection signal (it should be noted that should Triggering connection signal can be to be generated after user hand moves triggering initiating equipment, or other equipment is sent to initiating equipment ), for example, user triggers initiating equipment by button, then initiating equipment detects triggering connection letter by detection unit 310 Stop current waiting delay time (such as 10 minutes) after number at once and initiated the connection immediately to target device, so that initiating Equipment with target device is established and is connect in time because, when initiating equipment detect triggering connection signal when, illustrate initiating equipment and Target device is can be in communication range, and the distance between two equipment is close.It is set if initiating equipment is detected with target Standby successful connection, then initiating equipment stop initiating the connection to target device.If initiating equipment is detected by detection unit 310 With target device connection failure, then initiating equipment will wait for delay time (for example, until the tenth delay time:20 minutes) it resets To initial delay time (such as 30 seconds), that is, initiating equipment is actively set again with initial delay time (such as 30 seconds) to target It is standby to initiate the connection.If due to detect triggering connection signal after, it was demonstrated that initiating equipment and target device in communication range, because This, initiating equipment is actively initiated the connection again with initial delay time to target device, so as to ensure that initiating equipment and target are set Standby quick establish in a short time connects, and then meets user and wish that initiating equipment and target device establish the need of connection at once It asks, promotes user experience.
In one embodiment of the invention, reconnection unit 320 is additionally operable to time that initiating equipment continuously actively initiates the connection Several is more than preset times threshold value, then stops initiating the connection to target device, is stopped after the target device initiates the connection, if Detection unit 310 detects triggering connection signal, then is initiated the connection immediately to target device, if successful connection, stops to mesh Marking device initiates the connection;If connection failure, delay time will be waited for be reset to initial delay time, actively set again to target It is standby to initiate the connection.In this implementation, initiating equipment is more than preset times threshold value (such as 50 in the number continuously actively initiated the connection It is secondary) after, initiating equipment can stop initiating the connection to target device, herein, initiating equipment why be controlled to stop to target device Wireless connecting function is initiated the connection rather than closed, is because the connection between equipment is two-way, although initiating equipment is current It will not establish and connect with target device, but initiating equipment may be established with other equipment and be connected.When initiating equipment stop to Target device initiates the connection rear again by initiating equipment during retriggered using following reconnection mechanism.Still as shown in Fig. 2, initiating Equipment stop to target device initiate the connection when, if detection unit 310 detects triggering connection signal, initiating equipment immediately to Target device initiates the connection, if initiating equipment initiates after this time connecting and successfully establishes with target device to connect, initiating equipment Stop initiating the connection to target device;If initiating equipment initiate this time connect after with target device connection failure, initiating equipment Delay time will be waited for reset (such as 1 hour) to initial delay time (such as 30 seconds), that is, initiating equipment is again initially to prolong The slow time (such as 30 seconds) actively initiates the connection to target device.If after detecting triggering connection signal due to initiating equipment, Initiating equipment and target device are proved in communication range, therefore, initiating equipment is again with initial delay time actively to target Equipment initiates the connection, so as to ensure that initiating equipment and target device quickly establish connection in a short time, and then meet user and wish Initiating equipment and target device is hoped to establish the demand of connection at once, promotes user experience.
In one embodiment of the invention, reconnection unit 320, be additionally operable to initiating equipment with target device successful connection Afterwards, if detection unit 310 detects that initiating equipment is again off connecting with target device, delay time will be waited for be reset to Initial delay time actively initiates the connection again to target device.In the present embodiment, when initiating equipment is connect with target device After success, if initiating equipment detects that target device is again off connection by detection unit 310, initiating equipment is using such as Lower reconnection mechanism.Still as shown in Figure 2:If after current initiating equipment and target device successful connection, if initiating equipment passes through When detection unit 310 detects that itself is again off connecting with target device, then initiating equipment will wait for delay time (such as 30 Minute) being reset to initial delay time (such as 1 second), active is initiated the connection to target device again.If initiating equipment with mesh It after marking device successful connection, disconnects once more, in the short time disconnected in initiating equipment and target device, illustrates to initiate to set It is standby with target device still can be in communication range, therefore, in this case, initiating equipment will wait for delay time to be reset to Initial delay time actively initiates the connection again to target device, so as to ensure that initiating equipment and target device are fast in a short time Connection is stood in run-up, and initiating equipment is avoided to communicate once in a while with target device and is not disconnected freely, and then important information is avoided to lose, into One step promotes user experience.
In conclusion initiating equipment can be within the short time disconnected with target device frequently in technical scheme of the present invention Numerous initiation repeatedly connection, avoids initiating equipment from not disconnected freely because communicating once in a while with target device, avoids important information Lose, ensure initiating equipment and target device normal communication;It, can again actively and after initiating equipment waits for certain delay time It initiates the connection, until initiating equipment and target device successful connection, as long as so that initiating equipment and target device are communicating In the range of can reconnection success, promoted user experience;In addition, time that delay time is waited for be initiated the connection with continuous active every time Several increase and be incremented by so that initiating equipment is initiated the connection without continual, and then achieve the purpose that save power consumption.
The above description is merely a specific embodiment, under the above-mentioned introduction of the present invention, those skilled in the art Other improvement or deformation can be carried out on the basis of above-described embodiment.It will be understood by those skilled in the art that above-mentioned tool The purpose of the present invention is only preferably explained in body description, and protection scope of the present invention is subject to the protection scope in claims.

Claims (10)

1. a kind of communication connecting method, which is characterized in that the method includes:
Initiating equipment detect disconnected with target device when, wait for initial delay time after, actively set to the target It is standby to initiate the connection;
If connection failure, after waiting for for the first delay time, actively initiated the connection again to the target device;If it is again coupled to Failure after then waiting for for the second delay time, is actively initiated the connection to the target device, again until successful connection;
Wherein, the initial delay time, the first delay time, the second delay time and later each wait for delay time The increase of the number initiated the connection with continuous active and be incremented by.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The initiating equipment is during delay time is waited for, if detecting triggering connection signal, stops waiting for delay time simultaneously It is initiated the connection immediately to the target device, if successful connection, stops initiating the connection to the target device;If connection is lost It loses, then delay time will be waited for be reset to the initial delay time, actively initiated the connection again to the target device.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The number that the initiating equipment continuously actively initiates the connection is more than preset times threshold value, then stops sending out to the target device Connection is played, is stopped after the target device initiates the connection, if detecting triggering connection signal, immediately to the target device It initiates the connection, if successful connection, stops initiating the connection to the target device;If connection failure, delay time will be waited for Initial delay time is reset to, is actively initiated the connection again to the target device.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
The initiating equipment with the target device if detecting with after the target device successful connection, being again off connecting When, then delay time will be waited for be reset to initial delay time, actively initiated the connection again to the target device.
5. according to the method described in claim 1, it is characterized in that, the initial delay time, the first delay time, second prolong Slow time and later each wait for delay time according to the use habit of user or itself using for the initiating equipment State self-adaption adjusts.
6. a kind of communication link, which is characterized in that described device includes:
Detection unit, for detecting whether the initiating equipment with the target device disconnects and whether receive triggering Connection signal;
Reconnection unit, for when the detection unit detects that the initiating equipment and the target device disconnect, etc. After initial delay time, actively initiated the connection to the target device;If connection failure, after waiting for for the first delay time, It is actively initiated the connection again to the target device;If being again coupled to failure, after waiting for for the second delay time, again actively It is initiated the connection to the target device, until successful connection;
Wherein, the initial delay time, the first delay time, the second delay time and later each wait for delay time The increase of the number initiated the connection with continuous active and be incremented by.
7. device as claimed in claim 6, which is characterized in that
The reconnection unit is additionally operable to the initiating equipment during delay time is waited for, if the detection unit detect it is tactile Send out connection signal, then stop waiting for and delay time and initiated the connection immediately to the target device, if successful connection, stop to The target device initiates the connection;If connection failure, delay time will be waited for be reset to the initial delay time, led again Target device initiates the connection described in trend.
8. device as claimed in claim 6, which is characterized in that
The reconnection unit, it is more than preset times threshold value to be additionally operable to the number that the initiating equipment continuously actively initiates the connection, then Stop initiating the connection to the target device, stop after the target device initiates the connection, if the detection unit detects Connection signal is triggered, then is initiated the connection immediately to the target device, if successful connection, stops initiating to the target device Connection;If connection failure, delay time will be waited for be reset to the initial delay time, again actively to the target device It initiates the connection.
9. device as claimed in claim 6, which is characterized in that the reconnection unit, be additionally operable to the initiating equipment with institute After stating target device successful connection, if the detection unit detects that the initiating equipment is again off connecting with the target device When connecing, then delay time will be waited for be reset to initial delay time, actively initiated the connection again to the target device.
10. device as claimed in claim 6, which is characterized in that the initial delay time, the first delay time, second prolong Slow time and later each wait for delay time according to the use habit of user or itself using for the initiating equipment State self-adaption adjusts.
CN201711483354.6A 2017-12-29 2017-12-29 A kind of communication connecting method and device Pending CN108271277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711483354.6A CN108271277A (en) 2017-12-29 2017-12-29 A kind of communication connecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711483354.6A CN108271277A (en) 2017-12-29 2017-12-29 A kind of communication connecting method and device

Publications (1)

Publication Number Publication Date
CN108271277A true CN108271277A (en) 2018-07-10

Family

ID=62772810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711483354.6A Pending CN108271277A (en) 2017-12-29 2017-12-29 A kind of communication connecting method and device

Country Status (1)

Country Link
CN (1) CN108271277A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990137A (en) * 2018-07-17 2018-12-11 广东小天才科技有限公司 A kind of access control method and wearable device of ntp server
CN110602672A (en) * 2019-07-29 2019-12-20 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium
CN110716972A (en) * 2019-09-12 2020-01-21 上海易点时空网络有限公司 Method and device for processing error of high-frequency calling external interface
CN111193769A (en) * 2019-11-25 2020-05-22 泰康保险集团股份有限公司 Method, system, device, electronic equipment and storage medium for recovering long connection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN103906267A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 On-line state control method and device of mobile terminal packet domain and mobile terminal
CN104640213A (en) * 2013-11-13 2015-05-20 普天信息技术研究院有限公司 Connection building method of wireless body area network
CN107040871A (en) * 2016-12-26 2017-08-11 歌尔科技有限公司 The connection method of bluetooth equipment and equipment
CN107454563A (en) * 2017-09-08 2017-12-08 歌尔科技有限公司 A kind of Bluetooth communication method, device and bluetooth equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906267A (en) * 2012-12-27 2014-07-02 中国电信股份有限公司 On-line state control method and device of mobile terminal packet domain and mobile terminal
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN104640213A (en) * 2013-11-13 2015-05-20 普天信息技术研究院有限公司 Connection building method of wireless body area network
CN107040871A (en) * 2016-12-26 2017-08-11 歌尔科技有限公司 The connection method of bluetooth equipment and equipment
CN107454563A (en) * 2017-09-08 2017-12-08 歌尔科技有限公司 A kind of Bluetooth communication method, device and bluetooth equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990137A (en) * 2018-07-17 2018-12-11 广东小天才科技有限公司 A kind of access control method and wearable device of ntp server
CN108990137B (en) * 2018-07-17 2021-06-01 广东小天才科技有限公司 Access control method of NTP server and wearable device
CN110602672A (en) * 2019-07-29 2019-12-20 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium
CN110602672B (en) * 2019-07-29 2021-10-08 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium
CN110716972A (en) * 2019-09-12 2020-01-21 上海易点时空网络有限公司 Method and device for processing error of high-frequency calling external interface
CN111193769A (en) * 2019-11-25 2020-05-22 泰康保险集团股份有限公司 Method, system, device, electronic equipment and storage medium for recovering long connection

Similar Documents

Publication Publication Date Title
CN108271277A (en) A kind of communication connecting method and device
CN104768181B (en) A kind of the WIFI transmission power adjusting method and system of mobile terminal
CN104601203B (en) A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity
CN103716906B (en) The method of the electric power of short-range wireless communication means and control short-range wireless communication means
CN104243709A (en) Information processing method and electronic device
CN105491470A (en) Bluetooth headset and method for realizing automatic turn-on/turn-off of Bluetooth headset through smart wearable contact equipment
RU2009114831A (en) WIRELESS COMMUNICATION SYSTEM, WIRELESS COMMUNICATION DEVICE, WIRELESS COMMUNICATION METHOD AND PROGRAM
EP2765483B1 (en) Method and device for controlling shutdown of terminal
CN107979138B (en) Wireless charging control method and device
EP2838296A3 (en) Method, apparatus and computer program product for intuitive energy management of a short-range communication transceiver associated with a mobile terminal
CN105204632B (en) Method for controlling intelligent mobile terminal to enter silent mode and wearable device
CN107046674A (en) A kind of bluetooth earphone Auto Power On, matching method and system
CN103889037A (en) Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof
WO2015114689A1 (en) Phone covers with nfc circuit powered display devices
KR20170020536A (en) Fast charging method, power source adapter and mobile terminal
CN104411003A (en) Dormancy wakeup control method and system of wireless communication equipment
KR101390402B1 (en) Power sharing apparatus and system using power sharing program installed in mobile terminal
EP3001278B1 (en) Wireless connection switching method, wireless terminal and system thereof
CN111009974A (en) Wireless charging system and wireless charging method
CN104953651B (en) A kind of method and device of power supply state adjustment
CN202663467U (en) Remote controller of smart phone
CN203984450U (en) Intelligent domestic gateway
CN107071818A (en) Intelligent power saving wireless router and its electricity saving method
CN105577696B (en) It is a kind of intelligence wearable device connect authentication method with intelligent terminal
CN104810889B (en) A kind of charging base of smart machine

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191120

Address after: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong

Applicant after: GEER TECHNOLOGY CO., LTD.

Address before: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A

Applicant before: Shenzhen Zhen Shi Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710