CN106156189A - A kind of label generating method and device, information getting method and device - Google Patents

A kind of label generating method and device, information getting method and device Download PDF

Info

Publication number
CN106156189A
CN106156189A CN201510190995.7A CN201510190995A CN106156189A CN 106156189 A CN106156189 A CN 106156189A CN 201510190995 A CN201510190995 A CN 201510190995A CN 106156189 A CN106156189 A CN 106156189A
Authority
CN
China
Prior art keywords
label
information
page
positional information
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510190995.7A
Other languages
Chinese (zh)
Other versions
CN106156189B (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

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of label generating method and device, information getting method and device, method is, when receiving the information acquisition request of user's input, obtains the tag identifier comprised in above-mentioned information acquisition request;According to the above-mentioned tag identifier obtained, there is the positional information of corresponding relation in acquisition and this tag identifier from default correspondence set;Wherein, this correspondence set comprises the corresponding relation of label and positional information;According to the above-mentioned positional information obtained, the page address portions currently presented in the multi-screen page jump to the page address portions that above-mentioned positional information is corresponding.Use technical solution of the present invention, according to user's request, label is set in the multi-screen page, when user needs to browse appointment information, directly shown current page is switched to the page corresponding to label, need not manually search, reduce the complexity of acquisition of information, and be effectively increased the efficiency of acquisition of information.

Description

A kind of label generating method and device, information getting method and device
Technical field
The application relates to Computer Applied Technology field, particularly relates to a kind of label generating method and device, letter Breath acquisition methods and device.
Background technology
Along with the development of Internet technology, the Internet has become as the network user and obtains the weight of information, resource etc. Want approach.User can obtain Internet resources by various types of browsers, and passes through browser user During obtaining Internet resources, it is usually present the page and comprises the more feelings needing to use multihead display of content Condition.
At present, the form that scroll bar is set generally is used to carry out multi-screen content in the presented page of browser Display, is regulated the content that can present in current page, and then realizes institute in the multi-screen page by scroll bar Substantial present.Such as, refering to shown in Fig. 1, the multi-screen page presented by browser in prior art. Use technique scheme, when the multi-screen page that browser is presented comprises information A and information B, and letter Distance between breath A and information B is more than the length of a screen page, if user is when browsing information B, needs Return and browse information A, need manually to be searched the information A place page by scroll bar, thus add letter The complexity that breath is searched, extends the time of information searching;Additionally, when after above-mentioned multi-screen page close, if User needs again to browse information A and information B, then be required to again search, reduce the effect of information searching Rate.
As can be seen here, during the multi-screen page presented at browser at present obtains information to be found, exist Acquisition of information complexity is high, and the problem of information acquisition times length.
Summary of the invention
The embodiment of the present application provides a kind of label generating method and device, information getting method and device, in order to During the multi-screen page solving to present at browser at present obtains information to be found, there is acquisition of information multiple Miscellaneous degree height, and the problem of information acquisition times length.
The concrete technical scheme that the embodiment of the present application provides is as follows:
A kind of label generating method, including: when the label receiving user's input adds instruction, acquisition is treated Add label positional information in the described multi-screen page;And obtain the mark comprised in the interpolation instruction of described label Sign attribute;According to the positional information of described label to be added, in the appointment region of the described multi-screen page, generate Label corresponding to described tag attributes;Wherein, described appointment region is any one in the described multi-screen page The region that all can present in the screen page;And the positional information of setting up described label to be added is to be added with described Corresponding relation between the mark of label;And described corresponding relation is stored.
Optionally, position on the basis of the original position of the described multi-screen page;Obtain current page original position Apart from the first distance of described reference position, and described current page original position is tied with described current page Second distance between bundle position;Treat described in described first distance obtained and described second distance are defined as Add label positional information in the described multi-screen page;Or, obtain user in current page, choose letter Breath positional information, described the 3rd distance choosing reference position described in information distance is defined as described in wait to add Tag the positional information in the described multi-screen page;Wherein, during described current page is the described multi-screen page The page, and the page that described current page is presented by current time;Or, obtain label pair to be added That answers chooses information page iden-tity in the described multi-screen page;The described page iden-tity obtained is defined as institute State the label to be added positional information in the described multi-screen page.
Optionally, when described tag attributes is color, in described appointment region, by described mark to be added Sign the color being shown as in the interpolation instruction of described label comprising;When described tag attributes is Word message, Described appointment region shows described label to be added, in the preset range centered by described label to be added The described Word message of interior display;When described tag attributes is shape, in described appointment region, by described Label to be added is shown as described label and adds the shape comprised in instruction.
Optionally, described corresponding relation is stored to local correspondence set;Or by described correspondence Relation is transmitted through the network in server, described server store described corresponding relation to corresponding relation In set.
Further, when receiving the label editing instruction of user's input, the instruction of described label editing is obtained In the mark of label to be edited that comprises, and editing type;When described editing type is for deleting tag types Time, the label that the mark of described label to be edited is corresponding is deleted from described appointment region;When described editing type During for amendment tag attributes type, by mark corresponding for the mark of described label to be edited from described appointment region The tag attributes signed, is updated in the instruction of described label editing the tag attributes comprised.
A kind of information getting method, is applied in the multi-screen page, comprises employing said method in this multi-screen page The label generated, described information getting method includes: the information acquisition request of reception user's input, wherein, Described information acquisition request comprises the tag identifier of the information to be obtained of generation;According to described tag identifier, The positional information corresponding with described tag identifier is obtained from default correspondence set;Wherein, described right Answer the corresponding relation of mark and the positional information of described information to be obtained comprising label in set of relationship;According to The described positional information obtained, by the page jump currently presented in the described multi-screen page to described positional information The corresponding page.
Optionally, when described correspondence set is stored in this locality, search described information to be obtained from this locality Positional information corresponding to tag identifier;When described correspondence set stores in the server, to described Server send positional information obtain request, wherein, described positional information obtain request in comprise described in wait to obtain Win the confidence the tag identifier of breath;And receive the positional information acquisition response that described server sends, wherein, described Positional information obtains the positional information that the tag identifier comprising described information to be obtained in response is corresponding.
A kind of label generating means, including: location information acquiring unit, for when receiving user's input When label adds instruction, obtain the label to be added positional information in the described multi-screen page;Tag attributes obtains Take unit, the tag attributes comprised in instruction for obtaining described label to add;Label generation unit, is used for According to the positional information of described label to be added, in the appointment region of the described multi-screen page, generate corresponding to institute State the label of tag attributes;Wherein, described appointment region is in the described multi-screen page in any one screen page The region that all can present;Corresponding relation sets up unit, for setting up the positional information of described label to be added And the corresponding relation between the mark of described label to be added;Memory element, for entering described corresponding relation Row storage.
Optionally, described location information acquiring unit, specifically for: with the original position of the described multi-screen page On the basis of position;Obtain the current page original position the first distance apart from described reference position, and described Second distance between current page original position and described current page end position;Described the will obtained One distance and described second distance are defined as the described label to be added positional information in the described multi-screen page; Or, obtain user in current page, choose the positional information of information, choose described described in information distance 3rd distance of reference position is defined as the described label to be added positional information in the described multi-screen page;Its In, described current page is the page in the described multi-screen page, and described current page be current time institute in The existing page;Or, obtain label to be added corresponding choose information page mark in the described multi-screen page Know;The described page iden-tity obtained is defined as the described label to be added position letter in the described multi-screen page Breath.
Optionally, described label generation unit, specifically for: when described tag attributes is color, in institute State in appointment region, described label to be added is shown as described label and adds the color comprised in instruction;When When described tag attributes is Word message, described appointment region shows described label to be added, with institute Described Word message is shown in stating the preset range centered by label to be added;When described tag attributes is shape Time, in described appointment region, described label to be added is shown as described label and adds in instruction and comprise Shape.
Optionally, described label generation unit, specifically for: described corresponding relation is stored to local right Answer in set of relationship;Or described corresponding relation is transmitted through the network in server, by described server Described corresponding relation is stored to correspondence set.
Further, also include edit cell, be used for: when receiving the label editing instruction of user's input, Obtain the mark of the label to be edited comprised in the instruction of described label editing, and editing type;When described volume When collecting type for deleting tag types, delete the mark correspondence of described label to be edited from described appointment region Label;When described editing type is for amendment tag attributes type, from described appointment region, described waiting is compiled Collect the tag attributes of the label of the mark correspondence of label, be updated in the instruction of described label editing the label comprised Attribute.
A kind of information acquisition device, is applied in the multi-screen page, comprises described label raw in the described multi-screen page Becoming the label that device generates, described information acquisition device includes: receive unit, for receiving user's input Information acquisition request, wherein, comprises the tag identifier of the information to be obtained of generation in described information acquisition request; Location information acquiring unit, for according to described tag identifier, obtain from default correspondence set with The positional information that described tag identifier is corresponding;Wherein, described correspondence set comprises the mark of label with The corresponding relation of the positional information of described information to be obtained;Jump-transfer unit, for according to the described position obtained Information, the page corresponding by the page jump currently presented in the described multi-screen page to described positional information.
Described location information acquiring unit, specifically for: when described correspondence set is stored in this locality, The positional information that the tag identifier of described information to be obtained is corresponding is searched from this locality;When described correspondence set When storing in the server, sending positional information to described server and obtain request, wherein, described position is believed Breath obtains the tag identifier comprising described information to be obtained in request;And receive the position that described server sends Acquisition of information responds, and wherein, described positional information obtains the label mark comprising described information to be obtained in response Know corresponding positional information.
In the embodiment of the present application, when terminal receives the label interpolation instruction of user's input, add according to this label Add the positional information and tag attributes comprised in instruction, the multi-screen page adds corresponding label, and sets up Corresponding relation between this tag identifier and positional information;When the information acquisition request receiving user's input Time, obtain the tag identifier comprised in this information acquisition request;According to obtain this tag identifier, obtain with There is the positional information of corresponding relation in this tag identifier;According to obtain positional information, by the multi-screen page when Before the page jump that presents is supreme states the page that positional information is corresponding.Use technical scheme, according to Family demand arranges label in the multi-screen page, is marked appointment information by this label, when user needs When browsing appointment information, directly current page is switched to the page corresponding to label, need not manually look into Look for, reduce the complexity of acquisition of information, and be effectively increased the efficiency of acquisition of information.
Accompanying drawing explanation
The multi-screen page schematic diagram that Fig. 1 is presented by browser in prior art;
Fig. 2 is label product process figure in the embodiment of the present application;
Fig. 3 is appointment area schematic in the embodiment of the present application;
Fig. 4 a and Fig. 4 b is that in the embodiment of the present application, tag attributes arranges schematic diagram;
Fig. 5 is acquisition of information flow chart in the embodiment of the present application;
Fig. 6 is label generating means structural representation in the embodiment of the present application;
Fig. 7 is information acquisition device structural representation in the embodiment of the present invention.
Detailed description of the invention
During the multi-screen page in order to solve to present at browser at present obtains information to be found, there is letter It is high that breath obtains complexity, and the problem of information acquisition times length.In the embodiment of the present application, terminal receives When the label of user's input adds instruction, add, according to this label, the positional information comprised in instruction and label belongs to Property, the multi-screen page adds corresponding label, and sets up the correspondence between this tag identifier and positional information Relation;When receiving the information acquisition request of user's input, obtain the mark comprised in this information acquisition request Sign mark;According to this tag identifier obtained, there is the positional information of corresponding relation in acquisition and this tag identifier; According to the positional information obtained, stated, by the page jump currently presented is supreme, the page that positional information is corresponding.Adopt By technical scheme, according to user's request, label is set in the multi-screen page, by this label to appointment Information is marked, and when user needs to browse appointment information, current page directly switches to label institute right The page answered, need not manually search, and reduces the complexity of acquisition of information, and is effectively increased information The efficiency obtained.
The embodiment of the present application can apply to present in the various application scenarios of the multi-screen page, such as, clear The multi-screen page that device of looking at is presented, the multi-screen page etc. that PDF can present.Below in conjunction with the accompanying drawings to the application Preferred embodiment it is described in detail.
Embodiment one
Refering to shown in Fig. 2, in the embodiment of the present application, label generates process and includes:
Step 200: when the label receiving user's input adds instruction, obtain label to be added at multi-screen Positional information in the page.
In the embodiment of the present application, user can browse the multi-screen page by terminal, and sets in the multi-screen page Put one or more label.Wherein, the multi-screen page comprises the content more than a screen page, each screen page In all comprise display information, and specify region, this appointment region is for presenting the label of generation;Optionally, This appointment region is the position (refering to shown in Fig. 3) at scroll bar place in the multi-screen page.Wherein, above-mentioned end End is to possess the terminal of User Interface, such as PC, mobile phone, panel computer, and possesses user The server etc. of interactive interface.
Optionally, user can choose appointment region by right button, and terminal detects that the right button of user chooses finger When showing, current page presents interpolation label option;When terminal detects that user chooses interpolation label option Time, present interpolation tag operational interface;Wherein, this interpolation tag operational interface comprises tag attributes option, And confirm to add label option.Further, above-mentioned appointment region also including, control handle is (refering to Fig. 4 a Shown in), when terminal detects that user chooses this control handle, i.e. show that user sends label to terminal and generates Instruction.
User carries out information browse by terminal, when user needs to believe any one in current browse webpage When breath is marked, terminal performs to generate the operation of label, particularly as follows: terminal is with the start bit of the multi-screen page It is set to reference position;When terminal detects that the label that user inputs adds instruction, obtain current page and initiate First distance of positional distance said reference position, and this current page original position and above-mentioned current page Second distance between end position;The first distance obtained and second distance are defined as label to be added and exist Positional information in the multi-screen page;Or, obtain user in current page, choose the positional information of information, The 3rd distance that this chooses information distance said reference position is defined as label to be added in the multi-screen page Positional information;Wherein, this current page is the page in the described multi-screen page, and this current page is for working as The page that the front moment is presented.
Such as, the current page presented in the terminal multi-screen page is page Y, the original position of this multi-screen page It is positioned in page X for position A, position A, using this position A as reference position;User needs to pass through Terminal browses information a, if this information a is positioned in above-mentioned page Y, then terminal obtains above-mentioned position A, will The longitudinal coordinate of position A is set to y=0;Terminal obtains original position B of above-mentioned page Y, if position B Position coordinates be y1, then first distance of position B distance and position A is y1, according to the page chi of terminal Very little, a length of t of a screen page, this length t is second distance, and terminal records above-mentioned first distance y1 And second length t.The most such as, the current page presented in the terminal multi-screen page is page Y, this multi-screen The original position of the page is position A, and position A is positioned in page X, using this position A as reference position; User needs to browse information a by terminal, if this information a is positioned in above-mentioned page Y, then in terminal acquisition Rheme puts A, and the longitudinal coordinate of position A is set to y=0;Terminal obtains the coordinate of information a, then information 3rd distance of a distance and position A is y2, terminal record the 3rd distance y2.Use technique scheme, When not comprising the page number in the multi-screen page that terminal presents, terminal still is able to determine the position at information place to be obtained Putting, and present information to be obtained according to user's instruction at current page, the suitability is higher.
Optionally, the screen number that terminal can show according to the current multi-screen page, enters the content in the multi-screen page Row divides, and according to division result, identifies accordingly for each page configuration, and this mark can be the page number, Can also be words identification or letter mark;Terminal obtains the page iden-tity choosing information place, and should Page iden-tity is defined as the positional information of label to be added.
Optionally, terminal can also record the information that user chooses in current page;And present and choose information Editing options, comprises information in this information editing's option and can present background colour;Additionally, when information is word Time, above-mentioned information editing's option also comprises font color etc.;When above-mentioned information is picture, above-mentioned information is compiled Collecting option and also comprise picture color etc., user can be by this information editing's option, by various types of pictures Carrying out gray scale adjustment, Black-White adjusts, transparency adjustment etc..
Step 210: obtain above-mentioned label and add the tag attributes comprised in instruction.
In the embodiment of the present application, when user's input label adds instruction, terminal will present label to user and belong to Property option (refering to shown in Fig. 4 a), wherein tag attributes includes color attribute, word attribute, shape attribute Deng;Terminal is the tag attributes that label to be added configuration user inputs in above-mentioned tag attributes option.Special Ground, when user does not carry out any operation to tag attributes, terminal will carry out default label to the label generated Attribute is arranged.
Use technique scheme, can be for the multiple labels comprised in the multi-screen page by tag attributes option Differently configured tag attributes, enables different label to have obvious diversity, allows users to Fast Identification Difference between multiple labels, it is to avoid when the multiple label profiles that comprise in the multi-screen page are identical, cause The problem obtaining information time length, improves user and obtains the efficiency of information.
Step 220: according to the positional information of label to be added, in the appointment region of the multi-screen page, it is right to generate Should be in the label of above-mentioned tag attributes.
In the embodiment of the present application, when the tag attributes option that terminal presents is color, terminal is specifying region In, the label of generation is shown as above-mentioned label and adds the color comprised in instruction, such as, for label 1, User chooses yellow in tag attributes option, and the label 1 ultimately generated is positioned in above-mentioned appointment region, and This label 1 generated is shown as yellow, and for label 2, user chooses green in tag attributes option, The label 2 ultimately generated is positioned in above-mentioned appointment region, and this label 2 generated is shown in green;Work as mark When label attributes section is text input box, region is being specified to show this label, and centered by this label Showing above-mentioned Word message in preset range, such as, for label 3, user is defeated in tag attributes option Entering " perfume ", the label 3 ultimately generated is positioned in above-mentioned appointment region, and this label 3 side generated " perfume " will be shown, refering to shown in Fig. 4 b;When the tag attributes option that terminal presents is shape, referring to Determine in region, the label of generation is shown as above-mentioned label and adds the shape that comprises in instruction, such as, for Label 4, user chooses circle in tag attributes option, and the label 4 ultimately generated is positioned at above-mentioned appointment district In territory, and this label 4 generated is shown round, refering to shown in Fig. 4 b.In addition, above-mentioned label Attributes section can also fill pattern for label, and now, the label of generation, in formulating region, is shown by terminal It is shown as above-mentioned label and adds the filling pattern comprised in instruction;Such as, refering to shown in Fig. 4 b, for label 5, User chooses filling pattern 1 in tag attributes option, and the label 5 ultimately generated is positioned at above-mentioned appointment region In, and the filling pattern of this label 5 generated is above-mentioned filling pattern 1.
In technique scheme, any one in above-mentioned tag attributes option can only be set by terminal Putting, multiple projects of above-mentioned tag attributes can also be all configured by terminal, makes the label of generation possess many Sample, it is simple to distinguish.
Step 230: terminal sets up the corresponding relation between positional information and the mark of label of label to be added; And the above-mentioned corresponding relation set up is stored.
Concrete, above-mentioned corresponding relation is stored to local correspondence set by terminal, refers to according to user Show and delete, or the corresponding pass exceeding preset duration comprised in this correspondence set of periodic cleaning System.Use this technical scheme, it is possible to closing in the case of the multi-screen page, still preserve above-mentioned generation Label, when user is again turned on the above-mentioned multi-screen page, before still being able to obtain, each label of record, keeps away Exempt from user and needed again to search the situation of required information, be effectively saved the duration of acquisition of information, improved Information acquisition efficiency;Further, use this technical scheme, correspondence set be stored in this locality, when with Family need to browse before the information of labelling time, terminal can quickly respond user's instruction, presents required to user Information page to be browsed, in the case of not having network to connect, still is able to required for user presents browse Information page, information access process is more quick, and reliability is higher.
Additionally, above-mentioned corresponding relation can also be transmitted through the network in server by terminal, by this server Above-mentioned corresponding relation is stored to correspondence set.Use this technical scheme, it is possible to can be in closing In the case of the application program of the existing multi-screen page, still preserve the above-mentioned label generated, when user beats again When opening the above-mentioned multi-screen page, each label of record before still being able to obtain, it is to avoid user needs again to look into Look for the situation of required information, be effectively saved the duration of acquisition of information, improve information acquisition efficiency;And And, correspondence set is stored in the server, reduces the burden of terminal.
Based on technique scheme, when user needs to edit the label of above-mentioned generation, can pass through Terminal edits the label generated in the following way: when receiving the label editing instruction of user's input, Obtain the mark of the label to be edited comprised in the instruction of this label editing, and editing type;Work as editing type During for deleting tag types, from the label identifying correspondence specifying region to delete above-mentioned label to be edited;Work as volume When collecting type for amendment tag attributes type, from specifying the mark correspondence of above-mentioned label to be edited region The tag attributes of label, is updated in the instruction of above-mentioned label editing the tag attributes comprised.
Optionally, user can edit this any one mark by the way of choosing any one label in the terminal Signing, this is chosen can be that left button is chosen, and right button is chosen, and double click is chosen;Concrete, work as terminal Detecting when user chooses described any one label, i.e. display label editing options, user is compiled by this label Collect option, above-mentioned any one label is edited.
Optionally, when user needs disposably multiple labels to perform identical label editing operation, permissible Being edited multiple labels by terminal, concrete, when terminal, to detect that user chooses successively multiple simultaneously After label, input label edit instruction, the editing type that terminal comprises in instructing according to this label editing is right Above-mentioned multiple label is edited.Use this technical scheme, label unwanted in the multi-screen page can be entered Row is deleted, and numerous when comprising label in the multi-screen page, and user needs same type label is used system One tag attributes time, by this tag attributes editing options, the label of this same type is marked, carries The high motility that label is arranged.
Use technical scheme, according to user's request, label is set in the multi-screen page, when user needs When browsing appointment information, the current page shown by terminal directly switch to the page corresponding to label i.e. Can, need not manually search, reduce the complexity of acquisition of information, and be effectively increased the efficiency of acquisition of information.
Embodiment two
Based on the above-mentioned label generated in the multi-screen page, refering to shown in Fig. 5, in the embodiment of the present application, believe Breath acquisition process, including:
Step 500: receive the information acquisition request of user's input, wherein, wrap in above-mentioned information acquisition request Tag identifier containing information to be obtained.
In the embodiment of the present application, when user needs to obtain any one information comprised in the multi-screen page, if When the specifying in region of this multi-screen page comprises label corresponding to above-mentioned any one information, user can be at end End inputs information acquisition request.Wherein, user can be chosen in the appointment region of the multi-screen page and treat by terminal The operation of the label that acquisition information is corresponding, as information acquisition request;Or, user can also be existed by terminal The tag identifier that in the search option of the multi-screen page, the information to be obtained of input is corresponding, please as acquisition of information Asking, this tag identifier can be the numbering etc. of label.
Step 510: according to the above-mentioned tag identifier obtained, obtains from default correspondence set and is somebody's turn to do There is the positional information of corresponding relation in tag identifier;Wherein, this correspondence set comprises the mark of label Corresponding relation with the positional information of information to be obtained.
In the embodiment of the present application, terminal, according to the above-mentioned tag identifier obtained, is searched in correspondence set The positional information that this tag identifier is corresponding.
Optionally, when default correspondence set is positioned at terminal local, terminal is directly from this locality is searched State the positional information that tag identifier is corresponding;When default correspondence set is positioned in server, terminal needs To send positional information to server and to obtain request, this positional information obtains in request and comprises above-mentioned label mark Know, the position letter corresponding by searching above-mentioned tag identifier in server correspondence set in the server Breath, and generate positional information acquisition response according to the positional information found, send to terminal.
Step 520: according to the above-mentioned positional information obtained, by the page jump currently presented in the multi-screen page Supreme state the page that positional information is corresponding.
In the embodiment of the present application, when the first distance that above-mentioned positional information is label and second distance, terminal According to this first distance, determine the original position of the page corresponding to information to be obtained, and according to second distance, Determine the end position of the page corresponding to information to be obtained.When the 3rd distance that above-mentioned positional information is label Time, terminal, according to the 3rd distance, determines original position and the end position of the currently presented page, and Distance between this original position determined and reference position is less than above-mentioned 3rd distance, the above-mentioned end determined News and distance between reference position more than above-mentioned 3rd distance.When using latter techniques's scheme, only protect Deposit the 3rd distance, two range informations need not be preserved, make the quantity of information that terminal or server preserve relatively Few, it is possible to reduce system burden.
Based on technique scheme, refering to shown in Fig. 6, the embodiment of the present application also provides for a kind of label and generates Device, including location information acquiring unit 60, tag attributes acquiring unit 61, label generation unit 62, Corresponding relation sets up unit 63, memory element 64, wherein:
Location information acquiring unit 60, during for adding instruction when the label receiving user's input, acquisition is treated Add label positional information in the described multi-screen page;
Tag attributes acquiring unit 61, the tag attributes comprised in instruction for obtaining described label to add;
Label generation unit 62, for the positional information according to described label to be added, at the described multi-screen page Appointment region, generate corresponding to the label of described tag attributes;Wherein, described appointment region is described The region that all can present in any one screen page in the multi-screen page;
Corresponding relation sets up unit 63, to be added with described for setting up the positional information of described label to be added Corresponding relation between the mark of label;
Memory element 64, for storing described corresponding relation.
Optionally, described location information acquiring unit 60, specifically for: with the start bit of the described multi-screen page It is set to reference position;Obtain the current page original position the first distance apart from described reference position, Yi Jisuo State the second distance between current page original position and described current page end position;Described in obtaining First distance and described second distance are defined as the described label to be added position letter in the described multi-screen page Breath;Or, obtain user in current page, choose the positional information of information, choose information distance by described 3rd distance of described reference position is defined as the described label to be added position letter in the described multi-screen page Breath;Wherein, described current page is the page in the described multi-screen page, and when described current page is current Carve the page presented;Or, obtain label to be added corresponding choose information in the described multi-screen page Page iden-tity;The described page iden-tity obtained is defined as described label to be added in the described multi-screen page Positional information.
Optionally, described label generation unit 62, specifically for: when described tag attributes is color, In described appointment region, described label to be added is shown as described label and adds the color comprised in instruction; When described tag attributes is Word message, described appointment region shows described label to be added, with Described Word message is shown in preset range centered by described label to be added;When described tag attributes is shape During shape, in described appointment region, it is shown as described label to be added in the interpolation instruction of described label comprising Shape.
Optionally, described memory element 64, specifically for: described corresponding relation is stored to local correspondence In set of relationship;Or described corresponding relation is transmitted through the network in server, will by described server Described corresponding relation stores to correspondence set.
Further, also include edit cell 65, be used for: when receiving the label editing instruction of user's input, Obtain the mark of the label to be edited comprised in the instruction of described label editing, and editing type;When described volume When collecting type for deleting tag types, delete the mark correspondence of described label to be edited from described appointment region Label;When described editing type is for amendment tag attributes type, from described appointment region, described waiting is compiled Collect the tag attributes of the label of the mark correspondence of label, be updated in the instruction of described label editing the label comprised Attribute.
Based on technique scheme, refering to shown in Fig. 7, the embodiment of the present application also provides for a kind of acquisition of information Device, including receiving unit 70, location information acquiring unit 71, and jump-transfer unit 72, wherein:
Receiving unit 70, for the information acquisition request for receiving user's input, wherein, described information obtains Take the tag identifier of the information to be obtained comprising generation in request;
Location information acquiring unit 71, for for according to described tag identifier, from default set of correspondences Conjunction obtains the positional information corresponding with described tag identifier;Wherein, described correspondence set comprises mark The mark signed and the corresponding relation of the positional information of described information to be obtained;
Jump-transfer unit 72, for according to the described positional information obtained, currently being presented by the described multi-screen page Page jump to the page corresponding to described positional information.
Described location information acquiring unit 71, specifically for: when described correspondence set is stored in this locality, The positional information that described tag identifier is corresponding is searched from this locality;When described correspondence set is stored in server Time middle, sending positional information to described server and obtain request, wherein, described positional information obtains in request Comprise the tag identifier of described information to be obtained;And receive the positional information acquisition sound that described server sends Should, wherein, described positional information obtains the position that the tag identifier comprising described information to be obtained in response is corresponding Confidence ceases.
In sum, in the embodiment of the present application, when receiving the information acquisition request of user's input, obtain The tag identifier comprised in above-mentioned information acquisition request;According to the above-mentioned tag identifier obtained, from default right Acquisition and this tag identifier in set of relationship is answered to there is the positional information of corresponding relation;Wherein, this corresponding relation Set comprises the corresponding relation of label and positional information;According to the above-mentioned positional information obtained, by multi-screen page The page jump that currently presents in face is supreme states the page that positional information is corresponding.Use technical scheme, According to user's request, label is set in the multi-screen page, when user needs to browse appointment information, directly will be many Screen current page shown by the page switches to the page corresponding to label, need not manually search, and reduces The complexity of acquisition of information, and it is effectively increased the efficiency of acquisition of information.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or meter Calculation machine program product.Therefore, the application can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the application can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The application is with reference to method, equipment (system) and the computer program product according to the embodiment of the present application The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art once knowing base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present application and not take off Spirit and scope from the embodiment of the present application.So, if these amendments of the embodiment of the present application and modification belong to Within the scope of the application claim and equivalent technologies thereof, then the application be also intended to comprise these change and Including modification.

Claims (14)

1. a label generating method, it is characterised in that including:
When the label receiving user's input adds instruction, obtain label to be added in the described multi-screen page Positional information;And
Obtain described label and add the tag attributes comprised in instruction;
According to the positional information of described label to be added, in the appointment region of the described multi-screen page, generate correspondence Label in described tag attributes;Wherein, described appointment region is any one screen page in the described multi-screen page The region that all can present in face;And
Set up the corresponding pass between the positional information of described label to be added and the mark of described label to be added System;And described corresponding relation is stored.
2. the method for claim 1, it is characterised in that obtain label to be added at described multi-screen Positional information in the page, specifically includes:
Position on the basis of the original position of the described multi-screen page;Obtain current page original position apart from described First distance of reference position, and described current page original position and described current page end position it Between second distance;Described first distance obtained and described second distance are defined as described label to be added Positional information in the described multi-screen page;Or, obtain user in current page, choose the position of information Information, is defined as described label to be added by described the 3rd distance choosing reference position described in information distance and exists Positional information in the described multi-screen page;Wherein, described current page is the page in the described multi-screen page, And the page that described current page is presented by current time;Or,
Obtain label to be added corresponding choose information page iden-tity in the described multi-screen page;By obtain Described page iden-tity is defined as the described label to be added positional information in the described multi-screen page.
3. method as claimed in claim 2, it is characterised in that according to the position of described label to be added Information, in the appointment region of the described multi-screen page, generates the label corresponding to described tag attributes, specifically wraps Include:
When described tag attributes is color, in described appointment region, described label to be added is shown as Described label adds the color comprised in instruction;
When described tag attributes is Word message, described appointment region shows described label to be added, Described Word message is shown in the preset range centered by described label to be added;
When described tag attributes is shape, in described appointment region, described label to be added is shown as Described label adds the shape comprised in instruction.
4. method as claimed in claim 3, it is characterised in that described corresponding relation is stored, Specifically include:
Described corresponding relation is stored to local correspondence set;Or,
Described corresponding relation is transmitted through the network in server, by described server by described corresponding relation Store to correspondence set.
5. the method as described in any one of claim 1-4, it is characterised in that also include:
When receive user input label editing instruction time, obtain described label editing instruction in comprise treat The mark of editor's label, and editing type;
When described editing type is for deleting tag types, delete described label to be edited from described appointment region Label corresponding to mark;
When described editing type is for amendment tag attributes type, by described to be edited from described appointment region The tag attributes of the label of the mark correspondence of label, the label being updated in the instruction of described label editing comprise belongs to Property.
6. an information getting method, is applied in the multi-screen page, it is characterised in that described method includes:
Receive the information acquisition request of user's input, wherein, described information acquisition request comprises letter to be obtained The tag identifier of breath;
According to described tag identifier, obtain corresponding with described tag identifier from default correspondence set Positional information;Wherein, described correspondence set comprises the mark of label and the position of described information to be obtained The corresponding relation of confidence breath;
According to the described positional information obtained, by the page jump currently presented in the described multi-screen page to described The page that positional information is corresponding.
7. method as claimed in claim 6, it is characterised in that according to described tag identifier, from presetting Correspondence set in obtain the positional information corresponding with described tag identifier, specifically include:
When described correspondence set is stored in this locality, search the label mark of described information to be obtained from this locality Know corresponding positional information;
When described correspondence set stores in the server, send positional information to described server and obtain Request, wherein, described positional information obtains the tag identifier comprising described information to be obtained in request;And connect Receiving the positional information acquisition response that described server sends, wherein, described positional information obtains in response and comprises The positional information that the tag identifier of described information to be obtained is corresponding.
8. a label generating means, it is characterised in that including:
Location information acquiring unit, during for adding instruction when the label receiving user's input, obtains and waits to add Tag the positional information in the described multi-screen page;
Tag attributes acquiring unit, the tag attributes comprised in instruction for obtaining described label to add;
Label generation unit, for the positional information according to described label to be added, at the described multi-screen page Specify region, generate the label corresponding to described tag attributes;Wherein, described appointment region is for described many The region that all can present in any one screen page in the screen page;
Corresponding relation sets up unit, for setting up the positional information of described label to be added and described mark to be added Corresponding relation between the mark signed;
Memory element, for storing described corresponding relation.
9. device as claimed in claim 8, it is characterised in that described location information acquiring unit, tool Body is used for:
Position on the basis of the original position of the described multi-screen page;Obtain current page original position apart from described First distance of reference position, and described current page original position and described current page end position it Between second distance;Described first distance obtained and described second distance are defined as described label to be added Positional information in the described multi-screen page;Or, obtain user in current page, choose the position of information Information, is defined as described label to be added by described the 3rd distance choosing reference position described in information distance and exists Positional information in the described multi-screen page;Wherein, described current page is the page in the described multi-screen page, And the page that described current page is presented by current time;Or, obtain corresponding the choosing of label to be added Information page iden-tity in the described multi-screen page;The described page iden-tity obtained is defined as described to be added Label positional information in the described multi-screen page.
10. device as claimed in claim 9, it is characterised in that described label generation unit, specifically uses In:
When described tag attributes is color, in described appointment region, described label to be added is shown as Described label adds the color comprised in instruction;When described tag attributes is Word message, in described appointment Region shows described label to be added, in the preset range centered by described label to be added, shows institute State Word message;When described tag attributes is shape, in described appointment region, by described mark to be added Sign the shape being shown as in the interpolation instruction of described label comprising.
11. devices as claimed in claim 9, it is characterised in that described memory element, specifically for:
Described corresponding relation is stored to local correspondence set;Or described corresponding relation is passed through Network transmits to server, described server stored to correspondence set by described corresponding relation.
12. devices as described in any one of claim 8-11, it is characterised in that also include edit cell, For:
Receive user input label editing instruction time, obtain described label editing instruction in comprise wait compile Collect the mark of label, and editing type;When described editing type is for deleting tag types, from described finger Determine the label that the mark correspondence of described label to be edited is deleted in region;When described editing type belongs to for amendment label Property type time, from described appointment region, the label of label corresponding for the mark of described label to be edited is belonged to Property, it is updated in the instruction of described label editing the tag attributes comprised.
13. 1 kinds of information acquisition devices, are applied in the multi-screen page, it is characterised in that described device includes:
Receive unit, for receiving the information acquisition request of user's input, wherein, described information acquisition request In comprise the tag identifier of information to be obtained of generation;
Location information acquiring unit, for according to described tag identifier, obtains from default correspondence set Take the positional information corresponding with described tag identifier;Wherein, described correspondence set comprises the mark of label The corresponding relation of the positional information of knowledge and described information to be obtained;
Jump-transfer unit, for according to the described positional information obtained, by currently present in the described multi-screen page The page jump page that extremely described positional information is corresponding.
14. devices as claimed in claim 13, it is characterised in that described location information acquiring unit, Specifically for:
When described correspondence set is stored in this locality, search the label mark of described information to be obtained from this locality Know corresponding positional information;When described correspondence set stores in the server, send out to described server Sending positional information to obtain request, wherein, described positional information obtains in request and comprises described information to be obtained Tag identifier;And receive the positional information acquisition response that described server sends, wherein, described positional information Obtain the positional information that the tag identifier comprising described information to be obtained in response is corresponding.
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 true CN106156189A (en) 2016-11-23
CN106156189B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN107368511A (en) * 2017-04-20 2017-11-21 口碑控股有限公司 A kind of information displaying method and device
CN110176234A (en) * 2019-05-30 2019-08-27 芋头科技(杭州)有限公司 Control method, device, controller, medium and the terminal of mobile intelligent terminal
CN111177499A (en) * 2019-12-27 2020-05-19 腾讯科技(深圳)有限公司 Label adding method and device and computer readable storage medium
CN111460347A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Page browsing control method and device and computer readable storage medium
CN112632935A (en) * 2020-12-23 2021-04-09 广州城市职业学院 Food nutrition label generation 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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368511A (en) * 2017-04-20 2017-11-21 口碑控股有限公司 A kind of information displaying method and device
CN107368511B (en) * 2017-04-20 2020-12-01 口碑控股有限公司 Information display method and device
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN110176234A (en) * 2019-05-30 2019-08-27 芋头科技(杭州)有限公司 Control method, device, controller, medium and the terminal of mobile intelligent terminal
CN110176234B (en) * 2019-05-30 2021-05-25 芋头科技(杭州)有限公司 Control method, device, controller, medium and terminal of mobile intelligent terminal
CN111177499A (en) * 2019-12-27 2020-05-19 腾讯科技(深圳)有限公司 Label adding method and device and computer readable storage medium
CN111177499B (en) * 2019-12-27 2024-02-09 腾讯科技(深圳)有限公司 Label adding method and device and computer readable storage medium
CN111460347A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Page browsing control method and device and computer readable storage medium
CN112632935A (en) * 2020-12-23 2021-04-09 广州城市职业学院 Food nutrition label generation method, computer device and storage medium
CN112632935B (en) * 2020-12-23 2024-02-09 广州城市职业学院 Food nutrition label generating method, computer device and storage medium

Also Published As

Publication number Publication date
CN106156189B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN106156189A (en) A kind of label generating method and device, information getting method and device
KR102436987B1 (en) Method and terminal device for extracting web page content
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
US7770122B1 (en) Codeless dynamic websites including general facilities
CN106294770A (en) Information sharing method, device and terminal
CN109358851A (en) Creation method, device and the computer readable storage medium of chart components
CN108509172A (en) Data transmission method, device, system and the computer storage media of simultaneous display
CN103164404A (en) Search result display method and search result display device
CN102411614A (en) Display Of Image Search Results
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN108259620A (en) A kind of advertisement editor and method for previewing, intelligent terminal, system and storage device
CN107679214A (en) Link localization method, device, terminal and computer-readable recording medium
CN103778128B (en) The method for drafting and device of a kind of list information
CN104881273A (en) Webpage rendering analysis method and terminal device
CN113741898B (en) Form generation method, device and equipment
CN105183291A (en) Method and system for extracting information in display interface
CN111581564B (en) Webpage synchronous communication method implemented by Canvas
CN110506267A (en) The rendering of digital assembly background
CN114185465A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN104808891A (en) Page information processing method and device
CN105677699A (en) Method and apparatus for generating news pages for user
CN105468747A (en) Recommendation information display method and device
CN105843826A (en) Search method and device
CN109684024A (en) Display methods, intelligent terminal and the computer readable storage medium of multiwindow
CN111782309B (en) Method and device for displaying information 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

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.

TR01 Transfer of patent right