CN103269375A - Method for updating client-side configuration information automatically - Google Patents

Method for updating client-side configuration information automatically Download PDF

Info

Publication number
CN103269375A
CN103269375A CN2013102089104A CN201310208910A CN103269375A CN 103269375 A CN103269375 A CN 103269375A CN 2013102089104 A CN2013102089104 A CN 2013102089104A CN 201310208910 A CN201310208910 A CN 201310208910A CN 103269375 A CN103269375 A CN 103269375A
Authority
CN
China
Prior art keywords
configuration information
client
server
method
php
Prior art date
Application number
CN2013102089104A
Other languages
Chinese (zh)
Inventor
刘晓芸
Original Assignee
厦门亿联网络技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门亿联网络技术股份有限公司 filed Critical 厦门亿联网络技术股份有限公司
Priority to CN2013102089104A priority Critical patent/CN103269375A/en
Publication of CN103269375A publication Critical patent/CN103269375A/en

Links

Abstract

The invention provides a method for updating client-side configuration information automatically. According to the method, the address of a server is configured by a client side, and a mapping table and a PHP file are stored in the server, and the suffix of the PHP file is php. The method for updating the client-side configuration information automatically comprises the following steps: a. the client side sends a request for configuration information update to the server; b. the PHP file acquires the MAC address of the client side from the request after the server receives the request; c. the mapping table is analyzed, and configuration information corresponding to the MAC address of the client side is extracted; d. a reply package is assembled, and the reply package is sent to the client side; e. the client side receives the reply package and analyzes the reply package; f. the configuration information of the client side is updated. According to the method for updating the client-side configuration information automatically, only the configuration information mapping table corresponding to different addresses and the PHP file are placed in the server, the mapping table corresponding to the MAC addresses is analyzed through the PHP file, the configuration information which needs to be updated is obtained, configuration information amount of the server is decreased, and the configuration information is updated automatically and quickly.

Description

一种自动更新客户端配置信息的方法 An automatic method of updating the client configuration information

技术领域 FIELD

[0001] 本发明涉及一种自动更新客户端配置信息的方法。 [0001] The present invention relates to an automated method of updating the client configuration information.

背景技术 Background technique

[0002] VOIP话机都支持通过向服务器请求配置文件,来实现自动更新。 [0002] VOIP phones are supported by a request to the server configuration file to automatically update. 服务器端将统一的配置信息放在com文件中,需要针对不同的话机进行单独配置的配置信息(如账号,IP地址等)放在mac文件中,这样就实现了对所有话机的配置。 The unified server configuration information on the com file, you need to configure a separate configuration information (such as name, IP address, etc.) on the mac files for different phones, thus achieving a configuration for all telephone. 但有个不足之处是,当需要针对不同的话机进行配置时,服务器端需要存放所有话机的mac文件来存储。 But there is a downside is that, when the need to be configured for different phones, the server needs to store all phone mac files to store. 当需要一次性部署几万台话机的服务器来说,工作量太大了。 When the server requires a one-time deployment of tens of thousands of phone, the workload is too heavy.

[0003] 假设现有几万台的话机需要部署,不同话机对应的配置信息不完全同,但是除了用户名和密码之外,其他配置信息一般都相同。 [0003] Suppose an existing telephone need to deploy tens of thousands, of different configuration information corresponding to the phone is not completely the same, but in addition to the user name and password, other configuration are generally the same. 若还是采用以上所述方案,则明显存在冗余的工作量,耗费太多不必要的资源。 If the above scheme is employed, then obviously redundant workload and cost too much unnecessary resources.

发明内容 SUMMARY

[0004] 本发明要解决的技术问题,在于提供一种自动更新客户端配置信息的方法,其减少服务器端配置信息量,提高工作效率,减少工作量。 [0004] The present invention is to solve the technical problem, to provide an automatic method of updating the client configuration information, the server-side configuration which reduces the amount of information, improve efficiency and reduce the workload.

[0005] 本发明是这样实现的: [0005] The present invention is implemented as follows:

一种自动更新客户端配置信息的方法,所述方法包括一用于更新配置信息的服务器,所述客户端配置好所述服务器的地址,所述服务器上存放一对应表和一后缀为Php的PHP文件,所述对应表内记录各MAC地址对应的配置信息;所述方法包括如下步骤: An automatic method of updating the client configuration information, the method comprising a server for updating configuration information, configure the client address of the server, the mapping table storing a suffix on a server and the Php PHP file, each configuration information record corresponding to the MAC address in the table; said method comprising the steps of:

步骤1、客户端向所述服务器发送更新配置信息的请求; Step 1, the client sends a request to update the configuration information to the server;

步骤2、所述服务器收到请求后,所述PHP文件从所述请求中获取客户端的MAC地址; 步骤3、所述PHP文件解析所述对应表,提取所述客户端MAC对应的配置信息; Step 2, after the server receives the request, the file acquisition PHP MAC address of the client from the request; step 3, the PHP parsing the file correspondence table, extracting the configuration information corresponding to the MAC client;

步骤4、所述PHP文件组装回复包,所述回复包内包含所述配置信息,将回复包发送给客户端; Step 4, the document assembly PHP Reply Packet, the reply package that contains the configuration information, the reply packet is sent to the client;

步骤5、所述客户端收到所述回复包,解析回复包,更新客户端的配置信息。 Step 5, the client receives the reply packet, parses the packet reply, update the configuration information for the client.

[0006] 进一步地,所述配置信息为:IP地址,网关,子网掩码,用于网页登入的账号和该账号对应的密码,加密配置更新文件的密钥以及传输方式中的一种或一种以上的任意组 [0006] Further, the configuration information: IP address, gateway, subnet mask, for one kind of web to sign the account corresponding to the account and password, encrypted key and the configuration update file transmission or any one or more of the group

口ο Mouth ο

[0007] 进一步地,所述配置信息为账号和该账号对应的密码。 [0007] Further, the configuration information corresponding to the account to the account and password.

[0008] 进一步地,所述客户端为VOIP话机。 [0008] Furthermore, the client is a VOIP phone.

[0009] 本发明具有如下优点:仅需在服务器放置一份针对不同MAC地址所对应的配置信息的对应表和一份PHP文件,通过PHP文件解析MAC地址对应的对应表,即可获取需要更新的配置信息,避免在服务器端放置多个mac文件,减少服务器端配置信息量,整个自动更新对客户端是透明的,且自动更新速度快。 [0009] The present invention has the following advantages: the server only needs to update the configuration information for placing a different MAC addresses and the correspondence table corresponding to a PHP document file by parsing PHP MAC address correspondence table, can be acquired in configuration information, mac avoid placing a plurality of files on the server side, server-side configuration reduces the amount of information, automatically updated throughout the client is transparent, and automatically update speed. 附图说明 BRIEF DESCRIPTION

[0010] 下面参照附图结合实施例对本发明作进一步的说明。 [0010] The following embodiments with reference to the accompanying drawings in conjunction with embodiments of the present invention will be further described.

[0011] 图1为本发明方法结构示意图。 [0011] FIG. 1 is a schematic structure of the method of the present invention.

具体实施方式 Detailed ways

[0012] 一种自动更新客户端配置信息的方法,所述方法包括一用于更新配置信息的服务器,所述客户端配置好所述服务器的地址,所述服务器上存放一对应表和一后缀为Php的PHP文件,所述对应表内记录各MAC地址对应的配置信息,所述配置信息主要用于客户针对不同的客户端做不同的配置,所述配置信息为:IP地址,网关,子网掩码,用于网页登入的账号和该账号对应的密码,加密配置更新文件的密钥以及传输方式中的一种或一种以上的任意组合;所述PHP文件主要负责响应客户端的请求,响应包的内容来源于通过获悉客户端的MAC地址,读取对应表中该MAC对应的配置信息,作为HTTP响应包的内容发送回给客户端,在本实施例中,所述客户端为VOIP话机;所述方法包括如下步骤: [0012] An automatic update client configuration information, the method comprising a server for updating configuration information, configure the client the address of the server, the mapping table storing a server and a suffix is Php PHP file, each configuration information record corresponding to the MAC address table in the configuration information for the client to do primarily different configurations for different clients, the configuration information: IP address, gateway, sub mask, for passwords, keys, and transmission of one or more of the encrypted configuration file to update the page and sign the account corresponding to the account of any combination thereof; PHP file responsible for the response to the client's request, the contents of the response packet from the MAC address informed by the client, reads the configuration information correspondence table corresponding to the MAC, as the content of the HTTP response packet sent back to the client, in the present embodiment, the client is a VOIP phone ; said method comprising the steps of:

步骤1、客户端向所述服务器发送更新配置信息的请求; Step 1, the client sends a request to update the configuration information to the server;

步骤2、所述服务器收到请求后,所述PHP文件从所述请求中获取客户端的MAC地址; 步骤3、所述PHP文件解析所述对应表,提取所述客户端MAC对应的配置信息; Step 2, after the server receives the request, the file acquisition PHP MAC address of the client from the request; step 3, the PHP parsing the file correspondence table, extracting the configuration information corresponding to the MAC client;

步骤4、所述PHP文件组装回复包,所述回复包内包含所述配置信息,将回复包发送给客户端; 步骤5、所述客户端收到所述回复包,解析回复包,更新客户端的配置信息。 Step 4, the document assembly PHP Reply Packet, the reply comprising configuration information within the packet, the reply packet is sent to the client; Step 5, the client receives the reply packet, parses the packet reply, updating customer end of the configuration information.

[0013] 现以配置信息为账号和该账号对应的密码为例具体说明: [0013] Now an example of the arrangement information corresponding to the account to the account and password specify:

一种自动更新客户端配置信息的方法,所述方法包括一用于更新配置信息的服务器,所述客户端配置好所述服务器的地址,所述服务器上存放一对应表和一后缀为Php的PHP文件,所述对应表内记录各MAC地址对应的配置信息,所述配置信息为账号和该账号对应的密码,以下简称账号和密码;所述方法包括如下步骤: An automatic method of updating the client configuration information, the method comprising a server for updating configuration information, configure the client address of the server, the mapping table storing a suffix on a server and the Php PHP documents, the configuration information record corresponding to each of the MAC addresses in the table corresponding to the configuration information corresponding to the account to the account and password, hereinafter referred to as account number and password; said method comprising the steps of:

步骤1、客户端向所述服务器发送更新配置信息的请求; Step 1, the client sends a request to update the configuration information to the server;

步骤2、所述服务器收到请求后,所述PHP文件从所述请求中获取客户端的MAC地址; 步骤3、所述PHP文件解析所述对应表,提取所述客户端MAC对应的账号和密码; Step 2, after the server receives the request, the file acquisition PHP MAC address of the client from the request; step 3, the PHP parsing the file correspondence table, extracting the corresponding MAC client account and password ;

步骤4、所述PHP文件组装回复包,所述回复包内包含所述账号和密码,将回复包发送给客户端; Step 4, the PHP file Reply Packet assembly, comprising the reply packet within the account and password, the reply packet is sent to the client;

步骤5、所述客户端收到所述回复包,解析回复包,更新客户端的账号和密码。 Step 5, the client receives the reply packet, parses the packet reply, update the client account and password.

[0014] 本发明仅需在服务器放置一份针对不同MAC地址所对应的配置信息的对应表和一份PHP文件,通过PHP文件解析MAC地址对应的对应表,即可获取需要更新的配置信息,避免在服务器端放置多个mac文件,减少服务器端配置信息量,整个自动更新对客户端是透明的,且自动更新速度快。 [0014] In the present invention only places a copy of the server configuration information for different MAC addresses and the correspondence table corresponding to a PHP document file by parsing PHP MAC address correspondence table to acquire the configuration information needs to be updated, avoid placing the plurality mac on the server side, server-side configuration reduces the amount of information, automatically updated throughout the client is transparent, and automatically update speed.

[0015] 虽然以上描述了本发明的具体实施方式,但是熟悉本技术领域的技术人员应当理解,我们所描述的具体的实施例只是说明性的,而不是用于对本发明的范围的限定,熟悉本领域的技术人员在依照本发明的精神所作的等效的修饰以及变化,都应当涵盖在本发明的权利要求所保护的范围内。 [0015] While the above described specific embodiment of the present invention, but skilled in the art in the art will appreciate, our specific embodiments described are illustrative only and are not intended to limit the scope of the present invention, are familiar Those skilled in the art in equivalent modifications and variations in the spirit of the present invention is made, should be encompassed within the scope of the claims of the present invention is protected.

Claims (4)

1.一种自动更新客户端配置信息的方法,其特征在于:所述方法包括一用于更新配置信息的服务器,所述客户端配置好所述服务器的地址,所述服务器上存放一对应表和一后缀为Php的PHP文件,所述对应表内记录各MAC地址对应的配置信息;所述方法包括如下步骤: 步骤1、客户端向所述服务器发送更新配置信息的请求; 步骤2、所述服务器收到请求后,所述PHP文件从所述请求中获取客户端的MAC地址; 步骤3、所述PHP文件解析所述对应表,提取所述客户端MAC对应的配置信息; 步骤4、所述PHP文件组装回复包,所述回复包内包含所述配置信息,将回复包发送给客户端; 步骤5、所述客户端收到所述回复包,解析回复包,更新客户端的配置信息。 An automatic method of updating the client configuration information, characterized in that: said method comprises a server for updating configuration information, configure the client the address of the server, the correspondence table is stored on a server PHP Php file and a suffix of the configuration information record corresponding to each MAC address in the table; said method comprising the following steps: step 1, the client sends a request to update the configuration information to the server; step 2, the later server receives the request, the PHP file acquisition request from the MAC address of the client; step 3, the PHP parsing the file correspondence table, extracting the configuration information corresponding to the MAC client; step 4, the assembling said PHP file reply packet, the reply package that contains the configuration information, the reply packet is sent to the client; step 5, the client receives the reply packet, parses the packet reply, update the configuration information for the client.
2.根据权利要求1所述的一种自动更新客户端配置信息的方法,其特征在于:所述配置信息为:IP地址,网关,子网掩码,用于网页登入的账号和该账号对应的密码,加密配置更新文件的密钥以及传输方式中的一种或一种以上的任意组合。 According to one of the claims 1 to automatically update the client configuration information method, wherein: the configuration information: IP address, gateway, subnet mask, and a web page for the account sign corresponding to the account passwords, keys, and the encrypted transmission mode configuration update files, or any combination of more than one.
3.根据权利要求2所述的一种自动更新客户端配置信息的方法,其特征在于:所述配置信息为账号和该账号对应的密码。 3. A method according to claim 2 The method of automatically updating the client configuration information, wherein: the configuration information corresponding to the account to the account and password.
4.根据权利要求1所述的一种自动更新客户端配置信息的方法,其特征在于:所述客户端为VOIP话机。 According to one of the claims 1 to automatically update the client configuration information method, wherein: said client is a VOIP phone.
CN2013102089104A 2013-05-30 2013-05-30 Method for updating client-side configuration information automatically CN103269375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102089104A CN103269375A (en) 2013-05-30 2013-05-30 Method for updating client-side configuration information automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102089104A CN103269375A (en) 2013-05-30 2013-05-30 Method for updating client-side configuration information automatically

Publications (1)

Publication Number Publication Date
CN103269375A true CN103269375A (en) 2013-08-28

Family

ID=49012984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102089104A CN103269375A (en) 2013-05-30 2013-05-30 Method for updating client-side configuration information automatically

Country Status (1)

Country Link
CN (1) CN103269375A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580398A (en) * 2014-12-22 2015-04-29 北京像素软件科技股份有限公司 Method and device for pushing Internet content and client for presenting Internet content
CN106059844A (en) * 2016-08-17 2016-10-26 洑云龙 Client hot-update method
WO2017140057A1 (en) * 2016-02-17 2017-08-24 中兴通讯股份有限公司 Voip configuration method, terminal, subscriber identity module, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN101123537A (en) * 2007-09-25 2008-02-13 杭州华三通信技术有限公司 Method, system and management server for configuring coaxial cable carrier Ethernet terminal
US20110082921A1 (en) * 2009-10-05 2011-04-07 Vss Monitoring, Inc. Auto-configuration of network captured traffic device
CN102521257A (en) * 2011-11-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for providing corresponding on-line picture according to thumbnail

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN101123537A (en) * 2007-09-25 2008-02-13 杭州华三通信技术有限公司 Method, system and management server for configuring coaxial cable carrier Ethernet terminal
US20110082921A1 (en) * 2009-10-05 2011-04-07 Vss Monitoring, Inc. Auto-configuration of network captured traffic device
CN102521257A (en) * 2011-11-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for providing corresponding on-line picture according to thumbnail

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580398A (en) * 2014-12-22 2015-04-29 北京像素软件科技股份有限公司 Method and device for pushing Internet content and client for presenting Internet content
CN104580398B (en) * 2014-12-22 2018-06-01 北京像素软件科技股份有限公司 A kind of Web content method for pushing, device and Web content displaying client
WO2017140057A1 (en) * 2016-02-17 2017-08-24 中兴通讯股份有限公司 Voip configuration method, terminal, subscriber identity module, and storage medium
CN106059844A (en) * 2016-08-17 2016-10-26 洑云龙 Client hot-update method

Similar Documents

Publication Publication Date Title
EP2335393B1 (en) Connection management for pushing asynchronous messages from servers to clients
US9276957B2 (en) Systems and methods for handling SSL session not reusable across multiple cores
US8745266B2 (en) Transparent layer 2 redirection of request to single sign in service based on applying policy to content of request
US9055068B2 (en) Advertisement of conditional policy attachments
US8205035B2 (en) Systems and methods for integration between application firewall and caching
US9756035B2 (en) Device fingerprint registration for single sign on authentication
US8739265B2 (en) System and method of sort-order preserving tokenization
US8392562B2 (en) Systems and methods for managing preferred client connectivity to servers via multi-core system
US20110153937A1 (en) Systems and methods for maintaining transparent end to end cache redirection
US9215212B2 (en) Systems and methods for providing a visualizer for rules of an application firewall
US9077754B2 (en) Systems and methods for nextproto negotiation extension handling using mixed mode
US9614745B2 (en) Systems and methods for cloud-based probing and diagnostics
US9396330B2 (en) Systems and methods for reducing denial of service attacks against dynamically generated next secure records
US8635367B2 (en) Systems and methods for managing static proximity in multi-core GSLB appliance
EP2601578B1 (en) Systems and methods for cookie proxy management across cores in a multi-core system
US9130970B2 (en) Systems for accelerating content delivery via DNS overriding
JP2014526093A (en) Use native viewer for service results from remote desktop
US20110078333A1 (en) Synchronization of server-side cookies with client-side cookies
US20160301739A1 (en) Endpoint management system providing an application programming interface proxy service
JP2009536377A (en) System and method for accelerating the provision of a computing environment for remote users
US8966603B2 (en) Systems and methods for intercepting and automatically filling in forms by the appliance for single-sign on
US10222926B2 (en) Systems and methods for providing user interfaces for management applications
US9325525B2 (en) Systems and methods for VLAN tagging via cloud bridge
US10356038B2 (en) Shared multi-tenant domain name system (DNS) server for virtual networks
US20160021057A1 (en) Systems and methods to secure a virtual appliance

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)