CN108833711A - A kind of network environment regulation method, equipment and computer readable storage medium - Google Patents

A kind of network environment regulation method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108833711A
CN108833711A CN201810672224.5A CN201810672224A CN108833711A CN 108833711 A CN108833711 A CN 108833711A CN 201810672224 A CN201810672224 A CN 201810672224A CN 108833711 A CN108833711 A CN 108833711A
Authority
CN
China
Prior art keywords
screen
application program
port
network
data port
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
CN201810672224.5A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810672224.5A priority Critical patent/CN108833711A/en
Publication of CN108833711A publication Critical patent/CN108833711A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • H04W36/365Reselection control by user or terminal equipment by manual user interaction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Abstract

The invention discloses a kind of network environment regulation methods, equipment and computer readable storage medium, wherein this method includes:By the first screen and the second screen that identify and mark mobile terminal;Then, it is determined that the network port of the mobile terminal, wherein the network port includes mobile data port and LAN data port;Subsequently, mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, LAN data port is configured by the network port for running on the second application program of second screen.A kind of network environment regulation and control scheme of hommization is realized, the switching mode of network environment can be enriched accurately and in time according to user in the adjustment network environment adaptive using starting state of multi-screen terminal, improve user to the regulation efficiency of network environment.

Description

A kind of network environment regulation method, equipment and computer readable storage medium
Technical field
The present invention relates to mobile communication field more particularly to a kind of network environment regulation methods, equipment and computer-readable Storage medium.
Background technique
In the prior art, with the fast development of intelligent terminal, demand of the user to the network information is higher and higher, is Support the acquisition modes by all kinds of means of the network information, and more economic acquisition modes, more and more intelligent terminals It supports the switching of local net network and mobile data network between the two, is realized by different network switching modes to data flow Amount is precisely controlled.
But in the prior art, it is realized by different network switching modes default to being precisely controlled for data traffic Scheme is located at the setting center of intelligent terminal, and handover scheme, which needs user to execute corresponding setting operation, to be completed, Mode real-time perfoming it can not switch depending on the user's operation, network switching mode is relatively complicated, and user experience is bad.
Summary of the invention
In order to solve in the prior art, user is needed to execute corresponding setting operation ability the handover scheme of data traffic It completes, mode real-time perfoming can not switch depending on the user's operation, network switching mode is relatively complicated, and user experience is bad Technological deficiency, the invention proposes a kind of network environments to regulate and control method, and this method includes:
Identify and mark the first screen and the second screen of mobile terminal;
Determine the network port of the mobile terminal, wherein the network port includes mobile data port and local area network Data port;
Mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will The network port for running on the second application program of second screen is configured to LAN data port;
If first application program is switched in second screen by first screen and run, described first is applied The network port of program switches to LAN data port, if second application program switches to described by second screen Operation, then switch to the mobile data port for the network port of second application program in one screen.
Optionally, the identification and the first screen of mobile terminal is marked and the second screen includes:
Detect and identify the group of screens quantity of the mobile terminal;
It determines at least two groups screen, and is respectively labeled as first screen and second screen.
Optionally, the network port of the determination mobile terminal, wherein the network port includes mobile data end Mouth and LAN data port include:
Traverse the application program in the mobile terminal;
Determine the programs categories of the application program, wherein described program classification include at least first kind application program and Second class application program;
The mobile data port is configured by the default network port of the first kind application program, meanwhile, it will be described The default network port of second class application program is configured to the LAN data port.
Optionally, the network port that will run on the first application program of first screen is configured to mobile data end Mouthful, meanwhile, configuring LAN data port for the network port for running on the second application program of second screen includes:
If first application program belongs to the first kind application program, the first of first screen will be run on and answered Mobile data port is configured to the network port of program;
If second application program belongs to the second class application program, the second of second screen will be run on and answered LAN data port is configured to the network port of program.
Optionally, it is run if first application program is switched in second screen by first screen, it will The network port of first application program switches to LAN data port, if second application program is by second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port and wrapped It includes:
Sense the overturning parameter of the mobile terminal;
Corresponding rollover event is determined according to the overturning parameter.
Optionally, it is run if first application program is switched in second screen by first screen, it will The network port of first application program switches to LAN data port, if second application program is by second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port also Including:
If the rollover event is overturn first screen to second screen;
Then the first application program of first screen is switched in second screen and is run, then applies journey for described first The network port of sequence switches to the LAN data port.
Optionally, it is run if first application program is switched in second screen by first screen, it will The network port of first application program switches to LAN data port, if second application program is by second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port also Including:
If the rollover event is overturn second screen to first screen;
Then the second application program of second screen is switched in first screen and is run, then applies journey for described second The network port of sequence switches to the mobile data port.
Optionally, this method further includes:
If third application program runs on first screen, institute is configured by the network port of the third application program State mobile data port;
If the third application program runs on second screen, the network port of the third application program is configured For the LAN data port.
Optionally, the invention also provides a kind of network environment adjusting device, which includes memory, processor and deposits The computer program that can be run on the memory and on the processor is stored up, the computer program is by the processor It is realized when execution:
Identify and mark the first screen and the second screen of mobile terminal;
Determine the network port of the mobile terminal, wherein the network port includes mobile data port and local area network Data port;
Mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will The network port for running on the second application program of second screen is configured to LAN data port;
If first application program is switched in second screen by first screen and run, described first is applied The network port of program switches to LAN data port, if second application program switches to described by second screen Operation, then switch to the mobile data port for the network port of second application program in one screen.
The invention also provides a kind of computer readable storage medium, network is stored on the computer readable storage medium Environment conditioning program, network environment regulatory process realize network environment regulation as described in any one of the above embodiments when being executed by processor The step of method.
Implement network environment regulation method, equipment and computer readable storage medium of the invention, by identifying and marking The first screen and the second screen of mobile terminal;Then, it is determined that the network port of the mobile terminal, wherein the network port packet Include mobile data port and LAN data port;Subsequently, the network of the first application program of first screen will be run on Port is configured to mobile data port, meanwhile, it configures the network port for running on the second application program of second screen to LAN data port;Finally, run if first application program is switched in second screen by first screen, it will The network port of first application program switches to LAN data port, if second application program is by second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port. A kind of network environment regulation and control scheme of hommization is realized, can be opened accurately and in time according to user in the application of multi-screen terminal The adjustment network environment of dynamic state self-adaption, enriches the switching mode of network environment, improves user to the tune of network environment Control efficiency.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of hardware structural diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow chart of inventive network environment conditioning method first embodiment;
Fig. 4 is the flow chart of inventive network environment conditioning method second embodiment;
Fig. 5 is the flow chart of inventive network environment conditioning method 3rd embodiment;
Fig. 6 is the flow chart of inventive network environment conditioning method fourth embodiment;
Fig. 7 is the flow chart of the 5th embodiment of inventive network environment conditioning method
Fig. 8 is the flow chart of inventive network environment conditioning method sixth embodiment;
Fig. 9 is the flow chart of the 7th embodiment of inventive network environment conditioning method;
Figure 10 is the flow chart of the 8th embodiment of inventive network environment conditioning method.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
Fig. 3 is the flow chart of inventive network environment conditioning method first embodiment.A kind of network environment regulation method, should Method includes:
S1, identification and the first screen and the second screen that mark mobile terminal;
S2, the network port for determining the mobile terminal, wherein the network port includes mobile data port and local Network data port;
S3, mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, LAN data port is configured by the network port for running on the second application program of second screen;
If S4, first application program are switched in second screen by first screen and are run, by described first The network port of application program switches to LAN data port, if second application program switches to institute by second screen Operation in the first screen is stated, then the network port of second application program is switched into the mobile data port.
In the present embodiment, firstly, identifying and marking the first screen and the second screen of mobile terminal;Then, it is determined that the shifting The network port of dynamic terminal, wherein the network port includes mobile data port and LAN data port;Subsequently, will The network port for running on the first application program of first screen is configured to mobile data port, meanwhile, it will run on described The network port of second application program of the second screen is configured to LAN data port;Finally, if first application program by First screen switches to operation in second screen, then the network port of first application program is switched to local netting index According to port, is run if second application program is switched in first screen by second screen, described second is applied The network port of program switches to the mobile data port.
Specifically, in the present embodiment, firstly, identifying and marking the first screen and the second screen of mobile terminal, the present embodiment Suitable for the mobile terminal with multi-screen, which can have the display screen of two pieces or muti-piece, optionally, detection And identify the quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, respectively as First screen and the second screen;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes front Two pieces of screens, respectively as the first screen and the second screen;Optionally, detect and identify the quantity of mobile terminal screen mould group, example Such as, mobile terminal includes each one piece of screen of front, side, respectively as the first screen and the second screen;Optionally, it detects and identifies The quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of front, top surface, respectively as the first screen With the second screen.
Specifically, in the present embodiment, after the first screen and the second screen that identify and mark mobile terminal, determining the shifting The network port of dynamic terminal, wherein the network port includes mobile data port and LAN data port.Optionally, it examines The quantity of mobile terminal screen mould group is surveyed and identifies, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, in front Screen is associated with to mobile data port, meanwhile, receive application program image target triggering command;Optionally, it detects and identifies movement The quantity of terminal screen mould group, for example, mobile terminal includes positive two pieces of screens, one piece of front screen is associated with to shifting wherein Dynamic data port, is associated in another piece of front screen to mobile data port;Optionally, it detects and identifies mobile terminal screen mould The quantity of group is associated in front screen to mobile data port for example, mobile terminal includes each one piece of screen of front, side, Meanwhile it being associated in side screen to LAN data port;Optionally, detect and identify the quantity of mobile terminal screen mould group, For example, mobile terminal includes each one piece of screen of front, top surface, it is associated in front screen to mobile data port, meanwhile, it is pushing up Face curtain is associated with to LAN data port.
Specifically, in the present embodiment, after the network port for determining the mobile terminal, first screen will be run on The network port of the first application program be configured to mobile data port, meanwhile, the second application of second screen will be run on The network port of program is configured to LAN data port.Likewise, optionally, detecting and identifying mobile whole as above described in example The quantity of screen mould group is held, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, is shown in front screen using journey Sequence icon, meanwhile, application program image target triggering command is received, then, in the corresponding application of reverse side screen operation triggering command Program;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, answering running on the first of the front panel It is configured to mobile data port with the network port of program, meanwhile, the net of the second application program of the reverse side screen will be run on Network port is configured to LAN data port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile Terminal includes each one piece of screen of front, side, will run on the network port configuration of the first application program of the front panel For mobile data port, meanwhile, local netting index is configured by the network port for running on the second application program of the side screen According to port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes positive, top surface each The network port for running on the first application program of the front panel is configured mobile data port by one piece of screen, meanwhile, it will The network port for running on the second application program of the top surface screen is configured to LAN data port.
Specifically, in the present embodiment, if first application program is switched in second screen by first screen Operation, then the network port of first application program is switched into LAN data port, if second application program by Second screen switches to operation in first screen, then the network port of second application program is switched to the movement Data port.Likewise, mobile terminal includes each one piece of screen of obverse and reverse sides as above described in example, if described first applies journey Sequence is switched in the reverse side screen by the front panel and is run, then the network port of first application program is switched to local Network data port is run if second application program is switched in the front panel by the reverse side screen, by described second The network port of application program switches to the mobile data port;Optionally, mobile terminal includes each one piece positive, side Screen is run if first application program is switched in the side screen by the front panel, applies journey for described first The network port of sequence switches to LAN data port, if second application program switches to the front by the side screen Operation, then switch to the mobile data port for the network port of second application program in screen.
The beneficial effect of the present embodiment is, by the first screen and the second screen that identify and mark mobile terminal;Then, really The network port of the fixed mobile terminal, wherein the network port includes mobile data port and LAN data port;Again Then, mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will run LAN data port is configured in the network port of the second application program of second screen;Finally, if first application Program is switched in second screen by first screen and is run, then the network port of first application program is switched to office Area network data port is run if second application program is switched in first screen by second screen, by described The network port of two application programs switches to the mobile data port.Realize a kind of network environment regulation side of hommization Case can enrich accurately and in time according to user in the adjustment network environment adaptive using starting state of multi-screen terminal The switching mode of network environment improves user to the regulation efficiency of network environment.
Embodiment two
Fig. 4 is the flow chart of inventive network environment conditioning method second embodiment, based on the above embodiment, the identification And mark the first screen of mobile terminal and the second screen includes:
S11, detection and the group of screens quantity for identifying the mobile terminal;
S12, it determines at least two groups screen, and is respectively labeled as first screen and second screen.
In the present embodiment, firstly, detecting and identifying the group of screens quantity of the mobile terminal;Then, it is determined that at least two Stack screen, and it is respectively labeled as first screen and second screen.
Specifically, in the present embodiment, firstly, identifying and marking the first screen and the second screen of mobile terminal, the present embodiment Suitable for the mobile terminal with multi-screen, which can have the display screen of two pieces or muti-piece, optionally, detection And identify the quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, respectively as First screen and the second screen;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes front Two pieces of screens, respectively as the first screen and the second screen;Optionally, detect and identify the quantity of mobile terminal screen mould group, example Such as, mobile terminal includes each one piece of screen of front, side, respectively as the first screen and the second screen;Optionally, it detects and identifies The quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of front, top surface, respectively as the first screen With the second screen.
Optionally, at least one screen of the mobile terminal is labeled as first screen, meanwhile, by the movement At least one screen of terminal is labeled as second screen.Optionally, detect and identify the quantity of mobile terminal screen mould group, For example, mobile terminal includes each one piece of screen of obverse and reverse sides, using front screen as the first screen, using reverse side screen as Second screen;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes positive two pieces Screen, using front screen as the first screen, using reverse side screen as the second screen;Optionally, it detects and identifies mobile terminal The quantity of screen mould group, for example, mobile terminal includes each one piece of screen of front, side, using front screen as the first screen, Using side screen as the second screen;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal Each one piece of screen including front, top surface, using front screen as the first screen, using top surface screen as the second screen.
The beneficial effect of the present embodiment is, by the group of screens quantity for detecting and identifying the mobile terminal;Then, really Determine at least two groups screen, and is respectively labeled as first screen and second screen.Realize a kind of humanized network Environment conditioning scheme, can accurately and in time according to user multi-screen terminal the adjustment network adaptive using starting state Environment enriches the switching mode of network environment, improves user to the regulation efficiency of network environment.
Embodiment three
Fig. 5 is the flow chart of inventive network environment conditioning method 3rd embodiment, based on the above embodiment, the determination The network port of the mobile terminal, wherein the network port includes mobile data port and LAN data port includes:
Application program in S21, the traversal mobile terminal;
S22, the programs categories for determining the application program, wherein described program classification includes at least first kind application journey Sequence and the second class application program;
S23, the mobile data port is configured by the default network port of the first kind application program, meanwhile, it will The default network port of the second class application program is configured to the LAN data port.
In the present embodiment, firstly, traversing the application program in the mobile terminal;Then, it is determined that the application program Programs categories, wherein described program classification include at least first kind application program and the second class application program;Finally, by institute The default network port for stating first kind application program is configured to the mobile data port, meanwhile, by the second class application journey The default network port of sequence is configured to the LAN data port.
Optionally, the application program in the mobile terminal is traversed, alternatively, traversal is used for the application journey of regulated and control network port Sequence, and other remaining application programs obtain network data by the fixed network port;
Optionally, classified according to application category, for example, game class application program, office class application program;
Optionally, the demand size of application program network data, the need of the network data according to needed for application program are analyzed Size is asked to determine corresponding classification, for example, high flow capacity network data class application program, low discharge network data class application program.
The beneficial effect of the present embodiment is, by traversing the application program in the mobile terminal;Then, it is determined that described The programs categories of application program, wherein described program classification includes at least first kind application program and the second class application program;Most Afterwards, the mobile data port is configured by the default network port of the first kind application program, meanwhile, by second class The default network port of application program is configured to the LAN data port.Realize a kind of humanized network environment Regulation and control scheme, can accurately and in time according to user multi-screen terminal the adjustment network environment adaptive using starting state, The switching mode for enriching network environment improves user to the regulation efficiency of network environment.
Example IV
Fig. 6 is the flow chart of inventive network environment conditioning method fourth embodiment, based on the above embodiment, described to transport Row is configured to mobile data port in the network port of the first application program of first screen, meanwhile, described the will be run on The network port of second application program of two screens is configured to LAN data port and includes:
If S31, first application program belong to the first kind application program, the of first screen will be run on The network port of one application program is configured to mobile data port;
If S32, second application program belong to the second class application program, the of second screen will be run on The network port of two application programs is configured to LAN data port.
In the present embodiment, firstly, will be run on if first application program belongs to the first kind application program The network port of first application program of first screen is configured to mobile data port;Then, if second application program Belong to the second class application program, then configures local for the network port for running on the second application program of second screen Network data port.
Specifically, in the present embodiment, after the network port for determining the mobile terminal, first screen will be run on The network port of the first application program be configured to mobile data port, meanwhile, the second application of second screen will be run on The network port of program is configured to LAN data port.Likewise, optionally, detecting and identifying mobile whole as above described in example The quantity of screen mould group is held, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, is shown in front screen using journey Sequence icon, meanwhile, application program image target triggering command is received, then, in the corresponding application of reverse side screen operation triggering command Program;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, answering running on the first of the front panel It is configured to mobile data port with the network port of program, meanwhile, the net of the second application program of the reverse side screen will be run on Network port is configured to LAN data port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile Terminal includes each one piece of screen of front, side, will run on the network port configuration of the first application program of the front panel For mobile data port, meanwhile, local netting index is configured by the network port for running on the second application program of the side screen According to port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes positive, top surface each The network port for running on the first application program of the front panel is configured mobile data port by one piece of screen, meanwhile, it will The network port for running on the second application program of the top surface screen is configured to LAN data port.
Optionally, classified according to application category, for example, game class application program, office class application program, if It recognizes the first application program and belongs to game class application program, then configure LAN data port for its network port, if knowing It is clipped to the second application program and belongs to office class application program, then configure mobile data port for its network port;
Optionally, the demand size of application program network data, the need of the network data according to needed for application program are analyzed Size is asked to determine corresponding classification, for example, high flow capacity network data class application program, low discharge network data class application program, If recognizing the first application program belongs to high flow capacity network data class application program, local netting index is configured by its network port According to port, if recognizing the second application program belongs to low discharge network data class application program, configure its network port to Mobile data port.
The beneficial effect of the present embodiment is, obtains first application program by judgement and belongs to the first kind application Program then configures mobile data port for the network port for running on the first application program of first screen;Then, if institute It states the second application program and belongs to the second class application program, then will run on the network of the second application program of second screen Port is configured to LAN data port.A kind of humanized network environment regulation and control scheme is realized, it can in time, accurately Ground, in the adjustment network environment adaptive using starting state of multi-screen terminal, enriches the switching side of network environment according to user Formula improves user to the regulation efficiency of network environment.
Embodiment five
Fig. 7 is the flow chart of the 5th embodiment of inventive network environment conditioning method, based on the above embodiment, if the institute It states the first application program and is switched in second screen by first screen and run, then by the network-side of first application program Mouth switches to LAN data port, runs if second application program is switched in first screen by second screen, The network port of second application program, which is then switched to the mobile data port, includes:
The overturning parameter of S41, the sensing mobile terminal;
S42, corresponding rollover event is determined according to the overturning parameter.
In the present embodiment, firstly, sensing the overturning parameter of the mobile terminal;Then, true according to the overturning parameter Fixed corresponding rollover event.
Specifically, in the present embodiment, if first application program is switched in second screen by first screen Operation, then the network port of first application program is switched into LAN data port, if second application program by Second screen switches to operation in first screen, then the network port of second application program is switched to the movement Data port.Likewise, mobile terminal includes each one piece of screen of obverse and reverse sides as above described in example, if described first applies journey Sequence is switched in the reverse side screen by the front panel and is run, then the network port of first application program is switched to local Network data port is run if second application program is switched in the front panel by the reverse side screen, by described second The network port of application program switches to the mobile data port;Optionally, mobile terminal includes each one piece positive, side Screen is run if first application program is switched in the side screen by the front panel, applies journey for described first The network port of sequence switches to LAN data port, if second application program switches to the front by the side screen Operation, then switch to the mobile data port for the network port of second application program in screen.
Optionally, the overturning parameter of the mobile terminal is sensed, it is to be understood that the scene has suitable for mobile terminal There is the hardware environment of positive and negative each face screen.
Optionally, determine that the mobile terminal is flipped event according to the overturning parameter, above-mentioned rollover event can be with Rollover event when being longitudinal hold or be rollover event when laterally holding;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events;
The beneficial effect of the present embodiment is, by the overturning parameter for sensing the mobile terminal;Then, it is turned over according to described Turn parameter and determines corresponding rollover event.A kind of humanized network environment regulation and control scheme is realized, it can in time, accurately Ground, in the adjustment network environment adaptive using starting state of multi-screen terminal, enriches the switching side of network environment according to user Formula improves user to the regulation efficiency of network environment.
Embodiment six
Fig. 8 is the flow chart of inventive network environment conditioning method sixth embodiment, based on the above embodiment, if the institute It states the first application program and is switched in second screen by first screen and run, then by the network-side of first application program Mouth switches to LAN data port, runs if second application program is switched in first screen by second screen, The network port of second application program, which is then switched to the mobile data port, further includes:
If S43, the rollover event are overturn first screen to second screen;
S44, it then the first application program of first screen is switched in second screen runs, then answered described first The LAN data port is switched to the network port of program.
In the present embodiment, firstly, if the rollover event is overturn first screen to second screen;Then, Then the first application program of first screen is switched in second screen and is run, then by the network of first application program Port switching is to the LAN data port.
Optionally, the overturning parameter of the mobile terminal is sensed, it is to be understood that the scene has suitable for mobile terminal There is the hardware environment of positive and negative each face screen.
Optionally, determine that the mobile terminal is flipped event according to the overturning parameter, above-mentioned rollover event can be with Rollover event when being longitudinal hold or be rollover event when laterally holding;
Optionally, after rollover event, the first application program of first screen is switched in second screen Operation, then switch to the LAN data port for the network port of first application program;
Optionally, after the rollover event when longitudinally holding, the first application program of first screen is switched to Operation, then switch to the LAN data port for the network port of first application program in second screen;
Optionally, after the rollover event when laterally holding, the first application program of first screen is switched to Operation, then switch to the LAN data port for the network port of first application program in second screen;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events the first application program of first screen is switched after reversal events Operation, then switch to the LAN data port for the network port of first application program in second screen;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events the first application program of first screen is switched after reversal events Operation, then switch to the LAN data port for the network port of first application program in second screen;
The beneficial effect of the present embodiment is, if by judgement obtain the rollover event be first screen is overturn to Second screen;Then, then the first application program of first screen is switched in second screen and is run, then by described The network port of one application program switches to the LAN data port.Realize a kind of humanized network environment tune Prosecutor case, can accurately and in time according to user multi-screen terminal the adjustment network environment adaptive using starting state, it is rich The rich switching mode of network environment, improves user to the regulation efficiency of network environment.
Embodiment seven
Fig. 9 is the flow chart of the 7th embodiment of inventive network environment conditioning method, based on the above embodiment, if the institute It states the first application program and is switched in second screen by first screen and run, then by the network-side of first application program Mouth switches to LAN data port, runs if second application program is switched in first screen by second screen, The network port of second application program, which is then switched to the mobile data port, further includes:
If S45, the rollover event are overturn second screen to first screen;
S46, it then the second application program of second screen is switched in first screen runs, then answered described second The mobile data port is switched to the network port of program.
In the present embodiment, firstly, if the rollover event is overturn second screen to first screen;Then, Then the second application program of second screen is switched in first screen and is run, then by the network of second application program Port switching is to the mobile data port.
Likewise, as above described in example, optionally, after rollover event, by the second application program of second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port;
Optionally, after the rollover event when longitudinally holding, the second application program of second screen is switched to Operation, then switch to the mobile data port for the network port of second application program in first screen;
Optionally, after the rollover event when laterally holding, the second application program of second screen is switched to Operation, then switch to the mobile data port for the network port of second application program in first screen;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events the second application program of second screen is switched after reversal events Operation, then switch to the mobile data port for the network port of second application program in first screen;
Optionally, when mobile terminal has the hardware environment in front and upper and lower two pieces of screens, its reversal events is monitored, That is, just facing towards user when reversal events the second application program of second screen is switched after reversal events Operation, then switch to the mobile data port for the network port of second application program in first screen;
The beneficial effect of the present embodiment is, if by judgement obtain the rollover event be second screen is overturn to First screen;Then, then the second application program of second screen is switched in first screen and is run, then by described The network port of two application programs switches to the mobile data port.Realize a kind of humanized network environment regulation Scheme can be enriched accurately and in time according to user in the adjustment network environment adaptive using starting state of multi-screen terminal The switching mode of network environment, improves user to the regulation efficiency of network environment.
Embodiment eight
Figure 10 is the flow chart of the 8th embodiment of inventive network environment conditioning method, based on the above embodiment, this method Further include:
If S51, third application program run on first screen, the network port of the third application program is configured For the mobile data port;
If S52, the third application program run on second screen, by the network port of the third application program It is configured to the LAN data port.
In the present embodiment, firstly, if third application program runs on first screen, by the third application program The network port be configured to the mobile data port;It then, will if the third application program runs on second screen The network port of the third application program is configured to the LAN data port.
Likewise, the scheme of the present embodiment is equally applicable to above-mentioned overturning scheme, it is not discussed in detail here.
The beneficial effect of the present embodiment is, if obtaining third application program by judgement runs on first screen, The mobile data port is configured by the network port of the third application program;Then, if the third application program is transported Row then configures the LAN data port for the network port of the third application program in second screen.It realizes A kind of humanized network environment regulation and control scheme can start according to user in the application of multi-screen terminal accurately and in time The adjustment network environment of state self-adaption, enriches the switching mode of network environment, improves regulation of the user to network environment Efficiency.
Embodiment nine
Based on the above embodiment, the invention also provides a kind of network environment adjusting device, which includes memory, place It manages device and is stored in the computer program that can be run on the memory and on the processor, the computer program is by institute State realization when processor executes:
Identify and mark the first screen and the second screen of mobile terminal;
Determine the network port of the mobile terminal, wherein the network port includes mobile data port and local area network Data port;
Mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will The network port for running on the second application program of second screen is configured to LAN data port;
If first application program is switched in second screen by first screen and run, described first is applied The network port of program switches to LAN data port, if second application program switches to described by second screen Operation, then switch to the mobile data port for the network port of second application program in one screen.
In the present embodiment, firstly, identifying and marking the first screen and the second screen of mobile terminal;Then, it is determined that the shifting The network port of dynamic terminal, wherein the network port includes mobile data port and LAN data port;Subsequently, will The network port for running on the first application program of first screen is configured to mobile data port, meanwhile, it will run on described The network port of second application program of the second screen is configured to LAN data port;Finally, if first application program by First screen switches to operation in second screen, then the network port of first application program is switched to local netting index According to port, is run if second application program is switched in first screen by second screen, described second is applied The network port of program switches to the mobile data port.
Specifically, in the present embodiment, firstly, identifying and marking the first screen and the second screen of mobile terminal, the present embodiment Suitable for the mobile terminal with multi-screen, which can have the display screen of two pieces or muti-piece, optionally, detection And identify the quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, respectively as First screen and the second screen;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes front Two pieces of screens, respectively as the first screen and the second screen;Optionally, detect and identify the quantity of mobile terminal screen mould group, example Such as, mobile terminal includes each one piece of screen of front, side, respectively as the first screen and the second screen;Optionally, it detects and identifies The quantity of mobile terminal screen mould group, for example, mobile terminal includes each one piece of screen of front, top surface, respectively as the first screen With the second screen.
Specifically, in the present embodiment, after the first screen and the second screen that identify and mark mobile terminal, determining the shifting The network port of dynamic terminal, wherein the network port includes mobile data port and LAN data port.Optionally, it examines The quantity of mobile terminal screen mould group is surveyed and identifies, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, in front Screen is associated with to mobile data port, meanwhile, receive application program image target triggering command;Optionally, it detects and identifies movement The quantity of terminal screen mould group, for example, mobile terminal includes positive two pieces of screens, one piece of front screen is associated with to shifting wherein Dynamic data port, is associated in another piece of front screen to mobile data port;Optionally, it detects and identifies mobile terminal screen mould The quantity of group is associated in front screen to mobile data port for example, mobile terminal includes each one piece of screen of front, side, Meanwhile it being associated in side screen to LAN data port;Optionally, detect and identify the quantity of mobile terminal screen mould group, For example, mobile terminal includes each one piece of screen of front, top surface, it is associated in front screen to mobile data port, meanwhile, it is pushing up Face curtain is associated with to LAN data port.
Specifically, in the present embodiment, after the network port for determining the mobile terminal, first screen will be run on The network port of the first application program be configured to mobile data port, meanwhile, the second application of second screen will be run on The network port of program is configured to LAN data port.Likewise, optionally, detecting and identifying mobile whole as above described in example The quantity of screen mould group is held, for example, mobile terminal includes each one piece of screen of obverse and reverse sides, is shown in front screen using journey Sequence icon, meanwhile, application program image target triggering command is received, then, in the corresponding application of reverse side screen operation triggering command Program;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, answering running on the first of the front panel It is configured to mobile data port with the network port of program, meanwhile, the net of the second application program of the reverse side screen will be run on Network port is configured to LAN data port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile Terminal includes each one piece of screen of front, side, will run on the network port configuration of the first application program of the front panel For mobile data port, meanwhile, local netting index is configured by the network port for running on the second application program of the side screen According to port;Optionally, the quantity of mobile terminal screen mould group is detected and identifies, for example, mobile terminal includes positive, top surface each The network port for running on the first application program of the front panel is configured mobile data port by one piece of screen, meanwhile, it will The network port for running on the second application program of the top surface screen is configured to LAN data port.
Specifically, in the present embodiment, if first application program is switched in second screen by first screen Operation, then the network port of first application program is switched into LAN data port, if second application program by Second screen switches to operation in first screen, then the network port of second application program is switched to the movement Data port.Likewise, mobile terminal includes each one piece of screen of obverse and reverse sides as above described in example, if described first applies journey Sequence is switched in the reverse side screen by the front panel and is run, then the network port of first application program is switched to local Network data port is run if second application program is switched in the front panel by the reverse side screen, by described second The network port of application program switches to the mobile data port;Optionally, mobile terminal includes each one piece positive, side Screen is run if first application program is switched in the side screen by the front panel, applies journey for described first The network port of sequence switches to LAN data port, if second application program switches to the front by the side screen Operation, then switch to the mobile data port for the network port of second application program in screen.
The beneficial effect of the present embodiment is, by the first screen and the second screen that identify and mark mobile terminal;Then, really The network port of the fixed mobile terminal, wherein the network port includes mobile data port and LAN data port;Again Then, mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will run LAN data port is configured in the network port of the second application program of second screen;Finally, if first application Program is switched in second screen by first screen and is run, then the network port of first application program is switched to office Area network data port is run if second application program is switched in first screen by second screen, by described The network port of two application programs switches to the mobile data port.Realize a kind of network environment regulation side of hommization Case can enrich accurately and in time according to user in the adjustment network environment adaptive using starting state of multi-screen terminal The switching mode of network environment improves user to the regulation efficiency of network environment.
Embodiment ten
Based on the above embodiment, the invention also provides a kind of computer readable storage medium, the computer-readable storages It is stored with network environment regulatory process on medium, realizes when network environment regulatory process is executed by processor such as any of the above-described institute The step of network environment regulation method stated.
Implement network environment regulation method, equipment and computer readable storage medium of the invention, by identifying and marking The first screen and the second screen of mobile terminal;Then, it is determined that the network port of the mobile terminal, wherein the network port packet Include mobile data port and LAN data port;Subsequently, the network of the first application program of first screen will be run on Port is configured to mobile data port, meanwhile, it configures the network port for running on the second application program of second screen to LAN data port;Finally, run if first application program is switched in second screen by first screen, it will The network port of first application program switches to LAN data port, if second application program is by second screen Operation in first screen is switched to, then the network port of second application program is switched into the mobile data port. A kind of network environment regulation and control scheme of hommization is realized, can be opened accurately and in time according to user in the application of multi-screen terminal The adjustment network environment of dynamic state self-adaption, enriches the switching mode of network environment, improves user to the tune of network environment Control efficiency.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of network environment regulates and controls method, which is characterized in that the method includes:
Identify and mark the first screen and the second screen of mobile terminal;
Determine the network port of the mobile terminal, wherein the network port includes mobile data port and LAN data Port;
Mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will run LAN data port is configured in the network port of the second application program of second screen;
If first application program is switched in second screen by first screen and run, by first application program The network port switch to LAN data port, if second application program switches to first screen by second screen The network port of second application program is then switched to the mobile data port by interior operation.
2. network environment according to claim 1 regulates and controls method, which is characterized in that the identification simultaneously marks mobile terminal First screen and the second screen include:
Detect and identify the group of screens quantity of the mobile terminal;
It determines at least two groups screen, and is respectively labeled as first screen and second screen.
3. network environment according to claim 2 regulates and controls method, which is characterized in that the net of the determination mobile terminal Network port, wherein the network port includes mobile data port and LAN data port includes:
Traverse the application program in the mobile terminal;
Determine the programs categories of the application program, wherein described program classification includes at least first kind application program and second Class application program;
The mobile data port is configured by the default network port of the first kind application program, meanwhile, by described second The default network port of class application program is configured to the LAN data port.
4. network environment according to claim 3 regulates and controls method, which is characterized in that described to run on first screen The network port of first application program is configured to mobile data port, meanwhile, the second of second screen will be run on and apply journey The network port of sequence is configured to LAN data port:
If first application program belongs to the first kind application program, the first of first screen will be run on and apply journey The network port of sequence is configured to mobile data port;
If second application program belongs to the second class application program, the second of second screen will be run on and apply journey The network port of sequence is configured to LAN data port.
5. network environment according to claim 4 regulates and controls method, which is characterized in that if first application program by First screen switches to operation in second screen, then the network port of first application program is switched to local netting index According to port, is run if second application program is switched in first screen by second screen, described second is applied The network port of program switches to the mobile data port:
Sense the overturning parameter of the mobile terminal;
Corresponding rollover event is determined according to the overturning parameter.
6. network environment according to claim 5 regulates and controls method, which is characterized in that if first application program by First screen switches to operation in second screen, then the network port of first application program is switched to local netting index According to port, is run if second application program is switched in first screen by second screen, described second is applied The network port of program switches to the mobile data port:
If the rollover event is overturn first screen to second screen;
Then the first application program of first screen is switched in second screen and is run, then by first application program The network port switches to the LAN data port.
7. network environment according to claim 6 regulates and controls method, which is characterized in that if first application program by First screen switches to operation in second screen, then the network port of first application program is switched to local netting index According to port, is run if second application program is switched in first screen by second screen, described second is applied The network port of program switches to the mobile data port:
If the rollover event is overturn second screen to first screen;
Then the second application program of second screen is switched in first screen and is run, then by second application program The network port switches to the mobile data port.
8. network environment according to claim 7 regulates and controls method, which is characterized in that further include:
If third application program runs on first screen, the shifting is configured by the network port of the third application program Dynamic data port;
If the third application program runs on second screen, institute is configured by the network port of the third application program State LAN data port.
9. a kind of network environment adjusting device, which is characterized in that the equipment includes memory, processor and is stored in described deposit It is real when the computer program is executed by the processor on reservoir and the computer program that can run on the processor It is existing:
Identify and mark the first screen and the second screen of mobile terminal;
Determine the network port of the mobile terminal, wherein the network port includes mobile data port and LAN data Port;
Mobile data port is configured by the network port for running on the first application program of first screen, meanwhile, it will run LAN data port is configured in the network port of the second application program of second screen;
If first application program is switched in second screen by first screen and run, by first application program The network port switch to LAN data port, if second application program switches to first screen by second screen The network port of second application program is then switched to the mobile data port by interior operation.
10. a kind of computer readable storage medium, which is characterized in that be stored with network rings on the computer readable storage medium Border regulatory process is realized when the network environment regulatory process is executed by processor as described in any item of the claim 1 to 8 Network environment regulates and controls the step of method.
CN201810672224.5A 2018-06-26 2018-06-26 A kind of network environment regulation method, equipment and computer readable storage medium Pending CN108833711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810672224.5A CN108833711A (en) 2018-06-26 2018-06-26 A kind of network environment regulation method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810672224.5A CN108833711A (en) 2018-06-26 2018-06-26 A kind of network environment regulation method, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108833711A true CN108833711A (en) 2018-11-16

Family

ID=64137715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810672224.5A Pending CN108833711A (en) 2018-06-26 2018-06-26 A kind of network environment regulation method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108833711A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831577A (en) * 2019-01-08 2019-05-31 努比亚技术有限公司 Method for connecting network, terminal and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066544A1 (en) * 2010-11-16 2012-05-24 Modu Ltd. Cooperative tablet computer and mobile communicator
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access
CN105517129A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type switching method in communication terminal and communication terminal
CN105517082A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type processing method and device in communication terminal, and terminal
CN106793022A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of method and device of terminal control
WO2017119690A1 (en) * 2016-01-05 2017-07-13 삼성전자 주식회사 Electronic device and method for operating same
CN106973145A (en) * 2017-02-28 2017-07-21 宇龙计算机通信科技(深圳)有限公司 The screen switching and double screen terminal of double screen terminal
CN107003820A (en) * 2015-02-02 2017-08-01 三星电子株式会社 Device based on multi-display
CN107222889A (en) * 2016-03-21 2017-09-29 三星电子株式会社 Method and apparatus for providing intelligent network connection management
CN107846678A (en) * 2016-09-19 2018-03-27 中兴通讯股份有限公司 The use control method and device of data traffic
CN107943400A (en) * 2017-11-30 2018-04-20 努比亚技术有限公司 Double-sided screen switching method, mobile terminal and readable storage medium storing program for executing

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066544A1 (en) * 2010-11-16 2012-05-24 Modu Ltd. Cooperative tablet computer and mobile communicator
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access
CN107003820A (en) * 2015-02-02 2017-08-01 三星电子株式会社 Device based on multi-display
CN105517129A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type switching method in communication terminal and communication terminal
CN105517082A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network type processing method and device in communication terminal, and terminal
WO2017119690A1 (en) * 2016-01-05 2017-07-13 삼성전자 주식회사 Electronic device and method for operating same
CN107222889A (en) * 2016-03-21 2017-09-29 三星电子株式会社 Method and apparatus for providing intelligent network connection management
CN107846678A (en) * 2016-09-19 2018-03-27 中兴通讯股份有限公司 The use control method and device of data traffic
CN106793022A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of method and device of terminal control
CN106973145A (en) * 2017-02-28 2017-07-21 宇龙计算机通信科技(深圳)有限公司 The screen switching and double screen terminal of double screen terminal
CN107943400A (en) * 2017-11-30 2018-04-20 努比亚技术有限公司 Double-sided screen switching method, mobile terminal and readable storage medium storing program for executing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831577A (en) * 2019-01-08 2019-05-31 努比亚技术有限公司 Method for connecting network, terminal and computer readable storage medium
CN109831577B (en) * 2019-01-08 2021-12-17 努比亚技术有限公司 Network connection method, terminal, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107329682A (en) Edge exchange method and mobile terminal
CN107273035A (en) Application program recommends method and mobile terminal
CN107229390A (en) A kind of desktop icons aligning method, mobile terminal and computer-readable recording medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN109040808A (en) A kind of video interactive regulation method, equipment and computer readable storage medium
CN109151162A (en) A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
CN108449513A (en) A kind of interaction regulation and control method, equipment and computer readable storage medium
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN109032692A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN110531919A (en) A kind of fingerprint touch-control mapping control method, terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109117105A (en) A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108984063A (en) A kind of desktop interaction regulation method, equipment and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108156325A (en) A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium
CN107566608A (en) A kind of system air navigation aid, equipment and computer-readable recording medium
CN109491577A (en) A kind of gripping exchange method, equipment and computer readable storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN109683797A (en) A kind of viewing area control method, equipment and computer readable storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN108234869A (en) A kind of shooting preview control method, equipment and computer readable storage medium
CN107688497A (en) A kind of internal memory regulation and control method, equipment and computer-readable recording medium

Legal Events

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

Application publication date: 20181116