CN103458035A - Client configuration interface implementation method based on WEB server - Google Patents

Client configuration interface implementation method based on WEB server Download PDF

Info

Publication number
CN103458035A
CN103458035A CN2013103983575A CN201310398357A CN103458035A CN 103458035 A CN103458035 A CN 103458035A CN 2013103983575 A CN2013103983575 A CN 2013103983575A CN 201310398357 A CN201310398357 A CN 201310398357A CN 103458035 A CN103458035 A CN 103458035A
Authority
CN
China
Prior art keywords
client
web server
mobile device
configuration interface
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103983575A
Other languages
Chinese (zh)
Inventor
熊元星
王金桂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN2013103983575A priority Critical patent/CN103458035A/en
Publication of CN103458035A publication Critical patent/CN103458035A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a client configuration interface implementation method based on a WEB server. The client configuration interface implementation method based on the WEB server comprises the following steps that (1) a WEB process is started, a client request is monitored, (2) the client request is analyzed to judge whether the client request comes from a PC terminal or a mobile device terminal, (3) the WEB server returns a mobile device terminal interface frame HTML file to a client according to the client request coming from the mobile device terminal, (4) the WEB server processes configuration of the client request and obtains parameters. According to the client configuration interface implementation method based on the WEB server, due to the fact that the WEB server is used for analyzing and processing the client request, and providing corresponding configuration interfaces for the client to ensure that the client can easily and rapidly configure a CPE on a mobile device, the purposes that user experience is improved, and the user configuration speed is increased are achieved.

Description

The client configuration interface implementing method of Base on Web server
Technical field
The present invention relates to communication technique field, relate in particular to a kind of client configuration interface implementing method of Base on Web server.
Background technology
Continuous lifting along with economic society and scientific and technological information level, mobile Internet has developed into the new tool of social production, the new platform of scientific and technical innovation, the new support of cultural spreading, the new media of expresses public opinions, the new space of life & amusement, and the Internet is driving conventional industries upgrading transition, serves two change degree of depth fusions, promoting economic growth and social progress.Under the brute force of new technology, new business drives, the development of the new industry situations such as whole world broadband network, mobile Internet, next-generation mobile communications, cloud computing, Internet of Things is promoting ICT industry and is accelerating transition, the situation of industry Vertical Combination, horizontal infiltration is further aggravated, and great development, great change, the large fusion become the industry theme.
Existing mobile Internet development is very flourishing, it is the important component part of the Internet, various terminals, such as the mobile terminals such as various smart mobile phones, panel computer are more and more, most of user uses the Internet by the access way of this broadband internet of Wi-Fi, so may move to the application and service of this end of mobile Internet.
In the link of accessing Internet, an important node is arranged, be exactly internet access terminal CPE.In consistent way, the configuration of CPE is all to bring in relevant parameter is set by PC.For example the WEB UI interface of CPE all is based on desktop system design.Because the screen of PC has been compared greatly much with mobile device, so can configure many parameters in a configuration page, simple is exactly large and complete.When login the configuration interface of CPE from mobile device, the webpage framework is the same with what present on PC, without any difference, but because PC and mobile device screen size differ, will cause the word and the picture that show on mobile device all to dwindle, be merely able to again see the part interface after amplification, be very bad so give user's experience, or even can't on mobile device, configure the parameter of CPE.
Summary of the invention
The object of the present invention is to provide a kind of client configuration interface implementing method of Base on Web server, present the demand of different configuration interfaces to reach different clients.
The objective of the invention is to be achieved through the following technical solutions.
A kind of client configuration interface implementing method of Base on Web server comprises the following steps:
A: start the WEB process, monitor client-requested;
B: analyzing client-requested, is from the PC end or from the mobile device end to judge client-requested;
C: for from the request of mobile device end, the WEB server returns to mobile device end interface framework html file to client;
D:WEB server process user asks configuration, gets parms.
Further preferred, concrete by analyzing User-Agent territory in client browser HTTP head in step b, to judge the HTTP request, be from the PC end or from the mobile device end.
Further preferred, sign ask the visitor in the person's of asking browser type, version, operating system and/or use language message in described User-Agent territory.
Further preferred, in step c, also comprise for asking from the PC end, the WEB server returns to PC end interface framework html file to client.
Further preferred, also be included in structural interface framework html file in the WEB server before step a.
The present invention compared with prior art, beneficial effect is: the client configuration interface implementing method of Base on Web server provided by the invention, by WEB server analyzing and processing user, ask, present corresponding configuration interface to the user, to guarantee that the user also can easily configure fast CPE from mobile device.Promote user's experience thereby reach, improve the purpose of user's configuration speed.
The accompanying drawing explanation
Fig. 1 is the client configuration interface implementing method flow chart that the present invention is based on the WEB server.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to shown in Fig. 1, the present invention is based on the client configuration interface implementing method of WEB server, comprising:
Step 101: start the WEB process, monitor client-requested;
Step 102: analyzing client-requested, is from the PC end or from the mobile device end to judge client-requested;
Particularly, by analyzing User-Agent territory in client browser HTTP head, to judge the HTTP request, be from the PC end or from the mobile device end.
Embodiment:
Be below the related data that client extracts from different browsers send request, specifically can pass through to capture HTTP Receive message in the http communication process:
From browser in WINDOWS (WINDOWS 7)
User-Agent:?Mozilla/5.0?(compatible;?MSIE?9.0;?Windows?NT?6.1;?Trident/5.0)
User-Agent:?Mozilla/5.0?(Windows?NT?6.1;?rv:22.0)?Gecko/20100101?Firefox/22.0
User-Agent:?Mozilla/5.0?(Windows?NT?6.1)?AppleWebKit/537.36?(KHTML,?like?Gecko)?Chrome/27.0.1453.110?Safari/537.36
From browser in mobile device (IOS system)
User-Agent:?Mozilla/5.0?(iPad;U;CPU?OS?6_1?like?Mac?OS?X;?zh-CN;?iPad3,1)?AppleWebKit/534.46?(KHTML,?like?Gecko)?UCBrowser/2.0.1.280?U3/0.8.0?Safari/7543.48.3
User-Agent:?Mozilla/5.0?(iPad;U;CPU?OS?6_1_3?like?Mac?OS?X)?AppleWebKit/534.26?(KHTML,?like?Gecko)?Version/6.0?Mobile/10B329?Safari/8536.25
From browser in mobile device (ANDROID system)
User-Agent:?Mozilla/5.0?(Linux;U;Android?4.0.4;?zh-CN;?MI-ONE?Plus?Build/IMM76D)?AppleWebKit/534.31?(KHTML,?like?Gecko)?UCBrowser/9.1.1.309?U3/0.8.0?Mobile?Safari/5334.31
The above-mentioned HTTP protocol headers can be added User-Agent, and some information that this information can identification request person, as what browser type and version, operating system, are used the information such as language.By analyzing User-Agent territory in top HTTP head, can judge the HTTP request is from the PC end or from mobile device, for example goes up the operating system version in example, browser kernel version and browser type and title etc.
Step 103 ~ step 104: for asking from the PC end, the WEB server returns to PC end interface framework html file to client; For from the request of mobile device end, the WEB server returns to mobile device end interface framework html file to client;
Above-mentioned different interface all is included in the CPE firmware.Html file is presented on the operation interface in face of the terminal use after by browser resolves, and on the html file here and network, most widely used web site document is as broad as long, is a kind of widely used website programming language.Can customize out different interfaces according to client's demand, not repeat them here.
Step 105:WEB server process user asks configuration, gets parms.
Parameter comprises all options that can configure in CPE, and the WAN that for example dials connects the setting of account number cipher.Wireless SSID, the setting of cipher mode etc.Configuration interface from the configuration interface of desktop version to the mobile device version is the variation at an interface, and all configuration parameters that relate to are less than changing.
The client configuration interface implementing method of Base on Web server provided by the invention, by WEB server analyzing and processing user request, present corresponding configuration interface to the user, to guarantee that the user also can easily configure fast CPE from mobile device.Promote user's experience thereby reach, improve the purpose of user's configuration speed.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (5)

1. the client configuration interface implementing method of a Base on Web server, is characterized in that, comprises the following steps:
A: start the WEB process, monitor client-requested;
B: analyzing client-requested, is from the PC end or from the mobile device end to judge client-requested;
C: for from the request of mobile device end, the WEB server returns to mobile device end interface framework html file to client;
D:WEB server process user asks configuration, gets parms.
2. the client configuration interface implementing method of Base on Web server as claimed in claim 1, it is characterized in that, concrete by analyzing User-Agent territory in client browser HTTP head in step b, to judge the HTTP request, be from the PC end or from the mobile device end.
3. the client configuration interface implementing method of Base on Web server as claimed in claim 2, is characterized in that, sign ask the visitor in the person's of asking browser type, version, operating system and/or use language message in described User-Agent territory.
4. the client configuration interface implementing method of Base on Web server as claimed in claim 1, is characterized in that, in step c, also comprises for asking from the PC end, and the WEB server returns to PC end interface framework html file to client.
5. the client configuration interface implementing method of Base on Web server as described as claim 1 or 4, is characterized in that, also is included in structural interface framework html file in the WEB server before step a.
CN2013103983575A 2013-09-05 2013-09-05 Client configuration interface implementation method based on WEB server Pending CN103458035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103983575A CN103458035A (en) 2013-09-05 2013-09-05 Client configuration interface implementation method based on WEB server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103983575A CN103458035A (en) 2013-09-05 2013-09-05 Client configuration interface implementation method based on WEB server

Publications (1)

Publication Number Publication Date
CN103458035A true CN103458035A (en) 2013-12-18

Family

ID=49739977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103983575A Pending CN103458035A (en) 2013-09-05 2013-09-05 Client configuration interface implementation method based on WEB server

Country Status (1)

Country Link
CN (1) CN103458035A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114800A (en) * 2020-09-30 2020-12-22 北京海泰方圆科技股份有限公司 Browser interface processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094281A (en) * 2006-06-22 2007-12-26 株式会社理光 Image processing apparatus, information processing apparatus, server device, display control system and display control method
EP1873673A1 (en) * 2006-03-29 2008-01-02 The Bank of Tokyo-Mitsubishi UFJ, Ltd. User verifying device, method and program
CN101389089A (en) * 2008-11-07 2009-03-18 用友软件股份有限公司 Mobile terminal adaptation processing method and apparatus based on WAP system
CN102065106A (en) * 2009-11-16 2011-05-18 中国电信股份有限公司 Web flow collator, and method and system for accessing Web page by using terminal
CN102497420A (en) * 2011-12-12 2012-06-13 中国电信股份有限公司 Content adaptation method and server
CN103220371A (en) * 2012-01-18 2013-07-24 中国移动通信集团公司 Method and system for conducting content adaptation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1873673A1 (en) * 2006-03-29 2008-01-02 The Bank of Tokyo-Mitsubishi UFJ, Ltd. User verifying device, method and program
CN101094281A (en) * 2006-06-22 2007-12-26 株式会社理光 Image processing apparatus, information processing apparatus, server device, display control system and display control method
CN101389089A (en) * 2008-11-07 2009-03-18 用友软件股份有限公司 Mobile terminal adaptation processing method and apparatus based on WAP system
CN102065106A (en) * 2009-11-16 2011-05-18 中国电信股份有限公司 Web flow collator, and method and system for accessing Web page by using terminal
CN102497420A (en) * 2011-12-12 2012-06-13 中国电信股份有限公司 Content adaptation method and server
CN103220371A (en) * 2012-01-18 2013-07-24 中国移动通信集团公司 Method and system for conducting content adaptation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114800A (en) * 2020-09-30 2020-12-22 北京海泰方圆科技股份有限公司 Browser interface processing method and device

Similar Documents

Publication Publication Date Title
CN103744985A (en) Webpage adaption method and webpage adaption system
CN103067248B (en) A kind of method and device that shows link summary info in instant communication software window
CN102752457B (en) Method and system for installing applications
EP3640849B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
CN104144470B (en) A kind of Bluetooth connecting method and client
US9491682B2 (en) Wireless routing device, mobile terminal, and management system and method
CN104394191A (en) Method, control terminal, and system for remotely controlling mobile terminal
CN103955495B (en) The method for down loading and device of page child resource
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
CN103281460A (en) Method and system for remotely controlling displaying device by mobile terminal
CN103259714A (en) Instant information notification method and device
WO2015196979A1 (en) Web page information presentation method and system
CN103209203A (en) Cross-platform application providing method and client
CN102904765A (en) Method and equipment for data reporting
US20140372500A1 (en) Method and system for sending webpage content with browser bookmark uniform resource locator
CN111258902B (en) Performance test method and performance test system based on SockJS server
CN104639973B (en) Information pushing method and device
CN114465867B (en) Maintenance method and device of server, storage medium and processor
CN107113890A (en) Method and apparatus for device configuration
US20150350346A1 (en) Communication apparatus, control method thereof, and recording medium
CN102256244B (en) Mobile terminal management method, management server, mobile terminal and management system
CN104202432B (en) Remote web management system and management method
US10216466B2 (en) Server side documents generated from a client side image
CN103458035A (en) Client configuration interface implementation method based on WEB server
CN103246501A (en) Method and client-side for sharing application

Legal Events

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

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication