CN108121811A - A kind of webpage content adaptation method, system, device and storage medium - Google Patents

A kind of webpage content adaptation method, system, device and storage medium Download PDF

Info

Publication number
CN108121811A
CN108121811A CN201711444933.XA CN201711444933A CN108121811A CN 108121811 A CN108121811 A CN 108121811A CN 201711444933 A CN201711444933 A CN 201711444933A CN 108121811 A CN108121811 A CN 108121811A
Authority
CN
China
Prior art keywords
user
geographical location
url
address
daily record
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.)
Granted
Application number
CN201711444933.XA
Other languages
Chinese (zh)
Other versions
CN108121811B (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.)
Shenzhen Micro Tax Silver Information Service Co Ltd
Original Assignee
Shenzhen Micro Tax Silver Information Service 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 Micro Tax Silver Information Service Co Ltd filed Critical Shenzhen Micro Tax Silver Information Service Co Ltd
Priority to CN201711444933.XA priority Critical patent/CN108121811B/en
Publication of CN108121811A publication Critical patent/CN108121811A/en
Application granted granted Critical
Publication of CN108121811B publication Critical patent/CN108121811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The embodiment of the invention discloses a kind of webpage content adaptation method and system, and for the corresponding URL addresses in the geographical location in user's history operation log and geographical location, the URL address files being adapted to are shown to user, improve the usage experience of user.Present invention method includes:The log-on message of user is obtained, log-on message includes at least user name and current IP address;According to current IP address, corresponding first geographical location of inquiry current IP address, and the corresponding first URL addresses in the first geographical location are determined according to the first geographical location;The historical operation daily record of user is inquired about according to user name, and judges to whether there is the first geographical location and the first URL addresses in historical operation daily record;If being not present, geographical location and URL addresses in historical operation daily record show the URL address files being adapted to user;If in the presence of showing the first URL address files to user.

Description

A kind of webpage content adaptation method, system, device and storage medium
Technical field
The present invention relates to electronic tax fields more particularly to a kind of webpage content adaptation method, system, device and storage to be situated between Matter.
Background technology
Electronic tax refers to that it is each traditional tax bureau can be completed using electronic information technology, particularly Internet technology structure Item manages and service function, and the taxation authority of more convenient, quick, security service electronization is provided for taxpayer, with The fast development of Internet technology, electronic tax are also increasingly liked by people.
Current electronic tax operation system, since demand is different, can be directed to different ground when providing the user with service City is adapted to different substation web page contents, i.e., in logging in system by user, shows different districts and cities' substation homepages to user.It is existing Adaptation method be geographical location information according to where active user, automatically switch to corresponding with current geographical location Web page contents homepage.Such as when user is adapted to Guangzhou substation homepage when Guangzhou logs in, and when user logs in Shenzhen, Then automatically switch to Shenzhen substation homepage.
But this mode deposits the shortcomings that following:Such as user is simply temporarily by somewhere in some cases, when logging at this time Just automatically switch to the homepage on the ground, but in fact, user is not intended to access web page contents corresponding with the ground, and simply picture The web page contents often accessed are equally accessed habitually in the past, therefore, the method for existing adaptation web page contents causes to use body to user The worry tested reduces the usage experience of user.
The content of the invention
An embodiment of the present invention provides a kind of webpage content adaptation method, system, device and storage medium, for according to The corresponding URL addresses in geographical location and geographical location in the historical operation daily record of family show the URL addresses text of adaptation to user Part improves the usage experience of user.
First aspect present invention provides a kind of webpage content adaptation method, including;
The log-on message of user is obtained, log-on message includes at least user name and current IP address;
According to current IP address, corresponding first geographical location of current IP address is inquired about, and it is true according to the first geographical location The fixed corresponding first URL addresses in first geographical location;
The historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses;
If being not present, geographical location and URL addresses in historical operation daily record, the URL of adaptation is shown to user Location file;
If in the presence of showing the first URL address files to user.
Optionally, the geographical location in historical operation daily record and URL addresses show the URL addresses of adaptation to user File, including:
The second most geographical location of user's access times in statistical history operation log, and determine the second geographical location pair The 2nd URL addresses answered;
The 2nd URL address files are shown to user.
Optionally, the geographical location in historical operation daily record and URL addresses show the URL addresses of adaptation to user File, including:
Determine user the 3rd geographical location of access once, and determine the 3rd geographical location pair recently in historical operation daily record The 3rd URL addresses answered;
The 3rd URL address files are shown to user.
Optionally, according to current IP address, corresponding first geographical location of current IP address is inquired about, including:
By api interface, Global IP addresses geographical location information data storehouse is called, inquires about current IP address corresponding first Geographical location.
Optionally, historical operation daily record includes:
User name, operating position, operating time and the corresponding URL addresses of operating position.
Second aspect of the present invention provides a kind of webpage content adaptation system, including:
Acquiring unit, for obtaining the log-on message of user, log-on message includes at least user name and current IP address;
Query unit, for according to current IP address, corresponding first geographical location of inquiry current IP address, and according to the One geographical location determines the corresponding first URL addresses in the first geographical location;
Content matching unit for inquiring about the historical operation daily record of user according to user name, and judges historical operation daily record In whether there is the first geographical location and the first URL addresses;
First content display unit, for there is no when the first geographical location and the first URL addresses, according to historical operation Geographical location and URL addresses in daily record show the URL address files of adaptation to user;
Second content display unit, for there are when the first geographical location and the first URL addresses, first to be shown to user URL address files.
Optionally, first content display unit, including:
Statistical module for the second most geographical location of user's access times in statistical history operation log, and determines The corresponding 2nd URL addresses in second geographical location;
First display module, for showing the 2nd URL address files to user.
Optionally, first content display unit, including:
Determining module, for determining user the 3rd geographical location of access once, and determining recently in historical operation daily record The corresponding 3rd URL addresses in 3rd geographical location;
Second display module, for showing the 3rd URL address files to user.
The present invention also provides a kind of computer installations, and including processor, which is stored in execution on memory Computer program when, be used to implement following step:
The log-on message of user is obtained, log-on message includes at least user name and current IP address;
According to current IP address, corresponding first geographical location of current IP address is inquired about, and it is true according to the first geographical location The fixed corresponding first URL addresses in first geographical location;
The historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses;
If being not present, geographical location and URL addresses in historical operation daily record, the URL of adaptation is shown to user Location file;
If in the presence of showing the first URL address files to user.
The present invention also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, which is held During row, following step is used to implement:
The log-on message of user is obtained, log-on message includes at least user name and current IP address;
According to current IP address, corresponding first geographical location of current IP address is inquired about, and it is true according to the first geographical location The fixed corresponding first URL addresses in first geographical location;
The historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses;
If being not present, geographical location and URL addresses in historical operation daily record, the URL of adaptation is shown to user Location file;
If in the presence of showing the first URL address files to user.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The present invention first obtains user name and IP address, and pass through IP address inquire about corresponding first geographical location and according to First geographical location, the corresponding first URL addresses in the first geographical location of inquiry, according to the historical operation day of user name inquiry user Will, and judge not deposit in historical operation daily record with the presence or absence of the first geographical location and the first URL addresses in historical operation daily record At the first geographical location and the first URL addresses, according to the historical operation daily record of user, the URL addresses being adapted to are shown to user File.It is by user because when the first geographical location and the first URL addresses is not present in the present invention in historical operation daily record Historical operation daily record shows the URL address files of adaptation to user, i.e., is recorded according to existing access of user, shown to user The URL address files once accessed avoid when user is located at new geographical location, new URL are directly shown to user Address file improves the usage experience of user.
Description of the drawings
Fig. 1 is a kind of one embodiment schematic diagram of webpage content adaptation method in the embodiment of the present invention;
Fig. 2 is a kind of another embodiment schematic diagram of webpage content adaptation method in the embodiment of the present invention;
Fig. 3 is a kind of another embodiment schematic diagram of webpage content adaptation method in the embodiment of the present invention;
Fig. 4 is a kind of one embodiment schematic diagram of webpage content adaptation system in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram that a kind of webpage fits interior adaption system in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram that a kind of webpage fits interior adaption system in the embodiment of the present invention.
Specific embodiment
An embodiment of the present invention provides a kind of webpage content adaptation method, system, device and storage medium, for according to The corresponding URL addresses in geographical location and geographical location in the historical operation daily record of family show the URL addresses text of adaptation to user Part improves the usage experience of user.
Understand for aspect, a kind of webpage content adaptation method in the embodiment of the present invention is described below in detail, referring to Fig. 1, A kind of one embodiment schematic diagram of webpage content adaptation method in the embodiment of the present invention, including:
101st, the log-on message of user is obtained, log-on message includes at least user name and current IP address;
It is easily understood that user is when logining a system (such as tax system, account reimbursement system), information management side Management to user information for convenience generally requires user and inputs personal log-on message, such as user name name and password;Mobile phone Number and password etc., specifically, user name can be the Email Accounts of user, QQ accounts, wechat account or the registered user of individual Name etc., password can be static password or dynamic password, and the form of username and password is not particularly limited herein.
And the operation system in the present embodiment, while system service is provided, in order to realize the personalization of different regions And differentiated service, the section service system of differentiation can be provided a user, such as provides Guangzhou subregion industry to the user in Guangzhou Business system provides Shenzhen's section service system to the user in Shenzhen, and a user can be stepped on using the log-on message of oneself The operation system of different cities is recorded, to realize the business service of diversification.
Therefore the webpage content adaptation system in the present embodiment when user logs in, it is necessary to obtain the log-on message of user, and The web page contents of adaptation are shown to the user according to the log-on message of user, specifically, webpage content adaptation system is according to IP Address obtains the geographical location of user, so webpage content adaptation system needs to obtain in user login information in the present embodiment User name and IP address, it is necessary to explanation, the log-on message of user in addition to user name and IP address, can also include such as Cell-phone number, identifying code etc. are not particularly limited herein for the content in log-on message.
102nd, according to current IP address, corresponding first geographical location of current IP address is inquired about, and according to the first geographical position Put the corresponding first URL addresses in definite first geographical location;
It, can be by api interface, with calling global ip after webpage content adaptation system gets the current IP address of user Corresponding first geographical location of the IP address is inquired about in location geographical location information data storehouse according to current IP address, and in business system The corresponding URL addresses in first geographical location are inquired about in system, it is to be understood that have different section service systems in operation system System such as Guangzhou operation system, Shenzhen operation system, therefore can store in the corresponding webpage of different subregions operation system in operation system Hold, and it is well known that uniform resource locator (URL) is position and the access method of the resource to that can be obtained from internet A kind of succinct expression, be standard resource on internet address.There are one unique for each file on internet URL, the information that it is included point out how the position of file and browser should handle it, therefore each subregion in operation system The homepage of operation system all corresponds to a URL address.
Therefore webpage content adaptation system can exist after the first geographical location is inquired according to IP address according to geographical location The URL addresses of the corresponding section service system home page in first geographical location are inquired in operation system.
103rd, the historical operation daily record of user is inquired about according to user name, and judges to whether there is first in historical operation daily record Geographical location and the first URL addresses, if being not present, perform step 104, if in the presence of performing step 105;
Webpage content adaptation system can inquire about after the user name in getting user login information according to the user's name The historical operation daily record of the user, and determine whether to whether there is the first geographical location and first in the historical operation daily record URL addresses, and there are when first geographical location and the first URL addresses in historical operation daily record, perform step 105, and When the first address geo location and the first URL addresses being not present in historical operation daily record, step 104 is performed.
Specifically, in the historical operation daily record of user, including the user's operation to operation system within some period Situation, and the particular content in historical operation daily record includes user name, operating position, accesses content and operating time, specifically such as Shown in following table:
Table 1
104th, the geographical location in historical operation daily record and URL addresses show the URL addresses text of adaptation to user Part;
When the first geographical location and the first URL addresses are not present in the historical operation daily record of user, webpage content adaptation Geographical location and URL address of the system in historical operation daily record show the URL address files of adaptation to user, avoid When the first geographical location and the first URL addresses is not present in webpage content adaptation system in the historical operation daily record of user, directly The first URL address files are shown to user, improve the usage experience of user.
Specifically, webpage content adaptation system be how geographical location in historical operation daily record and URL addresses, to User shows the URL address files of adaptation, is described in detail in the following embodiments.
105th, the first URL address files are shown to user.
When in the historical operation daily record of user there are when the first geographical location and the first URL addresses, with illustrating the first URL Location file is the section service system that user often accesses, then directly shows the first URL address files to the user.
The embodiment of the present invention first obtains user name and IP address, and passes through IP address and inquire about corresponding first geographical location, And according to the first geographical location, the corresponding first URL addresses in the first geographical location of inquiry, according to the history of user name inquiry user Operation log, and judge with the presence or absence of the first geographical location and the first URL addresses in historical operation daily record, in historical operation daily record In when the first geographical location and the first URL addresses is not present, according to the historical operation daily record of user, adaptation is shown to user URL address files.It is logical because when the first geographical location and the first URL addresses is not present in the present invention in historical operation daily record The historical operation daily record of user is crossed, the URL address files of adaptation are shown to user, i.e., is recorded according to existing access of user, to User shows the URL address files once accessed, avoids when user is located at new geographical location, is directly shown to user New URL address files improve the usage experience of user.
Based on Fig. 1 the embodiment described, it is described below in detail how webpage content adaptation system operates according to user's history Daily record to user show adaptation URL address files, referring to Fig. 2, in the present invention webpage content adaptation method another reality Example is applied, including:
201st, the log-on message of user is obtained, log-on message includes at least user name and current IP address;
202nd, according to current IP address, corresponding first geographical location of current IP address is inquired about, and according to the first geographical position Put the corresponding first URL addresses in definite first geographical location;
203rd, the historical operation daily record of user is inquired about according to user name, and judges to whether there is first in historical operation daily record Geographical location and the first URL addresses, if being not present, perform step 204, if in the presence of performing step 205;
It should be noted that step 201 in the present embodiment to 203 with the step 101 in Fig. 1 the embodiment described to 103 is similar, and details are not described herein again.
204th, the second most geographical location of user's access times in statistical history operation log, and determine the second geographical position Corresponding 2nd URL addresses are put, the 2nd URL address files are shown to user;
When the first geographical location and the first URL addresses are not present in the historical operation daily record of user, webpage content adaptation System directly inquires about the historical operation daily record of the user, and the geographical location accessed user in the historical operation daily record is united Meter draws the second most geographical location of user's access times, and acquisition is corresponding with second geographical location from operation system The 2nd URL address files, and show the 2nd URL address files to the user.
Specifically, as shown in table 1, if the first geographical location of user is middle mountain, and the corresponding URL addresses in middle mountain are http://www.vzoom.com/zoom-commom/platform/biggerService.html, and webpage content adaptation system System does not inquire the corresponding URL addresses of Zhong Shan and middle mountain in table 1, then the geographical location accessed respectively user in table 1 It is counted, obtains accessing the most city of geographical location number, i.e. Shenzhen, then webpage content adaptation system is then to operation system The homepage URL address files of Shenzhen section service system are inquired about, and with showing to user the homepage URL of Shenzhen section service system Location file.
It is understood that table 1 is only an example of user's history operation log in embodiment, user is not gone through History operation log Composition of contents specifically limits.
205th, the first URL address files are shown to user.
It should be noted that the step 205 in the present embodiment is similar with the step 105 in Fig. 1 the embodiment described, herein It repeats no more.
The embodiment of the present invention first obtains user name and IP address, and passes through IP address and inquire about corresponding first geographical location, And according to the first geographical location, the corresponding first URL addresses in the first geographical location of inquiry, according to the history of user name inquiry user Operation log, and judge with the presence or absence of the first geographical location and the first URL addresses in historical operation daily record, in historical operation daily record In when the first geographical location and the first URL addresses is not present, according to the historical operation daily record of user, adaptation is shown to user URL address files.It is logical because when the first geographical location and the first URL addresses is not present in the present invention in historical operation daily record The historical operation daily record of user is crossed, the URL address files of adaptation are shown to user, i.e., is recorded according to existing access of user, to User shows the URL address files once accessed, avoids when user is located at new geographical location, is directly shown to user New URL address files improve the usage experience of user.
Secondly, the embodiment of the present invention is according to the most geographical location pair of user's access times in user's history operation log The URL addresses answered are the destination address file of user, add the diversity of the embodiment of the present invention.
Based on Fig. 1 the embodiment described, it is described below in detail how webpage content adaptation system operates according to user's history Daily record to user show adaptation URL address files, referring to Fig. 3, in the present invention webpage content adaptation method another reality Example is applied, including:
301st, the log-on message of user is obtained, log-on message includes at least user name and current IP address;
302nd, according to current IP address, corresponding first geographical location of current IP address is inquired about, and according to the first geographical position Put the corresponding first URL addresses in definite first geographical location;
303rd, the historical operation daily record of user is inquired about according to user name, and judges to whether there is first in historical operation daily record Geographical location and the first URL addresses, if being not present, perform step 304, if in the presence of performing step 305;
It should be noted that step 301 in the present embodiment to 303 with the step 101 in Fig. 1 the embodiment described to 103 is similar, and details are not described herein again.
304th, nearest the 3rd geographical location and the 3rd geographical location pair accessed once of user in historical operation daily record is determined The 3rd URL addresses answered show the 3rd URL address files to user;
When the first geographical location and the first URL addresses are not present in the historical operation daily record of user, webpage content adaptation System can be determined from the historical operation daily record of user the user access recently the 3rd geographical location information once and this The corresponding 3rd URL addresses in three geographical locations, and show the 3rd URL address files to the user.
Specifically, as described in Table 1, when URL of first geographical location for middle mountain and corresponding to middle mountain is not present in table 1 During location, webpage content adaptation system can determine the last the 3rd geographical location accessed of user and the 3rd geography in table 1 The corresponding 3rd URL addresses in position, such as user the last time (the i.e. 2017-12-12-09 recorded in table 1:45:12) access Geographical location be Shenzhen and and access URL addresses be http://www.vzoom.com/zoom-commom/platform/ Identiflcation.html, then webpage content adaptation system be with can both having shown the webpage in the partition system of Shenzhen to user Location is http:The web page files of //www.vzoom.com/zoom-commom/platform/identiflcation.html, It can also inquire about the corresponding URL addresses of homepage in the corresponding section service system in Shenzhen by operation system, and shown to the user Show the corresponding URL address files of homepage in the section service system of Shenzhen.
305th, the first URL address files are shown to user.
It should be noted that the step 305 in the present embodiment is similar with the step 105 in Fig. 1 the embodiment described, herein It repeats no more.
The embodiment of the present invention first obtains user name and IP address, and passes through IP address and inquire about corresponding first geographical location, And according to the first geographical location, the corresponding first URL addresses in the first geographical location of inquiry, according to the history of user name inquiry user Operation log, and judge with the presence or absence of the first geographical location and the first URL addresses in historical operation daily record, in historical operation daily record In when the first geographical location and the first URL addresses is not present, according to the historical operation daily record of user, adaptation is shown to user URL address files.It is logical because when the first geographical location and the first URL addresses is not present in the present invention in historical operation daily record The historical operation daily record of user is crossed, the URL address files of adaptation are shown to user, i.e., is recorded according to existing access of user, to User shows the URL address files once accessed, avoids when user is located at new geographical location, is directly shown to user New URL address files improve the usage experience of user.
Secondly, the embodiment of the present invention is the geographical location pair accessed recently according to user in user's history operation log once The URL addresses answered are the destination address file of user, add the diversity of the embodiment of the present invention.
The webpage content adaptation method in the present invention is described above, describes webpage content adaptation in the embodiment of the present invention below System, referring to Fig. 4, the webpage content adaptation system in the embodiment of the present invention, including:
Acquiring unit 401, for obtaining the log-on message of user, log-on message is including at least user name and current IP Location;
Query unit 402, for according to current IP address, corresponding first geographical location of inquiry current IP address, and root The corresponding first URL addresses in the first geographical location are determined according to the first geographical location;
Content matching unit 403 for inquiring about the historical operation daily record of user according to user name, and judges historical operation day It whether there is the first geographical location and the first URL addresses in will;
First content display unit 404, for there is no when the first geographical location and the first URL addresses, according to history Geographical location and URL addresses in operation log show the URL address files of adaptation to user;
Second content display unit 405, for there are when the first geographical location and the first URL addresses, being shown to user First URL address files.
It should be noted that the web page contents in the embodiment of the present invention in embodiment described in the effect of each unit and Fig. 1 are fitted The effect of match system is similar, and details are not described herein again.
The embodiment of the present invention first passes through acquiring unit 401, obtains user name and IP address, and passes through query unit 402, looks into It askes IP address and inquires about corresponding first geographical location and according to the first geographical location, inquire about the first geographical location corresponding first URL addresses, the historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses when the first geographical location and the first URL addresses being not present in historical operation daily record, pass through first According to the historical operation daily record of user, the URL address files being adapted to are shown to user for content display unit 404.It is because of the invention It is the historical operation daily record by user when the first geographical location and the first URL addresses being not present in historical operation daily record, to User shows the URL address files of adaptation, i.e., is recorded according to existing access of user, the URL once accessed is shown to user Address file avoids when user is located at new geographical location, new URL address files is directly shown to user, are improved The usage experience of user.
Based on Fig. 4 the embodiment described, the webpage content adaptation system in the embodiment of the present invention is described below in detail, please join Read Fig. 5, another embodiment of webpage content adaptation system in the embodiment of the present invention, including:
Acquiring unit 501, for obtaining the log-on message of user, log-on message is including at least user name and current IP Location;
Query unit 502, for according to current IP address, corresponding first geographical location of inquiry current IP address, and root The corresponding first URL addresses in the first geographical location are determined according to the first geographical location;
Content matching unit 503 for inquiring about the historical operation daily record of user according to user name, and judges historical operation day It whether there is the first geographical location and the first URL addresses in will;
First content display unit 504, for there is no when the first geographical location and the first URL addresses, according to history Geographical location and URL addresses in operation log show the URL address files of adaptation to user;
Second content display unit 505, for there are when the first geographical location and the first URL addresses, being shown to user First URL address files.
Preferably, first content display unit 504, including:
Statistical module 5041, for the second most geographical location of user's access times in statistical history operation log and the The corresponding 2nd URL addresses in two geographical locations;
First display module 5042, for showing the 2nd URL address files to user.
It should be noted that in webpage in the present embodiment in embodiment described in the effect of each unit and each module and Fig. 2 Accommodate that the effect of match system is similar, and details are not described herein again.
The embodiment of the present invention first passes through acquiring unit 501, obtains user name and IP address, and passes through query unit 502, looks into It askes IP address and inquires about corresponding first geographical location and according to the first geographical location, inquire about the first geographical location corresponding first URL addresses, the historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses when the first geographical location and the first URL addresses being not present in historical operation daily record, pass through first According to the historical operation daily record of user, the URL address files being adapted to are shown to user for content display unit 504.It is because of the invention It is the historical operation daily record by user when the first geographical location and the first URL addresses being not present in historical operation daily record, to User shows the URL address files of adaptation, i.e., is recorded according to existing access of user, the URL once accessed is shown to user Address file avoids when user is located at new geographical location, new URL address files is directly shown to user, are improved The usage experience of user.
Secondly, the embodiment of the present invention is according to user's access times in 5041 counting user historical operation daily record of statistical module The corresponding URL addresses in most geographical locations are the destination address file of user, add the diversity of the embodiment of the present invention.
Based on the system described in Fig. 4, the webpage content adaptation system in the embodiment of the present invention is described below in detail, refers to Fig. 6, another embodiment of webpage content adaptation system in the embodiment of the present invention, including:
Acquiring unit 601, for obtaining the log-on message of user, log-on message is including at least user name and current IP Location;
Query unit 602, for according to current IP address, corresponding first geographical location of inquiry current IP address, and root The corresponding first URL addresses in the first geographical location are determined according to the first geographical location;
Content matching unit 603 for inquiring about the historical operation daily record of user according to user name, and judges historical operation day It whether there is the first geographical location and the first URL addresses in will;
First content display unit 604, for there is no when the first geographical location and the first URL addresses, according to history Geographical location and URL addresses in operation log show the URL address files of adaptation to user;
Second content display unit 605, for there are when the first geographical location and the first URL addresses, being shown to user First URL address files.
Preferably, first content display unit 604, including:
Determining module 6041, for determining that user in historical operation daily record accesses the 3rd geographical location once and the recently The corresponding 3rd URL addresses in three geographical locations;
Second display module 6042, for showing the 3rd URL address files to user.
It should be noted that in webpage in the present embodiment in embodiment described in the effect of each unit and each module and Fig. 3 Accommodate that the effect of match system is similar, and details are not described herein again.
The embodiment of the present invention first passes through acquiring unit 601, obtains user name and IP address, and passes through query unit 602, looks into It askes IP address and inquires about corresponding first geographical location and according to the first geographical location, inquire about the first geographical location corresponding first URL addresses, the historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses when the first geographical location and the first URL addresses being not present in historical operation daily record, pass through first According to the historical operation daily record of user, the URL address files being adapted to are shown to user for content display unit 604.It is because of the invention It is the historical operation daily record by user when the first geographical location and the first URL addresses being not present in historical operation daily record, to User shows the URL address files of adaptation, i.e., is recorded according to existing access of user, the URL once accessed is shown to user Address file avoids when user is located at new geographical location, new URL address files is directly shown to user, are improved The usage experience of user.
Secondly, the embodiment of the present invention is to determine that user accesses recently in user's history operation log according to determining module 6041 The corresponding URL addresses in geographical location once are the destination address file of user, add the diversity of the embodiment of the present invention.
The angle of slave module functional entity retouches the webpage content adaptation system in the embodiment of the present invention above It states, the computer installation in the embodiment of the present invention is described from the angle of hardware handles below:
The computer installation is used to implement the function of webpage content adaptation system, Computer of embodiment of the present invention device one A embodiment includes:
Processor and memory;
Memory, can when processor is used to perform the computer program stored in memory for storing computer program To realize following steps:
The log-on message of user is obtained, log-on message includes at least user name and current IP address;
According to current IP address, corresponding first geographical location of current IP address is inquired about, and it is true according to the first geographical location The fixed corresponding first URL addresses in first geographical location;
The historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses;
If being not present, geographical location and URL addresses in historical operation daily record, the URL of adaptation is shown to user Location file;
If in the presence of showing the first URL address files to user.
In some embodiments of the invention, processor can be also used for realizing following steps:
The second most geographical location of user's access times and the second geographical location are corresponding in statistical history operation log 2nd URL addresses;
The 2nd URL address files are shown to user.
In some embodiments of the invention, processor can be also used for realizing following steps:
Determine that nearest the 3rd geographical location accessed once of user and the 3rd geographical location are corresponding in historical operation daily record 3rd URL addresses;
The 3rd URL address files are shown to user.
In some embodiments of the invention, processor can be also used for realizing following steps:
By api interface, Global IP addresses geographical location information data storehouse is called, inquires about current IP address corresponding first Geographical location.
It is understood that when the processor in the computer installation of above description performs the computer program, also may be used To realize the function of each unit in above-mentioned corresponding each device embodiment, details are not described herein again.Illustratively, the computer journey Sequence can be divided into one or more module/units, and one or more of module/units are stored in the memory In, and performed by the processor, to complete the present invention.One or more of module/units can be can complete it is specific The series of computation machine program instruction section of function, the instruction segment are used to describe the computer program in the webpage content adaptation The implementation procedure of system.For example, the computer program can be divided into each unit in above-mentioned webpage content adaptation system, Each unit can realize the concrete function as described in above-mentioned corresponding web page content adaptation system.
The computer installation can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The computer installation may include but be not limited only to processor, memory.It will be understood by those skilled in the art that processor, Memory is only the example of computer installation, does not form the restriction to computer installation, can be included more or fewer Component either combines some components or different components, such as the computer installation can also be set including input and output Standby, network access equipment, bus etc..
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module that are stored in the memory and the data being stored in memory are called, described in realization The various functions of computer installation.The memory can mainly include storing program area and storage data field, wherein, store program It area can storage program area, application program needed at least one function etc.;Storage data field can store the use according to terminal Data created etc..In addition, memory can include high-speed random access memory, non-volatile memories can also be included Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are consolidated State memory device.
The present invention also provides a kind of computer readable storage medium, which is used to implement webpage The function of content adaptation system is stored thereon with computer program, and when computer program is executed by processor, processor can be with For performing following steps:
The log-on message of user is obtained, log-on message includes at least user name and current IP address;
According to current IP address, corresponding first geographical location of current IP address is inquired about, and it is true according to the first geographical location The fixed corresponding first URL addresses in first geographical location;
The historical operation daily record of user is inquired about according to user name, and is judged geographical with the presence or absence of first in historical operation daily record Position and the first URL addresses;
If being not present, geographical location and URL addresses in historical operation daily record, the URL of adaptation is shown to user Location file;
If in the presence of showing the first URL address files to user.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for performing following steps:
The second most geographical location of user's access times and the second geographical location are corresponding in statistical history operation log 2nd URL addresses;
The 2nd URL address files are shown to user.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for performing following steps:
Determine that nearest the 3rd geographical location accessed once of user and the 3rd geographical location are corresponding in historical operation daily record 3rd URL addresses;
The 3rd URL address files are shown to user.
In some embodiments of the invention, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for performing following steps:
By api interface, Global IP addresses geographical location information data storehouse is called, inquires about current IP address corresponding first Geographical location.
If it is understood that the integrated unit is realized in the form of SFU software functional unit and is independent production Product are sold or in use, can be stored in a corresponding computer read/write memory medium.Based on such understanding, this hair The bright all or part of flow realized in above-mentioned corresponding embodiment method, can also be instructed relevant by computer program Hardware is completed, and the computer program can be stored in a computer readable storage medium, which is being located It manages when device performs, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program generation Code, the computer program code can be source code form, object identification code form, executable file or some intermediate forms Deng.The computer-readable medium can include:Any entity of the computer program code or device, record can be carried Medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc.. It should be noted that the content that the computer-readable medium includes can be according to legislation in jurisdiction and patent practice It is required that carry out appropriate increase and decrease, such as in some jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium Include electric carrier signal and telecommunication signal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various to deposit Store up the medium of program code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or carry out equivalent substitution to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is not made to depart from the spirit and scope of various embodiments of the present invention technical solution.

Claims (10)

  1. A kind of 1. webpage content adaptation method, which is characterized in that including:
    The log-on message of user is obtained, the log-on message includes at least user name and current IP address;
    According to the current IP address, corresponding first geographical location of the current IP address is inquired about, and according to first ground Manage the corresponding first URL addresses in the first geographical location described in location determination;
    The historical operation daily record of the user is inquired about according to the user name, and judges to whether there is in the historical operation daily record First geographical location and the first URL addresses;
    If being not present, geographical location and URL addresses in the historical operation daily record show adaptation to the user URL address files;
    If in the presence of showing the first URL address files to the user.
  2. 2. the according to the method described in claim 1, it is characterized in that, geographical location in the historical operation daily record And URL addresses, the URL address files being adapted to are shown to the user, including:
    The second most geographical location of user's access times described in the historical operation daily record is counted, and determines second ground Manage the corresponding 2nd URL addresses in position;
    The 2nd URL address files are shown to the user.
  3. 3. the according to the method described in claim 1, it is characterized in that, geographical location in the historical operation daily record And URL addresses, the URL address files being adapted to are shown to the user, including:
    It determines that user described in the historical operation daily record accesses the 3rd geographical location once recently, and determines the 3rd ground Manage the corresponding 3rd URL addresses in position;
    The 3rd URL address files are shown to the user.
  4. 4. according to the method described in claim 1, it is characterized in that, described according to the current IP address, inquire about described current Corresponding first geographical location of IP address, including:
    By api interface, Global IP addresses geographical location information data storehouse is called, inquires about the current IP address corresponding first Geographical location.
  5. 5. method according to any one of claim 1 to 4, which is characterized in that the historical operation daily record includes:
    User name, operating position, operating time and the corresponding URL addresses of the operating position.
  6. 6. a kind of webpage content adaptation system, which is characterized in that including:
    Acquiring unit, for obtaining the log-on message of user, the log-on message includes at least user name and current IP address;
    Query unit, for according to the current IP address, inquiring about corresponding first geographical location of the current IP address, and root The corresponding first URL addresses in first geographical location are determined according to first geographical location;
    Content matching unit for inquiring about the historical operation daily record of the user according to the user name, and judges the history It whether there is first geographical location and the first URL addresses in operation log;
    First content display unit, for there is no when first geographical location and the first URL addresses, according to described Geographical location and URL addresses in historical operation daily record show the URL address files of adaptation to the user;
    Second content display unit, for there are when first geographical location and the first URL addresses, to the user Show the first URL address files.
  7. 7. system according to claim 6, which is characterized in that the first content display unit, including:
    Statistical module, for counting the second most geographical location of user's access times described in the historical operation daily record, and Determine the corresponding 2nd URL addresses in second geographical location;
    First display module, for showing the 2nd URL address files to the user.
  8. 8. system according to claim 6, which is characterized in that the first content display unit, including:
    Determining module, for determining that user described in the historical operation daily record accesses the 3rd geographical location once recently, and Determine the corresponding 3rd URL addresses in the 3rd geographical location;
    Second display module, for showing the 3rd URL address files to the user.
  9. 9. a kind of computer installation, including processor, which is characterized in that the processor is stored in the meter on memory in execution During calculation machine program, it is used to implement such as the step in the webpage content adaptation method any one of claim 1 to 5.
  10. 10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is performed When, it is used to implement such as the step in the webpage content adaptation method any one of claim 1 to 5.
CN201711444933.XA 2017-12-27 2017-12-27 Webpage content adaptation method, system, device and storage medium Active CN108121811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711444933.XA CN108121811B (en) 2017-12-27 2017-12-27 Webpage content adaptation method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711444933.XA CN108121811B (en) 2017-12-27 2017-12-27 Webpage content adaptation method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN108121811A true CN108121811A (en) 2018-06-05
CN108121811B CN108121811B (en) 2021-01-12

Family

ID=62231855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711444933.XA Active CN108121811B (en) 2017-12-27 2017-12-27 Webpage content adaptation method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN108121811B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080250026A1 (en) * 2001-10-24 2008-10-09 Linden Gregory D Recommendations based on cross-site browsing activities of users
CN102799688A (en) * 2012-07-31 2012-11-28 东莞宇龙通信科技有限公司 Method and device for displaying historical records of webpages
CN105227621A (en) * 2015-08-21 2016-01-06 成都秋雷科技有限责任公司 Advertisement fixing is to put-on method
CN106326284A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Historical record acquisition method, server and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080250026A1 (en) * 2001-10-24 2008-10-09 Linden Gregory D Recommendations based on cross-site browsing activities of users
CN102799688A (en) * 2012-07-31 2012-11-28 东莞宇龙通信科技有限公司 Method and device for displaying historical records of webpages
CN106326284A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Historical record acquisition method, server and terminal
CN105227621A (en) * 2015-08-21 2016-01-06 成都秋雷科技有限责任公司 Advertisement fixing is to put-on method

Also Published As

Publication number Publication date
CN108121811B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN108737325B (en) Multi-tenant data isolation method, device and system
CN105530175A (en) Message processing method, device and system
CN104954410A (en) Message pushing method, device thereof and server
CA2992563A1 (en) Method and system for applying probabilistic topic models to content in a tax environment to improve user satisfaction with a question and answer customer support system
CN108572963A (en) Information acquisition method and device
CN104869143A (en) Data sharing method and device, client and server
CN108492188B (en) Client recommendation method, device, equipment and storage medium
CN108718337B (en) Website account login, verification and verification information processing method, device and system
CN102567299A (en) Using text messages to interact with spreadsheets
CN103440276A (en) Method and device for improving webpage display speed
US10049369B2 (en) Group targeting system and method for internet service or advertisement
CN108028768A (en) The method and system of application version is installed by short-range communication
CN104142975B (en) Microblog information promotion method, device and system
CN109347898A (en) Sending method, display methods and the server and mobile terminal of scene information
US11665247B2 (en) Resource discovery agent computing device, software application, and method
CN108564462A (en) Acquisition methods, terminal device and the medium of collage-credit data
CN103415847B (en) System and method for accessing service
CN111198685B (en) Method for generating front-end interaction page based on user state, device, system, server and storage medium thereof
US20120072559A1 (en) Text-based system for exchanging commands between devices, services and applications
CN113900907A (en) Mapping construction method and system
CN111767481B (en) Access processing method, device, equipment and storage medium
Reda et al. Distributing private data in challenged network environments
CN103188324A (en) Vehicle-mounted information displaying system
CN108121811A (en) A kind of webpage content adaptation method, system, device and storage medium
JP2016040658A (en) Inventory support device, inventory support method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Guangdong Nanshan District street of Shenzhen city in Guangdong province 518000 Shenzhen international software park a 8 Building 202 room

Applicant after: Shenzhen Weizhong credit Technology Co., Ltd

Address before: Guangdong Nanshan District street of Shenzhen city in Guangdong province 518000 Shenzhen international software park a 8 Building 202 room

Applicant before: Shenzhen micro tax silver Information Service Co., Ltd.

GR01 Patent grant
GR01 Patent grant