[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104579900A - VPN switching method and VPN switching device - Google Patents

VPN switching method and VPN switching device Download PDF

Info

Publication number
CN104579900A
CN104579900A CN201510080593.1A CN201510080593A CN104579900A CN 104579900 A CN104579900 A CN 104579900A CN 201510080593 A CN201510080593 A CN 201510080593A CN 104579900 A CN104579900 A CN 104579900A
Authority
CN
China
Prior art keywords
vpn
approach
message
wireless network
current message
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
CN201510080593.1A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510080593.1A priority Critical patent/CN104579900A/en
Publication of CN104579900A publication Critical patent/CN104579900A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a VPN switching method and a VPN switching device. The method comprises the steps of obtaining a current message-transmitting path, transmitting messages via a VPN network when the current message-transmitting path is determined to be the VPN network, and when the current message-transmitting path is determined to be a wireless network, transmitting messages via the wireless network that a terminal accesses. According to the VPN switching method, after the terminal accesses the VPN network, the messages can be transmitted via the VPN network or the wireless network according to the current message-transmitting path set by a user, and therefore, the network access of the user is not restricted by a VPN access policy. Meanwhile, in the whole process, the terminal does not need to be disconnected from a VPN server, and therefore, the VPN switching method is convenient to implement and the Internet surfing experience of the user is enhanced.

Description

VPN switching method and apparatus
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of VPN switching method and apparatus.
Background technology
VPN (Virtual Private Network, VPN (virtual private network)) is the dedicated network set up in common network, can be encrypted communication.It is low that VPN has cost, and be easy to the advantages such as use.
In correlation technique; when after terminal access VPN; all messages all can be sent by VPN; but; usually some access strategies preset can be there are in VPN; these access strategies may limit some message, such as: the message being IPA for object IP address is not forwarded, thus can affect the access to netwoks of user.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of VPN switching method and apparatus.
According to the first aspect of disclosure embodiment, provide a kind of VPN changing method, be applied in the terminal of access VPN, described method comprises:
Obtain current message and send approach;
When determining that described current message transmission approach is VPN, send message by VPN;
When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
Optionally, described acquisition current message sends approach, comprising:
Obtain the key mapping sending the secondary or physical bond of approach for arranging message;
Key mapping determination current message according to described secondary or physical bond sends approach.
Optionally, described acquisition current message sends approach, comprising:
From setting options, obtain default message send approach.
Optionally, describedly send message by VPN, comprising:
First routing table is set to active states, secondary route table is set to not active states;
Wherein, the outgoing interface in described first routing table is VPN interface, and the outgoing interface in described secondary route table is wireless network interface.
Optionally, the described wireless network accessed by terminal sends message, comprising:
First routing table is set to not active states, secondary route table is set to active states.
According to the second aspect of disclosure embodiment, provide a kind of VPN switching device shifter, be applied in the terminal of access VPN, described device comprises:
Approach acquiring unit, sends approach for obtaining current message;
First transmitting element, for when determining that described current message transmission approach is VPN, sends message by VPN;
Second transmitting element, for when determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
Optionally, described approach acquiring unit comprises:
Key mapping obtains subelement, for obtaining the key mapping sending the secondary or physical bond of approach for arranging message;
Approach determination subelement, sends approach for the key mapping determination current message according to described secondary or physical bond.
Optionally, described approach acquiring unit comprises:
Option obtains subelement, sends approach for obtaining default message from setting options.
Optionally, described first transmitting element comprises:
First arranges subelement, for the first routing table is set to active states, secondary route table is set to not active states;
Wherein, the outgoing interface in described first routing table is VPN interface, and the outgoing interface in described secondary route table is wireless network interface.
Optionally, described second transmitting element comprises:
Second arranges subelement, for the first routing table is set to not active states, secondary route table is set to active states.
According to the third aspect of disclosure embodiment, provide a kind of VPN switching device shifter, be applied in the terminal of access VPN, comprise:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain current message and send approach;
When determining that described current message transmission approach is VPN, send message by VPN;
When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The disclosure is not when terminal disconnects VPN connection, and user can select the transmission approach of message by secondary or physical bond, thus makes access to netwoks by the restriction of VPN access strategy, and the online promoting user is experienced.
Disclosure terminal is after access VPN, and the current message that can arrange according to user sends approach, sends message by VPN or wireless network, to make the access to netwoks of user not by the restriction of VPN access strategy.Meanwhile, whole process, does not need the connection of disconnected end and VPN service terminal, and it is convenient to realize, and the online improving user is experienced.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of VPN changing method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart obtaining current message transmission approach and means according to an exemplary embodiment.
Fig. 3 is a kind of application scenarios schematic diagram shown in the disclosure one exemplary embodiment.
Fig. 4 is the block diagram of a kind of VPN switching device shifter according to an exemplary embodiment.
Fig. 5 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Fig. 6 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Fig. 7 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Fig. 8 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Fig. 9 is a kind of structural representation for VPN switching device shifter according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
For the problems referred to above, when after terminal access VPN, if access to netwoks is limited, user manually can disconnect the connection with VPN service terminal, by wireless network accessing Internet to carry out not limited access to netwoks.When user needs the Intranet by VPN access VPN service terminal, need again to connect with VPN service terminal, to access VPN.But such implementation is convenient not, user needs the connection of constantly manually access or disconnection and VPN service terminal.Therefore, the disclosure provides a kind of VPN handover scheme, on the basis not disconnecting VPN connection, can realize the switching between VPN and wireless network.
Fig. 1 is the flow chart of a kind of VPN changing method according to an exemplary embodiment.
Please refer to Fig. 1, described VPN changing method may be used for accessing in the terminal of VPN, includes following steps:
In step S101, obtain current message and send approach.
In the present embodiment, user can arrange message and send approach in terminal, and described message sends approach and comprises: VPN and wireless network.
Please refer to Fig. 2, described acquisition current message sends approach and can comprise the following steps:
In step S1011, obtain the key mapping sending the secondary or physical bond of approach for arranging message.
In the present embodiment, can be provided for arranging the secondary or physical bond that message sends approach in terminal, user can arrange message by described secondary or physical bond according to demand and send approach.For example, the described secondary or physical bond sending approach for arranging message can include two key mappings.Wherein, it is VPN that message corresponding to key mapping sends approach, and it is wireless network that message corresponding to another key mapping sends approach.
In step S1012, the key mapping determination current message according to described secondary or physical bond sends approach.
Based on abovementioned steps S1011, after the key mapping getting the described secondary or physical bond for arranging message transmission approach, in this step, send approach according to the message that the appropriate user of described key mapping is arranged.
Optionally, in another embodiment of the disclosure, the described secondary or physical bond sending approach for arranging message also can be a button, and user can by clicking described secondary or physical bond to realize the setting that message sends approach.Such as: the message transmission approach clicking described secondary or physical bond corresponding is wireless network, the message transmission approach double-clicking described secondary or physical bond corresponding is VPN etc.Certainly, those skilled in the art also can arrange the other forms of secondary or physical bond sending approach for arranging message, and the disclosure does not make particular restriction to this.
This shows, in the present embodiment, when terminal does not disconnect VPN connection, user can select the transmission approach of message by secondary or physical bond, thus makes access to netwoks by the restriction of VPN access strategy, and the online promoting user is experienced.
Optionally, in another embodiment of the disclosure, user also can arrange message by the setting options of terminal and send approach, then, in step S101, the message that terminal can obtain user preset from setting options sends approach.
In step s 102, when determining that described current message transmission approach is VPN, message is sent by VPN.
Based on abovementioned steps S101, terminal is after getting current message transmission approach, if confirming that described current message sends approach is VPN, then send message by VPN, such as: terminal can by controlling the active states of different routing table to realize sending message by VPN or wireless network.
In the present embodiment, terminal access VPN typically refers to terminal and establishes with VPN service terminal and be connected, and receives the address information that VPN service terminal issues.Described address information includes: the IP address of vpn gateway, and the IP internal address that terminal uses required for the Intranet of VPN service terminal.When after terminal access VPN, the routing table for being sent message by VPN can be generated, in the disclosure, this routing table is called the first routing table.Outgoing interface in described first routing table is VPN interface.When the outgoing interface being found message by described first routing table is VPN interface, the described address information that VPN interface can issue according to VPN service terminal encapsulates message, and then is sent by message.Wherein, VPN interface can with reference to the implementation in correlation technique to the encapsulation process of message, and this is no longer going to repeat them for the disclosure.
In the present embodiment, also can be provided with secondary route table in terminal, the outgoing interface of described secondary route table is wireless network interface.When the outgoing interface being found message by described first routing table is wireless network interface, the wireless network of described message by the current access of terminal is sent.Described wireless network can include: WLAN (Wireless Local Area Networks, WLAN (wireless local area network)) network or mobile data network.
Therefore, in this step, by described first routing table is set to active states, described secondary route table can be set to not active states, to realize sending message by VPN.
It should be noted that, in the disclosure, described VPN interface and described wireless network interface are logic interfacing, terminal is when transmission message, no matter be find VPN interface by the first routing table or find wireless network interface by secondary route table, terminal all needs described message to be sent by same physical layer interface.
In step s 103, when determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
Based on abovementioned steps S101, terminal, after getting current message transmission approach, if confirming that described current message sends approach is wireless network, then sends message by wireless network.In this step, by described first routing table is set to not active states, described secondary route table can be set to active states, to realize sending message by wireless network.
Described as can be seen from above, disclosure terminal is after access VPN, and the current message that can arrange according to user sends approach, sends message by VPN or wireless network, to make the access to netwoks of user not by the restriction of VPN access strategy.Meanwhile, whole process, does not need the connection of disconnected end and VPN service terminal, and it is convenient to realize, and the online improving user is experienced.
Below in conjunction with concrete application scenarios, specific implementation process of the present disclosure is described.
Please refer to Fig. 3, Fig. 3 is a kind of application scenarios schematic diagram shown in the disclosure one exemplary embodiment.Suppose, user goes on business in other places, and when the terminal that user uses does not access VPN, can carry out access to netwoks by the wireless network of the current access of terminal, as shown in Figure 3, user can access described service server.
The company at user place provides VPN service, and the terminal used as user and company set up after VPN is connected, and user as company, can pass through the various resources of VPN visited company inside.But the VPN service configuration that company provides has access strategy, and described access strategy comprises: do not allow to access described service server.
In the present embodiment, when user wants to access described service server, secondary or physical bond terminal being used for arrange message transmission approach can be placed in the key mapping of corresponding wireless network, the message that user sends by terminal is sent to described service server by wireless network.When user wants visited company Intranet, secondary or physical bond terminal being used for arrange message transmission approach can be placed in the key mapping of corresponding VPN, the message that user sends is sent to intra-company by VPN by terminal.
In application scenarios illustrated in fig. 3, terminal can adopt the method that shown in earlier figures 1, embodiment of the method provides to realize VPN switching, does not repeat them here.
Corresponding with aforementioned VPN changing method embodiment, the disclosure additionally provides the embodiment of VPN switching device shifter.
Fig. 4 is the block diagram of a kind of VPN switching device shifter according to an exemplary embodiment.
Please refer to Fig. 4, described VPN switching device shifter 400 can be used in the terminal of access VPN, includes: approach acquiring unit 401, first transmitting element 402 and the second transmitting element 403.
Wherein, described approach acquiring unit 401 is configured to: obtain current message and send approach.
Described first transmitting element 402 is configured to: when determining that described current message transmission approach is VPN, send message by VPN;
Described second transmitting element 403 is configured to: when determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
In above-described embodiment, terminal is after access VPN, and the current message that can arrange according to user sends approach, sends message by VPN or wireless network, to make the access to netwoks of user not by the restriction of VPN access strategy.Meanwhile, whole process, does not need the connection of disconnected end and VPN service terminal, and it is convenient to realize, and the online improving user is experienced.
Fig. 5 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Please refer to Fig. 5, this embodiment is on the basis of the embodiment shown in earlier figures 4, and described approach acquiring unit 401 can comprise: key mapping obtains subelement 4011 and approach determination subelement 4012.
Wherein, described key mapping acquisition subelement 4011 is configured to: obtain the key mapping sending the secondary or physical bond of approach for arranging message;
Described approach determination subelement 4012 is configured to: the key mapping determination current message according to described secondary or physical bond sends approach.
In above-described embodiment, when terminal does not disconnect VPN connection, user can select the transmission approach of message by secondary or physical bond, thus makes access to netwoks by the restriction of VPN access strategy, and the online promoting user is experienced.
Fig. 6 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Please refer to Fig. 6, this embodiment is on the basis of the embodiment shown in earlier figures 4, and described approach acquiring unit 401 can also comprise: option obtains subelement 4013.
Described option obtains subelement 4013 and is configured to: from setting options, obtain default message send approach.
Fig. 7 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Please refer to Fig. 7, this embodiment is on the basis of the embodiment shown in earlier figures 4, and described first transmitting element 402 can comprise: first arranges subelement 4021.
Described first arranges subelement 4021 is configured to: the first routing table is set to active states, secondary route table is set to not active states;
Wherein, the outgoing interface in described first routing table is VPN interface, and the outgoing interface in described secondary route table is wireless network interface.
It should be noted that, in the device embodiment shown in above-mentioned Fig. 7 first arranges subelement 4021, also can be included in the device embodiment of earlier figures 5 to Fig. 6, not limit this disclosure.
Fig. 8 is the block diagram of the another kind of VPN switching device shifter according to an exemplary embodiment.
Please refer to Fig. 8, this embodiment is on the basis of the embodiment shown in earlier figures 7, and described second transmitting element 403 can comprise: second arranges subelement 4031.
Described second arranges subelement 4031 is configured to: the first routing table is set to not active states, secondary route table is set to active states.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of VPN switching device shifter, and described device comprises: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to: obtain current message and send approach; When determining that described current message transmission approach is VPN, send message by VPN; When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
Accordingly, the disclosure also provides a kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal, make terminal can perform a kind of VPN changing method, described method comprises: obtain current message and send approach; When determining that described current message transmission approach is VPN, send message by VPN; When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
Fig. 9 is a kind of block diagram for VPN switching device shifter 1000 according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor cluster 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing unit 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Memory 1004 is configured to store various types of data to be supported in the operation of equipment 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1006 is device 1000 provide electric power.Electric power assembly 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1108 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1100 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loud speaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1014 comprises one or more transducer, for providing the state estimation of various aspects for device 1000.Such as, sensor cluster 1014 can detect the opening/closing state of equipment 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of all right checkout gear 1000 of sensor cluster 1014 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the variations in temperature of device 1000 orientation or acceleration/deceleration and device 1000.Sensor cluster 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a VPN changing method, be applied in the terminal of access VPN, it is characterized in that, described method comprises:
Obtain current message and send approach;
When determining that described current message transmission approach is VPN, send message by VPN;
When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
2. method according to claim 1, is characterized in that, described acquisition current message sends approach, comprising:
Obtain the key mapping sending the secondary or physical bond of approach for arranging message;
Key mapping determination current message according to described secondary or physical bond sends approach.
3. method according to claim 1, is characterized in that, described acquisition current message sends approach, comprising:
From setting options, obtain default message send approach.
4. method according to claim 1, is characterized in that, describedly sends message by VPN, comprising:
First routing table is set to active states, secondary route table is set to not active states;
Wherein, the outgoing interface in described first routing table is VPN interface, and the outgoing interface in described secondary route table is wireless network interface.
5. method according to claim 4, is characterized in that, the described wireless network accessed by terminal sends message, comprising:
First routing table is set to not active states, secondary route table is set to active states.
6. a VPN switching device shifter, be applied in the terminal of access VPN, it is characterized in that, described device comprises:
Approach acquiring unit, sends approach for obtaining current message;
First transmitting element, for when determining that described current message transmission approach is VPN, sends message by VPN;
Second transmitting element, for when determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
7. method according to claim 6, is characterized in that, described approach acquiring unit comprises:
Key mapping obtains subelement, for obtaining the key mapping sending the secondary or physical bond of approach for arranging message;
Approach determination subelement, sends approach for the key mapping determination current message according to described secondary or physical bond.
8. method according to claim 6, is characterized in that, described approach acquiring unit comprises:
Option obtains subelement, sends approach for obtaining default message from setting options.
9. method according to claim 6, is characterized in that, described first transmitting element comprises:
First arranges subelement, for the first routing table is set to active states, secondary route table is set to not active states;
Wherein, the outgoing interface in described first routing table is VPN interface, and the outgoing interface in described secondary route table is wireless network interface.
10. method according to claim 9, is characterized in that, described second transmitting element comprises:
Second arranges subelement, for the first routing table is set to not active states, secondary route table is set to active states.
11. 1 kinds of VPN switching device shifters, are applied in the terminal of access VPN, it is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain current message and send approach;
When determining that described current message transmission approach is VPN, send message by VPN;
When determining that described current message transmission approach is wireless network, the wireless network accessed by terminal sends message.
CN201510080593.1A 2015-02-13 2015-02-13 VPN switching method and VPN switching device Pending CN104579900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080593.1A CN104579900A (en) 2015-02-13 2015-02-13 VPN switching method and VPN switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080593.1A CN104579900A (en) 2015-02-13 2015-02-13 VPN switching method and VPN switching device

Publications (1)

Publication Number Publication Date
CN104579900A true CN104579900A (en) 2015-04-29

Family

ID=53095148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080593.1A Pending CN104579900A (en) 2015-02-13 2015-02-13 VPN switching method and VPN switching device

Country Status (1)

Country Link
CN (1) CN104579900A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040057421A1 (en) * 2002-09-19 2004-03-25 Fuji Xerox Co., Ltd. Communications terminal unit and method for controlling the same
CN101132330A (en) * 2007-09-29 2008-02-27 中兴通讯股份有限公司 User access system and method for mobile virtual special network
CN102651895A (en) * 2011-02-23 2012-08-29 上海远动科技有限公司 Real-time switching method and device for VPNs (Virtual Private Networks) and GPRS (General Packet Radio Service) networks
CN202761266U (en) * 2012-07-19 2013-03-06 东华大学 Wireless pulse measuring device with voice broadcast function based on wireless fidelity (WIFI)
CN104008482A (en) * 2014-06-10 2014-08-27 北京奇虎科技有限公司 Mobile terminal and payment method and device based on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040057421A1 (en) * 2002-09-19 2004-03-25 Fuji Xerox Co., Ltd. Communications terminal unit and method for controlling the same
CN101132330A (en) * 2007-09-29 2008-02-27 中兴通讯股份有限公司 User access system and method for mobile virtual special network
CN102651895A (en) * 2011-02-23 2012-08-29 上海远动科技有限公司 Real-time switching method and device for VPNs (Virtual Private Networks) and GPRS (General Packet Radio Service) networks
CN202761266U (en) * 2012-07-19 2013-03-06 东华大学 Wireless pulse measuring device with voice broadcast function based on wireless fidelity (WIFI)
CN104008482A (en) * 2014-06-10 2014-08-27 北京奇虎科技有限公司 Mobile terminal and payment method and device based on mobile terminal

Similar Documents

Publication Publication Date Title
CN104618511A (en) Intelligent device detection method and device
CN105094732A (en) Screen display method and apparatus
CN104468837A (en) Intelligent device binding method and device
CN104640234A (en) Method and device for accessing to wireless network
CN104302014A (en) Method and device for connecting terminal with Wi-Fi hotspot
CN104683938A (en) Configuration method and device for intelligent equipment
CN104853136A (en) Video communication method and device
CN104780155A (en) Method and device for binding equipment
CN105120099A (en) Shooting control method and device
CN105118026A (en) Color gamut mode switching method and device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN105357262A (en) Device control method and device control apparatus
CN105472698A (en) Wireless network access method and device
CN105357734A (en) Method and device used for controlling access to WIFI hot spot
CN105163366A (en) Wireless network connection method and device
CN105208110A (en) Resource control method and device
CN104468329A (en) Member adding method and device based on instant messaging
CN104093216A (en) Method and device for wireless data transmission
CN105162889A (en) Device finding method and apparatus
CN105162668A (en) Connection releasing method and device
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN105578557A (en) Routing information transmission method and device
CN104581667A (en) Call forwarding method and device
CN103986631B (en) Lan device discover method and device

Legal Events

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

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication