CN105117454A - Device, system and method for accessing web product - Google Patents

Device, system and method for accessing web product Download PDF

Info

Publication number
CN105117454A
CN105117454A CN201510508134.9A CN201510508134A CN105117454A CN 105117454 A CN105117454 A CN 105117454A CN 201510508134 A CN201510508134 A CN 201510508134A CN 105117454 A CN105117454 A CN 105117454A
Authority
CN
China
Prior art keywords
target
equipment
characteristic information
web
information
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
CN201510508134.9A
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201510508134.9A priority Critical patent/CN105117454A/en
Publication of CN105117454A publication Critical patent/CN105117454A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Abstract

The invention provides a device, a system and a method for accessing web products, wherein the device comprises: the setting unit is used for setting various webpage files matched with various characteristic information according to the characteristic information of various devices and configuring corresponding webpage addresses for the various webpage files; the interaction unit is used for acquiring a target access request from the peripheral target equipment, receiving the target webpage address sent by the distribution unit and sending the target webpage address to the peripheral target equipment; the analysis unit is used for analyzing the target access request acquired by the interaction unit and determining target characteristic information of the peripheral target equipment; the distribution unit is used for configuring the corresponding webpage address according to the target characteristic information determined by the analysis unit and each webpage file in the setting unit, distributing the target webpage address corresponding to the target characteristic information, and sending the target webpage address to the interaction unit, so that the corresponding website address can be adapted to different devices.

Description

A kind of device, system and method for accessing web product
Technical field
The present invention relates to communication technical field, particularly a kind of device, system and method for accessing web product.
Background technology
Along with the universal of mobile device and the high speed development of mobile Internet, a lot of user starts mobile device accustomed to using (as mobile phone, panel computer etc.) browsing web website, the mode of mobile device browsing web website: mobile device sends the request obtaining website to server by browser, server end then provides station address to this mobile device.
In existing mobile device, there is certain difference mobile device and all obtain identical station address by browser from acquisition server end, such as: the screen resolution otherness of different mobile device is larger, and for the discrepant mobile device of tool, in the mode of existing this mobile device browsing web website, the mobile device that server end is all resolution provides identical station address, and can not be the different adaptive corresponding station addresses of mobile device.
Summary of the invention
The invention provides a kind of device, system and method for accessing web product, thus be the different adaptive corresponding station addresses of equipment.
Access a device for web product, comprising: setting unit, interactive unit, resolution unit and allocation units, wherein,
Described setting unit, for the characteristic information according to various equipment, arranges the various web page files matched with described various characteristic information, and is the web page address of this each web page files configuration correspondence;
Described interactive unit, obtains target access request for the target device from peripheral hardware, and receives the described target web address of described allocation units transmission, and described target web address is sent to the target device of described peripheral hardware;
Described resolution unit, for resolving the target access request that described interactive unit obtains, determines the target signature information of the target device of described peripheral hardware;
Described allocation units, for the web page address that each web page files configuration in the described target signature information determined according to described resolution unit and described setting unit is corresponding, distribute the target web address corresponding with this target signature information, and this target web address is sent to described interactive unit.
Preferably, the device of above-mentioned access web product comprises further: information bank unit, wherein,
Described information bank unit, for collecting the characteristic information of various equipment;
Described setting unit, is further used for setting up the first regular expression, and this first regular expression is for identifying key message relevant to characteristic information in request of access;
Described resolution unit, for being resolved the key message of target device described in target access request that described interactive unit obtains by described first regular expression, the characteristic information of the various equipment key message of target device and described information bank unit collected contrasts, and determines the target signature information of the target device of described peripheral hardware.
Preferably, described setting unit, is further used for setting up the second regular expression, and this second regular expression is for identifying HTTP header relevant to characteristic information in the user-agent value of browser;
Described resolution unit, the user-agent value of the objective browser run in the target device that the target access request obtained for parsing described interactive unit is carried, according to the title of objective browser and the version number of objective browser in described user-agent value, parsed HTTP header in the user-agent value of described interactive unit acquisition by described second regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header.
Preferably, described characteristic information comprises: in the screen size of the model of equipment, the screen resolution of equipment, equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
Access a system for web product, comprising: the device of above-mentioned access web product described in any one and at least one equipment;
In at least one equipment described, each equipment, for sending target access request to the device of described access web product, and the target web address that this target access request receiving the device transmission of described access web product is corresponding.
Preferably, in at least one equipment described, each equipment all comprises an objective browser run, for providing the user-agent value of the objective browser of the correspondence of described operation, described user-agent value, comprising: the title of browser, the version number of browser and HTTP header;
The device of described access web product, for according to the title of objective browser and the version number of objective browser in described user-agent value, HTTP header in the user-agent value of described interactive unit acquisition is parsed by regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header, and the target web address providing described target signature information corresponding is to the objective browser of the operation in described equipment corresponding to described target signature information.
Preferably, the device of described access web product is installed in server.
Preferably, described equipment is mobile device.
Access a method for web product, according to the characteristic information of various equipment, the various web page files matched with described various characteristic information are set, and be the web page address of this each web page files configuration correspondence; Also comprise:
Obtain the target access request that target device sends;
Resolve described target access request, determine the target signature information of described target device;
According to the described described target signature information determined and web page address corresponding to each web page files described, distribute the target web address corresponding with this target signature information;
Described target web address is sent to described target device.
Preferably, before the various web page files that described setting and described various characteristic information match, comprise further: the characteristic information collecting various equipment, build up information bank; Set up the first regular expression, this first regular expression is for identifying key message relevant to characteristic information in request of access;
The described target access request of described parsing, determine the target signature information of the target device of described peripheral hardware, comprise: the key message of being resolved target device described in described target access request by regular expression, the characteristic information of the various equipment collected in the key message of target device and described information bank is contrasted, determines the target signature information of described target device.
Preferably, said method comprises further: set up the second regular expression, and this second regular expression is for identifying HTTP header relevant to characteristic information in different browsers user-agent value;
The described target access request of described parsing, determine the target signature information of the target device of described peripheral hardware, comprise: the user-agent value of resolving the objective browser run in the target device carried in described target access request, according to the title of objective browser and the version number of objective browser in described user-agent value, parse HTTP header in described user-agent value by described second regular expression, and determine the target signature information of target mobile device described in described HTTP header.
Preferably, described characteristic information comprises: in the screen size of the model of equipment, the screen resolution of equipment, equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
Embodiments provide a kind of device, system and method for accessing web product, the device of this access web product, comprise: setting unit, interactive unit, resolution unit and allocation units, wherein, described setting unit, for the characteristic information according to various equipment, the various web page files matched with described various characteristic information are set, and are the web page address of this each web page files configuration correspondence; Described interactive unit, obtains target access request for the target device from peripheral hardware, and receives the described target web address of described allocation units transmission, and described target web address is sent to the target device of described peripheral hardware; Described resolution unit, for resolving the target access request that described interactive unit obtains, determines the target signature information of the target device of described peripheral hardware; Described allocation units, for the web page address that each web page files configuration in the described target signature information determined according to described resolution unit and described setting unit is corresponding, distribute the target web address corresponding with this target signature information, and this target web address is sent to described interactive unit.The device of this access web product provided by the invention, according to the characteristic information of equipment, for each equipment is provided with corresponding station address, therefore, this device can be the different adaptive corresponding station address of equipment.
Accompanying drawing explanation
A kind of structural representation of accessing the device of web product that Fig. 1 provides for the embodiment of the present invention;
A kind of structural representation of accessing the system of web product that Fig. 2 provides for the embodiment of the present invention;
A kind of schematic flow sheet of accessing the method for web product that Fig. 3 provides for the embodiment of the present invention;
A kind of schematic flow sheet of accessing the method for web product that Fig. 4 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of device of accessing web product, and the device of this access web product, comprising: setting unit 101, interactive unit 102, resolution unit 103 and allocation units 104, wherein,
Setting unit 101, for the characteristic information according to various equipment, arranges the various web page files matched with various characteristic information, and is the web page address of this each web page files configuration correspondence;
Interactive unit 102, obtains target access request for the target device from peripheral hardware, and receives the target web address of allocation units 104 transmission, and target web address is sent to the target device of peripheral hardware;
Resolution unit 103, for resolving the target access request that interactive unit 102 obtains, determines the target signature information of the target device of peripheral hardware;
Allocation units 104, for the web page address that each web page files configuration in the described target signature information determined according to resolution unit 103 and setting unit 101 is corresponding, distribute the target web address corresponding with this target signature information, and this target web address is sent to interactive unit 102.
In an embodiment of the invention, the device of access web product, comprises: information bank unit (not shown) further, wherein,
Described information bank unit, for collecting the characteristic information of various equipment;
Such as: collect each brand mobile phone version of operating system as middle in iphone5, iphone5s, iphone6, Samsung Note3 etc. of each model and the configuration of each brand mobile phone of each model, the version of operating system in the panel computer of each model, the configuration of the panel computer of each model.
Setting unit 101, is further used for setting up the first regular expression, and this first regular expression is for identifying key message relevant to characteristic information in request of access;
Due in request of access about the characteristic information of equipment as the expression way of screen resolution or operating system version etc. may with the expression way of apparatus characteristic information in information bank difference to some extent, so, this first regular expression set up can identify key message relevant to characteristic information in request of access, such as: in request of access, include key message 1, key message 2 and key message 3 etc., by this first regular expression, identify key message 1 identical with characteristic information in information bank 1, key message 2 is identical with characteristic information in information bank 2, and key message 3 is identical with characteristic information in information bank 3 etc.
Resolution unit 103, for being resolved the key message of target device described in target access request that described interactive unit obtains by described first regular expression, the characteristic information of the various equipment key message of target device and described information bank unit collected contrasts, and determines the target signature information of the target device of described peripheral hardware.
In still another embodiment of the process, described setting unit, is further used for setting up the second regular expression, and this second regular expression is for identifying HTTP header relevant to characteristic information in the user-agent value of browser;
Usually include browser title, browser version number and HTTP header etc. in the user-agent value of general browser, this second regular expression can identify HTTP header according to the expression way of HTTP header.
Resolution unit 103, the user-agent value of the objective browser run in the target device that the target access request obtained for parsing described interactive unit is carried, according to the title of objective browser and the version number of objective browser in described user-agent value, parsed HTTP header in the user-agent value of described interactive unit acquisition by described second regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header.
In an alternative embodiment of the invention, above-mentioned characteristic information comprises: in the screen size of the model of equipment, the screen resolution of equipment, equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
As shown in Figure 2, the embodiment of the present invention provides a kind of system of accessing web product, and this system, comprising: the device 201 of above-mentioned any one access web product and at least one equipment 202;
In at least one equipment described, each equipment 202, for sending target access request to the device of described access web product, and the target web address that this target access request receiving the device transmission of described access web product is corresponding.
In an alternative embodiment of the invention, in at least one equipment described, each equipment all comprises an objective browser run, for providing the user-agent value of the objective browser of the correspondence of described operation, described user-agent value, comprising: the title of browser, the version number of browser and HTTP header;
The device of described access web product, for according to the title of objective browser and the version number of objective browser in described user-agent value, HTTP header in the user-agent value of described interactive unit acquisition is parsed by regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header, and the target web address providing described target signature information corresponding is to the objective browser of the operation in described equipment corresponding to described target signature information.
In an embodiment of the invention, the device of described access web product is installed in server.
This server can provide web site.
In another embodiment of the present invention, described equipment is mobile device.
This mobile device can be the mobile phone, panel computer, ipad etc. of various model.
As shown in Figure 3, the embodiment of the present invention provides a kind of method of accessing web product, and the method can comprise the steps:
Step 301: according to the characteristic information of various equipment, arranges the various web page files matched with various characteristic information, and is the web page address of this each web page files configuration correspondence;
Step 302: obtain the target access request that target device sends;
Step 303: resolve target access request, determine the target signature information of target device;
Step 304: the web page address corresponding according to the target signature information determined and each web page files, distributes the target web address corresponding with this target signature information;
Step 305: target web address is sent to target device.
In an embodiment of the invention, in order to can as far as possible intactly for the equipment of all kinds provides corresponding web page address, this method comprises further: the characteristic information collecting various equipment, builds up information bank; In order to identify key message relevant to characteristic information in request of access, this method comprises further: set up the first regular expression, and this first regular expression is for identifying key message relevant to characteristic information in request of access; The embodiment of step 303: the key message of being resolved target device described in described target access request by regular expression, the characteristic information of the various equipment collected in the key message of target device and described information bank is contrasted, determines the target signature information of described target device.
In an embodiment of the invention, in order to the HTTP header relevant to characteristic information can be found more accurately, the method comprises further:: set up the second regular expression, this second regular expression is for identifying HTTP header relevant to characteristic information in different browsers user-agent value; So embodiment of step 303: the user-agent value of resolving the objective browser run in the target device carried in described target access request, according to the title of objective browser and the version number of objective browser in described user-agent value, parse HTTP header in described user-agent value by described second regular expression, and determine the target signature information of target mobile device described in described HTTP header.
In an embodiment of the invention, described characteristic information comprises: in the model of equipment, the screen resolution of equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
As described in Figure 4, for the screen resolution of mobile device and screen size as the characteristic information of equipment, launch explanation, mobile device obtains the process of access websites address by the mode of browser from the device of above-mentioned access web product, namely access the method for web product, it is as follows that the method for this access web product can comprise step:
Step 400: the characteristic information collecting various equipment, builds up information bank;
Such as: the configuration of each brand mobile phone version of operating system as middle in iphone5, iphone5s, iphone6, Samsung Note3 etc. and each brand mobile phone of each model of collecting each model is as screen resolution, screen size, hardware etc., the version of operating system in the panel computer of each model, the configuration of the panel computer of each model.Corresponding relation can be set up for these brands, operating system version, configuration etc. in information bank.In embodiments of the present invention, mainly launch explanation for screen resolution and these two characteristic informations of screen size, if screen resolution is 640 × 480, 1600 × 1200, 1024 × 768 and 1920 × 1080 etc., screen size is 2.8 cun, 3.5 very little, 4.0 very little, 5.0 cun and 7.0 cun etc., these different screen resolutions and different screen size its difference is to some extent required to web page files, by collecting the information about screen resolution and screen size, the corresponding relation of various mobile device as much as possible and screen resolution and screen size can be arranged out.
Step 401: according to screen resolution and the screen size of various equipment, arranges the various web page files matched with screen resolution and screen size;
Such as: use mobile device access Langchao Group official website ( http:// www.inspur.com) time, because this official website is arranged for PC, so, access this official website by mobile device and cause the partial information in official website not checked.
So, in this step, for screen size be 2.8 cun, screen resolution be 640 × 480 mobile phone corresponding web page files is set, include in this web page files http:// www.inspur.comin all information, can by the picture that comprise in this web page files be arranged lower pixel, to make the mobile phone of this low resolution can successfully Show Picture information, less webpage size is set, is all presented on the screen of 2.8 cun to make all the elements; For screen size be 7.0 cun, screen resolution be 1920 × 1080 panel computer to arrange the picture pixels comprised in corresponding web page files higher, content in rational deployment webpage and the size of webpage are more rationally attractive in appearance to make web page files show on this high resolving power, giant-screen.
Step 402: be the web page address that the configuration of this each web page files is corresponding;
Such as: for screen size be 2.8 cun, screen resolution be 640 × 480 web page files configuration webpage address corresponding to mobile phone m2.inspur.com; For screen size be 7.0 cun, screen resolution be 1920 × 1080 web page files configuration webpage address corresponding to panel computer m7.inspur.cometc..
Step 403: set up regular expression, this regular expression is for identifying HTTP header relevant to characteristic information in different browsers user-agent value;
When cell phone is by browser access website, user-agent value is usually included in browser, this user-agent value comprises: the title of browser, the version number of browser and HTTP header, the configuration information of cell phone is usually included in this HTTP header, and the expression way of this configuration information is general and the expression way difference to some extent of characteristic information in information bank, so, the expression way of HTTP header can be converted to the expression way of characteristic information in information bank by the regular expression set up by this step, better to identify the configuration of cell phone.
Step 404: obtain the target access request that target mobile device sends;
This request of access generally to be referred to and is sent by browser.
Step 405: the user-agent value of resolving the objective browser run in the target mobile device carried in target access request;
User-agent value comprises: the title of browser, the version number of browser and HTTP header, the configuration information of cell phone is usually included in this HTTP header, due to the version that different browsers is different with unified view device, certain difference is there is in HTTP header on expressing, this step, after the version number analyzing the title of browser, browser, according to the title of browser, the version number of browser, find the HTTP header in this browser user-agent value.
Step 406: parse HTTP header in user-agent value by regular expression;
Such as: in information bank, the screen size storing i Phone 5 is stored as 1, and screen resolution is stored as 2, after a certain cell phone sends request of access by browser, parses in HTTP header and includes mobile phone brand and model iphone5; So reach expression formula by canonical and iphone5 can be converted to i Phone 5, like this, in information bank, just can search information i Phone 5 corresponding to iphone5.
Step 407: judge whether the characteristic information of the various equipment collected in information bank exists the target signature information identical with HTTP header, if so, then performs step 408, otherwise, perform step 410;
Step 408: the target signature information determining target device;
Step 409: the web page address corresponding according to the target signature information determined and each web page files, distributes the target web address corresponding with this target signature information;
Step 410: target web address is sent to target device, and terminates current process;
Such as: parse in HTTP header and include mobile phone brand and model iphone5s, if there is the information relevant to iphone5s (to be stored as in the mode of list in information bank: mobile phone brand: i Phone 5s in information bank, corresponding screen resolution: 3, corresponding screen size: 4 etc.), so, this iphone5s namely exist the web page address corresponding with its mobile phone screen size and screen resolution as: m5s.inspur.com, then distribute and send m5s.inspur.comto the browser in iphone5s, consult for user.
Step 411: distribute the web page address close with screen size with target mobile device screen resolution to target mobile device.
Such as: parse in HTTP header and include mobile phone brand and model iphone5s, the information relevant to iphone5s is there is not in information bank, and in information bank, the relevant information of i Phone 5 is stored in the mode of list: mobile phone brand: i Phone 5, corresponding screen resolution: 2, corresponding screen size: 1 etc.), find that iphone5s has identical operating system version with apple 5 by contrast, then for this iphone5s distributes and send the web page address of i Phone 5 correspondence m5.inspur.com, consulted by the browser in iphone5s for user.
In addition, in this step, another kind of implementation: when can not find match information, the equipment can telling a certain transmission request of access is cell phone, station address corresponding for any one cell phone already present is sent to the equipment of this transmission request of access.
Scheme provided by the present invention, at least can reach following beneficial effect:
1. the device of access web product that provides of the embodiment of the present invention, comprise: setting unit, interactive unit, resolution unit and allocation units, wherein, described setting unit, for the characteristic information according to various equipment, the various web page files matched with described various characteristic information are set, and are the web page address of this each web page files configuration correspondence; Described interactive unit, obtains target access request for the target device from peripheral hardware, and receives the described target web address of described allocation units transmission, and described target web address is sent to the target device of described peripheral hardware; Described resolution unit, for resolving the target access request that described interactive unit obtains, determines the target signature information of the target device of described peripheral hardware; Described allocation units, for the web page address that each web page files configuration in the described target signature information determined according to described resolution unit and described setting unit is corresponding, distribute the target web address corresponding with this target signature information, and this target web address is sent to described interactive unit.The device of this access web product provided by the invention, according to the characteristic information of equipment, for each equipment is provided with corresponding station address, therefore, this device can be the different adaptive corresponding station address of equipment.
2. the embodiment of the present invention is specially for the model of mobile device, the screen resolution of equipment, in equipment, in type of operating system and equipment, the version number of operating system establishes corresponding web page files, by simplifying the content of website, be easy to mobile device to make web site contents obtain, and be conducive to mobile device operation, simultaneously, because website arranges according to various mobile device, the volume of website or large I mobile device held, so, mobile device is being browsed in webpage process, the lower mobile device of performance mobile device as less in screen can be made still can normally to check web terminal website on the one hand, on the other hand, the effective flow saving access websites, and accelerate the speed of equipment browse webpage.
3. in the prior art, because some web page files are not for mobile device is set up, make mobile device when accessing this kind of website, often can not obtain the full detail of website, mobile terminal equipment is usually met with obstruction when accessing web terminal product, and by scheme proposed by the invention, by setting up corresponding site file and station address for all kinds of mobile device, solve the obstacle of mobile terminal equipment when accessing web terminal product.
4. the embodiment of the present invention passes through the user-agent value of the objective browser run in the target device carried in the request of parsing target access, according to the title of objective browser and the version number of objective browser in this user-agent value, HTTP header in user-agent value is parsed by regular expression, and determine the target signature information of target mobile device in HTTP header, the web page address corresponding according to the target signature information determined and each web page files, distribute the target web address corresponding with this target signature information, thus reach the object optimizing mobile device access web terminal product.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. access a device for web product, it is characterized in that, comprising: setting unit, interactive unit, resolution unit and allocation units, wherein,
Described setting unit, for the characteristic information according to various equipment, arranges the various web page files matched with described various characteristic information, and is the web page address of this each web page files configuration correspondence;
Described interactive unit, obtains target access request for the target device from peripheral hardware, and receives the described target web address of described allocation units transmission, and described target web address is sent to the target device of described peripheral hardware;
Described resolution unit, for resolving the target access request that described interactive unit obtains, determines the target signature information of the target device of described peripheral hardware;
Described allocation units, for the web page address that each web page files configuration in the described target signature information determined according to described resolution unit and described setting unit is corresponding, distribute the target web address corresponding with this target signature information, and this target web address is sent to described interactive unit.
2. device according to claim 1, is characterized in that, comprises further: information bank unit, wherein,
Described information bank unit, for collecting the characteristic information of various equipment;
Described setting unit, is further used for setting up the first regular expression, and this first regular expression is for identifying key message relevant to characteristic information in request of access;
Described resolution unit, for being resolved the key message of target device described in target access request that described interactive unit obtains by described first regular expression, the characteristic information of the various equipment key message of target device and described information bank unit collected contrasts, and determines the target signature information of the target device of described peripheral hardware.
3. device according to claim 1, is characterized in that,
Described setting unit, is further used for setting up the second regular expression, and this second regular expression is for identifying HTTP header relevant to characteristic information in the user-agent value of browser;
Described resolution unit, the user-agent value of the objective browser run in the target device that the target access request obtained for parsing described interactive unit is carried, according to the title of objective browser and the version number of objective browser in described user-agent value, parsed HTTP header in the user-agent value of described interactive unit acquisition by described second regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header.
4., according to the arbitrary described device of claims 1 to 3, it is characterized in that, described characteristic information comprises:
In the screen size of the model of equipment, the screen resolution of equipment, equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
5. access a system for web product, it is characterized in that, comprising: the device of the access web product described in claim 1 is arbitrary to claim 4 and at least one equipment;
In at least one equipment described, each equipment, for sending target access request to the device of described access web product, and the target web address that this target access request receiving the device transmission of described access web product is corresponding.
6. system according to claim 5, is characterized in that,
In at least one equipment described, each equipment all comprises an objective browser run, for providing the user-agent value of the objective browser of the correspondence of described operation, described user-agent value, comprising: the title of browser, the version number of browser and HTTP header;
The device of described access web product, for according to the title of objective browser and the version number of objective browser in described user-agent value, HTTP header in the user-agent value of described interactive unit acquisition is parsed by regular expression, and determine the target signature information of the target mobile device of peripheral hardware described in described HTTP header, and the target web address providing described target signature information corresponding is to the objective browser of the operation in described equipment corresponding to described target signature information.
7., according to the arbitrary described system of claim 5 or 6, it is characterized in that,
The device of described access web product is installed in server;
And/or,
Described equipment is mobile device.
8. access a method for web product, it is characterized in that, according to the characteristic information of various equipment, the various web page files matched with described various characteristic information are set, and be the web page address of this each web page files configuration correspondence; Also comprise:
Obtain the target access request that target device sends;
Resolve described target access request, determine the target signature information of described target device;
According to the described described target signature information determined and web page address corresponding to each web page files described, distribute the target web address corresponding with this target signature information;
Described target web address is sent to described target device.
9. the method for access web product according to claim 8, is characterized in that,
Before the various web page files that described setting and described various characteristic information match, comprise further: the characteristic information collecting various equipment, build up information bank; Set up the first regular expression, this first regular expression is for identifying key message relevant to characteristic information in request of access;
The described target access request of described parsing, determine the target signature information of the target device of described peripheral hardware, comprise: the key message of being resolved target device described in described target access request by regular expression, the characteristic information of the various equipment collected in the key message of target device and described information bank is contrasted, determines the target signature information of described target device;
And/or,
Comprise further: set up the second regular expression, this second regular expression is for identifying HTTP header relevant to characteristic information in different browsers user-agent value;
The described target access request of described parsing, determine the target signature information of the target device of described peripheral hardware, comprise: the user-agent value of resolving the objective browser run in the target device carried in described target access request, according to the title of objective browser and the version number of objective browser in described user-agent value, parse HTTP header in described user-agent value by described second regular expression, and determine the target signature information of target mobile device described in described HTTP header.
10. method according to claim 8 or claim 9, it is characterized in that, described characteristic information comprises:
In the screen size of the model of equipment, the screen resolution of equipment, equipment, equipment in type of operating system and equipment operating system version number in any one or multiple.
CN201510508134.9A 2015-08-18 2015-08-18 Device, system and method for accessing web product Pending CN105117454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510508134.9A CN105117454A (en) 2015-08-18 2015-08-18 Device, system and method for accessing web product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510508134.9A CN105117454A (en) 2015-08-18 2015-08-18 Device, system and method for accessing web product

Publications (1)

Publication Number Publication Date
CN105117454A true CN105117454A (en) 2015-12-02

Family

ID=54665444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510508134.9A Pending CN105117454A (en) 2015-08-18 2015-08-18 Device, system and method for accessing web product

Country Status (1)

Country Link
CN (1) CN105117454A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488453A (en) * 2016-12-07 2017-03-08 上海斐讯数据通信技术有限公司 A kind of method and system of portal certification
WO2019076014A1 (en) * 2017-10-17 2019-04-25 平安科技(深圳)有限公司 Webpage generation method and apparatus, terminal device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488777A (en) * 2013-09-30 2014-01-01 乐视网信息技术(北京)股份有限公司 Method and system for adjusting webpage display effect
CN103500166A (en) * 2013-08-22 2014-01-08 合一网络技术(北京)有限公司 Method for responsive web design with progressive enhancement function
US20140025725A1 (en) * 2012-07-23 2014-01-23 Korea Advanced Institute Of Science And Technology Method and apparatus for moving web object based on intent
CN103631958A (en) * 2013-12-17 2014-03-12 江苏省公用信息有限公司 Method for multi-screen content display in automatic page matching mode
CN103744985A (en) * 2014-01-16 2014-04-23 世纪龙信息网络有限责任公司 Webpage adaption method and webpage adaption system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140025725A1 (en) * 2012-07-23 2014-01-23 Korea Advanced Institute Of Science And Technology Method and apparatus for moving web object based on intent
CN103500166A (en) * 2013-08-22 2014-01-08 合一网络技术(北京)有限公司 Method for responsive web design with progressive enhancement function
CN103488777A (en) * 2013-09-30 2014-01-01 乐视网信息技术(北京)股份有限公司 Method and system for adjusting webpage display effect
CN103631958A (en) * 2013-12-17 2014-03-12 江苏省公用信息有限公司 Method for multi-screen content display in automatic page matching mode
CN103744985A (en) * 2014-01-16 2014-04-23 世纪龙信息网络有限责任公司 Webpage adaption method and webpage adaption system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488453A (en) * 2016-12-07 2017-03-08 上海斐讯数据通信技术有限公司 A kind of method and system of portal certification
WO2019076014A1 (en) * 2017-10-17 2019-04-25 平安科技(深圳)有限公司 Webpage generation method and apparatus, terminal device and medium

Similar Documents

Publication Publication Date Title
US9729499B2 (en) Browser and method for domain name resolution by the same
CN103064863B (en) A kind of method and apparatus that recommendation information is provided
CN104462455B (en) The method for displaying and processing of network data and device
CN104754073A (en) Resource access method and device
CN102663078B (en) Method and equipment for generating to-be-issued information in network community
CN104765746B (en) Data processing method and device for mobile communication terminal browser
CN102624920A (en) Method and device for performing access through proxy server
CN102970348B (en) Network application method for pushing, system and network application server
CN107508903A (en) The access method and terminal device of a kind of web page contents
CN104899220A (en) Application program recommendation method and system
CN101202966A (en) Method, system and apparatus for collecting user information
CN104284250A (en) Video processing method and device, server and client device
CN103246963B (en) Based on the staffs training system of Internet of Things
CN101808114A (en) Method and system for realizing website access and front-end server
CN103440260A (en) Method and equipment used for providing representation information
CN103577447A (en) Method and equipment used for determining page type information of target pages
CN104899236A (en) Comment information display method, comment information display device and comment information display system
CN102651031A (en) Method and equipment for providing searching result
CN105072496A (en) Video comment display method, related equipment and system
CN103577426B (en) For providing the method, apparatus and system of the additional application information that search is suggested
CN102780791A (en) Self-adaption IP (Internet Protocol) method, device and system
CN101354706A (en) Method and apparatus for collecting web page information
CN102222095B (en) Equipment for converting webpage to be displayed and method thereof
CN101924791B (en) Method, device and system for displaying multimedia information
CN104572719A (en) Information collecting 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151202