CN111133430A - Content sharing method and device - Google Patents

Content sharing method and device Download PDF

Info

Publication number
CN111133430A
CN111133430A CN201780095127.8A CN201780095127A CN111133430A CN 111133430 A CN111133430 A CN 111133430A CN 201780095127 A CN201780095127 A CN 201780095127A CN 111133430 A CN111133430 A CN 111133430A
Authority
CN
China
Prior art keywords
content
mark
document
displaying
webpage
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.)
Granted
Application number
CN201780095127.8A
Other languages
Chinese (zh)
Other versions
CN111133430B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN111133430A publication Critical patent/CN111133430A/en
Application granted granted Critical
Publication of CN111133430B publication Critical patent/CN111133430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Abstract

The embodiment of the application discloses a content sharing method and device. The content sharing method comprises the following steps: the method comprises the steps that a first electronic device displays a webpage document, a display area of the webpage document and a corresponding scroll bar area are arranged on a display screen of the first electronic device, a gesture that a user selects a part of content in the webpage document and marks the part of content is detected, a mark corresponding to the part of content is displayed on the scroll bar area in response to the gesture, the position of the mark on the scroll bar area corresponds to the position of the part of content in the webpage document, and a website of the webpage document and the position of the part of content in the webpage document are shared to a second electronic device.

Description

Content sharing method and device Technical Field
The present application relates to the field of computer applications, and in particular, to a content sharing method and apparatus.
Background
With the development of the mobile internet, various applications such as news applications, micro blogs, micro mails and the like provide latest information and knowledge for people, the applications provide a scroll bar area for browsing long text contents, the browsing position is indicated through a slider in the scroll bar area, or the slider assists in sliding operation, but the functions of the scroll bar area are still single.
Disclosure of Invention
The application provides a content sharing method and device for solving the problem that a scroll bar area in the prior art is single in function.
A first aspect provides a method of content sharing, the method comprising: the method comprises the steps that a first electronic device displays a webpage document, and a display area of the webpage document and a corresponding scroll bar area are arranged on a display screen of the first electronic device; detecting a gesture for selecting part of content in the webpage document and labeling the part of content by a user; in response to the gesture, displaying a marker corresponding to the portion of content on a scroll bar area, a location of the marker on the scroll bar area corresponding to a location of the portion of content in the web document; and sharing the website of the webpage document and the position of the part of content in the webpage document to a second electronic device. The mark of the content concerned by the user can be added on the electronic equipment, the related information can be shared to other users, and a flexible and friendly user interaction mode is provided by means of the scroll bar area.
In one possible implementation manner, the position of the partial content in the web document is the partial content and the context of the partial content, or the byte range of the partial content in the web document.
In another possible implementation manner, a mark description of the mark is displayed at a position adjacent to the mark while the mark corresponding to the part of the content is displayed on the scroll bar area; the website for sharing the webpage document and the position of the part of content in the webpage document are specifically the website for sharing the webpage document, and the position of the part of content in the webpage document and the mark description of the mark corresponding to the part of content.
In another possible implementation, the markup specification is a summary of the portion of content, or text entered by a user.
In another possible implementation manner, the method further includes saving a website of the web document and a location of the part of the content in the web document.
A second aspect provides a method of displaying web page content, the method comprising: the method comprises the steps that first electronic equipment receives a webpage address sent by second electronic equipment and the position of a first part of content in a webpage document corresponding to the webpage address in the webpage document, wherein the first part of content is part of content appointed by a user of the second electronic equipment; displaying a second part of content of the webpage document corresponding to the webpage address on a display screen of the first electronic equipment, wherein the display screen is provided with a display area of the webpage document and a corresponding scroll bar area; displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first part of content in the webpage document, and in response to detecting that the first mark is selected by a user, a third part of content of the webpage document is displayed, wherein the third part of content comprises the first part of content. By adding the marks on the scroll bar area, the user can pay attention to the contents labeled by the friends, and the convenience of information sharing is enhanced.
In one possible implementation the first portion of content is highlighted.
In another possible implementation manner, the position of the first part of content in the web document is the first part of content and the context of the first part of content, or the byte range of the first part of content in the web document.
In another possible implementation manner, the first electronic device further receives a first mark description corresponding to the first part of content sent by the second electronic device, and the first mark description is also displayed at a position adjacent to the first mark while the first mark corresponding to the first part of content is displayed on the scroll bar area.
In another possible implementation manner, recommended content is obtained, wherein the recommended content is obtained according to a keyword in currently displayed content, and the recommended content comprises recommended content display information and a recommended content link; displaying a second mark on the scroll bar area, and displaying a second mark description corresponding to the second mark at a position adjacent to the second mark, wherein the second mark description is the recommended content display information and binds the recommended content link, and the position of the second mark on the scroll bar area is the same as the position of the keyword in the currently displayed content.
In another possible implementation, the method further includes, detecting a gesture of the user scrolling the web document,
scrolling the web document, the second mark and the second mark indicating scrolling with the web document.
In another possible implementation manner, the method further includes, when it is detected that the user selects the second markup specification, displaying a web document corresponding to the recommended content link.
In another possible implementation the first indicia and the second indicia are different in appearance.
In some possible implementations the content of the web document is fixed in length.
A third aspect provides a method of displaying a list of web pages, the method comprising: displaying an updatable web page list by a first electronic device, wherein the web page list comprises a first group of list entries; automatically acquiring a new content item, wherein the new content item comprises item display information and item links; displaying a mark corresponding to a content item on a scroll bar area, and displaying a mark description at a position adjacent to the first mark, wherein the first mark description is used for displaying information for the item and binding the item link; and detecting that the user selects the mark description, and displaying the webpage document corresponding to the item link.
In another possible implementation manner, a gesture of refreshing the webpage list by a user is detected, and a second group of list items are displayed, wherein the new content items are included in the second group of list items; the first indicia and the first indicia description are not displayed.
In another possible implementation manner, a first gesture input by a user is detected, and the first gesture is a gesture which does not trigger the mark description, and then the mark description is hidden.
A fourth aspect provides an electronic device comprising a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, cause the electronic device to implement the methods of the first to third aspects described above.
A fifth aspect provides a computer-readable storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform the methods provided by the first to third aspects above.
A sixth aspect provides an apparatus for content sharing, the apparatus comprising: the display unit is used for displaying a webpage document, the display unit is provided with a display area of the webpage document and a corresponding scroll bar area, the detection unit is used for detecting a gesture for selecting a part of content in the webpage document and marking the part of content, the display unit is also used for responding to the gesture, displaying a mark corresponding to the part of content on the scroll bar area, and the position of the mark on the scroll bar area corresponds to the position of the part of content in the webpage document, and the sending unit is used for sending the website of the webpage document and the position of the part of content in the webpage document to a second electronic device.
In another possible implementation manner, the position of the partial content in the web document is the partial content and the context of the partial content, or the byte range of the partial content in the web document.
In another possible implementation manner, the display unit is further configured to display a mark description of the mark at a position adjacent to the mark while displaying the mark corresponding to the partial content on the scroll bar area; the sending unit is further configured to send a tag description of a tag corresponding to the partial content.
In another possible implementation manner, the method further includes a saving unit configured to save the web address of the web document and the location of the part of the content in the web document.
A seventh aspect provides an apparatus for displaying web content, the apparatus comprising: the receiving unit is used for receiving a webpage address sent by second electronic equipment and the position of a first part of content in a webpage document corresponding to the webpage address in the webpage document, wherein the first part of content is part of content appointed by a user of the second electronic equipment; the display unit is used for displaying the second part of content of the webpage document corresponding to the webpage address; displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first part of content in the webpage document, the detection unit is used for detecting that the first mark is selected by a user, the display unit is further used for responding to the detection that the first mark is selected by the user, and displaying a third part of content of the webpage document, wherein the third part of content comprises the first part of content.
In one possible implementation, the first portion of content is highlighted.
In another possible implementation manner, the first part of content is displayed in the middle of the third part of content.
In another possible implementation manner, the position of the first part of content in the web document is the first part of content and the context of the first part of content, or the byte range of the first part of content in the web document.
In another possible implementation manner, the receiving unit is further configured to receive a first mark description corresponding to the first part of content sent by the second electronic device, and the displaying unit is further configured to display the first mark description at a position adjacent to the first mark.
In another possible implementation manner, the system further comprises an obtaining unit, configured to obtain recommended content, where the recommended content is obtained according to a keyword in currently displayed content, and the recommended content includes recommended content display information and a recommended content link; the display unit is further configured to display a second mark on the scroll bar area, and display a second mark description corresponding to the second mark at a position adjacent to the second mark, where the second mark description is the recommended content display information and binds the recommended content link, and a position of the second mark on the scroll bar area is the same as a position of the keyword in the currently displayed content.
In another possible implementation manner, the detection unit is further configured to detect a gesture of a user scrolling the web document, and the display unit is further configured to scroll the web document in response to the gesture of scrolling the web document, where the second mark and the second mark indicate that the web document is scrolled along.
In another possible implementation, the detection unit is further configured to detect that the second markup specification is selected by a user,
the display unit is further used for displaying the webpage document corresponding to the recommended content link.
In another possible implementation, the first indicia and the second indicia are different in appearance.
An eighth aspect provides an apparatus for displaying a list of web pages, the apparatus comprising: the display unit is used for displaying an updatable webpage list, and the webpage list comprises a first group of list entries; the acquisition unit is used for automatically acquiring a new content item, and the new content item comprises item display information and item links; the display unit is further used for displaying a mark corresponding to a content item on a scroll bar area, displaying a mark description at a position adjacent to the first mark, wherein the first mark description is used for displaying information for the item and binding the item link; the detection unit is used for detecting that the user selects the mark description, and the display unit is also used for responding to the detection that the user selects the mark description and displaying the webpage document corresponding to the item link.
In another possible implementation manner, the detecting unit is further configured to detect a gesture of refreshing the web page list by a user, and the displaying unit is further configured to display a second group of list entries, where the second group of list entries includes the new content entry; the first indicia and the first indicia description are not displayed.
In another possible implementation manner, the detection unit is further configured to detect a first gesture input by a user, the first gesture being a gesture that does not trigger the markup specification, and the display unit is further configured to hide the markup specification in response to the first gesture.
A ninth aspect provides a Graphical User Interface (GUI) stored in an electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the GUI comprising: displaying a webpage document, wherein a display area of the webpage document and a corresponding scroll bar area are arranged on the graphical user interface, in response to the detection that a user selects a part of content in the webpage document and a gesture for marking the part of content, a mark corresponding to the part of content is displayed on the scroll bar area, the position of the mark on the scroll bar area corresponds to the position of the part of content in the webpage document, and in response to the detection that the user selects a sharing operation, options for sharing the website of the webpage document and the position of the part of content in the webpage document to a second electronic device are displayed.
In another possible implementation manner, a mark description of the mark is displayed at a position adjacent to the mark while the mark corresponding to the part of the content is displayed on the scroll bar area.
In another possible implementation, the markup specification is a summary of the portion of content, or text entered by a user.
A tenth aspect provides a graphical user interface stored in an electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising: displaying sharing information sent by second electronic equipment, wherein the sharing information comprises a webpage address, the sharing information binds the position of a first part of content in a webpage document corresponding to the webpage address, and the first part of content is part of content appointed by a user of the second electronic equipment; displaying a second part of content of the webpage document corresponding to the webpage address; displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first part of content in the webpage document, and in response to detecting that the first mark is selected by a user, a third part of content of the webpage document is displayed, wherein the third part of content comprises the first part of content.
In another possible implementation, the first portion of content is highlighted.
In another possible implementation manner, the first mark description is also displayed at a position adjacent to the first mark while the first mark corresponding to the first part of content is displayed on the scroll bar area.
In another possible implementation manner, a second mark is displayed on the scroll bar area, a second mark description corresponding to the second mark is displayed at a position adjacent to the second mark, the second mark indicates that recommended content is obtained, the recommended content is obtained according to a keyword in currently displayed content, the recommended content includes recommended content display information and a recommended content link, the second mark description is the recommended content display information and the recommended content link is bound, and a position of the second mark on the scroll bar area is the same as a position of the keyword in the currently displayed content.
In another possible implementation manner, the method further includes, in response to detecting a gesture of the user for scrolling the web document, wherein the second mark and the second mark indicate that the web document is scrolled.
In another possible implementation, the first indicia and the second indicia are different in appearance.
An eleventh aspect provides a graphical user interface stored in an electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising: displaying an updateable web page list, the web page list including a first set of list entries thereon; automatically acquiring a new content item, wherein the new content item comprises item display information and item links; displaying a mark corresponding to a content item on a scroll bar area, and displaying a mark description at a position adjacent to the first mark, wherein the mark indicates that a new content item is obtained, the new content item comprises item display information and an item link, and the first mark description is the item display information and binds the item link; and in response to detecting that the user selects the mark description, displaying the webpage document corresponding to the item link.
In another possible implementation, the graphical user interface further includes, in response to detecting a user gesture to refresh the web page list, displaying a second set of list entries, the second set of list entries including the new content entry; the first indicia and the first indicia description are not displayed.
A twelfth aspect provides a method of content tagging, the method comprising: the method comprises the steps that a first electronic device displays a webpage document, a display area of the webpage document and a corresponding scroll bar area are arranged on a display screen of the first electronic device, a gesture that a user selects a part of content in the webpage document and marks the part of content is detected, a mark corresponding to the part of content is displayed on the scroll bar area in response to the gesture, the position of the mark on the scroll bar area corresponds to the position of the part of content in the webpage document, and the website of the webpage document and the position of the part of content in the webpage document are saved. When the situation that the user opens the webpage document again is detected, displaying a first part of content of the webpage document corresponding to the webpage address, wherein the display screen is provided with a display area of the webpage document and a corresponding scroll bar area; displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the part of the content selected by the user in the webpage document, and in response to detecting that the first mark is selected by the user, a second part of the content of the webpage document is displayed, wherein the second part of the content comprises the part of the content selected by the user. By adding marks on the scroll bar area, important contents are marked while the user collects the webpage.
In some possible implementations, the indicia are graphical symbols.
In some possible implementations, the indication is automatically hidden after displaying for a preset time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present application.
FIG. 1 shows a block diagram of an electronic device and a network according to various embodiments of the present application;
FIG. 2 illustrates a block diagram of an electronic device, in accordance with various embodiments;
FIG. 3 illustrates a block diagram of program modules, in accordance with various embodiments;
FIG. 4 illustrates an exemplary diagram of a process flow of an embodiment of the present application;
FIGS. 5a and 5b show exemplary diagrams of web documents in embodiments of the present application;
FIG. 6 is an exemplary diagram of a web document, a display interface, and a scroll bar in an embodiment of the present application;
FIGS. 7a, 7b, 7c, and 7d are exemplary diagrams illustrating a user interface for annotation by a user in an embodiment of the present application;
8a, 8b, and 8c illustrate exemplary diagrams of user interfaces of favorites in embodiments of the present application;
FIG. 9 illustrates an exemplary diagram of a user interface for sharing operations in an embodiment of the present application;
FIG. 10 is an exemplary diagram illustrating a user interface for receiving shared information in an embodiment of the present application;
FIG. 11 is an exemplary diagram illustrating a method flow according to an embodiment of the present application;
12a, 12b, and 12c are exemplary diagrams illustrating a user interface for opening a received shared web address in an embodiment of the application;
FIG. 13 illustrates an exemplary schematic diagram of a flow of a three-way method according to an embodiment of the application;
FIG. 14 is an exemplary diagram of a user interface corresponding to the third embodiment of the method of the present application;
15a, 15b and 15c show exemplary diagrams of another user interface corresponding to method embodiment III of the present application;
FIG. 16 is an exemplary diagram illustrating a user interface after refreshing list entries in an embodiment of the present application;
FIG. 17 shows an exemplary schematic diagram of a method flow of a fourth method embodiment of the present application;
18a and 18b show exemplary diagrams of user interfaces corresponding to a fourth embodiment of the method of the present application;
FIG. 19 shows an exemplary diagram of a user interface displaying a user-defined tag and a tag recommending content at the same time in an embodiment of the present application;
FIGS. 20a and 20b show exemplary schematic diagrams of a user interface of a markup specification in an embodiment of the present application;
FIG. 21 shows an exemplary schematic diagram of an apparatus according to an embodiment of the present application;
FIG. 22 shows an exemplary schematic of another apparatus of an embodiment of the present application;
fig. 23 shows an exemplary schematic diagram of another apparatus of an embodiment of the present application.
Detailed Description
Those skilled in the art will understand that the principles of the present application may be implemented in any suitably arranged electronic device. Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. It should be understood, however, that there is no intention to limit the application to the specific forms disclosed; on the contrary, the intention is to cover all modifications, equivalents, and/or alternatives to the embodiments of the disclosure. In describing the drawings, like reference numerals may be used to designate like constituent elements.
As used herein, the expressions "having," "may have," "include," or "may include" mean that a corresponding feature (e.g., a number, function, operation, or constituent element such as a component) is present, but do not preclude one or more additional features.
In the present application, the expression "a or B", "at least one of a or/and B" or "one or more of a or/and B" may include all possible combinations of the listed items. For example, the expression "a or B", "at least one of a and B" or "at least one of a or B" means all of the following: (1) comprises at least one A, (2) comprises at least one B, or (3) comprises both at least one A and at least one B.
The expressions "first", "second", "said first" or "said second" used in various embodiments of the present application may modify various components without regard to order and/or degree of importance, and do not limit the corresponding components. For example, the first user equipment and the second user equipment are indicating different user equipments, but both are user equipments. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present application.
It will be understood that when an element (e.g., a first element) is referred to as being (operatively or communicatively) "connected" or "coupled" to another element (e.g., a second element), it can be directly connected or directly coupled to the other element or any other element (e.g., a third element) can be interposed therebetween. In contrast, it will be understood that when an element (e.g., a first element) is referred to as being "directly connected" or "directly coupled" to another element (e.g., a second element), there is no element (e.g., a third element) interposed therebetween.
The expression "configured to" for the purposes of this application is interchangeable as the case may be with, for example, "adapted to", "having … … capability", "designed to", "adapted to", "manufactured to" or "capable". The term "configured to" does not necessarily imply "specifically designed to" in hardware. Alternatively, in some cases, the expression "a device is configured to" may mean that the device is "capable" along with other devices or components. For example, the phrase "a processor adapted (or configured) to perform A, B and C" may represent a dedicated processor (e.g., an embedded processor) for performing the corresponding operations only, or a general-purpose processor (e.g., a Central Processing Unit (CPU) or an Application Processor (AP)) that may perform the corresponding operations by executing one or more software programs stored in a storage device.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of other embodiments. Singular expressions may include plural expressions unless they are clearly different in the context. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Such terms (as those defined in commonly used dictionaries) should be interpreted as having a meaning that is equivalent to the context in the relevant art and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined herein. In some cases, even terms defined herein should not be construed to exclude embodiments of the present application.
An electronic device according to an embodiment of the present application may include at least one of: a smart phone, a tablet Personal Computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), an MPEG-1 Audio layer-3 (MP3) player, a mobile medical device, a camera, or a wearable device. According to embodiments, the wearable device may comprise at least one of an accessory type (e.g., watch, bracelet, anklet, necklace, glasses, contact lens, or Head Mounted Device (HMD)), an integrated with fabric or clothing type (e.g., electronic clothing), a body worn type (e.g., brace or tattoo), or a bioimplantation type (e.g., implantable circuitry).
According to some embodiments, the electronic device may be a household appliance. The household appliance may comprise, for example, at least one of: a television, a Digital Video Disc (DVD) player, an audio device, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, a home automation panel, a security control panel, a TV box (for example,
Figure PCTCN2017104613-APPB-000001
or
Figure PCTCN2017104613-APPB-000002
) A gaming machine (e.g.,
Figure PCTCN2017104613-APPB-000003
and
Figure PCTCN2017104613-APPB-000004
) An electronic dictionary, an electronic key, a camcorder or an electronic photo frame.
Hereinafter, an electronic apparatus according to embodiments of the present application will be described with reference to the drawings. As used herein, the term "user" may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
An electronic device 101 located within a network environment 100 according to various embodiments will be described with reference to fig. 1. Electronic device 101 may include bus 110, processor 120, memory 130, input/output interface 150, display 160, and communication interface 170. In some implementations, the electronic device 101 may omit at least one of the above elements, or may further include other elements.
Bus 110 may include, for example, circuitry to interconnect components 110-170 and to deliver communications (e.g., control messages and/or data).
The processor 120 may include one or more of a Central Processing Unit (CPU), an Application Processor (AP), and/or a Communication Processor (CP). For example, the processor 120 may perform operations or data processing related to control and/or communication of at least another element of the electronic device 101.
The memory 130 may include volatile memory and/or nonvolatile memory. Memory 130 may store, for example, instructions or data related to at least another element of electronic device 101. According to one embodiment, the memory 130 may store software and/or programs. The programs may include a kernel 141, middleware 143, an application programming interface API145, and/or application programs (or "applications") 147. At least some of the kernel 141, the middleware 143, and the API145 may be referred to as an Operating System (OS).
The kernel 141 may control or manage, for example, system resources (e.g., the bus 110, the processor 120, and the memory 130) for performing operations or functions implemented in other programs (e.g., the middleware 143, the API145, and the application program 147). In addition, kernel 141 can provide an interface through which middleware 143, API145, or application 147 can access individual elements of electronic device 101 to control or manage system resources.
For example, middleware 143 can act as an intermediary to allow an API145 or application 147 to communicate with kernel 141 to exchange data.
The middleware 143 can process one or more task requests received from the application 147 according to the priority of the task requests. For example, middleware 143 can assign a priority to at least one of applications 147 for using system resources (e.g., bus 110, processor 120, memory 130, etc.) of electronic device 101. For example, the middleware 143 can perform scheduling or load balancing on one or more task requests by processing the one or more task requests according to the priorities assigned to the task requests.
The API145 is an interface by which the application 147 controls functions provided from the kernel 141 or the middleware 143, and may include at least one interface or function (e.g., an instruction) for file control, window control, image processing, or text control, for example.
The input/output interface 150 may serve as an interface that can transmit, for example, instructions or data input from a user or another external device to another (other) element of the electronic device 101. Further, the input/output interface 150 may output instructions or data received from another (other) element of the electronic device 101 to a user or another external device.
The display 160 may include, for example, a liquid crystal display (IXD), a Light Emitting Diode (LED) display, an Organic Light Emitting Diode (OLED) display, a Micro Electro Mechanical System (MEMS) display, and an electronic paper display. The display 160 may display various types of content (e.g., text, images, video, icons, or symbols), for example, to a user. The display 160 may include a touch screen and receive touch, gesture, proximity, or hover inputs, for example, using an electronic pen or a user body part.
The communication interface 170 may, for example, establish communication between the electronic device 101 and an external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106). For example, the communication interface 170 may connect to the network 162 via wireless or wired communication to communicate with an external device (e.g., the second external electronic device 104 or the server 106).
The wireless communication may use, for example, at least one of the following as a cellular communication protocol: for example, Long Term Evolution (LTE), LTE-advanced (LTE-a), Code Division Multiple Access (CDMA), wideband CDMA (wcdma), Universal Mobile Telecommunications System (UMTS), wireless broadband (WiBro), and global system for mobile communications (GSM), among others. Additionally, the wireless communication may include, for example, short-range communication 164. The short-range communication 164 may include at least one of: such as, for example, Wi-Fi,
Figure PCTCN2017104613-APPB-000005
near Field Communication (NFC) and global satellite navigation system (GPS). The wired communication may include at least one of: for example, a Universal Serial Bus (USB), high definition multimedia interface(HDMI), recommended standard 232(RS-232), and Plain Old Telephone Service (POTS). The network 162 may include at least one of a communication network, such as a computer network (e.g., a LAN or WAN), the internet, and a telephone network.
The first external electronic device 102 and the second external electronic device 104 may be the same or different types of devices as the electronic device 101. According to one embodiment, server 106 may include a group of one or more servers. According to various embodiments, all or some of the operations performed in electronic device 101 may be performed in another electronic device or devices (e.g., electronic devices 102 or 104 or server 106). According to one embodiment, when the electronic device 101 must perform a function or service automatically or in response to a request, the electronic device 101 may request another device (e.g., the electronic device 102 or 104 or a server) to perform at least some of the functions related to the function or service, rather than autonomously or otherwise performing the function or service. Another electronic device (e.g., electronic device 102 or 104 or server 106) may perform the requested function or another function and may deliver the results of the execution to electronic device 101. The electronic device 101 may process the received results as they are or, alternatively, process the results and provide the requested function or service. For this purpose, for example, cloud computing, distributed computing, or client-server computing techniques may be used.
The electronic device 101 may include a motion sensor 190 that is electrically connected to the processor 120 and that acquires motion information of the electronic device 120. The motion sensor 190 may include at least one of: a linear acceleration sensor, a gyro sensor, and a geomagnetic sensor, which may sense linear acceleration, rotational angular acceleration, or orientation information of the electronic device. The electronic device 101 may acquire motion information of the electronic device 101 based on the output value from the sensor. For example, the electronic apparatus 101 may acquire the linear acceleration of the electronic apparatus 101 based on the output value from the linear acceleration sensor. The electronic apparatus 101 can acquire the rotational angular acceleration of the electronic apparatus 101 based on the output value from the gyro sensor. The electronic apparatus 101 may acquire motion orientation information about the electronic apparatus 101 based on the output value from each of the gyro sensor and the geomagnetic sensor.
According to embodiments of the present application, the processor 120 may be electrically connected to the display 160. Additionally, the processor 120 may be electrically connected to the memory 130. The memory 130 may store instructions to instruct the processor 120 to perform inertial force correction to remove an inertial force component from the acquired motion information and display a screen corresponding to the inertial force corrected motion information.
According to embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to obtain the inertial force component.
According to embodiments of the present application, the communication module 170 may receive an inertial force component from another electronic device physically separated from the electronic device and sense the inertial force component.
According to embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to generate a correction vector by adding an inverse vector of inertial acceleration corresponding to the inertial force to an acceleration corresponding to the motion information; and controls the display 160 to display a screen corresponding to the generated correction vector.
According to various embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to obtain a biometric signal from at least one user body part that generates the biometric signal when the user moves the electronic device; and removing an inertial force component corresponding to motion information acquired when the biometric signal is not acquired. The electronic device 101 may further include a sensor that may acquire a biometric signal and the processor 120 may acquire the biometric signal from the biometric signal sensor.
According to various embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to determine whether the motion information is included in a preset range; and removing an inertia force component corresponding to the motion information outside the preset range.
According to various embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to obtain orientation information of the electronic device 101; and removing an inertial force component corresponding to the motion information acquired without changing the orientation information.
According to embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to remove an inertial force component corresponding to a linear component of the motion information.
According to embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to display a screen according to a rotational component of the motion information.
The electronic device 101 may further include a camera module (not shown) that captures a plurality of images of an environment external to the electronic device and outputs the plurality of images to the processor. According to embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to remove an inertial force component corresponding to motion information acquired while neighboring images of the plurality of images are unchanged.
According to various embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to obtain electronic device motion information based on a difference between adjacent images of the plurality of images; and controlling the display to display a screen corresponding to the acquired motion information.
According to various embodiments of the present application, the memory 130 may further store instructions to, when executed, instruct the processor 120 to obtain electronic device motion information based on a relative position of the electronic device with respect to another electronic device; and controlling the display to display a screen corresponding to the acquired motion information.
Fig. 2 shows a block diagram of an electronic device 201 according to various embodiments. The electronic device 201 may comprise, for example, all or part of the electronic device 101 shown in fig. 1. Electronic device 201 may include at least one Application Processor (AP)210, a communication interface 220, a subscriber identity module 224, a memory 230, a sensor module 240, an input device 250, a display 260, an interface 270, an audio interface 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298.
The processor 210 may drive, for example, an operating system or an application program to control a number of hardware or software elements connected thereto, and perform various types of data processing and operations. Processor 210 may be implemented by, for example, a system on a chip (SoC). According to one embodiment, the processor 210 may further include a graphics processing unit (CPU) and/or an image signal processor. The processor 210 may also include at least some of the elements shown in fig. 2 (e.g., cellular module 221). The processor 210 may load instructions or data received from at least one of the other elements (e.g., the non-volatile memory) in the volatile memory to process the loaded instructions or data, and may store various types of data in the non-volatile memory.
The communication module 220 may have a configuration identical or similar to the communication interface 170 of fig. 1. The communication module 220 may include, for example, a cellular module 221, a Wi-Fi module 223, a bluetooth (bt) module 225, a GPS module 227, an NFC module 228, and a Radio Frequency (RF) module 229.
The cellular interface 221 may provide voice calls, video calls, text messaging services, or internet services over, for example, a communication network. According to one embodiment, the cellular module 221 may use a subscriber identity module 224 (e.g., a SIM card) to distinguish and authenticate the electronic device 201 within the communication network. According to one embodiment, the cellular module 221 may perform at least some of the functions that may be provided by the processor 210. According to one embodiment of the present application, the cellular module 221 may include a Communication Processor (CP).
Each of the Wi-Fi module 223, the BT module 225, the GPS module 227, and the NFC module 228 may include, for example, a processor for processing data transmitted/received through the corresponding module. According to some embodiments, at least some (two or more) of the cellular module 221, the Wi-Fi module 223, the BT module 225, the GPS module 227, and the NFC module 228 may be included in one Integrated Chip (IC) or IC package.
The RF module 229 may transmit/receive, for example, communication signals (e.g., RF signals). The RF module 229 may include, for example, a transceiver, a Power Amplification Module (PAM), a frequency filter, a Low Noise Amplifier (LNA), or an antenna. According to another embodiment of the present application, at least one of the cellular module 221, the Wi-Fi module 223, the BT module 225, the GPS module 227, and the NFC module 228 may transmit/receive an RF signal through a separate RF module.
Subscriber identity module 224 may comprise, for example, a card having a Subscriber Identity Module (SIM) and/or an embedded SIM, and contains unique identification information (e.g., an Integrated Circuit Card Identifier (ICCID)) or subscriber information (e.g., an International Mobile Subscriber Identity (IMSI)).
Memory 230 (e.g., memory 130) may include, for example, internal memory 232 or external memory 234. The memory 232 may include, for example, at least one of volatile memory (e.g., Dynamic Random Access Memory (DRAM), static ram (sram), synchronous dynamic ram (sdram), etc.) and non-volatile memory (e.g., one-time programmable read only memory (OTPROM), programmable ROM (prom), erasable programmable ROM (eprom), electrically erasable programmable ROM (EEPR0M), mask ROM, flash memory (e.g., NAND flash memory or NOR flash memory), a hard disk drive, or a Solid State Drive (SSD)).
The external memory 234 may further include a flash memory drive, such as Compact Flash (CF), Secure Digital (SD), Micro secure digital (Micro-SD), Mini secure digital (Mini-SD), multi-media card (MMC), memory stick, and the like. The external memory 234 may be functionally and/or physically connected to the electronic device 201 through various interfaces.
The sensor module 240 may measure a physical quantity or detect an operation state of the electronic device 201, and may convert the measured or detected information into an electrical signal. The sensor module 240 may include, for example, at least one of: an attitude sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, a proximity sensor 240G, a color sensor 240H (e.g., red, green, and blue (RGB) sensors), a biometric sensor 2401, a temperature/humidity sensor 240J, a light sensor 240K, and an Ultraviolet (UV) sensor 240M. Additionally or alternatively, the sensor module 240 may include, for example, an electronic nose sensor, an Electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an Electrocardiogram (ECG) sensor, an Infrared (IR) sensor, an IRIS sensor, and/or a fingerprint sensor. The sensor module 240 may further include control circuitry for controlling at least one sensor included therein. In some embodiments, the electronic device 201 may further include a processor configured to control the sensor module 240, either as part of the processor 210 or independently of the processor 210, so as to control the sensor module 240 when the processor 210 is in a sleep state.
The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or a fingerprint sensor 258. The touch panel 252 may use, for example, at least one of a capacitance type, a resistance type, an infrared type, and an ultrasonic type. In addition, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user.
The (digital) pen sensor 254 may comprise a recognition pad, for example, as part of or separate from the touch panel. The keys 256 may include, for example, physical buttons, optical keys, or a keypad. The fingerprint sensor 258 may detect fingerprint data.
Display 260 (e.g., display 160) may include a panel 262, a holographic device 264, or a projector 266. The panel 262 may include the same or similar configuration as the configuration of the display 160 shown in fig. 1. The panel 262 may be implemented, for example, flexible, transparent, or wearable. The panel 262 and the touch panel 252 may be implemented as one module. The holographic device 264 may display a three-dimensional image in the air by using light interference. The projector 266 may project light onto a screen to display an image. The screen may be located, for example, inside or outside the electronic device 201. According to one embodiment, the display 260 may further include control circuitry for controlling the panel 262, the holographic device 264, or the projector 266.
The interface 270 may include, for example, a high-definition multimedia interface (HDMI)272, a Universal Serial Bus (USB)274, an optical module 276. Interface 270 may be included in, for example, communication interface 170 in fig. 1. Additionally or alternatively, interface 270 may include, for example, a mobile high definition link (MHL) interface, a Secure Digital (SD) card/multimedia card (MMC) interface, or an infrared data association (IrDA) standard interface.
The audio module 280 may convert, for example, sound and electrical signals bi-directionally. At least some of the elements of audio module 280 may be included in, for example, input/output interface 145 of fig. 1. The audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, and the like.
According to one embodiment, the camera module 291 capable of taking still images and moving images may include one or more image sensors (e.g., a front sensor or a rear sensor), lenses, Image Signal Processors (ISPs), or flash lamps (e.g., LEDs, xenon lamps, etc.).
The power management module 295 may manage, for example, the power of the electronic device 201. According to one embodiment, the power management module 295 may include a Power Management Integrated Circuit (PMIC), a charger 1C, or a battery gauge. The PMIC may use wired and/or wireless charging methods. Examples of the wireless charging method may include, for example, a magnetic resonance method, a magnetic induction method, an electromagnetic method, and the like. Additional circuitry for wireless charging (e.g., coil loops, resonant circuits, rectifiers, etc.) may be further included. The battery gauge may measure, for example, the remaining charge of the battery 296, as well as the voltage, current, or temperature during charging. The battery 296 may include, for example, a rechargeable battery and/or a solar cell.
The indicator 297 may display a particular state of the electronic device 201 or a portion of the electronic device 201 (e.g., the processor 210), such as a startup state, a message state, a charge state. The motor 298 may convert the electrical signal into mechanical vibrations and may generate a vibration effect or a haptic effect. Although not shown, the electronic device 201 may include a processing unit (e.g., GPU) for supporting mobile Television (TV). The processing unit for supporting mobile TV may process media data according to standards such as Digital Multimedia Broadcasting (DMB), Digital Video Broadcasting (DVB), etc.
Each of the above-described component elements of hardware according to the present application may be configured with one or more components, and the corresponding component element names may vary based on the electronic device type. An electronic device according to embodiments of the present application may include at least one of the above elements. Some elements may be omitted or other additional elements may be further included in the electronic device. In addition, some of the hardware components according to the embodiments may be combined into one entity that can perform the same function as the function of the relevant component before combination.
FIG. 3 illustrates a block diagram of program modules according to various embodiments of the present application. According to one embodiment, program modules 310 (e.g., programs) may include an operating system (0S) for controlling resources associated with an electronic device (e.g., electronic device 101) and/or various applications (e.g., application programs 147) executing within the operating system. The operating system may be, for example
Figure PCTCN2017104613-APPB-000006
Samsung
Figure PCTCN2017104613-APPB-000007
And the like.
Program modules 310 may include a kernel 320, middleware 330, an Application Programming Interface (API)360, and/or applications 370. At least some of the program modules 310 may be pre-loaded on the electronic device or may be downloaded from an external electronic device (e.g., electronic device 102 or 104, or server 106).
Memory 320 (e.g., memory 141) may include, for example, a system resource manager 321 and/or a device driver 323. The system resource manager 321 may control, allocate, or collect system resources. According to one embodiment, the system resource manager 321 may include a process manager, a memory manager, or a file system manager. The device drivers 323 may include, for example, a display driver, a camera driver, a bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a Wi-Fi driver, an audio driver, or an inter-process communication (IPC) driver.
The middleware 330 may provide functions commonly required by the applications 370, or provide various functions to the applications 370 through the API360, so that the applications 370 can efficiently use limited system resources within the electronic device. According to one embodiment, middleware 330 (e.g., middleware 143) may include, for example, at least one of a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, a database manager 346, a package manager 347, a connectivity manager 348, a notification manager 349, a location manager 350, a graphics manager 351, and a security manager 352.
Runtime libraries 335 may include library modules that are used by the compiler to add new functionality through the programming language when application 370 executes. Runtime library 335 may perform input/output management, memory management, or functions for arithmetic functions.
The application manager 341 may, for example, manage a life cycle of at least one of the applications 370. The window manager 342 may manage Graphical User Interface (GUI) resources used on the screen. The multimedia manager 343 can recognize formats required for reproducing various media files and encode or decode the media files using codes suitable for the corresponding formats. The resource manager 344 may manage resources, such as source code, memory, or storage space, of at least one of the applications 370.
The power manager 345 may operate with, for example, a basic input/output system (BIOS) to manage battery or power, and may provide power information needed for operation of the electronic device. The database manager 346 can generate, search, or change a database to be used for at least one of the applications 370. The software package manager 347 may manage installation or update of applications distributed in the form of software package files.
The connectivity manager 348 may manage wireless connections, e.g., Wi-Fi or BT. The notification manager 349 may display or notify a user of events, such as arrival messages, scheduling, proximity notifications, and the like, in a manner that does not disturb the user. The location manager 350 may manage electronic device location information. The graphic manager 351 may manage graphic effects provided to the user and user interfaces related to the graphic effects. The security manager 352 may provide all security functions required for system security or user authentication. According to one embodiment, when an electronic device (e.g., electronic device 101) has a phone call function, middleware 330 may further include a phone manager for managing a voice call function or a video call function of the electronic device.
Middleware 330 may include middleware modules that form a combination of the various functions of the above elements. The middleware 330 may provide a dedicated module according to the type of the operating system in order to provide different functions. Further, middleware 330 may dynamically remove some of the existing elements, or may add new elements.
The API360 (e.g., API145) is, for example, an API programming function set, and may be configured differently depending on the OS. For example, in
Figure PCTCN2017104613-APPB-000008
Or
Figure PCTCN2017104613-APPB-000009
In this case, an API set may be provided for each platform
Figure PCTCN2017104613-APPB-000010
In this case, two or more API sets may be provided for each platform.
The applications 370 (e.g., application program 147) may include, for example, one or more applications capable of performing functions such as home key 371, dialer 372, Short Message Service (SMS)/Multimedia Message Service (MMS)373, Instant Message (IM)374, browser 375, camera 376, alarm clock 377, address book 378, voice dialer 379, email 380, calendar 381, media player 382, photo album 383, clock 384, healthcare (e.g., measuring amount of motion or blood glucose) or environmental information (e.g., barometric pressure, humidity, temperature information, etc.).
According to one embodiment, the applications 370 may include an application (hereinafter referred to as an "information exchange application" for convenience of description) that supports information exchange between an electronic device (e.g., the electronic device 101) and an external electronic device (e.g., the electronic device 102 or 104). The applications associated with the information exchange may include, for example, a notification relay application for communicating specific information to the external electronic device or a device management application for managing the external electronic device.
For example, the notification relay application may include the following functions: notification information generated from other applications of electronic device 101 (e.g., an SMS/MMS application, an email application, a healthcare application, or an environmental information application) is transmitted to an external electronic device (e.g., electronic device 102 or 104). Further, the notification relay application may, for example, receive notification information from an external electronic device and provide the received notification information to the user.
The device management application may manage (e.g., install, delete, or update) at least one function (e.g., a function of turning on/off the external electronic device itself (or some element thereof), or a function of adjusting the illuminance (or resolution) of the display) in an external electronic device (e.g., the electronic device 102 or 104, or the server 106) that communicates with the electronic device, an application running in the external electronic device, or a service (e.g., a call service or a message service) provided by the external electronic device.
According to one embodiment, the applications 370 may include applications specified according to attributes of the external electronic device 102 or 104 (e.g., healthcare applications on ambulatory medical appliances, etc.). According to one embodiment, the applications 370 may include applications received from an external electronic device (e.g., the server 106, or the electronic device 102 or 104). According to one embodiment, the applications 370 may include pre-loaded applications or third party applications that may be downloaded from a server. According to the above-described embodiment of the present application, names of elements of the program module 310 may be changed according to the OS type.
According to an example embodiment of the present application, at least some of program modules 310 may be implemented in software, firmware, hardware, or a combination of two or more of the above. At least some of the program modules 310 may be implemented (e.g., executed) by, for example, a processor (e.g., processor 210). At least some of program modules 310 may include, for example, a module, a program, a routine, a set of instructions, and/or a process for performing one or more functions.
The methods in the following embodiments may be implemented in an electronic device having the above-described hardware structure and software architecture.
Fig. 4 is a schematic flowchart illustrating a process of adding a mark according to a first embodiment of the present application, where the electronic device is a mobile phone with a touch screen,
step 401, the mobile phone displays the webpage document.
The user browses a web document on the network through a browser on the mobile phone or a news application and the like. The web page document is a web page, and the content of the web page document can comprise one or more of characters, pictures and lists. The web document has fixed and unchangeable content, that is, at least a part of the content in the web document is fixed and unchangeable, for example, the byte number of the at least a part of the content is fixed. Like the web document in fig. 5a, the byte number and layout of the whole document are fixed. As shown in fig. 5b, in the headline news application, the news headlines and news content are fixed, but different users can comment on the news, so the comment causes the length of the whole web page document to change. The display area of the display screen is provided with a display area of the webpage document and a scroll bar area, when the webpage document has a larger size than the display area of the webpage document, the processor can respond to the upward or downward sliding of the user on the touch screen to control the webpage document to scroll upwards or downwards, and correspondingly, the slider on the scroll bar area responds to the sliding operation to correspondingly move on the scroll bar area. The scroll bar region may be transparent, and the user may not be able to observe the boundary between the scroll bar region and the display content of the web document, but the user may recognize the scroll bar region through the sliding trajectory of the slider.
In step 402, the mobile phone receives a portion of content of the web document selected by the user.
The user may select a portion of the content of the web document by sliding on the touch screen.
Step 403, displaying a plurality of operation options on the web document corresponding to the selection of the user, where the plurality of operation options include annotations, and understandably, the plurality of operation options may further include: copy, share, etc.
Step 404, receiving a user selection of a marking operation option.
Step 405, displaying a mark corresponding to the part of the content on a scroll bar area, wherein the position of the mark on the scroll bar area corresponds to the position of the part of the content on the webpage document.
Optionally, highlighting the portion of content on the web document.
The indicia is a graphical symbol, such as a dot, circle, triangle, etc., on the scroll bar area.
Optionally, a label description corresponding to the label may also be added. The label description is the content that the user can edit, or the preset content is adopted, for example, the label description is sequentially the comment 1, the comment 2 … … or the summary of the part of the content selected by the user according to the marked sequence. The markup specification may be displayed on the web document in a semi-transparent manner all the time, or may be displayed upon detecting a user selection of the markup.
Step 406, associating and saving the website address of the web page document and the position of the part of content in the web page document, optionally, also saving a mark description of the part of content corresponding to the mark, or part of content, etc. The stored information is stored in the memory of the handset. Fig. 6 shows the correspondence between the position of content in the web page text and the position of the slider and the position of the mark on the scroll bar area, the length of the web page document 610 is longer than the content 611 displayed on the display, the length of the entire web page document 610 is mapped to the length of the scroll bar area 601, the position of the displayed content 611 on the web page document 610 corresponds to the position of the slider 614 on the scroll bar area 601, and the position of the part of the content 612 selected by the user on the web page document 610 corresponds to the position of the mark 613 on the scroll bar area 601. It is understood that the ratio of the length of the slider 614 to the length of the scroll bar area is equal to the length of the displayed content 611 to the length of the entire web document 610, and the positions of the two ends of the slider 614 correspond to the positions of the first line and the last line of the displayed content 612 in the web document 610, respectively; or the slider 614 is of a fixed length, the position of the slider may be the position of the middle point of the slider on the scroll bar area or the position of one end of the slider on the scroll bar area (e.g., the position of the upper end), corresponding to the position of the first line of the displayed content 612 in the web document or the position of the middle of the displayed content 612 in the web document. Similar mark 613 may have a variable length according to the length of the partial content 612 selected by the user, and the positions of the two ends of the mark 613 on the scroll bar area respectively correspond to the positions of the first line and the last line of the partial content 612 selected by the user in the web document 610; the mark 613 may also be a fixed length, and the position of the mark on the scroll bar area may mark the position of one end (such as the position of the upper end) or the position of the mark center, corresponding to the position of the first line of the user-selected partial content 612 or the middle of the selected part in the web document 610. It will be understood by those skilled in the art that the length of the web document 610 is L1, the distance between the user-selected portion of content 612 and the beginning of the web document is L2, the length of the scroll bar region 601 is L3, and the distance between the marker 613 and the upper end of the scroll bar region is L4, so that L2/L1 is L4/L3.
The position of the stored user-selected partial content in the whole webpage document may specifically be the partial content and the context of the partial content, or the number of bytes of the partial content in the webpage document, from nth byte to mth byte, where n and m are integers, and m is greater than n. The position of the marker on the scroll bar region may also be saved, such as the ratio of the distance of the marker from one end of the scroll bar region to the length of the scroll bar region; or mark the distance from one end of the scroll bar area. For example, if the position of the saved user-selected part of the content in the web document is the user-selected part of the content and the context of the part of the content, the cell phone may determine the position of the part of the content by matching the user-selected part of the content with the web document, and if there are multiple parts of the content in the web document, the position of the user-selected part of the content may be accurately located by the context of the part of the content, so as to determine the display position of the mark on the scroll bar area. As shown in the following table one, for an implementation of the correspondence between the website stored in the memory of the mobile phone and the location of the content selected by the user, the context and the following context selected by the user may be the content of the first 2 rows and the following 2 rows of the content selected by the user, and specifically, may be set as required, and the byte range indicates that the content selected by the user is the 101 th byte to the 200 th byte of the web document. The position of the mark means that the distance from the mark to the top of the scroll bar area is 20% of the length of the scroll bar area, and the table one is merely an example, and the recording content can be more or less according to the actual design needs.
Watch 1
Figure PCTCN2017104613-APPB-000011
Figure PCTCN2017104613-APPB-000012
As an alternative implementation, the web document may be saved offline, and the storage path for saving the offline web document and the position of the user-selected part of the content in the web document may be associated.
Fig. 7a-7d are schematic diagrams of interfaces according to a first embodiment of the present application. Fig. 7a shows that a user browses an online book "little prince" through a browser, the right side of the display interface has a scroll bar area 701, and when the user is detected to slide up and down on the touch screen, a slider 702 can be displayed, and the slider 702 indicates the position of the currently displayed content in the whole webpage document. It will be appreciated that the slider 702 may be displayed at all times, or when up and down sliding motion is detected. In FIG. 7b, the user has selected a portion of content 703 and, in response to the user's selection, a plurality of operational options 704 are displayed, including an "annotation" option. The user selects the "label" option and, as shown in figure 7c, adds a label 7052, and optionally a label description 7051, to the scroll bar area 701. It will be appreciated that only the indicia 7052 may be added, without the indicia description 7051. The content of the markup specification 7051 may be default content, such as "markup specification 1", or may receive user editing or extract keywords in a part of the content selected by the user. The user may add more tags, as in fig. 7d, and the user selects a portion of the content 707, with a corresponding addition of a tag 7062 and a tag description 7061. The position of the mark on the scroll bar region corresponds to the position of the user-selected portion of the content in the web document. For a web document with a fixed content length, the position of the mark on the scroll bar area does not change and does not move as the web document scrolls up and down. It will be appreciated that the user may delete the tag and the corresponding tag description.
Alternatively, the user may view the above marks in a favorite or a bookmark, the user selects to view a favorite bar, and information of a plurality of marks is displayed in the favorite bar, fig. 8a shows a schematic diagram of a favorite bar interface, where 3 marked entries 801, 802, 803 are displayed in the favorite bar, specifically, the marked entries 801 and 802 may correspond to partial contents 703 and 707 selected by the user in the "queen book", respectively, and the marked entry 803 may be partial contents selected by the user in other web page contents. It is understood that the display information of the tag entry in the favorite column may be a tag description corresponding to the tag. If the user wants to view specific information of markup entry 802, markup entry 802 can be selected and the display interface can jump to a web document that displays partial content 707, as shown in FIG. 7 d.
Alternatively, the collection column may be distinguished according to the collected web page documents, as shown in fig. 8b, two collection items are collected in the collection column, namely, a collection item 804 of "little prince" and a collection item 805 of "jieke's rescue" are displayed in the collection column, wherein the collection item 804 of "little prince" has an asterisk mark 8041, which indicates that the web page document of "little prince" has the content marked by the user, and when the collection item of "little prince" is detected to be selected by the user, marked items 801 and 802 added by the user in the web page document of "little prince" are displayed as shown in fig. 8 c.
Optionally, the mobile phone may further receive a sharing operation of the user, and share the webpage document to the friends of the user. For example, when the user selects the "share" button when browsing the web page for sharing, as shown in fig. 9, a content share option 9081 and a share route option 9082 are displayed on the mobile phone interface. The shared content option 9081 includes only a text corresponding to the sharing mark, that is, only the texts of the selected partial contents 703 and 707 are shared, and optionally, the user may select to share the partial content 703 or the partial content 707; only sharing the website, namely sharing the website of the webpage document of the 'Xiaowangzi'; sharing websites and marks, namely sharing websites of webpage documents of the 'little prince' and positions of partial contents selected by the user, and the user can further select positions of the shared partial contents 703 and/or the partial contents 707; it will be appreciated that the shared content options may also be of other kinds, such as, for example, locations marked on a scroll bar area, offline web documents, and so forth. The option 9082 of the sharing approach shows a wechat and email manner, and optionally, other sharing approaches such as information, QQ, and the like may also be available. For example, user a selects to share the website and the mark with user B by way of wechat, and fig. 10 shows that user B receives the shared information 909 of user a on the wechat, where the entire shared information 909 is bound to the website of the queen, and user B can open the web document of the queen by clicking the shared information 909; alternatively, the title "xiaowangzi" 9091 in the shared information 909 is bound to the website of the webpage document of the xiaowangzi; shared information 909 also includes mark information 9092 and 9093, which are summaries of part of contents 703 and 707 selected by the user, or contents of mark descriptions 7061 and 7062.
When the user B views the specific content of the shared information of the user a, the method may be implemented in the manner shown in fig. 11.
Fig. 11 is a schematic flowchart illustrating a process of accessing a web page according to a second embodiment of the present application, in which an electronic device is a mobile phone,
and step 111, the mobile phone accesses the website.
The user accesses a website through a browser on the mobile phone or applications such as a news application, and can also access the website through the website collected in the collection function in the applications. Or the user opens the website shared by the friends.
Step 112, determining whether the website has a corresponding mark, if the website has a corresponding mark, executing step 113, otherwise, executing step 117, and displaying the webpage.
If the user browses the website and adds the mark, the memory in the mobile phone stores the website and the position of part of content in the webpage document corresponding to the website, wherein the part of content is the part of content designated by the user. Specifically, the processor in the mobile phone may determine whether there is a location of the corresponding part of the content in the web document corresponding to the website by searching whether there is a website accessed by the mobile phone from the website stored in the mobile phone, and if so, determining whether there is a location of the corresponding part of the content in the web document corresponding to the website.
If the website shared by the friends is opened by the user, the mobile phone confirms whether the website in the information shared by the friends contains the position of part of content in the webpage document corresponding to the website or not, wherein the part of content is the part of content designated by the friends.
And 113, acquiring the position of the part of content corresponding to the mark in the webpage document corresponding to the website.
Step 114, displaying the web page, and displaying the mark on the scroll bar area according to the position of the part of the content in the web page document corresponding to the website.
Specifically, the web page is displayed in step 114, which may be from the beginning of the web page.
The user selection of the marker is detected 115.
And step 116, adjusting the content displayed by the webpage according to the position of the part of the content in the webpage document corresponding to the website.
If the position of the partial content in the web document corresponding to the website is the partial content selected by the user and the context of the partial content, the position of the partial content in the web document may be matched in step 114, so as to calculate the display position of the mark on the scroll bar region, and thus display the mark, and in step 116, the web content including the partial content selected by the user is displayed, and the partial content may be highlighted, for example, the partial content and other portions of the web document are marked with different colors, or the partial content is marked with underlines, etc.
If the position of the partial content in the web document corresponding to the website is the start byte number and the end byte number of the partial content selected by the user, the position of the start byte number in the web document may be calculated in step 114, so as to calculate the display position of the mark on the scroll bar area, so as to display the mark, and in step 116, the content including the start byte number to the end byte number is displayed, optionally, the content between the start byte number and the end byte number may be highlighted, for example, the partial content and other portions of the web document are marked with different colors, or the partial content is marked with underlines, etc.
It is understood that, in addition to storing the position of a part of the content in the web page document corresponding to the web address, the position of the mark on the scroll bar region may be one or more of the above-mentioned positions, and the position of the mark on the scroll bar region may be used to display the mark on the position and may be used to mutually correct the position of the part of the content selected by the user in the web page document.
If the position of the mark on the scroll bar area is the ratio of the distance between the mark and one end of the scroll bar area to the length of the scroll bar area, in step 114, the display position of the mark can be calculated according to the ratio and the length of the scroll bar area, and the mark is displayed at the display position of the mark. In step 116, the position of the content displayed in the webpage document when the part of the content selected by the user is calculated according to the position of the mark on the scroll bar area, so that the webpage content including the part of the content selected by the user is displayed.
Fig. 12a and 12b show an interface schematic diagram of the second embodiment, fig. 12a shows an interface of a mobile phone storing a position of a part of content corresponding to an accessed web page in a web page document corresponding to a web address, in which two marks 1252 and 1262 added when a user previously accesses the web page are displayed, and optionally, a mark description corresponding to the two marks may also be displayed simultaneously when the web page is opened. As an optional mode, the mark description may be displayed within a preset time when the user opens the web page, and if the preset time is exceeded, the mark description is hidden, and the corresponding mark description is displayed only when the mark click by the user is detected. Fig. 12a shows the state when the web page has just been loaded, with the slider 122 of the scroll bar area 121 positioned at the upper end of the scroll bar area, indicating that this currently displayed content is the beginning of the web page.
Upon detecting the user selection of the marker 1262 in FIG. 12a, the slider 122 is moved 1262 to the position shown in FIG. 12b, which highlights the portion 123 previously selected by the user. If the position of the marker on the scroll bar area is saved, the interface of FIG. 12b is similar to that of FIG. 7d, and the user-selected portion of the content 123 is near the bottom of the display interface, i.e., the content of the web document displayed in FIG. 12b is the same as the content of the web document displayed in FIG. 7 d.
It is understood that, after detecting that the user selects the mark 1262 in fig. 12a, the partial content 123 selected by the user can also be displayed at the middle position of the display interface as shown in fig. 12 c.
The embodiment shown in fig. 11 may be used in a scenario where a user opens web content browsed by the user, or in a scenario where a user opens web content shared by another user.
Figure 13 shows a method for content update according to a third embodiment of the present application,
in step 131, the mobile phone accesses the updatable web page list through the application.
A user accesses a web page list, for example, a microblog list in a microblog application or a news list in a news application, through an application such as a browser or a news application on a mobile phone. The web page list has a plurality of list entries, such as entry 1 to entry 7 in fig. 14, and the user can view the entry behind entry 7 by sliding up. The web page list can be updated, and list items of the web page list can be updated by inputting a pull-down gesture on the touch screen by a user.
A new content item is automatically obtained, step 132, the new content item including item display information and an item link.
The application requests new content items from the content server of the application with a predetermined frequency or the content server of the application actively pushes new content items. It is understood that the number of new content items obtained each time may be preset, for example, two latest content items are obtained each time, or all actual new content items may be obtained. The new content item may be a new content item of a friend in which the user is interested, or a new content item in a content server, or trending news, etc., and may be a different new content item according to different applications or different settings.
Step 133, displaying a mark on the scroll bar area, where the mark indicates that a new content item is acquired, and displaying a mark description corresponding to the mark.
Specifically, the new content item may be a plurality of items, a plurality of marks corresponding to the plurality of items may be displayed on the scroll bar area, and a mark description may be displayed at a position corresponding to the mark. The markup indicates the item display information displayed as a new content item and the item link to which the new content item is bound. The item display information may be a title or a summary of a web document corresponding to the item link, or a keyword, and may refer to the content displayed by the list item. As shown in fig. 14, the scroll bar area 141 is displayed with marks 1421 and 1431, and the mark descriptions 1422 and 1432 corresponding to the marks 1421 and 1431 are displayed on the list entry, at positions adjacent to the marks. The display position of the mark can be close to the bottom of the scroll bar area or close to the top of the scroll bar area, and can be adjusted according to the actual design requirement.
At step 134, a user selectable indicia description is detected.
The user clicks on the markup description on the touch screen.
Step 135, displaying the webpage document corresponding to the markup specification selected by the user, namely, the webpage document corresponding to the item link of the markup specification binding.
In an alternative embodiment, the step 133-135 can also be performed in such a way that fig. 15a displays a mark 1441 corresponding to a plurality of content items on the scroll bar area, and the mark corresponds to a mark description 1442 indicating that there are several new content items, for example, three new content items. After the user selects the mark 1441 or the mark 1442, a plurality of marks 1443 corresponding to a plurality of content items may be displayed as shown in fig. 15b, or the plurality of marks 1443 may be displayed by scrolling as shown in fig. 15c, or the plurality of marks 1443 may be displayed according to the up-down sliding switch of the user. The markup specification 1443, like the markup specification 1432, displays the item display information for a new content item and binds to an item link, and when it is detected that a user selects one of the markup specifications 1443, displays a web document corresponding to the markup specification 1443.
Optionally, when a user action of refreshing the list is detected, for example, a pull-down operation 145 performed by the user is detected from the state of fig. 14, fig. 15a, fig. 15b, or fig. 15c, the new content item is updated in the list, as shown in fig. 16, and is displayed at the top 146 of the list, and at the same time, the original marks on the scroll bar area, such as mark 1421, mark 1431, mark 1441, mark description 1422, mark description 1432, mark description 1442, and mark description 1443, are not displayed, and the marks and the mark descriptions are displayed after the new content item is acquired again.
Figure 17 shows a method of content recommendation according to a fourth embodiment of the present application,
in step 171, the handset accesses the web document through the application.
A user accesses a web document, such as a book or news, through a browser installed on a mobile phone or an application such as a news application.
Step 172, obtaining recommended content, wherein the recommended content corresponds to a keyword in content displayed in the webpage document, and the recommended content includes display information of the recommended content and a recommended content link.
The application acquires keywords in the displayed content and requests the recommended content from the content server of the application, or the content server of the application actively pushes the recommended content according to the keywords in the content currently displayed by the webpage document.
Step 173, displaying a mark corresponding to the recommended content on the scroll bar area and displaying a mark description at a position adjacent to the mark. The mark indicates display information displayed as recommended content and binds the recommended content link. The display information of the recommended content may be a title, or a summary, or a keyword of a web document corresponding to the link of the recommended content. The distance from the mark to the top of the scroll bar area is the same as the distance from the keyword corresponding to the recommended content to the top of the currently displayed content, and here the same, it can be understood as approximately equal to.
As shown in fig. 18a, a mark 181 is a mark of recommended content of the keyword "xiaowangzi" 185, a mark explanation 182 is displayed as display information "purchase" of recommended content and a purchase link of this book "xiaowangzi" is bound, a mark 183 is a mark of recommended content of the keyword "time profile" 186, and a mark explanation 184 is displayed as display information "purchase" of recommended content and a purchase link of this book "time profile" is bound. The distance of the marker 181 from the top of the scroll bar area is the same as the distance of the keyword "little prince" 185 from the top of the displayed content, and the distance of the similar marker 182 from the top of the scroll bar area is the same as the distance of the keyword "time history" 186 from the top of the displayed content.
At step 174, a user selectable indicia description is detected.
The user clicks on the markup description on the touch screen.
Step 175, displaying the webpage document with the mark description link selected by the user, namely, the webpage document corresponding to the recommended content link.
At step 176, a gesture of the user to scroll the page is detected,
and 177, moving the webpage document, wherein the marks and the mark descriptions move along with the positions of the keywords, and when the keywords move out of the current display interface, the marks and the mark descriptions of the recommended contents corresponding to the keywords are not displayed any more.
As shown in fig. 18b, in order for the user to input a swipe gesture on the touch screen on the interface of fig. 18a, in response to the swipe gesture of the user, the web document moves upward, the keyword "time history" moves upward, and accordingly, the mark 183 and the mark caption 184 move upward; the keyword "Xiaowang" 185 moves out of the display interface and accordingly, the label 181 and label description 182 are not displayed.
As an implementable mode, when the user accesses the webpage document, the marks and mark descriptions added by the user can be displayed, and the marks and mark descriptions corresponding to the recommended content can be displayed at the same time. FIG. 19 shows a user augmented markup 197 and markup description 198 on a web document, and also shows a markup description 192 and a corresponding markup 191 corresponding to a keyword "Xiaowangzi" 195, and a markup description 194 and a corresponding markup 193 corresponding to a keyword "time history" 196. Optionally, the marks 197 added by the user and the marks 191 and 192 corresponding to the recommended content are different in shape and can be distinguished by color. As an alternative implementation mode, the mark added by the local user and the mark shared by other users are displayed in different shapes or colors in a distinguishing mode.
In the above embodiment, when the mark is displayed, a corresponding mark description may be displayed, and the mark description may be displayed in a semi-transparent manner at a position corresponding to the mark, so as to cover a part of the list or the web document, and after a gesture of hiding the mark description by the user is detected, the mark description is displayed, or only the mark may be displayed, and after a gesture of displaying the mark description by the user is detected, the mark description is displayed. Fig. 20a shows that the caption 2002 is displayed when the marker 2001 is displayed, and after the gesture 2003 for hiding the caption is detected, the caption 2002 is hidden, as shown in fig. 20b, and in the interface shown in fig. 20b, after the gesture 2004 for displaying the caption is detected, the caption 2002 is displayed at a position opposite to the marker 2001. The mark description can be displayed along with the mark, the mark can be displayed all the time, the mark description can be displayed for a preset time length, such as 2 seconds, and if the mark selected by a user is not detected, the mark is automatically hidden and is not displayed; or after the mark explanation is displayed, if the gesture of the user on the touch screen is detected not to select the mark or the mark explanation, hiding the mark explanation.
An embodiment of the present application further provides a device for sharing content, as shown in fig. 21, the device includes: a display unit 2101 to display a web document with a display area of the web document and a corresponding scroll bar area thereon, for example, the display unit 2101 is to support the apparatus to perform step 401 in fig. 4; a detection unit 2102, configured to detect that a user selects a portion of content in the webpage document and a gesture for labeling the portion of content, for example, the detection unit 2102 is configured to support the apparatus to perform step 402 and step 404 in fig. 4; the display unit 2101 is further configured to display a mark corresponding to the partial content on a scroll bar area in response to the gesture, where a position of the mark on the scroll bar area corresponds to a position of the partial content in the web document, for example, the display unit 2101 is configured to support the apparatus to perform step 405 in fig. 4; a sending unit 2103, configured to send the website of the web document and the location of the part of content in the web document to a second electronic device; for example, the sending unit 2103 is used to support the apparatus to perform the process in fig. 9. The display unit 2101 is configured to display a mark description of the mark at a position adjacent to the mark while displaying the mark corresponding to the partial content on the scroll bar region, for example, the display unit 2101 is configured to support the apparatus to perform the process in fig. 7 c; the sending unit 2103 is further configured to send a mark description of a mark corresponding to the partial content. The device further comprises: the saving unit 2104 is used for saving the web address of the web page document and the location of the part of the content in the web page document, for example, the saving unit 2104 is used for enabling the apparatus to perform step 406 in fig. 4.
An embodiment of the present application also provides an apparatus for displaying web content, as shown in fig. 22, the apparatus including: the receiving unit 2201 is configured to receive a web page address sent by a second electronic device and a location of a first part of content in a web page document corresponding to the web page address in the web page document, where the first part of content is a part of content specified by a user of the second electronic device, for example, the saving unit 2104 is configured to support the apparatus to execute the process in fig. 10; the display unit 2202 is configured to display a second part of content of the web document corresponding to the web address, and display a first mark on a scroll bar area, where a position of the first mark on the scroll bar area corresponds to a position of the first part of content in the web document, for example, the display unit 2202 is configured to support the apparatus to perform step 114 in fig. 11; the detection unit 2203 is configured to detect that the first marker is selected by the user, e.g., the detection unit 2203 is configured to support the apparatus to perform step 115 in fig. 11; the display unit 2202 is further configured to display a third portion of content of the web document, the third portion of content including the first portion of content, in response to detecting that the user selects the first mark, for example, the display unit 2202 is configured to support the apparatus to perform step 116 in fig. 11. The apparatus further includes an obtaining unit 2204 configured to obtain recommended content, which is obtained according to the keyword in the currently displayed content, the recommended content including recommended content display information and a recommended content link, for example, the obtaining unit 2204 is configured to support the apparatus to perform step 172 in fig. 17; the display unit 2202 is further configured to display a second mark on the scroll bar area, and display a second mark description corresponding to the second mark at a position adjacent to the second mark, where the second mark description displays information for the recommended content and binds the recommended content link, and a position of the second mark on the scroll bar area is the same as a position of the keyword in the currently displayed content, for example, the display unit 2202 is configured to support the apparatus to perform step 173 in fig. 17. The detection unit 2203 is further configured to detect a gesture of the user scrolling the web document, for example, the detection unit 2203 is configured to support the apparatus to perform step 176 in fig. 17; the display unit 2202 is further configured to scroll the web document in response to a gesture to scroll the web document, the second mark and the second mark indicating scrolling along the web document, e.g., the display unit 2202 is configured to support the apparatus to perform step 177 of fig. 17.
An embodiment of the present application further provides an apparatus for displaying a web page list, as shown in fig. 23, the apparatus includes: display unit 2301 is for displaying an updateable web page list comprising a first set of list entries thereon, e.g., display unit 2301 is for enabling the apparatus to perform step 131 in fig. 13; the obtaining unit 2302 is configured to automatically obtain a new content item, which includes item display information and an item link, for example, the obtaining unit 2302 is configured to support the apparatus to execute step 132 in fig. 13; the display unit 2301 is further configured to display a mark corresponding to the content item on the scroll bar area, and display a mark description adjacent to the first mark, the first mark description displaying information for the item and binding the item link, for example, the display unit 2301 is configured to support the apparatus to perform step 133 in fig. 13; the detecting unit 2303 is used for detecting that the user selects the markup specification, for example, the detecting unit 2303 is used for supporting the apparatus to execute the step 134 in fig. 13; the display unit 2301 is also used for displaying the web document corresponding to the item link in response to detecting that the user selects the markup specification, for example, the display unit 2301 is used for supporting the apparatus to execute step 135 in fig. 13. The detecting unit 2303 is further configured to detect a gesture of refreshing the web page list by a user, for example, the detecting unit 2303 is configured to support the apparatus to perform the detecting gesture 145 in fig. 15a, the displaying unit 2301 is further configured to display a second group of list entries, and the second group of list entries includes the new content entry; the first mark and the first mark description are not displayed, for example, the display unit 2301 is used to support the apparatus to perform the process in fig. 16. The detecting unit 2303 is further configured to detect a first gesture input by a user, the first gesture being a gesture that does not trigger the markup specification, and the displaying unit 2301 is further configured to hide the markup specification in response to the first gesture.
The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. Processor 930 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 940, and the processor 930 reads the information in the memory 940 to complete the steps of the method in combination with the hardware. In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (53)

  1. A method of content sharing, the method comprising:
    a first electronic device displays a web page document having a display area of the web page document and a corresponding scrollbar area on a display screen of the first device,
    detecting a gesture of a user selecting a part of content in the webpage document and labeling the part of content,
    displaying a marker corresponding to the portion of content on a scroll bar area in response to the gesture, a location of the marker on the scroll bar area corresponding to a location of the portion of content in the web document,
    and sharing the website of the webpage document and the position of the part of content in the webpage document to a second electronic device.
  2. The method of claim 1, wherein the indicia is a graphical symbol.
  3. The method of claim 1 or 2, wherein the position of the part of the content in the web document is the part of the content and a context of the part of the content, or a byte range of the part of the content in the web document.
  4. A method according to any one of claims 1 to 3, wherein the content of the web document is fixed in length.
  5. The method according to any one of claims 1-4, wherein a mark description of the mark is displayed at a position adjacent to the mark while the mark corresponding to the partial content is displayed on the scroll bar area;
    the website for sharing the webpage document and the position of the part of content in the webpage document are specifically the website for sharing the webpage document, and the position of the part of content in the webpage document and the mark description of the mark corresponding to the part of content.
  6. The method of any of claim 5, wherein the markup specification is a summary of the portion of content or user-entered text.
  7. The method of any of claims 1-6, further comprising saving a web address of the web document and a location of the portion of content in the web document.
  8. A method of displaying web page content, the method comprising:
    the method comprises the steps that first electronic equipment receives a webpage address sent by second electronic equipment and the position of a first part of content in a webpage document corresponding to the webpage address in the webpage document, wherein the first part of content is part of content appointed by a user of the second electronic equipment;
    displaying a second part of content of the webpage document corresponding to the webpage address on a display screen of the first electronic equipment, wherein the display screen is provided with a display area of the webpage document and a corresponding scroll bar area;
    displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first portion of content in the web document,
    and in response to detecting that the first mark is selected by the user, displaying a third part of content of the webpage document, wherein the third part of content comprises the first part of content.
  9. The method of claim 8, wherein the first portion of content is highlighted.
  10. The method of claim 9, wherein the first indicia is a graphical symbol.
  11. The method of any of claims 8-10, wherein the location of the first portion of content in the web document is the first portion of content and a context of the first portion of content, or a byte range of the first portion of content in the web document.
  12. The method of any of claims 8-11, wherein the first electronic device further receives a first markup specification corresponding to the first portion of content sent by the second electronic device,
    and simultaneously displaying a first mark corresponding to the first part of content on the scroll bar area, and displaying the first mark description at the adjacent position of the first mark.
  13. The method according to any one of claims 8 to 12, further comprising obtaining recommended content, the recommended content being obtained according to a keyword in currently displayed content, the recommended content including recommended content display information and a recommended content link;
    displaying a second mark on the scroll bar area, and displaying a second mark description corresponding to the second mark at a position adjacent to the second mark, wherein the second mark description is the recommended content display information and binds the recommended content link, and the position of the second mark on the scroll bar area is the same as the position of the keyword in the currently displayed content.
  14. The method of claim 13, further comprising, detecting a gesture of a user scrolling through the web document,
    scrolling the web document, the second mark and the second mark indicating scrolling with the web document.
  15. The method of claim 13 or 14, further comprising, detecting user selection of the second markup specification,
    and displaying the webpage document corresponding to the recommended content link.
  16. The method of claims 13-15, wherein the first indicia and the second indicia are different in appearance.
  17. A method of displaying a list of web pages, the method comprising:
    displaying an updatable web page list by a first electronic device, wherein the web page list comprises a first group of list entries;
    automatically acquiring a new content item, wherein the new content item comprises item display information and item links;
    displaying a mark corresponding to a content item on a scroll bar area, and displaying a mark description at a position adjacent to the first mark, wherein the first mark description is used for displaying information for the item and binding the item link;
    it is detected that the user selects the description of the marker,
    and displaying the webpage document corresponding to the item link.
  18. The method of claim 17, wherein the first indicia is a graphical symbol.
  19. The method of claim 17 or 18, further comprising, detecting a user gesture to refresh the list of web pages,
    displaying a second set of list entries including the new content entry;
    the first indicia and the first indicia description are not displayed.
  20. The method of claims 17-19, wherein a first gesture of user input is detected that is a gesture that does not trigger the markup specification, and the markup specification is hidden.
  21. An apparatus for content sharing, the apparatus comprising:
    a display unit for displaying a web document having a display area of the web document and a corresponding scroll bar area thereon,
    a detection unit for detecting a gesture for selecting a part of content in the webpage document and labeling the part of content,
    the display unit is further used for responding to the gesture, displaying a mark corresponding to the part of the content on a scroll bar area, wherein the position of the mark on the scroll bar area corresponds to the position of the part of the content in the webpage document,
    and the sending unit is used for sending the website of the webpage document and the position of the part of content in the webpage document to a second electronic device.
  22. The apparatus of claim 21, wherein the position of the portion of content in the web document is the portion of content and a context of the portion of content, or a byte range of the portion of content in the web document.
  23. The apparatus according to claim 21 or 22, wherein the display unit is further configured to display a mark description of the mark at a position adjacent to the mark while displaying the mark corresponding to the partial content on the scroll bar area;
    the sending unit is further configured to send a tag description of a tag corresponding to the partial content.
  24. The apparatus according to any one of claims 21-23, further comprising a saving unit for saving a web address of the web document and a location of the portion of content in the web document.
  25. An apparatus for displaying web content, the apparatus comprising:
    the receiving unit is used for receiving a webpage address sent by second electronic equipment and the position of a first part of content in a webpage document corresponding to the webpage address in the webpage document, wherein the first part of content is part of content appointed by a user of the second electronic equipment;
    the display unit is used for displaying the second part of content of the webpage document corresponding to the webpage address; displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first portion of content in the web document,
    the detection unit is adapted to detect a user selection of said first marker,
    the display unit is further used for responding to the detection that the first mark is selected by the user, and displaying a third part of content of the webpage document, wherein the third part of content comprises the first part of content.
  26. The apparatus of claim 25, wherein the first portion of content is highlighted.
  27. The apparatus of claim 25 or 26, wherein the position of the first portion of content in the web document is the first portion of content and a context of the first portion of content, or a byte range of the first portion of content in the web document.
  28. The apparatus according to any of claims 25-27, wherein the receiving unit is further configured to receive a first markup specification corresponding to the first portion of content sent by the second electronic device,
    the display unit is further configured to display the first mark description at a position adjacent to the first mark.
  29. The apparatus according to any one of claims 25 to 28, further comprising an obtaining unit configured to obtain recommended content obtained based on a keyword in currently displayed content, the recommended content including recommended content display information and a recommended content link;
    the display unit is further configured to display a second mark on the scroll bar area, and display a second mark description corresponding to the second mark at a position adjacent to the second mark, where the second mark description is the recommended content display information and binds the recommended content link, and a position of the second mark on the scroll bar area is the same as a position of the keyword in the currently displayed content.
  30. The apparatus of claim 29, wherein the detection unit is further to detect a gesture of a user scrolling the web document,
    the display unit is further used for responding to a gesture of scrolling the webpage document, and the second mark indicate that the webpage document is scrolled along.
  31. The apparatus according to claim 29 or 30, wherein the detection unit is further adapted to detect that the second markup specification is selected by a user,
    the display unit is further used for displaying the webpage document corresponding to the recommended content link.
  32. The apparatus of claims 29-31, wherein the first indicia and the second indicia are different in appearance.
  33. An apparatus for displaying a list of web pages, the apparatus comprising:
    the display unit is used for displaying an updatable webpage list, and the webpage list comprises a first group of list entries;
    the acquisition unit is used for automatically acquiring a new content item, and the new content item comprises item display information and item links;
    the display unit is further used for displaying a mark corresponding to a content item on a scroll bar area, displaying a mark description at a position adjacent to the first mark, wherein the first mark description is used for displaying information for the item and binding the item link;
    the detection unit is adapted to detect that the user selects said mark description,
    the display unit is further used for responding to the detection that the user selects the mark description, and displaying the webpage document corresponding to the item link.
  34. The apparatus of claim 33, wherein the detection unit is further to detect a user gesture to refresh the list of web pages,
    the display unit is further configured to display a second group of list entries, where the second group of list entries includes the new content entry; the first indicia and the first indicia description are not displayed.
  35. The apparatus of claim 33 or 34, wherein the detection unit is further configured to detect a first gesture input by a user, the first gesture being a gesture that does not trigger the markup specification, the display unit being further configured to hide the markup specification in response to the first gesture.
  36. A Graphical User Interface (GUI) stored in an electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the GUI comprising:
    displaying a web page document having a display area of the web page document and a corresponding scroll bar area on the graphical user interface,
    in response to detecting a user selection of a portion of content in the web document, and a gesture to annotate the portion of content,
    displaying a mark corresponding to the part of the content on a scroll bar area, wherein the position of the mark on the scroll bar area corresponds to the position of the part of the content in the webpage document,
    and in response to the detection that the user selects the sharing operation, displaying an option of sharing the website of the webpage document and the position of the part of the content in the webpage document to a second electronic device.
  37. A graphical user interface as recited in claim 36, wherein said indicia is a graphical symbol.
  38. A gui according to any of claims 36 or 37, wherein a label description of the label is displayed adjacent the label whilst the label corresponding to the portion of the content is displayed on the scrollbar area.
  39. A gui according to any of claims 36 to 38, wherein the markup specification is a summary of the portion of content, or user-entered text.
  40. A graphical user interface stored in an electronic device, the electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising:
    displaying sharing information sent by second electronic equipment, wherein the sharing information comprises a webpage address, the sharing information binds the position of a first part of content in a webpage document corresponding to the webpage address, and the first part of content is part of content appointed by a user of the second electronic equipment;
    displaying a second part of content of the webpage document corresponding to the webpage address;
    displaying a first marker on the scroll bar area; the position of the first mark on the scroll bar area corresponds to the position of the first portion of content in the web document,
    and in response to detecting that the first mark is selected by the user, displaying a third part of content of the webpage document, wherein the third part of content comprises the first part of content.
  41. A graphical user interface as recited in claim 40, wherein the first portion of content is highlighted.
  42. A graphical user interface as claimed in claim 40 or 41, wherein the first indicia are graphical symbols.
  43. A graphical user interface as recited in any of claims 40-42, wherein said first indicia corresponding to said first portion of content is displayed on a scrollbar area while said first indicia description is also displayed adjacent to said first indicia.
  44. A graphical user interface as recited in any of claims 40-43,
    the method further comprises the steps of displaying a second mark on the scroll bar area, displaying a second mark description corresponding to the second mark at a position adjacent to the second mark, wherein the second mark indicates that recommended content is obtained, the recommended content is obtained according to a keyword in the currently displayed content, the recommended content comprises recommended content display information and a recommended content link, the second mark description is the recommended content display information and the recommended content link is bound, and the position of the second mark on the scroll bar area is the same as the position of the keyword in the currently displayed content.
  45. A graphical user interface as recited in any of claims 40-44, further comprising, in response to detecting a user gesture to scroll through the web document,
    and scrolling to display the webpage document, wherein the second mark and the second mark show that the webpage document scrolls along.
  46. A graphical user interface as recited in any of claims 40-45, wherein the first indicia and the second indicia are different in appearance.
  47. A graphical user interface stored in an electronic device, the electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising:
    displaying an updateable web page list, the web page list including a first set of list entries thereon;
    automatically acquiring a new content item, wherein the new content item comprises item display information and item links;
    displaying a mark corresponding to a content item on a scroll bar area, and displaying a mark description at a position adjacent to the first mark, wherein the mark indicates that a new content item is obtained, the new content item comprises item display information and an item link, and the first mark description is the item display information and binds the item link;
    and in response to detecting that the user selects the mark description, displaying the webpage document corresponding to the item link.
  48. A graphical user interface as recited in claim 47, wherein said first indicia is a graphical symbol.
  49. A graphical user interface as recited in claim 47 or 48, wherein the graphical user interface further comprises, in response to detecting a user gesture to refresh the list of web pages, displaying a second set of list entries including the new content entry; the first indicia and the first indicia description are not displayed.
  50. An electronic device comprising a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 1-7.
  51. An electronic device comprising a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 8-16.
  52. An electronic device comprising a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 17-20.
  53. A computer-readable storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-20.
CN201780095127.8A 2017-09-29 2017-09-29 Content sharing method and device Active CN111133430B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104613 WO2019061360A1 (en) 2017-09-29 2017-09-29 Content sharing method and apparatus

Publications (2)

Publication Number Publication Date
CN111133430A true CN111133430A (en) 2020-05-08
CN111133430B CN111133430B (en) 2022-12-02

Family

ID=65900380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780095127.8A Active CN111133430B (en) 2017-09-29 2017-09-29 Content sharing method and device

Country Status (2)

Country Link
CN (1) CN111133430B (en)
WO (1) WO2019061360A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797349A (en) * 2020-06-24 2020-10-20 上海掌门科技有限公司 Method and device for book recommendation based on reading page target content collection operation
CN113377312A (en) * 2021-06-17 2021-09-10 北京十一贝科技有限公司 Same-screen interaction method and device, computer equipment and computer readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535662B (en) * 2020-07-09 2023-04-07 抖音视界有限公司 Information position indicating method and device, electronic equipment and storage medium
CN112764634A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Content processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2706960A1 (en) * 2007-11-29 2009-06-04 Marketshare Partners Llc Automatically prescribing total budget for marketing and sales resources and allocation across spending categories
CN101882161A (en) * 2010-06-23 2010-11-10 中国工商银行股份有限公司 Application level asynchronous task scheduling system and method
CN101882162A (en) * 2010-06-29 2010-11-10 北京搜狗科技发展有限公司 Method and system for transmitting network information
CN101963888A (en) * 2010-09-30 2011-02-02 宇龙计算机通信科技(深圳)有限公司 Electronic terminal and method thereof for controlling page scroll bar
CN104572816A (en) * 2014-12-01 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN105493017A (en) * 2013-06-05 2016-04-13 微软技术许可有限责任公司 Using scrollbars as live notification areas
CN107016013A (en) * 2016-09-20 2017-08-04 阿里巴巴集团控股有限公司 information sharing method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8782513B2 (en) * 2011-01-24 2014-07-15 Apple Inc. Device, method, and graphical user interface for navigating through an electronic document
US20140092015A1 (en) * 2012-09-29 2014-04-03 Zhaohui Xing Method and apparatus for manipulating a graphical user interface using camera
KR101482062B1 (en) * 2013-09-04 2015-01-13 김수현 Internet information providing apparatus and method using scrollbar moving area
CN106933481B (en) * 2015-12-29 2020-02-21 苏宁云计算有限公司 Screen scrolling method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2706960A1 (en) * 2007-11-29 2009-06-04 Marketshare Partners Llc Automatically prescribing total budget for marketing and sales resources and allocation across spending categories
CN101882161A (en) * 2010-06-23 2010-11-10 中国工商银行股份有限公司 Application level asynchronous task scheduling system and method
CN101882162A (en) * 2010-06-29 2010-11-10 北京搜狗科技发展有限公司 Method and system for transmitting network information
CN101963888A (en) * 2010-09-30 2011-02-02 宇龙计算机通信科技(深圳)有限公司 Electronic terminal and method thereof for controlling page scroll bar
CN105493017A (en) * 2013-06-05 2016-04-13 微软技术许可有限责任公司 Using scrollbars as live notification areas
CN104572816A (en) * 2014-12-01 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN107016013A (en) * 2016-09-20 2017-08-04 阿里巴巴集团控股有限公司 information sharing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁永卫: "《中文版Windows XP实例与操作》", 30 June 2010, 北京:航空工业出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797349A (en) * 2020-06-24 2020-10-20 上海掌门科技有限公司 Method and device for book recommendation based on reading page target content collection operation
CN113377312A (en) * 2021-06-17 2021-09-10 北京十一贝科技有限公司 Same-screen interaction method and device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111133430B (en) 2022-12-02
WO2019061360A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
EP3382632B1 (en) Device for providing information related to object in image
US10445045B2 (en) Electronic device and method of processing information in electronic device
EP3335411B1 (en) Electronic device and method of managing application programs thereof
CN115097981B (en) Method for processing content and electronic device thereof
US20160063748A1 (en) Displaying method of electronic device and electronic device thereof
US20180335908A1 (en) Electronic device and content output method of electronic device
CN111133430B (en) Content sharing method and device
KR20170071960A (en) Apparatus and method for providing user interface of electronic device
KR20180013169A (en) Method for displaying content and electronic device using the same
KR20160031851A (en) Method for providing an information on the electronic device and electronic device thereof
KR20150111221A (en) Method for constructing page and electronic device supporting the same
KR20160150515A (en) Electronic device and method for displaying related information of parsed data
EP3097470B1 (en) Electronic device and user interface display method for the same
KR102521214B1 (en) Method for displaying user interface and electronic device supporting the same
KR20170006432A (en) Method for displaying web contents and electronic device implementing the same
KR20170084586A (en) Method and apparatus for operating functions of electronic device having flexible display
US10540415B2 (en) Apparatus and method for managing history information in an electronic device
KR20170121868A (en) Electronic apparatus and method for displaying object
US10416858B2 (en) Electronic device and method of processing information in electronic device
US20160048498A1 (en) Method for providing alternative service and electronic device thereof
KR102584981B1 (en) Method for Outputting Screen according to Force Input and the Electronic Device supporting the same
US10496715B2 (en) Method and device for providing information
US20180307775A1 (en) Content providing method and electronic device for performing same
KR20150082039A (en) Method for operating application and electronic apparatus
KR20150141317A (en) Electronic device and method for searching searchword

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
TA01 Transfer of patent application right

Effective date of registration: 20210421

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant