CN106156189B - Label generation method and device, and information acquisition method and device - Google Patents

Label generation method and device, and information acquisition method and device Download PDF

Info

Publication number
CN106156189B
CN106156189B CN201510190995.7A CN201510190995A CN106156189B CN 106156189 B CN106156189 B CN 106156189B CN 201510190995 A CN201510190995 A CN 201510190995A CN 106156189 B CN106156189 B CN 106156189B
Authority
CN
China
Prior art keywords
label
tag
page
position information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510190995.7A
Other languages
Chinese (zh)
Other versions
CN106156189A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510190995.7A priority Critical patent/CN106156189B/en
Publication of CN106156189A publication Critical patent/CN106156189A/en
Application granted granted Critical
Publication of CN106156189B publication Critical patent/CN106156189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a label generation method and a device, and an information acquisition method and a device, wherein the method comprises the steps of acquiring a label identifier contained in an information acquisition request when the information acquisition request input by a user is received; according to the obtained label identification, position information corresponding to the label identification is obtained from a preset corresponding relation set; wherein, the corresponding relation set comprises the corresponding relation between the label and the position information; and jumping from the currently presented page part in the multi-screen page to the page part corresponding to the position information according to the acquired position information. By adopting the technical scheme of the invention, the labels are set in the multi-screen pages according to the user requirements, when the user needs to browse the specified information, the displayed current page is directly switched to the page corresponding to the label, manual searching is not needed, the complexity of information acquisition is reduced, and the efficiency of information acquisition is effectively improved.

Description

Label generation method and device, and information acquisition method and device
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a tag generation method and apparatus, and an information acquisition method and apparatus.
Background
With the development of internet technology, the internet has become an important way for network users to obtain information, resources and the like. A user can acquire network resources through various browsers, and in the process that the user acquires the network resources through the browsers, the situation that a page contains more contents and needs to be displayed by multiple screens often exists.
At present, a multi-screen content is usually displayed in a page presented by a browser in a form of setting a scroll bar, and the content that can be presented in the current page is adjusted through the scroll bar, so that presentation of all content in the multi-screen page is realized. For example, referring to FIG. 1, a multi-screen page presented by a browser in the prior art is shown. By adopting the technical scheme, when the multi-screen page presented by the browser contains the information A and the information B, and the distance between the information A and the information B is larger than the length of the one-screen page, if the user needs to return to browse the information A when browsing the information B, the page where the information A is located needs to be searched manually through the scroll bar, so that the complexity of information search is increased, and the time of information search is prolonged; in addition, after the multi-screen page is closed, if the user needs to browse the information a and the information B again, both the information a and the information B need to be searched again, and the information searching efficiency is reduced.
Therefore, the problems of high information acquisition complexity and long information acquisition time exist in the process of acquiring the information to be searched on the multi-screen page presented by the browser at present.
Disclosure of Invention
The embodiment of the application provides a tag generation method and device and an information acquisition method and device, and aims to solve the problems of high information acquisition complexity and long information acquisition time in the process of acquiring information to be searched on a multi-screen page presented by a browser at present.
The embodiment of the application provides the following specific technical scheme:
a tag generation method, comprising: when a tag adding instruction input by a user is received, acquiring position information of a tag to be added in the multi-screen page; acquiring the label attribute contained in the label adding instruction; generating a label corresponding to the label attribute in a designated area of the multi-screen page according to the position information of the label to be added; the designated area is an area which can be presented in any one screen page in the multi-screen page; establishing a corresponding relation between the position information of the label to be added and the identifier of the label to be added; and storing the corresponding relation.
Optionally, the starting position of the multi-screen page is used as a reference position; acquiring a first distance between a current page starting position and the reference position and a second distance between the current page starting position and the current page ending position; determining the obtained first distance and the second distance as the position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in a current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; the current page is a page in the multi-screen pages, and the current page is a page presented at the current moment; or acquiring a page identifier of the selected information corresponding to the tag to be added in the multi-screen page; and determining the acquired page identification as the position information of the tag to be added in the multi-screen page.
Optionally, when the attribute of the tag is a color, in the designated area, displaying the tag to be added as a color included in the tag adding instruction; when the label attribute is character information, displaying the label to be added in the designated area, and displaying the character information in a preset range taking the label to be added as a center; and when the label attribute is a shape, displaying the label to be added as the shape contained in the label adding instruction in the specified area.
Optionally, storing the corresponding relationship in a local corresponding relationship set; or transmitting the corresponding relation to a server through a network, and storing the corresponding relation to a corresponding relation set by the server.
Further, when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type, which are contained in the tag editing instruction; when the editing type is a label deleting type, deleting a label corresponding to the identifier of the label to be edited from the designated area; and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited from the specified area to the tag attribute contained in the tag editing instruction.
An information acquisition method is applied to a multi-screen page, wherein the multi-screen page comprises a label generated by the method, and the information acquisition method comprises the following steps: receiving an information acquisition request input by a user, wherein the information acquisition request comprises a generated label identification of information to be acquired; according to the label identification, acquiring position information corresponding to the label identification from a preset corresponding relation set; the corresponding relation set comprises a corresponding relation between the label identification and the position information of the information to be acquired; and jumping to a page corresponding to the position information from a currently presented page in the multi-screen pages according to the acquired position information.
Optionally, when the corresponding relationship set is stored locally, location information corresponding to the tag identifier of the information to be acquired is searched locally; when the corresponding relation set is stored in a server, sending a position information acquisition request to the server, wherein the position information acquisition request comprises a label identifier of the information to be acquired; and receiving a position information acquisition response sent by the server, wherein the position information acquisition response comprises position information corresponding to the label identification of the information to be acquired.
A label generation apparatus comprising: the system comprises a position information acquisition unit, a label adding unit and a label adding unit, wherein the position information acquisition unit is used for acquiring the position information of a label to be added in the multi-screen page when a label adding instruction input by a user is received; a tag attribute acquisition unit configured to acquire a tag attribute included in the tag addition instruction; the tag generation unit is used for generating tags corresponding to the tag attributes in the designated area of the multi-screen page according to the position information of the tags to be added; the designated area is an area which can be presented in any one screen page in the multi-screen page; a corresponding relation establishing unit, configured to establish a corresponding relation between the position information of the tag to be added and the identifier of the tag to be added; and the storage unit is used for storing the corresponding relation.
Optionally, the location information obtaining unit is specifically configured to: taking the initial position of the multi-screen page as a reference position; acquiring a first distance between a current page starting position and the reference position and a second distance between the current page starting position and the current page ending position; determining the obtained first distance and the second distance as the position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in a current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; the current page is a page in the multi-screen pages, and the current page is a page presented at the current moment; or acquiring a page identifier of the selected information corresponding to the tag to be added in the multi-screen page; and determining the acquired page identification as the position information of the tag to be added in the multi-screen page.
Optionally, the tag generating unit is specifically configured to: when the label attribute is color, displaying the label to be added as the color contained in the label adding instruction in the specified area; when the label attribute is character information, displaying the label to be added in the designated area, and displaying the character information in a preset range taking the label to be added as a center; and when the label attribute is a shape, displaying the label to be added as the shape contained in the label adding instruction in the specified area.
Optionally, the tag generating unit is specifically configured to: storing the corresponding relation into a local corresponding relation set; or transmitting the corresponding relation to a server through a network, and storing the corresponding relation to a corresponding relation set by the server.
Further, the system further comprises an editing unit, configured to: when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type which are contained in the tag editing instruction; when the editing type is a label deleting type, deleting a label corresponding to the identifier of the label to be edited from the designated area; and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited from the specified area to the tag attribute contained in the tag editing instruction.
An information acquisition device is applied to a multi-screen page, wherein the multi-screen page includes a tag generated by a tag generation device, and the information acquisition device includes: the receiving unit is used for receiving an information acquisition request input by a user, wherein the information acquisition request comprises a generated label identifier of information to be acquired; the position information acquisition unit is used for acquiring position information corresponding to the label identification from a preset corresponding relation set according to the label identification; the corresponding relation set comprises a corresponding relation between the label identification and the position information of the information to be acquired; and the skipping unit is used for skipping from the currently presented page in the multi-screen page to the page corresponding to the position information according to the acquired position information.
The position information obtaining unit is specifically configured to: when the corresponding relation set is stored locally, searching the position information corresponding to the label identification of the information to be acquired from the local; when the corresponding relation set is stored in a server, sending a position information acquisition request to the server, wherein the position information acquisition request comprises a label identifier of the information to be acquired; and receiving a position information acquisition response sent by the server, wherein the position information acquisition response comprises position information corresponding to the label identification of the information to be acquired.
In the embodiment of the application, when a terminal receives a tag adding instruction input by a user, corresponding tags are added in a multi-screen page according to position information and tag attributes contained in the tag adding instruction, and a corresponding relation between tag identifications and position information is established; when an information acquisition request input by a user is received, acquiring a tag identifier contained in the information acquisition request; acquiring position information corresponding to the label identification according to the acquired label identification; and jumping from the currently presented page in the multi-screen page to a page corresponding to the position information according to the acquired position information. By adopting the technical scheme, the tags are set in the multi-screen pages according to the user requirements, the designated information is marked through the tags, when the user needs to browse the designated information, the current page is directly switched to the page corresponding to the tags, manual searching is not needed, the complexity of information acquisition is reduced, and the efficiency of information acquisition is effectively improved.
Drawings
FIG. 1 is a diagram illustrating a multi-screen page presented by a browser in the prior art;
FIG. 2 is a flow chart of tag generation in an embodiment of the present application;
FIG. 3 is a schematic diagram of a designated area in an embodiment of the present application;
FIGS. 4a and 4b are schematic diagrams illustrating tag attribute setting in an embodiment of the present application;
FIG. 5 is a flow chart of information acquisition in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a tag generation apparatus in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an information acquisition apparatus according to an embodiment of the present invention.
Detailed Description
The method and the device aim to solve the problems of high information acquisition complexity and long information acquisition time in the process of acquiring the information to be searched on the multi-screen page presented by the browser at present. In the embodiment of the application, when a terminal receives a tag adding instruction input by a user, corresponding tags are added in a multi-screen page according to position information and tag attributes contained in the tag adding instruction, and a corresponding relation between tag identifications and position information is established; when an information acquisition request input by a user is received, acquiring a tag identifier contained in the information acquisition request; acquiring position information corresponding to the label identification according to the acquired label identification; and jumping to the page corresponding to the position information from the currently presented page according to the acquired position information. By adopting the technical scheme, the tags are set in the multi-screen pages according to the user requirements, the designated information is marked through the tags, when the user needs to browse the designated information, the current page is directly switched to the page corresponding to the tags, manual searching is not needed, the complexity of information acquisition is reduced, and the efficiency of information acquisition is effectively improved.
The embodiment of the application can be applied to various application scenes capable of presenting multi-screen pages, for example, multi-screen pages presented by a browser, multi-screen pages presented by a PDF, and the like. Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 2, in the embodiment of the present application, a tag generation process includes:
step 200: when a tag adding instruction input by a user is received, position information of a tag to be added in a multi-screen page is acquired.
In the embodiment of the application, a user can browse the multi-screen page through the terminal and set one or more labels in the multi-screen page. The multi-screen page comprises content larger than one screen page, each screen page comprises display information and a designated area, and the designated area is used for presenting the generated label; optionally, the designated area is a position of a scroll bar in the multi-screen page (see fig. 3). The terminal is a terminal with a user interaction interface, such as a personal computer, a mobile phone, a tablet computer, and a server with a user interaction interface.
Optionally, the user may select the designated area through a right key, and when the terminal detects a right key selection instruction of the user, a tag adding option is presented in the current page; when the terminal detects that a user selects a tag adding option, a tag adding operation interface is presented; the operation interface for adding the label comprises a label attribute option and a confirmation label adding option. Further, a control handle (shown in fig. 4 a) is also included in the designated area, and when the terminal detects that the user selects the control handle, the terminal indicates that the user sends a tag generation instruction to the terminal.
The method comprises the following steps that a user browses information through a terminal, and when the user needs to mark any item of information in a currently browsed page, the terminal executes the operation of generating a label, specifically: the terminal takes the initial position of the multi-screen page as a reference position; when the terminal detects a tag adding instruction input by a user, acquiring a first distance between a starting position of a current page and the reference position and a second distance between the starting position of the current page and an ending position of the current page; determining the obtained first distance and the second distance as position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in the current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; and the current page is a page in the multi-screen pages and is a page presented at the current moment.
For example, a current page presented in a multi-screen page of the terminal is a page Y, an initial position of the multi-screen page is a position a, the position a is located in the page X, and the position a is used as a reference position; a user needs to browse information a through a terminal, if the information a is located in the page Y, the terminal acquires the position A, and the longitudinal coordinate of the position A is set to be 0; the terminal obtains the initial position B of the page Y, if the position coordinate of the position B is Y1, the first distance between the position B and the position A is Y1, the length of one screen of the page is t according to the page size of the terminal, the length t is the second distance, and the terminal records the first distance Y1 and the second distance t. For another example, a current page presented in a multi-screen page of the terminal is a page Y, an initial position of the multi-screen page is a position a, the position a is located in the page X, and the position a is used as a reference position; a user needs to browse information a through a terminal, if the information a is located in the page Y, the terminal acquires the position A, and the longitudinal coordinate of the position A is set to be 0; and the terminal acquires the coordinates of the information a, the third distance from the position A to the information a is y2, and the terminal records the third distance y 2. By adopting the technical scheme, when the multi-screen page presented by the terminal does not contain page numbers, the terminal can still determine the position of the information to be acquired, and present the information to be acquired on the current page according to the user indication, so that the applicability is stronger.
Optionally, the terminal divides the content in the multi-screen page according to the number of screens that can be displayed by the current multi-screen page, and configures a corresponding identifier for each page according to the division result, where the identifier may be a page number, or may also be a text identifier or a letter identifier; and the terminal acquires the page identifier of the selected information and determines the page identifier as the position information of the tag to be added.
Optionally, the terminal may further record information selected by the user in the current page; presenting selected information editing options, wherein the information editing options comprise background colors which can be presented by the information; in addition, when the information is a character, the information editing options also comprise a font color and the like; when the information is a picture, the information editing options further include picture colors and the like, and a user can perform gray level adjustment, black and white degree adjustment, transparency adjustment and the like on various types of pictures through the information editing options.
Step 210: and acquiring the label attribute contained in the label adding instruction.
In the embodiment of the application, when a user inputs a tag adding instruction, the terminal presents a tag attribute option (shown in fig. 4 a) to the user, where the tag attribute includes a color attribute, a text attribute, a shape attribute, and the like; and the terminal configures the label attribute input by the user in the label attribute option for the label to be added. Specifically, when the user does not perform any operation on the tag attribute, the terminal will perform default tag attribute setting on the generated tag.
By adopting the technical scheme, different label attributes can be configured for the plurality of labels contained in the multi-screen page through the label attribute options, so that different labels can have obvious differences, a user can quickly identify the differences among the plurality of labels, the problem of long information acquisition time caused by the fact that the plurality of labels contained in the multi-screen page are identical in appearance is solved, and the information acquisition efficiency of the user is improved.
Step 220: and generating a label corresponding to the label attribute in a designated area of the multi-screen page according to the position information of the label to be added.
In this embodiment of the application, when a tag attribute option presented by the terminal is a color, the terminal displays the generated tag as a color included in the tag adding instruction in a designated area, for example, for a tag 1, a user selects yellow in the tag attribute option, the finally generated tag 1 is located in the designated area, the generated tag 1 is displayed as yellow, for a tag 2, the user selects green in the tag attribute option, the finally generated tag 2 is located in the designated area, and the generated tag 2 is displayed as green; when the label attribute option is a text input box, displaying the label in a designated area, and displaying the text information in a preset range with the label as a center, for example, regarding the label 3, a user inputs "perfume" in the label attribute option, the finally generated label 3 is located in the designated area, and the generated label 3 side displays "perfume", as shown in fig. 4 b; when the tag attribute option presented by the terminal is a shape, in the designated area, the generated tag is displayed as a shape included in the tag adding instruction, for example, for the tag 4, the user selects a circle in the tag attribute option, the finally generated tag 4 is located in the designated area, and the generated tag 4 is displayed as a circle, as shown in fig. 4 b. In addition, the tag attribute option may be a tag filling pattern, and at this time, the terminal displays the generated tag as a filling pattern included in the tag adding instruction in a predetermined area; for example, referring to fig. 4b, regarding the label 5, the user selects the filling pattern 1 in the label attribute option, the finally generated label 5 is located in the designated area, and the generated filling pattern of the label 5 is the filling pattern 1.
In the above technical solution, the terminal may set only any one of the tag attribute options, and the terminal may also set all of the items of the tag attribute, so that the generated tag has diversity and is convenient to distinguish.
Step 230: the terminal establishes a corresponding relation between the position information of the tag to be added and the identifier of the tag; and storing the established corresponding relation.
Specifically, the terminal stores the correspondence to a local correspondence set, and deletes the correspondence according to a user instruction, or periodically clears the correspondence which is included in the correspondence set and exceeds a preset time length. By adopting the technical scheme, the generated labels can be still stored under the condition of closing the multi-screen page, and when the user opens the multi-screen page again, the labels recorded before can be still acquired, so that the condition that the user needs to search the required information again is avoided, the information acquisition time is effectively saved, and the information acquisition efficiency is improved; and by adopting the technical scheme, the corresponding relation set is stored locally, when the user needs to browse the information marked before, the terminal can quickly respond to the user instruction, the information page needing to be browsed is presented to the user, the information page needing to be browsed can still be presented to the user under the condition of no network connection, the information acquisition process is quicker, and the reliability is higher.
In addition, the terminal can also transmit the corresponding relation to a server through a network, and the server stores the corresponding relation into a corresponding relation set. By adopting the technical scheme, the generated labels can be still stored under the condition that the application program capable of presenting the multi-screen page is closed, and when the user opens the multi-screen page again, the labels recorded before can be still acquired, so that the condition that the user needs to search for the required information again is avoided, the information acquisition time is effectively saved, and the information acquisition efficiency is improved; and, the corresponding relation set is stored in the server, so that the load of the terminal is reduced.
Based on the technical scheme, when a user needs to edit the generated label, the generated label can be edited by the terminal in the following way: when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type, wherein the identifier is contained in the tag editing instruction; when the editing type is a label deleting type, deleting a label corresponding to the label to be edited from the specified area; and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited into the tag attribute contained in the tag editing instruction from the specified area.
Optionally, the user may edit any one of the tags by selecting the tag in the terminal, where the selection may be left key selection, right key selection, or double-click mouse selection; specifically, when the terminal detects that the user selects any one of the tags, a tag editing option is displayed, and the user edits the any one of the tags through the tag editing option.
Optionally, when a user needs to perform the same tag editing operation on multiple tags at one time, the multiple tags may be edited at the same time through the terminal, specifically, after the terminal detects that the user selects the multiple tags in sequence, a tag editing instruction is input, and the terminal edits the multiple tags according to an editing type included in the tag editing instruction. By adopting the technical scheme, the labels which are not needed in the multi-screen page can be deleted, and when the multi-screen page contains a plurality of labels and a user needs to adopt the uniform label attribute to the same type of labels, the labels of the same type are marked through the label attribute editing option, so that the flexibility of label setting is improved.
By adopting the technical scheme, the labels are set in the multi-screen pages according to the user requirements, when the user needs to browse the designated information, the current page displayed by the terminal is directly switched to the page corresponding to the label, manual searching is not needed, the complexity of information acquisition is reduced, and the efficiency of information acquisition is effectively improved.
Example two
Based on the above tag generated in the multi-screen page, referring to fig. 5, in an embodiment of the present application, an information obtaining process includes:
step 500: receiving an information acquisition request input by a user, wherein the information acquisition request comprises a label identification of information to be acquired.
In the embodiment of the application, when a user needs to acquire any item of information contained in a multi-screen page, if a tag corresponding to the any item of information is contained in a designated area of the multi-screen page, the user can input an information acquisition request in a terminal. The terminal can select the operation of a user for selecting a label corresponding to the information to be acquired in a designated area of the multi-screen page as an information acquisition request; or, the terminal may further use a tag identifier corresponding to the information to be acquired, which is input by the user in the search option of the multi-screen page, as the information acquisition request, where the tag identifier may be a number of a tag, and the like.
Step 510: according to the obtained label identification, position information corresponding to the label identification is obtained from a preset corresponding relation set; and the corresponding relation set comprises the corresponding relation between the label identification and the position information of the information to be acquired.
In the embodiment of the application, the terminal searches the position information corresponding to the tag identifier in the corresponding relation set according to the obtained tag identifier.
Optionally, when the preset corresponding relationship set is located locally at the terminal, the terminal directly searches for the position information corresponding to the tag identifier locally; when the preset corresponding relation set is located in the server, the terminal needs to send a position information acquisition request to the server, the position information acquisition request comprises the label identification, the server searches the position information corresponding to the label identification in the corresponding relation set in the server, generates a position information acquisition response according to the searched position information, and sends the position information acquisition response to the terminal.
Step 520: and jumping from the currently presented page in the multi-screen pages to the page corresponding to the position information according to the acquired position information.
In the embodiment of the application, when the position information is the first distance and the second distance of the tag, the terminal determines the starting position of the page corresponding to the information to be acquired according to the first distance, and determines the ending position of the page corresponding to the information to be acquired according to the second distance. And when the position information is a third distance of the label, the terminal determines the starting position and the ending position of the current presented page according to the third distance, the distance between the determined starting position and the reference position is smaller than the third distance, and the distance between the determined ending position and the reference position is larger than the third distance. When the latter technical scheme is adopted, only the third distance is saved, and the information of the two distances does not need to be saved, so that the information quantity saved by the terminal or the server is less, and the system burden can be reduced.
Based on the above technical solution, referring to fig. 6, an embodiment of the present application further provides a tag generating apparatus, including a position information obtaining unit 60, a tag attribute obtaining unit 61, a tag generating unit 62, a correspondence establishing unit 63, and a storage unit 64, where:
the position information acquiring unit 60 is configured to acquire position information of a tag to be added in the multi-screen page when a tag adding instruction input by a user is received;
a tag attribute acquiring unit 61, configured to acquire a tag attribute included in the tag addition instruction;
the tag generation unit 62 is configured to generate a tag corresponding to the tag attribute in a specified area of the multi-screen page according to the position information of the tag to be added; the designated area is an area which can be presented in any one screen page in the multi-screen page;
a correspondence relationship establishing unit 63, configured to establish a correspondence relationship between the position information of the tag to be added and the identifier of the tag to be added;
the storage unit 64 is configured to store the correspondence.
Optionally, the location information obtaining unit 60 is specifically configured to: taking the initial position of the multi-screen page as a reference position; acquiring a first distance between a current page starting position and the reference position and a second distance between the current page starting position and the current page ending position; determining the obtained first distance and the second distance as the position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in a current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; the current page is a page in the multi-screen pages, and the current page is a page presented at the current moment; or acquiring a page identifier of the selected information corresponding to the tag to be added in the multi-screen page; and determining the acquired page identification as the position information of the tag to be added in the multi-screen page.
Optionally, the tag generating unit 62 is specifically configured to: when the label attribute is color, displaying the label to be added as the color contained in the label adding instruction in the specified area; when the label attribute is character information, displaying the label to be added in the designated area, and displaying the character information in a preset range taking the label to be added as a center; and when the label attribute is a shape, displaying the label to be added as the shape contained in the label adding instruction in the specified area.
Optionally, the storage unit 64 is specifically configured to: storing the corresponding relation into a local corresponding relation set; or transmitting the corresponding relation to a server through a network, and storing the corresponding relation to a corresponding relation set by the server.
Further, an editing unit 65 is included for: when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type which are contained in the tag editing instruction; when the editing type is a label deleting type, deleting a label corresponding to the identifier of the label to be edited from the designated area; and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited from the specified area to the tag attribute contained in the tag editing instruction.
Based on the above technical solution, referring to fig. 7, an information obtaining apparatus is further provided in this embodiment of the present application, including a receiving unit 70, a location information obtaining unit 71, and a jumping unit 72, where:
a receiving unit 70, configured to receive an information obtaining request input by a user, where the information obtaining request includes a generated tag identifier of information to be obtained;
a location information obtaining unit 71, configured to obtain, according to the tag identifier, location information corresponding to the tag identifier from a preset correspondence set; the corresponding relation set comprises a corresponding relation between the label identification and the position information of the information to be acquired;
and the skipping unit 72 is configured to skip from a currently presented page in the multi-screen page to a page corresponding to the position information according to the acquired position information.
The position information obtaining unit 71 is specifically configured to: when the corresponding relation set is stored locally, position information corresponding to the label identification is searched locally; when the corresponding relation set is stored in a server, sending a position information acquisition request to the server, wherein the position information acquisition request comprises a label identifier of the information to be acquired; and receiving a position information acquisition response sent by the server, wherein the position information acquisition response comprises position information corresponding to the label identification of the information to be acquired.
To sum up, in the embodiment of the present application, when an information acquisition request input by a user is received, a tag identifier included in the information acquisition request is acquired; according to the obtained label identification, position information corresponding to the label identification is obtained from a preset corresponding relation set; wherein, the corresponding relation set comprises the corresponding relation between the label and the position information; and jumping from the currently presented page in the multi-screen pages to the page corresponding to the position information according to the acquired position information. By adopting the technical scheme, the labels are set in the multi-screen pages according to the user requirements, when the user needs to browse the designated information, the current page displayed by the multi-screen pages is directly switched to the page corresponding to the labels, manual searching is not needed, the complexity of information acquisition is reduced, and the efficiency of information acquisition is effectively improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (14)

1. A tag generation method, comprising:
when a tag adding instruction input by a user is received, acquiring position information of a tag to be added in a multi-screen page; and are
Acquiring the label attribute contained in the label adding instruction;
generating a label corresponding to the label attribute in a designated area of the multi-screen page according to the position information of the label to be added; the designated area is an area where a scroll bar is located in the multi-screen page; and are
Establishing a corresponding relation between the position information of the label to be added and the identifier of the label to be added; and storing the corresponding relation.
2. The method according to claim 1, wherein obtaining the position information of the to-be-added tab in the multi-screen page specifically includes:
taking the initial position of the multi-screen page as a reference position; acquiring a first distance between a current page starting position and the reference position and a second distance between the current page starting position and the current page ending position; determining the obtained first distance and the second distance as the position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in a current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; the current page is a page in the multi-screen pages, and the current page is a page presented at the current moment; alternatively, the first and second electrodes may be,
acquiring a page identifier of selected information corresponding to a tag to be added in the multi-screen page; and determining the acquired page identification as the position information of the tag to be added in the multi-screen page.
3. The method according to claim 2, wherein generating a tab corresponding to the tab attribute in a designated area of the multi-screen page according to the position information of the tab to be added specifically includes:
when the label attribute is color, displaying the label to be added as the color contained in the label adding instruction in the specified area;
when the label attribute is character information, displaying the label to be added in the designated area, and displaying the character information in a preset range taking the label to be added as a center;
and when the label attribute is a shape, displaying the label to be added as the shape contained in the label adding instruction in the specified area.
4. The method of claim 3, wherein storing the correspondence relationship specifically comprises:
storing the corresponding relation into a local corresponding relation set; alternatively, the first and second electrodes may be,
and transmitting the corresponding relation to a server through a network, and storing the corresponding relation into a corresponding relation set by the server.
5. The method of any one of claims 1-4, further comprising:
when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type, wherein the identifier is contained in the tag editing instruction;
when the editing type is a label deleting type, deleting a label corresponding to the identifier of the label to be edited from the designated area;
and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited from the specified area to the tag attribute contained in the tag editing instruction.
6. An information acquisition method is applied to a multi-screen page, and is characterized by comprising the following steps:
receiving an information acquisition request input by a user, wherein the information acquisition request is a request generated by responding to a label identification corresponding to information to be acquired selected by the user in a designated area of a multi-screen page, and the designated area is an area where a scroll bar is located in the multi-screen page;
according to the label identification, acquiring position information corresponding to the label identification from a preset corresponding relation set; the corresponding relation set comprises a corresponding relation between the label identification and the position information of the information to be acquired;
and jumping to a page corresponding to the position information from a currently presented page in the multi-screen pages according to the acquired position information.
7. The method according to claim 6, wherein obtaining, according to the tag identifier, location information corresponding to the tag identifier from a preset correspondence set specifically includes:
when the corresponding relation set is stored locally, searching the position information corresponding to the label identification of the information to be acquired from the local;
when the corresponding relation set is stored in a server, sending a position information acquisition request to the server, wherein the position information acquisition request comprises a label identifier of the information to be acquired; and receiving a position information acquisition response sent by the server, wherein the position information acquisition response comprises position information corresponding to the label identification of the information to be acquired.
8. A label generation apparatus, comprising:
the system comprises a position information acquisition unit, a label adding unit and a label adding unit, wherein the position information acquisition unit is used for acquiring the position information of a label to be added in a multi-screen page when a label adding instruction input by a user is received;
a tag attribute acquisition unit configured to acquire a tag attribute included in the tag addition instruction;
the tag generation unit is used for generating tags corresponding to the tag attributes in the designated area of the multi-screen page according to the position information of the tags to be added; the designated area is an area where a scroll bar is located in the multi-screen page;
a corresponding relation establishing unit, configured to establish a corresponding relation between the position information of the tag to be added and the identifier of the tag to be added;
and the storage unit is used for storing the corresponding relation.
9. The apparatus of claim 8, wherein the location information obtaining unit is specifically configured to:
taking the initial position of the multi-screen page as a reference position; acquiring a first distance between a current page starting position and the reference position and a second distance between the current page starting position and the current page ending position; determining the obtained first distance and the second distance as the position information of the label to be added in the multi-screen page; or acquiring position information of information selected by a user in a current page, and determining a third distance between the selected information and the reference position as the position information of the label to be added in the multi-screen page; the current page is a page in the multi-screen pages, and the current page is a page presented at the current moment; or acquiring a page identifier of the selected information corresponding to the tag to be added in the multi-screen page; and determining the acquired page identification as the position information of the tag to be added in the multi-screen page.
10. The apparatus of claim 9, wherein the tag generation unit is specifically configured to:
when the label attribute is color, displaying the label to be added as the color contained in the label adding instruction in the specified area; when the label attribute is character information, displaying the label to be added in the designated area, and displaying the character information in a preset range taking the label to be added as a center; and when the label attribute is a shape, displaying the label to be added as the shape contained in the label adding instruction in the specified area.
11. The apparatus of claim 9, wherein the storage unit is specifically configured to:
storing the corresponding relation into a local corresponding relation set; or transmitting the corresponding relation to a server through a network, and storing the corresponding relation to a corresponding relation set by the server.
12. The apparatus according to any one of claims 8-11, further comprising an editing unit for:
when a tag editing instruction input by a user is received, acquiring an identifier of a tag to be edited and an editing type which are contained in the tag editing instruction; when the editing type is a label deleting type, deleting a label corresponding to the identifier of the label to be edited from the designated area; and when the editing type is a modified tag attribute type, updating the tag attribute of the tag corresponding to the identifier of the tag to be edited from the specified area to the tag attribute contained in the tag editing instruction.
13. An information acquisition device applied to multiple screen pages, the device comprising:
the multi-screen page display device comprises a receiving unit, a display unit and a display unit, wherein the receiving unit is used for receiving an information acquisition request input by a user, the information acquisition request is a request generated by responding to a label identifier corresponding to information to be acquired selected by the user in a designated area of a multi-screen page, and the designated area is an area where a scroll bar is located in the multi-screen page;
the position information acquisition unit is used for acquiring position information corresponding to the label identification from a preset corresponding relation set according to the label identification; the corresponding relation set comprises a corresponding relation between the label identification and the position information of the information to be acquired;
and the skipping unit is used for skipping from the currently presented page in the multi-screen page to the page corresponding to the position information according to the acquired position information.
14. The apparatus of claim 13, wherein the location information obtaining unit is specifically configured to:
when the corresponding relation set is stored locally, searching the position information corresponding to the label identification of the information to be acquired from the local; when the corresponding relation set is stored in a server, sending a position information acquisition request to the server, wherein the position information acquisition request comprises a label identifier of the information to be acquired; and receiving a position information acquisition response sent by the server, wherein the position information acquisition response comprises position information corresponding to the label identification of the information to be acquired.
CN201510190995.7A 2015-04-21 2015-04-21 Label generation method and device, and information acquisition method and device Active CN106156189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510190995.7A CN106156189B (en) 2015-04-21 2015-04-21 Label generation method and device, and information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510190995.7A CN106156189B (en) 2015-04-21 2015-04-21 Label generation method and device, and information acquisition method and device

Publications (2)

Publication Number Publication Date
CN106156189A CN106156189A (en) 2016-11-23
CN106156189B true CN106156189B (en) 2020-01-21

Family

ID=58058809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510190995.7A Active CN106156189B (en) 2015-04-21 2015-04-21 Label generation method and device, and information acquisition method and device

Country Status (1)

Country Link
CN (1) CN106156189B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368511B (en) * 2017-04-20 2020-12-01 口碑控股有限公司 Information display method and device
CN107132963B (en) * 2017-05-08 2020-09-08 深圳乐信软件技术有限公司 Red dot message display method, red dot message elimination method and corresponding devices
CN110176234B (en) * 2019-05-30 2021-05-25 芋头科技(杭州)有限公司 Control method, device, controller, medium and terminal of mobile intelligent terminal
CN111177499B (en) * 2019-12-27 2024-02-09 腾讯科技(深圳)有限公司 Label adding method and device and computer readable storage medium
CN111460347B (en) * 2020-03-31 2023-03-24 Oppo广东移动通信有限公司 Page browsing control method and device and computer readable storage medium
CN112632935B (en) * 2020-12-23 2024-02-09 广州城市职业学院 Food nutrition label generating method, computer device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750269A (en) * 2012-07-16 2012-10-24 西安体育学院 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage
CN103902170A (en) * 2012-12-27 2014-07-02 深圳市金蝶中间件有限公司 Method and device for positioning webpage content
CN104123294A (en) * 2013-04-25 2014-10-29 腾讯科技(深圳)有限公司 Bookmark adding method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750269A (en) * 2012-07-16 2012-10-24 西安体育学院 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage
CN103902170A (en) * 2012-12-27 2014-07-02 深圳市金蝶中间件有限公司 Method and device for positioning webpage content
CN104123294A (en) * 2013-04-25 2014-10-29 腾讯科技(深圳)有限公司 Bookmark adding method and device

Also Published As

Publication number Publication date
CN106156189A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106156189B (en) Label generation method and device, and information acquisition method and device
CN106294816B (en) Page information processing method and device
US10699315B2 (en) Method and computer program for displaying search information
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN111259284B (en) Method and device for lazy loading of page, storage medium and processor
JP2008211379A (en) Display control program and portable terminal device
CN103164404A (en) Search result display method and search result display device
CN111338690A (en) Method and device for configuring pages of small program shop, computer equipment and storage medium
CN102929552B (en) Terminal and information searching method
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
WO2015172576A1 (en) Webpage generation method and device
CN114185465B (en) Information processing method, information processing device, storage medium and electronic equipment
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN111581564B (en) Webpage synchronous communication method implemented by Canvas
US10558745B2 (en) Information processing apparatus and non-transitory computer readable medium
CN103136206A (en) Information display method and information display device
CN110880139A (en) Commodity display method, commodity display device, terminal, server and storage medium
US20160012859A1 (en) System and method for generating and using spatial and temporal metadata
CN111767488A (en) Article display method, electronic device and storage medium
US11294982B2 (en) Method, apparatus and computer program for displaying search information
CN109523304B (en) Advertisement previewing method and device
CN109582401B (en) Promotion picture generation method and device, storage medium and computer equipment
CN106951405B (en) Data processing method and device based on typesetting engine
CN105677699A (en) Method and apparatus for generating news pages for user
CN110456999B (en) Program creation method, program creation device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Ltd.