CN107885746B - Page sharing method and device - Google Patents

Page sharing method and device Download PDF

Info

Publication number
CN107885746B
CN107885746B CN201610868502.5A CN201610868502A CN107885746B CN 107885746 B CN107885746 B CN 107885746B CN 201610868502 A CN201610868502 A CN 201610868502A CN 107885746 B CN107885746 B CN 107885746B
Authority
CN
China
Prior art keywords
page
sharing
url address
module
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610868502.5A
Other languages
Chinese (zh)
Other versions
CN107885746A (en
Inventor
张亮
骆艳飞
祁连山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610868502.5A priority Critical patent/CN107885746B/en
Publication of CN107885746A publication Critical patent/CN107885746A/en
Application granted granted Critical
Publication of CN107885746B publication Critical patent/CN107885746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

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)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a method and a device for page sharing, wherein the method comprises the following steps: acquiring the URL address of a page to be shared by a user; acquiring page content corresponding to the URL address according to the URL address; and sharing the page content. Therefore, the sharing object of the user sees the page content instead of the URL address in the prior art, and the user can see the page content without clicking the URL address, so that the page sharing efficiency is improved, and the defect that the sharing object in the prior art cannot watch the page content under the condition of no network is overcome.

Description

Page sharing method and device
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a method and a device for page sharing.
Background
At present, people often share web pages browsed by themselves with friends. The sharing method in the related art is to copy the uniform resource locator (Uniform Resource Locator, URL) address of the current page, then send the address to the opposite party by pasting the address into an instant chat tool or email, then open the page corresponding to the URL address by clicking the URL address by the opposite party, and then view the content of the page.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and apparatus for page sharing.
According to a first aspect of an embodiment of the present disclosure, there is provided a method for sharing pages, including:
acquiring the URL address of a page to be shared by a user;
acquiring page content corresponding to the URL address according to the URL address;
and sharing the page content.
According to a second aspect of an embodiment of the present disclosure, there is provided an apparatus for sharing a page, including:
the URL address acquisition module is configured to acquire the URL address of the page to be shared by the user;
the page content acquisition module is configured to acquire page content corresponding to the URL address according to the URL address;
and the sharing module is configured to share the page content.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: the URL address of the page to be shared by the user is obtained; acquiring page content corresponding to the URL address according to the URL address; and then sharing the page content, so that the user can see the page content instead of the URL address in the prior art by the sharing object, and the user can see the page content without clicking the URL address, thereby improving the page sharing efficiency and avoiding the defect that the sharing object in the prior art cannot watch the page content under the condition of no network.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart illustrating a method of page sharing according to an example embodiment.
FIG. 2 is a flow chart illustrating a method of page sharing according to another exemplary embodiment.
FIG. 3 is a flowchart illustrating a method of page sharing according to another exemplary embodiment.
FIG. 4 is a flowchart illustrating a method of page sharing according to another exemplary embodiment.
FIG. 5 is a block diagram illustrating an apparatus for page sharing according to an example embodiment.
Fig. 6 is a block diagram illustrating an apparatus for page sharing according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for page sharing according to another exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus 800 for page sharing according to an example embodiment.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart of a method for sharing pages according to an exemplary embodiment, and as shown in fig. 1, the method for sharing pages in this embodiment is used in a terminal and includes the following steps.
In step S11, the URL address of the page that the user needs to share is obtained.
In step S12, according to the URL address, the page content corresponding to the URL address is obtained.
In step S13, the page content is shared.
In this embodiment, the terminal may obtain the URL address of the page that the user needs to share, where the page that the user needs to share refers to the page that the user wants to share the object and can also see, and then obtain, according to the URL address of the page, the page content corresponding to the URL address, for example: the terminal can send a page request to the server corresponding to the URL address, receive the page corresponding to the URL address sent by the server, and acquire page content from the page. The page content is shared after the page content is obtained.
The method and the device can be applied to the situation that the user shares the page through a WeChat friend circle or a microblog, the user inputs the URL address of the page to be shared in a posting column of the WeChat friend circle or the microblog, and then clicks and sends the URL address, the terminal of the embodiment can acquire a sending operation instruction input by the user, the sending operation instruction comprises the URL address input in the posting column by the user, then acquires page content corresponding to the URL address according to the URL address, and posts the page content corresponding to the URL address, and other users can directly see the page content instead of the URL address when seeing the WeChat friend circle or the microblog of the user, so that the page content can be seen without clicking the URL address, the page sharing efficiency is improved, and the defect that the page content cannot be watched under the condition of no network is avoided.
In summary, in the page sharing method provided in this embodiment, the URL address of the page to be shared by the user is obtained; acquiring page content corresponding to the URL address according to the URL address; and then sharing the page content, so that the user can see the page content instead of the URL address in the prior art by the sharing object, and the user can see the page content without clicking the URL address, thereby improving the page sharing efficiency and avoiding the defect that the sharing object in the prior art cannot watch the page content under the condition of no network.
Fig. 2 is a flowchart of a method for sharing pages according to another exemplary embodiment, and as shown in fig. 2, the method for sharing pages in this embodiment is used in a terminal and includes the following steps.
In step S21, the URL address of the page that the user needs to share is obtained.
In step S22, according to the URL address, the page content corresponding to the URL address is obtained.
The specific implementation process of steps S21 and S22 may be referred to the related description in the embodiment shown in fig. 1, and will not be described herein.
Optionally, in one possible implementation manner of sharing the page content, the following steps may be included.
In step S23, format processing is performed on the page content according to a preset format, so as to obtain the page content after format processing.
In step S24, the page content after the format processing is shared.
In this embodiment, after obtaining the page content corresponding to the URL address, typesetting the page content according to a preset format to obtain the page content converted into the preset format, where the preset format may include: fonts, font sizes, line spacing and the like, and then sharing the page contents converted into a preset format. The page content after format processing can make the page content level clear and clearer.
In summary, in the page sharing method provided in this embodiment, the URL address of the page to be shared by the user is obtained; acquiring page content corresponding to the URL address according to the URL address; and then sharing the page content, so that the user can see the page content instead of the URL address in the prior art by the sharing object, and the user can see the page content without clicking the URL address, thereby improving the page sharing efficiency and avoiding the defect that the sharing object in the prior art cannot watch the page content under the condition of no network.
Fig. 3 is a flowchart of a method for sharing pages according to another exemplary embodiment, as shown in fig. 3, where the method for sharing pages in this embodiment is used in a terminal, and in another possible implementation scenario, the method includes the following steps.
In step S31, a sending operation instruction input by the user is obtained, where the sending operation instruction includes the URL address and the identifier of the sharing object.
In step S32, the URL address is obtained according to the transmission operation instruction.
In step S33, according to the URL address, the page content corresponding to the URL address is obtained.
In step S34, according to the identification of the sharing object, the page content is sent to the sharing object.
In this embodiment, when the user shares the page through the instant chat tool or email, the user may input the URL address of the page to be shared in the chat dialog box or the mail text box, and then click to send. The terminal of the embodiment may obtain a sending operation instruction input by a user, where the sending operation instruction includes a URL address and an identifier of a sharing object, and the sharing object may be one or multiple sharing objects; and then acquiring the URL address according to the sending operation instruction, acquiring page content corresponding to the URL address according to the URL address, and sending the page content to the sharing object corresponding to the identification of the sharing object in the sending operation instruction, so that the process of sharing the page by the user to the sharing object is realized.
Alternatively, in one possible implementation of S34, the following steps may be included.
In step S341, format processing is performed on the page content according to a preset format, so as to obtain the page content after format processing.
In step S342, the formatted page content is sent to the sharing object according to the identification of the sharing object.
In summary, in the page sharing method provided in this embodiment, a sending operation instruction input by a user is obtained, where the sending operation instruction includes the URL address and an identifier of a sharing object; acquiring the URL address according to the sending operation instruction; acquiring page content corresponding to the URL address according to the URL address; and sending the page content to the sharing object according to the identification of the sharing object. Therefore, the sharing object of the page receives the page content instead of the URL address in the prior art, and the page content can be seen without clicking the URL address, so that the page sharing efficiency is improved, and the defect that the sharing object in the prior art cannot watch the page content under the condition of no network is overcome. Thus, the sharing object receives page content corresponding to the URL address instead of the URL address.
Fig. 4 is a flowchart of a method for sharing pages according to another exemplary embodiment, as shown in fig. 4, where the method for sharing pages in this embodiment is used in a terminal, and in another possible implementation scenario, the method includes the following steps.
In step S41, the URL address of the page that the user needs to share is acquired.
The specific implementation process of step S41 may be referred to in the related description of the method embodiment shown in any one of fig. 1 to 3, and will not be described herein.
In step S42, according to the URL address, a page corresponding to the URL address is acquired.
In this embodiment, in a first possible implementation manner of obtaining the page corresponding to the URL address according to the URL address, step S43 may be included.
In step S43, the text in the page is acquired according to the text label in the page.
In this embodiment, after acquiring the URL address, acquiring the page corresponding to the URL address according to the URL address, where the page corresponding to the URL address may include: links to other pages associated with the page, advertisements, etc. After the page corresponding to the URL address is obtained, the text in the page is obtained according to the text label in the page.
In step S44, the text in the page is shared.
The specific implementation process of step S44 may be referred to the related description in any of the embodiments shown in fig. 1-3, and will not be described herein.
Alternatively, when the text in the page includes video, one possible implementation of step S43 may include: and downloading the video corresponding to the video tag according to the video tag under the text tag in the page. The terminal in this embodiment may determine that the text includes the video according to the video tag included under the text tag in the page, and then download the video corresponding to the video tag, and accordingly, one possible implementation manner of step S44 may include: sharing the downloaded video.
Optionally, in step S44, the text in the acquired page may be subjected to format processing according to a preset format, so as to obtain a text after format processing, and then the text after format processing may be re-shared. The preset format includes: a preset picture format, a preset video format and a preset text format. The method can convert the format of the pictures of the text into the pictures with the preset picture format (for example, the definition of the images can be changed), convert the format of the video in the text into the preset video format (for example, the video can be compressed to reduce the size of the video, so that the flow consumption during sharing the video can be reduced, the video can be ensured to be successfully shared), and convert the format of the texts into the preset text format (for example, the font size, the line spacing and the like are changed).
In summary, in the page sharing method provided in this embodiment, the URL address of the page to be shared by the user is obtained; acquiring a page corresponding to the URL address according to the URL address; acquiring the text in the page according to the text label in the page; and sharing the text in the page. Therefore, the sharing object of the user sees the page text instead of the URL address in the prior art, and the user can see the page text without clicking the URL address, so that the page sharing efficiency is improved, and the defect that the sharing object in the prior art cannot watch the page content under the condition of no network is overcome.
Alternatively, based on the embodiment shown in fig. 4, the text in the page may be obtained according to the text label in the page, and the title in the page may be obtained according to the title label in the page; accordingly, the title in the page can be shared when the text of the page is shared. Optionally, in one possible implementation manner of sharing the title in the page, the title may be formatted according to a preset format, and the title after the formatting is further shared, for example: centering the title, changing the font and font size of the title, etc.
Alternatively, based on the embodiment shown in fig. 4, the text in the page may be obtained according to the text label in the page, and the publishing author in the page may be obtained according to the author label in the page; accordingly, the publishing authors in the page can also be shared when the text of the page is shared. Optionally, in one possible implementation manner of the publisher in the sharing page, the publisher may be subjected to format processing according to a preset format, and the publisher after format processing is then shared, for example: changing the font and font size of the publishing author, etc.
Alternatively, based on the embodiment shown in fig. 4, the text in the page may be obtained according to the text label in the page, and the publishing author in the page may be obtained according to the author label in the page; accordingly, the publishing authors in the page can also be shared when the text of the page is shared. Optionally, in one possible implementation manner of the publisher in the sharing page, the publisher may be subjected to format processing according to a preset format, and the publisher after format processing is then shared, for example: changing the font and font size of the publishing author, etc.
Alternatively, based on the embodiment shown in fig. 4, the text in the page may be obtained according to the text label in the page, and the publishing time in the page may also be obtained according to the time label in the page; accordingly, the publishing time in the page can be shared when the text of the page is shared. Optionally, in one possible implementation manner of the publishing author in the sharing page, the publishing time may be formatted according to a preset format, and the publishing time after the formatting processing is further shared, for example: the format is 2016-07-25:11:09:02 before processing, and the format is: 2016, 7, 25, 11:09:02.
Optionally, based on the embodiment shown in fig. 4, the text in the page can be obtained according to the text label in the page, and the title, the publishing author and the publishing time in the page can be respectively obtained according to the title label, the author label and the time label in the page; accordingly, titles, release authors and release time in the page can be shared when the text of the page is shared. Optionally, in one possible implementation manner of the title, the publishing author and the publishing time in the sharing page, the title, the publishing author and the publishing time may be formatted according to a preset format and then shared.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
FIG. 5 is a block diagram illustrating an apparatus for page sharing according to an example embodiment. The page sharing device can be implemented as part or all of the terminal through software, hardware or a combination of the two. Referring to fig. 5, the apparatus includes a URL address acquisition module 110, a page content acquisition module 120, and a sharing module 130.
The URL address obtaining module 110 is configured to obtain a URL address of a page that the user needs to share;
the page content acquisition module 120 is configured to acquire page content corresponding to the URL address according to the URL address acquired by the URL address acquisition module 110;
the sharing module 130 is configured to share the page content acquired by the page content acquisition module 120.
The specific manner and technical effects of the operations performed by the respective modules in the apparatus of the above embodiments have been described in detail in the embodiments related to the method, and will not be described in detail herein.
Fig. 6 is a block diagram illustrating an apparatus for page sharing according to another exemplary embodiment. The page sharing device can be implemented as part or all of the terminal through software, hardware or a combination of the two. Referring to fig. 6, the apparatus of this embodiment, based on the embodiment shown in fig. 5, the sharing module 130 includes: a format processing sub-module 131 and a sharing sub-module 132;
a format processing sub-module 131, configured to perform format processing on the page content according to a preset format, so as to obtain the page content after format processing;
the sharing sub-module 132 is configured to share the page content after being formatted by the format processing sub-module 131.
The specific manner and technical effects of the operations performed by the respective modules in the apparatus of the above embodiments have been described in detail in the embodiments related to the method, and will not be described in detail herein.
Fig. 7 is a block diagram illustrating an apparatus for page sharing according to another exemplary embodiment. The page sharing device can be implemented as part or all of the terminal through software, hardware or a combination of the two. Referring to fig. 7, the apparatus of this embodiment, based on the embodiment shown in fig. 5 or fig. 6, the page content obtaining module 120 includes: a page acquisition sub-module 121 and a body acquisition sub-module 122;
the page obtaining sub-module 121 is configured to obtain, according to the URL address, a page corresponding to the URL address;
the text obtaining sub-module 122 is configured to obtain the text in the page according to the text label in the page obtained by the page obtaining sub-module 121;
the sharing module 130 includes: a text sharing sub-module 133;
the text sharing sub-module 133 is configured to share the text in the page.
Optionally, the page content acquiring module 120 further includes a title acquiring sub-module 123;
the title obtaining sub-module 123 is configured to obtain a title in the page according to the title tag in the page obtained by the page obtaining sub-module 121;
the sharing module 130 includes: a title sharing sub-module 134;
the title sharing submodule 134 is configured to share titles in the page.
Optionally, the text obtaining sub-module 122 is configured to, when the text of the page includes a video, download the video corresponding to the video tag according to the video tag under the text tag in the page;
the text sharing sub-module 133 is configured to share the downloaded video.
The specific manner and technical effects of the operations performed by the respective modules in the apparatus of the above embodiments have been described in detail in the embodiments related to the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating an apparatus 800 for page sharing according to an example embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of apparatus 800, causes apparatus 800 to perform the above-described method of page sharing.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method of page sharing, comprising:
acquiring a Uniform Resource Locator (URL) address of a page to be shared by a user;
acquiring page content corresponding to the URL address according to the URL address;
sharing the page content;
the step of obtaining the page content corresponding to the URL address according to the URL address comprises the following steps:
acquiring a page corresponding to the URL address according to the URL address; acquiring the text in the page according to the text label in the page;
the sharing of the page content includes: sharing the text in the page;
when the text of the page includes a video, the obtaining the text of the page according to the text label of the page includes: downloading a video corresponding to the video tag according to the video tag under the text tag in the page;
the sharing of the text in the page comprises the following steps: sharing the downloaded video.
2. The method of claim 1, wherein the sharing the page content comprises:
carrying out format processing on the page content according to a preset format to obtain the page content after format processing;
and sharing the page content after format processing.
3. The method of claim 1, wherein the obtaining, according to the URL address, the page content corresponding to the URL address, further includes:
acquiring a title in the page according to the title label in the page;
the sharing the page content further includes: and sharing the title in the page.
4. A device for sharing pages, comprising:
the uniform resource locator URL address acquisition module is configured to acquire the URL address of the page to be shared by the user;
the page content acquisition module is configured to acquire page content corresponding to the URL address according to the URL address;
the sharing module is configured to share the page content;
the page content acquisition module comprises: a page acquisition sub-module and a text acquisition sub-module;
the page acquisition sub-module is configured to acquire a page corresponding to the URL address according to the URL address;
the text acquisition sub-module is configured to acquire the text in the page according to the text label in the page;
the sharing module comprises: a text sharing sub-module;
the text sharing sub-module is configured to share the text in the page;
the text acquisition sub-module is configured to download a video corresponding to a video tag according to the video tag under the text tag in the page when the text of the page comprises the video;
and the text sharing sub-module is configured to share the downloaded video.
5. The apparatus of claim 4, wherein the sharing module comprises: a format processing sub-module and a sharing sub-module;
the format processing sub-module is configured to perform format processing on the page content according to a preset format to obtain the page content after format processing;
and the sharing sub-module is configured to share the page content after format processing.
6. The apparatus of claim 4, wherein the page content acquisition module further comprises a title acquisition sub-module;
the title acquisition submodule is configured to acquire a title in the page according to the title label in the page;
the sharing module comprises: a title sharing sub-module;
the title sharing sub-module is configured to share the title in the page.
CN201610868502.5A 2016-09-29 2016-09-29 Page sharing method and device Active CN107885746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610868502.5A CN107885746B (en) 2016-09-29 2016-09-29 Page sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610868502.5A CN107885746B (en) 2016-09-29 2016-09-29 Page sharing method and device

Publications (2)

Publication Number Publication Date
CN107885746A CN107885746A (en) 2018-04-06
CN107885746B true CN107885746B (en) 2023-08-11

Family

ID=61768830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610868502.5A Active CN107885746B (en) 2016-09-29 2016-09-29 Page sharing method and device

Country Status (1)

Country Link
CN (1) CN107885746B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190068A (en) * 2018-07-12 2019-01-11 北京猫眼文化传媒有限公司 A kind of data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694830A (en) * 2011-03-24 2012-09-26 腾讯科技(深圳)有限公司 Method, system and apparatus for realizing network content sharing
CN104065632A (en) * 2013-04-08 2014-09-24 腾讯科技(深圳)有限公司 Shared-content processing method, server, client and system
CN104424212A (en) * 2013-08-22 2015-03-18 华为终端有限公司 Method and device for sharing media content and method and device for display media content
CN105787030A (en) * 2016-02-25 2016-07-20 努比亚技术有限公司 Mobile terminal and data processing method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10649607B2 (en) * 2012-12-28 2020-05-12 Facebook, Inc. Re-ranking story content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694830A (en) * 2011-03-24 2012-09-26 腾讯科技(深圳)有限公司 Method, system and apparatus for realizing network content sharing
CN104065632A (en) * 2013-04-08 2014-09-24 腾讯科技(深圳)有限公司 Shared-content processing method, server, client and system
CN104424212A (en) * 2013-08-22 2015-03-18 华为终端有限公司 Method and device for sharing media content and method and device for display media content
CN105787030A (en) * 2016-02-25 2016-07-20 努比亚技术有限公司 Mobile terminal and data processing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种垂直页面分割与信息提取方法的研究;李军;陈君;王玲芳;倪宏;;计算机应用研究(03);全文 *

Also Published As

Publication number Publication date
CN107885746A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN108932253B (en) Multimedia search result display method and device
CN107948708B (en) Bullet screen display method and device
RU2640632C2 (en) Method and device for delivery of information
CN106201734B (en) File sharing method and device
CN106126025B (en) Interactive method and device for copying and pasting
US9959487B2 (en) Method and device for adding font
CN110704647B (en) Content processing method and device
CN107122430B (en) Search result display method and device
CN108495168B (en) Bullet screen information display method and device
CN110234030B (en) Bullet screen information display method and device
CN106375178B (en) Message display method and device based on instant messaging
CN106547850B (en) Expression annotation method and device
CN106331328B (en) Information prompting method and device
CN109246094B (en) User terminal verification method, device and storage medium
CN104268611A (en) Webpage synchronizing method and device
CN109992754B (en) Document processing method and device
CN106447747B (en) Image processing method and device
CN107885746B (en) Page sharing method and device
CN110460873B (en) Method and device for generating video on demand
CN109150901B (en) Information source prompting method and device, electronic equipment and storage medium
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
CN114025317B (en) Method, device, server, terminal and storage medium for spreading multimedia resources
US20210266273A1 (en) Message Display Method and Terminal
US11496787B2 (en) Information processing method and device, electronic device, and storage medium
CN111131000B (en) Information transmission method, device, server and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant