CN104902581B - Wireless connection control method, apparatus and terminal device - Google Patents
Wireless connection control method, apparatus and terminal device Download PDFInfo
- Publication number
- CN104902581B CN104902581B CN201410081758.2A CN201410081758A CN104902581B CN 104902581 B CN104902581 B CN 104902581B CN 201410081758 A CN201410081758 A CN 201410081758A CN 104902581 B CN104902581 B CN 104902581B
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- wireless connection
- preset
- data
- condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
This application discloses a kind of wireless connection control method, apparatus and terminal devices.This method is applied to first terminal equipment, the link information for needing the second terminal equipment being wirelessly connected with the first terminal equipment is obtained first, and when needing to carry out data transmission, the wireless connection with the second terminal equipment is realized by the link information;Then the use state for obtaining the first terminal equipment, judges whether the first terminal equipment meets preset first condition of contact accordingly;After obtaining judging result, however, it is determined that when the use state of the first terminal equipment meets the first condition of contact, then interrupt the wireless connection.It during this, according to the use state of first terminal equipment and preset first condition of contact, can determine whether the first terminal equipment needs to establish wireless connection, and when not needed, interrupt the wireless connection in time, avoid the consuming of electricity.
Description
Technical field
The present invention relates to field of computer technology, set more particularly to a kind of wireless connection control method, apparatus and terminal
It is standby.
Background technique
Wireless connection is that one kind can be wirelessly mutual by multiple terminal devices, such as computer, mobile phone and PAD terminal
The technology of connection can be realized data sharing and synchronous etc. operate by being wirelessly connected technology.Therefore, wireless connection technology obtains
To being widely applied.
In the prior art, when using wireless connection technology, the link information of user configuration is obtained first, then according to institute
Link information is stated, realizes the wireless connection of more than two terminal devices, the biography of data can be carried out by being wirelessly connected later
It is defeated.
But inventor has found in the research process of the application, when realizing wireless connection using existing way, is being not required to
In the case where wanting data to transmit, user is needed to operate terminal device, it is complicated for operation cumbersome;If user does not execute interruption nothing
The operation of line connection, wireless connection will be always maintained at open state, and can expend a large amount of electric energy.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of wireless connection control method, apparatus and terminal device, with solution
Certainly existing in the prior art, when without using being wirelessly connected, wireless connection keeps it turned on the problem of expending electric energy, has
Body embodiment is as follows:
A kind of wireless connection control method, is applied to first terminal equipment, and the wireless connection control method includes:
The link information for needing the second terminal equipment being wirelessly connected with the first terminal equipment is obtained, and is being needed
When carrying out data transmission, the wireless connection with the second terminal equipment is realized by the link information;
After establishing wireless connection, the use state of the first terminal equipment is obtained, and according to the use state, sentence
Whether the first terminal equipment of breaking meets preset first condition of contact;
When according to judging result, when determining that the use state of the first terminal equipment meets the first condition of contact, interruption
The wireless connection.
Preferably, when first condition of contact is the preset time, the use state of the first terminal equipment is nothing
It is described to judge whether the first terminal equipment meets preset first and connect when not transmitting the time of data after line connection is established
Narrow bars part, comprising:
It will be wirelessly connected after establishing, the time and the preset time for not transmitting data compare, and wirelessly connect when described
After connecing foundation, when not transmitting the time of data not less than the preset time, it is determined that the first terminal equipment meets institute
State preset first condition of contact.
It is preferably, described to judge whether the first terminal equipment meets preset first condition of contact, comprising:
Whether judgement, which currently runs, needs top-priority application program;
The wireless connection is obtained when determination currently runs top-priority application program in need according to judging result
Current transmission rate, and judge whether the current transmission rate is greater than preset transmission rate;
When according to judging result, determining that the current transmission rate is greater than the preset transmission rate, it is determined that
Meet preset first condition of contact.
Preferably, when first condition of contact is preset data transmission schedule, the use of the first terminal equipment
State is after being wirelessly connected and establishing, and when the current schedules of data transmission, described to judge whether the first terminal equipment meets pre-
If the first condition of contact, comprising:
The current schedules that the data are transmitted are compared with the preset data transmission schedule, when the data are transmitted
Current schedules be not less than the preset data transmission schedule when, it is determined that meet preset first condition of contact.
Preferably, the wireless connection control method further include:
When transmitting data by the wireless connection, obtains data transmission schedule information and store;
After interrupting the wireless connection, when needing to carry out data transmission, according to the link information, re-establish wireless
Connection;
According to the data transmission schedule information of storage, the data that do not transmit are determined, and wireless by re-establishing
The connection transmission data that do not transmit.
Correspondingly, it is applied to first terminal equipment the invention discloses a kind of wireless connection control device, it is described wirelessly to connect
Connecing control device includes:
Link information obtains module, for obtaining the second terminal for needing to be wirelessly connected with the first terminal equipment
The link information of equipment, and when needing to carry out data transmission, it is realized and the second terminal equipment by the link information
Wireless connection;
Judgment module, for obtaining the use state of the first terminal equipment, and according to institute after establishing wireless connection
Use state is stated, judges whether the first terminal equipment meets preset first condition of contact;
It is wirelessly connected interrupt module, determines that the use state of the first terminal equipment is full according to judging result for working as
When the first condition of contact of foot, the wireless connection is interrupted.
Preferably, when first condition of contact is the preset time, the use state of the first terminal equipment is nothing
After line connection is established, when not transmitting the time of data, the judgment module includes:
First judging unit, for will be wirelessly connected establish after, do not transmit data time and the preset time phase
Comparison, after wirelesss connection is established, when not transmitting time of data and being not less than the preset time, it is determined that described the
One terminal device meets preset first condition of contact.
Preferably, the judgment module includes:
Second judgment unit needs top-priority application program for judging currently whether to run;
Third judging unit, when currently running top-priority application program in need for determining according to judging result,
The current transmission rate of the wireless connection is obtained, and judges whether the current transmission rate is greater than preset transmission speed
Rate;
Determination unit determines that the current transmission rate is greater than the preset transmission for working as according to judging result
When rate, it is determined that meet preset first condition of contact.
Preferably, when first condition of contact is preset data transmission schedule, the use of the first terminal equipment
State be wirelessly connected establish after, data transmission current schedules when, the judgment module includes:
4th judging unit, the current schedules for transmitting the data are opposite with the preset data transmission schedule
Than when the current schedules of data transmission are not less than the preset data transmission schedule, it is determined that meet described default
The first condition of contact.
Preferably, the wireless connection control device further include:
Progress msg obtains module, for when transmitting data by the wireless connection, obtaining data transmission schedule letter
It ceases and stores;
It is wirelessly connected and rebuilds module, after interrupting the wireless connection, when needing to carry out data transmission, according to described
Link information re-establishes wireless connection;
Again transmission module determines the data that do not transmit for the data transmission schedule information according to storage, and leads to
Overweight newly-established be wirelessly connected transmits the data that do not transmit.
Correspondingly, being integrated with institute as above in the processor of the terminal device the invention also discloses a kind of terminal device
The wireless connection control device stated.
In the wireless connection control method, it can be connected according to the use state of first terminal equipment and preset first
Narrow bars part judges whether to need to interrupt to be wirelessly connected, so as to when first terminal equipment meets preset first condition of contact, in
It is disconnected to be wirelessly connected, save energy consumption.
Further, in this method, when transmitting data over a wireless connection, data transmission schedule information can be obtained and deposited
Storage.After interrupting the wireless connection, when needing to carry out data transmission again, wireless connection can be re-established, and according to depositing
The data transmission schedule information of storage determines the data that do not transmit, and the transmission of the wireless connection by re-establishing is described not
The data of transmission realize breakpoint transmission.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of workflow schematic diagram of wireless connection control method disclosed by the embodiments of the present invention;
Fig. 2 is to judge whether first terminal equipment is full in a kind of wireless connection control method disclosed by the embodiments of the present invention
The workflow schematic diagram of the first condition of contact of foot;
Fig. 3 is the workflow schematic diagram of another wireless connection control method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of wireless connection control device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Existing in the prior art in order to solve, when without using being wirelessly connected, wireless connection keeps it turned on and can consume
The problem of power-consuming energy, this application discloses a kind of wireless connection control method, apparatus and terminal devices.
Embodiment one
Embodiments herein one discloses a kind of wireless connection control method, and this method is applied to first terminal equipment.
Workflow schematic diagram shown in Figure 1, the wireless connection control method include:
Step S11, it obtains and the connection for the second terminal equipment being wirelessly connected with the first terminal equipment is needed to believe
Breath, and when needing to carry out data transmission, the wireless connection with the second terminal equipment is realized by the link information.
Wireless connection can be realized in a variety of forms, such as bluetooth connection, wifi connection, various forms of wireless connection institutes
The link information needed is different.For example, needing the second terminal equipment when establishing the bluetooth connection with second terminal equipment
The relevant information of bluetooth port.By the link information got, the first terminal equipment can be set with the second terminal
Standby establish is wirelessly connected, and realizes data transmission, information sharing by the wireless connection.
Step S12, after establishing wireless connection, the use state of the first terminal equipment is obtained, and make according to described
With state, judge whether the first terminal equipment meets preset first condition of contact.
In practical applications, preset first condition of contact can be diversified forms, so as to meet different answer
Use demand.
Step S13, when the use state for according to judging result, determining the first terminal equipment meets the first condition of contact
When, interrupt the wireless connection.
The step S11 of the application discloses a kind of wireless connection control method into step S13.This method is applied to first
Terminal device obtains the link information for needing the second terminal equipment being wirelessly connected with the first terminal equipment first,
And when needing to carry out data transmission, the wireless connection with the second terminal equipment is realized by the link information;Then
The use state for obtaining the first terminal equipment, judges whether the first terminal equipment meets preset first connection accordingly
Condition;After obtaining judging result, however, it is determined that when the use state of the first terminal equipment meets the first condition of contact, then interrupt
The wireless connection.It, can be true according to the use state of first terminal equipment and preset first condition of contact during this
Whether the fixed first terminal equipment needs to establish wireless connection, and when not needed, interrupts the wireless connection in time, avoid
The consuming of electricity.
Wherein, first condition of contact includes diversified forms, to adapt to the application demand of different situations.When described first
Condition of contact is the preset time, and the use state of the first terminal equipment is after being wirelessly connected foundation, not transmit data
When the time, judge whether the first terminal equipment meets preset first condition of contact and include: disclosed in step S12
It will be wirelessly connected after establishing, the time and the preset time for not transmitting data compare, and wirelessly connect when described
After connecing foundation, when not transmitting the time of data not less than the preset time, it is determined that the first terminal equipment meets institute
State preset first condition of contact.
When by being wirelessly connected transmission data, when data end of transmission or Internet resources are accounted for by other applications
According to when, it may appear that the case where not transmitting data in a period of time.In the application, the first condition of contact is set as the preset time,
And the time for not transmitting data and the preset time compare, when the determining time for not transmitting data is not less than described pre-
If time when, it is generally recognized that need to interrupt current wireless connection, it is determined that the first terminal equipment meets described default
The first condition of contact.
In addition, often operation simultaneously has multiple application programs, and certain application programs needs are excellent in first terminal equipment
First consider.In this case, workflow schematic diagram shown in Figure 2 judges the first terminal disclosed in step S12
Whether equipment meets preset first condition of contact
Step S121, whether judgement, which currently runs, needs top-priority application program, if so, thening follow the steps S122's
Operation, if it is not, thening follow the steps the operation of S124;
Step S122, according to judging result, when determination currently runs top-priority application program in need, described in acquisition
It is wirelessly connected current transmission rate, and judges whether the current transmission rate is greater than preset transmission rate, if so,
The operation for executing step S123, if it is not, then returning to step the operation of S124;
Step S123, when according to judging result, determine the current transmission rate when the preset transmission rate,
Then determination meets preset first condition of contact;
Step S124, after waiting the preset period, the operation of S121 is returned to step.
In first terminal equipment, often operation simultaneously has multiple application programs, and some of application programs are relatively attached most importance to
It wants, in this case, is established previously according to the application program that application demand setting currently needs to consider in advance, and being wirelessly connected
Afterwards, judge in the first terminal equipment currently whether run other and needed top-priority application program;If according to judgement
Top-priority application program in need is currently run as a result, determining, and the transmission rate that current wireless connection occupies is greater than
When preset transmission rate, then it is assumed that the wireless connection occupies a large amount of Internet resources.In this case, in order to avoid right
It is currently running that top-priority application program is needed to impact, usually assert that the first terminal equipment meets preset the
One condition of contact needs to interrupt wireless connection.
For example, current operation has downloading program, the downloading program is to need top-priority application program.If wirelessly connecting
It connects the transmission rate occupied and is greater than preset transmission rate, in order to avoid influencing speed of download, it is determined that first terminal equipment is full
Preset first condition of contact of foot, so as to subsequent interrupt wireless connection.
Further, when first condition of contact is preset data transmission schedule, the first terminal equipment makes
It is when the current schedules of data transmission, to judge that the first terminal is set disclosed in step S12 after being wirelessly connected and establishing with state
It is standby whether to meet preset first condition of contact and include:
The current schedules that the data are transmitted are compared with the preset data transmission schedule, when the data are transmitted
Current schedules be not less than the preset data transmission schedule when, it is determined that meet preset first condition of contact.
Under application scenes, the data capacity for needing to transmit is larger, in this case, it may be necessary to repeatedly to data
It is transmitted.Therefore, can also preliminary setting data transmission progress, when the current schedules of data transmission reach the transmission of preset data
When progress, then wireless connection is interrupted, is further continued for next time being transmitted.
In above scheme, describe how to judge whether the first terminal equipment meets preset first condition of contact
The first different condition of contacts can be arranged according to different application demands in method, so that first terminal equipment be made to can adapt to
Plurality of application scenes.
Embodiment two
In addition, embodiments herein two discloses a kind of wireless connection control method, it is applied to first terminal equipment, referring to
Workflow schematic diagram shown in Fig. 3, the wireless connection control method include:
Step S21, it obtains and the connection for the second terminal equipment being wirelessly connected with the first terminal equipment is needed to believe
Breath, and when needing to carry out data transmission, the wireless connection with the second terminal equipment is realized by the link information, when
When transmitting data by the wireless connection, obtains data transmission schedule information and store;
Step S22, after establishing wireless connection, the use state of the first terminal equipment is obtained, and make according to described
With state, judge whether the first terminal equipment meets preset first condition of contact;
Step S23, when the use state for according to judging result, determining the first terminal equipment meets the first condition of contact
When, interrupt the wireless connection;
Step S24, after interrupting the wireless connection, when needing to carry out data transmission, according to the link information, again
It establishes and is wirelessly connected;
Step S25, according to the data transmission schedule information of storage, the data that do not transmit are determined, and by building again
The vertical wireless connection transmission data that do not transmit.
Wherein, the step S22 to step S23 of embodiment two is identical as the step S12 of embodiment one and step S13, can phase
Mutual reference is not applied not limiting this.
The step S21 to step S25 of the application discloses a kind of wireless connection control method, which is applied to the
One terminal device in this method, obtains the company for needing the second terminal equipment being wirelessly connected with first terminal equipment first
Information is connect, and when needing to carry out data transmission, establish the wireless connection with second terminal equipment, passed using the wireless connection
When transmission of data, obtains data transmission schedule information and store;In the use state according to first terminal equipment, described first is determined
When terminal device meets preset first condition of contact, the wireless connection is interrupted;After interrupting the wireless connection, work as needs
When carrying out data transmission, according to the link information, wireless connection is re-established, and according to the data transmission schedule of storage
Information determines the data that do not transmit, passes through the wireless connection transmission data that do not transmit re-established.
In the wireless connection control method, it can be connected according to the use state of first terminal equipment and preset first
Narrow bars part judges whether to need to interrupt to be wirelessly connected, so as to when first terminal equipment meets preset first condition of contact, in
It is disconnected to be wirelessly connected, save energy consumption.
Further, in this method, when transmitting data over a wireless connection, data transmission schedule information can be obtained and deposited
Storage.After interrupting the wireless connection, when needing to carry out data transmission again, wireless connection can be re-established, and according to depositing
The data transmission schedule information of storage determines the data that do not transmit, and the transmission of the wireless connection by re-establishing is described not
The data of transmission realize breakpoint transmission.
Embodiment three
Embodiments herein three discloses a kind of wireless connection control device, is applied to first terminal equipment.Referring to fig. 4
Shown in structural schematic diagram, the wireless connection control device includes: that link information obtains module 100, judgment module 200 and nothing
Line disconnecting module 300.
Wherein, the link information obtains module 100, needs wirelessly to be connected with the first terminal equipment for obtaining
The link information of the second terminal equipment connect, and when needing to carry out data transmission, by the link information realize with it is described
The wireless connection of second terminal equipment;
The judgment module 200, for obtaining the use state of the first terminal equipment after establishing wireless connection,
And according to the use state, judge whether the first terminal equipment meets preset first condition of contact;
The wireless connection interrupt module 300 determines the use of the first terminal equipment for working as according to judging result
When state meets the first condition of contact, the wireless connection is interrupted.
Further, when first condition of contact is the preset time, the use state of the first terminal equipment is
It is wirelessly connected after establishing, when not transmitting the time of data, the judgment module includes:
First judging unit, for will be wirelessly connected establish after, do not transmit data time and the preset time phase
Comparison, after wirelesss connection is established, when not transmitting time of data and being not less than the preset time, it is determined that described the
One terminal device meets preset first condition of contact.
Further, the judgment module includes:
Second judgment unit needs top-priority application program for judging currently whether to run;
Third judging unit, when currently running top-priority application program in need for determining according to judging result,
The current transmission rate of the wireless connection is obtained, and judges whether the current transmission rate is greater than preset transmission speed
Rate;
Determination unit determines that the current transmission rate is greater than the preset transmission for working as according to judging result
When rate, it is determined that meet preset first condition of contact.
Further, when first condition of contact is preset data transmission schedule, the first terminal equipment makes
With state be wirelessly connected establish after, data transmission current schedules when, the judgment module includes:
4th judging unit, the current schedules for transmitting the data are opposite with the preset data transmission schedule
Than when the current schedules of data transmission are not less than the preset data transmission schedule, it is determined that meet described default
The first condition of contact.
Further, the wireless connection control device further include:
Progress msg obtains module, for when transmitting data by the wireless connection, obtaining data transmission schedule letter
It ceases and stores;
It is wirelessly connected and rebuilds module, after interrupting the wireless connection, when needing to carry out data transmission, according to described
Link information re-establishes wireless connection;
Again transmission module determines the data that do not transmit for the data transmission schedule information according to storage, and leads to
Overweight newly-established be wirelessly connected transmits the data that do not transmit.
The wireless connection control device, can be according to the use state and preset first connection of first terminal equipment
Condition judges whether to need to interrupt to be wirelessly connected, to interrupt when first terminal equipment meets preset first condition of contact
It is wirelessly connected, saves energy consumption.
Further, in the device, when transmitting data over a wireless connection, data transmission schedule information can be obtained and deposited
Storage.After interrupting the wireless connection, when needing to carry out data transmission again, wireless connection can be re-established, and according to depositing
The data transmission schedule information of storage determines the data that do not transmit, and the transmission of the wireless connection by re-establishing is described not
The data of transmission realize breakpoint transmission.
Correspondingly, being integrated with institute as above in the processor of the terminal device disclosed herein as well is a kind of terminal device
The wireless connection control device stated.The terminal device can establish nothing with second terminal equipment usually as first terminal equipment
Line connection, and according to the use state of first terminal equipment and preset first condition of contact, judge whether to need to interrupt nothing
Line connection saves energy consumption to interrupt and be wirelessly connected when first terminal equipment to meet preset first condition of contact.
In addition, it is necessary to which the terminal device can be established again wirelessly with second terminal equipment when carrying out data transmission again
Connection, and according to the data transmission schedule information of storage, determine the data that do not transmit, and the wireless connection by re-establishing passes
The defeated data that do not transmit, to realize the breakpoint transmission with second terminal equipment room.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (11)
1. a kind of wireless connection control method is applied to first terminal equipment, which is characterized in that the wireless connection control method
Include:
Obtain the link information for needing the second terminal equipment being wirelessly connected with the first terminal equipment, and need into
When row data are transmitted, the wireless connection with the second terminal equipment is realized by the link information;
After establishing wireless connection, the use state of the first terminal equipment is obtained, and according to the use state, judge institute
State whether first terminal equipment meets preset first condition of contact;First condition of contact include: currently run it is in need
Top-priority application program, and, it is described to be wirelessly connected current transmission rate greater than preset transmission rate;Wherein, described
Needing top-priority application program includes needing not rely upon the downloading program of the wireless connection;
When the use state for according to judging result, determining the first terminal equipment meets the first condition of contact, described in interruption
It is wirelessly connected.
2. the method according to claim 1, wherein first condition of contact further include: preset time, institute
The use state for stating first terminal equipment is not transmit the time of data after being wirelessly connected foundation,
It is described to judge whether the first terminal equipment meets preset first condition of contact, comprising: it will be wirelessly connected after establishing,
The time and the preset time for not transmitting data compare, and after the wireless connection is established, do not transmit the time of data
When not less than the preset time, it is determined that the first terminal equipment meets preset first condition of contact.
3. the method according to claim 1, wherein described, to judge whether the first terminal equipment meets default
The first condition of contact, comprising:
Whether judgement, which currently runs, needs top-priority application program;
According to judging result, determine that when currently running top-priority application program in need, acquisition is described to be wirelessly connected currently
Transmission rate, and judge whether the current transmission rate is greater than preset transmission rate;
When according to judging result, determining that the current transmission rate is greater than the preset transmission rate, it is determined that meet
Preset first condition of contact.
4. the method according to claim 1, wherein first condition of contact further include: preset data pass
Degree of being input into, the use state of the first terminal equipment are the current schedules that data are transmitted after being wirelessly connected foundation,
It is described to judge whether the first terminal equipment meets preset first condition of contact, comprising: to transmit the data
Current schedules compare with the preset data transmission schedule, when the current schedules of data transmission are default not less than described
Data transmission schedule when, it is determined that meet preset first condition of contact.
5. the method according to claim 1, wherein the wireless connection control method further include:
When transmitting data by the wireless connection, obtains data transmission schedule information and store;
After interrupting the wireless connection, when needing to carry out data transmission, according to the link information, re-establishes and wirelessly connect
It connects;
According to the data transmission schedule information of storage, the data that do not transmit, and the wireless connection by re-establishing are determined
The transmission data that do not transmit.
6. a kind of wireless connection control device is applied to first terminal equipment, which is characterized in that the wireless connection control device
Include:
Link information obtains module, for obtaining the second terminal equipment for needing to be wirelessly connected with the first terminal equipment
Link information pass through the link information and realize nothing with the second terminal equipment and when needing to carry out data transmission
Line connection;
Judgment module, for obtaining the use state of the first terminal equipment, and make according to described after establishing wireless connection
With state, judge whether the first terminal equipment meets preset first condition of contact;First condition of contact includes: to work as
Preceding operation top-priority application program in need, and, it is described to be wirelessly connected current transmission rate greater than preset transmission speed
Rate;Wherein, the top-priority application program of needs includes needing not rely upon the downloading program of the wireless connection;
It is wirelessly connected interrupt module, for meeting the when the use state that according to judging result, determine the first terminal equipment
When one condition of contact, the wireless connection is interrupted.
7. device according to claim 6, which is characterized in that first condition of contact further include: preset time, institute
The use state for stating first terminal equipment is not transmit the time of data after being wirelessly connected foundation,
The judgment module includes: the first judging unit, for after being wirelessly connected and establishing, do not transmit time of data with it is described
The preset time compares, after the wireless connection is established, when not transmitting the time of data not less than the preset time,
Then determine that the first terminal equipment meets preset first condition of contact.
8. device according to claim 6, which is characterized in that the judgment module includes:
Second judgment unit needs top-priority application program for judging currently whether to run;
Third judging unit obtains when currently running top-priority application program in need for determining according to judging result
It is described to be wirelessly connected current transmission rate, and judge whether the current transmission rate is greater than preset transmission rate;
Determination unit determines that the current transmission rate is greater than the preset transmission rate for working as according to judging result
When, it is determined that meet preset first condition of contact.
9. device according to claim 6, which is characterized in that first condition of contact further include: preset data pass
Degree of being input into, the use state of the first terminal equipment are the current schedules that data are transmitted after being wirelessly connected foundation,
The judgment module includes: the 4th judging unit, the current schedules for transmitting the data and the preset number
It compares according to transmission progress, when the current schedules of data transmission are not less than the preset data transmission schedule, then really
Surely meet preset first condition of contact.
10. device according to claim 6, which is characterized in that the wireless connection control device further include:
Progress msg obtains module, for obtaining data transmission schedule information simultaneously when transmitting data by the wireless connection
Storage;
It is wirelessly connected and rebuilds module, after interrupting the wireless connection, when needing to carry out data transmission, according to the connection
Information re-establishes wireless connection;
Again transmission module determines the data that do not transmit for the data transmission schedule information according to storage, and passes through weight
It is newly-established to be wirelessly connected the transmission data that do not transmit.
11. a kind of terminal device, which is characterized in that integrate in the processor of the terminal device just like claim 6 to right
It is required that 10 described in any item wireless connection control devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081758.2A CN104902581B (en) | 2014-03-07 | 2014-03-07 | Wireless connection control method, apparatus and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081758.2A CN104902581B (en) | 2014-03-07 | 2014-03-07 | Wireless connection control method, apparatus and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104902581A CN104902581A (en) | 2015-09-09 |
CN104902581B true CN104902581B (en) | 2019-06-25 |
Family
ID=54034903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410081758.2A Active CN104902581B (en) | 2014-03-07 | 2014-03-07 | Wireless connection control method, apparatus and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104902581B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
HK1218492A2 (en) * | 2015-12-30 | 2017-02-17 | 演基發展有限公司 | Method for controlling wireless communication between a mobile device and an electronic device |
CN107205284B (en) * | 2016-03-18 | 2022-01-14 | 阿尔派株式会社 | Electronic device and connection control method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633096A (en) * | 2004-12-27 | 2005-06-29 | 中国联合通信有限公司 | A method of short message value-added service access |
CN102014021A (en) * | 2010-11-19 | 2011-04-13 | 中兴通讯股份有限公司 | Method and device for controlling connection/disconnection of data link |
CN102523244A (en) * | 2011-11-18 | 2012-06-27 | 深圳中兴网信科技有限公司 | Uploading method and system for page documents |
CN102707789A (en) * | 2012-04-28 | 2012-10-03 | 厦门市凌拓通信科技有限公司 | Method for saving power for mobile data card based on traffic monitoring |
CN103200314A (en) * | 2013-03-05 | 2013-07-10 | 广东欧珀移动通信有限公司 | Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal |
EP2667299A1 (en) * | 2012-05-25 | 2013-11-27 | Samsung Electronics Co., Ltd | Multiple display method with multiple communication terminals, machine-readable storage medium and communication terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10204851B4 (en) * | 2002-02-06 | 2005-12-15 | Infineon Technologies Ag | Data transmission system with adjustable transmission power |
-
2014
- 2014-03-07 CN CN201410081758.2A patent/CN104902581B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633096A (en) * | 2004-12-27 | 2005-06-29 | 中国联合通信有限公司 | A method of short message value-added service access |
CN102014021A (en) * | 2010-11-19 | 2011-04-13 | 中兴通讯股份有限公司 | Method and device for controlling connection/disconnection of data link |
CN102523244A (en) * | 2011-11-18 | 2012-06-27 | 深圳中兴网信科技有限公司 | Uploading method and system for page documents |
CN102707789A (en) * | 2012-04-28 | 2012-10-03 | 厦门市凌拓通信科技有限公司 | Method for saving power for mobile data card based on traffic monitoring |
EP2667299A1 (en) * | 2012-05-25 | 2013-11-27 | Samsung Electronics Co., Ltd | Multiple display method with multiple communication terminals, machine-readable storage medium and communication terminal |
CN103200314A (en) * | 2013-03-05 | 2013-07-10 | 广东欧珀移动通信有限公司 | Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104902581A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106063076B (en) | Power supply adaptor, terminal and charging system | |
CN105159781B (en) | Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed | |
CN108566312A (en) | Off-line checking method, device and computer readable storage medium | |
CN102571996B (en) | IP (Internet Protocol) address assignment method, IP address assignment device and network system | |
EP3125513A1 (en) | Multi-mode power saving multimedia transmission method and system | |
CN106211810B (en) | A kind of data transmission method, equipment and system | |
CN110381130A (en) | The long connection method of keep-alive, device, communication terminal and storage medium | |
CN108763140A (en) | A kind of method of two-way communication, system and terminal device | |
CN103889037A (en) | Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof | |
CN103200015A (en) | Power over Ethernet (POE) switchboard power supply method | |
CN102104893A (en) | Method, device and wireless access point equipment for realizing hot backup of wireless controller | |
CN109120524A (en) | Link aggregation method and relevant device | |
CN107645517A (en) | Data push method and device | |
CN105898882A (en) | Data transmission method, sending terminal, reception terminal and data transmission system | |
CN104902581B (en) | Wireless connection control method, apparatus and terminal device | |
CN106550101B (en) | Event reminding method and device | |
CN205071315U (en) | Wireless router device , wireless routing system | |
EP3001278B1 (en) | Wireless connection switching method, wireless terminal and system thereof | |
CN204731623U (en) | A kind of intelligent control system | |
CN105007209B (en) | A kind of poll means of communication based on RS485 | |
CN107197493B (en) | A kind of method for switching network, network switching device and intelligent terminal | |
CN205283611U (en) | End and server end news information will be moved and synchronous device will be carried out | |
CN203984450U (en) | Intelligent domestic gateway | |
CN104780512B (en) | A kind of instant application message processing method and modem | |
CN109275058A (en) | Dual mode headset system, bluetooth equipment and cable |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |