WO2014067320A1 - 网页分享方法、***、服务器、客户端、计算机程序以及计算机可读介质 - Google Patents

网页分享方法、***、服务器、客户端、计算机程序以及计算机可读介质 Download PDF

Info

Publication number
WO2014067320A1
WO2014067320A1 PCT/CN2013/081746 CN2013081746W WO2014067320A1 WO 2014067320 A1 WO2014067320 A1 WO 2014067320A1 CN 2013081746 W CN2013081746 W CN 2013081746W WO 2014067320 A1 WO2014067320 A1 WO 2014067320A1
Authority
WO
WIPO (PCT)
Prior art keywords
sharing
client
shared
webpage
related information
Prior art date
Application number
PCT/CN2013/081746
Other languages
English (en)
French (fr)
Inventor
张鹏翼
任寰
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2014067320A1 publication Critical patent/WO2014067320A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a webpage sharing method and system, a server, a client, a computer program, and a computer readable medium. Background technique
  • users can share webpages in many ways. For example, users can copy webpage links and send them to others via email or other applications (such as QQ, MSN, and Fetion). Users can also log in to Weibo, Renren and Baidu Post Bar. And other websites, copy the links of the web pages, and share the web pages with others on these websites.
  • email or other applications such as QQ, MSN, and Fetion.
  • Users can also log in to Weibo, Renren and Baidu Post Bar. And other websites, copy the links of the web pages, and share the web pages with others on these websites.
  • the present invention has been made in order to provide a web page sharing method and corresponding web page sharing system, server and client, computer program and computer readable medium that overcome the above problems or at least partially solve the above problems.
  • a method for sharing a webpage including: receiving information related to sharing reported by a first client, where the information related to sharing includes a webpage of a webpage to be shared;
  • a webpage sharing system including: a first client, a second client, and a server;
  • the first client includes:
  • An escalator configured to report information related to sharing to the server, where the sharing
  • the information of the related information includes the web address of the webpage to be shared;
  • the server includes a first receiver and a first transmitter
  • the first receiver is adapted to receive the sharing-related information reported by the reporter; the first sender is adapted to send the web address of the to-be-shared webpage to the second client; the second client Including a second receiver;
  • the second receiver is adapted to receive a web address of the to-be-shared webpage sent by the first sender to present a webpage of the to-be-shared webpage at the second client.
  • a server comprising:
  • the first receiver is adapted to receive the sharing-related information reported by the first client, where the information related to the sharing includes a web address of the webpage to be shared;
  • a first sender configured to send the web address of the webpage to be shared to the second client, to present the webpage of the webpage to be shared in the second client.
  • a client including:
  • the e-mailer is adapted to report the sharing-related information of the webpage including the webpage to be shared to the server, so that the server sends the webpage of the webpage to be shared reported by the e-mailer to the other client;
  • a second receiver configured to receive a web address of another to-be-shared webpage sent by the server according to the sharing-related information reported by the other client;
  • a renderer configured to present a web address of another webpage to be shared received by the second receiver.
  • a computer program comprising computer readable code, when the computer readable code is run on a server, causing the server to perform any of the claims 1-13 The webpage sharing method.
  • a computer readable medium storing the computer program according to claim 28 is provided.
  • the beneficial effects of the present invention are: a webpage sharing method and system provided by the present invention, and a server, a client, a computer program, and a computer readable medium, when a user using the first client browses a webpage, if the webpage needs to be shared,
  • the display interface can report the sharing-related information to the server by the first client, and the server sends the URL of the webpage to be shared to the second client.
  • the user can realize real-time real-time webpage sharing without logging in to a third-party website or other application.
  • FIG. 1 is a flow chart showing a webpage sharing method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a webpage display interface in a browser of a first client
  • FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a client according to an embodiment of the present invention
  • 6 schematically shows a block diagram of a server for performing the method according to the invention
  • Fig. 7 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 shows a flow chart of a web page sharing method 100 in accordance with one embodiment of the present invention.
  • the method 100 begins in step S101, where the server receives the sharing-related information reported by the first client.
  • the first client acquires information related to sharing according to the user's operation.
  • FIG. 2 shows a schematic diagram of a web page display interface 200 in a browser of a first client.
  • the middle portion 210 of the webpage display interface 200 displays the webpage content.
  • the highlighted portion is the webpage label 220.
  • the two sides of the webpage display interface 200 are the left sidebar 230 and the right sidebar 240, respectively.
  • the web page sharing interface is located in the right sidebar 240.
  • the webpage sharing interface may be located at any position of the webpage display interface, which is not limited by the present invention.
  • the operation of the share button by the user triggers the first client to report the sharing-related information to the server.
  • the share button can be statically displayed at any specified location of the webpage display interface 200.
  • the share button can be located on the webpage tab 220, or on the left sidebar 230, or on the right sidebar 240, with a dotted circle in FIG. Indicates where the share button might be.
  • the share button may also be dynamically displayed in the specified location, for example, when the user stays on a certain webpage for more than a predetermined time, or when the user has continuous downward page flipping on the same webpage, or when the user The Share button is only displayed when the page is scrolled all the way to the bottom.
  • the specified operation in the webpage to be shared by the user triggers the first client to report the sharing-related information to the server.
  • the mouse can complete the custom dragging action on the web page display interface (for example, draw a check mark) ) Complete the sharing trigger.
  • the user can trigger the sharing by various gesture operations defined in advance, which is not limited by the present invention.
  • the first client After receiving the user-triggered sharing operation, the first client reports the sharing-related information to the server, and the sharing-related information includes a URL of the webpage to be shared, such as a URL.
  • the sharing-related information includes a URL of the webpage to be shared, such as a URL.
  • the browser extracts the URL of the current webpage and reports it to the server.
  • the information related to the sharing may further include information indicating the content of the webpage, such as a title or a keyword of the webpage to be shared, and the first client sends the information and the URL to the server.
  • the information related to sharing may further include a device identifier of the first client.
  • the server identifies which client reports the information according to the device identifier.
  • the information related to the sharing may further include a first user identifier, where the first user identifier is an identifier of the login user on the first client.
  • the server identifies which user reports the information according to the first user identifier.
  • the sharing related information may further include a sharing scope identifier, which is used to indicate whether the URL of the webpage to be shared is shared to all or only to the friend. For example, a sub-button or a query box may be set in the share button, so that the user can choose to share the share page to all people or friends, and the first client writes the share range identifier into the share-related information according to the user's selection.
  • the information related to sharing may further include comment information.
  • the browser The user can be prompted to evaluate the shared web page.
  • FIG. 2 there is a comment window 250 below the webpage sharing interface 240.
  • the user can input his or her own comment content in the comment window 250, and the user can also copy a piece of content in the webpage and paste it into the comment window 250.
  • the comment content may be limited in length, and the comment content exceeding the preset length may be truncated.
  • the browser obtains the user's comment content, the corresponding comment information is generated, and the comment information is reported to the server together with other information.
  • the comment window 250 is empty, indicating that the user does not evaluate the shared web page, the sharing information reported to the server does not include the comment information.
  • the information related to sharing may further include a first check string.
  • the first check string may be calculated according to sharing-related information other than the first check string. That is, after the browser extracts one or more of the title/keyword, URL, device identifier, first user identifier, share scope identifier, and comment information of the webpage to be shared, the information is used to preset by using the information. The algorithm calculates the first check string. As another optional implementation manner, the first check string may be calculated according to the sharing-related information except the first check string and the encrypted string pre-stored by the first client.
  • the information and the encrypted string are utilized.
  • Calculating the first check string together by using a preset algorithm where the encrypted string is information pre-stored in the first client, and the encrypted string is distributed by the server to the first client, and the first client and the server agree in advance Information.
  • the preset algorithm may be an MD5 algorithm or other algorithms, which is not limited by the present invention.
  • step S102 the server returns a sharing confirmation message to the first client, and the first client presents the shared information according to the sharing confirmation message.
  • “Shared" is presented in the comment window 250, indicating that the current web page has been shared.
  • the information "shared" is not limited to being presented in the comment window 250 and can be presented anywhere else on the web page display interface.
  • Step S102 is an optional step. The present invention does not limit the order of execution of step S102 and subsequent steps, and step S102 can be performed before or after any of the subsequent steps S103-S108.
  • step S103 the server calculates a second check string according to the sharing-related information reported by the first client. If the information related to the sharing reported by the first client includes the first check string, the server extracts the information related to the sharing. After the one or more of the title/keyword, the URL, the device identifier, the first user identifier, the share scope identifier, and the comment information of the web page to be shared, the second check string is calculated by using a preset algorithm. If the server has previously agreed to encrypt the string with the first client, the server extracts the title/keyword, URL, device identifier, first user identifier, share scope identifier, and comment information of the webpage to be shared in the sharing-related information.
  • the second check string is calculated by a preset algorithm using the information together with the encrypted string, and the encrypted string is pre-stored in the server.
  • the preset algorithm is the same as the algorithm executed by the first client, and may be an MD5 algorithm or other algorithms. The present invention does not limit this.
  • step S104 the server verifies the legality of the sharing-related information reported by the first client according to the second check string.
  • the server compares the second check string calculated by the first check string with the first check string reported by the first client. If the information is consistent, the server considers that the information reported by the first client is legal, and continues the other processes of the method 100. The information reported by the first client is invalid, and the information is not processed subsequently.
  • the method 100 ends.
  • step S103 and step S104 are optional steps of the method. In other words, the present invention may not perform step S103 and step S104. At the same time, the first client does not need to calculate the first check string, and the reported sharing information does not include the first check string.
  • step S105 the server performs an illegal keyword search by the title of the shared webpage and/or the content of the webpage to be shared, and verifies the security of the shared webpage.
  • the server may filter the content of the shared webpage. Specifically, the server may perform an illegal keyword search on the title of the shared webpage to check whether the insecure factor is included.
  • the server may also directly obtain the content of the webpage to be shared according to the URL, and the content may be Perform an illegal keyword search to see if it contains insecure factors. If there are no insecure factors, continue with the other process of method 100; otherwise, the information is no longer processed, and the process 100 ends. Verify the security of shared content by verifying the security of the content of the shared web page. It should be noted that step S105 is also an optional step of the method.
  • step S106 the server performs statistical analysis on the sharing-related information reported by the plurality of first clients to obtain a sharing statistical result.
  • the server receives the information reported by multiple first clients in the management domain, and on this basis, can perform statistical analysis on the information.
  • Specific statistical analysis strategies can be rooted According to the actual situation, the present invention does not limit this.
  • the commonly used statistical analysis strategies can be exemplified as follows: Statistical analysis of the number of times the URL of the webpage to be shared is shared; statistical analysis of the ranking of the URL of the webpage to be shared, which is the highest to the lowest in the preset time period, such as the number of shares in one day or one week.
  • the server can obtain the IP address and information submission time of the first client by itself, and is used in various statistical analysis strategies.
  • the server may also receive burst report information from the outside, such as a problem with a certain information, and need to cancel the release report, etc. When receiving such burst report information, the server terminates the process of processing the information.
  • step S107 the server sends the web address of the webpage to be shared to the second client, and optionally, the sharing statistical result obtained in step S106 and/or the comment information reported by the first client may also be sent. Give the second client.
  • the server returns the URL of the web page to be shared and/or the sharing statistics and/or comment information may be a browser-based request, that is, the browser of the second client requests the server to obtain related content of the webpage to be shared.
  • the server may also push the URL of the webpage to be shared and/or the sharing statistics and/or the comment information to the second client, where the second client is obtained according to the first user identifier, based on the user relationship information of the first client. Client.
  • the server searches the user relationship list according to the first user identifier, obtains the friend identifier related to the first user identifier, and then queries the second client that the user corresponding to the friend identifier logs in, and the web address of the webpage to be shared and / or share statistics and / or comment information to the second client. Take the user ID as qid as an example.
  • the server maintains a user relationship list, as shown in Table 1.
  • the user relationship list records the correspondence between the user ID and its friend ID.
  • the server extracts the first user identifier from the sharing-related information reported by the first client. Knowledge, query the user relationship list, you can find the friend ID corresponding to the first user ID. If the user corresponding to the friend identifier is in the login state, the server may query the login client (ie, the second client), so that the URL of the to-be-shared webpage and/or the sharing statistics and/or the comment information may be pushed to the second client.
  • the user relationship list shown in Table 1 is only an example, and the user relationship list may be in various forms, which is not limited by the present invention.
  • buttons are set in the webpage sharing interface 240, so that the user can select the information he wants to know. Examples of these buttons include: “Maximum”, “Latest”, “Everyone”, “Friend”, “This Week”, “Today”, and so on. If the user clicks "maximum”, then the most frequently shared URL is presented in the browser of the second client; if the user clicks "this week", then the ranking of the highest to lowest sharing times this week is presented to the second client. In the browser. The "Friends" button can be selected only by the logged in user.
  • the web sharing interface 240 can also display popular keywords, categories, and display a search box so that users can search for corresponding sharing information. The specific sharing strategy and display content of the webpage sharing interface may be determined according to actual conditions, and the present invention does not limit this.
  • the embodiment provides a webpage sharing method implemented on a browser.
  • the sharing button click operation or other designation is directly performed on the webpage display interface of the browser.
  • the operation may trigger the first client to report and share information related to the server, and the server sends the URL of the webpage to be shared to the second client, so that the user can realize the real-time webpage without logging in to the third-party website or other application. share it.
  • the server can send the URL of the webpage to the second client, and perform statistical analysis on the reported information according to various sharing policies, and feed back the sharing statistics to the second client, so that the user can obtain more Rich sharing of information.
  • the server can also verify the validity and security of the information reported by the first client, which can prevent the malicious user from forging the shared information to attack the server, and can also ensure the security of the shared content.
  • FIG. 3 shows a schematic structural diagram of a webpage sharing system 300 according to an embodiment of the present invention.
  • the webpage sharing system 300 includes a first client 310, a second client 320, and a server 330.
  • the first client 310 includes a reporter 311;
  • the server 330 includes a first receiver 331 and a first transmitter 332;
  • the second client 320 includes a second receiver 321.
  • the reporter 3 1 1 is adapted to report the sharing-related information to the server 330, and the sharing-related information includes the web address of the webpage to be shared.
  • the reporter 31 1 reports the sharing-related information according to the following triggering manner: a click or double-click operation on the sharing button, wherein the sharing button is statically displayed or dynamically displayed in a specified position of the webpage to be shared; or, in the to-be-shared Drag operation in a web page.
  • a click or double-click operation on the sharing button wherein the sharing button is statically displayed or dynamically displayed in a specified position of the webpage to be shared
  • Drag operation in a web page.
  • the first receiver 33 1 is adapted to receive the sharing-related information reported by the reporter 31 1 .
  • the information related to sharing includes a first check string.
  • the first check string is calculated according to the sharing-related information except the first check string, and the server 330 includes: a first verifier 333 adapted to be based on the first check And the information related to the sharing other than the string, calculating the second check string; comparing the first check string and the second check string to the share-related information reported by the reporter 31 1 of the first client 310 Legality is verified.
  • the first check string is calculated according to the sharing-related information except the first check string and the encrypted string pre-stored by the first client 3
  • the server 330 includes: a second verifier (not shown) adapted to calculate the second check string according to the sharing-related information other than the first check string and the encrypted string pre-stored by the server 320; by comparing the first check The string and the second check string verify the validity of the sharing-related information reported by the first client 3 10 .
  • the server 330 may further include: a third authenticator 334, configured to verify the security of the shared webpage by performing an illegal keyword search on the title of the webpage to be shared and/or the content of the webpage to be shared.
  • a third authenticator 334 configured to verify the security of the shared webpage by performing an illegal keyword search on the title of the webpage to be shared and/or the content of the webpage to be shared.
  • the server 330 may further include: a statistic 335, configured to perform statistical analysis on the sharing-related information reported by the plurality of first clients 3 10 to obtain a sharing statistics result.
  • the statistic 335 is specifically configured to: statistically analyze the number of times of sharing the URL of the webpage to be shared; and/or, statistically analyze the ranking of the webpage of the webpage to be shared in which the number of sharing times is high within a preset time period; and/ Or, statistically analyzing the chronological ranking of the URLs of the pages to be shared that exceed the preset value; and/or statistically analyzing the trend of the number of times the URL of the webpage to be shared is shared; and/or, extracting the title of the webpage to be shared Keywords in the category, classify the keywords, and statistically analyze the total number of shares or the total number of shares shared or the total number of shares shared by the keyword or keyword category.
  • the first sender 332 is adapted to send the web address and/or comment information and/or sharing statistics of the web page to be shared to the second client 320.
  • the second receiver 321 is adapted to receive the web address and/or comment information of the web page to be shared sent by the first sender 332 and/or share the statistical result to present the information at the second client 320.
  • the server 330 returns the web address of the web page to be shared to the second client 320 and/or the sharing statistics and/or comment information may be a request of the browser based on the second client 320, that is, the browser of the second client 320 to the server. 330 requests to obtain related content of the webpage to be shared.
  • the server 330 may also push the webpage of the webpage to be shared and/or the sharing statistics and/or comment information to the second client 320 based on the user relationship information of the first client 310, and the second client 320 is related to sharing.
  • the client obtained by the first user identifier included in the information; the first user identifier is the identifier of the login user on the first client 3 10 .
  • the sharing-related information further includes a sharing scope identifier, and the sharing scope identifier indicates that the webpage of the webpage to be shared is shared with the friend;
  • the server 330 further includes: a querier 336, configured to query the user relationship list according to the first user identifier, Obtaining a friend identifier related to the first user identifier;
  • the second client 320 is a client that is logged in by the user corresponding to the friend identifier.
  • the server further comprises: a second sender 337 adapted to return a sharing confirmation message to the first client 310; the first client 3 10 is further adapted to present the shared information according to the sharing confirmation message.
  • the embodiment provides a system for implementing webpage sharing on a browser.
  • the sharing button click operation or other directly in the webpage display interface of the browser The specified operation can trigger the first client to report and share information related to the server, and the server sends the URL of the webpage to be shared to the second client, so that the user can realize real-time on-the-spot without logging in to a third-party website or other application.
  • Web sharing the server can send the URL of the webpage to the second client, and perform statistical analysis on the reported information according to various sharing policies, and feed back the sharing statistics to the second client, so that the user can obtain more Rich sharing of information.
  • the server can also verify the legality and security of the information reported by the first client, and prevent the malicious user from forging the shared information to attack the server, and can also ensure the security of the shared content.
  • FIG. 4 shows a block diagram of a server 400 in accordance with one embodiment of the present invention.
  • the server 400 includes a first receiver 33 1 and a first transmitter 332, wherein the first receiver 331 is adapted to receive sharing-related information reported by the first client, the sharing-related information.
  • the first sender 332 is configured to send the web address of the webpage to be shared to the second client to present the webpage of the webpage to be shared to the second client.
  • the server 400 may further include a first verifier 333, a third verifier 334, a statistic 335, a querier 336, and a second transmitter 337.
  • the server 400 may further include a first verifier 333, a third verifier 334, a statistic 335, a querier 336, and a second transmitter 337.
  • FIG. 5 shows a block diagram of a client 500 in accordance with one embodiment of the present invention.
  • client 500 includes an escalator 510, a second receiver 520, and a renderer 530.
  • the reporter 510 is adapted to report, to the server, the sharing-related information including the URL of the webpage to be shared, so that the server sends the webpage of the webpage to be shared reported by the reporter 510 to the other client;
  • the second receiver 520 The web address of another webpage to be shared sent by the receiving server according to the sharing-related information reported by the other client;
  • the renderer 530 is adapted to present the web address of another webpage to be shared received by the second receiver 520.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of a web page sharing system in accordance with embodiments of the present invention.
  • the invention can also be implemented as a part or all of a device or device program (e.g., a computer program and a computer program product) for performing the methods described herein.
  • a program implementing the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 6 illustrates a server, such as an application server, that can implement a web page sharing method in accordance with the present invention.
  • the server conventionally includes a processor 610 and a computer program product or computer readable medium in the form of a memory 620.
  • the memory 620 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 620 has a memory space 630 for program code 631 for performing any of the method steps described above.
  • storage space 630 for program code may include various program code 631 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 620 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes a computer Read code 63, that is, code that can be read by, for example, a processor such as 610, which when executed by the server causes the server to perform the various steps in the methods described above.
  • an embodiment or “one or more embodiments” as used herein means that the particular features, structures, or characteristics described in connection with the embodiments are included in at least one embodiment of the invention.
  • the phrase “in one embodiment” herein does not necessarily refer to the same embodiment.
  • any reference signs placed between parentheses shall not be construed as a limitation.
  • the word “comprising” does not exclude the presence of the elements or steps that are not in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of a plurality of such elements.
  • the invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item.
  • the use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网页分享方法和***以及服务器、客户端。其中网页分享方法包括:接收第一客户端上报的与分享相关的信息,所述与分享相关的信息包括待分享网页的网址;将所述待分享网页的网址发送给第二客户端,以将所述待分享网页的网址呈现于所述第二客户端中。根据本发明提供的网页分享方法及***,使用第一客户端的用户在浏览网页时,如果需要分享该网页,在网页显示界面通过相关操作就可使第一客户端将与分享相关的信息上报给服务器,由服务器将待分享网页的网址发送给第二客户端。通过本发明的技术方案,用户无需登录第三方网站或其它应用程序就可实现实时实地的网页分享。

Description

网页分享方法、 ***、 服务器、 客户端、 计算机程序以及计算机可读介质 技术领域
本发明涉及网络技术领域, 具体涉及一种网页分享方法和***、 服 务器、 客户端、 计算机程序以及计算机可读介质。 背景技术
随着网络技术的发展, 网页所提供的资讯和服务越来越丰富, 网络 已经渗透到广大用户生活中的各个方面。 用户在浏览网页的同时, 已经 不满足于自己享受网络提供的资讯和服务, 很多时候用户都想与朋友或 其它网友分享网页的精彩内容。
目前用户可以通过艮多方式实现网页分享, 例如, 用户可以复制网 页链接, 通过邮件或其它应用程序 (如 QQ、 MSN和飞信等)发送给对 方; 用户也可以登录微博、 人人和百度贴吧等网站, 将网页链接复制过 来, 在这些网站中将网页分享给别人。
上述网页分享的方式操作都比较复杂, 都需要用户登录第三方网站 或应用程序才能实现。 现有的浏览器不支持分享网页的功能, 不能实现 实时实地的分享网页。 发明内容
鉴于上述问题, 提出了本发明以便提供一种克服上述问题或者至少 部分地解决上述问题的网页分享方法和相应的网页分享***、 服务器和 客户端、 计算机程序以及计算机可读介质。
根据本发明的一个方面, 提供了一种网页分享方法, 包括: 接收第一客户端上报的与分享相关的信息, 所述与分享相关的信息 包括待分享网页的网址;
将所述待分享网页的网址发送给第二客户端, 以将所述待分享网页 的网址呈现于所述第二客户端中。
根据本发明的另一方面, 提供了一种网页分享***, 包括: 第一客 户端、 第二客户端和服务器;
所述第一客户端包括:
上报器, 适于向所述服务器上报与分享相关的信息, 所述与分享相 关的信息包括待分享网页的网址;
所述服务器包括第一接收器和第一发送器;
所述第一接收器适于接收所述上报器上报的与分享相关的信息; 所述第一发送器适于将所述待分享网页的网址发送给第二客户端; 所述第二客户端包括第二接收器;
所述第二接收器适于接收所述第一发送器发送的所述待分享网页的 网址以在所述第二客户端呈现所述待分享网页的网址。
根据本发明的另一方面, 提供了一种服务器, 包括:
第一接收器, 适于接收第一客户端上报的与分享相关的信息, 所述 与分享相关的信息包括待分享网页的网址;
第一发送器, 适于将所述待分享网页的网址发送给第二客户端, 以 将所述待分享网页的网址呈现于所述第二客户端中。
根据本发明的另一方面, 提供了一种客户端, 包括:
上报器, 适于向服务器上报包括一待分享网页的网址的与分享相关 的信息, 以供所述服务器将所述上报器上报的待分享网页的网址发送给 其它客户端;
第二接收器, 适于接收服务器根据其它客户端上报的与分享相关的 信息而发送的另一待分享网页的网址;
呈现器, 适于呈现所述第二接收器接收的另一待分享网页的网址。 根据本发明的又一个方面, 提供了一种计算机程序, 其包括计算机 可读代码, 当所述计算机可读代码在服务器上运行时, 导致所述服务器 执行根据权利要求 1- 13中的任一个所述的网页分享方法。
根据本发明的再一个方面, 提供了一种计算机可读介质, 其中存储 了如权利要求 28所述的计算机程序。
本发明的有益效果为: 根据本发明提供的网页分享方法和***以及 服务器、 客户端、 计算机程序以及计算机可读介质, 使用第一客户端的 用户在浏览网页时, 如果需要分享该网页, 在网页显示界面通过相关操 作就可使第一客户端将与分享相关的信息上报给服务器, 由服务器将待 分享网页的网址发送给第二客户端。 通过本发明的技术方案, 用户无需 登录第三方网站或其它应用程序就可实现实时实地的网页分享。
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明 的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上 述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实 施方式。 附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于 本领域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式的 目的, 而并不认为是对本发明的限制。 而且在整个附图中, 用相同的参 考符号表示相同的部件。 在附图中: 图 1示出了根据本发明的一个实施例的网页分享方法的流程图; 图 2示出了第一客户端的浏览器中网页显示界面的示意图; 图 3示出了根据本发明的一个实施例的网页分享***的结构示意图; 图 4示出了根据本发明的一个实施例的服务器的结构示意图; 图 5示出了根据本发明的一个实施例的客户端的结构示意图; 图 6示意性地示出了用于执行根据本发明的方法的服务器的框图; 以及 图 7示意性地示出了用于保持或者携带实现根据本发明的方法的程序代 码的存储单元。 具体实施例
下面结合附图和具体的实施方式对本发明作进一步的描述。
图 1示出了根据本发明的一个实施例的网页分享方法 100的流程图。 如图 1所示, 方法 100始于步骤 S101 , 其中服务器接收第一客户端上报 的与分享相关的信息。 在步骤 S 101中, 第一客户端根据用户的操作获取 与分享相关的信息。
图 2示出了第一客户端的浏览器中网页显示界面 200的示意图。 如 图 2所示, 该网页显示界面 200的中间部分 210显示的是网页内容, 上 面突出的部分是网页标签 220, 网页显示界面 200 的两边分别为左边栏 230和右边栏 240。 在图 2中, 网页分享界面位于右边栏 240中。 需要说 明的是, 网页分享界面可以位于网页显示界面的任意位置, 本发明对此 不做限制。 作为一种可选的实施方式, 用户对分享按钮的操作触发第一客户端 向服务器上报与分享相关的信息。 分享按钮可静态的显示在网页显示界 面 200的任何指定位置, 例如, 分享按钮可位于网页标签 220上, 也可 位于左边栏 230上, 还可位于右边栏 240上, 在图 2中以虚线圓圈表示 分享按钮可能的位置。 可选地, 分享按钮也可动态的显示在上述指定位 置, 例如, 当用户在某一网页停留超过预定时间时, 或者当用户在同一 网页上有连续向下翻页的动作时, 或者当用户将页面一直滚动到最下方 时, 才显示分享按钮。
作为另一种可选的实施方式, 用户在待分享网页中的指定操作触发 第一客户端向服务器上报与分享相关的信息。 以拖动操作为例: 鼠标点 住网页标签, 然后将其拖动至网页分享界面的位置, 即可完成分享触发; 或者, 鼠标在网页显示界面完成自定义拖动动作 (例如划出对勾) 完成 分享触发。 在触屏显示***中, 用户可以通过预先定义的各种手势操作 来触发分享, 本发明对此不做限制。
在接收到用户触发分享的操作后, 第一客户端向服务器上报与分享 相关的信息, 该与分享相关的信息包括待分享网页的网址, 如 URL。 具 体地, 在用户点击或双击或以其它方式操作分享按钮、 或者用户在待分 享网页中执行指定操作后, 浏览器提取当前网页的 URL, 将其上报给服 务器。 可选地, 与分享相关的信息还可以包括待分享网页的标题或关键 字等体现网页内容的信息, 第一客户端将这些信息与 URL—并上报给服 务器。
可选地, 与分享相关的信息还可以包括第一客户端的设备标识。 服 务器根据该设备标识识别出是哪个客户端上报的信息。
可选地, 对于登录用户来说, 与分享相关的信息还可以包括第一用 户标识, 该第一用户标识就是第一客户端上登录用户的标识。 服务器根 据该第一用户标识识别出是哪个用户上报的信息。 进一步的, 对于登录 用户, 与分享相关的信息还可以包括分享范围标识, 该分享范围标识用 于表明将待分享网页的网址分享给所有人还是只分享给好友。 例如, 分 享按钮中可以设置子按钮或询问框, 以使用户可以选择将分享网页分享 给所有人或好友, 第一客户端根据用户的选择将分享范围标识写入与分 享相关的信息中。
可选地, 与分享相关的信息还可以包括评论信息。 具体地, 浏览器 可以提示用户对待分享的网页进行评价。 如图 2 所示, 在网页分享界面 240的下方具有评论窗口 250 , 用户可以在评论窗口 250中输入自己的评 论内容, 用户也可以在网页中复制一段内容, 粘贴到评论窗口 250 中。 在本发明的一个优选实施例中, 评论内容可以受长度限制, 超过预设长 度的评论内容会被截掉。 浏览器获取用户的评论内容后, 生成对应的评 论信息, 该评论信息与其它信息一起被上报给服务器。 当评论窗口 250 中为空时, 表明用户未对待分享网页进行评价, 那么上报给服务器的与 分享相关的信息中就不包含评论信息。
可选地, 与分享相关的信息还可以包括第一校验串。 作为一种可选 的实施方式, 第一校验串可以是根据除了第一校验串之外的与分享相关 的信息计算得到的。 也就是说, 在浏览器提取出待分享网页的标题 /关键 字、 URL、 设备标识、 第一用户标识、 分享范围标识、 评论信息中的其 中一项或多项之后, 利用这些信息通过预设算法计算得到第一校验串。 作为另一种可选的实施方式, 第一校验串可以是根据除了第一校验串之 外的与分享相关的信息和第一客户端预先存储的加密串而计算得到的。 也就是说, 在浏览器提取出待分享网页的标题 /关键字、 URL、 设备标识、 第一用户标识、 分享范围标识、 评论信息中的其中一项或多项之后, 利 用这些信息和加密串一起通过预设算法计算得到第一校验串, 其中加密 串是预先存储在第一客户端中的信息, 而且该加密串是服务器分发给第 一客户端的、 第一客户端与服务器事先约好的信息。 在上述两种实施方 式中, 预设算法可以为 MD5算法或其它算法, 本发明对此不做限制。
在第一客户端将与分享相关的信息上报给服务器之后, 方法 100 进 入步骤 S 102, 其中服务器向第一客户端返回分享确认消息, 第一客户端 根据该分享确认消息呈现已分享信息。 如图 2所示, 在评论窗口 250 中 呈现 "已分享…" , 表明当前网页已被分享。 "已分享…" 的信息不限 于呈现在评论窗口 250 中, 可以呈现在网页显示界面的任意其它位置。 步骤 S 102是可选步骤。 本发明对步骤 S 102与后续其它步骤的执行顺序 不做限定,步骤 S 102可以在后续步骤 S 103-步骤 S108中任一步骤的之前 或之后执行。
随后, 方法 100进入步骤 S 103 , 其中服务器根据第一客户端上报的 与分享相关的信息, 计算第二校验串。 如果第一客户端上报的与分享相 关的信息中包含第一校验串, 那么服务器提取出与分享相关的信息中的 待分享网页的标题 /关键字、 URL、 设备标识、 第一用户标识、 分享范围 标识、 评论信息中的其中一项或多项之后, 利用这些信息通过预设算法 计算得到第二校验串。 如果服务器之前与第一客户端事先约好加密串, 那么服务器提取出与分享相关的信息中的待分享网页的标题 /关键字、 URL、 设备标识、 第一用户标识、 分享范围标识、 评论信息中的其中一 项或多项之后, 利用这些信息和加密串一起通过预设算法计算得到第二 校验串, 该加密串预先存储在服务器中。 其中预设算法与第一客户端所 执行的算法相同, 可以为 MD5算法或其它算法, 本发明对此不做限制。
在计算得到第二校验串之后, 方法 100进入步骤 S 104 , 其中服务器 根据第二校验串, 对第一客户端上报的与分享相关的信息的合法性进行 验证。 服务器将自己计算的第二校验串与第一客户端上报的第一校验串 进行比对, 如果一致, 则认为第一客户端上报的信息合法, 继续方法 100 的其它流程; 如果不一致, 则认为第一客户端上报的信息不合法, 后续 不再对该信息进行处理, 方法 100 流程结束。 通过对信息合法性进行验 证, 防止了恶意用户伪造分享信息攻击服务器***。
需要说明的是, 步骤 S 103和步骤 S 104是本方法的可选步骤。 也就 是说, 本发明可以不执行步骤 S 103和步骤 S 104 , 与此同时, 第一客户端 无需计算第一校验串, 上报的与分享相关的信息中也不包含第一校验串。
在对信息的合法性验证通过之后, 方法 100进入步骤 S105 , 其中服 务器通过对待分享网页的标题和 /或待分享网页的内容进行非法关键字搜 索, 对待分享网页的安全性进行验证。 服务器可以对分享网页内容进行 过滤, 具体地说, 服务器可以对待分享网页的标题进行非法关键字搜索, 查询其中是否包含不安全因素; 服务器也可以根据 URL直接获取待分享 网页的内容, 对该内容进行非法关键字搜索, 查询其中是否包含不安全 因素。 如果没有不安全因素, 继续方法 100 的其它流程; 否则, 后续不 再对该信息进行处理, 方法 100 流程结束。 通过对待分享网页内容的安 全性进行验证, 保证分享内容安全。 需要说明的是, 步骤 S 105也是本方 法的可选步骤。
在对信息的安全性验证通过之后, 方法 100进入步骤 S106, 其中服 务器将多个第一客户端上报的与分享相关的信息进行统计分析, 得到分 享统计结果。 服务器接收到自己管理域内多个第一客户端上报的信息, 在此基础上可以对这些信息进行统计分析。 具体地统计分析策略可以根 据实际情况而定, 本发明对此不做限制。 常用的统计分析策略可以举例 如下: 统计分析待分享网页的 URL的分享次数; 统计分析在预设时间段 内分享次数由高到低的待分享网页的 URL的排名, 如一天或一周内分享 次数由高到低的 URL的排名; 统计分析分享次数超过预设值的待分享网 页的 URL按照时间顺序的排名, 如按照时间顺序对分享次数超过预设值 (如 1000个) 的 URL进行排名; 统计分析待分享网页的网址的分享次 数的变化趋势, 如统计特定 URL分享次数的增长、 持平或降低的变化趋 势; 提取待分享网页的标题中的关键词, 对关键词进行分类, 统计分析 针对关键词或关键词类别的分享总数或分享总数排名或分享总数变化趋 势。 服务器可以自己获取第一客户端的 IP地址和信息提交时间, 用于各 种统计分析策略中。 另外, 服务器还可以从外部接收突发报告信息, 例 如某信息出现问题, 需要撤销发布等报告, 当接收到这种突发报告信息 时, 服务器终止处理该信息的流程。
随后, 方法 100进入步骤 S107 , 服务器将待分享网页的网址发送给 第二客户端, 可选地, 同时还可将步骤 S106得到的分享统计结果和 /或第 一客户端上报的评论信息也发送给第二客户端。
服务器返回待分享网页的网址和 /或分享统计结果和 /或评论信息可 以是基于浏览器的请求, 即第二客户端的浏览器向服务器请求获取待分 享网页的相关内容。 服务器也可以基于第一客户端的用户关系信息, 将 待分享网页的网址和 /或分享统计结果和 /或评论信息推送给第二客户端, 其中第二客户端是根据第一用户标识而获得的客户端。 服务器在推送相 关信息之前, 根据第一用户标识, 查询用户关系列表, 得到与第一用户 标识有关的好友标识, 然后查询好友标识对应的用户登录的第二客户端, 将待分享网页的网址和 /或分享统计结果和 /或评论信息推送给第二客户 端。以用户标识为 qid为例,服务器中维护有用户关系列表,如表 1所示。
表 1. 用户关系列表
用户标识 好友标识
qidl qidl.1 ,qidl.2,qidl .3,qidl .4,
qid2 qid2.1,qid2.2,qid2.3,qid2.4,
……
如表 1 所示, 用户关系列表记录了用户标识与其好友标识的对应关 系。 服务器从第一客户端上报的与分享相关的信息中提取出第一用户标 识, 查询用户关系列表, 就可以查到与第一用户标识对应的好友标识。 如果好友标识对应的用户处于登录状态, 服务器可以查询到登录客户端 (即第二客户端) , 从而可以将待分享网页的网址和 /或分享统计结果和 / 或评论信息推送给第二客户端。 表 1 所示的用户关系列表仅为一示例, 用户关系列表可以釆用多种形式, 本发明对此不做限制。
最后, 方法 100进入步骤 S108 , 其中将待分享网页的网址和 /或分享 统计结果和 /或评论信息呈现于第二客户端中。 如图 2所示, 在网页分享 界面 240 中设置了一些按钮(也可以是复选框) , 便于用户选择其想知 悉的信息。 这些按钮的示例包括: "最多" 、 "最新" 、 "所有人" 、 "好友" 、 "本周" 、 "今天" 等等。 若用户点击 "最多" , 那么分享 次数最多的 URL被呈现于第二客户端的浏览器中; 若用户点击 "本周" , 那么本周分享次数由高到低的排名被呈现于第二客户端的浏览器中。 其 中 "好友" 按钮可只有登录用户可选。 另外, 网页分享界面 240 也可以 显示热门关键词、 分类, 还可以显示搜索框, 以便用户可以搜索相应的 分享信息。 网页分享界面具体的分享策略和显示内容可以根据实际情况 而定, 本发明对此不做限制。
本实施例提供了一种在浏览器上实现的网页分享方法, 使用第一客 户端的用户在浏览网页时, 如果需要分享该网页, 直接在浏览器的网页 显示界面进行分享按钮点击操作或其它指定操作就可以触发第一客户端 向服务器上报与分享相关的信息, 由服务器将待分享网页的网址发送给 第二客户端, 这样用户无需登录第三方网站或其它应用程序就可实现实 时实地的网页分享。 另外, 服务器除了可以将网页的网址发送给第二客 户端外, 还可以根据各种分享策略对上报的信息进行统计分析, 并把分 享统计结果反馈给第二客户端, 使用户可获得更为丰富的分享信息。 进 —步的, 服务器还可以对第一客户端上报的信息进行合法性和安全性的 验证, 能防止恶意用户伪造分享信息对服务器进行攻击, 也能保证分享 内容的安全性。
图 3示出了根据本发明的一个实施例的网页分享*** 300的结构示 意图。 如图 3所示, 网页分享*** 300包括第一客户端 310、 第二客户端 320和服务器 330。 其中, 第一客户端 310包括上报器 311 ; 服务器 330 包括第一接收器 331和第一发送器 332;第二客户端 320包括第二接收器 321。 上报器 3 1 1适于向服务器 330上报与分享相关的信息, 该与分享相 关的信息包括待分享网页的网址。 可选地, 上报器 31 1 根据以下触发方 式上报与分享相关的信息: 对分享按钮的点击或双击操作, 其中, 分享 按钮静态显示或动态显示在待分享网页的指定位置; 或, 在待分享网页 中的拖动操作。 关于与分享相关的信息的内容可以参见上述方法实施例 的描述, 在此不再赘述。
第一接收器 33 1适于接收上报器 31 1上报的与分享相关的信息。 可选地, 与分享相关的信息包括第一校验串。 作为一种实施方式, 第一校验串是根据除了第一校验串之外的与分享相关的信息而计算得到 的, 服务器 330包括: 第一验证器 333 , 适于根据除了第一校验串之外的 与分享相关的信息, 计算第二校验串; 通过比较第一校验串和第二校验 串, 对第一客户端 310的上报器 31 1 上报的与分享相关的信息的合法性 进行验证。 作为另一种实施方式, 第一校验串是根据除了第一校验串之 外的与分享相关的信息和第一客户端 3 10 预先存储的加密串而计算得到 的, 服务器 330 包括: 第二验证器 (图中未示出) , 适于根据除了第一 校验串之外的与分享相关的信息和服务器 320 预先存储的加密串, 计算 第二校验串; 通过比较第一校验串和第二校验串, 对第一客户端 3 10 上 报的与分享相关的信息的合法性进行验证。
可选地, 服务器 330还可以包括: 第三验证器 334 , 适于通过对待分 享网页的标题和 /或待分享网页的内容进行非法关键字搜索, 对待分享网 页的安全性进行验证。
可选地, 服务器 330还可以包括: 统计器 335 , 适于将多个第一客户 端 3 10 上报的与分享相关的信息进行统计分析, 得到分享统计结果。 进 一步的, 统计器 335具体适于: 统计分析待分享网页的网址的分享次数; 和 /或, 统计分析在预设时间段内分享次数由高到低的待分享网页的网址 的排名; 和 /或, 统计分析分享次数超过预设值的待分享网页的网址按照 时间顺序的排名; 和 /或, 统计分析待分享网页的网址的分享次数的变化 趋势; 和 /或, 提取待分享网页的标题中的关键词, 对关键词进行分类, 统计分析针对关键词或关键词类别的分享总数或分享总数排名或分享总 数变化趋势。
第一发送器 332适于将待分享网页的网址和 /或评论信息和 /或分享统 计结果发送给第二客户端 320。 第二接收器 321适于接收第一发送器 332发送的待分享网页的网址 和 /或评论信息和 /或分享统计结果以在第二客户端 320呈现这些信息。
服务器 330向第二客户端 320返回待分享网页的网址和 /或分享统计 结果和 /或评论信息可以是基于第二客户端 320的浏览器的请求, 即第二 客户端 320的浏览器向服务器 330请求获取待分享网页的相关内容。 服 务器 330也可以基于第一客户端 310的用户关系信息, 将待分享网页的 网址和 /或分享统计结果和 /或评论信息推送给第二客户端 320 , 第二客户 端 320是根据与分享相关的信息中包含的第一用户标识而获得的客户端; 第一用户标识是第一客户端 3 10 上登录用户的标识。 具体地, 与分享相 关的信息还包括分享范围标识, 分享范围标识表明将待分享网页的网址 分享给好友; 服务器 330还包括: 查询器 336 , 适于根据第一用户标识, 查询用户关系列表, 得到与第一用户标识有关的好友标识; 第二客户端 320是好友标识对应的用户登录的客户端。
可选地, 服务器还包括: 第二发送器 337 , 适于向第一客户端 310返 回分享确认消息; 第一客户端 3 10还适于根据分享确认消息呈现已分享 信息。
本实施例提供了一种基于在浏览器上实现网页分享的***, 使用第 一客户端的用户在浏览网页时, 如果需要分享该网页, 直接在浏览器的 网页显示界面进行分享按钮点击操作或其它指定操作就可以触发第一客 户端向服务器上报与分享相关的信息, 由服务器将待分享网页的网址发 送给第二客户端, 这样用户无需登录第三方网站或其它应用程序就可实 现实时实地的网页分享。 另外, 服务器除了可以将网页的网址发送给第 二客户端外, 还可以根据各种分享策略对上报的信息进行统计分析, 并 把分享统计结果反馈给第二客户端, 使用户可获得更为丰富的分享信息。 进一步的, 服务器还可以对第一客户端上报的信息进行合法性和安全性 的验证, 能防止恶意用户伪造分享信息对服务器进行攻击, 也能保证分 享内容的安全性。
图 4示出了根据本发明的一个实施例的服务器 400的结构示意图。 如图 4所示, 服务器 400包括第一接收器 33 1和第一发送器 332 , 其中, 第一接收器 331 适于接收第一客户端上报的与分享相关的信息, 该与分 享相关的信息包括待分享网页的网址; 第一发送器 332 适于将待分享网 页的网址发送给第二客户端, 以将待分享网页的网址呈现于第二客户端 中。 除此之外, 服务器 400还可以包括第一验证器 333、 第三验证器 334、 统计器 335、 查询器 336和第二发送器 337。 这些模块的功能可以参见上 述***实施例的相关描述, 在此不再赘述。
图 5示出了根据本发明的一个实施例的客户端 500的结构示意图。 如图 5所示,客户端 500包括上报器 510、第二接收器 520和呈现器 530。 其中, 上报器 510 适于向服务器上报包括一待分享网页的网址的与分享 相关的信息, 以供服务器将上报器 510 上报的待分享网页的网址发送给 其它客户端; 第二接收器 520 适于接收服务器根据其它客户端上报的与 分享相关的信息而发送的另一待分享网页的网址; 呈现器 530 适于呈现 第二接收器 520接收的另一待分享网页的网址。
本发明的各个部件实施例可以以硬件实现, 或者以在一个或者多个 处理器上运行的软件模块实现, 或者以它们的组合实现。 本领域的技术 人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实施例的网页分享***中的一些或者全部部件的一些 或者全部功能。 本发明还可以实现为用于执行这里所描述的方法的一部 分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。 这样的实现本发明的程序可以存储在计算机可读介质上, 或者可以具有 一个或者多个信号的形式。 这样的信号可以从因特网网站上下载得到, 或者在载体信号上提供, 或者以任何其他形式提供。
例如, 图 6 示出了可以实现根据本发明的网页分享方法的服务器, 例如应用服务器。 该服务器传统上包括处理器 610和以存储器 620形式 的计算机程序产品或者计算机可读介质。 存储器 620 可以是诸如闪存、 EEPROM (电可擦除可编程只读存储器) 、 EPROM、 硬盘或者 ROM之 类的电子存储器。 存储器 620 具有用于执行上述方法中的任何方法步骤 的程序代码 631的存储空间 630。 例如, 用于程序代码的存储空间 630可 以包括分别用于实现上面的方法中的各种步骤的各个程序代码 631。这些 程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个 或者多个计算机程序产品中。 这些计算机程序产品包括诸如硬盘, 紧致 盘 (CD ) 、 存储卡或者软盘之类的程序代码载体。 这样的计算机程序产 品通常为如参考图 7 所述的便携式或者固定存储单元。 该存储单元可以 具有与图 6的服务器中的存储器 620类似布置的存储段、 存储空间等。 程序代码可以例如以适当形式进行压缩。 通常, 存储单元包括计算机可 读代码 63 Γ , 即可以由例如诸如 610之类的处理器读取的代码, 这些代 码当由服务器运行时, 导致该服务器执行上面所描述的方法中的各个步 骤。
本文中所称的 "一个实施例"、 "实施例"或者"一个或者多个实施例 "意 味着, 结合实施例描述的特定特征、 结构或者特性包括在本发明的至少 一个实施例中。 此外, 请注意, 这里"在一个实施例中"的词语例子不一定 全指同一个实施例。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 中, 并未详细示出公知的方法、 结构和技术, 以便不模糊对本说明书的 理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限 制, 并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计 出替换实施例。 在权利要求中, 不应将位于括号之间的任何参考符号构 造成对权利要求的限制。单词"包含"不排除存在未列在权利要求中的元件 或步骤。 位于元件之前的单词 "一"或"一个"不排除存在多个这样的元件。 本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计 算机来实现。 在列举了若干装置的单元权利要求中, 这些装置中的若干 个可以是通过同一个硬件项来具体体现。 单词第一、 第二、 以及第三等 的使用不表示任何顺序。 可将这些单词解释为名称。
此外, 还应当注意, 本说明书中使用的语言主要是为了可读性和教 导的目的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏离所附权利要求书的范围和精神的情况下, 对于本技术领 域的普通技术人员来说许多修改和变更都是显而易见的。 对于本发明的 范围, 对本发明所做的公开是说明性的, 而非限制性的, 本发明的范围 由所附权利要求书限定。

Claims

权 利 要 求
1、 一种网页分享方法, 包括:
接收第一客户端上报的与分享相关的信息, 所述与分享相关的信息 包括待分享网页的网址;
将所述待分享网页的网址发送给第二客户端, 以将所述待分享网页 的网址呈现于所述第二客户端中。
2、 根据权利要求 1所述的方法, 所述第二客户端是请求获取待分享 网页的网址的客户端。
3、 根据权利要求 1所述的方法, 所述第二客户端是根据所述与分享 相关的信息中包含的第一用户标识而获得的客户端; 所述第一用户标识 是第一客户端上登录用户的标识。
4、 根据权利要求 3所述的方法, 所述与分享相关的信息还包括分享 范围标识;
所述分享范围标识表明将待分享网页的网址分享给好友, 所述方法 还包括: 根据所述第一用户标识, 查询用户关系列表, 得到所述与第一 用户标识有关的好友标识; 所述第二客户端是所述好友标识对应的用户 登录的客户端。
5、 根据权利要求 1至 4任一项所述的方法, 所述与分享相关的信息 还包括以下信息中的至少一项: 待分享网页的标题、 第一客户端的设备 标识、 评论信息和第一校验串。
6、 根据权利要求 5所述的方法, 若所述与分享相关的信息包括所述 评论信息, 所述方法还包括: 将所述评论信息发送给所述第二客户端, 以将所述评论信息呈现于所述第二客户端中。
7、 根据权利要求 1至 6任一项所述的方法, 所述第一客户端上报与 分享相关的信息是根据以下触发方式而执行的:
对分享按钮的点击或双击操作, 所述分享按钮静态显示或动态显示 在待分享网页的指定位置;
或, 在待分享网页中的拖动操作。
8、 根据权利要求 1至 7任一项所述的方法, 在所述接收第一客户端 上报的与分享相关的信息的步骤之后还包括: 向所述第一客户端返回分 享确认消息, 所述第一客户端根据所述分享确认消息呈现已分享信息。
9、 根据权利要求 5所述的方法, 若所述与分享相关的信息包括所述 第一校验串, 所述第一校验串是根据除了第一校验串之外的与分享相关 的信息而计算得到的, 在所述将待分享网页的网址发送给第二客户端的 步骤之前还包括:
根据除了所述第一校验串之外的与分享相关的信息, 计算第二校验 串;
通过比较所述第一校验串和第二校验串, 对所述第一客户端上报的 与分享相关的信息的合法性进行验证。
10、 根据权利要求 5 所述的方法, 若所述与分享相关的信息包括所 述第一校验串, 所述第一校验串是根据除了第一校验串之外的与分享相 关的信息和所述第一客户端预先存储的加密串而计算得到的, 在所述将 待分享网页的网址发送给第二客户端的步骤之前还包括:
根据除了所述第一校验串之外的与分享相关的信息和服务器预先存 储的加密串, 计算第二校验串;
通过比较所述第一校验串和第二校验串, 对所述第一客户端上报的 与分享相关的信息的合法性进行验证。
1 1、 根据权利要求 5 所述的方法, 在所述将待分享网页的网址发送 给第二客户端的步骤之前还包括: 通过对所述待分享网页的标题和 /或待 分享网页的内容进行非法关键字搜索, 对待分享网页的安全性进行验证。
12、 根据权利要求 5至 1 1任一项所述的方法, 还包括:
将多个第一客户端上报的与分享相关的信息进行统计分析, 得到分 享统计结果;
将所述分享统计结果发送给所述第二客户端, 以将所述分享统计结 果呈现于所述第二客户端中。
13、 根据权利要求 12所述的方法, 所述将与分享相关的信息进行统 计分析的步骤包括:
统计分析所述待分享网页的网址的分享次数;
和 /或, 统计分析在预设时间段内分享次数由高到低的待分享网页的 网址的排名;
和 /或, 统计分析分享次数超过预设值的待分享网页的网址按照时间 顺序的排名;
和 /或, 统计分析待分享网页的网址的分享次数的变化趋势; 和 /或, 提取所述待分享网页的标题中的关键词, 对所述关键词进行 分类, 统计分析针对关键词或关键词类别的分享总数或分享总数排名或 分享总数变化趋势。
14、 一种网页分享***, 包括: 第一客户端、 第二客户端和服务器; 所述第一客户端包括:
上报器, 适于向所述服务器上报与分享相关的信息, 所述与分享相 关的信息包括待分享网页的网址;
所述服务器包括第一接收器和第一发送器;
所述第一接收器适于接收所述上报器上报的与分享相关的信息; 所述第一发送器适于将所述待分享网页的网址发送给第二客户端; 所述第二客户端包括第二接收器;
所述第二接收器适于接收所述第一发送器发送的所述待分享网页的 网址以在所述第二客户端呈现所述待分享网页的网址。
15、 根据权利要求 14所述的***, 所述第二客户端是请求获取待分 享网页的网址的客户端。
16、 根据权利要求 14所述的***, 所述第二客户端是根据所述与分 享相关的信息中包含的第一用户标识而获得的客户端; 所述第一用户标 识是第一客户端上登录用户的标识。
17、 根据权利要求 16所述的***, 所述与分享相关的信息还包括分 享范围标识, 所述分享范围标识表明将待分享网页的网址分享给好友; 所述服务器还包括: 查询器, 适于根据所述第一用户标识, 查询用 户关系列表, 得到所述与第一用户标识有关的好友标识; 所述第二客户 端是所述好友标识对应的用户登录的客户端。
18、 根据权利要求 14至 17任一项所述的***, 所述与分享相关的 信息还包括评论信息, 所述第一发送器还适于将所述评论信息发送给所 述第二客户端, 所述第二接收器还适于接收所述第一发送器发送的评论 信息以在所述第二客户端呈现所述评论信息。
19、 根据权利要求 14至 18任一项所述的***, 所述上报器根据以 下触发方式上报与分享相关的信息:
对分享按钮的点击或双击操作, 所述分享按钮静态显示或动态显示 在待分享网页的指定位置;
或, 在待分享网页中的拖动操作。
20、 根据权利要求 14至 19任一项所述的***, 所述服务器还包括: 第二发送器, 适于向所述第一客户端返回分享确认消息;
所述第一客户端还适于根据所述分享确认消息呈现已分享信息。
21、 根据权利要求 14至 20任一项所述的***, 所述与分享相关的 信息还包括第一校验串, 所述第一校验串是根据除了第一校验串之外的 与分享相关的信息而计算得到的; 所述服务器还包括: 第一验证器, 适 于根据除了所述第一校验串之外的与分享相关的信息, 计算第二校验串; 通过比较所述第一校验串和第二校验串, 对所述第一客户端上报的与分 享相关的信息的合法性进行验证。
22、 根据权利要求 14至 20任一项所述的***, 所述与分享相关的 信息还包括第一校验串, 所述第一校验串是根据除了第一校验串之外的 与分享相关的信息和所述第一客户端预先存储的加密串而计算得到的; 所述服务器还包括: 第二验证器, 适于根据除了所述第一校验串之外的 与分享相关的信息和服务器预先存储的加密串, 计算第二校验串; 通过 比较所述第一校验串和第二校验串, 对所述第一客户端上报的与分享相 关的信息的合法性进行验证。
23、 根据权利要求 14至 22任一项所述的***, 所述服务器还包括: 第三验证器, 适于通过对所述待分享网页的标题和 /或待分享网页的内容 进行非法关键字搜索, 对待分享网页的安全性进行验证。
24、 根据权利要求 14至 23任一项所述的***, 所述服务器还包括: 统计器, 适于将多个第一客户端上报的与分享相关的信息进行统计分析, 得到分享统计结果;
所述第一发送器还适于将所述分享统计结果发送给所述第二客户端 以在所述第二客户端呈现所述分享统计结果。
25、 根据权利要求 24所述的***, 所述统计器具体适于:
统计分析所述待分享网页的网址的分享次数;
和 /或, 统计分析在预设时间段内分享次数由高到低的待分享网页的 网址的排名;
和 /或, 统计分析分享次数超过预设值的待分享网页的网址按照时间 顺序的排名;
和 /或, 统计分析待分享网页的网址的分享次数的变化趋势; 和 /或, 提取所述待分享网页的标题中的关键词, 对所述关键词进行 分类, 统计分析针对关键词或关键词类别的分享总数或分享总数排名或 分享总数变化趋势。
26、 一种服务器, 包括:
第一接收器, 适于接收第一客户端上报的与分享相关的信息, 所述 与分享相关的信息包括待分享网页的网址;
第一发送器, 适于将所述待分享网页的网址发送给第二客户端, 以 将所述待分享网页的网址呈现于所述第二客户端中。
27、 一种客户端, 包括:
上报器, 适于向服务器上报包括一待分享网页的网址的与分享相关 的信息, 以供所述服务器将所述上报器上报的待分享网页的网址发送给 其它客户端;
第二接收器, 适于接收服务器根据其它客户端上报的与分享相关的 信息而发送的另一待分享网页的网址;
呈现器, 适于呈现所述第二接收器接收的另一待分享网页的网址。
28、 一种计算机程序, 包括计算机可读代码, 当所述计算机可读代 码在服务器上运行时, 导致所述服务器执行根据权利要求 1- 13 中的任一 个所述的网页分享方法。
29、 一种计算机可读介质, 其中存储了如权利要求 28所述的计算机 程序。
PCT/CN2013/081746 2012-10-30 2013-08-19 网页分享方法、***、服务器、客户端、计算机程序以及计算机可读介质 WO2014067320A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210424620.9A CN102891897B (zh) 2012-10-30 2012-10-30 网页分享方法和服务器及客户端
CN201210424620.9 2012-10-30

Publications (1)

Publication Number Publication Date
WO2014067320A1 true WO2014067320A1 (zh) 2014-05-08

Family

ID=47535258

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081746 WO2014067320A1 (zh) 2012-10-30 2013-08-19 网页分享方法、***、服务器、客户端、计算机程序以及计算机可读介质

Country Status (2)

Country Link
CN (1) CN102891897B (zh)
WO (1) WO2014067320A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843649A (zh) * 2016-03-31 2016-08-10 北京奇艺世纪科技有限公司 一种网络内容的分享方法及装置

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891897B (zh) * 2012-10-30 2016-12-21 北京奇虎科技有限公司 网页分享方法和服务器及客户端
CN104104653B (zh) * 2013-04-03 2018-02-23 ***通信集团公司 一种页面信息同步的方法、设备和***
CN104065632B (zh) 2013-04-08 2015-07-29 腾讯科技(深圳)有限公司 分享内容的处理方法、服务器、客户端及***
CN104243538A (zh) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 资源分享方法和***
CN104298666B (zh) * 2013-06-25 2016-06-01 腾讯科技(深圳)有限公司 网页分享方法和装置
US10084729B2 (en) 2013-06-25 2018-09-25 Tencent Technology (Shenzhen) Company Limited Apparatuses and methods for web page sharing
CN104144196A (zh) * 2013-07-05 2014-11-12 腾讯科技(深圳)有限公司 一种网页信息分享方法、装置及服务器
CN104144198B (zh) * 2013-09-30 2017-02-08 腾讯科技(深圳)有限公司 一种多媒体信息分享方法、***及装置
CN103853552B (zh) * 2014-01-25 2018-03-30 中山市云创知识产权服务有限公司 记录建立***及方法
CN104601638B (zh) 2014-02-24 2019-06-14 腾讯科技(深圳)有限公司 进行浏览器网页信息传送的方法及***
CN103856395B (zh) * 2014-04-03 2017-08-04 王青 一种在网页上呼唤好友并展开讨论的方法及***
CN104504004B (zh) * 2014-12-09 2018-04-03 北京国双科技有限公司 用于网站分享的分享方法和装置
CN106776614A (zh) * 2015-11-20 2017-05-31 北京国双科技有限公司 分享平台的显示方法及装置
CN107436869B (zh) * 2016-05-25 2021-06-29 北京奇虎科技有限公司 一种印象评论生成方法及装置
CN105893636A (zh) * 2016-06-23 2016-08-24 乐视控股(北京)有限公司 一种历史分享的记录方法及装置
CN106249989B (zh) * 2016-07-20 2020-03-31 努比亚技术有限公司 一种分享内容时的社交应用程序图标排列方法及移动终端
CN106250538A (zh) * 2016-08-08 2016-12-21 马岩 微信中分享大数据的方法及***
WO2018027458A1 (zh) * 2016-08-08 2018-02-15 深圳市博信诺达经贸咨询有限公司 大数据的实时分享方法及***
WO2018027457A1 (zh) * 2016-08-08 2018-02-15 深圳市博信诺达经贸咨询有限公司 移动式大数据分享方法及***
WO2018027456A1 (zh) * 2016-08-08 2018-02-15 深圳市博信诺达经贸咨询有限公司 指定分享在大数据中的应用方法及***
CN107104941A (zh) * 2017-03-01 2017-08-29 阿里巴巴集团控股有限公司 网络资源的共享方法及装置
CN106997269A (zh) * 2017-04-07 2017-08-01 福建中金在线信息科技有限公司 一种文章页面交互方法及装置
CN107222558A (zh) * 2017-06-30 2017-09-29 胡玥莹 一种移动客户端与计算机网页端信息同步的方法与***
CN109325095B (zh) * 2018-09-26 2021-01-12 深圳市云歌人工智能技术有限公司 对发布的分享信息进行统计的方法、设备以及存储介质
CN112636936A (zh) * 2019-10-09 2021-04-09 钉钉控股(开曼)有限公司 内容分享方法及装置
CN111131392A (zh) * 2019-11-27 2020-05-08 北京文渊佳科技有限公司 处理消息的方法、装置、电子设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945128A (zh) * 2010-09-09 2011-01-12 惠州Tcl移动通信有限公司 一种网址共享转发方法和***及采用该***的移动终端
US20110066636A1 (en) * 2009-09-17 2011-03-17 Border Stylo, LLC Systems and methods for sharing user generated slide objects over a network
CN102111454A (zh) * 2011-03-11 2011-06-29 创博亚太科技(山东)有限公司 一种分享网页或多媒体信息的方法和***
CN102413361A (zh) * 2011-11-25 2012-04-11 青岛海信传媒网络技术有限公司 基于智能电视的好友信息分享方法及***
CN102891897A (zh) * 2012-10-30 2013-01-23 北京奇虎科技有限公司 网页分享方法和服务器及客户端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066636A1 (en) * 2009-09-17 2011-03-17 Border Stylo, LLC Systems and methods for sharing user generated slide objects over a network
CN101945128A (zh) * 2010-09-09 2011-01-12 惠州Tcl移动通信有限公司 一种网址共享转发方法和***及采用该***的移动终端
CN102111454A (zh) * 2011-03-11 2011-06-29 创博亚太科技(山东)有限公司 一种分享网页或多媒体信息的方法和***
CN102413361A (zh) * 2011-11-25 2012-04-11 青岛海信传媒网络技术有限公司 基于智能电视的好友信息分享方法及***
CN102891897A (zh) * 2012-10-30 2013-01-23 北京奇虎科技有限公司 网页分享方法和服务器及客户端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843649A (zh) * 2016-03-31 2016-08-10 北京奇艺世纪科技有限公司 一种网络内容的分享方法及装置

Also Published As

Publication number Publication date
CN102891897B (zh) 2016-12-21
CN102891897A (zh) 2013-01-23

Similar Documents

Publication Publication Date Title
WO2014067320A1 (zh) 网页分享方法、***、服务器、客户端、计算机程序以及计算机可读介质
US11606384B2 (en) Clustering-based security monitoring of accessed domain names
US11134094B2 (en) Detection of potential security threats in machine data based on pattern detection
US10164988B2 (en) External link processing
WO2013044744A1 (zh) 一种下载资源提供方法及装置
WO2009023315A2 (en) Anti-content spoofing (acs)
CN103810268B (zh) 加载搜索结果推荐信息、网址检测的方法、装置和***
WO2016070718A1 (zh) 进行文件下载的方法、装置和浏览器
US9426160B2 (en) Delivering author specific content
WO2015109928A1 (zh) 一种加载推荐信息、网址检测的方法、装置和***
CN103793508B (zh) 一种加载推荐信息、网址检测的方法、装置和***
US11075867B2 (en) Method and system for detection of potential spam activity during account registration
WO2016180229A1 (zh) 一种终端数据的处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13851437

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13851437

Country of ref document: EP

Kind code of ref document: A1