Method and system for transmitting browser web page information

A method and a system for transmitting browser web page information includes receiving, by a web server, a web page transmission request from a sending party browser. The web page transmission request includes a receiving party account and a link address. The link address is a website address of a web page currently displayed by the sending party browser. The method includes determining, by the web server, that a receiving party has logged in by using (1) the receiving party account and (2) a browser provided with an inter-screen transmission entrance and is online. The method includes sending, by the web server, the link address to a receiving party browser corresponding to the receiving party account for web page access.

FIELD

The present disclosure relates to web page information processing technologies and a system for transmitting browser web page information.

BACKGROUND

As the frequent use of browsers is increasing, functions of the browsers are continuously improving. Currently, an inter-screen transmission method for transmitting web page information by using a browser is available. By using an inter-screen transmission function, a currently browsed web page can be sent with one click on an inter-screen transmission entrance button on the browser to a browser of another device. Currently, the inter-screen transmission function is mainly implemented in the following three steps, which are separately described herein.

When needing to share a currently browsed web page, a user copies a website address on a browser, logs in to a social network, selects a friend, and sends the website address after pasting the copied website address. When logging into the social network, such as Renren or Pengyou, the friend can receive the shared web page information. However, all the existing methods for transmitting browser web page information have a defect that web page information cannot be conveniently transmitted in time.

SUMMARY

An exemplary method for transmitting browser web page information includes the following:

receiving, by a web server, a web page transmission request from a sending party browser, the web page transmission request including a receiving party account and a link address, and the link address being a website address of a web page currently displayed by the sending party browser;

determining, by the web server, that a receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online; and

sending, by the web server, the link address to a receiving party browser corresponding to the receiving party account for web page access.

An exemplary web server for transmitting browser web page information includes a request acquisition unit, a login state determining unit, and a web page information transmission unit;

the request acquisition unit receiving a web page transmission request from a sending party browser, the web page transmission request including a receiving party account and a link address, and the link address being a website address of a web page currently displayed by a sending party browser;

the login state determining unit receiving the web page transmission request from the request acquisition unit, determining that a receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online, and sending the web page transmission request to the web page information transmission unit; and

the web page information transmission unit receiving the web page transmission request from the login state determining unit, and sending the link address to a receiving party browser corresponding to the receiving party account for web page access.

An exemplary browser for transmitting browser web page information includes a user operation capturing unit and a transmission request initiating unit;

the user operation capturing unit acquiring a web page transmission request that is input by a user by operating a web page transmission option of an inter-screen transmission entrance, and sending the web page transmission request to the transmission request initiating unit, the web page transmission request including a receiving party account and a link address, and the link address being a website address of a web page currently displayed by a sending party browser; and

the transmission request initiating unit receiving the web page transmission request from the user operation capturing unit, and sending the web page transmission request to the transmission request acquisition unit.

DETAILED DESCRIPTION

To make the goals, technical methods, and benefits of the present disclosure clearer, the present disclosure is further described in detail below with reference to embodiments and the accompanying drawings.

In the present disclosure, a sending party browser sends, to a web server, a web page transmission request used for sharing a web page, and the web server receives the web page transmission request. After processing the web page transmission request, the web server sends a link address included in the web page transmission request to a receiving party browser that is online and is provided with an inter-screen transmission entrance. A receiving party does not need to open and login to a social network to view web page information, and can receive the web page information from the sending party browser as long as the receiving party logs in by using a browser provided with an inter-screen transmission function. Therefore, the web page information is transmitted in a more timely and convenient manner.FIG. 1is a flowchart of a method for transmitting browser web page information according to the present disclosure. The method includes the following blocks.

Block S301: A web server receives a web page transmission request from a sending party browser, where the web page transmission request includes a receiving party account and a link address, and the link address is a website address of a web page currently displayed by the sending party browser. Web page information is both sent and received by browsers, and the browsers are browsers provided with an inter-screen transmission entrance. Correspondingly, all requests related to web page information transmission are processed by the web server, and the web server may process a request related to a function of the browsers. By clicking an inter-screen transmission entrance set on a browser, a corresponding option may further be selected as needed for a subsequent operation, for example, a web page transmission option may be selected, and a web page currently displayed by the browser is shared with a receiving party.

Block S302: The web server determines that a receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online. If a user logs in to a browser by using an account, a web server has a corresponding record, where the record further includes a type of the browser, that is, whether the user logs in by using a browser provided with an inter-screen transmission entrance. After the receiving party account is learned, it can be determined, according to the record, whether the receiving party logs in by using a browser provided with an inter-screen transmission entrance. If the receiving party logs in by using a browser provided with an inter-screen transmission entrance, it is determined that the receiving party is online, and block S303is performed next. If the receiving party does not log in by using a browser provided with an inter-screen transmission entrance, or if the receiving party is offline, block S303is not performed, or may also be performed after the receiving party logs in.

Block S303: The web server sends the link address to a receiving party browser corresponding to the receiving party account for web page access. The receiving party browser may directly access the link address, and may also determine, according to a selection of a user, whether to access the link address as follows:

the web server sends web page sharing information including the link address to the receiving party browser; and

the receiving party browser displays the web page sharing information to prompt the user whether to choose to share the web page or ignore sharing, and accesses the corresponding web page by using the link address if the user chooses to share the web page, or ends the display of the web page sharing information if the user chooses to ignore sharing.

After an inter-screen transmission entrance set on a browser is clicked, a corresponding option is selected as needed for a subsequent operation, for example, a web page transmission option, a friend list display option, an online-friend list display option, an invitation option, or the like. Descriptions of the options are provided below.

By using the friend list display option, all friends with whom a friendship has been established with can be displayed, namely, all online and offline friends as follows:

the receiving party browser receives a friend list display request that is input by the user by operating the friend list display option, and sends the friend list display request including a sending party account to the web server;

the web server extracts a friend list corresponding to the sending party account, and feeds back the friend list to the sending party browser; and

the sending party browser displays the friend list in an interface.

A new friend may be added to the friend list by using a friend adding option. The friend list includes accounts of all friends, and may further include a friend associated account corresponding to each friend account, where the friend associated account is, for example, a mobile number or a social network account of a friend, where the social network account is, for example, a Renren account, a microblog account, or a Pengyou account.

By using the online-friend list display option, a currently online friend in a friend list can be displayed as follows:

the receiving party browser receives an online-friend list display request that is input by the user by operating the online-friend list display option, and sends the online-friend list display request including a sending party account to the web server;

the web server extracts a friend list corresponding to the sending party account;

the web server selects, from the friend list, an online friend logging in by using a browser provided with an inter-screen transmission entrance, to generate an online-friend list, and feeds back the online-friend list to the sending party browser; and

the sending party browser displays the online-friend list in an interface.

The online-friend list includes accounts of online friends, and may further include a friend associated account corresponding to each online-friend account, where the friend associated account is, for example, a mobile number or a social network account of a friend, where the social network account is, for example, a Renren account, a microblog account, or a Pengyou account.

By using the web page transmission option, the web page currently displayed by the browser can be shared with the receiving party. The receiving party account may be selected from the friend list or the online-friend list, or may be input directly, then a “confirm” button is clicked, and the sending party browser sends a web page transmission request including the receiving party account and the link address to the web server.

By using the invitation option, an invitation may be initiated to an offline friend or a friend who has not used a browser with an inter-screen transmission function, to invite the friend to use a browser with an inter-screen transmission function as well. Web page information can be rapidly shared as follows:

the sending party browser receives an invitation request that is input by the user by operating the invitation option, where the invitation request includes the sending party account and a friend associated account, and sends the invitation request to the web server;

the web server sends the invitation request to a network service server corresponding to the friend associated account; and

the network service server sends invitation information including the sending party account to a client corresponding to the friend associated account for display.

The friend associated account included in the invitation request may be input directly; and it is also feasible to determine an offline friend by comparing the online-friend list and the friend list and select an associated account of the offline friend for input.

The invitation request may be actively triggered by the sending party. For example, the sending party learns that the online-friend list does not have a corresponding friend, and actively initiates an invitation. In various embodiments at block S302of the process inFIG. 1, if it is determined that the receiving party is offline, the web server may feed back an offline prompt to the sending party browser, and the sending party may then choose to initiate the invitation request to the receiving party.

In the present disclosure, a web server receives a web page transmission request sent by a sending party browser, where the web page transmission request includes a receiving party account and a link address. The web server determines that a receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online. The web server sends the link address to a receiving party browser corresponding to the receiving party account for web page access. The sending party browser sends the web page transmission request to the web server, and the web server sends the link address to the receiving party browser that is online and is also provided with an inter-screen transmission entrance. The receiving party does not need to open and login to a social network to view web page information, and can receive the web page information from the sending party browser as long as the receiving party logs in by using a browser provided with an inter-screen transmission function. Therefore, the web page information is received in a more timely and convenient manner.

FIG. 2depicts a method for transmitting browser web page information and is described below by using an example, which includes the following blocks.

Block S401: A user clicks an inter-screen transmission entrance on a sending party browser, and the sending party browser displays an inter-screen transmission menu, where the inter-screen transmission menu includes an online-friend list display option. The sending party browser receives an online-friend list display request that is input by the user by operating the online-friend list display option, and sends the online-friend list display request including a sending party account to a web server.

Block S402: The web server extracts a friend list corresponding to the sending party account.

Block S403: The web server selects, from the friend list, an online friend logging in by using a browser provided with an inter-screen transmission entrance, to generate an online-friend list, and feeds back the online-friend list to the sending party browser.

Block S404: The sending party browser displays the online-friend list in an interface. An inter-screen transmission interface shown inFIG. 3includes the acquired online-friend list, where the online-friend list further shows associated devices of friends.

Block S405: The sending party browser receives a web page transmission request that is input by the user by operating a web page transmission option, where the web page transmission request includes a receiving party account and a link address, and sends the web page transmission request by using the inter-screen transmission entrance set on the sending party browser, where the link address is a website address of a web page currently displayed by the sending party browser.

Block S406: The web server determines whether a receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance and is online. If yes, perform block S407; otherwise, perform block S409.

Herein, “online” refers to “the browser has already been logged in to”. Regardless of whether the browser is currently open, as long as the browser is logged in to and is not logged out of, the browser is online (by default, when a browser is logged in to, “automatically log in during next start” is checked, and therefore, as long as a user does not log out actively or in the case in which a login state is invalid because the browser has not been used for a long time does not occur, the browser is automatically logged in to each time the user starts the browser).

Block S407: The web server sends web page sharing information including the link address to a receiving party browser. After the information is successfully sent, a prompt of “sent successfully” may be displayed on the sending party browser, as shown inFIG. 3.

Block S408: The receiving party browser displays the web page sharing information to prompt a user whether to choose to share the web page or ignore sharing, accesses the corresponding web page by using the link address if the user chooses to share the web page, and block S410is performed, or, the receiving party browser ends the display of the web page sharing information if the user chooses to ignore sharing.

Block S409: The web server sends, to the sending party browser, a response indicating the receiving party has not logged in to prompt the sending party to initiate an invitation and block S410is performed.

Block S410: The sending party browser receives an invitation request that is input by the user by operating an invitation option, where the invitation request includes the sending party account and a friend associated account, and sends the invitation request to the web server. When the invitation is triggered, an invited object may further be selected from the friend list. As shown inFIG. 4, after an option “invite my friend(s)” is selected, an object is selected from friends displayed on the right side, and the invitation request is sent.

Block S411: The web server sends the invitation request to a network service server corresponding to the friend associated account.

Block S412: The network service server sends invitation information including the sending party account to a client corresponding to the friend associated account for display. In this example, it is assumed that the friend associated account is a Renren account, and correspondingly, the network service server is a Renren service server. In this block, the Renren service server sends the invitation information including the sending party account to a client that corresponds to a Renren account of a friend for display, and the displayed invitation information is shown inFIG. 5.

The receiving party downloads and installs, or has already installed, a browser. After the receiving party successfully logs in by using an account, an inter-screen transmission function can be used.

By using the methods of the present disclosure, a shared web page can be directly sent to a browser of a friend and the friend can view the web page directly, and it is convenient to perform a subsequent operation. For example, collecting the web page, sending the web page to another device of the friend for view, or forwarding the web page to another friend of the friend. If a user invites friends who have already used a browser but have not used an “inter-screen transmission” function to use the function, for a browse product, it is an effective manner to promote the “inter-screen transmission” function among friends of the user. In addition, if the user invites friends who have not used a browser to use the function, for a browse product, it is an effective manner to promote a “browser” and the “inter-screen transmission” function among the friends of the user.

FIG. 6is a block diagram of an example of a system for transmitting browser web page information according to the present disclosure. The system includes a client at which a sending party browser is located, referred to as a sending party client, a client at which a receiving party browser is located, referred to as a receiving party client, and a web server. When web page information needs to be shared, the sending party browser of the sending party client sends a web page transmission request to the web server by means of the Internet. The web server determines that a receiving party logs in by using a receiving party account using a browser provided with an inter-screen transmission entrance, and is online, and sends, by means of the Internet, a link address to the receiving party browser corresponding to the receiving party account for web page access. The sending party browser sends the web page transmission request to the web server, where the web page transmission request includes the receiving party account and the link address, and the link address is a website address of a web page currently displayed by the sending party browser;

the web server receives the web page transmission request, determines that the receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online, and sends the link address to the receiving party browser corresponding to the receiving party account for web page access; and

the receiving party browser receives the link address from the web server, and accesses the corresponding web page.

Additionally, the sending party browser700includes a user operation capturing unit701and a transmission request initiating unit702, and the web server710includes a transmission request acquisition unit711, a login state determining unit712, and a web page information transmission unit713.FIG. 7depicts a block diagram of the system of the present disclosure.

The user operation capturing unit701acquires a web page transmission request that is input by a user by operating a web page transmission option of an inter-screen transmission entrance, and sends the web page transmission request to the transmission request initiating unit702;

the transmission request initiating unit702receives the web page transmission request from the user operation capturing unit701, and sends the web page transmission request to the transmission request acquisition unit711. The transmission request acquisition unit711receives the web page transmission request sent by the sending party browser700, and sends the web page transmission request to the login state determining unit712. The login state determining unit712receives the web page transmission request from the request acquisition unit711, determines that the receiving party logs in by using the receiving party account and a browser provided with an inter-screen transmission entrance, and is online, and sends the web page transmission request to the web page information transmission unit713. The web page information transmission unit713receives the web page transmission request from the login state determining unit712, and sends the link address to the receiving party browser720corresponding to the receiving party account.

Further, the sending party browser700includes an online-friend request unit703, and the web server710includes an online-friend request processing unit714. The user operation capturing unit701acquires an online-friend list display request that is input by the user by operating an online-friend list display option, and sends the online-friend list display request to the online-friend request unit703, where the online-friend list display request includes a sending party account. The online-friend request unit703receives the online-friend list display request from the user operation capturing unit701, sends the online-friend list display request to the online-friend request processing unit714, receives an online-friend list fed back by the online-friend request processing unit714, and displays the online-friend list in an interface. The online-friend request processing unit714receives a friend list display request from the online-friend request unit703, extracts a friend list corresponding to the sending party account, selects, from the friend list, an online friend logging in by using a browser provided with an inter-screen transmission entrance to generate the online-friend list, and feeds back the online-friend list to the online-friend request unit703

Further, the web page information transmission unit713includes a web page sharing information sending subunit716, and the receiving party browser720includes a sharing selecting unit721. The web page sharing information sending subunit716receives the web page transmission request from the login state determining unit712, and sends web page sharing information including the link address to the receiving party browser720corresponding to the receiving party account. The sharing selecting unit721of the receiving party browser720receives the web page sharing information from the web page sharing information sending subunit716, displays the web page sharing information, to prompt a user whether to choose to share the web page or ignore sharing, and accesses the corresponding web page by using the link address if the user chooses to share the web page, or ends the display of the web page sharing information if the user chooses to ignore sharing.

Further, the sending party browser700includes an invitation unit704, the web server710includes an invitation processing unit715, and the system further includes a web page service server730. The user operation capturing unit701acquires an invitation request that is input by the user by operating an invitation option, and sends the invitation request to the invitation unit704, where the invitation request includes the sending party account and a friend associated account; and the invitation unit704receives the invitation request from the user operation capturing unit701, and sends the invitation request to the invitation processing unit715. The invitation processing unit715receives the invitation request from the invitation unit704, and sends the invitation request to a network service server730corresponding to the friend associated account. The network service server730receives the invitation request from the invitation processing unit715, and sends invitation information including the sending party account to a client corresponding to the friend associated account for display.