CN107241742B - Network switching dynamic modification application configuration method - Google Patents

Network switching dynamic modification application configuration method Download PDF

Info

Publication number
CN107241742B
CN107241742B CN201710452973.2A CN201710452973A CN107241742B CN 107241742 B CN107241742 B CN 107241742B CN 201710452973 A CN201710452973 A CN 201710452973A CN 107241742 B CN107241742 B CN 107241742B
Authority
CN
China
Prior art keywords
network
configuration
application
type
parameters
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
CN201710452973.2A
Other languages
Chinese (zh)
Other versions
CN107241742A (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.)
GRANDSTREAM NETWORKS Inc
Shenzhen Grandstream Networks Technologies Co ltd
Original Assignee
GRANDSTREAM NETWORKS Inc
Shenzhen Grandstream Networks Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GRANDSTREAM NETWORKS Inc, Shenzhen Grandstream Networks Technologies Co ltd filed Critical GRANDSTREAM NETWORKS Inc
Priority to CN201710452973.2A priority Critical patent/CN107241742B/en
Publication of CN107241742A publication Critical patent/CN107241742A/en
Application granted granted Critical
Publication of CN107241742B publication Critical patent/CN107241742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention mainly discloses a method for dynamically modifying application configuration by network switching, the method can automatically switch the configuration of network parameters, network sensitive parameters in the application and the like according to the connected network type in various applications, and comprises the following steps: step a: performing association configuration and storage on network association configuration and some functional characteristic configuration with larger network influence when an application is used according to the connected network type; step b: when the application is used, matching inquiry is carried out according to the characteristics of the network which is actually connected to, and meanwhile, the matched configuration is applied. The method can realize automatic real-time switching of application configuration according to the network, the application configuration using flow is simplified, so that the application achieves optimal using experience in different network environments.

Description

Network system switching dynamics method for modifying application configuration
Technical Field
The present invention relates to a wireless network technology, and more particularly, to a configuration management technology for a wireless network.
Background
As network technologies are becoming mature, the types of networks to which various network terminals can be connected are diversified, and network environments are also becoming more complex. The development of various applications is convenient for people to use in daily life, and the safety and network characteristics of the network environment in which the applications are operated also draw great attention from users.
The existing applications running on each platform can not actively select to connect to a specific network, and can only be used according to the network to which the device is specifically connected. While making only a relatively simple type distinction for the network to which it is connected-WiFi or cellular networks-and then providing a more singulated association configuration. Such as video-type applications, the opening of the cached data is only based on whether or not it is only in WiFi connection mode. The specific WiFi types are not distinguished, so that when the equipment is connected to a WiFi hot spot in an office network, an applied data caching function is started to load data, and thus network traffic of a company is influenced, and office efficiency is influenced; a payment type application is provided which, there is a high requirement for the security of the network to which it is connected, when the device is connected to a strange network environment. The application cannot detect the security of the network and identify whether to enable/disable the sensitive function, and only can judge the sensitive function by the user and determine whether to use the related function in the application; the server of the enterprise instant messaging service type application can be deployed in a unitized mode. In order to reduce the circulation delay of data interaction between the client and the server on the network, relevant network parameters need to be dynamically changed according to the network type of the self connection. And the media parameters related to the instant messaging service may also need to be adjusted. Since the application cannot dynamically change configuration according to the network to which the device is connected, all parameter modifications can only be manually modified by means of the user.
Based on the above description, each network terminal is connected to different network environments, so as to ensure that the network terminal can smoothly and safely operate normally on the corresponding network environments, and ensure good use experience. It is necessary to make parameter modifications according to network characteristics. However, it is a very tedious task to change the configuration manually according to the network environment, and it is necessary to invent a convenient scheme for dynamically changing the application configuration according to the network switching.
Disclosure of Invention
The invention aims to provide a method for dynamically modifying application configuration by network switching, so that parameter configuration in application modification according to the type and state of an actually connected network is quickly and conveniently realized.
In order to achieve the above object, the present invention has the following technical scheme:
a method for dynamically modifying application configuration of network switching can automatically switch network parameters and network sensitive parameter configuration according to connected network information in application, and mainly comprises the following steps: (1) And constructing a configuration template according to the service characteristics of the application and the parameters of related service functions with larger influence on the network environment in actual use. The template is required to support modification for the user to add relevant configurations of interest in actual use, removing negligible configuration options. (2) After the user completes configuration according to the template, the application adopts a database or configuration file mode. And taking the connected network WiFi SSID or the cellular network type as a main query main key to save the configuration of the user. (3) When a device connects to a network, an application uses the interface provided by the system to perform type detection on the connected network. Inquiring in the stored data according to the detection result, and applying the configuration according to the inquiry result. The operating system for the application running comprises the existing Android, IOS, windows Phone and other mobile terminal operating systems and Linux, MAC, windows PC platform operating systems.
The network parameters are parameters of the type directly related to the network, such as: server address, intranet address or public network address; a DNS server; whether NAT is enabled, etc.
The network sensitive shape parameter is a parameter which needs to be adjusted by factors such as network type, network speed and the like, such as code rate, resolution and the like in video call.
In order to reduce the network type of the connection caused by frequent switching, the related parameters and the network type association relation of the parameters need to be repeatedly configured. A generic default configuration type is provided for default use with the one-time connected network. And meanwhile, a function of one-key setting copy is required to be provided for quickly copying the configuration content of which the existing setting is similar to the state of the existing connection network. The general default configuration function and the one-key setting copy function can be supplemented to more conveniently perform parameter setting, network switching automatic configuration replacement and user experience is improved.
The method can realize the application configuration of automatically detecting the connection of the mobile terminal and automatically switching the user tendency, thereby achieving the purpose of improving the user experience of the application.
Drawings
Fig. 1 is an example of a configuration template for a VoIP soft phone in an embodiment of the present invention;
fig. 2 is a flow chart of network switching connection in an embodiment of the invention;
FIG. 3 is a flow chart of data processing during network change in an embodiment of the invention.
Detailed Description
The basic principle of the invention is that the network type is used as a query main key, the network type and the application parameters are associated and managed, and the network type and the application parameters are stored in a database or configuration file mode. In actual use, inquiring is carried out according to the specific network type and the data stored in the application, and the configuration is applied according to the inquiring result.
To make the objects, technical solutions and advantages of the present invention more apparent, the following description will be given by way of example only with respect to VoIP softphone applications. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is an example of a configuration template for a VoIP soft phone in an embodiment of the present invention. Figure 1 shows that the application of the VoIP softphone gives a configuration template according to some basic parameters that need to be configured in different network modes depending on the specific service.
The configuration template includes basic configuration parameters of the VoIP softphone in normal use:
network parameter configuration: the parameters need to decide to fill in the local area network address or public network address of the specific server according to the type of the network. Meanwhile, if the server is in the public network and the mobile terminal is in the local area network, the necessary STUN server needs to be configured to solve the network penetration problem.
Video media parameters: the parameters determine the video media attributes such as the video resolution, the network bandwidth and the like which are negotiated and established during the video call. The parameters need to consider how the network bandwidth of the terminal is correspondingly adjusted so as to control the call video quality, so that the fluency of video call is ensured. Meanwhile, if the video call needs to consider the network traffic problem, the video call needs to be correspondingly adjusted.
The configuration template is set according to the relevant service characteristics of the application, so that a user can conveniently configure and maintain the configuration template.
Fig. 2 is a flow chart of network switch connection in an embodiment of the invention. As shown in the figure, the network switching process mainly comprises the following operation steps:
step S210: and adding a network type/application configuration parameter association relation, saving the application, establishing a related configuration file, saving the association relation to a configuration file or a database, and saving by taking the network type as a query main key when the configuration is saved.
At this time, the network type, the configuration associated with the network when the application is used, and some functional characteristic configurations with larger network influence need to be associated and configured and stored. In this example, the VoIP application is configured by the user according to the configuration template of fig. 1, and the user configuration is stored in a configuration file after being completed and stored. And simultaneously generating a matching data table, and taking the network type as a query main key.
Step S220: and connecting to a network for network type detection. The network types referred to herein, including the WiFi SSID to which they are connected, the cellular network type, etc.
Step S230: and performing network query judgment, namely performing data matching judgment by taking the network type characteristic as a query main key. The user may make a matching query to make initial configuration item settings based on the characteristics of the network type to which the application may actually be connected when the application is first used. The query mode refers to querying the configuration file or the database. In this example, the VoIP application queries the data table generated in step S210 with the acquired network type as a primary key, and acquires a configuration file for application.
Step S240: and taking the data according to the query result.
Step S250: no data is queried and the default configuration data is used for taking.
When the platform on which the application is running is connected to a certain unsaved network type to take a default configuration, the following should be provided: firstly, giving a prompt according to the current network type to inform an application to perform parameter setting in a default configuration or according to the default configuration; and secondly, if the setting adjustment is selected according to the default configuration, the configuration template selects the network type and fills in the corresponding network type parameter, and meanwhile, the parameter in the template is correspondingly filled in according to the default configuration, so that the configuration and modification of a user are facilitated. In addition, the user can select to edit the template, delete existing parameters from the existing template, and select to add related parameters outside the template from the application. So as to meet the diversified demands of users on application configuration and use.
The whole operation described above represents the basic flow of the present invention when applied. After the user sets up the configuration template built according to the service body of the application like in fig. 1, the data is saved for application. When the terminal is connected to a specific network, the application automatically acquires the network type and inquires the stored configuration information. The method and the device are used according to the acquired query result, so that the purpose of dynamically adjusting the application parameters according to the network type is achieved, the configuration is modified to the greatest extent, and the user experience is improved.
The disclosed aspects of the invention are not specific to a particular application or platform, but are generally directed to data storage. Data preservation for IOS applications is diverse: the interface can be called to write the data into the cache, write the data into the disk in the form of a file, construct a database for storage and the like. Our VoIP soft terminal is stored in profile, which is not necessarily the case for other APPs.
FIG. 3 is a flow chart of data processing during network change in an embodiment of the invention. As shown by the figure, the data processing mainly includes the following operations when the network configuration changes or the network changes dynamically during use:
step S310: the judgment is made as to the type of addition/deletion step S320.
Step S320: deleting the existing configuration requires synchronized retrieval of the stored data. And searching corresponding associated data, and deleting the corresponding associated data from the application configuration management data structure. In an embodiment, the database is searched according to the network type to find the corresponding configuration file. The corresponding network type is deleted from the database, while the corresponding configuration file is deleted.
Step S330: adding network configuration, a configuration template or default configuration should be provided for the user to quickly configure and save.
Step S340: when judging that the network dynamic change exists, the application can rapidly detect the connected network type.
Step S350: and judging the connected network type as the existing configuration network type.
Step S360: if the configuration is the saved configuration, the configuration is automatically switched for use
Step S370: if the network is connected for the first time, a configuration template is provided for configuration preservation, or a default configuration is selected for use.
When the user deletes the configured network type, the application needs to use default configuration according to whether the currently stored data contains default configuration data or not, and if yes, the default configuration should be used. And if not, temporarily using the current configuration, and then carrying out data matching and replacing configuration when the current configuration is connected to a specific network. And the network changes in the using process, data matching should be immediately performed and the data should be applied. In the actual application scenario, an appropriate time should be selected to configure the application according to the current state of the application. In the VoIP application in the embodiment, if the call is performed during the network handover, the configuration handover should be performed after the call is ended. The network switching is ensured not to influence the call and the application main body function.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1. A method for dynamically modifying application configuration of network switching, which can automatically switch network parameters and network sensitive parameter configuration according to connected network information in application,
the method comprises the following steps:
step a: constructing a configuration template, wherein the configuration template comprises basic parameter configuration, and the basic parameter configuration comprises network parameter configuration and video media parameter configuration; the network type and the configuration related to the network when the application is used and some functional characteristic configurations affecting the network are related and configured and stored;
step b: when the VoIP soft telephone is used, matching inquiry is carried out according to the characteristics of the network type which is actually connected, and the application is carried out after configuration switching;
wherein, the network parameter at least comprises one of server address, intranet address or public network address, DNS server, and NAT parameter; the network sensitive type parameter at least comprises one of code rate and resolution.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
in the step a: wherein the relevant configuration of the construction configuration template comprises relevant parameters which can be set by a user and influence the application characteristics besides the relevant basic configuration of the network in the application.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the configuration template comprises: the configuration of network parameters, which is to determine to fill in the following parameters according to the type of the network: server address, intranet address or public network address; a DNS server; whether NAT is enabled.
4. The method of claim 3, wherein the step of,
the configuration template further comprises: the video media parameters are correspondingly adjusted by considering the network bandwidth of the terminal so as to control the call video quality, including the code rate and the resolution in the video call.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
the step b comprises the following steps: and connecting to a network, and detecting the network type, wherein the network type comprises a WiFi SSID and a cellular network.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
said step b further comprises: network inquiry judgment, namely judging data matching by taking the network type characteristics as inquiry main keys; and taking the data according to the query result.
7. The method of claim 6, wherein the step of providing the first layer comprises,
the network query is judged as a way of querying a database or a configuration file.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
when a network configuration changes or a network changes, the configuration switch includes: if the network type connected to the network type is judged to be the existing configuration network type, automatic switching configuration is carried out; if a connection is made to the network type for the first time, the configuration template is provided for configuration saving or a default configuration is selected for application.
9. The method of claim 8, wherein the step of determining the position of the first electrode is performed,
the configuration switch needs to be performed at a proper time, and in the VoIP softphone application, the configuration switch should be performed after the call is ended.
10. The method of claim 9, wherein the step of determining the position of the substrate comprises,
the VoIP soft phone stores data in a profile mode.
CN201710452973.2A 2017-06-15 2017-06-15 Network switching dynamic modification application configuration method Active CN107241742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710452973.2A CN107241742B (en) 2017-06-15 2017-06-15 Network switching dynamic modification application configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710452973.2A CN107241742B (en) 2017-06-15 2017-06-15 Network switching dynamic modification application configuration method

Publications (2)

Publication Number Publication Date
CN107241742A CN107241742A (en) 2017-10-10
CN107241742B true CN107241742B (en) 2024-02-02

Family

ID=59986354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710452973.2A Active CN107241742B (en) 2017-06-15 2017-06-15 Network switching dynamic modification application configuration method

Country Status (1)

Country Link
CN (1) CN107241742B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355613B (en) * 2020-03-01 2023-04-18 南京汉隆科技有限公司 Operator configuration switching method and system applied to embedded network phone
CN111314489B (en) * 2020-03-19 2022-04-01 腾讯科技(深圳)有限公司 Method, server and device for identifying type of access network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630233A (en) * 2003-12-18 2005-06-22 联想(北京)有限公司 Automatic network setting method and system for computer
CN1744744A (en) * 2005-10-14 2006-03-08 中国移动通信集团公司 Mobile terminal service quality parameter mapping method
CN101035016A (en) * 2007-02-08 2007-09-12 中兴通讯股份有限公司 Terminal equipment configuration system and method
CN102055645A (en) * 2009-11-11 2011-05-11 上海贝尔股份有限公司 Method and device for automatically classifying IP service data streams in access network
CN102365554A (en) * 2009-01-28 2012-02-29 海德沃特合作I有限公司 Network based service policy implementation with network neutrality and user privacy
CN102769551A (en) * 2012-07-02 2012-11-07 深信服网络科技(深圳)有限公司 Method and system for evaluating network quality and optimizing network
CN102984158A (en) * 2012-12-04 2013-03-20 优视科技有限公司 VOIP network switching method, system and device
CN105323190A (en) * 2014-08-05 2016-02-10 深圳市潮流网络技术有限公司 Communication service automatic switching method, server and communication terminal
CN106559508A (en) * 2015-09-29 2017-04-05 深圳市潮流网络技术有限公司 A kind of automatic switching method of server public affairs private network IP address

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630233A (en) * 2003-12-18 2005-06-22 联想(北京)有限公司 Automatic network setting method and system for computer
CN1744744A (en) * 2005-10-14 2006-03-08 中国移动通信集团公司 Mobile terminal service quality parameter mapping method
CN101035016A (en) * 2007-02-08 2007-09-12 中兴通讯股份有限公司 Terminal equipment configuration system and method
CN102365554A (en) * 2009-01-28 2012-02-29 海德沃特合作I有限公司 Network based service policy implementation with network neutrality and user privacy
CN102055645A (en) * 2009-11-11 2011-05-11 上海贝尔股份有限公司 Method and device for automatically classifying IP service data streams in access network
CN102769551A (en) * 2012-07-02 2012-11-07 深信服网络科技(深圳)有限公司 Method and system for evaluating network quality and optimizing network
CN102984158A (en) * 2012-12-04 2013-03-20 优视科技有限公司 VOIP network switching method, system and device
CN105323190A (en) * 2014-08-05 2016-02-10 深圳市潮流网络技术有限公司 Communication service automatic switching method, server and communication terminal
CN106559508A (en) * 2015-09-29 2017-04-05 深圳市潮流网络技术有限公司 A kind of automatic switching method of server public affairs private network IP address

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周振宇.网络多媒体会商系统的设计与实现.《中国优秀硕士学位论文全文数据库 信息科技辑》.2013,全文. *
徐继红 ; .希尼尔水库异构网络水情监测智能网关的应用.《水利规划与设计》.2016,2016年(第05期),全文. *
曾伟良.时段差异化网络参数动态配置研究.《无线互联科技》.2016,2016年(第08期),全文. *

Also Published As

Publication number Publication date
CN107241742A (en) 2017-10-10

Similar Documents

Publication Publication Date Title
KR101442168B1 (en) Method for Displaying a Other Party's Terminal Information by Using the Presence and Mobile Terminal Thereof
WO2017092678A1 (en) Network switching method for terminal, and terminal device
CN107197507B (en) Method and device for controlling network link and mobile terminal
CN103200601B (en) The fat or thin mode switching method of WAP
US20050254435A1 (en) Method and system for selecting network connections in a multi-network environment
EP3468260B1 (en) Method and device for reducing power consumption of terminal, and smart card
US10356834B2 (en) Method and user equipment for reestablishing RRC connection
CN107182113B (en) Networking control method and device of multi-mode mobile terminal and mobile terminal
CN101194443B (en) Terminal, method and system for performing combination service using terminal capability version
CN113348697B (en) Wireless communication method, device and system
CN103533592B (en) Multimode terminal and communication means
CN103795847A (en) Method for applying traceless mode to communication terminal and communication terminal
CN103488307B (en) A kind of method, system and mobile terminal for adjusting input method
CN107241742B (en) Network switching dynamic modification application configuration method
WO2011029344A1 (en) Method and system for automatic answering based on intelligent network
US8918489B2 (en) Mobile device, storage medium, and method for automatically connecting the mobile device to server
WO2018157584A1 (en) Calling method and terminal
JP2010514321A (en) System, method, apparatus and computer program product for providing content selection in a network environment
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN112040057B (en) Device control method, device, electronic device, control system and storage medium
FR2886802A1 (en) Multimedia service accessing method for e.g. personal digital assistant, involves determining service identifier associated to call number in look-up table having call numbers associated to service identifiers, after validating call number
CN113242399B (en) Call switching method, device, terminal and computer readable storage medium
CN102215459B (en) Method for maintaining multimedia messaging service (MMS) continuity and mobile terminal
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN109842514A (en) A method of modification application configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant