[go: up one dir, main page]

CN103795741B - Server and server side user self-service portal home page realizing method - Google Patents

Server and server side user self-service portal home page realizing method Download PDF

Info

Publication number
CN103795741B
CN103795741B CN201210420948.3A CN201210420948A CN103795741B CN 103795741 B CN103795741 B CN 103795741B CN 201210420948 A CN201210420948 A CN 201210420948A CN 103795741 B CN103795741 B CN 103795741B
Authority
CN
China
Prior art keywords
user
portal
server
self
character string
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.)
Expired - Fee Related
Application number
CN201210420948.3A
Other languages
Chinese (zh)
Other versions
CN103795741A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210420948.3A priority Critical patent/CN103795741B/en
Publication of CN103795741A publication Critical patent/CN103795741A/en
Application granted granted Critical
Publication of CN103795741B publication Critical patent/CN103795741B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a server and a server side user self-service portal home page realizing method. The method includes the following steps that: when a user logs in a portal, the server obtains a user number, and user basic information and an expansion character string are obtained according to the user number; and the server performs authentication on the user according to the user number, if the authentication is approved, the server assembles the URL address of a self-service home page and returns the URL address and the user basic information to the portal, and the portal is redirected to the self-service home page, and then, the login of the user can be accomplished. The invention also discloses a server. With the server and the server side user self-service portal home page realizing method of the invention adopted, synchronous mutual communication of user self-service portal home pages on a plurality of terminals can be realized, and the experience of the user can be improved; and in the authentication, the assembly of the self-service home page can be finished, and therefore, secondary access to a database can be decreased, and pressure on the server can be reduced, and the response speed of the server can be improved.

Description

Server and method for self-selecting portal home page by server side user
Technical Field
The invention relates to the internet technology, in particular to a server and a method for a server side user to select a portal home page.
Background
A Web server (Web) is a technology for providing Resource services to a user by Uniform Resource Locator (URL) address location, the user opens a browser on a mobile terminal or a computer, inputs a URL address of a website to be accessed, and the Web server analyzes a request of the user and displays a home page of the website. After logging in a website portal, a user can browse resources or set the relevant personal configuration of the user on the website.
For a website needing to be registered and logged in, a mobile terminal user generally accesses a Wireless Application Protocol (WAP) portal through a trusted WAP gateway, the WAP gateway acquires a user number and sends the user number to a service platform, and the service platform completes the registration and login authentication of the user and automatically displays a portal home page; when a computer user accesses a Web portal through a general Internet, a website prompts the user to register or log in, and after the user registers or logs in, the website displays a home page address of the portal for the user.
Because the preferences of various users are different, the pages which the users want to see when accessing the portal are also different, and many users can directly enter the favorite pages after the users want to input the domain name, instead of jumping to the pages which the users want to see first to the first page and then page by page.
Currently, a common processing mode is a mode of setting a tab through a browser. The browser sets the tab mode, namely, the address of the favorite page of the user is stored in the browser in a tab mode. The user accesses the portal server and browses the resources required by the user. When the user finds himself likes a page very much, he can save the page in the form of a tab to the local browser. The next time the browser is opened, the user can directly access the designated page by clicking on the tab.
The local bookmark setting mode of the browser has the advantages of being simple to implement, convenient to use and easy to use by a user. The problem of the local bookmarking mode of the browser is as follows: the method can not support synchronous intercommunication of various terminals. When a user saves a page tab through a mobile terminal browser, the page tab cannot be automatically synchronized to a computer browser used by the user or a browser of another terminal, such as a tablet computer (PAD).
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a server and a method for a server-side user to select a portal home page, which can implement synchronous intercommunication of the user-selected portal home page on multiple terminals, and improve user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for realizing self-selection of a portal home page by a server side user, which comprises the following steps:
when a user logs in a portal, a server acquires a user number, and acquires basic information and an expansion character string of the user according to the user number;
the server completes the authentication of the user according to the user number, if the authentication is passed, the server assembles the URL address of the self-selection home page, and returns the URL address and the user basic information to the portal, and the portal redirects to the self-selection home page to complete the user login.
In the above scheme, before the user logs in the portal, the method further includes:
the user logs in the portal personal information center and sets the self-chosen homepage, and the server acquires the extension character string of the URL address of the self-chosen homepage and stores the extension character string in the self-chosen homepage extension address field in the user basic information table.
In the above scheme, the method further comprises:
if the authentication fails, the server returns authentication failure information to the portal, and the portal is redirected to an error page.
In the above scheme, the user basic information table includes: subscriber number, name, status, network attributes, age, region of belongings.
In the above scheme, if the user number is based on a WAP portal, the user number includes a mobile terminal number acquired by a WAP server; if the user is based on the Web portal, the user name and the password input by the user are included.
In the above solution, the URL address of the self-selected home page includes: portal domain name address string + extension string.
The invention also provides a server, which comprises an information acquisition unit and a service processing unit; wherein,
the information acquisition unit is used for acquiring a user number and sending the user number to the service processing unit;
the service processing unit is used for acquiring the basic information and the extended character string of the user according to the user number acquired by the information acquisition unit; and the system is also used for finishing the authentication of the user according to the user number, assembling the URL address of the self-selected home page and returning the URL address to the corresponding page of the portal according to the authentication result.
In the above scheme, the server further comprises a database for storing a user basic information table;
correspondingly, the service processing unit is further configured to query a user basic information table stored in the database according to the user number acquired by the information acquisition unit to acquire the user basic information and the extended character string.
In the above-mentioned scheme, the first step of the method,
the information acquisition unit is also used for acquiring the extension character string of the URL address of the self-selection homepage when a user logs in the portal personal information center and sets the self-selection homepage, and sending the acquired extension character string to the service processing unit;
correspondingly, the service processing unit is further configured to store the extension character string sent by the information obtaining unit in the self-option page extension address field in the user basic information table.
In the above scheme, the authentication result includes passing authentication and failing authentication; wherein,
if the authentication is passed, the service processing unit returns the URL address of the self-selection home page of the user and the basic information of the user to the portal, and the portal redirects to the self-selection home page to complete the user login;
if the authentication fails, the service processing unit returns authentication failure information to the portal, and the portal is redirected to an error page.
The invention provides a server and a method for self-selecting a portal home page by a user at the server side. Therefore, the information of the user self-selection home page is stored on the server side, when the user changes other terminals to access the portal, the server can still automatically redirect the user self-selection home page according to the user number, synchronous intercommunication of the user self-selection home page on various terminals is realized, and user experience is improved.
In addition, in the authentication process, the server extracts the user basic information and the extension character string in the user basic information table at one time, and completes the assembly of the self-selection top page while authenticating, thereby reducing the secondary access of the database, reducing the pressure on the server and improving the response speed of the server.
Drawings
FIG. 1 is a schematic flow chart of a method for a server-side user to self-select a portal home page according to the present invention;
FIG. 2 is a block diagram of a server according to the present invention;
fig. 3 is a flowchart illustrating a method for a server-side user to self-select a portal home page according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a method for a server-side user to self-select a portal home page, as shown in fig. 1, including the following steps:
step 11: when a user logs in a portal, a server acquires a user number and acquires basic information and an expansion character string of the user according to the user number;
here, the obtaining of the basic information and the extended character string of the user according to the user number is: inquiring a user basic information table stored in a database of a server according to the user number to acquire user basic information and an expansion character string;
the method also comprises the following steps: before a user logs in a portal, the user logs in a portal personal information center and sets a self-selection home page, a server acquires an extension character string of a URL (uniform resource locator) address of the self-selection home page and stores the extension character string in an extension address field of the self-selection home page in a user basic information table;
wherein, the URL address of the self-selection home page comprises: portal domain name address string + extension string, for example, http:// ideal.com.cn/r.act? fr 1011 and tpid 2021, the portal domain name address string is http:///area.com.cn, and the extension string is/r.act? fr & src & 1011& tpid & 106046& fid 2021;
the server is a server for providing access portal URL resources for users, a user basic information table is stored in a database of the server, and the user basic information table stores personal information of each user, including user numbers, names, states, network attributes, ages, belonged regions and the like; the invention adds the self-chosen homepage extension field in the user basic information table, so that the server can store the extension character string of the URL address of the self-chosen homepage in the self-chosen homepage extension address field in the user basic information table after acquiring the URL address of the self-chosen homepage;
the user number has different contents based on different portals, for the WAP portal, the user number comprises a mobile terminal number such as a mobile phone number acquired by a WAP server, and the server can acquire the terminal information through a WAP gateway to register or authenticate the user; for the Web portal, the user number is a user name and a password input by the user so as to complete the registration or authentication of the user;
step 12: the server completes the authentication of the user according to the user number, if the authentication is passed, the server assembles the URL address of the self-selection home page and returns the address and the basic information of the user to the portal, and the portal redirects to the self-selection home page to complete the user login;
the URL address of the self-selection home page is assembled by the server, wherein the URL address is a new URL address formed by a way of a portal domain name address character string and an expansion character string, the portal domain name address character string is in front, the expansion character string is in back, the URL address of the self-selection home page of the user is obtained, the address and the basic information of the user are returned to a portal, and the portal is redirected to the self-selection home page to finish the login of the user;
here, if the authentication fails, the server returns authentication failure information to the portal, and the portal is redirected to an error page.
Specifically, when a user logs in a portal for the first time and sets a self-chosen homepage in a portal personal information center, a server acquires a URL (uniform resource locator) address of the self-chosen homepage and stores an extension character string of the URL address of the self-chosen homepage in an extension field of the self-chosen homepage in a user basic information table; when the user logs in the portal again, the server acquires the user number, queries a user basic information table according to the user number, and acquires user basic information and an expansion character string; the server completes the authentication of the user according to the user number, if the authentication is passed, the server assembles the URL address of the self-selection home page and returns the address and the user basic information to the portal, and the portal automatically redirects to the address of the self-selection home page to complete the user login; if the authentication fails, the server returns authentication failure information to the portal, and the portal is redirected to an error page.
The user can maintain the self-selection home page information in the portal personal information center, and can set, modify and delete the self-selection home page information; if the user modifies other pages as the self-selection home page, the system automatically acquires the extension character string of the new address, and stores the acquired extension character string of the new address in the self-selection home page extension address field of the user basic information table, and the original information of the field is automatically covered; if the user deletes the self-selection home page information, the server empties the self-selection home page extension field information of the user basic information table;
when a user accesses a portal, a server authenticates the user and simultaneously acquires an extended character string of a URL (uniform resource locator) address of a user self-selection home page, and after the authentication is passed, the portal automatically redirects to the page of the self-selection home page address; because the user self-selection home page information is stored at the server side, when a user changes other terminals to access the portal, the server can still automatically redirect the user self-selection home page according to the user number, thereby realizing the synchronous intercommunication of the user self-selection home page on various terminals and improving the user experience.
In addition, in the authentication process, the server extracts the user basic information and the extension character string in the user basic information table at one time, and completes the assembly of the self-selection top page while authenticating, thereby reducing the secondary access of the database, reducing the pressure on the server and improving the response speed of the server.
Fig. 2 is a schematic diagram of a composition architecture of a server according to the present invention, as shown in fig. 2, the server includes: an information acquisition unit 21 and a service processing unit 22; wherein,
the information acquiring unit 21 is configured to acquire a user number and send the user number to the service processing unit 22;
the service processing unit 22 is configured to obtain the basic information and the extended character string of the user according to the user number obtained by the information obtaining unit 21; the portal authentication system is also used for finishing the authentication of the user according to the user number, assembling the URL address of the self-selected home page and returning the URL address to the corresponding page of the portal according to the authentication result;
here, the authentication result includes authentication pass and authentication failure; wherein,
if the authentication is passed, the service processing unit 21 returns the URL address of the self-selection homepage of the user and the basic information of the user to the portal, and the portal redirects to the self-selection homepage to complete the user login;
if the authentication fails, the service processing unit 21 returns authentication failure information to the portal, and the portal is redirected to an error page.
Further, the server further includes a database 23 for storing a user basic information table;
correspondingly, the service processing unit 22 is further configured to query the user basic information table stored in the database 23 according to the user number acquired by the information acquiring unit 21 to acquire the user basic information and the extended character string.
Further, the information obtaining unit 21 is further configured to, when the user logs in the portal personal information center and sets the self-chosen homepage, obtain an extended character string of a URL address of the self-chosen homepage, and send the extended character string to the service processing unit 22;
correspondingly, the service processing unit 22 is further configured to store the extended character string sent by the information obtaining unit 21 in an extended address field of a self-chosen homepage in the user basic information table;
and the URL address of the self-selection home page comprises a portal domain name address character string and an extension character string.
Fig. 3 is a schematic flowchart of a method for a server-side user to self-select a homepage according to an embodiment of the present invention, and as shown in fig. 3, the method includes the following steps:
step 301: a user inputs a website domain name address in an address bar of a browser, and a server acquires Hypertext transfer Protocol (HTTP) request information sent by a portal;
step 302-303: the server matches the SessionID in the request message with the stored SessionID, and determines whether there is a matching SessionID, if yes, then step 309 is executed; if the judgment result is no, executing steps 304-307;
here, the Session id is a Session (Session) identifier assigned by the server to the access in the HTTP request message, the Session identifier includes information related to the login user, and the Session id of the access is already stored in the server when the user accesses the website and initially logs in; if the user accesses the website again, the HTTP request information also comprises the Session ID which is distributed by the server and is the same as that when the user logs in the website for the first time;
wherein, the server matches the SessionID in the request message with the stored SessionID, and determines whether there is a matched SessionID, if the determination result is yes, it indicates that the accessing user is the user who has logged in, the server does not initiate the user authentication request, and directly executes step 309: directly displaying a page of a website domain name address requested by a user by a portal;
if the judgment result is no, the visiting user is the user who logs in for the first time, the user needs to be authenticated, and whether the visiting user needs to be redirected to the user self-selection homepage or not is determined according to the setting of the user on the self-selection homepage, and the steps 304-307 are executed;
step 304-305: the server acquires the user number to authenticate the user, judges whether the authentication is passed, and executes step 306 if the authentication is passed; if the authentication fails, go to step 308;
here, the user logs in the website for the first time, if the user logs in the website through terminal equipment such as a computer and the like, based on a Web portal, the user name and the password need to be input, and the server completes authentication on the user through the acquired user numbers such as the user name, the password and the like; if the user passes through the equipment such as a mobile phone and the like, the server completes the authentication of the user through the acquired mobile phone number based on the WAP portal;
step 306: judging whether the website domain name address requested by the user completely matches the portal domain name address, if so, executing step 307; if the website domain name address requested by the user does not completely match the portal domain name address, executing step 309;
here, the perfectly matching portal domain name address refers to an address of a website domain name without any parameter, such as: http:// iread.com.cn, if the website domain name address requested by the user is http:// iread.com.cn/r.act? fr & src 1011& tpid 106046& fid 20, indicating that the website domain name address requested by the user does not exactly match the portal domain name address, then go to step 309;
step 307: the server assembles the URL address of the self-selection home page, returns the address and the basic information of the user to the portal, redirects the portal to the self-selection home page of the user, finishes the user login and finishes the current processing flow;
the server inquires a user basic information table stored in a database according to the acquired user number, acquires user basic information and an extension character string, and assembles a URL (uniform resource locator) address of a user home page in a way of a portal domain name address character string plus the extension character string; the server returns the URL address of the self-selection home page and the basic information of the user to the portal, and the portal redirects the self-selection home page of the user to complete the user login;
step 308: the portal redirects to the error page and finishes the current processing flow;
step 309: the portal directly presents the page of the website domain name address requested by the user.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (9)

1. A method for realizing self-selection of portal home page by a server side user is characterized by comprising the following steps:
when a user logs in a portal, a server acquires a user number, and acquires basic information and an expansion character string of the user according to the user number;
the server completes the authentication of the user according to the user number, if the authentication is passed, the server assembles the portal domain name address character string and the expansion character string into a Uniform Resource Locator (URL) address of the self-selection home page, and returns the URL address and the user basic information to the portal, and the portal is redirected to the self-selection home page to complete the user login.
2. The method of claim 1, wherein prior to the user logging into the portal, the method further comprises:
the user logs in the portal personal information center and sets the self-chosen homepage, and the server acquires the extension character string of the URL address of the self-chosen homepage and stores the extension character string in the self-chosen homepage extension address field in the user basic information table.
3. The method of claim 1, further comprising:
if the authentication fails, the server returns authentication failure information to the portal, and the portal is redirected to an error page.
4. The method of claim 2, wherein the user basic information table comprises: subscriber number, name, status, network attributes, age, region of belongings.
5. The method according to any of claims 1 to 4, wherein the subscriber number, if based on a Wireless Application Protocol (WAP) portal, comprises a mobile terminal number obtained by a WAP server; if based on a Web portal, a user name and password entered by the user are included.
6. A server is characterized by comprising an information acquisition unit and a service processing unit; wherein,
the information acquisition unit is used for acquiring a user number and sending the user number to the service processing unit;
the service processing unit is used for acquiring the basic information and the extended character string of the user according to the user number acquired by the information acquisition unit; and the portal is also used for finishing the authentication of the user according to the user number, if the authentication is successful, assembling the portal domain name address character string and the expansion character string into the URL address of the self-selection home page, returning the URL address of the self-selection home page and the user basic information to the portal, and redirecting the portal to the self-selection home page to finish the user login.
7. The server according to claim 6, wherein the server further comprises a database for storing a user basic information table;
correspondingly, the service processing unit is further configured to query a user basic information table stored in the database according to the user number acquired by the information acquisition unit to acquire the user basic information and the extended character string.
8. The server according to claim 6,
the information acquisition unit is also used for acquiring the extension character string of the URL address of the self-selection homepage when a user logs in the portal personal information center and sets the self-selection homepage, and sending the acquired extension character string to the service processing unit;
correspondingly, the service processing unit is further configured to store the extension character string sent by the information obtaining unit in the self-option page extension address field in the user basic information table.
9. The server according to claim 6, wherein the service processing unit is further configured to,
if the authentication fails, the authentication failure information is returned to the portal, and the portal is redirected to the error page.
CN201210420948.3A 2012-10-29 2012-10-29 Server and server side user self-service portal home page realizing method Expired - Fee Related CN103795741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210420948.3A CN103795741B (en) 2012-10-29 2012-10-29 Server and server side user self-service portal home page realizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210420948.3A CN103795741B (en) 2012-10-29 2012-10-29 Server and server side user self-service portal home page realizing method

Publications (2)

Publication Number Publication Date
CN103795741A CN103795741A (en) 2014-05-14
CN103795741B true CN103795741B (en) 2017-02-08

Family

ID=50671025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210420948.3A Expired - Fee Related CN103795741B (en) 2012-10-29 2012-10-29 Server and server side user self-service portal home page realizing method

Country Status (1)

Country Link
CN (1) CN103795741B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996621B (en) * 2022-07-29 2022-11-18 合肥汉泰网络科技有限公司 Method, system and storage medium for user to self-select portal home page

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464425A (en) * 2002-06-28 2003-12-31 华为技术有限公司 A method of simplified access of internet service provider's portal websites
CN1932871A (en) * 2005-09-13 2007-03-21 北京搜畅网络技术有限公司 Method for establishing user personal page
CN101170637A (en) * 2007-11-27 2008-04-30 中兴通讯股份有限公司 A method for logging in personalized electronic program list
TW201113728A (en) * 2009-10-09 2011-04-16 Dynalab Singapore Ltd Personalized homepage generation system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778367A (en) * 1995-12-14 1998-07-07 Network Engineering Software, Inc. Automated on-line information service and directory, particularly for the world wide web
US7093285B2 (en) * 2001-01-31 2006-08-15 International Business Machines Corporation Supplier portal for global procurement e-business applications
US20070220553A1 (en) * 2005-09-30 2007-09-20 Bellsouth Intellectual Property Corporation Methods, systems, and computer program products for providing customized content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464425A (en) * 2002-06-28 2003-12-31 华为技术有限公司 A method of simplified access of internet service provider's portal websites
CN1932871A (en) * 2005-09-13 2007-03-21 北京搜畅网络技术有限公司 Method for establishing user personal page
CN101170637A (en) * 2007-11-27 2008-04-30 中兴通讯股份有限公司 A method for logging in personalized electronic program list
TW201113728A (en) * 2009-10-09 2011-04-16 Dynalab Singapore Ltd Personalized homepage generation system

Also Published As

Publication number Publication date
CN103795741A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN106131079B (en) Authentication method, system and proxy server
CN102843311B (en) Based on information fusion method and the server of SNS
CN101771676B (en) Setting and authentication method for cross-domain authorization and relevant device and system
US20100049790A1 (en) Virtual Identity System and Method for Web Services
US7010582B1 (en) Systems and methods providing interactions between multiple servers and an end use device
US7428750B1 (en) Managing multiple user identities in authentication environments
CN106716918B (en) User authentication method and system
US20130246504A1 (en) Method for subscribing to notification, apparatus and system
US20110289138A1 (en) Method, machine and computer program product for sharing an application session across a plurality of domain names
WO2014019427A1 (en) Network accessing method, application server and system
CN102984173A (en) Network access control method and system
WO2015000320A1 (en) Mobile terminal cross-browser login method and device
CN101426009A (en) Identity management platform, service server, uniform login system and method
CN103024740A (en) Method and system for accessing internet by mobile terminal
CN103888540B (en) Login information synchronization method, synchronized network servers and synchronizing network servers
US7093019B1 (en) Method and apparatus for providing an automated login process
CN102064953A (en) System, device and method for configuring user right information of lightweight directory access protocol (ldap) server
CN101668050A (en) Method and system for analyzing a domain name
JPWO2002048893A1 (en) Method and apparatus for performing user authentication
JP4932154B2 (en) Method and system for providing user authentication to a member site in an identity management network, method for authenticating a user at a home site belonging to the identity management network, computer readable medium, and system for hierarchical distributed identity management
KR101506594B1 (en) Method and system for subscriber to log in internet content provider(icp) website in identity/location separation network and login device thereof
CN110278178B (en) A login method, device and readable storage medium
JP2000106552A (en) Authentication method
CN103795741B (en) Server and server side user self-service portal home page realizing method
US20100296637A1 (en) Service Processing Method, Communication System and Related Device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208

CF01 Termination of patent right due to non-payment of annual fee