CN107396365A - Data transmission method and mobile terminal - Google Patents

Data transmission method and mobile terminal Download PDF

Info

Publication number
CN107396365A
CN107396365A CN201710518035.8A CN201710518035A CN107396365A CN 107396365 A CN107396365 A CN 107396365A CN 201710518035 A CN201710518035 A CN 201710518035A CN 107396365 A CN107396365 A CN 107396365A
Authority
CN
China
Prior art keywords
data
intended application
wlan
application
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710518035.8A
Other languages
Chinese (zh)
Inventor
孙权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710518035.8A priority Critical patent/CN107396365A/en
Publication of CN107396365A publication Critical patent/CN107396365A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the invention provide a kind of data transmission method and mobile terminal, wherein, method includes:When detecting the transmission of data of intended application request, current network connection state is obtained;When it is WLAN WLAN states to detect current network connection state, whether detection intended application is to preset the application in set of applications;In the application in detecting that intended application is default set of applications, the data are transmitted by mobile communications network.The embodiment of the present invention is advantageous to improve the security of mobile terminal data transmission.

Description

Data transmission method and mobile terminal
Technical field
The present invention relates to data processing field, and in particular to a kind of data transmission method and mobile terminal.
Background technology
In the prior art, with WLAN WLAN extensive use, such as family in increasing small-sized scope The usable internal wlan network set such as front yard, market, office, but user is also deposited during using these WLAN In certain potential safety hazard.
At present, after user mobile phone is connected into WLAN, the application in mobile phone can be given tacit consent to is surfed the Net using WLAN, even if the shifting of mobile phone Dynamic data are still opened, and still preferentially can be surfed the Net by WLAN, because public WLAN has safety issue, when user uses hand When machine moves the operations such as payment, private chat, transmitting-receiving work mail, it may occur that leaking data.
The content of the invention
The embodiments of the invention provide a kind of data transmission method and mobile terminal, in the network connection state of mobile terminal For WLAN WLAN states when, still data can be transmitted by mobile communications network so that data transfer can be improved Security.
First aspect of the embodiment of the present invention provides a kind of data transmission method, including:
When detecting the transmission of data of intended application request, current network connection state is obtained;
When it is WLAN WLAN states to detect the current network connection state, detecting the target should With whether being application in default set of applications;
In the application in detecting that the intended application is the default set of applications, transmitted by mobile communications network The data.
With reference to the embodiment of the present invention in a first aspect, in the first possible embodiment of first aspect, it is described When to detect the current network connection state be WLAN WLAN states, detect whether the intended application is pre- If the application in set of applications, including:
When it is WLAN WLAN states to detect the current network connection state, establish and the movement The communication connection of communication network.
It is described to detect with reference to the embodiment of the present invention in a first aspect, in second of possible embodiment of first aspect To the intended application be the default set of applications in application when, the data are transmitted by mobile communications network, including:
In the application in detecting that the intended application is the default set of applications, establish and the mobile radio communication The communication connection of network, the data are transmitted by the mobile communications network.
It is described to detect with reference to the embodiment of the present invention in a first aspect, in the third possible embodiment of first aspect When to the intended application being the default application, the data are transmitted by mobile communications network, including:
When it is the default application to detect the intended application, the data type of the data is determined;
When it is preset data type to detect the data type, the number is transmitted by the mobile communications network According to;
When it is not the preset data type to detect the data type, pass through the WLAN WLAN Transmit the data.
With reference to the third possible embodiment of first aspect of the embodiment of the present invention to first aspect, the of first aspect In four kinds of possible embodiments, after the permission application is surfed the Net by mobile network, methods described also includes:
Detecting that the data traffic that the intended application is transmitted by the mobile communications network is more than preset flow threshold During value, the notice for being confirmed whether to delete the intended application in the default set of applications is exported;
When detecting the confirmation operation for the notice, the target is deleted in the default set of applications should With.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Acquiring unit, for when detecting the transmission of data of intended application request, obtaining current network connection shape State;
First processing units, for detecting that the current network connection state is WLAN WLAN shapes During state, detect whether the intended application is to preset the application in set of applications;
Second processing unit, in the application in detecting that the intended application is the default set of applications, leading to Cross mobile communications network and transmit the data.
With reference to second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, at described first Reason unit is used for:
When detecting that the mobile terminal is in WLAN WLAN states, establish and the mobile communications network Communication connection.
With reference to second aspect of the embodiment of the present invention, in second of possible embodiment of second aspect, at described second Reason unit is used for:
In the application in detecting that the intended application is the default set of applications, establish and the mobile radio communication The communication connection of network, the data are transmitted by the mobile communications network.
With reference to second aspect of the embodiment of the present invention, in the third possible embodiment of second aspect, at described second Reason unit includes:
Determining module, for when it is the default application to detect the intended application, determining the data of the data Type;
Transport module, for when it is preset data type to detect the data type, passing through the mobile radio communication Network transmits the data;
The transport module, it is additionally operable to, when it is not the preset data type to detect the data type, pass through institute State WLAN WLAN and transmit the data.
With reference to the third possible embodiment of second aspect of the embodiment of the present invention to second aspect, the of second aspect In four kinds of possible embodiments, the mobile terminal also includes:
Notification unit, for detecting that the data traffic that the intended application is transmitted by the mobile communications network is big When preset flow threshold value, the notice for being confirmed whether to delete the intended application in the default set of applications is exported;
Unit is deleted, for when detecting the confirmation operation for the notice, being deleted in the default set of applications Except the intended application.
Implement the embodiment of the present invention, have the advantages that:
By the embodiment of the present invention, mobile terminal when detecting the transmission of data of intended application request, obtains first Current network connection state, secondly, mobile terminal is detecting that the current network connection state is WLAN During WLAN states, detect whether the intended application is to preset the application in set of applications, finally, mobile terminal is detecting State intended application for application in the default set of applications when, the data are transmitted by mobile communications network.So as to realize When the network connection state of mobile terminal is WLAN WLAN states, it can still pass through mobile communication for intended application Transmitted data on network so that the security of data transfer can be improved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another data transmission method provided in an embodiment of the present invention;
Fig. 3 a are a kind of structural representations of mobile terminal provided in an embodiment of the present invention;
Fig. 3 b are the structural representations of the second processing unit of the mobile terminal described by Fig. 3 a provided in an embodiment of the present invention Figure;
Fig. 3 c are the structural representations of another mobile terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another mobile terminal provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function, Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.The embodiment of the present invention is carried out below detailed It is thin to introduce.
Referring to Fig. 1, the first embodiment schematic flow sheet for a kind of data transmission method provided in an embodiment of the present invention. Data transmission method described in the present embodiment, comprises the following steps:
S101, mobile terminal obtain current network connection shape when detecting the transmission of data of intended application request State.
Wherein, intended application may include but be not limited only to:Video Applications (such as Tengxun's video, iqiyi.com, youku.com), social activity (such as Alipay, wechat branch are applied using (such as wechat, microblogging, QQ), game application (such as king's honor, fighting landlord), payment Pay, apple pay etc.).
Wherein, intended application may include system application and the third-party application of mobile terminal.
Wherein, the data transfer request of intended application may include data upload requests and data download request.
Wherein, the network state of mobile terminal may include WLAN WLAN states and mobile communications network 2G/3G/ 4G states.
S102, above-mentioned mobile terminal are detecting that the current network connection state is WLAN WLAN shapes During state, detect whether the intended application is to preset the application in set of applications.
Wherein, WLAN WLAN may include WiFi network.
Wherein, default set of applications can be specified by user, and user can will need the application of high level of security, and such as paying should Default set of applications is included in, social networking application etc..
S103, above-mentioned mobile terminal lead in the application in detecting that the intended application is the default set of applications Cross mobile communications network and transmit the data.
Wherein, mobile terminal is in the application in detecting that intended application is default set of applications, even if mobile terminal Network connection state is WLAN WLAN states, and intended application still needs to transmit data by mobile communications network.
Wherein, transmission method at data provided in an embodiment of the present invention is implemented, can be by being opened in the setting of mobile terminal Corresponding function is opened, or is realized by opening application accordingly., can be when mobile terminal opens the function or the application WLAN signal mark and mobile communications network signal identification are shown on the display screen of mobile terminal simultaneously, is detecting intended application When being surfed the Net by WLAN, WLAN signal mark is highlighted, when detecting that intended application is surfed the Net by mobile communications network, is dashed forward Go out to show mobile communications network signal identification.When detecting the selection operation for WLAN signal mark, institute is turned on and off WLAN is stated, when detecting the selection operation for mobile communications network signal identification, is turned on and off mobile communications network.Have The mode of the current data transfer of intended application is understood beneficial to user, and is advantageous to user and is quickly turned on and off WLAN and shifting Dynamic communication network.
As can be seen that in the embodiment of the present invention, mobile terminal is asked in the transmission for detecting the data of intended application first When, current network connection state is obtained, secondly, mobile terminal is detecting that the current network connection state is wireless office During the network WLAN states of domain, detect whether the intended application is to preset the application in set of applications, finally, mobile terminal is being examined Measure the intended application for application in the default set of applications when, the data are transmitted by mobile communications network.From And realize when the network connection state of mobile terminal is WLAN WLAN states, it can still pass through for intended application Mobile communications network transmits data, is advantageous to improve the security of data transfer.
In a possible example, methods described also includes:Detecting that the current network connection state is nothing During line LAN WLAN states, the communication connection with the mobile communications network is established.
Wherein, resident state is in the cellular cell of mobile terminal in mobile communication system, it is logical in foundation and movement After the communication connection of communication network, attachment state can be switched to by resident state, so as to carry out the transmission of data.
It can be seen that in this example, detecting that the network connection state of mobile terminal is WLAN WLAN states When, just establish the communication connection of mobile terminal and mobile communications network so that mobile terminal is in cellular cell by resident state Attachment state is switched to, while being advantageous to improve security, the handling duration of mobile terminal is reduced, improves the effect of data transfer Rate.
In a possible example, the application in detecting that the intended application is the default set of applications When, the data are transmitted by mobile communications network, including:In detecting that the intended application is the default set of applications Application when, establish with the communication connection of the mobile communications network, pass through the mobile communications network and transmit the data.
It can be seen that in this example, mobile terminal resettles in the application in detecting that intended application is default set of applications The communication connection of mobile terminal and mobile communications network so that mobile terminal is switched to attachment in cellular cell by resident state State, while being advantageous to improve security, reduce mobile terminal power consumption, more power saving.
Described in a possible example when it is the default application to detect the intended application, by mobile logical Communication network transmits the data, including:When it is the default application to detect the intended application, the number of the data is determined According to type;When it is preset data type to detect the data type, the data are transmitted by the mobile communications network; When it is not the preset data type to detect the data type, the number is transmitted by the WLAN WLAN According to.
Wherein, preset data type can be set by user, can be authorization data type, corresponding authentication number According to.For example, when being applied using wechat, when carrying out wechat payment or wechat is chatted, can be passed by mobile communications network Data corresponding to defeated, when carrying out wechat Video chat or circle of friends video-see, it can be passed by WLAN WLAN Data corresponding to defeated.
It can be seen that in this example, the data type of intended application is detected, is preset data type in data type When, data are transmitted by mobile communications network, when data type is not preset data type, pass through WLAN WLAN Data are transmitted, are advantageous to while data transmission security is improved, save mobile data flow.
It is described to detect that the current network connection state is WLAN in possible example in one During WLAN states, including:The current location of mobile terminal is positioned, is detecting that the current location is predeterminated position When, the data are transmitted by the WLAN WLAN.
Wherein, predeterminated position can be set by user, such as can be the positions such as family, company.Detected for example, working as The position of mobile terminal is in user's family, you can allows intended application to transmit data also by WLAN WLAN.
It can be seen that in this example, by being positioned to the current location of mobile terminal, so that it is determined that the nothing currently connected Line LAN WLAN security, so that when intended application is presets application, it can also be surfed the Net by mobile communications network, Be advantageous to save mobile data flow.
It is described to detect that the current network connection state is WLAN in possible example in one During WLAN states, including:When it is default WLAN WLAN to detect the WLAN WLAN, by described WLAN WLAN transmits the data, is detecting that the WLAN WLAN is not the default wireless local During network WLAN, the data are transmitted by the mobile communications network.
Wherein, presetting WLAN WLAN can be set by user, and user can be according to the WLAN of mobile terminal Historical record is connected, the reliable WLAN in the WLAN that mobile terminal was connected is set as default WLAN.
It can be seen that in this example, detect that current wireless Local Area Network network WLAN is default WLAN in mobile terminal During WLAN, you can transmit the data by WLAN WLAN, detecting that current wireless Local Area Network network WLAN is not During the default WLAN WLAN, you can transmit the data by mobile communications network.Be advantageous to save mobile number According to flow.
It is consistent with the embodiment shown in above-mentioned Fig. 1, referring to Fig. 2, Fig. 2 is a kind of data provided in an embodiment of the present invention The second embodiment schematic flow sheet of transmission method, the data transmission method described in the present embodiment, comprises the following steps:
S201, above-mentioned mobile terminal obtain current network and connected when detecting the transmission of data of intended application request Connect state.
S202, above-mentioned mobile terminal are detecting that the current network connection state is WLAN WLAN shapes During state, detect whether the intended application is to preset the application in set of applications.
S203, above-mentioned mobile terminal lead in the application in detecting that the intended application is the default set of applications Cross mobile communications network and transmit the data.
S204, above-mentioned mobile terminal is in the data flow for detecting the intended application and being transmitted by the mobile communications network Amount is when being more than preset flow threshold value, exports leading to for the intended application that is confirmed whether to delete in the default set of applications Know.
Wherein, preset flow threshold value can be set by the user, and can be 50,000,000,100,000,000 or other preset flow threshold values.
S205, above-mentioned mobile terminal is when detecting the confirmation operation for the notice, in the default set of applications It is middle to delete the intended application.
For example, wechat, using being intended application, preset flow threshold value is 100,000,000, is consumed when user is applied using wechat Mobile data flow more than 100,000,000 when, mobile terminal can export for prompt the user whether by wechat apply data transfer Mode switches to be carried out data transmission by WLAN WLAN, after user clicks on confirmation operation, wechat application It is switched to and data is transmitted by WLAN WLAN.
As can be seen that in the embodiment of the present invention, mobile terminal is asked in the transmission for detecting the data of intended application first When, current network connection state is obtained, secondly, mobile terminal is detecting that the current network connection state is wireless office During the network WLAN states of domain, detect whether the intended application is to preset the application in set of applications, again, mobile terminal is being examined Measure the intended application for application in the default set of applications when, the data are transmitted by mobile communications network, then Secondary, the above-mentioned mobile terminal of mobile terminal is in the data traffic for detecting the intended application and being transmitted by the mobile communications network During more than preset flow threshold value, export for the logical of the intended application that is confirmed whether to delete in the default set of applications Know, finally, mobile terminal is when detecting the confirmation operation for the notice, in the default set of applications described in deletion Intended application.So as to, when the data traffic that intended application is transmitted by mobile communications network is more than preset flow threshold value, output , can be in default set of applications after user confirms for reminding whether user in default set of applications deletes intended application Middle delete target application so that the network access of intended application, which has to switch to by mobile communications network online, passes through wireless local Network WLAN surfs the Net, and is advantageous to save data traffic.
Consistent with the abovely, below to implement the device for the data transmission method that the embodiments of the present invention provide, specifically It is as follows:
Fig. 3 a are referred to, are a kind of example structure schematic diagram of mobile terminal provided in an embodiment of the present invention.This implementation Mobile terminal described in example, including:Acquiring unit 301, first processing units 302 and second processing unit 303, specifically such as Under:
Acquiring unit 301, for when detecting the transmission of data of intended application request, obtaining current network connection State;
First processing units 302, for detecting that the current network connection state is WLAN WLAN During state, detect whether the intended application is to preset the application in set of applications;
Second processing unit 303, for detect the intended application be the default set of applications in application when, The data are transmitted by mobile communications network.
Alternatively, the first processing units 302 are used for:
When detecting that the mobile terminal is in WLAN WLAN states, establish and the mobile communications network Communication connection.
Alternatively, the second processing unit 303 is used for:
In the application in detecting that the intended application is the default set of applications, establish and the mobile radio communication The communication connection of network, the data are transmitted by the mobile communications network.
Alternatively, as Fig. 3 b, the second processing unit 303 of the mobile terminal described by Fig. 3 a may include:Determining module 3031 and transport module 3032, it is specific as follows:
Determining module 3031, for when it is the default application to detect the intended application, determining the data Data type;
Transport module 3032, for when it is preset data type to detect the data type, being led to by the movement Communication network transmits the data;
The transport module 3032, it is additionally operable to when it is not the preset data type to detect the data type, leads to Cross the WLAN WLAN and transmit the data.
Alternatively, such as Fig. 3 c, Fig. 3 c are a kind of Fig. 3 a modification structures, and Fig. 3 c are compared with Fig. 3 a, described by Fig. 3 a Mobile terminal may also include:
Notification unit 304, in the data flow for detecting the intended application and being transmitted by the mobile communications network Amount is when being more than preset flow threshold value, exports leading to for the intended application that is confirmed whether to delete in the default set of applications Know;
Delete unit 305, for detect for the notice confirmation operation when, in the default set of applications Delete the intended application.
As can be seen that in the embodiment of the present invention, mobile terminal is asked in the transmission for detecting the data of intended application first When, current network connection state is obtained, secondly, mobile terminal is detecting that the current network connection state is wireless office During the network WLAN states of domain, detect whether the intended application is to preset the application in set of applications, finally, mobile terminal is being examined Measure the intended application for application in the default set of applications when, the data are transmitted by mobile communications network.From And realize when the network connection state of mobile terminal is WLAN WLAN states, it can still pass through for intended application Mobile communications network transmits data so that can improve the security of data transfer.
Referring to Fig. 4, the second embodiment structural representation for a kind of mobile terminal provided in an embodiment of the present invention.This reality The mobile terminal described in example is applied, including:At least one input equipment 1000;At least one output equipment 2000;At least one Individual processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, the and of processor 3000 Memory 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high-speed RAM memory, or nonvolatile storage (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, perform following operation:
Above-mentioned processor 3000, is used for:
When detecting the transmission of data of intended application request, current network connection state is obtained;
When it is WLAN WLAN states to detect the current network connection state, detecting the target should With whether being application in default set of applications;
In the application in detecting that the intended application is the default set of applications, transmitted by mobile communications network The data.
Alternatively, above-mentioned processor 3000 is detecting that the current network connection state is WLAN WLAN During state, detect whether the intended application is to preset the application in set of applications, including:
When it is WLAN WLAN states to detect the current network connection state, establish and the movement The communication connection of communication network.
Alternatively, application of the above-mentioned processor 3000 in detecting that the intended application is the default set of applications When, the data are transmitted by mobile communications network, including:
In the application in detecting that the intended application is the default set of applications, establish and the mobile radio communication The communication connection of network, the data are transmitted by the mobile communications network.
Alternatively, above-mentioned processor 3000 is when it is the default application to detect the intended application, by mobile logical Communication network transmits the data, including:
When it is the default application to detect the intended application, the data type of the data is determined;
When it is preset data type to detect the data type, the number is transmitted by the mobile communications network According to;
When it is not the preset data type to detect the data type, pass through the WLAN WLAN Transmit the data.
Alternatively, after above-mentioned processor 3000 transmits the data by mobile communications network, methods described is also wrapped Include:
Detecting that the data traffic that the intended application is transmitted by the mobile communications network is more than preset flow threshold During value, the notice for being confirmed whether to delete the intended application in the default set of applications is exported;
When detecting the confirmation operation for the notice, the target is deleted in the default set of applications should With.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the program include the part or all of step of any data transmission method described in the above method embodiment when performing Suddenly.
Although combining each embodiment herein, invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, the word of " comprising " (comprising) one is not excluded for other compositions Part or step, "a" or "an" are not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, apparatus (equipment) or computer journey Sequence product.Therefore, in terms of the present invention can use complete hardware embodiment, complete software embodiment or combine software and hardware The form of embodiment.Moreover, the present invention can use the calculating for wherein including computer usable program code in one or more The computer program that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as hardware A part, other distribution forms can also be used, such as pass through the wired or wireless telecommunication systems of Internet or other.
The present invention be with reference to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/ Or block diagram describes.It should be understood that can by each flow in computer program instructions implementation process figure and/or block diagram and/ Or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided To the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce one Individual machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, do not departing from this hair In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art can to the present invention carry out it is various change and modification without Depart from the spirit and scope of the present invention.So, if the present invention these modifications and variations belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of data transmission method, it is characterised in that methods described includes:
When detecting the transmission of data of intended application request, current network connection state is obtained;
When it is WLAN WLAN states to detect the current network connection state, detecting the intended application is The no application in default set of applications;
In the application in detecting that the intended application is the default set of applications, transmitted by mobile communications network described in Data.
2. according to the method for claim 1, it is characterised in that methods described also includes:
When it is WLAN WLAN states to detect the current network connection state, establish and the mobile communication The communication connection of network.
3. according to the method for claim 1, it is characterised in that described to detect that the intended application for described preset During with application in set, the data are transmitted by mobile communications network, including:
In the application in detecting that the intended application is the default set of applications, establish and the mobile communications network Communication connection, the data are transmitted by the mobile communications network.
4. according to the method for claim 1, it is characterised in that described to detect that the intended application for described preset Used time, the data are transmitted by mobile communications network, including:
When it is the default application to detect the intended application, the data type of the data is determined;
When it is preset data type to detect the data type, the data are transmitted by the mobile communications network;
When it is not the preset data type to detect the data type, institute is transmitted by the WLAN WLAN State data.
5. according to the method described in any one of Claims 1-4, it is characterised in that described to transmit institute by mobile communications network After stating data, methods described also includes:
When the data traffic for detecting that the intended application is transmitted by the mobile communications network is more than preset flow threshold value, Export the notice for being confirmed whether to delete the intended application in the default set of applications;
When detecting the confirmation operation for the notice, the intended application is deleted in the default set of applications.
A kind of 6. mobile terminal, it is characterised in that including:
Acquiring unit, for when detecting the transmission of data of intended application request, obtaining current network connection state;
First processing units, for when it is WLAN WLAN states to detect the current network connection state, Detect whether the intended application is to preset the application in set of applications;
Second processing unit, in the application in detecting that the intended application is the default set of applications, passing through shifting Data described in dynamic communication network transmission.
7. mobile terminal according to claim 6, it is characterised in that the first processing units are used for:
When detecting that the mobile terminal is in WLAN WLAN states, establish logical with the mobile communications network Letter connection.
8. mobile terminal according to claim 6, it is characterised in that the second processing unit is used for:
In the application in detecting that the intended application is the default set of applications, establish and the mobile communications network Communication connection, the data are transmitted by the mobile communications network.
9. mobile terminal according to claim 6, it is characterised in that the second processing unit includes:
Determining module, for when it is the default application to detect the intended application, determining the data type of the data;
Transport module, for when it is preset data type to detect the data type, being passed by the mobile communications network The defeated data;
The transport module, it is additionally operable to, when it is not the preset data type to detect the data type, pass through the nothing Line LAN WLAN transmits the data.
10. according to the mobile terminal described in any one of claim 6 to 9, it is characterised in that the mobile terminal also includes:
Notification unit, for detecting the intended application by the data traffic that the mobile communications network transmits more than pre- If during flow threshold, export the notice for being confirmed whether to delete the intended application in the default set of applications;
Unit is deleted, for when detecting the confirmation operation for the notice, institute to be deleted in the default set of applications State intended application.
CN201710518035.8A 2017-06-29 2017-06-29 Data transmission method and mobile terminal Pending CN107396365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710518035.8A CN107396365A (en) 2017-06-29 2017-06-29 Data transmission method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710518035.8A CN107396365A (en) 2017-06-29 2017-06-29 Data transmission method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107396365A true CN107396365A (en) 2017-11-24

Family

ID=60334622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710518035.8A Pending CN107396365A (en) 2017-06-29 2017-06-29 Data transmission method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107396365A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494893A (en) * 2018-03-23 2018-09-04 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of data transmission
CN108882325A (en) * 2018-05-30 2018-11-23 郑州易通众联电子科技有限公司 Method for switching network, network switching device and mobile terminal
CN109287001A (en) * 2018-10-15 2019-01-29 Oppo广东移动通信有限公司 Link connection method and relevant apparatus
CN109362111A (en) * 2018-12-24 2019-02-19 上海连尚网络科技有限公司 Information cuing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869565A (en) * 2015-05-28 2015-08-26 魅族科技(中国)有限公司 Communication information access method and terminal
CN104902479A (en) * 2015-05-20 2015-09-09 玉环看知信息科技有限公司 Network security management equipment and method and mobile terminal
CN104967758A (en) * 2015-05-27 2015-10-07 广东欧珀移动通信有限公司 Data transmission control method and user terminal
CN104967990A (en) * 2015-04-29 2015-10-07 深圳市金立通信设备有限公司 Terminal
CN105263120A (en) * 2015-11-27 2016-01-20 科大讯飞股份有限公司 Method and system for prompting user of available wireless local area network
CN105554819A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Data transmission method and device and mobile terminal
CN106658489A (en) * 2016-09-30 2017-05-10 广东欧珀移动通信有限公司 Terminal application processing method, device and mobile terminal
CN106714181A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Method and apparatus for accessing WiFi hotspot

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967990A (en) * 2015-04-29 2015-10-07 深圳市金立通信设备有限公司 Terminal
CN104902479A (en) * 2015-05-20 2015-09-09 玉环看知信息科技有限公司 Network security management equipment and method and mobile terminal
CN104967758A (en) * 2015-05-27 2015-10-07 广东欧珀移动通信有限公司 Data transmission control method and user terminal
CN104869565A (en) * 2015-05-28 2015-08-26 魅族科技(中国)有限公司 Communication information access method and terminal
CN105263120A (en) * 2015-11-27 2016-01-20 科大讯飞股份有限公司 Method and system for prompting user of available wireless local area network
CN105554819A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Data transmission method and device and mobile terminal
CN106658489A (en) * 2016-09-30 2017-05-10 广东欧珀移动通信有限公司 Terminal application processing method, device and mobile terminal
CN106714181A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Method and apparatus for accessing WiFi hotspot

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494893A (en) * 2018-03-23 2018-09-04 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of data transmission
CN108494893B (en) * 2018-03-23 2021-09-07 青岛海信移动通信技术股份有限公司 Data transmission method and equipment
CN108882325A (en) * 2018-05-30 2018-11-23 郑州易通众联电子科技有限公司 Method for switching network, network switching device and mobile terminal
CN109287001A (en) * 2018-10-15 2019-01-29 Oppo广东移动通信有限公司 Link connection method and relevant apparatus
CN109287001B (en) * 2018-10-15 2021-04-09 Oppo广东移动通信有限公司 Link connection method and related device
CN109362111A (en) * 2018-12-24 2019-02-19 上海连尚网络科技有限公司 Information cuing method

Similar Documents

Publication Publication Date Title
CN107396365A (en) Data transmission method and mobile terminal
CN104517336B (en) Yunmen access control system and its implementation based on mobile internet
CN107241771A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107820331A (en) Call method, device, computer equipment and readable storage medium storing program for executing
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN104967758B (en) A kind of method and user terminal for controlling data transfer
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN107193445A (en) Interface of mobile terminal switches display methods and display device
CN107343279A (en) Method for connecting network, device, terminal device and storage medium
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107222898A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN108710795A (en) Information cuing method, device, mobile terminal and storage medium
CN104808940A (en) Method and device for transmitting data between terminals
CN108307393A (en) Network flow resource sharing method, device, system and storage medium
CN106714181B (en) Method and device for connecting WiFi hotspot
CN108924908A (en) WiFi scan method, device and electronic device
CN107318140A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107277756A (en) A kind of data transmission method, device, terminal and computer-readable recording medium
CN104640112A (en) Authentication method, device and system
CN106529236A (en) Unlocking method, apparatus and system
CN106604363A (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN108200546A (en) data reporting method, device, mobile terminal and computer-readable medium
CN108093450B (en) Network switching method and terminal equipment
CN106658670A (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN106445582A (en) Application copy deletion method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124

RJ01 Rejection of invention patent application after publication