WO2017008722A1 - 一种基于内外网分离的通信方法、服务器及系统 - Google Patents

一种基于内外网分离的通信方法、服务器及系统 Download PDF

Info

Publication number
WO2017008722A1
WO2017008722A1 PCT/CN2016/089687 CN2016089687W WO2017008722A1 WO 2017008722 A1 WO2017008722 A1 WO 2017008722A1 CN 2016089687 W CN2016089687 W CN 2016089687W WO 2017008722 A1 WO2017008722 A1 WO 2017008722A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
data channel
portable terminal
wifi
internal
Prior art date
Application number
PCT/CN2016/089687
Other languages
English (en)
French (fr)
Inventor
车晓东
申世安
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017008722A1 publication Critical patent/WO2017008722A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls

Definitions

  • the present invention relates to the field of mobile communications, and more particularly to a communication method, server and system based on separation between internal and external networks.
  • Uid refers to the user ID (ID).
  • the Uid in the Android mobile operating system is different from the computer desktop operating system. Each user in the desktop system has a Uid, which is owned by a certain user. Program, then the Uid of this program refers to that user, and each program in the Android mobile operating system has a Uid.
  • the Android mobile operating system assigns each program a normal level and different Uids. If these programs need to be called from each other, then only the Uids of these programs can be used. Therefore, this is the case. This makes the shared data have a certain degree of security, and the data cannot be obtained freely between each software. The same program has only one Uid, so there is no access permission between the activity triggers under each program.
  • the meaning of the Uid of Linux is modified in the Android mobile operating system: it is used to uniquely determine the identity of a user. And because the Android mobile operating system is a single-user system, there is no need to support multi-user login. Therefore, the Uid of the Android mobile operating system can be regarded as a Uid corresponding to each program, that is, the Uid can be used to uniquely manage the application.
  • portable terminals in the prior art can only be used in the process of doing data services. Use to mobile data channel or WiFi data service channel. When the portable terminal determines to use WiFi to access the Internet, the mobile data channel is automatically turned off.
  • the office program in the portable terminal can obtain internal network data through the WiFi office network, but at this time, the other in the portable terminal The program cannot obtain external network data through the WiFi office network, and at this time, the mobile data channel of the portable terminal is turned off. Therefore, when the portable terminal is in the state where the WiFi is turned on, the office program cannot simultaneously obtain the internal network through the WiFi office network. Data and other programs acquire external network data through the mobile data channel.
  • the technical problem to be solved by the embodiment of the present invention is that the WiFi data channel and the mobile data channel in the mobile terminal cannot be simultaneously started, and when accessing the WiFi internal office network, the mobile data channel cannot be used to access the external network at the same time.
  • the embodiment of the present invention constructs a communication method based on internal and external network separation, and the method includes:
  • the network interface of the first type of program is switched to the WiFi data channel, and at the same time, the network interface of the second type of program is switched to the mobile data channel.
  • the method before the detecting the operation mode of the portable terminal, the method further includes:
  • the first type of program is determined based on the first identifier, and the other programs are determined to be the second type of program.
  • the detecting an operation mode of the portable terminal includes:
  • the switching the network interface of the first type of program to the WiFi data channel includes:
  • the switching the network interface of the second type of program to the mobile data channel comprises:
  • the determining whether the network address obtained by the portable terminal in the WiFi data channel belongs to the working network includes:
  • the second type of program is controlled to acquire network data through the mobile data channel.
  • the determining whether the network address obtained by the portable terminal in the WiFi data channel belongs to the working network includes:
  • controlling the second type of program to simultaneously acquire network data through the mobile data channel and the WiFi data channel.
  • the controlling the first type of program to obtain network data by using the WiFi data channel includes:
  • the network port that provides the WiFi data channel performs integrated management and control on the access portable terminal and the network interface that accesses the WiFi data channel.
  • the present invention also provides a communication method based on internal and external network separation, which is applied to a portable terminal, and the portable terminal includes an office program and a non-office program, and the method includes:
  • the office program is controlled to access the WiFi data channel, and at the same time, the non-office program is controlled to access the mobile data channel.
  • the method before the detecting whether the portable terminal is located in a preset office area, the method further includes:
  • An internal WiFi network is built in the office area.
  • the method before the detecting whether the portable terminal is located in a preset office area, the method further includes:
  • An external WiFi network is built in the non-office area.
  • the setting up an internal WiFi network in the office area includes:
  • An internal network address is assigned to a portable terminal accessing the above internal WiFi network.
  • the allocating an internal network address to the portable terminal that accesses the internal WiFi network includes:
  • controlling the office program to access the WiFi data channel, and controlling the non-office program to access the mobile data channel includes:
  • the WiFi data channel and the mobile data channel are simultaneously in an open state.
  • the WiFi data channel and the mobile data channel are simultaneously in an open state, including:
  • the WiFi data channel and the mobile data channel are in a working state at the same time, wherein
  • the invention also proposes a communication server based on internal and external network separation, the server comprising:
  • the WiFi network building module is configured to detect whether the portable terminal located in the preset office area is connected to the internal WiFi network;
  • the WiFi network control module is configured to control an office program in the portable terminal to access the WiFi data channel if it is detected that the portable terminal has accessed the internal WiFi network.
  • the WiFi network building module is further configured to: control the office program to acquire internal network data through the WiFi data channel, and at the same time, so that the WiFi data channel and the mobile data channel are simultaneously enabled. status.
  • the invention also proposes a communication system based on internal and external network separation, the system comprising:
  • a network detection module configured to detect whether the portable terminal is located in a preset office area
  • the network switching module is configured to control the office program to access the WiFi data channel if the portable terminal is located in the office area, and control the non-office program to access the mobile data channel.
  • the network detecting module is further configured to allocate an internal network address to the portable terminal that accesses the internal WiFi network.
  • the network switching module is further configured to: control the WiFi data channel and the mobile data channel to be in an open state at the same time, and further configured to:
  • the network interface of the first type of program is switched to the WiFi data channel, and at the same time, the network interface of the second type of program is Switch to the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.
  • FIG. 1 is an illustration of an optional hardware structure of a mobile terminal embodying various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a communication method based on internal and external network separation according to a preferred embodiment of the present invention
  • FIG. 4 is a flow chart showing the steps before detecting the operation mode of the portable terminal shown in FIG. 3;
  • FIG. 5 is a flow chart showing specific steps of detecting an operation mode of the portable terminal shown in FIG. 3;
  • FIG. 6 is a flowchart of a communication method based on internal and external network separation according to another preferred embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a communication server based on internal and external network separation according to a preferred embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a communication system based on internal and external network separation according to a preferred embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an A/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, and an interface.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H)
  • MediaFLO forward link media
  • the digital broadcasting system of the @) data broadcasting system, the terrestrial digital broadcasting integrated service (ISDB-T), and the like receives digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system.
  • the broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage
  • the mobile communication module 112 transmits a radio signal to a base station (eg, an access point, a Node B) And/or at least one of the external terminal and the server and/or receive a radio signal therefrom.
  • a base station eg, an access point, a Node B
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include BluetoothTM, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wide Band (UWB), ZigbeeTM, and the like.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is GPS (Global Positioning System).
  • GPS Global Positioning System
  • the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 1220 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the audio data may be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc.
  • a touch screen can be formed.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 can sense whether the slide type phone is turned on or off.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • Sensing unit 140 may include proximity sensor 1410 which will be described below in connection with a touch screen.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected via a port or other connection device
  • the mobile terminal 100 is connected.
  • the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • an external device eg, data information, power, etc.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • Touch screen can be used to detect touch input pressure and touch Enter the location and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a speaker, a buzzer, and the like.
  • the alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
  • the memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • a flash memory e.g, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can be connected with the network connection The network storage devices of the storage function of the line memory 160 cooperate.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • Such communication systems may use different air interfaces and/or physical layers.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • the MSC 280 is configured to interface with a public switched telephone network (PSTN) 290.
  • PSTN public switched telephone network
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally refer to a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • the method includes the following steps:
  • the portable terminal can be implemented in various forms.
  • the portable terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet (PAD), a portable multimedia player ( Portable terminals such as PMP (Portable Media Player), navigation devices, and the like, and fixed portable terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD tablet
  • Portable terminals Portable terminals such as PMP (Portable Media Player), navigation devices, and the like
  • fixed portable terminals such as digital TVs, desktop computers, and the like.
  • the portable terminal is a portable terminal that is movable.
  • the configuration of the embodiment of the present invention can also be applied to a fixed type of portable terminal.
  • At least one operation mode is preset for the portable terminal, for example, an office mode located in an office, a home mode located in a room, and the like.
  • the portable terminal invokes a network mode corresponding to the operating mode.
  • the network mode includes a call and a control mode of the network data channel.
  • one of the methods for detecting the operation mode of the portable terminal is:
  • the portable terminal it is detected whether the portable terminal enters the home mode, and if the portable terminal enters the home mode, it is determined that the operation mode of the portable terminal is the non-office mode or the home mode.
  • the basic information of the current office mode is recorded.
  • the basic information includes but is not limited to a specific network parameter (for example, the allocated IP address information, etc.).
  • the portable terminal when the portable terminal enters the office mode again, it is determined whether to directly enter the operation mode of the office mode according to the pre-stored network parameters.
  • the network interface of the first type of program is switched to the WiFi data channel, and at the same time, the network interface of the second type of program is switched to the mobile data channel.
  • the portable terminal operating system includes a first type of program and a second type of program, wherein the first type of program belongs to an office category program, and the second type of program belongs to a non-office type program (or Family category program).
  • the first type of program acquires network data through the working network channel
  • the second type of program acquires network data through the mobile network channel.
  • the working network channel is built through a WiFi data network.
  • the first type of program running in the portable terminal acquires working network data through the WiFi data channel.
  • the portable terminal has a WiFi data channel and a mobile data channel.
  • the WiFi data channel includes, but is not limited to, an existing single-frequency or multi-frequency WiFi data channel
  • the mobile data channel includes but is not limited to a mobile data channel such as an LTE data channel or a WCDMA data channel.
  • the working network channel is built by using a WiFi data network.
  • the first type of program running in the portable terminal acquires working network data through the WiFi data channel;
  • the first type of program running in the portable terminal cannot obtain the working network data through the WiFi data channel, and the second type of program running in the portable terminal
  • External network data can be obtained through the WiFi data channel (working network data is different from external network data).
  • the working network channel is built by using a WiFi data network.
  • the first type of program running in the portable terminal acquires working network data through the WiFi data channel.
  • the second type of program running in the portable terminal cannot acquire external network data through the WiFi data channel, and therefore, the second type of program running in the portable terminal acquires external network data through the mobile data channel.
  • the WiFi data channel is simultaneously opened with the mobile data channel, and the first type of program and the second type of program respectively obtain respective network data from the WiFi data channel and the mobile data channel, that is, Work network data (or internal network data) and external network data.
  • the working network channel is built by using a WiFi data network.
  • the first type of program running in the portable terminal acquires working network data through the WiFi data channel;
  • the first type of program running in the portable terminal cannot obtain the working network data through the WiFi data channel, and the second type of program running in the portable terminal
  • External network data can be obtained through the WiFi data channel (working network data is different from external network data).
  • the second type of program running in the portable terminal can pass the WiFi number. External network data is acquired simultaneously according to the channel and the mobile data channel.
  • the beneficial effect of the embodiment is that, by detecting the operation mode of the portable terminal, and then detecting that the portable terminal is operating in the working mode, the network interface of the first type of program is switched to the WiFi data channel, and at the same time, the second type of program is The network interface switches to the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.
  • FIG. 4 is a flow chart showing the steps before the operation mode of the portable terminal shown in FIG.
  • the method before detecting the operation mode of the portable terminal, the method further includes:
  • the identifier may be a Uid of the program.
  • the Uid refers to a user ID, where the Uid in the Android mobile operating system is different from that in the computer desktop operating system, and each user in the desktop system has A program with a Uid, by a user, then the Uid of this program refers to that user, and each program in the Android mobile operating system has a Uid.
  • the Android mobile operating system assigns each program a normal level and different Uids. If these programs need to be called from each other, then only the Uids of these programs can be used. Therefore, this is the case.
  • the division of the program category is realized by the Uid tag program of the program.
  • the division of the program category of the office can be realized by recording the Uid of the program that needs to be used in the office, that is, the Uid of the unrecorded program.
  • the program is a program in a non-office environment.
  • the portable terminal when the portable terminal has multiple office scenarios, for example, the user has the need to use the portable terminal in the office scenario A1, the office scenario A2, and the office scenario A3, and the internal networks of the three office scenarios are not The same time.
  • the Uid identifier of the embodiment is used to record the Uid of the program in each office scenario, and the Uid-M1, Uid-M3, Uid-M4, and Uid-M6 of the internal network can be accessed in the office scenario A1; Uid-M2, Uid-M5, and Uid-M7 can be accessed on the internal network; Uid-M8 and Uid-M9 in the internal network can be accessed in the office scenario A3.
  • the mobile data channel acquires external network data.
  • control operations such as adding, deleting, and updating programs are respectively performed.
  • programs having respective internal network access rights are dynamically controlled.
  • the beneficial effect of the embodiment is that, by determining an application running in the working mode, and recording the first identifier of the application, then determining the first type of program according to the first identifier, and determining the other program as the second Class program.
  • the program for respectively accessing the internal network and the external network by using the identifier is classified, thereby realizing the management, update, and the like of the procedures for respectively accessing the internal network and the external network.
  • FIG. 5 is a flow chart showing the specific steps of detecting the operation mode of the portable terminal shown in FIG.
  • detecting an operation mode of the portable terminal includes:
  • the WiFi network server allocates a network address (such as an IP network address) to the portable terminal, and because the working network has a specific preset network segment, Determining whether the obtained network address exists with the preset network segment can perform a judgment operation on whether to access the WiFi of the working network.
  • a network address such as an IP network address
  • corresponding preset network segments are respectively adopted for different office places, so that the determination and identification of multiple internal networks can be realized, and at the same time, the unified control of the integrated multi-offices is facilitated.
  • the beneficial effect of the embodiment is that, when the portable terminal accesses the WiFi data channel, it is determined whether the network address obtained by the portable terminal in the WiFi data channel belongs to the working network, and if yes, determining that the portable terminal is operating in the working mode, if No, it is determined that the portable terminal is operating in the non-operation mode. Realizing that the mobile terminal is correctly connected to the working network by means of network address determination. Therefore, it is further determined whether the portable terminal is operating and operating mode.
  • the network interface of the first type of program is switched to the WiFi data channel, including:
  • the first type of program belongs to an office program, and when the WiFi data channel belongs to a network deployment in an office, the first type of office program is controlled to obtain network data through the WiFi data channel.
  • switching the network interface of the second type of program to the mobile data channel includes:
  • the second type of program belongs to a non-office type program (for example, an entertainment game program, a social chat program, etc.), and at this time, the WiFi data channel belongs to a network deployment in an office space, and therefore, the second type of program is portable.
  • the mobile data channel of the terminal acquires network data.
  • determining whether the network address obtained by the portable terminal in the WiFi data channel belongs to the working network includes:
  • the second type of program is controlled to acquire network data through the mobile data channel. Specifically, in the process of acquiring the network data by using the mobile data channel, if the WiFi channel that can access the external network data is detected in the mode, the WiFi channel can be simultaneously accessed to implement the second type of program double data. The channels are simultaneously accessed and the network data is acquired at the same time. Thereby enhancing network access bandwidth and improving network access quality.
  • determining whether the network address obtained by the portable terminal in the WiFi data channel belongs to the working network includes:
  • controlling the second type of program to simultaneously acquire network data through the mobile data channel and the WiFi data channel.
  • the WiFi channel when the second type of program acquires the network data through the mobile data channel, if it is detected that there is a WiFi channel that can access the external network data in the mode, the WiFi channel can be simultaneously accessed to implement the second type.
  • the program double data channel is simultaneously accessed and the network data is acquired at the same time. Thereby enhancing network access bandwidth and improving network access quality.
  • one (mobile data channel) or two (mobile data channel and WiFi data channel) is selected as the network access by adaptive equalization.
  • the beneficial effects of this embodiment are that when the portable terminal is in a non-office state, the mobile data channel and the WiFi data channel can be simultaneously enabled, and the network access and network data acquisition experience of the second type of program is enhanced.
  • controlling the first type of program to obtain network data by using the WiFi data channel includes:
  • the network port that provides the WiFi data channel performs integrated management and control on the access portable terminal and the network interface that accesses the WiFi data channel.
  • Integrated management and control methods include, but are not limited to, controlling the bandwidth allocation of the WiFi data channel, flow control, data monitoring, and remote control of the portable terminal.
  • the beneficial effects of this embodiment are that the network server that provides the WiFi data channel performs integrated management and control on the access portable terminal and the network interface that accesses the WiFi data channel. Achieve cross-scenario portable terminal network integration management and control, for enterprise users, portable terminals through the intranet The office achieves the purpose of user data security controllability (for example, security management through a gateway), and the portable terminal can perform the external network. It can be understood that the network communication method provided by this embodiment is compared with the traditional single data channel. The quality has a qualitative difference, which improves the user's network access experience and meets the needs of enterprise-level WiFi network hotspots.
  • FIG. 6 is a flowchart of a communication method based on internal and external network separation according to another preferred embodiment of the present invention.
  • the present invention also provides a communication method based on internal and external network separation, which is applied to a portable terminal, and the portable terminal includes an office program and a non-office program, and the method includes:
  • the method before detecting whether the portable terminal is located in a preset office area, the method further includes:
  • An internal WiFi network is built in the office area.
  • the method before the detecting whether the portable terminal is located in a preset office area, the method further includes:
  • An external WiFi network is built in the non-office area.
  • the setting up an internal WiFi network in the office area includes:
  • An internal network address is assigned to a portable terminal accessing the above internal WiFi network.
  • the allocating an internal network address to the portable terminal that accesses the internal WiFi network includes:
  • controlling the office program to access a WiFi data channel Controlling the non-office program to access the mobile data channel, including:
  • the WiFi data channel and the mobile data channel are simultaneously in an open state.
  • the WiFi data channel and the mobile data channel are simultaneously in an open state, including:
  • the WiFi data channel and the mobile data channel are in a working state at the same time, wherein
  • a communication method based on internal and external network separation for implementing the present invention detecting whether the portable terminal is located in a preset office area, and if the portable terminal is located in the office area, controlling the office program to access a WiFi data channel, At the same time, the non-office program is controlled to access the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.
  • FIG. 7 is a structural block diagram of a communication server based on internal and external network separation according to a preferred embodiment of the present invention.
  • the invention also proposes a communication server based on internal and external network separation, the server comprising:
  • the WiFi network building module 500 is configured to detect whether the portable terminal located in the preset office area accesses the internal WiFi network;
  • the WiFi network control module 600 is configured to control an office program in the portable terminal to access the WiFi data channel if it is detected that the portable terminal has accessed the internal WiFi network.
  • the WiFi network building module is further configured to: control the office program to acquire internal network data through the WiFi data channel, and at the same time, so that the WiFi data channel and the mobile data channel are simultaneously enabled. status.
  • a communication server based on internal and external network separation for implementing the present invention by detecting an operation mode of the portable terminal, and then detecting that the portable terminal is operating in the working mode, switching the network interface of the first type of program to the WiFi data channel, and simultaneously Switch the network interface of the second type of program to the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.
  • FIG. 8 is a structural block diagram of a communication system based on internal and external network separation according to a preferred embodiment of the present invention.
  • the invention also proposes a communication system based on internal and external network separation, the system comprising:
  • the network detecting module 700 is configured to detect whether the portable terminal is located in a preset office area
  • the network switching module 800 is configured to control the office program to access the WiFi data channel if the portable terminal is located in the office area, and control the non-office program to access the mobile data channel.
  • the network detecting module is further configured to allocate an internal network address to the portable terminal that accesses the internal WiFi network.
  • the network switching module is further configured to: control the WiFi data channel and the mobile data channel to be in an open state at the same time, in the embodiment of the present invention,
  • a communication system based on internal and external network separation for implementing the present invention by detecting a portable terminal The operating mode, and then detecting that the portable terminal is operating in the working mode, switches the network interface of the first type of program to the WiFi data channel, and simultaneously switches the network interface of the second type of program to the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.
  • the portable terminal can be implemented in various forms.
  • the portable terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet (PAD), a portable multimedia player ( Portable terminals such as PMP (Portable Media Player), navigation devices, and the like, and fixed portable terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD tablet
  • PMP Portable Multimedia Player
  • navigation devices and the like
  • fixed portable terminals such as digital TVs, desktop computers, and the like.
  • the configuration according to an embodiment of the present invention can be applied to a fixed type of portable terminal in addition to an element particularly for mobile purposes.
  • the network interface of the first type of program is switched to the WiFi data channel, and at the same time, the network interface of the second type of program is switched to the mobile data channel.
  • the WiFi data channel and the mobile data channel are simultaneously turned on in the portable terminal, and when the portable terminal accesses the WiFi internal office network, the portable terminal can simultaneously access the external network by using the mobile data channel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)

Abstract

本发明公开了一种基于内外网分离的通信方法、服务器及系统,其中,该方法包括:通过检测便携终端的运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实施本发明,实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。

Description

一种基于内外网分离的通信方法、服务器及系统 技术领域
本发明涉及移动通信领域,更具体地说,涉及一种基于内外网分离的通信方法、服务器及系统。
背景技术
现有移动通信技术领域,存在以下三点技术背景:
1、Uid是指用户标识(ID),其中,安卓(Android)移动操作系统中的Uid和计算机桌面操作系统中的不一样,桌面系统中的每个用户都具有一个Uid,由某一个用户的程序,那么这个程序的Uid就是指代那个用户,而Android移动操作系统中每个程序都有一个Uid。在默认情况下,Android移动操作系统会给每个程序分配一个普通级别且互不相同的Uid,如果用这些程序需要互相调用,那么只能是在这些程序的Uid相同才可以进行,因此,这就使得共享数据具有了一定的安全性,且每个软件之间是不能随意获得数据的。而同一个程序只有一个Uid,所以各个程序下的活动触发(Activity)之间不存在访问权限的问题。且Android移动操作系统中修改了Linux的Uid的含义:用来唯一确定某个用户的身份。又由于Android移动操作系统是单用户系统,不需要支持多用户登陆。因此,Android移动操作系统的Uid可以看作是每个程序对应一个Uid,即可以用Uid对应用程序进行唯一标识的管理。
2、在移动数据业务(例如4G、3G移动网络数据业务)和无线保真(WiFi)数据业务可以正常保证的前提下,现有技术领域内的便携终端在做数据业务的过程中都仅能使用到移动数据通道或者是WiFi数据业务通道。当便携终端确定使用WiFi来上网,移动数据通道就会自动关闭。
3、在一些办公场所,当用户的便携终端接入该办公场所的WiFi办公网络时,该便携终端内的办公程序可以通过该WiFi办公网络获取内部网络数据,但是,此时便携终端内的其它程序则无法通过该WiFi办公网络获取到外部网络数据,且此时便携终端的移动数据通道被关闭,因此,便携终端在WiFi开启的状态下,无法同时实现办公程序通过该WiFi办公网络获取内部网络数据以及其它程序通过移动数据通道获取外部网络数据。
因此,现有技术中存在便携终端内WiFi数据通道与移动数据通道无法同时开启工作,且当接入WiFi内部办公网络时,无法同时使用移动数据通道访问外部网络的技术缺陷。
发明内容
本发明实施例要解决的技术问题在于,移动终端内WiFi数据通道与移动数据通道无法同时开启工作,且当接入WiFi内部办公网络时,无法同时使用移动数据通道访问外部网络。
因此,本发明实施例构造了一种基于内外网分离的通信方法,该方法包括:
检测便携终端的运行模式;
若所述便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。
本发明实施例中,所述检测便携终端的运行模式之前还包括:
确定运行于所述工作模式下的应用程序,并记录所述应用程序的第一标识符;
根据第一标识符确定第一类程序,并将其它程序确定为第二类程序。
本发明实施例中,所述检测便携终端的运行模式,包括:
当所述便携终端接入所述WiFi数据通道时,判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络;
若是,则确定所述便携终端运行于所述工作模式,若否,则确定所述便携终端运行于非工作模式。
本发明实施例中,所述将第一类程序的网络接口切换至WiFi数据通道,包括:
控制所述第一类程序通过所述WiFi数据通道获取网络数据。
本发明实施例中,所述将第二类程序的网络接口切换至移动数据通道,包括:
控制所述第二类程序通过所述移动数据通道获取网络数据。
本发明实施例中,所述判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络,包括:
若确定所述便携终端运行于非工作模式,则控制所述第二类程序通过所述移动数据通道获取网络数据。
本发明实施例中,所述判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络,包括:
若确定所述便携终端运行于非工作模式,则控制所述第二类程序通过所述移动数据通道和所述WiFi数据通道同时获取网络数据。
本发明实施例中,所述控制所述第一类程序通过所述WiFi数据通道获取网络数据,包括:
通过提供WiFi数据通道的网络服务器对所述接入便携终端及其接入所述WiFi数据通道的网络接口进行集成管控。
本发明还提出了一种基于内外网分离的通信方法,应用于便携终端,所述便携终端包括办公程序以及非办公程序,该方法包括:
检测所述便携终端是否位于预设的办公区域;
若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
本发明实施例中,所述检测所述便携终端是否位于预设的办公区域之前还包括:
在所述办公区域内搭建内部WiFi网络。
本发明实施例中,所述检测所述便携终端是否位于预设的办公区域之前还包括:
在所述非办公区域内搭建外部WiFi网络。
本发明实施例中,所述在所述办公区域内搭建内部WiFi网络,包括:
为接入上述内部WiFi网络的便携终端分配内部网络地址。
本发明实施例中,所述为接入所述内部WiFi网络的便携终端分配内部网络地址,包括:
记录接入所述内部WiFi网络的网络地址,并通过该网络地址对所述便携终端执行管控操作。
本发明实施例中,所述控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道,包括:
所述WiFi数据通道与所述移动数据通道同时处于开启状态。
本发明实施例中,所述WiFi数据通道与所述移动数据通道同时处于开启状态,包括:
所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
本发明还提出了一种基于内外网分离的通信服务器,该服务器包括:
WiFi网络搭建模块,配置为检测位于预设的办公区域的便携终端是否接入内部WiFi网络;
WiFi网络控制模块,配置为若检测得到所述便携终端已接入所述内部WiFi网络,则控制所述便携终端内的办公程序接入WiFi数据通道。
本发明实施例中,所述WiFi网络搭建模块还配置为,控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,以使得所述WiFi数据通道与所述移动数据通道同时处于开启状态。
本发明还提出了一种基于内外网分离的通信系统,该系统包括:
网络检测模块,配置为检测所述便携终端是否位于预设的办公区域;
网络切换模块,配置为若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
本发明实施例中,所述网络检测模块还配置为,为接入上述内部WiFi网络的便携终端分配内部网络地址。
本发明实施例中,所述网络切换模块还配置为,控制所述WiFi数据通道与所述移动数据通道同时处于开启状态,并且还配置为:
控制所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
实施本发明实施例,通过检测便携终端的运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。
附图说明
下面将结合附图及实施例对本发明作进一步说明,附图中:
图1为实现本发明各个实施例的移动终端的一个可选的硬件结构示意;
图2为支持本发明实施例移动终端之间进行通信的通信系统的示意图;
图3是本发明较佳实施例提出的基于内外网分离的通信方法的流程图;
图4是图3示出的检测便携终端的运行模式之前的步骤流程图;
图5是图3示出的检测便携终端的运行模式具体步骤流程图;
图6是本发明另一较佳实施例提出的基于内外网分离的通信方法的流程图;
图7是本发明较佳实施例提出的基于内外网分离的通信服务器的结构框图;
图8是本发明较佳实施例提出的基于内外网分离的通信系统的结构框图。
具体实施方式
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明各个实施例的移动终端的硬件结构示意图。
移动终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口 单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播系统接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO@)的数据广播系统、地面数字广播综合服务(ISDB-T)等等的数字广播系统接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播系统以及上述数字广播系统。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B 等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是GPS(全球定位系统)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风1220,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语 音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器1410将在下面结合触摸屏来对此进行描述。
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与 移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152、警报单元153等等。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸 输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执 行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。
现在将参考图2描述其中根据本发明的移动终端能够操作的通信系统。
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。
基于上述移动终端硬件结构以及通信系统,提出本发明方法各个实施例。
实施例一
图3是本发明示出的一种基于内外网分离的通信方法。该方法包括以下步骤:
S1,检测便携终端的运行模式。在本实施例中,便携终端可以以各种形式来实施。例如,本发明实施例中描述的便携终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA,Personal Digital Assistant)、平板电脑(PAD)、便携式多媒体播放器(PMP,Portable Media Player)、导航装置等等的便携终端以及诸如数字TV、台式计算机等等的固定便携终端。下面,假设便携终端是可移动的便携终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发 明的实施方式的构造也能够应用于固定类型的便携终端。
在本实施例中,针对该便携终端预设至少一种运行模式,例如,位于办公场所的办公模式、位于居室内的家庭模式等。
在本实施例中,在不同的运行模式下,便携终端调用与运行模式相应的网络模式,具体地,该网络模式包括网络数据通道的调用、控制模式。
在本实施例中,检测便携终端的运行模式的方法之一是:
检测便携终端是否进入办公模式,若该便携终端进入办公模式,则确定该便携终端的运行模式为办公模式;
或者,检测便携终端是否进入家庭模式,若该便携终端进入家庭模式,则确定该便携终端的运行模式为非办公室模式,或者是家庭模式。
本发明实施例中,当首次确定该便携终端的运行模式是办公模式时,记录当前办公模式的基础信息,本发明实施例中,该基础信息包括但不限于特定的网络参数(例如分配得到的IP地址信息等)。
本发明实施例中,当该便携终端再次进入办公模式时,则根据预存储的网络参数判断是否直接进入办公模式的运行模式。
S2,若便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。
在本实施例中,该便携终端操作系统内同时包括第一类程序和第二类程序,其中,第一类程序是属于办公类别的程序,第二类程序属于非办公类别的程序(或者是家庭类别的程序)。
在本实施例中,当便携终端运行于工作模式时,第一类程序通过工作网络通道获取网络数据,第二类程序通过移动网络通道获取网络数据。例如,在特定的办公场所,工作网络通道是通过WiFi数据网络搭建的,此时,运行于便携终端内的第一类程序通过WiFi数据通道获取工作网络数据。
本发明实施例中,便携终端具有建立WiFi数据通道和移动数据通道的 能力。其中,WiFi数据通道包括但不限于现有的单频或多频WiFi数据通道,移动数据通道包括但不限于LTE数据通道、WCDMA数据通道等移动数据通道。
本发明实施例中,如上例所述,在特定的办公场所,工作网络通道是通过WiFi数据网络搭建的,此时,运行于便携终端内的第一类程序通过WiFi数据通道获取工作网络数据;在非办公场所,当存在通过WiFi数据网络搭建的网络通道,此时,运行于便携终端内的第一类程序无法通过该WiFi数据通道获取工作网络数据,运行于便携终端内的第二类程序可以通过该WiFi数据通道获取外部网络数据(工作网络数据不同于外部网络数据)。
本发明实施例中,如上例所述,在特定的办公场所,工作网络通道是通过WiFi数据网络搭建的,此时,运行于便携终端内的第一类程序通过WiFi数据通道获取工作网络数据,运行于便携终端内的第二类程序通过该WiFi数据通道无法获取到外部网络数据,因此,运行于便携终端内的第二类程序通过移动数据通道获取外部网络数据。可以理解的是,在特定的办公场所,上述WiFi数据通道与上述移动数据通道同时开启,上述第一类程序与上述第二类程序分别从WiFi数据通道和移动数据通道获取各自的网络数据,即工作网络数据(或者是内部网络数据)和外部网络数据。
本发明实施例中,如上例所述,在特定的办公场所,工作网络通道是通过WiFi数据网络搭建的,此时,运行于便携终端内的第一类程序通过WiFi数据通道获取工作网络数据;在非办公场所,当存在通过WiFi数据网络搭建的网络通道,此时,运行于便携终端内的第一类程序无法通过该WiFi数据通道获取工作网络数据,运行于便携终端内的第二类程序可以通过该WiFi数据通道获取外部网络数据(工作网络数据不同于外部网络数据)。可以理解的是,在非办公场所,由于上述WiFi数据通道与上述移动数据通道可以同时开启,因此,运行于便携终端内的第二类程序可以通过该WiFi数 据通道和移动数据通道同时获取外部网络数据。
本实施例的有益效果在于,通过检测便携终端的运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。
实施例二
图4是图3示出的检测便携终端的运行模式之前的步骤流程图。
在上述实施例一的基础上,检测便携终端的运行模式之前还包括:
S01,确定运行于工作模式下的应用程序,并记录应用程序的第一标识符。具体地,该标识符可以是程序的Uid,需要说明的是,Uid是指用户ID,其中,Android移动操作系统中的Uid和计算机桌面操作系统中的不一样,桌面系统中的每个用户都具有一个Uid,由某一个用户的程序,那么这个程序的Uid就是指代那个用户,而Android移动操作系统中每个程序都有一个Uid。在默认情况下,Android移动操作系统会给每个程序分配一个普通级别且互不相同的Uid,如果用这些程序需要互相调用,那么只能是在这些程序的Uid相同才可以进行,因此,这就使得共享数据具有了一定的安全性,且每个软件之间是不能随意获得数据的。而同一个程序只有一个Uid,所以各个程序下的Activity(活动触发)之间不存在访问权限的问题。且Android移动操作系统中修改了Linux的Uid的含义:用来唯一确定某个用户的身份。又由于Android移动操作系统是单用户系统,不需要支持多用户登陆。因此,Android移动操作系统的Uid可以看作是每个程序对应一个Uid,即可以用Uid对应用程序进行唯一标识的管理。
S02,根据第一标识符确定第一类程序,并将其它程序确定为第二类程 序。
因此,在本实施例中,通过程序的Uid标记程序,以实现对程序类别的划分。例如,当便携终端具有办公场所以及非办公场所两种使用环境时,即可通过记录需要在办公场所内使用的程序的Uid实现对办公场所的程序类别的划分,即,未记录程序的Uid的程序属于非办公场所环境下的程序。
可以理解的是,随着移动操作系统版本的更新与演进,本发明不限于使用Uid标记程序以实现对程序类别的划分。
本发明实施例中,当便携终端具有多个办公场景时,例如,用户在办公场景A1、办公场景A2以及办公场景A3有使用该便携终端的需求,且上述三个办公场景的内部网络各不相同时。采用本实施例的Uid标识符分别记录各个办公场景下的程序的Uid,在办公场景A1下可访问其内部网络的Uid-M1、Uid-M3、Uid-M4、Uid-M6;在办公场景A2下可访问其内部网络的Uid-M2、Uid-M5、Uid-M7;办公场景A3下可访问其内部网络的Uid-M8、Uid-M9,因此,当便携终端位于办公场景A1,且需要通过WiFi接入内部网络时,只有标识符为Uid-M1、Uid-M3、Uid-M4、Uid-M6的程序可以通过WiFi接入内部网络,当便携终端位于办公场景A2,且需要通过WiFi接入内部网络时,只有标识符为Uid-M2、Uid-M5、Uid-M7的程序可以通过WiFi接入内部网络,当便携终端位于办公场景A3,且需要通过WiFi接入内部网络时,只有标识符为Uid-M8、Uid-M9的程序可以通过WiFi接入内部网络。可以理解的是,当便携终端分别位于上述办公场景A1、办公场景A2以及办公场景A3,且通过各自的WiFi接入各自场景的内部网络时,除上述所有标记程序外的其它程序可以通过开启的移动数据通道获取外部网络数据。
本发明实施例中,在上述在办公场景A1、办公场景A2以及办公场景A3内,分别执行程序的增加、删除、更新等管控操作。从而实现了对上述 在办公场景A1、办公场景A2以及办公场景A3内,具有各自内部网络访问权限的程序进行动态管控。
本实施例的有益效果在于,通过确定运行于工作模式下的应用程序,并记录应用程序的第一标识符,然后,根据第一标识符确定第一类程序,并将其它程序确定为第二类程序。实现了通过标识符对分别需要接入内部网络和外部网络的程序进行分类,从而实现了对分别需要接入内部网络和外部网络的程序进行更新、上述、增加等管控操作。
实施例三
图5是图3示出的检测便携终端的运行模式具体步骤流程图。
在上述实施例一的基础上,检测便携终端的运行模式,包括:
S11,当便携终端接入所述WiFi数据通道时,判断便携终端在WiFi数据通道获得的网络地址是否归属于工作网络。具体地,当便携终端接入所述WiFi数据通道时,WiFi网络服务端会给该便携终端分配一个网络地址(例如IP网络地址),又由于工作网络具有特定的预设网络段,因此,通过判断获得的网络地址是否存在与上述预设网络段,即可实现对是否接入工作网络的WiFi执行判断操作。
S12,若是,则确定便携终端运行于工作模式,若否,则确定便携终端运行于非工作模式。
本发明实施例中,针对不同的办公场所,分别采用对应的预设网络段,因此,可以实现对多个内部网络的判定与识别,同时,也便于集成式的多办公场所的统一管控。
本实施例的有益效果在于,通过当便携终端接入所述WiFi数据通道时,判断便携终端在WiFi数据通道获得的网络地址是否归属于工作网络,若是,则确定便携终端运行于工作模式,若否,则确定便携终端运行于非工作模式。实现了以网络地址判定的方式准确识别便携终端是否接入工作网络, 从而进一步判断得到便携终端是否运行与工作模式。
实施例四
基于上述实施例一,将第一类程序的网络接口切换至WiFi数据通道,包括:
控制第一类程序通过WiFi数据通道获取网络数据。例如,该第一类程序属于办公类程序,而此WiFi数据通道属于办公场所内的网络部署时,则控制该第一类的办公程序通过WiFi数据通道获取网络数据。
实施例五
基于上述实施例一,将第二类程序的网络接口切换至移动数据通道,包括:
控制所述第二类程序通过所述移动数据通道获取网络数据。例如,该第二类程序属于非办公类程序(例如,娱乐游戏程序、社交聊天程序等等),而此时,WiFi数据通道属于办公场所内的网络部署,因此,该第二类程序通过便携终端的移动数据通道获取网络数据。
实施例六
基于上述实施例三,判断便携终端在WiFi数据通道获得的网络地址是否归属于工作网络,包括:
若确定便携终端运行于非工作模式,则控制第二类程序通过移动数据通道获取网络数据。具体地,第二类程序通过移动数据通道获取网络数据的过程中,若检测到该模式下有可以访问外部网络数据的WiFi通道,则可以同时接入该WiFi通道,实现第二类程序双数据通道同时接入,同时获取网络数据。从而增强了网络访问带宽,提高了网络接入质量。
实施例七
基于上述实施例三,判断便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络,包括:
若确定所述便携终端运行于非工作模式,则控制所述第二类程序通过所述移动数据通道和所述WiFi数据通道同时获取网络数据。
本发明实施例中,第二类程序通过移动数据通道获取网络数据的过程中,若检测到该模式下有可以访问外部网络数据的WiFi通道,则可以同时接入该WiFi通道,实现第二类程序双数据通道同时接入,同时获取网络数据。从而增强了网络访问带宽,提高了网络接入质量。
本发明实施例中,根据第二类程序对网络带宽的使用需求,自适应均衡选取一个(移动数据通道)或两个(移动数据通道和WiFi数据通道)作为网络接入。
本实施例的有益效果在于,当便携终端处于非办公状态时,可以同时开启移动数据通道和WiFi数据通道,增强了第二类程序的网络接入与网络数据获取体验。
实施例八
基于上述实施例四,控制所述第一类程序通过所述WiFi数据通道获取网络数据,包括:
通过提供WiFi数据通道的网络服务器对所述接入便携终端及其接入WiFi数据通道的网络接口进行集成管控。
集成管控的方式包括但不限于:控制WiFi数据通道的带宽分配、流量控制、数据监控以及便携终端的远程控制等管控操作。
本实施例的有益效果在于,通过提供WiFi数据通道的网络服务器对所述接入便携终端及其接入WiFi数据通道的网络接口进行集成管控。实现了跨场景的便携终端网络集成管控,对企业级用户来说,便携终端通过内网 办公达到了用户数据安全可控的目的(例如,通过网关进行安全管控),同时便携终端能进行外网上网,可以理解的是,本实施例所提供的网络通信方法相比传统的单数据通道方式有了质的区别,提高了用户的网络接入体验,符合企业级WiFi网络热点的搭建需求。
实施例九
图6是本发明另一较佳实施例提出的基于内外网分离的通信方法的流程图。
本发明还提出了一种基于内外网分离的通信方法,应用于便携终端,所述便携终端包括办公程序以及非办公程序,该方法包括:
S10、检测所述便携终端是否位于预设的办公区域;
S20、若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
本发明实施例中,检测所述便携终端是否位于预设的办公区域之前还包括:
在所述办公区域内搭建内部WiFi网络。
本发明实施例中,所述检测所述便携终端是否位于预设的办公区域之前还包括:
在所述非办公区域内搭建外部WiFi网络。
本发明实施例中,所述在所述办公区域内搭建内部WiFi网络,包括:
为接入上述内部WiFi网络的便携终端分配内部网络地址。
本发明实施例中,所述为接入所述内部WiFi网络的便携终端分配内部网络地址,包括:
记录接入所述内部WiFi网络的网络地址,并通过该网络地址对所述便携终端执行管控操作。
本发明实施例中,所述控制所述办公程序接入WiFi数据通道,同时, 控制所述非办公程序接入移动数据通道,包括:
所述WiFi数据通道与所述移动数据通道同时处于开启状态。
本发明实施例中,所述WiFi数据通道与所述移动数据通道同时处于开启状态,包括:
所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
实施本发明的一种基于内外网分离的通信方法,检测所述便携终端是否位于预设的办公区域,若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。
实施例十
图7是本发明较佳实施例提出的基于内外网分离的通信服务器的结构框图。
本发明还提出了一种基于内外网分离的通信服务器,该服务器包括:
WiFi网络搭建模块500,配置为检测位于预设的办公区域的便携终端是否接入内部WiFi网络;
WiFi网络控制模块600,配置为若检测得到所述便携终端已接入所述内部WiFi网络,则控制所述便携终端内的办公程序接入WiFi数据通道。
本发明实施例中,所述WiFi网络搭建模块还配置为,控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,以使得所述WiFi数据通道与所述移动数据通道同时处于开启状态。
可以理解的是,上述方法的具体实施例同样适用于本服务器,在此不 再赘述。
实施本发明的一种基于内外网分离的通信服务器,通过检测便携终端的运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。
实施例十一
图8是本发明较佳实施例提出的基于内外网分离的通信系统的结构框图。
本发明还提出了一种基于内外网分离的通信系统,该系统包括:
网络检测模块700,配置为检测所述便携终端是否位于预设的办公区域;
网络切换模块800,配置为若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
本发明实施例中,所述网络检测模块还配置为,为接入上述内部WiFi网络的便携终端分配内部网络地址。
本发明实施例中,所述网络切换模块还配置为,控制所述WiFi数据通道与所述移动数据通道同时处于开启状态,本发明实施例中,
控制所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
可以理解的是,上述方法的实施例同样适用于本系统,在此不再赘述。
实施本发明的一种基于内外网分离的通信系统,通过检测便携终端的 运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。
在本发明的实施例中,便携终端可以以各种形式来实施。例如,本发明实施例中描述的便携终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA,Personal Digital Assistant)、平板电脑(PAD)、便携式多媒体播放器(PMP,Portable Media Player)、导航装置等等的便携终端以及诸如数字TV、台式计算机等等的固定便携终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的便携终端。
在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。
工业实用性
通过检测便携终端的运行模式,然后当检测到便携终端运行于工作模式,则将第一类程序的网络接口切换至WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。实现了在便携终端内WiFi数据通道与移动数据通道同时开启工作,且当便携终端接入WiFi内部办公网络时,便携终端可以同时使用移动数据通道访问外部网络。

Claims (20)

  1. 一种基于内外网分离的通信方法,所述方法包括:
    检测便携终端的运行模式;
    若所述便携终端运行于工作模式,则将第一类程序的网络接口切换至无线保真WiFi数据通道,同时,将第二类程序的网络接口切换至移动数据通道。
  2. 根据权利要求1所述的基于内外网分离的通信方法,其中,所述检测便携终端的运行模式之前还包括:
    确定运行于所述工作模式下的应用程序,并记录所述应用程序的第一标识符;
    根据第一标识符确定第一类程序,并将其它程序确定为第二类程序。
  3. 根据权利要求1所述的基于内外网分离的通信方法,其中,所述检测便携终端的运行模式,包括:
    当所述便携终端接入所述WiFi数据通道时,判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络;
    若是,则确定所述便携终端运行于所述工作模式,若否,则确定所述便携终端运行于非工作模式。
  4. 根据权利要求1所述的基于内外网分离的通信方法,其中,所述将第一类程序的网络接口切换至WiFi数据通道,包括:
    控制所述第一类程序通过所述WiFi数据通道获取网络数据。
  5. 根据权利要求1所述的基于内外网分离的通信方法,其中,所述将第二类程序的网络接口切换至移动数据通道,包括:
    控制所述第二类程序通过所述移动数据通道获取网络数据。
  6. 根据权利要求3所述的基于内外网分离的通信方法,其中,所述判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网 络,包括:
    若确定所述便携终端运行于非工作模式,则控制所述第二类程序通过所述移动数据通道获取网络数据。
  7. 根据权利要求3所述的基于内外网分离的通信方法,其中,所述判断所述便携终端在所述WiFi数据通道获得的网络地址是否归属于工作网络,包括:
    若确定所述便携终端运行于非工作模式,则控制所述第二类程序通过所述移动数据通道和所述WiFi数据通道同时获取网络数据。
  8. 根据权利要求4所述的基于内外网分离的通信方法,其中,所述控制所述第一类程序通过所述WiFi数据通道获取网络数据,包括:
    通过提供WiFi数据通道的网络服务器对所述接入便携终端及其接入所述WiFi数据通道的网络接口进行集成管控。
  9. 一种基于内外网分离的通信方法,应用于便携终端,所述便携终端包括办公程序以及非办公程序,所述方法包括:
    检测所述便携终端是否位于预设的办公区域;
    若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
  10. 根据权利要求9所述的基于内外网分离的通信方法,其中,所述检测所述便携终端是否位于预设的办公区域之前还包括:
    在所述办公区域内搭建内部WiFi网络。
  11. 根据权利要求9所述的基于内外网分离的通信方法,其中,所述检测所述便携终端是否位于预设的办公区域之前还包括:
    在所述非办公区域内搭建外部WiFi网络。
  12. 根据权利要求10所述的基于内外网分离的通信方法,其中,所述在所述办公区域内搭建内部WiFi网络,包括:
    为接入上述内部WiFi网络的便携终端分配内部网络地址。
  13. 根据权利要求12所述的基于内外网分离的通信方法,其中,所述为接入所述内部WiFi网络的便携终端分配内部网络地址,包括:
    记录接入所述内部WiFi网络的网络地址,并通过该网络地址对所述便携终端执行管控操作。
  14. 根据权利要求9所述的基于内外网分离的通信方法,其中,所述控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道,包括:
    所述WiFi数据通道与所述移动数据通道同时处于开启状态。
  15. 根据权利要求14所述的基于内外网分离的通信方法,其中,所述WiFi数据通道与所述移动数据通道同时处于开启状态,包括:
    所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
    控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
  16. 一种基于内外网分离的通信服务器,所述服务器包括:
    WiFi网络搭建模块,配置为检测位于预设的办公区域的便携终端是否接入内部WiFi网络;
    WiFi网络控制模块,配置为若检测得到所述便携终端已接入所述内部WiFi网络,则控制所述便携终端内的办公程序接入WiFi数据通道。
  17. 根据权利要求16所述的基于内外网分离的通信服务器,其中,所述WiFi网络搭建模块还配置为,控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,以使得所述WiFi数据通道与所述移动数据通道同时处于开启状态。
  18. 一种基于内外网分离的通信系统,所述系统包括:
    网络检测模块,配置为检测所述便携终端是否位于预设的办公区域;
    网络切换模块,配置为若所述便携终端位于所述办公区域,则控制所述办公程序接入WiFi数据通道,同时,控制所述非办公程序接入移动数据通道。
  19. 根据权利要求18所述的基于内外网分离的通信系统,其中,所述网络检测模块还配置为,为接入上述内部WiFi网络的便携终端分配内部网络地址。
  20. 根据权利要求18所述的基于内外网分离的通信系统,其中,所述网络切换模块还配置为,控制所述WiFi数据通道与所述移动数据通道同时处于开启状态;并且还配置为:
    控制所述WiFi数据通道与所述移动数据通道同时处于工作状态,其中,
    控制所述办公程序通过所述WiFi数据通道获取内部网络数据,同时,控制所述非办公程序通过所述移动数据通道获取外部网络数据。
PCT/CN2016/089687 2015-07-10 2016-07-11 一种基于内外网分离的通信方法、服务器及系统 WO2017008722A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510408782.7 2015-07-10
CN201510408782.7A CN105100090B (zh) 2015-07-10 2015-07-10 一种基于内外网分离的通信方法、服务器及系统

Publications (1)

Publication Number Publication Date
WO2017008722A1 true WO2017008722A1 (zh) 2017-01-19

Family

ID=54579636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089687 WO2017008722A1 (zh) 2015-07-10 2016-07-11 一种基于内外网分离的通信方法、服务器及系统

Country Status (2)

Country Link
CN (1) CN105100090B (zh)
WO (1) WO2017008722A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115482A (zh) * 2021-03-31 2021-07-13 影石创新科技股份有限公司 基于安卓系统的终端通讯方法、装置、终端及存储介质
CN115795542A (zh) * 2022-11-30 2023-03-14 江苏欧软信息科技有限公司 一种工业互联网数据隐私保护方法和系统

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100090B (zh) * 2015-07-10 2017-02-22 努比亚技术有限公司 一种基于内外网分离的通信方法、服务器及系统
CN105592511A (zh) * 2016-01-28 2016-05-18 努比亚技术有限公司 网络连接装置及方法
CN105682161B (zh) * 2016-01-28 2020-01-10 广东电网有限责任公司中山供电局 网络连接装置及方法
CN105611581A (zh) * 2016-01-28 2016-05-25 努比亚技术有限公司 网络连接装置及方法
CN107018069A (zh) * 2016-01-28 2017-08-04 努比亚技术有限公司 网络连接装置及方法
CN105828455A (zh) * 2016-01-28 2016-08-03 努比亚技术有限公司 网络连接装置及方法
CN107257335A (zh) * 2017-06-09 2017-10-17 上海天跃科技股份有限公司 音频信息传输系统
CN107750055A (zh) * 2017-09-29 2018-03-02 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN109526020B (zh) * 2018-10-29 2022-05-06 Oppo广东移动通信有限公司 数据传输方法及相关产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257416A1 (en) * 2008-04-09 2009-10-15 Ubiquisys Limited Access point
CN101877901A (zh) * 2009-04-28 2010-11-03 华为技术有限公司 网络接入方法、终端设备、服务器及通信系统
CN103338483A (zh) * 2013-07-24 2013-10-02 成都西加云杉科技有限公司 数据分流方法、数据分流设备及异构网络
CN103973800A (zh) * 2014-05-19 2014-08-06 普天信息技术有限公司 一种基于安卓系统的双网卡并存的实现方法
CN105100090A (zh) * 2015-07-10 2015-11-25 努比亚技术有限公司 一种基于内外网分离的通信方法、服务器及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185846A (zh) * 2011-04-26 2011-09-14 深信服网络科技(深圳)有限公司 基于vpn的移动通讯终端安全访问数据的方法及系统
CN103368977A (zh) * 2013-07-31 2013-10-23 华为终端有限公司 网络连接方法及终端设备
CN104486785B (zh) * 2014-12-23 2018-05-29 广东欧珀移动通信有限公司 一种移动终端网络优化的切换方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257416A1 (en) * 2008-04-09 2009-10-15 Ubiquisys Limited Access point
CN101877901A (zh) * 2009-04-28 2010-11-03 华为技术有限公司 网络接入方法、终端设备、服务器及通信系统
CN103338483A (zh) * 2013-07-24 2013-10-02 成都西加云杉科技有限公司 数据分流方法、数据分流设备及异构网络
CN103973800A (zh) * 2014-05-19 2014-08-06 普天信息技术有限公司 一种基于安卓系统的双网卡并存的实现方法
CN105100090A (zh) * 2015-07-10 2015-11-25 努比亚技术有限公司 一种基于内外网分离的通信方法、服务器及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115482A (zh) * 2021-03-31 2021-07-13 影石创新科技股份有限公司 基于安卓系统的终端通讯方法、装置、终端及存储介质
CN115795542A (zh) * 2022-11-30 2023-03-14 江苏欧软信息科技有限公司 一种工业互联网数据隐私保护方法和系统
CN115795542B (zh) * 2022-11-30 2023-10-10 江苏欧软信息科技有限公司 一种工业互联网数据隐私保护方法和系统

Also Published As

Publication number Publication date
CN105100090A (zh) 2015-11-25
CN105100090B (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2017008722A1 (zh) 一种基于内外网分离的通信方法、服务器及系统
WO2017071424A1 (zh) 一种移动终端和分享文件的方法
WO2016058458A1 (zh) 电池电量的管理方法、移动终端和计算机存储介质
WO2016173422A1 (zh) 多屏互动方法及系统
WO2016169480A1 (zh) 移动终端控制方法、装置及计算机存储介质
WO2016173467A1 (zh) 虚拟卡信息的处理方法及系统
CN106844029B (zh) 一种自管理的Android进程冻结和解冻的装置及方法
WO2016173468A1 (zh) 组合操作方法和装置、触摸屏操作方法及电子设备
WO2016169524A1 (zh) 快速调节屏幕亮度的方法和装置、移动终端、存储介质
WO2017071310A1 (zh) 视频通话系统、装置和方法
WO2017020771A1 (zh) 终端控制装置及方法
WO2017071481A1 (zh) 一种移动终端及其实现分屏的方法
WO2017143855A1 (zh) 具有截屏功能的装置和截屏方法
WO2016155431A1 (zh) 终端及其触控操作方法和装置、存储介质
WO2017012385A1 (zh) 快速启动应用的方法、装置和终端
WO2016155509A1 (zh) 移动终端的握持方式判断方法及装置
WO2016188495A1 (zh) 语音切换方法、终端、服务器及系统、存储介质
CN104811865B (zh) 音频输出方法、装置和系统
CN106341817A (zh) 一种门禁控制系统、方法、移动终端和门禁服务器
CN105933452B (zh) 一种信息推送、显示方法和装置
WO2017143854A1 (zh) 一种移动终端及控制音量的方法、计算机可读存储介质
WO2017032118A1 (zh) 来电处理方法、装置及系统
CN110109528B (zh) 应用程序的管控方法、移动终端及计算机可读存储介质
WO2017128898A1 (zh) 移动终端及移动终端的触控操作方法
WO2017113893A1 (zh) 一种搜网的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16823869

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/06/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16823869

Country of ref document: EP

Kind code of ref document: A1