WO2018188373A1 - 页面分享方法、装置、服务器及存储介质 - Google Patents

页面分享方法、装置、服务器及存储介质 Download PDF

Info

Publication number
WO2018188373A1
WO2018188373A1 PCT/CN2017/117707 CN2017117707W WO2018188373A1 WO 2018188373 A1 WO2018188373 A1 WO 2018188373A1 CN 2017117707 W CN2017117707 W CN 2017117707W WO 2018188373 A1 WO2018188373 A1 WO 2018188373A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
user terminal
request
sharing
modification request
Prior art date
Application number
PCT/CN2017/117707
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 WO2018188373A1 publication Critical patent/WO2018188373A1/zh

Links

Images

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/14Session management
    • H04L67/148Migration or transfer of sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Definitions

  • the present invention relates to the field of network information technologies, and in particular, to a page sharing method, apparatus, server, and storage medium.
  • the sharing and distribution of network information has become an important part of Internet socialization.
  • the user who posts the shared information posts the link address of the shared page to the information sharing platform (such as Weibo, WeChat friends circle, etc.), and the user who receives the shared information accesses the shared address through the shared link address. page.
  • the information sharing platform such as Weibo, WeChat friends circle, etc.
  • an object of the present invention is to provide a page sharing method, which is applied to a server that communicates with a first user terminal and a second user terminal, and the method includes:
  • Another object of the present invention is to provide a page sharing method for a user terminal that communicates with a server, the method comprising:
  • Another object of the present invention is to provide a page sharing method, which is applied to a first user terminal, a second user terminal, and a server that communicate with each other, and the method includes:
  • the first user terminal generates a sharing link according to a page modification request initiated by the user when sharing the first page, and sends the sharing link to the specified information publishing platform, where the sharing link includes the address of the first page. And the page modification request;
  • the first user terminal generates a page registration request according to a page modification request initiated by the user when sharing the first page, and sends the page registration request to the server, where the page registration request includes an address of the first page. And the page modification request;
  • the server requests the first page according to the address of the first page, and performs modification on the first page according to the page modification request to obtain a second page;
  • the server sends the second page to the second user terminal.
  • Another object of the present invention is to provide a page sharing method, which is applied to a first user terminal, a second user terminal, and a server that communicate with each other, and the method includes:
  • the first user terminal generates a sharing link according to a page modification request initiated by the user when sharing the first page, and sends the sharing link to the specified information publishing platform, where the sharing link includes the address of the first page. And the page modification request;
  • the server requests the first page according to the address of the first page, and performs modification on the first page according to the page modification request to obtain a second page;
  • the server sends the second page to the second user terminal.
  • Another object of the present invention is to provide a page sharing apparatus, which is applied to a server that communicates with a first user terminal and a second user terminal, the device comprising:
  • a memory having stored thereon a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • Another object of the present invention is to provide a page sharing apparatus for a user terminal that communicates with a server, the apparatus comprising:
  • a memory having stored thereon a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • Another object of the present invention is to provide a server that communicates with a first user terminal and a second user terminal, the server including:
  • processor stored on the memory with a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • Another object of the present invention is to provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the aforementioned page sharing method.
  • the page sharing method, device, server and storage medium provided by the present invention generate a sharing link by the first user terminal according to the user initiating a page modification request when sharing the first page, and the server receives the access request to the sharing link according to the request
  • the first page to be shared is modified according to the page modification request carried therein, the second page is obtained, so that other users can request from the server to the modified second page through the sharing link.
  • the user can customize the content of the page when sharing the page, and increase the interest of the page sharing.
  • FIG. 1 is a schematic diagram of interaction of a page sharing system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of steps of a page sharing method according to a first embodiment of the present invention
  • FIG. 3 is a schematic flow chart showing the steps of a page sharing method according to a second embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a page sharing apparatus according to a third embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of a page sharing apparatus according to a third embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a page sharing apparatus according to a fourth embodiment of the present invention.
  • Icons 10-page sharing system; 100-server; 110 (210)-page sharing device; 111-receiving module; 112-modifying module; 113-sending module; 114-tag generating module; 200-first user terminal; - share link generation module; 212 - registration request generation module; 300 - second user terminal; 400 - network.
  • the terms “set”, “install”, “connected”, and “connected” are to be understood broadly, and may be fixed connections, for example, unless otherwise specifically defined and defined. It can also be a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and can be internal communication between the two elements.
  • the specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
  • FIG. 1 is a schematic diagram of a page sharing system according to a preferred embodiment of the present invention, including a server 100, a first user terminal 200, and a second user terminal 300 that communicate with each other.
  • the server 100 can communicate with the first user terminal 200 and the second user terminal 300 through the network 400 to implement data communication or interaction between the server 100 and the first user terminal 200 and the second user terminal 300.
  • the server 100 may be, but not limited to, a web server, a file transfer protocol (ftp) server, and the like.
  • the first user terminal 200 or the second user terminal 300 may be, but not limited to, a smart phone, a personal computer (PC), a tablet computer, a personal digital assistant (PDA), and a mobile internet device ( Mobile Internet device, MID), etc.
  • the first user terminal 200 and the second user terminal 300 may be the same user terminal or different user terminals.
  • the network 400 can be, but is not limited to, a wired network or a wireless network.
  • the embodiment provides a page sharing method applied to the page sharing system shown in FIG. 1. The steps of the method are described in detail below.
  • step S110 the first user terminal 200 generates a sharing link according to the page modification request initiated by the user when sharing the first page, and sends the sharing link to the designated information publishing platform, where the sharing link includes the first The address of a page and the page modification request.
  • the first user terminal 200 when the first user terminal 200 detects that the user needs to share the first page (such as when the user selects the sharing function in the browser), the first user terminal 200 receives and records the user needs to A page performs a modified page modification request, and generates the sharing link according to the page modification request.
  • the share link may be in the following format:
  • the share link identifier field represents the link as a share link.
  • the first user terminal 200 then sends the sharing link to a designated information publishing platform (eg, Weibo, WeChat friends circle, QQ friends, WeChat friends, etc.) according to the user selection, so that other user terminals can pass the information sharing.
  • the sharing link requests the modified first page from the server 100.
  • Step S120 the first user terminal 200 generates a page registration request according to a page modification request initiated by the user when sharing the first page, and sends the page registration request to the server 100, where the page registration request includes The address of the first page and the page modification request.
  • the registration request may be an access request initiated by the first user terminal 200 to a registration link
  • the registration link may be in the following format:
  • the registration request identification field represents that the link is a registration link of the registration request.
  • the first user terminal 200 then sends the page registration request to the server 100 via the network 400, so that the server 100 generates a modification tag according to the page registration request to modify the first page.
  • the content in the share link and the page registration link may be encoded by a URL.
  • Step S130 the server 100 receives the page registration request sent by the first user terminal 200, generates the modification label according to the page modification request in the page registration request, and the modified label and the first page.
  • the address is associated with the page modification request.
  • the modification to the first page may include, but is not limited to, modifying a text font on the first page.
  • the page modification request may include a target font.
  • the server 100 generates a modification label according to the page modification request, wherein the modification label is used to declare a text of a preset position in the page file to adopt the target font.
  • the target font may be a font in a web font library
  • the text of the preset location may be a text in a preset label in a page file of the first page (eg, a title label) In the text).
  • the server 100 After receiving the page registration request, the server 100 acquires an address of the first page and a name of the target font in the page registration request, and uses the address of the first page and the name of the target font as an index. , to find if there is a matching modified label.
  • the matching modified label If the matching modified label is found, it indicates that the modified label has been generated for the combination of the first page and the target font, and the modified label does not need to be generated again.
  • the server 100 searches the network font library for the target font generating font library link.
  • the modified tag is then generated according to the font library link and the font declaration tag, wherein the font declaration tag is used to declare the text of the preset position in the page adopting the target font.
  • the server 100 saves the modified label and establishes an association between the modified label and the address of the first page and the modification request, that is, in the embodiment, the server 100 The address of the first page and the query index of the modified tag as the modification request.
  • the font data of the network font library is large, and the modification of the font generally does not require all the text styles of the entire font library.
  • the modification request further includes the preset location. a text content, after the server 100 searches the font library of the target font in the network font library, extracts a text style corresponding to the text content from a font library of the target font as a font library subset, and generates a A font library link for a subset of font libraries.
  • the server 100 searches the font library of the target font in the network font library, and extracts the “ABC” three-letter text style from the font library as a font. A subset of the library and a font link that generates a subset of the font library. As such, the size of the font file is reduced.
  • the server 100 when the server 100 needs to generate a font library link, the server 100 first searches the text content and the target font as an index to find whether there is a subset of the font library that has been generated.
  • the font library link of the font library subset is directly used.
  • a font library subset of the target font is generated according to the text content, and a font library link of the font library subset is generated.
  • the generated modified label may be in the following format:
  • the server 100 may pre-generate the modified label according to the page registration request sent by the first user terminal 200, so that the second user terminal 300 may request the modified first second from the server 100. Used when the page is used.
  • modification of the first page is not limited to the modification of the text font provided by the embodiment, and may also be a modification of the page display style or a modification of the image.
  • Step S140 the server 100 receives an access request initiated by the second user terminal 300 to the share link.
  • the second user terminal 300 may obtain the sharing link from the information publishing platform, and the server 100 receives the access request initiated by the second user terminal 300 to the sharing link.
  • Step S150 The server 100 requests the first page according to the address of the first page, and performs modification on the first page according to the page modification request to obtain a second page.
  • the server 100 searches for the matching modified label by using the address and the modification request of the first page in the access request, and requests the page file of the first page according to the address of the first page.
  • the server 100 inserts the modified label into the page file of the first page to obtain a page file of the second page.
  • the server 100 obtains the modified page file of the second page by inserting the modified label into the head tag of the page file of the first page.
  • Step S160 the server 100 sends the second page to the second user terminal 300.
  • the second user terminal 300 may display the second page modified by the server 100 by rendering the page file.
  • the embodiment provides a page sharing method applied to the page sharing system shown in FIG. 1 , and the server 100 according to the first embodiment carries the page registration request initiated by the first user terminal 200.
  • the address of the page and the page modification request are different from each other.
  • the server 100 generates a modification according to the address of the first page and the page modification request carried in the access request initiated by the second user terminal 300. label.
  • the modified label is then inserted into the page file of the first page to obtain a page file of the second page and sent to the second user terminal 300.
  • Step S210 the first user terminal 200 generates a sharing link according to a page modification request initiated by the user when sharing the first page, and sends the sharing link to the designated information publishing platform, where the sharing link includes the first The address of a page and the page modification request.
  • Step S220 the server 100 receives an access request initiated by the second user terminal 300 to the share link.
  • Step S230 the server 100 requests the first page according to the address of the first page, and performs modification on the first page according to the page modification request to obtain a second page.
  • the server 100 generates the modified label according to the page modification request carried in the access request, and inserts the modified label into the page file of the first page to obtain a second page. Page file.
  • the specific method for generating the modified label refer to the method for generating the modified label by the server 100 according to the address of the first page and the page modification request in the page registration request in the step S130 of the first embodiment, and details are not described herein again.
  • the server 100 may generate the modification label when receiving the access request initiated by the share link for the first time, and then receive the access request for the share link after receiving the access request. Use this modification tag to modify the first page.
  • Step S240 the server 100 sends the second page to the second user terminal 300.
  • FIG. 4 is a page sharing device 110 applied to the server 100 of FIG. 1 .
  • the page sharing device 110 includes a receiving module 111 , a modifying module 112 , and a sending module 113 .
  • the receiving module 111 is configured to receive an access request initiated by the second user terminal 300 to the sharing link, where the sharing link is modified by the first user terminal 200 according to a page initiated by the user when sharing the first page.
  • the request is generated, and the access request includes an address of the first page and the page modification request.
  • the receiving module 111 can be used to perform the step S140 shown in FIG. 2 or the step S220 shown in FIG. 3, and the specific description of the receiving module 111 can refer to the description of the step S140 or the step S220. .
  • the modifying module 112 is configured to request the first page according to the address of the first page, and modify the first page according to the page modification request to obtain a second page.
  • the modification module 112 can be used to perform the step S150 shown in FIG. 2 or the step S230 shown in FIG. 3, and the specific description of the modification module 112 can refer to the description of the step S150 or the step S230. .
  • the sending module 113 is configured to send the second page to the second user terminal 300.
  • the sending module 113 can be used to perform the step S160 shown in FIG. 2 or the step S240 shown in FIG. 3, and the specific description of the sending module 113 can refer to the description of the step S160 or the step S240. .
  • the modification module 112 includes a page acquisition submodule and a page modification submodule.
  • the page obtaining submodule is configured to obtain a page file of the first page according to an address request of the first page.
  • the page modification submodule is configured to insert a corresponding modification label into the page file of the first page according to the page modification request to obtain a page file of the second page.
  • the page sharing apparatus 110 further includes a label generation module 114.
  • the label generating module 114 is configured to receive a page registration request sent by the first user terminal 200, generate the modified label according to a page modification request in the page registration request, and the modified label and the first The address of a page is associated with the page modification request.
  • the label generating module 114 may be configured to perform step S130 shown in FIG. 2, and a detailed description of the label generating module 114 may refer to the description of the step S130.
  • the manner in which the page modification submodule inserts the modified label includes:
  • the manner in which the page modification submodule inserts the modified label includes:
  • the page modification request includes a target font
  • the modified label includes a font declaration label
  • the font declaration label is configured to generate a text of a preset position in the declaration page file by using the target font
  • the target font includes a font in a network font library; and the manner in which the page modification sub-module generates a modified label includes:
  • the modified tag is generated according to the font library link and the font declaration tag.
  • the page modification request includes the text content of the preset location; and the manner in which the page modification sub-module generates a font library link includes:
  • FIG. 6 is a page sharing device 210 applied to the first user terminal 200 shown in FIG. 1.
  • the page sharing device 210 includes a sharing link generating module 211.
  • the sharing link generating module 211 is configured to generate a sharing link according to a page modification request initiated by the user when sharing the first page, and send the sharing link to the designated information publishing platform, so that the user can use the sharing link to The server 100 requests to obtain the modified second page, where the sharing link includes an address of the first page and the page modification request.
  • the sharing link generating module 211 can be used to perform the step S110 shown in FIG. 2 or the step S210 shown in FIG. 3, and the specific description about the sharing link generating module 211 can refer to the step S110 or Description of step S210.
  • the apparatus further includes a registration request generating module 212.
  • the registration request generating module 212 is configured to generate a page registration request according to a page modification request initiated by the user when sharing the first page, and send the page registration request to the server 100, so that the server 100 is configured according to the The page registration request generates a modification tag to modify the first page, wherein the page registration request includes an address of the first page and the page modification request.
  • the registration request generating module 212 may be configured to perform the step S120 shown in FIG. 2, and the description of the step S120 may be referred to in the specific description of the registration request generating module 212.
  • the page sharing device may include only the share link generation module 211 shown in FIG. 6 or both the share link generation module 211 and the registration request generation module 212.
  • An embodiment of the present invention further provides a page sharing device, which is applied to a server that communicates with a first user terminal and a second user terminal, where the device includes:
  • a memory having stored thereon a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • the processor also implements when the computer program is executed:
  • the processor also implements when the computer program is executed:
  • the method further inserts the modified label by:
  • the method further inserts the modified label by:
  • the page modification request includes a target font
  • the modification tag includes a font declaration tag
  • the font declaration tag is configured to generate a text of a preset position in the declaration page file to adopt the target font.
  • the target font includes a font in a network font library; and when the processor executes the computer program, the method further generates: the modification label:
  • the modified tag is generated according to the font library link and the font declaration tag.
  • the page modification request includes the text content of the preset location; when the processor executes the computer program, the method further generates: generating a font library link by:
  • An embodiment of the present invention further provides a page sharing device, which is applied to a user terminal that communicates with a server, and the device includes:
  • a memory having stored thereon a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • the processor also implements when the computer program is executed:
  • An embodiment of the present invention further provides a server, where the server communicates with a first user terminal and a second user terminal, where the server includes:
  • processor stored on the memory with a computer program executable on the processor, the following steps being implemented when the processor executes the computer program:
  • the processor also implements when the computer program is executed:
  • the processor also implements when the computer program is executed:
  • An embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, the program being implemented by the processor to implement the steps of the foregoing page sharing method.
  • the page sharing method, apparatus, server, and storage medium provided by the present invention generate a sharing link by the first user terminal according to the user initiating a page modification request when sharing the first page, and the server according to the received When sharing the access request of the link, the first page to be shared is modified according to the page modification request carried therein to obtain the second page, so that other users can request from the server to the modified second page through the sharing link.
  • the user can customize the content of the page when sharing the page, and increase the interest of the page sharing.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

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

页面分享方法、装置、服务器及存储介质
本申请要求于2017年4月10日提交中国专利局、申请号为201710229392.2、发明名称为“页面分享方法、装置及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及网络信息技术领域,具体而言,涉及一种的页面分享方法、装置、服务器及存储介质。
背景技术
随着信息技术的快速发展,网络信息的分享发布成为互联网社交的一个重要组成部分。常见的一些网络页面分享方式中,发布分享信息的用户将待分享页面的链接地址发布至信息分享平台(如微博、微信朋友圈等),接收分享信息的用户通过分享的链接地址访问分享的页面。通过上述方式分享的页面,发布分享信息的用户无法对待分享页面进行修改,分享形式较为单一。
发明内容
为了克服现有技术中的上述不足,本发明的目的在于提供一种页面分享方法,应用于与第一用户终端及第二用户终端通信的服务器,所述方法包括:
接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
将所述第二页面发送给所述第二用户终端。
本发明的另一目的在于提供一种页面分享方法,应用于与服务器通信的用户终端,所述方法包括:
根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
本发明的另一目的在于提供一种页面分享方法,应用于相互通信的第一用户终端、第二用户终端及服务器,所述方法包括:
所述第一用户终端根据用户在分享第一页面时发起的页面修改 请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求;
所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求;
所述服务器接收所述第一用户终端发送的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联;
所述服务器接收所述第二用户终端对所述分享链接发起的访问请求;
所述服务器根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
所述服务器将所述第二页面发送给所述第二用户终端。
本发明的另一目的在于提供一种页面分享方法,应用于相互通信的第一用户终端、第二用户终端及服务器,所述方法包括:
所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求;
所述服务器接收所述第二用户终端对所述分享链接发起的访问请求;
所述服务器根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
所述服务器将所述第二页面发送给所述第二用户终端。
本发明的另一目的在于提供一种页面分享装置,应用于与第一用户终端及第二用户终端通信的服务器,所述装置包括:
处理器;以及
存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
将所述第二页面发送给所述第二用户终端。
本发明的另一目的在于提供一种页面分享装置,应用于与服务器通信的用户终端,所述装置包括:
处理器;以及
存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
本发明的另一目的在于提供一种服务器,所述服务器与第一用户终端及第二用户终端通信,所述服务器包括:
存储器;及
处理器;所述存储器上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
将所述第二页面发送给所述第二用户终端。
本发明的另一目的在于提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述页面分享方法的步骤。
本发明提供的页面分享方法、装置、服务器及存储介质,通过第一用户终端根据用户在分享第一页面时发起页面修改请求生成分享链接,所述服务器根据接收到对所述分享链接的访问请求时,根据其中携带的页面修改请求对待分享的第一页面进行修改得到第二页面,使得其他用户可以通过分享链接从服务器请求到修改后的第二页面。如此,使得用户在分享页面时可以对页面内容进行自定义修改,增加页面分享的趣味性。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1为本发明实施例提供的页面分享系统的交互示意图;
图2为本发明第一实施例提供的页面分享方法的步骤流程示意图;
图3为本发明第二实施例提供的页面分享方法的步骤流程示意 图;
图4为本发明第三实施例提供的页面分享装置的示意图之一;
图5为本发明第三实施例提供的页面分享装置的示意图之二;及
图6为本发明第四实施例提供的页面分享装置的示意图。
图标:10-页面分享系统;100-服务器;110(210)-页面分享装置;111-接收模块;112-修改模块;113-发送模块;114-标签生成模块;200-第一用户终端;211-分享链接生成模块;212-注册请求生成模块;300-第二用户终端;400-网络。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
在本发明的描述中,需要说明的是,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本发明的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。
请参照图1,图1为本发明较佳实施例提供一种页面分享系统的示意图,包括相互通信的服务器100、第一用户终端200及第二用户终端300。所述服务器100可通过网络400与所述第一用户终端200及第二用户终端300进行通信,以实现服务器100与第一用户终端200及第二用户终端300之间的数据通信或交互。
本实施例中,所述服务器100可以是,但不限于,web(网站)服务器、ftp(file transfer protocol,文件传输协议)服务器等。所述第一用户终端200或第二用户终端300可以是,但不限于,智能手机、 个人电脑(personal computer,PC)、平板电脑、个人数字助理(personal digital assistant,PDA)、移动上网设备(mobile Internet device,MID)等。所述第一用户终端200与所述第二用户终端300可以为同一用户终端,也可以为不同的用户终端。
所述网络400可以是,但不限于,有线网络或无线网络。
第一实施例
请参照图2,本实施例提供一种应用于图1所示页面分享系统的页面分享方法,下面对所述方法的各个步骤进行详细阐述。
步骤S110,所述第一用户终端200根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
具体地,在本实施例中,所述第一用户终端200在检测到用户需要对第一页面进行分享时(如用户在浏览器中选择分享功能时),接收并记录用户需要对所述第一页面进行修改的页面修改请求,根据所述页面修改请求生成所述分享链接。
在本实施例中,所述分享链接可以为如下格式:
http://【服务器100的域名】&【分享链接标识字段】&【第一页面的地址】&【页面修改请求】
其中,所述分享链接标识字段表征该链接为分享链接。
然后所述第一用户终端200根据用户选择将所述分享链接发送至指定的信息发布平台(如,微博、微信朋友圈、QQ好友、微信好友等)进行信息分享,使其他用户终端可以通过所述分享链接向所述服务器100请求修改后的第二页面。
步骤S120,所述第一用户终端200根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器100,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求。
在本实施例中,所述注册请求可以为所述第一用户终端200对一注册链接发起的访问请求,所述注册链接可以为如下格式:
http://【服务器100的域名】&【注册请求标识字段】&【第一页面的地址】&【修改请求】
其中,所述注册请求标识字段表征该链接为所述注册请求的注册链接。
然后所述第一用户终端200将所述页面注册请求通过网络400发送至所述服务器100,使所述服务器100根据所述页面注册请求生成修改标签以对所述第一页面进行修改。
在本实施例中,所述分享链接及所述页面注册链接中的内容可以 通过URL编码。
步骤S130,所述服务器100接收所述第一用户终端200发送的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
在本实施例中,对所述第一页面进行的修改可以包括,但不仅限于,对所述第一页面上的文字字体进行修改。所述页面修改请求可以包括目标字体。所述服务器100根据所述页面修改请求生成修改标签,其中,所述修改标签用于声明页面文件中预设位置的文字采用所述目标字体。
在本实例中,所述目标字体可以为网络字体(webfont)库中的字体,所述预设位置的文字可以为所述第一页面的页面文件中预设标签中的文字(如,标题标签中的文字)。
具体地,所述服务器100在接收到所述页面注册请求后,获取所述页面注册请求中第一页面的地址及目标字体的名称,以所述第一页面的地址及目标字体的名称为索引,查找是否存在匹配的修改标签。
若查找到匹配的修改标签,则表示已经针对该第一页面和该目标字体的组合生成过修改标签,不需要再次生成修改标签。
若未查找到匹配的修改标签,则表示未针对该第一页面和该目标字体的组合生成过修改标签,所述服务器100在网络字体库中查找所述目标字体生成字体库链接。然后根据所述字体库链接及字体声明标签生成所述修改标签,其中,所述字体声明标签用于声明所述页面中预设位置的文字采用所述目标字体。
生成所述修改标签后所述服务器100保存所述修改标签并建立所述修改标签与所述第一页面的地址及所述修改请求的关联,即在本实施例中,所述服务器100将所述第一页面的地址及所述修改请求作为的修改标签的查询索引。
进一步地,由于网络字体库的字体数据较大,而对字体的修改一般不需要整个字体库的所有的文字样式,故在本实施例中,所述修改请求中还包括所述预设位置的文字内容,所述服务器100在网络字体库中查找所述目标字体的字体库后,从所述目标字体的字体库中提取与所述文字内容对应的文字样式作为字体库子集,并生成所述字体库子集的字体库链接。
例如,所述预设位置的文字内容为“ABC”,则所述服务器100在网络字体库中查找到目标字体的字体库后,从字体库中提取“ABC”三个字母的文字样式作为字体库子集,并生成该字体库子集的字体链接。如此,减小了字体文件的大小。
进一步地,所述服务器100在需要生成字体库链接时,先以所述 文字内容及所述目标字体为索引,查找是否存在已经生成过的字体库子集。
当查到已存在生成过的字体库子集时,直接使用该字体库子集的字体库链接。
当未查找到生成过的字体库子集是,根据所述文字内容生成目标字体的字体库子集,并生成字体库子集的字体库链接。
在本实施例中,生成的所述修改标签可以为如下格式:
<style>
@font-face{font-family:"【目标字体的名称】";src:url('http://【目标字体的字体库链接】')format('woff');}//定义目标字体
h1{font-family:"【目标字体的名称】";}//字体声明标签
</style>
基于上述设计,所述服务器100可以根据所述第一用户终端200发送的页面注册请求预先生成所述修改标签,以供之后所述第二用户终端300向所述服务器100请求修改后的第二页面时使用。
值得说明的是,上述对所述第一页面的修改形式不仅限于本实施例提供的对文字字体的修改,也可以为对页面显示样式的修改或对图片的修改等。
步骤S140,所述服务器100接收所述第二用户终端300对分享链接发起的访问请求。
本实施例中,所述第二用户终端300可从信息发布平台获得所述分享链接,所述服务器100接收所述第二用户终端300发起的对所述分享链接的访问请求。
步骤S150,所述服务器100根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面。
所述服务器100以所述访问请求中的第一页面的地址及修改请求为索引,查找匹配的修改标签,并根据所述第一页面的地址请求所述第一页面的页面文件。
然后,所述服务器100将所述修改标签插入到所述第一页面的页面文件中即可得到第二页面的页面文件。
具体地,所述服务器100在将所述修改标签插入所述第一页面的页面文件的head标签中得到修改后的第二页面的页面文件。
步骤S160,所述服务器100将所述第二页面发送给所述第二用户终端300。
所述第二用户终端300接收所述第二页面的页面文件后,对页面文件进行渲染即可显示经服务器100修改得到的第二页面。
第二实施例
请参照图3,本实施例提供一种应用于图1所示页面分享系统的页面分享方法,与第一实施例中所述服务器100根据第一用户终端200发起的页面注册请求中携带的第一页面的地址及页面修改请求预先生成修改标签不同,在本实施例中,所述服务器100根据所述第二用户终端300发起的访问请求中携带的第一页面的地址及页面修改请求生成修改标签。然后将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件并发送给所述第二用户终端300。下面对所述方法的各个步骤进行详细阐述。
步骤S210,所述第一用户终端200根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
具体地,请参照第一实施例步骤S110中第一用户终端200生成所述分享链接的方式,此处不再赘述。
步骤S220,所述服务器100接收所述第二用户终端300对分享链接发起的访问请求。
步骤S230,所述服务器100根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面。
具体地,在本实施例中,所述服务器100根据所述访问请求中携带的页面修改请求生成所述修改标签,并将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。其中,所述修改标签的具体生成方法请参照第一实施例步骤S130中所述服务器100根据页面注册请求中第一页面的地址及页面修改请求生成修改标签的方法,在此不再赘述。
进一步地,本实施例中,所述服务器100可以在第一次接收到对所述分享链接发起的访问请求时,生成所述修改标签,并在之后接收到对该分享链接的访问请求时均使用该修改标签对第一页面进行修改。
步骤S240,所述服务器100将所述第二页面发送给所述第二用户终端300。
第三实施例
请参照图4,图4为应用于图1所示服务器100的一种页面分享装置110,所述页面分享装置110包括接收模块111、修改模块112及发送模块113。
所述接收模块111,用于接收所述第二用户终端300对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端200根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求。
本实施例中,所述接收模块111可用于执行图2所示的步骤S140或图3所示的步骤S220,关于所述接收模块111的具体描述可参对所述步骤S140或步骤S220的描述。
所述修改模块112,用于根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面。
本实施例中,所述修改模块112可用于执行图2所示的步骤S150或图3所示的步骤S230,关于所述修改模块112的具体描述可参对所述步骤S150或步骤S230的描述。
所述发送模块113,用于将所述第二页面发送给所述第二用户终端300。
本实施例中,所述发送模块113可用于执行图2所示的步骤S160或图3所示的步骤S240,关于所述发送模块113的具体描述可参对所述步骤S160或步骤S240的描述。
进一步地,在本实施例中,所述修改模块112包括页面获取子模块及页面修改子模块。
所述页面获取子模块,用于根据所述第一页面的地址请求获得所述第一页面的页面文件。
所述页面修改子模块,用于根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
可选地,请参照图5,在本实施例的一种实施方式中,所述页面分享装置110还包括标签生成模块114。
所述标签生成模块114,用于接收所述第一用户终端200发送的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
本实施例中,所述标签生成模块114可用于执行图2所示的步骤S130,关于所述标签生成模块114的具体描述可参对所述步骤S130的描述。
进一步地,在本实施方式中,所述页面修改子模块插入所述修改标签的方式,包括:
根据所述第一页面的地址及所述页面修改请求查找相应的修改标签;
将所述修改标签插入所述第一页面的页面文件中得到第二页面 的页面文件。
可选地,在本实施例的另一种实施方式中,所述页面修改子模块插入所述修改标签的方式,包括:
根据所述页面修改请求生成所述修改标签。
将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
进一步地,在本实施例中,所述页面修改请求包括目标字体,所述修改标签包括字体声明标签,所述字体声明标签用于生成声明页面文件中预设位置的文字采用所述目标字体。
进一步地,在本实施例中,所述目标字体包括在网络字体库中的字体;所述页面修改子模块生成修改标签的方式,包括:
在网络字体库中查找所述目标字体生成字体库链接。
根据所述字体库链接及字体声明标签生成为所述修改标签。
进一步地,在本实施例中,所述页面修改请求中包括所述预设位置的文字内容;所述页面修改子模块生成字体库链接的方式,包括:
在中查找所述目标字体的字体库。
从所述目标字体的字体库中提取与所述文字内容对应的文字样式作为字体库子集,并生成所述字体库子集的字体库链接。
第四实施例
请参照图6,图6为应用于图1所示第一用户终端200的一种页面分享装置210,所述页面分享装置210包括分享链接生成模块211。
所述分享链接生成模块211,用于根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器100请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
本实施例中,所述分享链接生成模块211可用于执行图2所示的步骤S110或图3所示的步骤S210,关于所述分享链接生成模块211的具体描述可参对所述步骤S110或步骤S210的描述。
进一步地,请再次参照图6在本实施例中,所述装置还包括注册请求生成模块212。
所述注册请求生成模块212,用于根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器100,使所述服务器100根据所述页面注册请求生成修改标签以对所述第一页面进行修改,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求。
本实施例中,所述注册请求生成模块212可用于执行图2所示的 步骤S120,关于所述注册请求生成模块212的具体描述可参对所述步骤S120的描述。
值得说明的是,在本实施例中,所述页面分享装置可以只包括图6所示所述分享链接生成模块211,或同时包括所述分享链接生成模块211及注册请求生成模块212。
本发明一实施例还提供一种页面分享装置,应用于与第一用户终端及第二用户终端通信的服务器,所述装置包括:
处理器;以及
存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
将所述第二页面发送给所述第二用户终端。
所述处理器执行所述计算机程序时还实现:
根据所述第一页面的地址请求获得所述第一页面的页面文件;
根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
所述处理器执行所述计算机程序时还实现:
接收所述第一用户终端发送的包括所述第一页面的地址及所述页面修改请求的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
所述处理器执行所述计算机程序时还实现:通过如下方式插入所述修改标签:
根据所述第一页面的地址及所述页面修改请求查找相应的修改标签;
将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
所述处理器执行所述计算机程序时还实现:通过如下方式插入所述修改标签:
根据所述页面修改请求生成所述修改标签;
将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
所述页面修改请求包括目标字体,所述修改标签包括字体声明标 签,所述字体声明标签用于生成声明页面文件中预设位置的文字采用所述目标字体。
所述目标字体包括在网络字体库中的字体;所述处理器执行所述计算机程序时还实现:通过如下方式生成所述修改标签:
在网络字体库中查找所述目标字体生成字体库链接;
根据所述字体库链接及字体声明标签生成所述修改标签。
所述页面修改请求中包括所述预设位置的文字内容;所述处理器执行所述计算机程序时还实现:通过如下方式生成字体库链接:
在网络字体库中查找所述目标字体的字体库;
从所述目标字体的字体库中提取与所述文字内容对应的文字样式作为字体库子集,并生成所述字体库子集的字体库链接。
本发明一实施例还提供一种页面分享装置,应用于与服务器通信的用户终端,所述装置包括:
处理器;以及
存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
所述处理器执行所述计算机程序时还实现:
根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器,使所述服务器根据所述页面注册请求生成修改标签以对所述第一页面进行修改,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求。
本发明一实施例还提供一种服务器,所述服务器与第一用户终端及第二用户终端通信,所述服务器包括:
存储器;及
处理器;所述存储器上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
将所述第二页面发送给所述第二用户终端。
所述处理器执行所述计算机程序时还实现:
根据所述第一页面的地址请求获得所述第一页面的页面文件;
根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
所述处理器执行所述计算机程序时还实现:
接收所述第一用户终端发送的包括所述第一页面的地址及所述页面修改请求的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
本发明一实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述页面分享方法的步骤。
综上所述,本发明提供的页面分享方法、装置、服务器及存储介质,通过第一用户终端根据用户在分享第一页面时发起页面修改请求生成分享链接,所述服务器根据接收到对所述分享链接的访问请求时,根据其中携带的页面修改请求对待分享的第一页面进行修改得到第二页面,使得其他用户可以通过分享链接从服务器请求到修改后的第二页面。如此,使得用户在分享页面时可以对页面内容进行自定义修改,增加页面分享的趣味性。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备 (可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (26)

  1. 一种页面分享方法,应用于与第一用户终端及第二用户终端通信的服务器,所述方法包括:
    接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
    根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;及
    将所述第二页面发送给所述第二用户终端。
  2. 根据权利要求1所述的方法,根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面的步骤,包括:
    根据所述第一页面的地址请求获得所述第一页面的页面文件;
    根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
  3. 根据权利要求2所述的方法,在接收所述第二用户终端对分享链接发起的访问请求的步骤之前,所述方法还包括:
    接收所述第一用户终端发送的包括所述第一页面的地址及所述页面修改请求的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
  4. 根据权利要求2所述的方法,根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件的步骤,包括:
    根据所述第一页面的地址及所述页面修改请求查找相应的修改标签;
    将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
  5. 根据权利要求2所述的方法,根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件的步骤,包括:
    根据所述分享链接中的页面修改请求生成所述修改标签;
    将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
  6. 根据权利要求3或5所述的方法,所述页面修改请求包括目标字体,所述修改标签包括字体声明标签,所述字体声明标签用于声明页面文件中预设位置的文字采用所述目标字体。
  7. 根据权利要求6所述的方法,所述目标字体包括在网络字体库中的字体;根据所述页面修改请求生成修改标签的步骤,包括:
    在网络字体库中查找所述目标字体生成字体库链接;
    根据所述字体库链接及字体声明标签生成为所述修改标签。
  8. 根据权利要求7所述的方法,所述页面修改请求中包括所述预设位置的文字内容;所述在网络字体库中查找所述目标字体生成字体库链接的步骤,包括:
    在网络字体库中查找所述目标字体的字体库;
    从所述目标字体的字体库中提取与所述文字内容对应的文字样式作为字体库子集,并生成所述字体库子集的字体库链接。
  9. 一种页面分享方法,应用于与服务器通信的用户终端,所述方法包括:
    根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
  10. 根据权利要求9所述的方法,还包括:
    根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器,使所述服务器根据所述页面注册请求生成修改标签以对所述第一页面进行修改,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求。
  11. 一种页面分享方法,应用于相互通信的第一用户终端、第二用户终端及服务器,所述方法包括:
    所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求;
    所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求;
    所述服务器接收所述第一用户终端发送的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联;
    所述服务器接收所述第二用户终端对所述分享链接发起的访问请求;
    所述服务器根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;及
    所述服务器将所述第二页面发送给所述第二用户终端。
  12. 一种页面分享方法,应用于相互通信的第一用户终端、第二 用户终端及服务器,所述方法包括:
    所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,其中,所述分享链接中包括第一页面的地址及所述页面修改请求;
    所述服务器接收所述第二用户终端对所述分享链接发起的访问请求;
    所述服务器根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;及
    所述服务器将所述第二页面发送给所述第二用户终端。
  13. 一种页面分享装置,应用于与第一用户终端及第二用户终端通信的服务器,所述装置包括:
    处理器;以及
    存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
    接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
    根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
    将所述第二页面发送给所述第二用户终端。
  14. 根据权利要求13所述的装置,所述处理器执行所述计算机程序时还实现:
    根据所述第一页面的地址请求获得所述第一页面的页面文件;
    根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
  15. 根据权利要求14所述的装置,所述处理器执行所述计算机程序时还实现:
    接收所述第一用户终端发送的包括所述第一页面的地址及所述页面修改请求的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
  16. 根据权利要求14所述的装置,所述处理器执行所述计算机程序时还实现:通过如下方式插入所述修改标签:
    根据所述第一页面的地址及所述页面修改请求查找相应的修改标签;
    将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
  17. 根据权利要求14所述的装置,所述处理器执行所述计算机程序时还实现:通过如下方式插入所述修改标签:
    根据所述页面修改请求生成所述修改标签;
    将所述修改标签插入所述第一页面的页面文件中得到第二页面的页面文件。
  18. 根据权利要求15或17所述的装置,所述页面修改请求包括目标字体,所述修改标签包括字体声明标签,所述字体声明标签用于生成声明页面文件中预设位置的文字采用所述目标字体。
  19. 根据权利要求18所述的装置,所述目标字体包括在网络字体库中的字体;所述处理器执行所述计算机程序时还实现:通过如下方式生成所述修改标签:
    在网络字体库中查找所述目标字体生成字体库链接;
    根据所述字体库链接及字体声明标签生成所述修改标签。
  20. 根据权利要求19所述的装置,所述页面修改请求中包括所述预设位置的文字内容;所述处理器执行所述计算机程序时还实现:通过如下方式生成字体库链接:
    在网络字体库中查找所述目标字体的字体库;
    从所述目标字体的字体库中提取与所述文字内容对应的文字样式作为字体库子集,并生成所述字体库子集的字体库链接。
  21. 一种页面分享装置,应用于与服务器通信的用户终端,所述装置包括:
    处理器;以及
    存储器,其上存储有可在处理器上运行的计算机程序,当所述处理器执行所述计算机程序时实现以下步骤:
    根据用户在分享第一页面时发起的页面修改请求生成分享链接,并将所述分享链接发送至指定的信息发布平台,使用户通过所述分享链接可以向所述服务器请求获得修改后的第二页面,其中,所述分享链接中包括第一页面的地址及所述页面修改请求。
  22. 根据权利要求21所述的装置,所述处理器执行所述计算机程序时还实现:
    根据用户在分享第一页面时发起的页面修改请求生成页面注册请求,并将所述页面注册请求发送给所述服务器,使所述服务器根据所述页面注册请求生成修改标签以对所述第一页面进行修改,其中,所述页面注册请求包括第一页面的地址及所述页面修改请求。
  23. 一种服务器,所述服务器与第一用户终端及第二用户终端通信,所述服务器包括:
    存储器;及
    处理器;所述存储器上存储有可在处理器上运行的计算机程序, 当所述处理器执行所述计算机程序时实现以下步骤:
    接收所述第二用户终端对分享链接发起的访问请求,其中,所述分享链接由所述第一用户终端根据用户在分享第一页面时发起的页面修改请求生成,所述访问请求中包括第一页面的地址及所述页面修改请求;
    根据所述第一页面的地址请求所述第一页面,并根据所述页面修改请求对所述第一页面进行修改得到第二页面;
    将所述第二页面发送给所述第二用户终端。
  24. 根据权利要求23所述的服务器,所述处理器执行所述计算机程序时还实现:
    根据所述第一页面的地址请求获得所述第一页面的页面文件;
    根据所述页面修改请求在所述第一页面的页面文件中插入相应的修改标签得到第二页面的页面文件。
  25. 根据权利要求24所述的服务器,所述处理器执行所述计算机程序时还实现:
    接收所述第一用户终端发送的包括所述第一页面的地址及所述页面修改请求的页面注册请求,根据所述页面注册请求中的页面修改请求生成所述修改标签,并将所述修改标签与所述第一页面的地址及所述页面修改请求相关联。
  26. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-10中任意一项所述方法的步骤。
PCT/CN2017/117707 2017-04-10 2017-12-21 页面分享方法、装置、服务器及存储介质 WO2018188373A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017102293922 2017-04-10
CN201710229392.2A CN108282509A (zh) 2017-04-10 2017-04-10 页面分享方法、装置及服务器

Publications (1)

Publication Number Publication Date
WO2018188373A1 true WO2018188373A1 (zh) 2018-10-18

Family

ID=62801172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117707 WO2018188373A1 (zh) 2017-04-10 2017-12-21 页面分享方法、装置、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN108282509A (zh)
WO (1) WO2018188373A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542336A (zh) * 2020-04-30 2021-10-22 北京字节跳动网络技术有限公司 一种信息的切换共享方法、装置、电子设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582884B (zh) * 2018-10-22 2023-07-25 中国平安人寿保险股份有限公司 保险产品分享链接生成方法、装置、介质和计算机设备
CN109803008B (zh) * 2019-01-11 2020-11-20 北京字节跳动网络技术有限公司 用于显示信息的方法和装置
CN111046312A (zh) * 2019-12-20 2020-04-21 五八有限公司 一种页面分享方法、装置、电子设备及存储介质
CN111460502B (zh) * 2020-04-01 2024-02-13 得到(天津)文化传播有限公司 数据分享方法、装置、设备和存储介质
CN113536160A (zh) * 2020-04-21 2021-10-22 中国移动通信集团贵州有限公司 页面链接处理方法、装置、电子设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833277A (zh) * 2011-06-14 2012-12-19 中兴通讯股份有限公司 共享网页链接的方法及系统
CN103209163A (zh) * 2012-01-17 2013-07-17 三星电子(中国)研发中心 电子书分享方法及服务器、客户端
CN103853767A (zh) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 一种基于浏览器的社交圈分享方法和装置
CN105653717A (zh) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 一种信息分享的方法及装置
US20160359946A1 (en) * 2015-06-03 2016-12-08 International Business Machines Corporation Techniques for promoting and viewing social content written by nearby people
US20170093997A1 (en) * 2014-07-15 2017-03-30 Aol Inc. Systems and methods for tracking sharing of web content

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065632B (zh) * 2013-04-08 2015-07-29 腾讯科技(深圳)有限公司 分享内容的处理方法、服务器、客户端及系统
KR20160039746A (ko) * 2014-10-01 2016-04-12 삼성전자주식회사 정보 공유 방법 및 이를 위한 전자 장치
CN104298744B (zh) * 2014-10-10 2018-01-26 广州三星通信技术研究有限公司 分享、获取网页内容的方法和装置
CN104572816B (zh) * 2014-12-01 2019-07-26 联想(北京)有限公司 信息处理方法及电子设备
CN104702665B (zh) * 2014-12-29 2019-03-26 广州品唯软件有限公司 信息分享方法和信息分享装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833277A (zh) * 2011-06-14 2012-12-19 中兴通讯股份有限公司 共享网页链接的方法及系统
CN103209163A (zh) * 2012-01-17 2013-07-17 三星电子(中国)研发中心 电子书分享方法及服务器、客户端
CN103853767A (zh) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 一种基于浏览器的社交圈分享方法和装置
US20170093997A1 (en) * 2014-07-15 2017-03-30 Aol Inc. Systems and methods for tracking sharing of web content
US20160359946A1 (en) * 2015-06-03 2016-12-08 International Business Machines Corporation Techniques for promoting and viewing social content written by nearby people
CN105653717A (zh) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 一种信息分享的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542336A (zh) * 2020-04-30 2021-10-22 北京字节跳动网络技术有限公司 一种信息的切换共享方法、装置、电子设备及存储介质
US11757955B2 (en) 2020-04-30 2023-09-12 Beijing Bytedance Network Technology Co., Ltd. Information switching and sharing method, device, electronic apparatus, and storage medium

Also Published As

Publication number Publication date
CN108282509A (zh) 2018-07-13

Similar Documents

Publication Publication Date Title
WO2018188373A1 (zh) 页面分享方法、装置、服务器及存储介质
US10715854B2 (en) Method and apparatus for pushing information
WO2016101635A1 (zh) 一种同步登录状态的方法、装置、设备和计算机存储介质
AU2013325007B2 (en) Systems and methods for sharing files among multiple terminals
WO2017000820A1 (zh) 基于云端存储的文件分享方法、装置与系统
WO2017114206A1 (zh) 短链接处理方法、装置及短链接服务器
US9311281B2 (en) Methods for facilitating web page image hotspots and devices thereof
EP2758912B1 (en) Methods and apparatus for progressive pattern matching in a mobile environment
WO2019109529A1 (zh) 网页识别方法、装置、计算机设备及计算机存储介质
WO2015081848A1 (zh) 社交化扩展搜索方法及相应的装置、系统
WO2015074459A1 (zh) 打开网页、调用客户端及创建轻应用的方法及装置
WO2015014310A1 (en) Method, apparatus, and server for displaying information
BR112016010052B1 (pt) Método e aparelho de processamento de operação de página, e terminal
US20150026304A1 (en) System for maintaining common data across multiple platforms
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
TW201926966A (zh) 資訊發送方法及裝置
US9576065B2 (en) Method for maintaining common data across multiple platforms
CN107623662B (zh) 访问的控制方法,装置和系统
CN114039801B (zh) 一种短链接生成方法、解析方法和系统、设备、存储介质
CN108614844B (zh) 多媒体文件生成方法及装置
CN110866196A (zh) 一种打印机网络信息采集方法、装置及电子设备
WO2019019650A1 (zh) 网站数据处理方法、装置、网站数据处理平台及存储介质
JP2016515740A (ja) スマートナビゲーションサービス
CN105589870B (zh) 网页广告的过滤方法和系统
KR20180088260A (ko) 웹 페이지를 생성하는 방법 및 장치

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: 17905674

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: 17905674

Country of ref document: EP

Kind code of ref document: A1