CN105227358B - The setting method and system of network type - Google Patents

The setting method and system of network type Download PDF

Info

Publication number
CN105227358B
CN105227358B CN201510595877.4A CN201510595877A CN105227358B CN 105227358 B CN105227358 B CN 105227358B CN 201510595877 A CN201510595877 A CN 201510595877A CN 105227358 B CN105227358 B CN 105227358B
Authority
CN
China
Prior art keywords
interface
network
secure
application program
network type
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
Application number
CN201510595877.4A
Other languages
Chinese (zh)
Other versions
CN105227358A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510595877.4A priority Critical patent/CN105227358B/en
Publication of CN105227358A publication Critical patent/CN105227358A/en
Application granted granted Critical
Publication of CN105227358B publication Critical patent/CN105227358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Abstract

The present invention relates to a kind of setting method of network type and systems, the method comprise the steps that the system service of Configuration network secure access and its interface list at corresponding record secure access interface;When user enters any interface of application program, search whether that record has the interface of the entrance in the interface list by the system service;If it exists, scheduled secure network is set for the network type that the current interface of the application program accesses network on backstage by the system service.Technical solution of the present invention reduces user's interruption current page operation and goes to be configured network switching, return again to such repetitive operation of page operation, realize automatic setting network type, reduces user's operation, and raising convenience improves user's application experience.

Description

The setting method and system of network type
Technical field
The present invention relates to to-talk internet technical fields, more particularly to the setting method and system of a kind of network type.
Background technique
It in smart machine use, generally requires and uses multiple network, for example, WIFI, data network, bluetooth etc.;This Sample user can according to the actual demand of oneself select corresponding network carry out using.Currently, what is provided on intelligent terminal is used to select The mode of network is selected, every kind of network settings one switch is typically directed to, user is networked by switch operation.
However in actual use, although can be selected by switching simple operations, in the selection of user network type, also Be need to operate to corresponding interface to execute switch control operations, such as, it is generally the case that user prefers using free WIFI network, since current free WIFI lacks uniform service standard and behavioural norm, underlying security ability is often neglected Depending on, and user is increasingly prominent using the security risk of free WIFI, even if using needing to input username and password, there is also Biggish security risk.Hacker can forge WIFI network and steal the system of mobile device, brand and model, take a picture certainly, mailbox All kinds of private datas such as account number cipher.Therefore, for the sake of security, in the networking operations such as in terms of being related to safety, user It can switch to and go to network using safer data network, although system provides very simple switch and goes to be set It sets, but user must interrupt the page operation in current application program, turn to go to be configured network switching, return again to using journey Page operation in sequence, whole process are still larger for user's operation influence, also greatly affected using application program Convenience.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide the setting method and system of a kind of network type, realize Automatic setting network type, reduces user's operation, improves convenience.
A kind of setting method of network type, comprising:
The system service of Configuration network secure access and its interface list at corresponding record secure access interface;
When user enters any interface of application program, being searched in the interface list by the system service is It is no to record the interface for having the entrance;
If it exists, the current interface of the application program is accessed to by the system service on backstage the network class of network Type is set as scheduled secure network.
A kind of setting system of network type, comprising:
Service configuration module, system service and its corresponding record for Configuration network secure access have secure access to interface Interface list;
Interface queries module, when for entering any interface of application program in user, by the system service in institute State the interface for searching whether that record has the entrance in the list of interface;
Network settings module, for if it exists, the application program being worked as prezone on backstage by the system service Interview asks that the network type of network is set as scheduled secure network.
The system service of the setting method and system of above-mentioned network type, first Configuration network secure access and its corresponding note The interface list at record secure access interface, the boundary that the interface list records by having secure access to interface are had secure access to Face, in this way when user enters any interface of application program, by system service in the list of background query interface, if any the interface Record, then directly setting scheduled secure network for its network access type from the background by system service;Reduce in user Disconnected current page operation goes to be configured network switching, returns again to such repetitive operation of page operation, realizes automatic setting Network type reduces user's operation, improves convenience, improves user's application experience.
Detailed description of the invention
Fig. 1 is the setting method flow chart of network type of the invention;
Fig. 2 is the setting method flow chart of the network type of another embodiment of the present invention;
Fig. 3 is the setting system structure diagram of network type of the invention;
Fig. 4 is the setting system structure diagram of the network type of another embodiment of the present invention.
Specific embodiment
A kind of setting method of network type and the embodiment of system of the invention are illustrated with reference to the accompanying drawing.
Refering to what is shown in Fig. 1, Fig. 1 is the setting method flow chart of network type of the invention, mainly include the following steps:
S101, the system service of Configuration network secure access and its interface list at corresponding record secure access interface;
In this step, in the system service of mobile device Configuration network secure access, and its corresponding record safety is configured Access the interface list at interface, the interface list is for needing the interface by secure access in records application program, and system Service can carry out the interface that application program is opened, targeted object is application program herein with resident system backstage Interface, nonusable routine, this reduces the influences to other interfaces of application program access network.
S102, when user enters any interface of application program, through the system service in the interface list Search whether that record has the interface of the entrance;
In this step, any interface of the application program of user's opening is listened in the system service on resident system backstage, Search whether that record has the record at the interface in the list of interface.
S103, and if it exists, the current interface of the application program is accessed on backstage by network by the system service Network type is set as scheduled secure network.
In this step, when system service has found the record interface, application program is being worked as into prezone automatically from the background Interview asks that the network type of network is set as scheduled secure network (generally can be data network), and such user is without interrupting Current page operation goes to be configured network switching, returns again to such repetitive operation of page operation, can be achieved with setting automatically Set network type.
The system service of the technical solution of above-described embodiment, first Configuration network secure access and its corresponding record are visited safely The interface list for asking interface, the interface that the interface list records by having secure access to interface are had secure access to, exists in this way When user enters any interface of application program, by system service in the list of background query interface, if any the interface record, then by System service is directly setting scheduled secure network for its network access type from the background;Reduce user and interrupts current page Operation goes to be configured network switching, returns again to such repetitive operation of page operation, realizes automatic setting network type, subtracts Few user's operation, improves convenience, improves user's application experience.
In one embodiment, refering to what is shown in Fig. 2, the setting method stream of the network type of Fig. 2 another embodiment of the present invention Cheng Tu can also include step S100: the dialog box of Configuration network secure interface setting;It needs to add secure access in user Interface when, by the dialog box by application program when the interface of front opening is added to interface list, and by the interface It is arranged to have secure access to interface.
Further, it can also will be recorded when user needs to delete the interface of secure access by the dialog box Secure access interface in the list of interface is rejected, and the secure access interface is arranged to the boundary of no network access limitation Face.
The technical solution of above-described embodiment, the dialog box being arranged by network security interface, user can arrange toward interface In table add application program interface, and by these interfaces be arranged to have secure access to interface, when do not need secure access interface, Interface list can be removed at any time, will be had secure access to interface and be arranged to the interface that no network access limits.It is thus achieved that making by oneself The function at justice secure access interface.
For example, " setting of network security interface " button can be increased.When clicking setting, open system is serviced on the table A suspended window is popped up, two function buttons " addition " of setting and " deletion " inside suspended window, in arbitrary interface, user can lead to It crosses click " addition " and removes current interface current interface is added to secure access interface or clicks " deletion ", interface list can To be stored in the path "/data/system/priv-settings.xml ".
In one embodiment, the application program is worked as on backstage by prezone by the system service in step S103 Interview asks that the network type of network is set as the process of scheduled secure network, may include as follows:
Obtain the network type of the current interface access network of the application program;If the network type is scheduled peace Whole network maintains current network type to access;Otherwise, network interface setting is called in system background, by the network class Type is switched to the secure network, and when the application program exits current interface, the secure network type is arranged back Former network type.
The technical solution of above-described embodiment, realizes the network type handoff functionality on backstage, and user is using safety net After network, goes to switch back into network switching into former network type without interrupting current page operation, reduce user's operation, it is convenient to improve Property, improve user's application experience.
In one embodiment, in step s 103, if the network type to be switched to the process of the secure network Middle appearance is abnormal, and operational risk prompt is carried out in application program launching;The example scheme avoids operational risk, improves Operational safety.
The advantages of in order to be more clear technical solution of the present invention, names the application example of an actual scene.
In some application programs with payment function, such as wechat, when user needs " financing is logical " using wechat When this payment function, " financing is logical " interface of wechat can be added to secure access interface first, " network is pacified by starting " wechat "-" wallet "-" financing is logical " is then opened in full interface setting ", into after " financing is logical " interface, clicks on suspended window " addition " button, " financing logical " will be added to secure access interface.
After this, it is assumed that user uses wechat under public free WIFI environment, when user enters " financing is logical " boundary In front, system service can find " financing is logical " interface from the list of interface, may determine that wechat uses at this time and exempt from Take WIFI network (unsecured network), the free WIFI network before recording, system service is in Background scheduling network interface, automatically WIFI network is switched to data network (secure network) by network type, carries out the application of payment function, meanwhile, if cutting There is exception during changing to data network, then gives and prompt in application starting, inform that user's operation is risky.Then exist After user exits " financing is logical " interface, system service again automatically switches to data network freely in Background scheduling network interface WIFI network.
Refering to what is shown in Fig. 3, Fig. 3 is the setting system structure diagram of network type of the invention, specifically include that
Service configuration module 101, system service and its corresponding record for Configuration network secure access have secure access to boundary The interface list in face;
Interface queries module 102 is existed when for entering any interface of application program in user by the system service Search whether that record has the interface of the entrance in the interface list;
Network settings module 103, for if it exists, by the system service on backstage by the current of the application program The network type of interface access network is set as scheduled secure network.
The technical solution of above-described embodiment, the system service and its right of 101 Configuration network of service configuration module secure access The interface list for answering record security access interface, what the interface list records by having secure access to interface were had secure access to Interface, such interface queries module 102 is when user enters any interface of application program, by system service in background query circle Its network is then directly being accessed class from the background by system service by network settings module 103 if any the interface record by face list Type is set as scheduled secure network;Reduce user's interruption current page operation to go to be configured network switching, returns again to page Such repetitive operation of face operation realizes automatic setting network type, reduces user's operation, improve convenience, improve use Family application experience.
In one embodiment, refering to what is shown in Fig. 4, Fig. 4 is the setting system of the network type of another embodiment of the present invention Unite structural schematic diagram, can also include:
Interface setup module 100, the dialog box for the setting of Configuration network secure interface;It needs to add safety in user When the interface of access, the interface that application program works as front opening is added to by interface list by the dialog box, and will be described Interface is arranged to have secure access to interface.
Further, the interface setup module 100 is also used to lead to when user needs to delete the interface of secure access It crosses the dialog box to reject the secure access interface being recorded in the list of interface, and the secure access interface is arranged to The interface of no network access limitation.
The technical solution of above-described embodiment, the dialog box that interface setup module 100 is arranged by network security interface are used Family can add the interface of application program into interface list, and these interfaces are arranged to have secure access to interface, when not needing The interface of secure access can remove interface list at any time, will have secure access to interface and be arranged to the interface that no network access limits. It is thus achieved that the function at custom security access interface.
In one embodiment, the setting system of network type of the invention, the network settings module 103, further Current interface for obtaining the application program accesses the network type of network;If the network type is scheduled safety net Network maintains current network type to access;Otherwise, network interface setting is called in system background, the network type is cut It is changed to the secure network, and when the application program exits current interface, former net is arranged back in the secure network type Network type.
The technical solution of above-described embodiment, network settings module 103 realize the network type handoff functionality on backstage, user After having used secure network, goes to switch back into network switching into former network type without interrupting current page operation, reduce user Operation improves convenience, improves user's application experience.
In one embodiment, the setting system of network type of the invention, the network settings module 103, is also used to If there is exception during the network type is switched to the secure network, operation wind is carried out in application program launching Danger prompt;The example scheme, avoids operational risk, improves operational safety.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of setting method of network type characterized by comprising
The system service of Configuration network secure access and its interface list at corresponding record secure access interface;The interface list The object of record is the interface of application program, nonusable routine;
When user enters any interface of application program, search whether to remember in the interface list by the system service Record has the interface of the entrance;
If it exists, the network type that the current interface of the application program accesses network is set on backstage by the system service It is set to scheduled secure network;
Wherein, the step of system service of Configuration network secure access and its corresponding record have secure access to the interface list at interface is wrapped It includes:
In the system service of mobile device Configuration network secure access, and configure the interface column at its corresponding record secure access interface Table, the interface list is for needing the interface by secure access, the system service resident system in records application program From the background, it listens at interface application program opened;
Set pre- for the network type that the current interface of the application program accesses network on backstage by the system service The step of fixed secure network includes:
Obtain the network type of the current interface access network of the application program;
If the network type is not scheduled secure network, network interface setting is called in system background, by the network class Type is switched to the secure network, and when the application program exits current interface, the secure network type is arranged back Former network type.
2. the setting method of network type according to claim 1, which is characterized in that further include:
The dialog box of Configuration network secure interface setting;When user needs to add the interface of secure access, by described right The interface that application program works as front opening is added to interface list by words window, and the interface is arranged to have secure access to interface.
3. the setting method of network type according to claim 2, which is characterized in that further include:
When user needs to delete the interface of secure access, the safety being recorded in the list of interface is visited by the dialog box It asks that interface is rejected, and the secure access interface is arranged to the interface of no network access limitation.
4. the setting method of network type according to claim 1, which is characterized in that by the system service on backstage The step of setting scheduled secure network for the network type of the current interface of application program access network include:
After the network type of current interface access network for obtaining the application program, if the network type is scheduled safety Network maintains current network type to access.
5. the setting method of network type according to claim 1, which is characterized in that if the network type is switched to Occurs abnormal, the progress operational risk prompt in application program launching during the secure network.
6. the setting method of network type according to claim 1, which is characterized in that the scheduled secure network is number According to network.
7. a kind of setting system of network type characterized by comprising
Service configuration module, for the system service of Configuration network secure access and its interface at corresponding record secure access interface List;The object of the interface list records is the interface of application program, nonusable routine;
Interface queries module, when for entering any interface of application program in user, by the system service on the boundary Search whether that record has the interface of the entrance in the list of face;
Network settings module, for if it exists, being visited the current interface of the application program on backstage by the system service Ask that the network type of network is set as scheduled secure network;
The service configuration module is further used for the system service having secure access in mobile device Configuration network, and configures it Corresponding record has secure access to the interface list at interface, and the interface list is for needing to pass through secure access in records application program Interface, system service resident system backstage, the interface opened to application program is listened to;
The network settings module is further used for obtaining the network type of the current interface access network of the application program; If the network type is not scheduled secure network, network interface setting is called in system background, the network type is cut It is changed to the secure network, and when the application program exits current interface, former net is arranged back in the secure network type Network type.
8. the setting system of network type according to claim 7, which is characterized in that further include:
Interface setup module, the dialog box for the setting of Configuration network secure interface;Need to add secure access in user When interface, the interface that application program works as front opening is added to by interface list by the dialog box, and the interface is set It is set to secure access interface.
9. the setting system of network type according to claim 8, which is characterized in that the interface setup module is also used When needing to delete the interface of secure access in user, the secure access in the list of interface will be recorded in by the dialog box Interface is rejected, and the secure access interface is arranged to the interface of no network access limitation.
10. the setting system of network type according to claim 7, which is characterized in that the network settings module, into one Step is used for: after the network type of current interface access network for obtaining the application program, if the network type is scheduled Secure network maintains current network type to access.
CN201510595877.4A 2015-09-17 2015-09-17 The setting method and system of network type Active CN105227358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510595877.4A CN105227358B (en) 2015-09-17 2015-09-17 The setting method and system of network type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510595877.4A CN105227358B (en) 2015-09-17 2015-09-17 The setting method and system of network type

Publications (2)

Publication Number Publication Date
CN105227358A CN105227358A (en) 2016-01-06
CN105227358B true CN105227358B (en) 2019-07-09

Family

ID=54996069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510595877.4A Active CN105227358B (en) 2015-09-17 2015-09-17 The setting method and system of network type

Country Status (1)

Country Link
CN (1) CN105227358B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550365B (en) * 2016-10-27 2020-04-17 深圳市微网力合信息技术有限公司 WIFI network access processing method and terminal
CN106548051A (en) * 2016-10-31 2017-03-29 宇龙计算机通信科技(深圳)有限公司 The management method of private visit pattern, managing device and terminal
CN108702625B (en) * 2017-02-27 2020-08-25 华为技术有限公司 Method, device and terminal for establishing wireless local area network connection
CN107302623A (en) * 2017-05-05 2017-10-27 广东小天才科技有限公司 A kind of collocation method and device of mobile terminal network connected mode
CN109992362B (en) * 2017-12-29 2021-08-13 Oppo广东移动通信有限公司 Application program processing method and device, electronic equipment and computer readable storage medium
CN108093450B (en) * 2018-01-08 2020-04-10 平安科技(深圳)有限公司 Network switching method and terminal equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821992A (en) * 2015-05-25 2015-08-05 广东欧珀移动通信有限公司 Method and device for automatically switching network connection type of mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644365B2 (en) * 2003-09-12 2010-01-05 Cisco Technology, Inc. Method and system for displaying network security incidents
CN109548024B (en) * 2015-05-20 2021-12-21 玉环看知信息科技有限公司 Network security management equipment and method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821992A (en) * 2015-05-25 2015-08-05 广东欧珀移动通信有限公司 Method and device for automatically switching network connection type of mobile phone

Also Published As

Publication number Publication date
CN105227358A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105227358B (en) The setting method and system of network type
CN104424444B (en) Hidden folder processing method, device and terminal
JP6568355B2 (en) Method and apparatus for mutual communication of accounts between apps
CN102968719B (en) Paying server, terminal and payment channel cut-in method
CN103533166B (en) The mode switching method of a kind of mobile terminal and device
CN104125596A (en) Data traffic statistics method and data traffic statistics device
CN105511638B (en) Input method application method and device
CN104902547A (en) WiFi (wireless fidelity) network connection method and WiFi network connection device
CN106909281A (en) One kind application inner boundary changing method and device
CN103389897A (en) Desktop wallpaper setting method and desktop wallpaper setting device
CN105260658A (en) Method and system for setting privacy interface
CN103885858A (en) Method and system for mobile phone backup and data recovery
WO2010148729A1 (en) Method and equipment for deleting data in mobile terminal
CN106325889A (en) Data processing method and device
CN105912138B (en) A kind of input method and device of phrase
WO2017000345A1 (en) Mobile communication method and terminal
CN104516704B (en) Application activation control method and device in multi-screen system and mobile terminal
CN104571781A (en) Multi-application window display method and window management device in Android system
CN108694035A (en) The report management method and device of voice messaging
CN107368235A (en) The multitask switching method and function machine of function machine
KR101885974B1 (en) Method and device for parsing and displaying interface function, and computer storage medium
CN106503062A (en) A kind of social dynamic dissemination method and device, user terminal
CN110532184B (en) Method, device, computer equipment and storage medium for multi-scene simulation response
CN105630596B (en) The control method and its system of the application scenario mode of intelligent terminal
CN105430698B (en) Access network switch 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant