CN103997492B - A kind of adaption system and method - Google Patents

A kind of adaption system and method Download PDF

Info

Publication number
CN103997492B
CN103997492B CN201410211983.3A CN201410211983A CN103997492B CN 103997492 B CN103997492 B CN 103997492B CN 201410211983 A CN201410211983 A CN 201410211983A CN 103997492 B CN103997492 B CN 103997492B
Authority
CN
China
Prior art keywords
version
client
module
total score
analysis
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
CN201410211983.3A
Other languages
Chinese (zh)
Other versions
CN103997492A (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.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201410211983.3A priority Critical patent/CN103997492B/en
Publication of CN103997492A publication Critical patent/CN103997492A/en
Application granted granted Critical
Publication of CN103997492B publication Critical patent/CN103997492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of adaption system and adaptation method, the system includes:Data obtaining module, exported for obtaining the end message from the client, and by it to analysis of version module;Analysis of version module, for collection and matching keywords group from the end message, the score value of different terminals version corresponding to each keyword in the crucial phrase is searched, and by the way that the total score of different editions is calculated, and the version for being suitable for the terminal is selected according to total score;And result returns to module, for the analysis result according to the analysis of version module, to the version of the client return selection.The page that user shows appropriate version efficiently and accurately can be accessed according to the Internet service Autonomous adaptation method and system of the mobile terminal of the present invention, meanwhile, realize the dynamic configuration to multi version service adapter.

Description

A kind of adaption system and method
Technical field
The present invention relates to internet arena, particularly a kind of adaption system and method suitable for terminal access.
Background technology
With the continuous development of mobile communication technology, the various abundant business to be flourished on conventional internet carry Very big development space is supplied, the epoch of mobile Internet Fast Growth have arrived.In traditional internet arena, browser Appearance complicated Internet Forum is become simple, easy and is easy to point first, browser into Internet surfer most Important client.Browser not only brings the extensive popularization of internet, also excites various applications.Therefore, It is contemplated that in mobile Internet field, browser of mobile terminal will guide the developing direction of Internet industry.
At present, with using mobile terminal (such as mobile phone, pad) to access the number of internet more and more, a large amount of websites Released one after another oneself product in mobile terminal, due to the existing PC versions page in website, there is mobile edition (M versions) page or also simultaneous again Hold WAP web page etc., it is desirable to which each user of accurate judgement is suitable for browsing the page of what plate format, and a complicated big work Journey.
Part website is that the suitable board-like page is provided the user by the address of user's input, if user inputs Www.XXX.com is then jumped in the page of PC formats;Input m.XXX.com then jumps in the board-like pages of M that (XXX represents user The web site name of access).But because most domestic consumer does not have the ability of identification address style, therefore this side The characteristics of formula is without adjustment displaying format, it is impossible to which the equipment used according to actual user makes correct judgement.
Except the above method, the website also having is come by judging USER-AGENT (hereinafter referred to as UA) header Distinguish mobile and two versions of PC.But but fail to support to move multi version (such as PC versions, WAP versions, M versions etc.) service adapter State configures.
Therefore, it is necessary to which the adaptation method and system of a kind of terminal, efficiently and accurately show appropriate version to access user The page, meanwhile, realize the dynamic configuration to multi version service adapter.
The content of the invention
It is an object of the invention to provide a kind of adaption system, the system includes:Data obtaining module, come from for obtaining The end message of the client, and it is exported to analysis of version module;Analysis of version module, for from the end message Middle collection and matching keywords group, the score value of different terminals version corresponding to each keyword in the crucial phrase is searched, and By the way that the total score of different editions is calculated, and the version for being suitable for the terminal is selected according to total score;And result Module is returned to, for the analysis result according to the analysis of version module, to the version of the client return selection.
According to another aspect of the present invention, there is provided a kind of adaptation method, the described method comprises the following steps:A) obtain From the end message of client;B) the matching keywords group from the end message;C) each pass in the crucial phrase is searched Keyword corresponds to the score value of each terminal versions, and calculates the total score of each version, and described in being selected according to total score and being suitable for The version of terminal;And the version of the selection d) is returned to the client.
Preferably, the end message is user-agent headers.
Preferably, the crucial phrase is selected from client operating system type, the version of client operating system, client At least one of browser type and browser version.
Preferably, the calculating of the analysis of version module be will corresponding to each keyword in the crucial phrase it is different eventually The score value of end version carries out the cumulative total score for drawing different editions.
Preferably, the system also includes version configuration module, and the species for the version to that can provide is added Or the setting deleted.
Preferably, the calculating in the step c is by different terminals version corresponding to each keyword in the crucial phrase This score value carries out the cumulative total score for drawing different editions.
Preferably, the step for the setting that species of the methods described also including the version to that can provide is added or deleted Suddenly, the step of fraction of each version is configured and to each keyword of crucial phrase is corresponded to respectively.
Can efficiently and accurately it be visited according to the Internet service Autonomous adaptation method and system of the mobile terminal of the present invention The page that user shows appropriate version is asked, meanwhile, realize the dynamic configuration to multi version service adapter.
Brief description of the drawings
With reference to the accompanying drawing enclosed, the present invention more purpose, function and advantages will pass through the as follows of embodiment of the present invention Description is illustrated, wherein:
Fig. 1 diagrammatically illustrates adaption system according to an embodiment of the present invention, client and service server System block diagram.
Fig. 2 diagrammatically illustrates the flow chart of adaptation method according to an embodiment of the present invention.
Embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical Or similar part, or same or like step.
Fig. 1 diagrammatically illustrates adaption system according to an embodiment of the present invention, client and service server System block diagram.As shown in figure 1, when user accesses web site by client 110, client 110 can be arrived by network insertion Service server 100.Adaption system 120 according to an embodiment of the present invention, for according to the client extracted from client 110 Selected version is sent to client 110 for being in by client information to select the version that matches with it for client 110 Now give user.Fig. 1 shows a case that service server 100 separates with adaption system 120, according to another implementation of the present invention Example, adaption system 120 can also be arranged in service server 100.
Wherein, client 110 includes at least one client, and Fig. 1 schematically show only first in the form of PC Client 111 and the second client 112 with handset formats.Adaption system 120 includes data obtaining module 121, version point Analyse module 122, scoring algorithm setup module 123 and result and return to module 124, preferably also include version configuration module 125.According to the adaption system 120 of the present invention especially suitable for different types of client, and apply also for as same client End provides the version for being adapted to matching by access of the different access approach to server.It is more advantageously, according to the suitable of the present invention Match system can also dynamically be configured according to the change of client, to adapt to wanting for following further types of client access Ask.
Client 110 is used for the service server 100 that web information is provided by network access, and service server 100 can be adjusted Adaption system 120 is taken to extract the end message from client 110, and analysis of version and configuration are therefrom carried out required for collection Information, by analyzing and the service release for being matched with client being sent into client with postponing.Client 110 for example can be with It is the client that pc clients, cell-phone customer terminal, smart mobile phone client, tablet personal computer client etc. have web access capabilities.
Pass through network connection between client 110 and service server 100 and adaption system 120.The network is for example The wide area network (" WAN ") of LAN (" LAN ") and such as internet etc including such as Intranet etc.Network can be configured To support to set the transmission of the information of form using various protocols.In addition, network can be public network, dedicated network or its group Close.Network can also be realized using the physical medium of any one or more of type, including with multiple service providers Associated wired communication path and wireless communications path.Communication such as WiFi or WLAN, GPRS, cellular network, Such as GSM network, 3G network, LTE network or cdma network etc..
Adaption system 120 obtains the end message of client 110, such as can be user-agent headers, therefrom adopts The information of analysis of version and configuration is carried out required for collection, is analyzed, is then returned to the suitable service release of client, together When, additionally it is possible to realize the dynamic configuration to service release.
Specifically, following module is included in adaption system 120:
Data obtaining module 121, for obtaining the end message from client and it is defeated to analysis of version module 122 Go out.According to one embodiment of present invention, the end message for example can be user-agent headers.
Analysis of version module 122, need to carry out analysis of version for extracting collection from the end message of the client With the information of configuration, and the end message of client is analyzed using the scoring algorithm of various dimensions, draw suitable client Page versions.
Specifically, analysis of version module 122 show that the method for the page versions of suitable client is:
First, analysis of version is provided required for being gathered in the end message of the client provided from data obtaining module 121 With the information of configuration.By taking user-agent headers as an example, the client operating system letter in user-agent headers is gathered Breath and client browser information, i.e., the matching keywords group from user-agent headers.Wherein, crucial phrase is for operation System type, the version of operating system, browser type and browser version, keyword for example represent operating system and its version Number android4.2, android3.2, android1.5, Windows XP, and represent client browser type and its Version number ucbrowser9, ucbrowser6 etc..
According to a specific example, analysis of version module 122 obtain user-agent headers be, for example, Mozilla/5.0(Linux;U;android3.2;zh-CN;W1168)U2/1.0.0UCBrowser9.1.1.309U2/ 1.0.0Mobile, the implication that the user-agent headers represent uses model W1168 mobile phone as user, carries one Android3.2 operating systems, network is accessed by UCBrowser9.1, so as to be matched from the user-agent headers Crucial phrase is:(android3.2、UCBrowser9).
Then, search each keyword in institute's crucial phrase and correspond to the score value of each version, and score value is calculated to calculate Go out the total score of each version, total score highest version is defined as matching suitable version with client.Table 1 lists one Exemplary different editions correspond to the example of the score value of different keywords.
Keyword M versions WAP versions PC versions
android4.2 16 15 0
Android1.5 0 33 0
ucbrowser6 11 33 0
windowsxp 0 0 33
……
The different editions of table 1 correspond to the score value of different keywords
In upper table exemplarily, the service release that can be provided in server for example including PC versions, M versions, and In the case of wap versions, each keyword correspond to each version score value storehouse (keyword | M | WAP | PC) for example including, Android4.2 | 16 | 15 | 0, android3.2 | 16 | 15 | 0, android1.5 | 0 | 33 | 0, ucbrowser9 | 13 | 11 | 0, Ucbrowser6 | 11 | 13 | 0, windowsxp | 0 | 0 | 33.
Then, the score value that each version is corresponded to each keyword extracted calculates, and draws the total score of each version, Further according to must version corresponding to component selections.According to one embodiment, it can use and be added score value corresponding to each keyword Computational methods calculate the total score of each version.
Assuming that matching keywords group is from user-agent headers:(android3.2, UCBrowser9), then from upper The score value for stating the keyword (android3.2, ucbrowser9) searched in score value storehouse in matching is 16 | 15 | 0, | 13 | 11 | 0, Because first is set as M, second is set as WAP, and the 3rd is set as PC, so M total score is 29 (16+13), WAP Total score be 26 (15+11), PC total score is 0 (0+0), so total score soprano is M (M>WAP>PC).To the M versions The return operation of the page will return to module 124 by result described later and carry out.
Above-mentioned example is after being added up with keyword score, to compare maximum and select suitable version.Those skilled in the art It is understood that can also be weighted on the basis of cumulative, or carry out subtraction and select fraction minimum Version as matching.
Scoring algorithm setup module 123, operating personnel can be according to the business characteristics of client to be supplied to keyword The fraction that each keyword of group corresponds to each version respectively carries out individual cultivation.Preferably, it is operating system to set crucial phrase Type, the version of operating system, browser type and browser version.Keyword such as android4.2, android3.2, Android1.5, ucbrowser9, ucbrowser6, windowsxp etc..In addition, each keyword corresponds to the score value storehouse of each version (keyword | M | WAP | PC) could be arranged to, android4.2 | 16 | 15 | 0, android3.2 | 16 | 15 | 0, android1.5 | 0 | 33 | 0, ucbrowser9 | 13 | 11 | 0, ucbrowser6 | 11 | 13 | 0, windowsxp | 0 | 0 | 33.
Especially, using the scoring algorithm setup module of the present invention, the change that can be directed to client is dynamically matched somebody with somebody Put, to adapt to the requirement that following further types of client accesses.The different access of same client can also be particularly directed to Mode is dynamically matched.For example, the browser of multiple different editions is mounted with the mobile phone of user, according to point of the present invention Value-based algorithm setup module can correspondingly set the browser of matching different editions, so as to select best display effect for user Fruit.
As a result module 124 is returned, for the analysis result according to analysis of version module 122, is returned properly to client 110 The page of version.
Preferably, version configuration module 125 is also included according to the adaption system of the present invention, for the page to that can provide The setting that the species of version is added or deleted.Operating personnel can be carried out according to the characteristics of itself product to the quantity of version Modification.If for example, comprising only PC and WAP versions in product, operating personnel can delete other by the UI interfaces of this module Version;If product is newly proposed M versions, operating personnel can add M versions by the UI interfaces of this module.
Fig. 2 diagrammatically illustrates the flow chart of the adaptation method of the present invention.
As shown in Figure 2:
Step 210, configuration service version and scoring algorithm.Specifically, operating personnel pass through according to the characteristics of itself product The setting that the species of page versions of the version configuration module 125 to that can provide is added or deleted.Also, calculated by score value The fraction that method setup module 123 corresponds to each version to each keyword of crucial phrase respectively is configured.Especially, step 210 It is not the step of there must be before step 220, you can only to need the version to product to be added or delete Step 210 is just performed during change.
Step 220, data obtaining module 121 obtains the end message from client, such as user-agent headers, And it is exported to analysis of version module 122.
Step 230, the matching keywords group from client terminal information of analysis of version module 122.Wherein, in crucial phrase Including keyword be preferably OS Type, the version of operating system, browser type and browser version;
Step 240, analysis of version module 122 searches the score value that each keyword in crucial phrase corresponds to each version, and right Score value is calculated to calculate the total score of each version, is selected corresponding version according to total score and is defined as suitable page versions.
Step 250, as a result return to module 124 and return to suitable page versions to client 110.
Efficiently and accurately appropriate version can be shown using the adaptation method and adaption system of the present invention to access user The page, meanwhile, realize the dynamic configuration to multi version service adapter.
With reference to the explanation of the invention disclosed here and practice, other embodiment of the invention is for those skilled in the art It all will be readily apparent and understand.Illustrate and embodiment is to be considered only as exemplary, of the invention true scope and purport is equal It is defined in the claims.

Claims (9)

1. a kind of adaption system, the system includes:
Data obtaining module, exported for obtaining the end message from client, and by it to analysis of version module;
Analysis of version module, for collection and matching keywords group from the end message, search each in the crucial phrase The score value of different terminals version corresponding to individual keyword, and by the way that the total score of different editions is calculated, and compare total score Maximum, the version maximum using total score be used as the version of the terminal;
Version configuration module, the setting that the species for the version to that can provide is added or deleted;
Scoring algorithm setup module, each keyword of crucial phrase is corresponded to respectively respectively according to the business characteristic of client is supplied to The fraction of version carries out individual cultivation, sets the browser of matching different editions, and
As a result module is returned, for the analysis result according to the analysis of version module, the version of selection is returned to the client This.
2. the system as claimed in claim 1, wherein the end message is user-agent headers.
3. the system as claimed in claim 1, wherein, the crucial phrase is selected from client operating system type, client is grasped Make at least one of version, client browser type and browser version of system.
4. the system as claimed in claim 1, wherein, the calculating of the analysis of version module is will be each in the crucial phrase The score value of different terminals version corresponding to keyword carries out the cumulative total score for drawing different editions.
5. a kind of adaptation method, the described method comprises the following steps:
A) end message from client is obtained;
B) the matching keywords group from the end message;
C) score value that each keyword in the crucial phrase corresponds to each terminal versions is searched, calculates the total score ratio of each version It is each compared with the maximum of total score, and according to being supplied to the business characteristic of client to correspond to each keyword of crucial phrase respectively The fraction of version carries out individual cultivation, and relative set matches the browser of different editions, and compares the maximum of total score, with Version of the maximum version of total score as the terminal;And
D) version of selection is returned to the client.
6. method as claimed in claim 5, wherein the end message is user-agent headers.
7. method as claimed in claim 5, wherein, the crucial phrase is selected from client operating system type, client is grasped Make at least one of version, client browser type and browser version of system.
8. method as claimed in claim 5, wherein, the calculating in the step c is by each key in the crucial phrase The score value of different terminals version corresponding to word carries out the cumulative total score for drawing different editions.
9. the species that method as claimed in claim 5, wherein methods described also include the version to that can provide is added Or delete setting the step of, and correspond to the step that the fraction of each version is configured respectively to each keyword of crucial phrase Suddenly.
CN201410211983.3A 2014-05-20 2014-05-20 A kind of adaption system and method Active CN103997492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410211983.3A CN103997492B (en) 2014-05-20 2014-05-20 A kind of adaption system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410211983.3A CN103997492B (en) 2014-05-20 2014-05-20 A kind of adaption system and method

Publications (2)

Publication Number Publication Date
CN103997492A CN103997492A (en) 2014-08-20
CN103997492B true CN103997492B (en) 2018-02-27

Family

ID=51311499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410211983.3A Active CN103997492B (en) 2014-05-20 2014-05-20 A kind of adaption system and method

Country Status (1)

Country Link
CN (1) CN103997492B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100245A (en) * 2015-07-28 2015-11-25 北京京东尚科信息技术有限公司 Method and system for intelligently distributing network files
CN105591842B (en) * 2016-01-29 2018-12-21 中国联合网络通信集团有限公司 A kind of method and apparatus obtaining mobile terminal operating system version
CN106791936B (en) * 2016-11-28 2020-11-06 广州华多网络科技有限公司 Virtual gift display method and device
CN109657178B (en) * 2018-11-12 2024-03-01 平安科技(深圳)有限公司 Page form processing method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004008308A2 (en) * 2002-07-15 2004-01-22 Device Independent Software, Inc. Editing image for delivery over a network
CN1816081A (en) * 2005-02-02 2006-08-09 中国移动通信集团公司 Method and system for adapting page of mobile telecommunication terminal
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method
CN103412928A (en) * 2013-08-16 2013-11-27 北京乐动卓越科技有限公司 Method and device for realizing browser page intelligent response-type layout on mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100418744B1 (en) * 2000-10-02 2004-02-14 (주) 젠터닷컴 Cellular phone service system and method using service code and media for storing program source thereof
CN1897529A (en) * 2005-07-11 2007-01-17 中国移动通信集团公司 Automatic adapter for mobile telecommunication terminal display page
CN102056150B (en) * 2010-12-01 2013-08-07 北京迅捷英翔网络科技有限公司 Mobile phone terminal strategy adapting device and method
FR2984672B1 (en) * 2011-12-20 2014-08-08 Bouygues Telecom Sa SELF-CONFIGURATION OF A MOBILE TERMINAL FOR CONNECTION TO A SECURE WIRELESS NETWORK
TWI483121B (en) * 2012-08-14 2015-05-01 Univ Nat Chiao Tung An integrated storage platform system and method thereof
CN103744985A (en) * 2014-01-16 2014-04-23 世纪龙信息网络有限责任公司 Webpage adaption method and webpage adaption system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004008308A2 (en) * 2002-07-15 2004-01-22 Device Independent Software, Inc. Editing image for delivery over a network
CN1816081A (en) * 2005-02-02 2006-08-09 中国移动通信集团公司 Method and system for adapting page of mobile telecommunication terminal
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method
CN103412928A (en) * 2013-08-16 2013-11-27 北京乐动卓越科技有限公司 Method and device for realizing browser page intelligent response-type layout on mobile terminal

Also Published As

Publication number Publication date
CN103997492A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
US11847612B2 (en) Social media profiling for one or more authors using one or more social media platforms
US10715854B2 (en) Method and apparatus for pushing information
WO2019076191A1 (en) Keyword extraction method and device, and storage medium and electronic device
CN104462547B (en) A kind of method and system of configurable collecting webpage data
WO2016107523A1 (en) Access path analysis method and apparatus for website
CN103997492B (en) A kind of adaption system and method
CN108572990A (en) Information-pushing method and device
CN106446113A (en) Mobile big data analysis method and device
US20160283591A1 (en) Method for providing social activity integration service
CN107666404A (en) Broadband network user identification method and device
CN103927339B (en) Knowledge Reorganizing system and method for knowledge realignment
CN109819002B (en) Data pushing method and device, storage medium and electronic device
CN106933864A (en) A kind of search engine system and its searching method
JP5341847B2 (en) Search query recommendation method, search query recommendation device, search query recommendation program
CN105786858A (en) Information search system and method
CN114490923A (en) Training method, device and equipment for similar text matching model and storage medium
CN105320738B (en) Information recommendation method and device
CN103473290B (en) The processing method and processing device of the attribute data of point of interest
CN103514237B (en) A kind of method and system obtaining user and Document personalization feature
CN104239455B (en) The acquisition methods and device of a kind of search result
CN104462319B (en) The treating method and apparatus of information in webpage
KR101600616B1 (en) Method for analyzing service of heterogeneous contents
CN104050174B (en) A kind of personal page generation method and device
CN103020224B (en) A kind of intelligent search method and device
KR101482143B1 (en) Apparatus for providing additional information based on type of auto-completed word and method thereof

Legal Events

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