CN104750529B - Switching method and system for computer internet mode - Google Patents
Switching method and system for computer internet mode Download PDFInfo
- Publication number
- CN104750529B CN104750529B CN201510172768.1A CN201510172768A CN104750529B CN 104750529 B CN104750529 B CN 104750529B CN 201510172768 A CN201510172768 A CN 201510172768A CN 104750529 B CN104750529 B CN 104750529B
- Authority
- CN
- China
- Prior art keywords
- switching
- application program
- push button
- online mode
- button signalling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention provides a kind of switching method and system for computer internet mode, wherein, the switching method is for allowing and forbidding switching between proxy surfing mode, the switching method is the following steps are included: S1, the switching combining key for switching online mode is defined, and the push button signalling of the switching combining key is associated with the application program for being used to switch online mode;S2 monitors inputted push button signalling, judges whether the push button signalling of input is that the push button signalling of switching combining key starts application program in the case where being judged as affirmative;S3, operation application program are switched over the online mode to computer.Technical solution of the present invention can allow by the switching to Macintosh or forbid switching between required online mode, so that many and diverse program is subtracted, more convenient for the user of business type notebook.
Description
Technical field
The present invention relates to computer fields, and in particular, to a kind of switching method for computer internet mode and is
System.
Background technique
So-called agency (Proxy), also referred to as network agent are a kind of special network services, pass through proxy server
It is (general with another network terminal that (Proxy Server) allows a network terminal (generally client) to service by this
For server) carry out indirect connection.The network equipments such as some gateways, router have network agent function.It has been generally acknowledged that
Agency service is conducive to the privacy or safety of Logistics networks terminal, prevents from attacking, raising access speed etc., therefore some enterprises
Intranet resources also could usually be accessed with proxy mode.But access is not constantly required in view of user and needs to act on behalf of
Website, its want access common network when, if be not prohibited by agency setting, it will can not access.User in the prior art
It need to be set when needing every time using VPN with being manually set to implement, such as in following path: control panel/
Internet properties/connect/LAN settings/ agency.The disadvantages of this solution is: the setting page will point step by step
It hits and gets to, step is cumbersome, and trouble is taken time again.
For example, for enterprise customer, when next by portable computer shutting down after, take home and be switched on again, then
The online mode for needing first to cancel agency could go up common network.Moreover, being wanted in the case where need of work accesses internal network
First setting allows the online mode acted on behalf of.Equal work are completed, and are left internal network, are closed the online mode of agency again.Every other day
Working, has arrived enterprise, then by the online mode setting of required agency is " permissions ", will repeat daily same many times manual
Setting operation, thus using upper very inconvenient.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of switching method for computer internet mode, for permitting
Perhaps and forbid switching between proxy surfing mode, the switching method the following steps are included:
S1, defines the switching combining key for switching online mode, and by the push button signalling of the switching combining key be used for
The application program of switching online mode is associated;
S2 monitors inputted push button signalling, judge input push button signalling whether be switching combining key push button signalling,
In the case where being judged as affirmative, start application program;
S3, operation application program are switched over the online mode to computer.
Preferably, before step S1, switching method further include:
S0 compiles the application program for switching online mode.
Preferably, in S1 after " defining the switching combining key for switching online mode " further include:
Switching combining key is written in keyboard Matrix List;
" whether the push button signalling for judging input is switching combining key " further comprises in S2:
S21, judge input push button signalling whether be in keyboard matrix list with switching combining key key believe
Number.
Preferably, the switching combining key " to be associated to " packet in S1 with the application program for being used to switch online mode
It includes:
Compiling can start application program, with the associated subfunction code of switching combining key;
" starting application program " includes: in S2
Subfunction code is sent to application program, to start application program by S22.
Preferably, above-mentioned switching method further include:
The icon for corresponding to current online mode shown in system tray is changed to the online mode after switching by S4
Corresponding icon.
Preferably, S1 and S2 are realized by embedded controller.
Preferably, proxy surfing mode is for accessing Virtual Private Network.
Present invention offer also provides a kind of switching system for computer internet mode, for allowing and forbidding acting on behalf of
It is switched between online mode, which comprises the following modules:
Definition module, is configured to define the switching combining key for switching online mode, and by the switching combining key
Push button signalling is associated with the application program for switching online mode;
Control module comprising monitoring unit, judging unit and start unit, monitoring unit are configured to what monitoring was inputted
Push button signalling, judging unit be configured to judge input push button signalling whether be switching combining key push button signalling, start unit
It is configured in the case where judging unit is judged as affirmative, starts application program;
Switching module is configured to operation application program and is switched over the online mode to computer.
Preferably, above-mentioned switching system further include:
Collector is configured to compile the application program for switching online mode.
Preferably, definition module is additionally configured to cut after " defining the switching combining key for switching online mode "
It changes in Macintosh write-in keyboard Matrix List;
Judging unit be further used for judging input push button signalling whether be in keyboard matrix list with switching
The push button signalling of Macintosh.
Preferably, collector is additionally configured to:
Compiling can start application program, with the associated subfunction code of switching combining key;
Start unit is further configured to subfunction code being sent to application program, to start application program.
Preferably, switching module is additionally configured to the icon for corresponding to current online mode shown in system tray
It is changed to icon corresponding to the online mode after being switched to.
Preferably, definition module and control module are realized by embedded controller.
Preferably, proxy surfing mode is for accessing Virtual Private Network.
The beneficial effect of the present invention compared with the existing technology is:
Switched by Macintosh, can allow or forbid switching between required online mode, to subtract many and diverse
Program, more convenient for the user of business type notebook.
Detailed description of the invention
Fig. 1 is the flow chart according to the switching method for computer internet mode of the embodiment of the present invention;
The flow diagram of Fig. 2 switching method according to an embodiment of the invention;
Fig. 3 is the block diagram according to the switching system for computer internet mode of the embodiment of the present invention.
Specific embodiment
Of the invention is described in detail below in conjunction with attached drawing.It should be noted that the application mentioned in the present invention
Program should be understood as the application program for switching computer online mode." allowing (enable) " agency mentioned in text
Online mode can be understood as " opening " proxy surfing mode, and " forbidding (disable) " proxy surfing mode it also will be understood that
For " closing/cancellation " proxy surfing mode.In addition " the proxy surfing mode " mentioned in text refers to " on agency needed for user
Net mode ".In addition, switching method provided by the present invention can be applied to traditional computer, laptop, tablet computer, hand
Sorts of systems in the terminal devices such as machine and these terminal devices.
According to an embodiment of the invention, a kind of switching method for computer internet mode is provided, as shown in Figure 1,
For according to the flow chart of the switching method for computer internet mode of the embodiment of the present invention.Switching method according to the present invention
For allowing proxy surfing mode and to forbid switching between proxy surfing mode, the switching method the following steps are included:
S1, defines the switching combining key (being referred to as hot key, hotkey) for switching online mode, and by the switching
The push button signalling of Macintosh is associated with the application program for switching online mode, it is preferable that before S1, can also be wrapped
It includes: S0 and compiles the application program for switching online mode;
S2 respectively includes step S21, S22 and S23, wherein S21 monitors inputted push button signalling (that is, using at this time
Push button signalling when family is from the modes inputting combination key such as keyboard or touch screen), S22, judge input push button signalling whether be
The push button signalling of switching combining key, (be determined as be) then implementation steps S23 in the case where being judged as affirmative, that is, starting is answered
It is with program (this sub-step is referred to as hot key event, i.e. hotkey event) if it is determined that fixed no, then terminate;
S3, operation application program are switched over the online mode to computer.That is, if the current feelings to allow agency
Condition is then switched to the online mode for forbidding agency, and vice versa.The switching that online mode can be realized by the above method, mentions
The high experience sense of user.
Moreover it is preferred that S4 can also be increased, by the icon for corresponding to current online mode shown in system tray
Icon corresponding to online mode after being changed to switching.The icon is used to show the mark of current online mode in order to user
Know, which is referred to as Icon, can be used as system icon, software icon etc., and icon extends entitled * .icon, *
.ico.Icon is typically all Icon format those of on common software or windows desktop.Icon is the small of specific type
Bitmap, full-size are 32 × 32 pixels.
First preferred embodiment according to the present invention, introduces " keyboard matrix list (keyboard matrix
Table concept) ", specifically, the preferred embodiment may include: the switching combining key defined for switching online mode, will
In the push button signalling write-in keyboard Matrix List of switching combining key, and by the push button signalling of the switching combining key and it is used for switching
The application program of net mode is associated;Inputted push button signalling is monitored, judges whether the push button signalling of input is keyboard square
In array table with switching combining key (corresponding) push button signalling, in the case where being judged as affirmative, starting apply journey
Sequence;Subsequent step is identical as S3 above, is no longer described in detail.
Second preferred embodiment of the invention can specifically include: define the switching combining for switching online mode
Key, compiling can start application program, with the associated subfunction code of switching combining key (sub function code), from
And be associated the push button signalling of the switching combining key with the application program for being used to switch online mode, what monitoring was inputted presses
Key signals, judgement connect input push button signalling whether be switching combining key push button signalling, in the case where being judged as affirmative, will
Subfunction code is sent to application program, to start application program.Subsequent step is identical as S3 above, no longer in detail
It states.First and second preferred embodiments can be respectively in connection with above step S0, S4 as a technical solution, can also be mutual
It is composed as a technical solution.Above step S1 and S2 can be by embedded controller (Embed Controller, EC)
It realizes.Step S3 is to carry out in application layer, and application layer is to be located at operating system layer (Operating
System layers, OS layers), therefore S3 also can be described as at OS layers.
Preferably, proxy surfing mode is for accessing Virtual Private Network.So-called Virtual Private Network (VPN, Virtual
Private Network), refer to the dedicated network established in common network, encryption communication can be carried out.Vpn gateway is logical
The conversion for crossing encryption and the data packet destination address to data packet also may be implemented to remotely access.Due to above-mentioned advantage,
Extensive application in enterprise network.And switching method according to the present invention, can by allow and forbid agency online mould
Formula is to make enterprise staff easily switch between VPN and common network.
Application in practice according to the present invention, as shown in Fig. 2, for according to the switching method of one embodiment of the present of invention
Flow diagram, Fig. 2 the step of before first carry out preparation, that is, first compiling can switch the application program of online mode, so
Macintosh of the Macintosh of Fn+H to switch online mode is set by EC afterwards, is then defined in keyboard matrix list,
The push button signalling of the switching combining key is associated with the application program for being used to switch online mode simultaneously, that is, compile and be somebody's turn to do
The relevant Q event of the push button signalling of Macintosh (Q event) or scan code (Scan code) are for starting above-mentioned application program.
It may then pass through the switching that following steps realize online mode:
After user's inputting combination key, check whether the push button signalling of the Macintosh of input is that keyboard matrix is arranged using EC
The push button signalling of the Macintosh for switching online mode in table, if it is not, then terminating;If it is determined that being then to enter
Subprogram (call sub function), then by subprogram code (sub function code), i.e., Q thing shown in figure
Part/scan code is sent to corresponding application program.After application program receives code, after the setting before confirming, based on most
Closely primary is set for opposite setting, and is accordingly changed to icon.It is worth noting that, above-mentioned steps respectively with
Family side, embedded controller side and application program side are realized, therefore are respectively divided out in Fig. 2.
According to an embodiment of the invention, a kind of switching system for computer internet mode is additionally provided, for permitting
Perhaps and forbid switching between proxy surfing mode, which comprises the following modules:
Definition module 31, is configured to define the switching combining key for switching online mode, and by the switching combining key
Push button signalling be associated with the application program for switching online mode;
Control module 32 comprising monitoring unit, judging unit and start unit, monitoring unit are configured to monitoring and are inputted
Macintosh push button signalling, judging unit be configured to judge input push button signalling whether be switching combining key push button signalling,
Start unit is configured in the case where judging unit is judged as affirmative, starts application program;
Switching module 33 is configured to operation application program and is switched over the online mode to the computer.
Switching system of the invention can also include: collector, be configured to compile for switching answering for online mode
Use program.
According to one embodiment of present invention, it can be " to define for switching online mode that definition module 31, which also configures,
Switching combining key " after will switching combining key be written keyboard Matrix List in;Judging unit is further used for judgement input
Push button signalling whether be in keyboard matrix list with switching combining key push button signalling.
According to one embodiment of present invention, collector is also configured as: compiling can start application program, with
The associated subfunction code of switching combining key;Start unit is further configured to subfunction code being sent to application program, with
Start application program.
Wherein, switching module 33 is also configured as the figure for corresponding to current online mode shown in system tray
Mark is changed to icon corresponding to the online mode after being switched to.
Wherein, definition module 31 and control module 32 can be realized by embedded controller.Proxy surfing mode can be used
In for access Virtual Private Network.
Above embodiments are only exemplary embodiment of the present invention, are not used in the limitation present invention, protection scope of the present invention
It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention
Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.
Claims (14)
1. a kind of switching method for computer internet mode, which is characterized in that for allowing and forbidding proxy surfing mould
Switched between formula, the switching method the following steps are included:
S1, defines the switching combining key for switching online mode, and by the push button signalling of the switching combining key be used to switch
The application program of online mode is associated;
S2 monitors inputted push button signalling, judge input push button signalling whether be the switching combining key push button signalling,
In the case where being judged as affirmative, start the application program;
S3 is run the application program and is switched over the online mode to the computer.
2. switching method according to claim 1, which is characterized in that before step S1, the switching method further include:
S0 compiles the application program for switching online mode.
3. switching method according to claim 1, which is characterized in that " defined for switching cutting for online mode in S1
Change Macintosh " after further include:
The switching combining key is written in keyboard Matrix List;
" whether the push button signalling for judging input is the switching combining key " further comprises in S2:
S21, judge input push button signalling whether be in the keyboard matrix list with the switching combining key press
Key signals.
4. switching method according to claim 1, which is characterized in that " by the switching combining key and be used for switching in S1
The application program of net mode is associated " include:
Compiling can start the application program, with the associated subfunction code of the switching combining key;
" starting the application program " in S2 includes:
The subfunction code is sent to the application program, to start the application program by S22.
5. switching method according to claim 1, which is characterized in that further include:
It is right to be changed to the online mode institute after switching by S4 for the icon for corresponding to current online mode shown in system tray
The icon answered.
6. switching method according to claim 1, which is characterized in that S1 and S2 are realized by embedded controller.
7. switching method described in any one of -6 according to claim 1, which is characterized in that the proxy surfing mode is used for
Access Virtual Private Network.
8. a kind of switching system for computer internet mode, which is characterized in that for allowing and forbidding proxy surfing mould
It is switched between formula, which comprises the following modules:
Definition module, is configured to define the switching combining key for switching online mode, and by the key of the switching combining key
Signal is associated with the application program for switching online mode;
Control module comprising monitoring unit, judging unit and start unit, the monitoring unit are configured to what monitoring was inputted
Push button signalling, the judging unit be configured to judge input push button signalling whether be the switching combining key push button signalling,
The start unit is configured to start the application program in the case where the judging unit is judged as affirmative;
Switching module, is configured to run the application program and is switched over the online mode to the computer.
9. switching system according to claim 8, which is characterized in that further include:
Collector is configured to compile the application program for switching online mode.
10. switching system according to claim 8, which is characterized in that the definition module is additionally configured to " definition is used for
Switch the switching combining key of online mode " the switching combining key is written in keyboard Matrix List later;
The judging unit be further used for judging input push button signalling whether be in the keyboard matrix list with
The push button signalling of the switching combining key.
11. switching system according to claim 9, which is characterized in that the collector is additionally configured to:
Compiling can start the application program, with the associated subfunction code of the switching combining key;
The start unit is further configured to the subfunction code being sent to the application program, to start the application
Program.
12. switching system according to claim 8, which is characterized in that the switching module is additionally configured to system tray
In the shown icon for corresponding to current online mode be changed to icon corresponding to the online mode after being switched to.
13. switching system according to claim 8, which is characterized in that the definition module and control module are by embedded
Controller is realized.
14. the switching system according to any one of claim 8-13, which is characterized in that the proxy surfing mode is used
In access Virtual Private Network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510172768.1A CN104750529B (en) | 2015-04-13 | 2015-04-13 | Switching method and system for computer internet mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510172768.1A CN104750529B (en) | 2015-04-13 | 2015-04-13 | Switching method and system for computer internet mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104750529A CN104750529A (en) | 2015-07-01 |
CN104750529B true CN104750529B (en) | 2019-05-03 |
Family
ID=53590277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510172768.1A Active CN104750529B (en) | 2015-04-13 | 2015-04-13 | Switching method and system for computer internet mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104750529B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533060A (en) * | 2013-10-17 | 2014-01-22 | 华为技术有限公司 | Processing method and device of local proxy |
CN103823715A (en) * | 2014-02-11 | 2014-05-28 | 亿赞普(北京)科技有限公司 | Mobile terminal, method and device for one-key calling of application programs on mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662527B (en) * | 2008-08-27 | 2012-12-19 | 比亚迪股份有限公司 | Method and system for activating application program of mobile phone |
CN102055638B (en) * | 2009-11-06 | 2013-06-05 | 联想(北京)有限公司 | Network seamless handover device and system and computer terminal |
-
2015
- 2015-04-13 CN CN201510172768.1A patent/CN104750529B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533060A (en) * | 2013-10-17 | 2014-01-22 | 华为技术有限公司 | Processing method and device of local proxy |
CN103823715A (en) * | 2014-02-11 | 2014-05-28 | 亿赞普(北京)科技有限公司 | Mobile terminal, method and device for one-key calling of application programs on mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104750529A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10699026B2 (en) | Internal controls engine and reporting of events generated by a network or associated applications | |
US10110638B2 (en) | Enabling dynamic authentication with different protocols on the same port for a switch | |
US7194690B2 (en) | Remote support for computer or other electronic device | |
CN105247531B (en) | Managed browser is provided | |
KR101745221B1 (en) | Automatic sanitization of data on a mobile device in a network environment | |
CN105592052B (en) | A kind of firewall rule configuration method and device | |
US10454896B2 (en) | Critical infrastructure security framework | |
CN102685136A (en) | Multi-network environment isolation method and terminal | |
KR100918844B1 (en) | Security apparatus and method for all-in-one mobile devices using security profile | |
CN106293355A (en) | The method and apparatus that instant messaging window shows | |
CN106790121A (en) | Power system service network | |
CN111064607A (en) | Management method, device and storage medium of network operation and maintenance system | |
US10057390B2 (en) | Method and system for modifying HTTP request headers without terminating the connection | |
CN108390808B (en) | Communication processing method and device | |
CN106488514B (en) | A kind of dynamic frequency selection method and electronic device | |
CN104750529B (en) | Switching method and system for computer internet mode | |
WO2008038277A2 (en) | A system and a method for secure web browsing using server-based computing configuration | |
CN112511601B (en) | Multi-screen data interaction system and multi-screen data interaction method | |
CN109756539A (en) | A kind of screenshotss control method and relevant device | |
Khondoker et al. | Addressing industry 4.0 security by software-defined networking | |
CN219018828U (en) | Network unidirectional isolation device | |
US20200285776A1 (en) | Asymmetrical system and network architecture | |
US11012419B2 (en) | Systems and methods for management of software connections | |
Solari | Designing for security | |
CN115766200A (en) | Firewall closing method, system, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |