Movatterモバイル変換


[0]ホーム

URL:


CN107368568A - Method, device, equipment and storage medium for generating notes - Google Patents

Method, device, equipment and storage medium for generating notes
Download PDF

Info

Publication number
CN107368568A
CN107368568ACN201710561021.4ACN201710561021ACN107368568ACN 107368568 ACN107368568 ACN 107368568ACN 201710561021 ACN201710561021 ACN 201710561021ACN 107368568 ACN107368568 ACN 107368568A
Authority
CN
China
Prior art keywords
browser
link
selected content
webpage
notes
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.)
Pending
Application number
CN201710561021.4A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co LtdfiledCriticalGuangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710561021.4ApriorityCriticalpatent/CN107368568A/en
Publication of CN107368568ApublicationCriticalpatent/CN107368568A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating notes, wherein the method comprises the following steps: when a first operation instruction is detected on an interface of a browser, acquiring selected content in a webpage currently displayed on the interface of the browser and a link of the webpage; and recording the selected content and the link into a note file for saving. The method realizes that a note file with a link of a webpage is generated by directly operating a browser page; the original webpage does not need to be switched back and forth in the generation process of the note file; meanwhile, the saved links facilitate the user to subsequently view the source of the note.

Description

Translated fromChinese
一种笔记生成的方法、装置、设备和存储介质A method, device, device and storage medium for note generation

技术领域technical field

本发明涉及互联网技术,尤其涉及一种笔记生成的方法、装置、设备和存储介质。The present invention relates to Internet technology, in particular to a method, device, equipment and storage medium for generating notes.

背景技术Background technique

在用户需要复制浏览器中的相关信息到指定文档中时,首先需要在浏览器中进行复制动作,然后再打开对应文档,执行粘贴动作。When the user needs to copy the relevant information in the browser to the specified document, it is first necessary to perform the copy action in the browser, and then open the corresponding document to perform the paste action.

但是用户需要复制来源不同的多处内容时,需要在多个不同的窗口中来回切换。然而,执行复制动作后保存的只是复制的内容,后续无法查找出复制内容的来源。However, when the user needs to copy multiple contents from different sources, he needs to switch back and forth in multiple different windows. However, after performing the copy action, only the copied content is saved, and the source of the copied content cannot be found later.

发明内容Contents of the invention

本发明实施例提供一种笔记生成的方法、装置、设备和存储介质,实现直接在浏览器页面操作生成带网页的链接的笔记文件;笔记文件的生成过程中无需来回切换原网页;同时,保存的链接便于用户后续查看笔记的来源。Embodiments of the present invention provide a method, device, device, and storage medium for generating notes, which can be directly operated on a browser page to generate note files with links to web pages; during the generation of note files, there is no need to switch back and forth between the original web pages; at the same time, saving The link in the , so that the user can later view the source of the note.

第一方面,本发明实施例提供了一种笔记生成的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for generating notes, the method comprising:

当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接;When the first operation instruction is detected on the interface of the browser, the content selected in the webpage currently displayed on the interface of the browser and the link of the webpage are obtained;

将被选择的内容和链接记录到笔记文件中进行保存。Record the selected content and link to a note file for saving.

第二方面,本发明实施例提供了一种笔记生成的装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a device for generating notes, the device comprising:

获取模块,用于当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接;An acquisition module, configured to acquire the selected content in the webpage currently displayed on the browser interface and the link to the webpage when the first operation instruction is detected on the browser interface;

记录与保存模块,用于将被选择的内容和链接记录到所述笔记文件中进行保存。The record and save module is used to record the selected content and link into the note file for saving.

第三方面,本发明实施例提供了一种计算机设备,所述计算机设备包括:In a third aspect, an embodiment of the present invention provides a computer device, and the computer device includes:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个程序;memory for storing one or more programs;

所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明实施例中任一所述的笔记生成的方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the note generation method described in any one of the embodiments of the present invention.

第四方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的笔记生成的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for generating notes as described in any one of the embodiments of the present invention is implemented.

本发明实施例中,通过当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接,将被选择的内容和链接记录到笔记文件中进行保存。实现直接在浏览器页面操作生成带网页的链接的笔记文件;笔记文件的生成过程中无需来回切换原网页;同时,保存的链接便于用户后续查看笔记的来源。In the embodiment of the present invention, when the first operation instruction is detected on the interface of the browser, the selected content and the link of the webpage in the webpage currently displayed on the interface of the browser are acquired, and the selected content and the link of the webpage are obtained. The link is recorded to a note file for saving. Realize the generation of note files with links to webpages directly on the browser page; there is no need to switch back and forth to the original webpage during the generation of note files; at the same time, the saved links are convenient for users to view the source of notes later.

附图说明Description of drawings

图1是本发明实施例一中的一种笔记生成的方法的流程图;Fig. 1 is a flowchart of a method for generating notes in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种笔记生成的方法的流程图;Fig. 2 is a flowchart of a method for generating notes in Embodiment 2 of the present invention;

图3a是本发明实施例三中的一种笔记生成的方法的流程图;Fig. 3a is a flowchart of a method for generating notes in Embodiment 3 of the present invention;

图3b是本发明实施例三所适用的一种笔记生成的方法中获取笔记操作的界面显示图;Fig. 3b is an interface display diagram of the operation of obtaining notes in a method for generating notes applicable to Embodiment 3 of the present invention;

图3c是本发明实施例三所适用的一种笔记生成的方法中打开笔记文件操作的界面显示图;Fig. 3c is an interface display diagram of opening a note file operation in a note generation method applicable to Embodiment 3 of the present invention;

图4是本发明实施例四中的一种笔记生成的装置的结构示意图;Fig. 4 is a schematic structural diagram of a device for generating notes in Embodiment 4 of the present invention;

图5是本发明实施例五中的一种计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device in Embodiment 5 of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的一种笔记生成的方法的流程图,本实施例可适用于笔记生成的情况,该方法可以由本发明是实施例提供的笔记生成的装置来执行,该装置可采用软件和/或硬件的方式实现。参考图1,该方法具体可以包括如下步骤:Figure 1 is a flow chart of a method for generating notes provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of generating notes. The method can be executed by the device for generating notes provided by the embodiment of the present invention. The device It can be realized by means of software and/or hardware. Referring to Fig. 1, the method specifically may include the following steps:

S110、当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接。S110. When the first operation instruction is detected on the interface of the browser, acquire the selected content in the webpage currently displayed on the interface of the browser and the link of the webpage.

具体的,用户在需要应用浏览器进行资料查询时,浏览器会跳转至相应的界面,将被查询的资料展示给用户。在用户进行资料浏览的同时,部分用户对正在浏览的内容有保存记录的需求,或者用户对部分浏览的内容有保存记录的需求。可选的,第一操作指令可以是用户执行了相关操作后产生的,当在浏览器的界面检测到第一操作指令时,获取浏览器的界面当前显示的网页中被选择的内容和所述网页的链接。Specifically, when a user needs to use a browser to query data, the browser will jump to a corresponding interface and display the queried data to the user. While users are browsing data, some users have a need to keep records of the content they are browsing, or users have a need to keep records of part of the browsed content. Optionally, the first operation instruction may be generated after the user performs a related operation, and when the first operation instruction is detected on the browser interface, the selected content and the content of the webpage currently displayed on the browser interface are acquired. Links to web pages.

其中,被选择的内容为可以是文字、图片、音视频等,内容类型可以是新闻、科教、音乐、或影视等。可选的,被选择的内容和网页的链接是一一对应的,也即,被选择的内容如果确定,其对应的网页的链接也是确定的,反之,网页的链接如果,其对应的内容也是确定的,被选择的内容是网页的链接对应的内容的全部或部分。Wherein, the selected content may be text, pictures, audio and video, etc., and the type of content may be news, science and education, music, or video. Optionally, there is a one-to-one correspondence between the selected content and the link of the web page, that is, if the selected content is determined, the link of the corresponding web page is also determined; otherwise, if the link of the web page is determined, the corresponding content is also It is determined that the selected content is all or part of the content corresponding to the link of the web page.

S120、将被选择的内容和链接记录到笔记文件中进行保存。S120. Record the selected content and link into a note file for saving.

其中,将被选择的内容和链接记录到笔记文件中进行保存。可选的,笔记文件可以是一个文档,如Microsoft Word文档、Microsoft PowerPoint演示文稿或Text文档等;笔记文件还可以是具有记录功能的应用程序的开发方自身定义的笔记文件,如XX云笔记等。Wherein, the selected content and link are recorded into the note file for preservation. Optionally, the note file can be a document, such as Microsoft Word document, Microsoft PowerPoint presentation or Text document, etc.; the note file can also be a note file defined by the developer of the application with recording function, such as XX cloud notes, etc. .

在一个具体的例子中,可以是用户每天新建一个笔记文件,将被选择的内容和链接记录到当天建立的笔记文件中进行保存,具体的实现方式可以是给当天新建的笔记文件添加一个时间戳来唯一标识该笔记文件,这里不做具体限定。可选的,也可以根据用户的需求预先打开需要记录到的笔记文件,例如,先对选择的内容和链接进行复制操作,然后在预先打开的笔记文件中粘贴相应的内容。In a specific example, the user can create a new note file every day, and record the selected content and links to the note file created on that day for storage. The specific implementation method can be to add a time stamp to the note file created on that day To uniquely identify the note file, there is no specific limitation here. Optionally, the note file to be recorded can also be pre-opened according to the needs of the user, for example, the selected content and link are copied first, and then the corresponding content is pasted into the pre-opened note file.

可选的,所述链接在所述笔记文件中作为被选择内容的属性信息进行隐藏记录。Optionally, the link is hidden and recorded in the note file as attribute information of the selected content.

其中,网页链接在笔记文件中不直接显示出来,而是作为被选择内容的属性信息进行隐藏记录。可选的,被选择内容的属性信息可以是其链接、内容类型、存储位置、大小、占用空间、创建时间、修改时间或访问时间等。将网页链接作为被选择内容的属性信息进行隐藏记录增强了用户视觉显示效果,使用户可以简单直观查看被选择内容。Wherein, the webpage link is not directly displayed in the note file, but is hidden and recorded as attribute information of the selected content. Optionally, the attribute information of the selected content may be its link, content type, storage location, size, occupied space, creation time, modification time or access time, etc. Hiding and recording the web page link as the attribute information of the selected content enhances the user's visual display effect, so that the user can view the selected content simply and intuitively.

本发明实施例中,通过在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接,将被选择的内容和链接记录到笔记文件中进行保存。实现直接在浏览器页面操作生成带网页的链接的笔记文件;笔记文件的生成过程中无需来回切换原网页;同时,保存的链接便于用户后续查看笔记的来源In the embodiment of the present invention, when the interface of the browser detects the first operation instruction, the selected content and the link of the webpage in the webpage currently displayed on the interface of the browser are acquired, and the selected content and link Record to note file for saving. Realize the generation of note files with links to webpages directly on the browser page; there is no need to switch back and forth to the original webpage during the generation of note files; at the same time, the saved link is convenient for users to view the source of notes later

实施例二Embodiment two

图2为本发明实施例二提供的一种笔记生成的方法的流程图,本实施例在上述实施例的基础上实现。参考图2,该方法具体可以包括如下步骤:FIG. 2 is a flow chart of a method for generating notes provided by Embodiment 2 of the present invention. This embodiment is implemented on the basis of the foregoing embodiments. Referring to Figure 2, the method specifically may include the following steps:

S210、当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接。S210. When the first operation instruction is detected on the interface of the browser, acquire the selected content in the webpage currently displayed on the interface of the browser and the link of the webpage.

S220、将被选择的内容和链接记录到所述笔记文件中进行保存。S220. Record and save the selected content and link in the note file.

S230、当在所述笔记文件的显示界面中检测到第二操作指令时,打开所述笔记文件中记录的链接指向的网页。S230. When a second operation instruction is detected on the display interface of the note file, open the webpage pointed to by the link recorded in the note file.

具体的,被选择的内容和链接记录到相应的笔记文件进行保存后,当用户有查看被选择内容的需求时执行对应的动作,笔记文件的显示界面中检测到相应的操作指令。当在笔记文件的显示界面中检测到第二操作指令时,打开笔记文件中记录的链接指向的网页,使得用户可以在查看笔记文件中记录的内容的同时,能够查看该内容的来源。Specifically, after the selected content and link are recorded in the corresponding note file and saved, when the user needs to view the selected content, the corresponding action is executed, and the corresponding operation instruction is detected in the display interface of the note file. When the second operation instruction is detected in the display interface of the note file, the webpage pointed to by the link recorded in the note file is opened, so that the user can check the source of the content while viewing the content recorded in the note file.

可选的,所述第一操作指令包括在鼠标右键弹出的菜单中检测到笔记生成指令;所述第二操作指令包括在鼠标右键弹出的菜单中检测到链接访问指令。Optionally, the first operation instruction includes detecting a note generation instruction in a menu popped up by a right mouse button; the second operation instruction includes detecting a link access instruction in a menu popped up by a right mouse button.

其中,第一操作指令包括在鼠标右键弹出的菜单中检测到的笔记生成指令,在鼠标右键弹出的菜单中包括可以对被选择内容进行的相关操作,如粘贴、字体或段落等,可选的,笔记生成指令可以是“发送到XX笔记”;第二操作指令包括鼠标右键弹出的菜单中检测到链接访问指令,在鼠标右键弹出的菜单中包括可以对相应的笔记文件记录的文件进行的相关操作,如撤销、打开原文链接等,可选的,链接访问指令可以是“打开原文链接”。示例性的,第一操作指令和第二操作指令可以通过安装开发者开发的插件等来实现。需要说明的是,上述的鼠标右键弹出的菜单也可以是通过点击预设的快捷键来实现菜单的弹出。Wherein, the first operation instruction includes a note generation instruction detected in the menu popped up by the right mouse button, and the menu popped up by the right button of the mouse includes related operations that can be performed on the selected content, such as paste, font or paragraph, etc., optional , the note generation command can be "send to XX note"; the second operation command includes detecting a link access command in the pop-up menu of the right mouse button, and the pop-up menu of the right mouse button includes related files that can be recorded in the corresponding note file Operations, such as canceling, opening the link of the original text, etc., optionally, the link access instruction can be "open the link of the original text". Exemplarily, the first operation instruction and the second operation instruction may be realized by installing a plug-in developed by a developer or the like. It should be noted that, the menu popped up by the above-mentioned right mouse button may also be realized by clicking a preset shortcut key.

本发明实施例中,通过在将被选择的内容和链接记录到笔记文件中进行保存后,在所述笔记文件的显示界面中检测到第二操作指令时,打开所述笔记文件中记录的链接指向的网页。实现了在查询笔记文件内容的同时,可以查看笔记内容的来源,也即,笔记文件记录的链接指向的网页。In the embodiment of the present invention, after the selected content and link are recorded in the note file for saving, when the second operation instruction is detected in the display interface of the note file, the link recorded in the note file is opened The webpage that points to. It is realized that while querying the content of the note file, the source of the content of the note can be viewed, that is, the web page pointed to by the link recorded in the note file.

实施例三Embodiment three

图3a为本发明实施例三提供的一种笔记生成的方法的流程图,本实施例中,所述笔记文件存储在网络存储空间中,本实施例在上述实施例的基础上实现。参考图3a,该方法具体可以包括如下步骤:Fig. 3a is a flow chart of a method for generating notes provided by Embodiment 3 of the present invention. In this embodiment, the note files are stored in a network storage space, and this embodiment is implemented on the basis of the above-mentioned embodiments. Referring to Figure 3a, the method specifically may include the following steps:

S310、建立所述浏览器的第一用户标识与所述网络存储空间的第二用户标识之间的关联。S310. Establish an association between the first user identifier of the browser and the second user identifier of the network storage space.

其中,浏览器的第一用户标识可以是浏览器的种类,例如,猎豹浏览器、QQ浏览器或搜狗浏览器等;浏览器的第一用户标识还可以是某个浏览器下用户注册时使用的用户名等。网络存储空间的第二用户标识可以是用户在注册网络存储空间时使用的用户名等。在一个具体的例子中,若浏览器的第一用户标识为“june_841875980”,网络存储空间的第二用户标识为“奋斗123_fight”,。建立浏览器的第一用户标识与网络存储空间的第二用户标识之间的关联,关联后,带有第一用户标识的浏览器和第二用户标识的网络存储空间可以通过相关控制指令的控制进行内容的交互。Wherein, the first user identifier of the browser can be the type of browser, for example, Cheetah browser, QQ browser or Sogou browser, etc.; the first user identifier of the browser can also be used when a user registers under a certain browser username, etc. The second user identifier of the network storage space may be a user name or the like used by the user when registering the network storage space. In a specific example, if the first user ID of the browser is "june_841875980", the second user ID of the network storage space is "恩123_fight". Establish the association between the first user ID of the browser and the second user ID of the network storage space. After the association, the browser with the first user ID and the network storage space of the second user ID can be controlled by relevant control instructions Interact with content.

可选的,网络存储空间起到文件存储的作用,将需要存储的文件存储到相应的网络存储空间,以供用户在有特定需求时进行查阅。Optionally, the network storage space plays a role of file storage, and the files to be stored are stored in the corresponding network storage space for users to consult when they have specific needs.

S320、当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接。S320. When the first operation instruction is detected on the interface of the browser, acquire the selected content in the webpage currently displayed on the interface of the browser and the link of the webpage.

S330、将被选择的内容和链接记录到笔记文件中进行保存,其中,所述笔记文件存储在所述浏览器的第一用户标识关联的第二用户标识对应的网络存储空间中。S330. Record and save the selected content and link in a note file, wherein the note file is stored in a network storage space corresponding to a second user ID associated with the first user ID of the browser.

具体的,网络存储空间通常为与浏览器的第一用户标识关联的第二用户标识对应的网络存储空间,所述笔记文件存储在该网络存储空间中,将被选择的内容和链接记录到笔记文件中进行保存。Specifically, the network storage space is usually the network storage space corresponding to the second user identification associated with the first user identification of the browser, the note file is stored in the network storage space, and the selected content and link are recorded in the note Save in the file.

本发明实施例中,通过建立所述浏览器的第一用户标识与所述网络存储空间的第二用户标识之间的关联,将被选择的内容和链接记录到所述笔记文件中进行保存,所述笔记文件存储在所述浏览器的第一用户标识关联的第二用户标识对应的网络存储空间中。实现了将被选择内容和链接定向保存到对应的网络存储空间中,方便用户对被选择内容的查询。In the embodiment of the present invention, by establishing an association between the first user ID of the browser and the second user ID of the network storage space, the selected content and link are recorded in the note file for preservation, The note file is stored in the network storage space corresponding to the second user ID associated with the first user ID of the browser. It realizes saving the selected content and link direction in the corresponding network storage space, which is convenient for the user to query the selected content.

在上述实施例的基础上,在一个具体的例子中,对一种笔记生成的方法在应用场景进行了阐述。图3b示出了一种笔记生成的方法中获取笔记操作的界面显示图,图3c示出了一种笔记生成的方法中打开笔记文件操作的界面显示图。在该具体的例子中,在浏览器中,确定好要选择的内容,在图3b中,340为被选择的内容,350是在获取被选择内容和网页链接时鼠标右键弹出来的菜单,该菜单中包括若干个指令,这里仅用省略号来示意,对指令的名称和数量不做限定,360为笔记生成指令,在该实施例中,笔记生成指令360具体为“发送到网络笔记”;在图3c中,370是网络笔记中需要查看来源的笔记内容,380是打开记录的链接指向的网页时鼠标右键弹出来的菜单,该菜单中包括若干个指令,这里仅用省略号来示意,对指令的名称和数量不做限定,390为链接访问指令,在该实施例中,链接访问指令390具体为“打开原文链接”。需要说明的是,由于弹出的菜单键可能会对被选择内容产生覆盖,因此,340只是示例性的显示被选择的内容。用户在浏览器的界面有点击鼠标右键的操作时,检测到鼠标右键弹出来的菜单中的笔记生成指令360时,也即“发送到网络笔记”的指令;将被选择的内容和链接记录到网络笔记中进行保存;在网络笔记的显示界面中,当用户需要查看网络笔记内容的来源时进行点击鼠标右键的操作,检测到鼠标右键弹出来的菜单中的链接访问指令时,在该具体的例子中,用户点击链接访问指令390,也即“打开原文链接”的指令,则用户可以查看网络笔记中记录的链接指向的网页。On the basis of the above embodiments, in a specific example, a method for generating notes is described in an application scenario. Fig. 3b shows an interface display diagram of an operation of acquiring notes in a method for generating notes, and Fig. 3c shows an interface display diagram of an operation of opening a note file in a method of generating notes. In this specific example, in the browser, the content to be selected is determined. In FIG. 3b, 340 is the selected content, and 350 is the menu popped up by the right mouse button when obtaining the selected content and web page link. The menu includes several instructions, which are only indicated by ellipsis here, and the name and quantity of the instructions are not limited. 360 is a note generation instruction. In this embodiment, the note generation instruction 360 is specifically "send to network notes"; In Fig. 3c, 370 is the content of the note in the network note that needs to be checked, and 380 is the menu popped up by the right mouse button when opening the webpage pointed to by the link of the record. 390 is a link access instruction, and in this embodiment, the link access instruction 390 is specifically "open the original text link". It should be noted that, since the pop-up menu key may cover the selected content, 340 is only an exemplary display of the selected content. When the user clicks the right mouse button on the browser interface, when the note generation command 360 in the menu popped up by the right mouse button is detected, that is, the command "send to the network note"; the selected content and link are recorded in Save in the network note; in the display interface of the network note, when the user needs to view the source of the content of the network note, click the right mouse button, and when the link access command in the menu popped up by the right mouse button is detected, in the specific In the example, the user clicks on the link to access the instruction 390, that is, the instruction of "open the link of the original text", then the user can view the webpage pointed to by the link recorded in the web note.

在该具体的例子中,用户在查看网络笔记中记录的内容的同时,可以点击“打开原文链接”,查看对应的来源,方便了用户。In this specific example, while viewing the content recorded in the network notes, the user can click "open the link to the original text" to view the corresponding source, which is convenient for the user.

实施例四Embodiment four

图4是本发明是实施例四提供的一种笔记生成的装置的结构示意图,该装置适用于执行本发明实施例提供的一种笔记生成的方法。参考图4,该装置具体可以包括:FIG. 4 is a schematic structural diagram of a device for generating notes provided in Embodiment 4 of the present invention, and the device is suitable for executing a method for generating notes provided in Embodiments of the present invention. Referring to Figure 4, the device specifically may include:

获取模块410,用于当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接;The acquiring module 410 is configured to acquire the selected content and the link of the webpage in the webpage currently displayed on the browser interface when the first operation instruction is detected on the browser interface;

记录与保存模块420,用于将被选择的内容和链接记录到所述笔记文件中进行保存。The recording and saving module 420 is configured to record the selected content and link into the note file for saving.

进一步的,所述装置还包括:Further, the device also includes:

控制模块,用于将被选择的内容和链接保存到笔记文件之后,当在所述笔记文件的显示界面中检测到第二操作指令时,打开所述笔记文件中记录的链接指向的网页。The control module is configured to open the webpage pointed to by the link recorded in the note file when a second operation instruction is detected in the display interface of the note file after the selected content and link are saved in the note file.

进一步的,所述笔记文件存储在网络存储空间中;Further, the note file is stored in a network storage space;

所述装置还包括建立模块,用于在所述当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接之前,建立所述浏览器的第一用户标识与所述网络存储空间的第二用户标识之间的关联;The device also includes a building module, configured to obtain the selected content in the webpage currently displayed on the browser interface and the link of the webpage when the first operation instruction is detected on the browser interface , establishing an association between the first user identifier of the browser and the second user identifier of the network storage space;

所述记录与保存模块具体用于,将被选择的内容和链接记录到所述笔记文件中进行保存,其中,所述笔记文件存储在所述浏览器的第一用户标识关联的第二用户标识对应的网络存储空间中。The recording and saving module is specifically configured to record the selected content and links into the note file for storage, wherein the note file is stored in the second user ID associated with the first user ID of the browser corresponding network storage space.

进一步的,所述链接在所述笔记文件中作为被选择内容的属性信息进行隐藏记录。Further, the link is hidden and recorded in the note file as attribute information of the selected content.

进一步的,所述第一操作指令包括在鼠标右键弹出的菜单中检测到笔记生成指令;所述第二操作指令包括在鼠标右键弹出的菜单中检测到链接访问指令。Further, the first operation instruction includes detecting a note generation instruction in a menu popped up by the right mouse button; the second operation instruction includes detecting a link access instruction in a menu popped up by the right mouse button.

本发明实施例提供的笔记生成的装置可执行本发明任意实施例提供的笔记生成的方法,具备执行方法相应的功能模块和有益效果。The device for generating notes provided in the embodiments of the present invention can execute the method for generating notes provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the methods.

实施例五Embodiment five

图5为本发明实施例五提供的一种计算机设备的结构示意图。图5示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图5显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of a computer device provided by Embodiment 5 of the present invention. Figure 5 shows a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 5 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.

如图5所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 5, computer device 12 takes the form of a general-purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16 , system memory 28 , bus 18 connecting various system components including system memory 28 and processing unit 16 .

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. These architectures include, by way of example, but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12 and include both volatile and nonvolatile media, removable and non-removable media.

系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a disk drive for reading and writing to removable nonvolatile disks (e.g., "floppy disks") may be provided, as well as for removable nonvolatile optical disks (e.g., CD-ROM, DVD-ROM or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including - but not limited to - an operating system, one or more application programs, other program Modules and program data, each or some combination of these examples may include the implementation of the network environment. Program modules 42 generally perform the functions and/or methodologies of the described embodiments of the invention.

计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图5中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and/or with Any device (eg, network card, modem, etc.) that enables the computing device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Also, the computer device 12 can also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN) and/or a public network, such as the Internet) through the network adapter 20 . As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18 . It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape Drives and data backup storage systems, etc.

处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的笔记生成的方法:The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, realizing the method of note generation provided by the embodiment of the present invention:

也即,所述处理单元执行所述程序时实现:当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接;将被选择的内容和链接记录到笔记文件中进行保存。That is, when the processing unit executes the program, it realizes: when the first operation instruction is detected on the interface of the browser, the content selected in the webpage currently displayed on the interface of the browser and the link of the webpage are acquired ;Record the selected content and link to the note file for saving.

实施例六Embodiment six

本发明实施例六提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的笔记生成的方法:Embodiment 6 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for generating notes as provided by all the invention embodiments of the present application is realized:

也即,该程序被处理器执行时实现:当在浏览器的界面检测到第一操作指令时,获取所述浏览器的界面当前显示的网页中被选择的内容和所述网页的链接;将被选择的内容和链接记录到笔记文件中进行保存。That is, when the program is executed by the processor, it realizes: when the browser interface detects the first operation instruction, obtain the selected content and the link of the webpage currently displayed on the browser interface; The selected content and links are recorded in the note file for saving.

可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including - but not limited to - wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (12)

CN201710561021.4A2017-07-112017-07-11Method, device, equipment and storage medium for generating notesPendingCN107368568A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710561021.4ACN107368568A (en)2017-07-112017-07-11Method, device, equipment and storage medium for generating notes

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710561021.4ACN107368568A (en)2017-07-112017-07-11Method, device, equipment and storage medium for generating notes

Publications (1)

Publication NumberPublication Date
CN107368568Atrue CN107368568A (en)2017-11-21

Family

ID=60306043

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710561021.4APendingCN107368568A (en)2017-07-112017-07-11Method, device, equipment and storage medium for generating notes

Country Status (1)

CountryLink
CN (1)CN107368568A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109710144A (en)*2018-12-052019-05-03掌阅科技股份有限公司Notes page processing method, computer equipment and the storage medium of notebook
CN110032687A (en)*2019-01-282019-07-19阿里巴巴集团控股有限公司A kind for the treatment of method and apparatus of web page contents
CN112650953A (en)*2020-12-182021-04-13北京小米移动软件有限公司Method of recording copied contents, apparatus for recording copied contents, and storage medium
CN112905929A (en)*2019-12-032021-06-04北京沃东天骏信息技术有限公司Method, device, equipment and computer readable medium for saving webpage content
CN113168496A (en)*2018-12-242021-07-23深圳市柔宇科技股份有限公司 Note synchronization method, system and related device
CN113191125A (en)*2021-05-212021-07-30湖南万达项目管理有限公司Method and device for arranging engineering consultation data and storage medium
CN114117269A (en)*2022-01-262022-03-01荣耀终端有限公司Memorandum information collection method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101079059A (en)*2007-03-272007-11-28腾讯科技(深圳)有限公司System, method and browser for keeping web page content
WO2010025945A1 (en)*2008-09-052010-03-11Torsten MaulMethod for attaching electronic notes to web sites and communicating such notes over the internet
CN101950303A (en)*2010-09-292011-01-19唐晨辉Implementation method and system of browser with webpage excerpting function
CN102081645A (en)*2006-05-102011-06-01谷歌公司Web notebook tools
CN102651016A (en)*2012-03-302012-08-29北京英富森信息技术有限公司Desktop information collecting system and method based on user computer terminal
CN103235776A (en)*2006-05-102013-08-07谷歌公司Presenting search result information
CN104769581A (en)*2012-10-302015-07-08微软公司System and method for providing linked note-taking

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102081645A (en)*2006-05-102011-06-01谷歌公司Web notebook tools
CN103235776A (en)*2006-05-102013-08-07谷歌公司Presenting search result information
CN101079059A (en)*2007-03-272007-11-28腾讯科技(深圳)有限公司System, method and browser for keeping web page content
WO2010025945A1 (en)*2008-09-052010-03-11Torsten MaulMethod for attaching electronic notes to web sites and communicating such notes over the internet
CN101950303A (en)*2010-09-292011-01-19唐晨辉Implementation method and system of browser with webpage excerpting function
CN102651016A (en)*2012-03-302012-08-29北京英富森信息技术有限公司Desktop information collecting system and method based on user computer terminal
CN104769581A (en)*2012-10-302015-07-08微软公司System and method for providing linked note-taking

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109710144A (en)*2018-12-052019-05-03掌阅科技股份有限公司Notes page processing method, computer equipment and the storage medium of notebook
CN113168496A (en)*2018-12-242021-07-23深圳市柔宇科技股份有限公司 Note synchronization method, system and related device
CN110032687A (en)*2019-01-282019-07-19阿里巴巴集团控股有限公司A kind for the treatment of method and apparatus of web page contents
CN110032687B (en)*2019-01-282023-08-01创新先进技术有限公司Webpage content processing method and device
CN112905929A (en)*2019-12-032021-06-04北京沃东天骏信息技术有限公司Method, device, equipment and computer readable medium for saving webpage content
CN112650953A (en)*2020-12-182021-04-13北京小米移动软件有限公司Method of recording copied contents, apparatus for recording copied contents, and storage medium
CN113191125A (en)*2021-05-212021-07-30湖南万达项目管理有限公司Method and device for arranging engineering consultation data and storage medium
CN114117269A (en)*2022-01-262022-03-01荣耀终端有限公司Memorandum information collection method and device, electronic equipment and storage medium
CN114117269B (en)*2022-01-262022-09-20荣耀终端有限公司Memo information collection method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN107368568A (en)Method, device, equipment and storage medium for generating notes
US10437443B1 (en)Multiple-application mobile device methods, systems, and computer program products
US9703777B2 (en)Translating textual information of an application
CN109992589A (en)Method, apparatus, server and the medium of SQL statement are generated based on visual page
US20080120553A1 (en)Remote gui control by replication of local interactions
US20150128017A1 (en)Enabling interactive screenshots within collaborative applications
CN107766499A (en)Page jump method, device, equipment and storage medium
CN106844181B (en)Method, system and mobile terminal for recording user behavior
CN110968305A (en) Small program visualization generation method, device, device and storage medium
CN107729768B (en) A page display method, device, smart tablet and storage medium
US20140081967A1 (en)Methods, Systems, and Program Products for Distinguishing Tags for a Resource
CN110347349A (en)The method, apparatus and computer equipment of specified content are printed in browser
CN108958731B (en)Application program interface generation method, device, equipment and storage medium
US20080016488A1 (en)Output styling in an IDE console
CN104679722B (en)For the method and system that data form is multidimensional
US20160179978A1 (en)Undo and redo of content specific operations
WO2020232900A1 (en)System test method and apparatus, computer device and storage medium
CN114816372A (en)Code generation method and device, electronic equipment and storage medium
US20140081624A1 (en)Methods, Systems, and Program Products for Navigating Tagging Contexts
CN114579461A (en) Browser compatibility detection method and related equipment
CN106815010A (en)A kind of method and device of operating database
CN113765731B (en) Information processing method, device, and computer-readable storage medium
CN109948251B (en)CAD-based data processing method, device, equipment and storage medium
WO2021104322A1 (en)Method and apparatus for saving annotation data
CN103761020A (en)Shortcut navigating method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20171121

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp