CN106454936B - Network control method and intelligent terminal - Google Patents

Network control method and intelligent terminal Download PDF

Info

Publication number
CN106454936B
CN106454936B CN201610819131.1A CN201610819131A CN106454936B CN 106454936 B CN106454936 B CN 106454936B CN 201610819131 A CN201610819131 A CN 201610819131A CN 106454936 B CN106454936 B CN 106454936B
Authority
CN
China
Prior art keywords
network
antenna
priority
intelligent terminal
mentioned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610819131.1A
Other languages
Chinese (zh)
Other versions
CN106454936A (en
Inventor
刘合东
李宗骏
唐荣政
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610819131.1A priority Critical patent/CN106454936B/en
Publication of CN106454936A publication Critical patent/CN106454936A/en
Application granted granted Critical
Publication of CN106454936B publication Critical patent/CN106454936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0247Traffic management, e.g. flow control or congestion control based on conditions of the access network or the infrastructure network

Abstract

The invention discloses a kind of network control method and intelligent terminals, wherein, the network control method is applied to intelligent terminal, the intelligent terminal supports the first network and the second network of common antenna, the network control method to specifically include: detecting whether the intelligent terminal is in the preparation state that specified message is received by the first network;If detecting, the intelligent terminal is in the preparation state that specified message is received by the first network, and the antenna for comparing the first network and second network occupies priority;When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, the antenna for adjusting the first network and/or second network occupies priority, so that the antenna of the first network occupies the antenna occupancy priority that priority is higher than second network;Technical solution provided by the invention enables intelligent terminal quickly to obtain specified message by the network of common antenna.

Description

Network control method and intelligent terminal
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of network control method and intelligent terminal.
Background technique
With universal and intelligent terminal technology the development of network technology, intelligent terminal and network have been increasingly becoming people's life Inalienable part living.
User can obtain various information and service by intelligent terminal and network.It is total to be currently, there are heterogeneous networks The case where with the same antenna of intelligent terminal, due to the mutual restriction between the heterogeneous networks of common antenna, when by altogether When with the wherein network transmission message of antenna, it may cause what message transmitted to prolong because antenna is just occupied by another network When, so that user can not obtain required message by required network in time.How heterogeneous networks common antenna feelings Under condition, so that user can also be obtained quickly required message by required network and become the heat inquired into and paid close attention to always in the industry Point problem.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of network control method and intelligent terminal, enable intelligent terminal Specified message is quickly obtained by the network of common antenna.
First aspect of the embodiment of the present invention provides network control method, is applied to intelligent terminal, which supports altogether With the first network and the second network of antenna, which includes:
Detect whether above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network;
If detecting, above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network, compares The antenna of above-mentioned first network and above-mentioned second network occupies priority;
When the antenna of above-mentioned first network, which occupies priority, occupies priority lower than the antenna of above-mentioned second network, adjustment The antenna of above-mentioned first network and/or above-mentioned second network occupies priority, so that the antenna of above-mentioned first network occupies preferentially The antenna that grade is higher than above-mentioned second network occupies priority;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for above-mentioned antenna.
Based on the embodiment of the present invention in a first aspect, in the first possible implementation, above-mentioned above-mentioned first net of adjustment The antenna of network and/or above-mentioned second network occupies priority, so that the antenna of above-mentioned first network occupies priority higher than above-mentioned The antenna of second network occupies priority, comprising:
The antenna of above-mentioned first network is occupied into priority and is adjusted to preset first antenna occupancy priority, and will be above-mentioned The antenna of second network occupies priority and is adjusted to preset second antenna occupancy priority, wherein above-mentioned first antenna occupies Priority is higher than above-mentioned second antenna and occupies priority.
Based on the embodiment of the present invention in a first aspect, in the second possible implementation, above-mentioned above-mentioned first net of adjustment The antenna of network occupies priority and/or the antenna of above-mentioned second network occupies priority, so that the antenna of above-mentioned first network accounts for Priority is occupied with the antenna that priority is higher than above-mentioned second network, comprising:
The antenna for improving above-mentioned first network occupies priority, so that the antenna occupancy of above-mentioned first network adjusted is excellent First grade is higher than the current antenna of above-mentioned second network and occupies priority.
Based on the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible realization side Second of possible implementation of formula or first aspect of the embodiment of the present invention, in the third possible implementation, when When the antenna of above-mentioned first network occupies antenna occupancy priority of the priority lower than above-mentioned second network, the above method is also wrapped It includes: suspending the data transmission that above-mentioned intelligent terminal is currently based on above-mentioned second network.
Based on the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible realization side Second of possible implementation of formula or first aspect of the embodiment of the present invention, in the fourth possible implementation, on The antenna occupancy priority for adjusting above-mentioned first network and/or above-mentioned second network is stated, later further include:
When above-mentioned intelligent terminal complete above-mentioned specified message it is received simultaneously or after, by above-mentioned first network and/or The antenna of above-mentioned second network occupies the antenna that priority reverts to before adjustment and occupies priority.
Based on the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible realization side Second of possible implementation of formula or first aspect of the embodiment of the present invention, in a fifth possible implementation, on Detect that above-mentioned intelligent terminal is in the preparation state for receiving by above-mentioned first network and specifying message if stating, more above-mentioned the The antenna of one network and above-mentioned second network occupies priority, specifically:
If detecting, above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network, and above-mentioned Second network is in initiate mode, then: the antenna of more above-mentioned first network and above-mentioned second network occupies priority.
Second aspect of the embodiment of the present invention provides a kind of intelligent terminal, which supports the first network of common antenna With the second network, which includes:
Whether detection unit is in for detecting above-mentioned intelligent terminal and receives the standard of specified message by above-mentioned first network Standby state;
Comparing unit, for being received when above-mentioned detection unit detects that above-mentioned intelligent terminal is in by above-mentioned first network When the preparation state of specified message, the antenna of more above-mentioned first network and above-mentioned second network occupies priority;
Adjustment unit, the antenna for comparing above-mentioned first network when above-mentioned comparing unit occupy priority lower than above-mentioned When the antenna of second network occupies priority, the antenna for adjusting above-mentioned first network and/or above-mentioned second network occupies priority, So that the antenna of above-mentioned first network occupies the antenna occupancy priority that priority is higher than above-mentioned second network;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for above-mentioned antenna.
Based on second aspect of the embodiment of the present invention, in the first possible implementation, above-mentioned adjustment unit is specifically used In: it the antenna of above-mentioned first network is occupied into priority is adjusted to preset first antenna and occupy priority, and by above-mentioned second The antenna of network occupies priority and is adjusted to preset second antenna occupancy priority, wherein above-mentioned first antenna occupies preferential Grade is higher than above-mentioned second antenna and occupies priority.
Based on second aspect of the embodiment of the present invention, in the second possible implementation, above-mentioned adjustment unit is specifically used In: the antenna for improving above-mentioned first network occupies priority, so that the antenna of above-mentioned first network adjusted occupies priority The antenna current higher than above-mentioned second network occupies priority.
Based on the possible realization side of the first of second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention Second of possible implementation of formula or second aspect of the embodiment of the present invention, in the third possible implementation, on State intelligent terminal further include:
Transmission control unit, the antenna for comparing above-mentioned first network when above-mentioned comparing unit occupy priority and are lower than When the antenna of above-mentioned second network occupies priority, suspend the data biography that above-mentioned intelligent terminal is currently based on above-mentioned second network It is defeated.
Based on the possible realization side of the first of second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention Second of possible implementation of formula or second aspect of the embodiment of the present invention, in the fourth possible implementation, on Adjustment unit is stated to be also used to: when above-mentioned intelligent terminal complete above-mentioned specified message it is received simultaneously or after, by above-mentioned first The antenna of network and/or above-mentioned second network occupies the antenna that priority reverts to before adjustment and occupies priority.
Based on the possible realization side of the first of second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention Second of possible implementation of formula or second aspect of the embodiment of the present invention, in a fifth possible implementation, on State intelligent terminal further include:
Judging unit, for being received when above-mentioned detection unit detects that above-mentioned intelligent terminal is in by above-mentioned first network When the preparation state of specified message, judge whether above-mentioned second network is in initiate mode;
The triggering when the judging result of above-mentioned judging unit is to be of above-mentioned comparing unit.
Third aspect present invention embodiment provides a kind of intelligent terminal, first network and the second net including common antenna Network, above-mentioned intelligent terminal include:
Whether processor is in for detecting above-mentioned intelligent terminal and receives the preparation of specified message by above-mentioned first network State;
Above-mentioned processor is also used to: receiving specified message by above-mentioned first network when detecting that above-mentioned intelligent terminal is in Preparation state when, the antenna of more above-mentioned first network and above-mentioned second network occupies priority;When above-mentioned first network When antenna occupies priority and occupies priority lower than the antenna of above-mentioned second network, above-mentioned first network and/or above-mentioned the are adjusted The antenna of two networks occupies priority, so that the antenna of above-mentioned first network occupies the antenna that priority is higher than above-mentioned second network Occupy priority;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for above-mentioned antenna.
Therefore detecting intelligent terminal, in passing through, the reception of above-mentioned first network is specified to disappear in the embodiment of the present invention When the preparation state of breath, compares first network and occupies priority with the antenna of the second network of the first network common antenna, When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, the first network is adjusted And/or the antenna of second network occupies priority, so that the antenna of the first network occupies priority and is higher than second network Antenna occupy priority, since to occupy priority and network the occupancy priority of antenna related for antenna, and the first network is The intelligent terminal, which is currently used in, receives network used in above-mentioned specified message, therefore, by it is above-mentioned to the first network and/or The antenna of second network occupies the adjustment of priority, can reduce second network to the shadow of the transmission rate of the first network It rings, enables the intelligent terminal quickly to receive above-mentioned specified message by the first network, that is, making intelligent terminal Specified message can be quickly obtained by the network of common antenna.
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 without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of network control method one embodiment flow diagram provided by the invention;
Fig. 2 is a kind of intelligent terminal one embodiment structural schematic diagram provided by the invention;
Fig. 3 is a kind of another example structure schematic diagram of intelligent terminal provided by the invention;
Fig. 4 is a kind of intelligent terminal further embodiment structural schematic diagram provided by the invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
The embodiment of the present invention provides a kind of network control method, is applied to intelligent terminal, and above-mentioned intelligent terminal is supported to share The first network of antenna and the second network, above-mentioned network control method further include: detect above-mentioned intelligent terminal and whether be in and pass through Above-mentioned first network receives the preparation state of specified message;If detecting that above-mentioned intelligent terminal is in connect by above-mentioned first network The preparation state of specified message is received, then the antenna of more above-mentioned first network and above-mentioned second network occupies priority;When above-mentioned When the antenna of first network occupies antenna occupancy priority of the priority lower than above-mentioned second network, above-mentioned first network is adjusted And/or the antenna of above-mentioned second network occupies priority, so that the antenna of above-mentioned first network occupies priority and is higher than above-mentioned the The antenna of two networks occupies priority;Wherein, it is related to the network occupancy priority of antenna to occupy priority for above-mentioned antenna.This hair Bright embodiment also provides corresponding intelligent terminal, is described in detail separately below.
A kind of network control method provided in an embodiment of the present invention is described below, referring to Fig. 1, the present invention is implemented Example in network control method include:
101, whether detection intelligent terminal is in the preparation state that specified message is received by first network;
In the embodiment of the present invention, the first network and the second network of above-mentioned intelligent terminal support common antenna, above-mentioned first Network is that above-mentioned intelligent terminal is currently used in network used in the above-mentioned specified message of reception.
In the embodiment of the present invention, specified message refers in particular to a certain message and (such as electronics red packet or other appointed disappears Breath).
In the embodiment of the present invention, intelligent terminal can be detected by following several modes and whether be in and received by first network The preparation state of specified message:
(1) for the system interface of specified application program setting network interaction, above-mentioned specified message applies journey by this Sequence receives.In a step 101, whether in the open state the application program is detected, if so, determining that above-mentioned intelligent terminal is in The preparation state that specified message is received by first network, enters step 102;If it is not, then determining that above-mentioned intelligent terminal is not in The preparation state of specified message is received by first network, immediately or can be waited preset duration or be waited predeterminable event hair Return step 101 when raw.For example, setting above-mentioned specified message as electronics red packet, by mounted a certain on intelligent terminal Third party application (for ease of description, subsequent be described as program A for the third party application) can receive electronics red packet.? In step 101, whether the program A detected in intelligent terminal is in the open state, if so, determining that above-mentioned intelligent terminal is in logical The preparation state that first network receives electronics red packet is crossed, is connect if it is not, then determining that above-mentioned intelligent terminal is not in by first network Receive the preparation state of electronics red packet.When the application program that can receive above-mentioned specified message on intelligent terminal has multiple, in step In rapid 101, it can detecte any using journey in the multiple application programs that can receive above-mentioned specified message in above-mentioned intelligent terminal Whether sequence is in the open state, if detecting, any application program in above-mentioned multiple application programs is in the open state, sentences Fixed above-mentioned intelligent terminal is in the preparation state that specified message is received by first network, if detecting above-mentioned multiple application programs It is not in open state, then determines that above-mentioned intelligent terminal is not in the preparation state for receiving specified message by first network. It is illustrated so that specified message is electronics red packet as an example, when the third-party application that can receive electronics red packet in above-mentioned intelligent terminal It when program has multiple, such as further include program B and program C in addition to program A.In a step 101, the journey in intelligent terminal is detected Whether sequence A or program B or program C are in the open state, if detecting, program A or program B or program C are in the open state, Determine above-mentioned intelligent terminal be in by first network reception electronics red packet preparation state, if detect program A, program B with And program C is not in open state, then determines that above-mentioned intelligent terminal is not in the standard that electronics red packet is received by first network Standby state.
(2) above-mentioned specified message is transmitted by following interactive mode: when cloud device need to intelligent terminal send it is above-mentioned Before specified message, a notification message first is sent to above-mentioned intelligent terminal, to notify that it is received specified that above-mentioned cloud device needs Message.When above-mentioned intelligent terminal receives the notification message, Xiang Shangshu cloud device sends above-mentioned specified for request The request message of message, after above-mentioned cloud device receives the above-mentioned request message of above-mentioned intelligent terminal feedback, to above-mentioned intelligence Terminal sends above-mentioned specified message.
Since in this application scene, cloud device, can be first upward before sending above-mentioned specified message to intelligent terminal Intelligent terminal notification message transmission is stated, therefore in step 101, it can be by detecting whether above-mentioned intelligent terminal receives above-mentioned notice The mode of message detects whether above-mentioned intelligent terminal is in the preparation state that specified message is received by first network.That is step 101 specific manifestations are as follows: whether detection intelligent terminal receives notification message, wherein above-mentioned notification message is for notifying under needing The specified message of hair;When detecting that above-mentioned intelligent terminal receives above-mentioned notification message, determine that above-mentioned intelligent terminal is in logical The preparation state that first network receives above-mentioned specified message is crossed, enters step 102;When detecting that above-mentioned intelligent terminal do not receive When above-mentioned notification message, determines that above-mentioned intelligent terminal is not in the preparation state for receiving specified message by first network, can stand Return step 101 when i.e. or waiting preset duration or predeterminable event is waited to occur.
It is illustrated so that specified message is electronics red packet as an example, if a user (for convenient for distinguishing, subsequent descriptions are user 1) Log in the program A in intelligent terminal (for convenient for distinguishing, subsequent descriptions are intelligent terminal 1), another user (for convenient for distinguishing, Subsequent descriptions are user 2) also logged in intelligent terminal (for convenient for distinguish, subsequent descriptions be intelligent terminal 2) in program A, clothes Business device C provides service for program A.When user 1 distributes electronics red packet using the groups of users where program A to user 2 or user 2 When, server C sends a notification message to the program A that user 2 logs in, and the electronics which is used to notify to need to be issued is red Packet, the program A that user 2 logs in return to the request message for being used for request electronics red packet to server C, and server C is received After the above-mentioned request message that the program A that user 2 logs in is returned, the program A logged in user 2 sends above-mentioned electronics red packet, above-mentioned Electronics red packet is presented at the default interface of the program A of intelligent terminal 2.Therefore in this application scenarios, when detecting that intelligent terminal 2 connects When receiving above-mentioned notification message, it can determine that intelligent terminal 2 is in the preparation state that electronics red packet is received by first network.
It should be noted that if step 101 is detected using aforesaid way (1), then it can be on above-mentioned intelligent terminal After electrically activating, continues or periodically or in predeterminable event triggering execute step 101.If step 101 uses above-mentioned side Formula (2) is detected, then can continue or periodically or in predeterminable event touch after above-mentioned intelligent terminal electrifying startup Step 101 is executed when hair, alternatively, the application program that can also can receive above-mentioned specified message in above-mentioned intelligent terminal opens After moving, continues or periodically or in predeterminable event triggering execute step 101, alternatively, can also be whole in above-mentioned intelligence When the application program that can receive above-mentioned specified message in end is in front stage operation state, continue or periodically or pre- If executing step 101 when event triggers.The embodiment of the present invention is not defined the triggering mode of step 101.
Certainly, in addition to aforesaid way (1) and mode (2), the embodiment of the present invention can also detect intelligence using other way Whether energy terminal is in the preparation state that specified message is received by first network, for example, when above-mentioned intelligent terminal is applied When program switches, judgement will be switched to whether the application program on foreground is specified application, if so, determining above-mentioned intelligence Terminal is in the preparation state that specified message is received by first network, passes through if it is not, then determining that above-mentioned intelligent terminal is not in First network receives the preparation state of specified message.Wherein, above-mentioned specified application is that can receive above-mentioned specified message Application program.The specific detection mode of step 101 is not defined in the embodiment of the present invention.
If 102, detecting, above-mentioned intelligent terminal is in the preparation state that specified message is received by first network, compares The antenna of above-mentioned first network and the second network occupies priority;
By the description in step 101 it is found that above-mentioned second network is currently used in for above-mentioned intelligent terminal receives above-mentioned specify Network used in message.Above-mentioned antenna occupancy priority is related to the network occupancy priority of antenna, therefore, for sharing day The heterogeneous networks of line, the network that high antenna occupies priority can preferentially occupy antenna.For example, generating network conflict, antenna When available bandwidth is insufficient, the network that high antenna occupies priority can preferentially be carried out data transmission using antenna.
In the embodiment of the present invention, specified disappear is received by first network when step 101 detects that above-mentioned intelligent terminal is in When the preparation state of breath, the antenna of more above-mentioned first network and above-mentioned second network occupies priority.
103, when the antenna of above-mentioned first network, which occupies priority, occupies priority lower than the antenna of above-mentioned second network, The antenna for adjusting above-mentioned first network and/or above-mentioned second network occupies priority, so that the antenna of above-mentioned first network occupies The antenna that priority is higher than above-mentioned second network occupies priority;
In a kind of application scenarios, the antenna of above-mentioned adjustment first network and/or above-mentioned second network occupies priority, makes It includes: by above-mentioned first that the antenna for obtaining above-mentioned first network, which occupies priority to be higher than the antenna occupancy priority of above-mentioned second network, The antenna of network occupies priority and is adjusted to preset first antenna occupancy priority, and the antenna of above-mentioned second network is occupied Priority is adjusted to preset second antenna and occupies priority, wherein above-mentioned first antenna occupies priority and is higher than above-mentioned second Antenna occupies priority.Using above-mentioned first network as Wireless Fidelity (WiFi, Wireless Fidelity) network, above-mentioned second Network is to be illustrated for blueteeth network, if it is respectively P1 and P2 that the antenna of WiFi network and blueteeth network, which occupies priority, The preparation state for specifying message is received by WiFi network when step 101 detects that above-mentioned intelligent terminal is in, and step 102 is examined When measuring P1 lower than P2, the antenna of the WiFi network of above-mentioned intelligent terminal is occupied into priority and is adjusted to P3 from P1, and will be above-mentioned The antenna of the blueteeth network of intelligent terminal occupies priority and is adjusted to P4 from P2, wherein P3 is greater than P4.Further, P3 is greater than P1, P4 are less than P2.
In another application scenarios, the antenna of above-mentioned adjustment first network and/or the second network occupies priority, so that It includes: to improve above-mentioned first that the antenna of above-mentioned first network, which occupies priority to be higher than the antenna occupancy priority of above-mentioned second network, The antenna of network occupies priority, so that the antenna of above-mentioned first network adjusted occupies priority and is higher than above-mentioned second network Current antenna occupies priority.It is carried out so that above-mentioned first network is WiFi network, above-mentioned second network is blueteeth network as an example Illustrate, if it is respectively P1 and P2 that the antenna of WiFi network and blueteeth network, which occupies priority, when step 101 detects above-mentioned intelligence Terminal is in the preparation state that specified message is received by WiFi network, and when step 102 detects that P1 is lower than P2, by above-mentioned intelligence The antenna of the WiFi network of energy terminal occupies priority and is increased to P3 from P1, wherein P3 is greater than P2.
Certainly, the embodiment of the present invention can also be accounted for using the antenna of other way adjustment first network and/or the second network With priority, it is higher than the antenna of above-mentioned second network so that the antenna of above-mentioned first network occupies priority and occupies priority.Example Such as, keeping the antenna of above-mentioned first network to occupy, priority is constant, and the antenna for reducing above-mentioned second network occupies priority, so that The antenna of above-mentioned first network occupies the antenna occupancy priority that priority is higher than above-mentioned second network.
Further, when step 102 detects that the antenna of above-mentioned first network occupies priority lower than above-mentioned second network When antenna occupies priority, the data transmission that above-mentioned intelligent terminal is currently based on above-mentioned second network can also be suspended, with into one Step reduces influence of above-mentioned second network to above-mentioned first network.
Further, after step 103, while above-mentioned intelligent terminal completes the reception of above-mentioned specified message or it Afterwards, the antenna before the antenna of above-mentioned first network and/or above-mentioned second network occupancy priority being reverted to adjustment occupies excellent First grade.It should be noted that if occupying priority all to the antenna of above-mentioned first network and above-mentioned second network in step 103 Adjusted, then when above-mentioned intelligent terminal complete above-mentioned specified message it is received simultaneously or after, can be by above-mentioned first net The antenna of network and above-mentioned second network occupies the antenna that priority reverts to before adjustment and occupies priority;If in step 103 It only occupies priority to the antenna of above-mentioned first network all to be adjusted, then when above-mentioned intelligent terminal completes above-mentioned specified message It is received simultaneously or after, can by the antenna of above-mentioned first network occupy priority revert to adjustment before antenna occupy it is excellent First grade;It is all adjusted if only occupying priority to the antenna of above-mentioned second network in a step 102, when above-mentioned intelligence is whole End complete above-mentioned specified message it is received simultaneously or after, the antenna of above-mentioned second network can be occupied priority and revert to tune Antenna before whole occupies priority.By taking above-mentioned first network is WiFi network, above-mentioned second network is blueteeth network as an example into Row explanation, if it is respectively P1 and P2 that the antenna of WiFi network and blueteeth network, which occupies priority, when step 103 is whole by above-mentioned intelligence The antenna of the WiFi network at end occupies priority and is adjusted to P3 from P1, and the antenna of the blueteeth network of above-mentioned intelligent terminal is occupied Priority is adjusted to P4 from P2.Then can above-mentioned intelligent terminal complete above-mentioned specified message it is received simultaneously or after, will The antenna of the WiFi network of above-mentioned intelligent terminal occupies the antenna that priority reverts to before adjustment and occupies priority (i.e. P1), and The antenna of the blueteeth network of above-mentioned intelligent terminal is occupied into the antenna that priority reverts to before adjustment and occupies priority (i.e. P2).
Optionally, specified message is received by above-mentioned first network when step 101 detects that above-mentioned intelligent terminal is in It when preparation state, further detects whether above-mentioned second network is in initiate mode, is opened if detecting that above-mentioned second network is in With state, the step of just executing above-mentioned " antenna of more above-mentioned first network and the second network occupies priority " and subsequent step Suddenly, if detecting, above-mentioned second network is not in initiate mode, can terminate this process, and can immediately or wait default Return step 101 when duration or waiting predeterminable event occur.Then step 102 specific manifestation are as follows: if detecting above-mentioned intelligence eventually End is in the preparation state for receiving specified message by above-mentioned first network, and above-mentioned second network is in initiate mode, then: ratio The antenna of more above-mentioned first network and above-mentioned second network occupies priority.
It should be noted that the network control method in the embodiment of the present invention is applied to above-mentioned intelligent terminal, above-mentioned intelligence Terminal specifically can be smart phone, tablet computer, PC, PDA, notebook or other intelligent terminal, be not construed as limiting herein.
Therefore the network control method in the embodiment of the present invention is detecting intelligent terminal in by above-mentioned first When network receives the preparation state of specified message, compare first network and the day with the second network of the first network common antenna Line occupies priority, when the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, adjusts The antenna of the whole first network and/or second network occupies priority, so that the antenna of the first network occupies priority height Priority is occupied in the antenna of second network, since antenna occupancy priority is related to the network occupancy priority of antenna, and The first network is that the intelligent terminal is currently used in network used in the above-mentioned specified message of reception, therefore, by above-mentioned to this The antenna of first network and/or second network occupies the adjustment of priority, can reduce second network to the first network Transmission rate influence, enable the intelligent terminal quickly to receive above-mentioned specified message by the first network, That is, intelligent terminal is enabled quickly to obtain specified message by the network of common antenna.
It should be appreciated that for the aforementioned method embodiment, describing for simplicity, therefore, it is stated as a series of movements Combination, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to this Invention, certain steps can use other sequences or carry out simultaneously.
The network control method in embodiment illustrated in fig. 1 is illustrated with a concrete application example below, it is most of at present Smart phone (being equivalent to the intelligent terminal in embodiment illustrated in fig. 1) all supports blueteeth network and WiFi network, and blueteeth network 2.4G antenna is usually shared with WiFi network.In the case where the smart phone uses blueteeth network and WiFi network simultaneously, such as The antenna of fruit blueteeth network occupies priority and is higher than WiFi network, it will the serious smart phone receives electronics by WiFi network The rate of red packet (electronics red packet is equivalent to the specified message in embodiment illustrated in fig. 1).Therefore in the embodiment of the present invention, detection intelligence Whether mobile phone is in the preparation state that electronics red packet is received by WiFi network, if the smart phone, which is in, passes through WiFi network The preparation state for receiving electronics red packet, then the antenna for comparing WiFi network and blueteeth network occupies priority, if current WiFi The antenna of network occupies priority and occupies priority lower than the antenna of blueteeth network, then adjusts WiFi network and/or blueteeth network Antenna occupy priority so that WiFi network antenna occupy priority be higher than blueteeth network antenna occupy priority.It is logical The antenna for crossing adjustment WiFi network and/or blueteeth network occupies priority, WiFi network can be enabled preferentially to occupy antenna, Also, WiFi network can also be extended and occupy the duration of antenna, to reduce blueteeth network to the transmission rate of WiFi network It influences, so that the smart phone can quickly receive above-mentioned electronics red packet by the WiFi network.
The embodiment of the present invention also provides a kind of intelligent terminal, which supports the first network and second of common antenna Network, as shown in Fig. 2, the intelligent terminal 200 in the embodiment of the present invention, comprising:
Detection unit 201, for detecting whether above-mentioned intelligent terminal is in through the specified message of above-mentioned first network reception Preparation state;
Comparing unit 202, for being connect when detection unit 201 detects that above-mentioned intelligent terminal is in by above-mentioned first network When receiving the preparation state of specified message, the antenna of more above-mentioned first network and above-mentioned second network occupies priority;
Adjustment unit 203, the antenna for comparing above-mentioned first network when comparing unit 202 occupy priority and are lower than When stating the antenna occupancy priority of the second network, the antenna for adjusting above-mentioned first network and/or above-mentioned second network is occupied preferentially Grade, so that the antenna of above-mentioned first network occupies the antenna occupancy priority that priority is higher than above-mentioned second network;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for above-mentioned antenna.
Optionally, adjustment unit 203 is specifically used for: the antenna of above-mentioned first network being occupied priority and is adjusted to preset First antenna occupies priority, and by the antenna of above-mentioned second network occupancy priority be adjusted to preset second antenna occupy it is excellent First grade, wherein above-mentioned first antenna occupies priority and is higher than above-mentioned second antenna occupancy priority.
Optionally, adjustment unit 203 is specifically used for: the antenna for improving above-mentioned first network occupies priority, so that adjustment The antenna of above-mentioned first network afterwards occupies priority and is higher than the current antenna occupancy priority of above-mentioned second network.
Optionally, the intelligent terminal in the embodiment of the present invention further include: transmission control unit, for working as comparing unit 202 Compare above-mentioned first network antenna occupy priority lower than above-mentioned second network antenna occupy priority when, suspend it is above-mentioned Intelligent terminal is currently based on the data transmission of above-mentioned second network.
Optionally, adjustment unit 203 is also used to: while above-mentioned intelligent terminal completes the reception of above-mentioned specified message or Later, the antenna of above-mentioned first network and/or above-mentioned second network occupancy priority the antenna before adjustment is reverted to occupy Priority.
Optionally, the intelligent terminal in the embodiment of the present invention further include:
Judging unit, for being received when detection unit 201 detects that above-mentioned intelligent terminal is in by above-mentioned first network When the preparation state of specified message, judge whether above-mentioned second network is in initiate mode;
The triggering when the judging result of above-mentioned judging unit is to be of comparing unit 202.
It should be noted that the intelligent terminal in the embodiment of the present invention specifically can be smart phone, tablet computer, PC, PDA, notebook or other intelligent terminal, are not construed as limiting herein.
It should be noted that intelligent terminal in the embodiment of the present invention can be such as the intelligence that refers in above method embodiment Terminal can be used to implement all the technical solutions in the foregoing method embodiment, and the function of each functional module can basis Method specific implementation in above method embodiment, specific implementation process can refer to the associated description in above-described embodiment, this Place repeats no more.
Therefore detecting intelligent terminal, in passing through, the reception of above-mentioned first network is specified to disappear in the embodiment of the present invention When the preparation state of breath, compares first network and occupies priority with the antenna of the second network of the first network common antenna, When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, the first network is adjusted And/or the antenna of second network occupies priority, so that the antenna of the first network occupies priority and is higher than second network Antenna occupy priority, since to occupy priority and network the occupancy priority of antenna related for antenna, and the first network is The intelligent terminal, which is currently used in, receives network used in above-mentioned specified message, therefore, by it is above-mentioned to the first network and/or The antenna of second network occupies the adjustment of priority, can reduce second network to the shadow of the transmission rate of the first network It rings, enables the intelligent terminal quickly to receive above-mentioned specified message by the first network, that is, making intelligent terminal Specified message can be quickly obtained by the network of common antenna.
The embodiment of the present invention provides another intelligent terminal, referring to Fig. 3, the intelligent terminal packet in the embodiment of the present invention Include: one or more processors 301 (only show one) in Fig. 3.Wherein:
Processor 301 is used for: detecting whether above-mentioned intelligent terminal is in through the specified message of above-mentioned first network reception Preparation state;When detecting that above-mentioned intelligent terminal is in the preparation state by the specified message of above-mentioned first network reception, than The antenna of more above-mentioned first network and above-mentioned second network occupies priority;When the antenna occupancy priority of above-mentioned first network is low When the antenna of above-mentioned second network occupies priority, the antenna for adjusting above-mentioned first network and/or above-mentioned second network is occupied Priority, so that the antenna of above-mentioned first network occupies the antenna occupancy priority that priority is higher than above-mentioned second network.
Optionally, processor 301 adjusts above-mentioned first network in the following way and/or the antenna of above-mentioned second network accounts for With priority: the antenna of above-mentioned first network being occupied priority and is adjusted to preset first antenna occupancy priority, and will be upper The antenna for stating the second network occupies priority and is adjusted to preset second antenna occupancy priority, wherein above-mentioned first antenna accounts for It is higher than above-mentioned second antenna with priority and occupies priority.
Optionally, processor 301 adjusts above-mentioned first network in the following way and/or the antenna of above-mentioned second network accounts for With priority: the antenna for improving above-mentioned first network occupies priority, so that the antenna of above-mentioned first network adjusted occupies Priority is higher than the current antenna of above-mentioned second network and occupies priority.
Optionally, processor 301 is also used to: being lower than above-mentioned second network when the antenna of above-mentioned first network occupies priority Antenna occupy priority when, suspend above-mentioned intelligent terminal be currently based on above-mentioned second network data transmission.
Optionally, processor 301 is also used to: while above-mentioned intelligent terminal completes the reception of above-mentioned specified message or it Afterwards, the antenna before the antenna of above-mentioned first network and/or above-mentioned second network occupancy priority being reverted to adjustment occupies excellent First grade.
Optionally, processor 301 is also used to: being disappeared when detecting that above-mentioned intelligent terminal is in by the way that above-mentioned first network is specified When the preparation state of breath, judge whether above-mentioned second network is in initiate mode;It is enabled when judging that above-mentioned second network is in When state, the movement of the antenna occupancy priority of above-mentioned first network and above-mentioned second network is just executed.
Further, as shown in figure 3, intelligent terminal may also include that one or more input equipments 302 (only show one in Fig. 3 It is a), one or more output equipments 303 (one is only shown in Fig. 3), memory 304 and display 305.It is processor 301, defeated Enter equipment 302, output equipment 303, memory 304 and display 305 to connect by bus 306.Memory 304 refers to for storing It enables, processor 301 is also used to execute the instruction of the storage of memory 304.
Memory 304 is stored in memory 304 by operation for storing software program and module, processor 301 Software program and unit, thereby executing various function application and data processing, to obtain the corresponding money of above-mentioned predeterminable event Source.
It should be appreciated that in embodiments of the present invention, alleged processor 301 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 302 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 303 may include display (LCD etc.), loudspeaker etc..
Memory 304 may include read-only memory and random access memory, and provide instruction sum number to processor 301 According to.The a part of of memory 304 can also include nonvolatile RAM.For example, memory 304 can also store The information of device type.
Display 305 can be used for showing information input by user or the information etc. for being supplied to user.Display 305 can wrap Display panel is included, optionally, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel.Further, aforementioned display device 305 may also include touch panel, and above-mentioned touch panel can cover display panel, when touch panel detects on it or nearby After touch operation, processor 301 is sent to determine the type of touch event, is followed by subsequent processing device 301 according to the class of touch event Type provides corresponding visual output on a display panel.
Therefore detecting intelligent terminal, in passing through, the reception of above-mentioned first network is specified to disappear in the embodiment of the present invention When the preparation state of breath, compares first network and occupies priority with the antenna of the second network of the first network common antenna, When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, the first network is adjusted And/or the antenna of second network occupies priority, so that the antenna of the first network occupies priority and is higher than second network Antenna occupy priority, since to occupy priority and network the occupancy priority of antenna related for antenna, and the first network is The intelligent terminal, which is currently used in, receives network used in above-mentioned specified message, therefore, by it is above-mentioned to the first network and/or The antenna of second network occupies the adjustment of priority, can reduce second network to the shadow of the transmission rate of the first network It rings, enables the intelligent terminal quickly to receive above-mentioned specified message by the first network, that is, making intelligent terminal Specified message can be quickly obtained by the network of common antenna.
The embodiment of the present invention also provides another intelligent terminal, retouches below to the intelligent terminal in the embodiment of the present invention It states, referring to Fig. 4, the intelligent terminal 400 in the embodiment of the present invention includes: one or more computer readable storage mediums Memory 401, input unit 402, display unit 403, one or more than one processing core processor 404 and The components such as power supply 405.It will be understood by those skilled in the art that intelligent terminal structure shown in Fig. 4 was not constituted to intelligent end The restriction at end may include perhaps combining certain components or different component layouts than illustrating more or fewer components. Wherein:
Memory 401 can be used for storing software program and module, and processor 404 is stored in memory 401 by operation Software program and module, thereby executing various function application and data processing.Memory 401 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area can be stored to be created according to using for intelligent terminal 400 Data (such as audio data, phone directory etc.) etc..In addition, memory 401 may include high-speed random access memory, may be used also To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 401 can also include Memory Controller, to provide processor 404 and 402 pairs of input unit storages The access of device 401.
Input unit 402 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 402 includes touch-sensitive Surface 4021 and other input equipments 4022.Touch sensitive surface 4021, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 4021 or near touch sensitive surface 4021), and corresponding attachment device is driven according to preset formula.It can Choosing, touch sensitive surface 4021 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detects The touch orientation of user, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touching It touches and receives touch information in detection device, and be converted into contact coordinate, then give processor 404, and processor can be received 404 orders sent simultaneously are executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Type realizes touch sensitive surface 4021.In addition to touch sensitive surface 4021, input unit 402 can also include other input equipments 4022.Tool Body, other input equipments 4022 can include but is not limited to physical keyboard, function key (for example press by volume control button, switch Key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 403 can be used for showing information input by user or the information and intelligent terminal that are supplied to user 400 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai It constitutes.Display unit 403 may include display panel 4031, optionally, can use liquid crystal display (LCD, Liquid Crystal Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) match Set display panel 4031.Further, touch sensitive surface 4021 can cover display panel 4031, when touch sensitive surface 4021 detects After touch operation on or near it, processor 404 is sent to determine the type of touch event, is followed by subsequent processing 404 basis of device The type of touch event provides corresponding visual output on display panel 4031.Although in Fig. 4, touch sensitive surface 4021 and aobvious Show that panel 4031 is to realize input and input function as two independent components, but it in some embodiments it is possible to will Touch sensitive surface 4021 and display panel 4031 integrate and realize and output and input function.
Processor 404 is the control centre of intelligent terminal 400, utilizes each of various interfaces and connection whole mobile phone Part by running or execute the software program and/or module that are stored in memory 401, and calls and is stored in memory Data in 401 execute the various functions and processing data of intelligent terminal 400, to carry out whole prison to intelligent terminal 400 Control.Optionally, processor 404 may include one or more processing cores;Preferably, processor 404 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 404.
Intelligent terminal 400 further includes the power supply 405 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 404 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 405 can also include one or more direct current or AC power source, recharging system, electricity The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, intelligent terminal 400 can also include RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, Wireless Fidelity (WiFi, wireless fidelity) module, camera, bluetooth module etc., details are not described herein. Specifically in the present embodiment, intelligent terminal 400 further includes that one or more than one program are stored in memory 401, and are passed through Configuration is with by one or more than one processor 404 executes said one or more than one program, wherein comprising for holding The following instruction operated of row:
Detect whether above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network;
If detecting, above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network, compares The antenna of above-mentioned first network and above-mentioned second network occupies priority;
When the antenna of above-mentioned first network, which occupies priority, occupies priority lower than the antenna of above-mentioned second network, adjustment The antenna of above-mentioned first network and/or above-mentioned second network occupies priority, so that the antenna of above-mentioned first network occupies preferentially The antenna that grade is higher than above-mentioned second network occupies priority;
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, the antenna of above-mentioned adjustment first network and/or the second network occupies priority so that on The antenna for stating first network occupies the antenna occupancy priority that priority is higher than above-mentioned second network, comprising:
The antenna of above-mentioned first network is occupied into priority and is adjusted to preset first antenna occupancy priority, and will be above-mentioned The antenna of second network occupies priority and is adjusted to preset second antenna occupancy priority, wherein above-mentioned first antenna occupies Priority is higher than above-mentioned second antenna and occupies priority.
In the third the possible embodiment provided based on the first possible embodiment, above-mentioned adjustment The antenna of first network and/or the second network occupies priority, so that the antenna of above-mentioned first network occupies priority higher than upper The antenna for stating the second network occupies priority, comprising:
The antenna for improving above-mentioned first network occupies priority, so that the antenna occupancy of above-mentioned first network adjusted is excellent First grade is higher than the current antenna of above-mentioned second network and occupies priority.
In the first possible embodiment or second of possible embodiment or the third possible embodiment party In the 4th kind of possible embodiment provided based on formula, when the antenna of above-mentioned first network occupies priority lower than upper When stating the antenna occupancy priority of the second network, the above method further include: suspend above-mentioned intelligent terminal and be currently based on above-mentioned second The data of network are transmitted.
In the first possible embodiment or second of possible embodiment or the third possible embodiment party In the 5th kind of possible embodiment provided based on formula, the above-mentioned above-mentioned first network of adjustment and/or above-mentioned second net The antenna of network occupies priority, later further include:
When above-mentioned intelligent terminal complete above-mentioned specified message it is received simultaneously or after, by above-mentioned first network and/or The antenna of above-mentioned second network occupies the antenna that priority reverts to before adjustment and occupies priority.
In the first possible embodiment or second of possible embodiment or the third possible embodiment party In the 6th kind of possible embodiment provided based on formula, if above-mentioned detect that above-mentioned intelligent terminal is in by above-mentioned First network receives the preparation state of specified message, then the antenna of more above-mentioned first network and above-mentioned second network occupies preferential Grade, specifically:
If detecting, above-mentioned intelligent terminal is in the preparation state that specified message is received by above-mentioned first network, and above-mentioned Second network is in initiate mode, then: the antenna of more above-mentioned first network and above-mentioned second network occupies priority.
It should be noted that above-mentioned intelligent terminal specifically can be smart phone, tablet computer, PC, PDA, notebook or It is other can intelligent terminal, be not construed as limiting herein.
Above-mentioned intelligent terminal can be used to implement above method implementation such as the intelligent terminal in above method embodiment The function of whole technical solutions in example, each functional module can be specifically real according to the method in above method embodiment Existing, specific implementation process can refer to the associated description in above-described embodiment, and details are not described herein again.
Therefore detecting intelligent terminal, in passing through, the reception of above-mentioned first network is specified to disappear in the embodiment of the present invention When the preparation state of breath, compares first network and occupies priority with the antenna of the second network of the first network common antenna, When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, the first network is adjusted And/or the antenna of second network occupies priority, so that the antenna of the first network occupies priority and is higher than second network Antenna occupy priority, since to occupy priority and network the occupancy priority of antenna related for antenna, and the first network is The intelligent terminal, which is currently used in, receives network used in above-mentioned specified message, therefore, by it is above-mentioned to the first network and/or The antenna of second network occupies the adjustment of priority, can reduce second network to the shadow of the transmission rate of the first network It rings, enables the intelligent terminal quickly to receive above-mentioned specified message by the first network, that is, making intelligent terminal Specified message can be quickly obtained by the network of common antenna.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of said units, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
Above-mentioned 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.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment above method of the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.Those skilled in the art should also know that implementation described in this description Example belongs to preferred embodiment, and related actions and modules might not all be necessary to the present invention.
The above are to a kind of description of network control method and intelligent terminal provided by the present invention, for the one of this field As technical staff, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, comprehensive On, the contents of this specification are not to be construed as limiting the invention.

Claims (13)

1. a kind of network control method, it is applied to intelligent terminal, the intelligent terminal supports the first network and the of common antenna Two networks, the first network are WiFi network, and second network is blueteeth network, it is characterised in that:
It detects whether the intelligent terminal is in the preparation state for receiving electronics red packet message by the first network, including works as When application program switching occurs for above-mentioned intelligent terminal, judgement will be switched to whether the application program on foreground is specified using journey Sequence, if so, determining that above-mentioned intelligent terminal is in the preparation state for receiving electronics red packet message by first network, the electronics Red packet message is transmitted by following interactive mode: before cloud device needs to send electronics red packet message to intelligent terminal, first A notification message is sent to above-mentioned intelligent terminal, to notify the cloud device to need received electronics red packet message, when described When intelligent terminal receives the notification message, Xiang Suoshu cloud device is sent for electronics red packet message described in request Request message, after the cloud device receives the request message of above-mentioned intelligent terminal feedback, Xiang Suoshu intelligent terminal hair Send the electronics red packet message;
If detecting, the intelligent terminal is in the preparation state that electronics red packet message is received by the first network, compares The antenna of the first network and second network occupies priority;
When the antenna of the first network, which occupies priority, occupies priority lower than the antenna of second network, described in adjustment The antenna of first network and/or second network occupies priority, so that the antenna of the first network occupies priority height Priority is occupied in the antenna of second network;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for the antenna.
2. the method according to claim 1, wherein the adjustment first network and/or second net The antenna of network occupies priority, so that the antenna of the first network occupies the antenna occupancy that priority is higher than second network Priority, comprising:
It the antenna of the first network is occupied into priority is adjusted to preset first antenna and occupy priority, and by described second The antenna of network occupies priority and is adjusted to preset second antenna occupancy priority, wherein the first antenna occupies preferential Grade is higher than second antenna and occupies priority.
3. the method according to claim 1, wherein the antenna of the adjustment first network occupies priority And/or the antenna of second network occupies priority, so that the antenna of the first network occupies priority and is higher than described the The antenna of two networks occupies priority, comprising:
The antenna for improving the first network occupies priority, so that the antenna of the first network adjusted occupies priority The antenna current higher than second network occupies priority.
4. method according to any one of claims 1 to 3, which is characterized in that when the antenna occupancy of the first network is excellent When first grade occupies priority lower than the antenna of second network, the method also includes: suspend the current base of the intelligent terminal It is transmitted in the data of second network.
5. method according to any one of claims 1 to 3, which is characterized in that described to adjust the first network and/or institute The antenna for stating the second network occupies priority, later further include:
When the intelligent terminal complete the electronics red packet message it is received simultaneously or after, by the first network and/or The antenna of second network occupies the antenna that priority reverts to before adjustment and occupies priority.
6. method according to any one of claims 1 to 3, which is characterized in that if described detect at the intelligent terminal In the preparation state for receiving electronics red packet message by the first network, the then first network and second network Antenna occupy priority, specifically:
If detecting, the intelligent terminal is in the preparation state that electronics red packet message is received by the first network, and described Second network is in initiate mode, then: the antenna of the first network and second network occupies priority.
7. a kind of intelligent terminal, the intelligent terminal supports the first network and the second network of common antenna, the first network For WiFi network, second network is blueteeth network, which is characterized in that the intelligent terminal includes:
Detection unit, for detect the intelligent terminal whether be in by the first network receive electronics red packet message standard Standby state, including when application program switching occurs for above-mentioned intelligent terminal, judgement will be switched to foreground application program whether For specified application, if so, determining that above-mentioned intelligent terminal is in the preparation by first network reception electronics red packet message State, the electronics red packet message are transmitted by following interactive mode: when cloud device need to intelligent terminal send electronics it is red Before packet message, a notification message first is sent to above-mentioned intelligent terminal, to notify that it is red that the cloud device needs received electronics Packet message, when the intelligent terminal receives the notification message, Xiang Suoshu cloud device is sent for described in request The request message of electronics red packet message, after the cloud device receives the request message of above-mentioned intelligent terminal feedback, to The intelligent terminal sends the electronics red packet message;
Comparing unit, for receiving electronics by the first network when the detection unit detects that the intelligent terminal is in When the preparation state of red packet message, the antenna of the first network and second network occupies priority;
Adjustment unit, the antenna for comparing the first network when the comparing unit occupy priority lower than described second When the antenna of network occupies priority, the antenna for adjusting the first network and/or second network occupies priority, so that The antenna of the first network occupies the antenna occupancy priority that priority is higher than second network;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for the antenna.
8. intelligent terminal according to claim 7, which is characterized in that the adjustment unit is specifically used for: by described first The antenna of network occupies priority and is adjusted to preset first antenna occupancy priority, and the antenna of second network is occupied Priority is adjusted to preset second antenna and occupies priority, wherein the first antenna occupies priority and is higher than described second Antenna occupies priority.
9. intelligent terminal according to claim 7, which is characterized in that the adjustment unit is specifically used for: improving described the The antenna of one network occupies priority, so that the antenna of the first network adjusted occupies priority and is higher than second net The current antenna of network occupies priority.
10. intelligent terminal according to any one of claims 7 to 9, which is characterized in that the intelligent terminal further include:
Transmission control unit, the antenna for comparing the first network when the comparing unit occupy priority lower than described When the antenna of second network occupies priority, suspend the data transmission that the intelligent terminal is currently based on second network.
11. intelligent terminal according to any one of claims 7 to 9, which is characterized in that the adjustment unit is also used to: when The intelligent terminal complete the electronics red packet message it is received simultaneously or after, by the first network and/or described The antenna of two networks occupies the antenna that priority reverts to before adjustment and occupies priority.
12. intelligent terminal according to any one of claims 7 to 9, which is characterized in that the intelligent terminal further include:
Judging unit, for receiving electronics by the first network when the detection unit detects that the intelligent terminal is in When the preparation state of red packet message, judge whether second network is in initiate mode;
Comparing unit triggering when the judging result of the judging unit is to be.
13. a kind of intelligent terminal, first network and the second network including common antenna, the first network are WiFi network, Second network is blueteeth network, which is characterized in that the intelligent terminal includes:
Processor, for detect the intelligent terminal whether be in by the first network receive electronics red packet message preparation State, including when above-mentioned intelligent terminal occur application program switching when, judgement will be switched to foreground application program whether be Specified application, if so, determining that above-mentioned intelligent terminal is in the preparation shape for receiving electronics red packet message by first network State, the electronics red packet message are transmitted by following interactive mode: when cloud device needs to send electronics red packet to intelligent terminal Before message, a notification message first is sent to above-mentioned intelligent terminal, to notify the cloud device to need received electronics red packet Message, when the intelligent terminal receives the notification message, Xiang Suoshu cloud device is sent for electricity described in request The request message of sub- red packet message, after the cloud device receives the request message of above-mentioned intelligent terminal feedback, to institute It states intelligent terminal and sends the electronics red packet message;
The processor is also used to: receiving electronics red packet message by the first network when detecting that the intelligent terminal is in Preparation state when, the antenna of the first network and second network occupies priority;When the first network When antenna occupies priority and occupies priority lower than the antenna of second network, the first network and/or described the are adjusted The antenna of two networks occupies priority, so that the antenna of the first network occupies the antenna that priority is higher than second network Occupy priority;
Wherein, it is related to the network occupancy priority of antenna to occupy priority for the antenna.
CN201610819131.1A 2016-09-12 2016-09-12 Network control method and intelligent terminal Active CN106454936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610819131.1A CN106454936B (en) 2016-09-12 2016-09-12 Network control method and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610819131.1A CN106454936B (en) 2016-09-12 2016-09-12 Network control method and intelligent terminal

Publications (2)

Publication Number Publication Date
CN106454936A CN106454936A (en) 2017-02-22
CN106454936B true CN106454936B (en) 2019-04-12

Family

ID=58168418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610819131.1A Active CN106454936B (en) 2016-09-12 2016-09-12 Network control method and intelligent terminal

Country Status (1)

Country Link
CN (1) CN106454936B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574780A (en) * 2018-05-02 2018-09-25 Oppo广东移动通信有限公司 Management method, device, storage medium and the intelligent terminal of network function
CN108712280B (en) * 2018-05-02 2020-12-04 Oppo广东移动通信有限公司 Network function management method and device, storage medium and intelligent terminal
CN108924875A (en) * 2018-08-14 2018-11-30 深圳创维数字技术有限公司 priority setting method, device, user equipment and storage medium
CN115379174A (en) * 2022-08-29 2022-11-22 深圳技术大学 Live broadcast monitoring device and monitoring method for cargo loading state of ship arriving at port

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102007698A (en) * 2008-04-18 2011-04-06 索尼爱立信移动通讯有限公司 Network interface device with shared antenna

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11166167B2 (en) * 2014-06-18 2021-11-02 Texas Instruments Incorporated Audio stream identification by a wireless network controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102007698A (en) * 2008-04-18 2011-04-06 索尼爱立信移动通讯有限公司 Network interface device with shared antenna

Also Published As

Publication number Publication date
CN106454936A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN106454936B (en) Network control method and intelligent terminal
CN108039963B (en) Container configuration method and device and storage medium
US20180348980A1 (en) Method and apparatus for switching screen interface and terminal
CN107203147B (en) Internet of Things network control system based on cloud platform and method
US11262911B2 (en) Integrated home key and virtual key area for a smart terminal
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN107908330B (en) The management method and mobile terminal of application icon
US20150089431A1 (en) Method and terminal for displaying virtual keyboard and storage medium
CN106326073B (en) The method and mobile terminal of information processing
US20150079963A1 (en) Method and device for displaying notice information
WO2020007144A1 (en) Switching method and device for split screen application, storage medium and electronic device
CN106445721B (en) The method and mobile terminal of house dog fault-tolerant processing
CN107786424A (en) Audio/video communication method, terminal and server
CN109117256A (en) A kind of management method and terminal of background application
CN106817489B (en) The reminding method and mobile terminal of message
CN108984142A (en) Multi-screen display method, device, storage medium and electronic equipment
CN106066769B (en) A kind of processing method and mobile terminal of mobile terminal
CN109687922A (en) Signal monitoring method, device, storage medium and the mobile terminal of wireless network
CN109688611A (en) A kind of configuration method, device, terminal and the storage medium of frequency range parameter
CN109032487A (en) Control method of electronic device, device, storage medium and electronic equipment
CN106484141B (en) The setting method and mobile terminal of threshold value
CN106339268B (en) application control method and intelligent terminal
CN106445778B (en) The method and mobile terminal of information processing
CN109661022A (en) Network control method, system, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant