CN108763544A - A kind of display methods and terminal - Google Patents

A kind of display methods and terminal Download PDF

Info

Publication number
CN108763544A
CN108763544A CN201810553110.9A CN201810553110A CN108763544A CN 108763544 A CN108763544 A CN 108763544A CN 201810553110 A CN201810553110 A CN 201810553110A CN 108763544 A CN108763544 A CN 108763544A
Authority
CN
China
Prior art keywords
label
element type
terminal
type
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810553110.9A
Other languages
Chinese (zh)
Inventor
赖勇高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810553110.9A priority Critical patent/CN108763544A/en
Publication of CN108763544A publication Critical patent/CN108763544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A kind of display methods of offer of the embodiment of the present invention and terminal, are related to field of terminal technology, to solve the problems, such as the display resource of waste terminal.This method includes:In response to the first operation of the first link in the first webpage of user couple, determine that M element type, M are positive integer;The display reminding information in the display interface of terminal, prompt message is for prompting the user with M element type;The second operation in response to user to prompt message shows the object for the first element type instruction that user selects from M element type on display interface.

Description

A kind of display methods and terminal
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of display methods and terminal.
Background technology
With the development of terminal technology, the scene of user's using terminal is also more and more, such as user can be in the terminal Browse webpage.
Illustratively, if user is interested in topic 1 during browsing webpage 1, user can be in webpage clicking 1 Corresponding with topic 1 to link 1, triggering terminal jumps to 1 corresponding webpage 2 of link from webpage 1, and terminal can load webpage at this time 2, and show webpage 2.
However, according to the method described above, after terminal loads webpage, terminal can show the webpage, and under normal conditions, Data in one webpage are relatively more, and these data may include the interested data of user and uninterested data, because This, the method that above-mentioned terminal shows webpage can waste the display resource of terminal.
Invention content
A kind of display methods of offer of the embodiment of the present invention and terminal, to solve the problems, such as the display resource of waste terminal.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, the embodiment of the present invention provides a kind of display methods, in response to the first chain in the first webpage of user couple The first operation connect, determines that M element type, M are positive integer;The display reminding information in the display interface of the terminal, this is carried Show information for prompting the user with the M element type;The second operation in response to user to the prompt message, in display circle The object for the first element type instruction that user selects from the M element type is shown on face.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal, which includes:Determining module and display module; The determining module determines that M element type, M are just for the first operation of the first link in response to the first webpage of user couple Integer;The display module, for the display reminding information in the display interface of the terminal, the prompt message is for prompting the user with The M element type that the determining module determines;And the second operation in response to user to the prompt message, in the display The object of the first element type instruction selected in the M element type that user determines from the determining module is shown on interface.
The third aspect an embodiment of the present invention provides a kind of terminal, including processor, memory and is stored in the memory Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor The step of described display methods.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and the step of display methods as described in relation to the first aspect is realized when which is executed by processor Suddenly.
In embodiments of the present invention, display methods provided in an embodiment of the present invention, terminal are detecting the first net of user couple After first operation of the first link in page, in response to first operation, terminal determines M element type, and terminal is in terminal Display interface display reminding information, the prompt message is for prompting the user with M element type, if terminal detects the second behaviour Make, then shows the first element type that user selects from M element type on display interface.Due to the first element type For the element type of user's selection, then it can make the content that needs show user selection of the terminal according to user, to increase Terminal shows the flexibility of webpage.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram one of display methods provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram one of display interface provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram two of display interface provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram three of display interface provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram two of display methods provided in an embodiment of the present invention;
Fig. 7 is the possible structural schematic diagram of a kind of terminal provided in an embodiment of the present invention one;
Fig. 8 is the possible structural schematic diagram of a kind of terminal provided in an embodiment of the present invention two;
Fig. 9 is a kind of hardware architecture diagram of terminal of each embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein "and/or" is only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can To indicate:Individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating systems, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, the software that display methods provided in an embodiment of the present invention is applied is introduced Environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program In the case of principle, some application programs are developed based on application framework layer.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of display methods provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that this is aobvious Show that method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can be by Androids The software program is run in operating system realizes display methods provided in an embodiment of the present invention.
The display methods of the embodiment of the present invention is illustrated with reference in Fig. 2.Fig. 2 is provided in an embodiment of the present invention A kind of flow diagram of display methods, as shown in Fig. 2, the flow of the display methods includes S201-S205:
The first the first operation linked in S201, terminal detection the first webpage of user couple.
Optionally, the first operation can be the operations such as click or the pressing that user couple first links, the embodiment of the present invention pair This is not especially limited.
It should be noted that the first webpage can be the webpage in any one application in terminal, such as browser class The webpage etc. in a webpage or the application of instant messaging class in, the embodiment of the present invention is not especially limited this.
S202, it is operated in response to first, terminal determines M element type.
Wherein, an element type is used to indicate the class object in the first webpage, and M is positive integer.
It should be noted that in different webpages, element type can be the same or different (that is, in different webpages, M may be the same or different), the embodiment of the present invention is not especially limited the quantity of the element type in a webpage.
Optionally, the element type in the embodiment of the present invention includes video type, literal type and picture/mb-type.
S203, terminal the display reminding information in the display interface of terminal.
Wherein, prompt message is for prompting the user with M element type.
Optionally, prompt message can be in display interface with default transparency (for example, can select [0%, 100%) In any one transparency) one display area of Overlapping display, the display area show M element type, prompt message It can show that the M element type, the embodiment of the present invention are not especially limited this in existing menu bar.
The second operation of S204, terminal detection user to prompt message.
It should be noted that the second operation is in the M element type shown in the prompt message that user shows from terminal Select the operation of at least one element type.
S205, it is operated in response to second, terminal shows first that user selects from M element type on display interface The object of element type instruction.
Optionally, it can also include multiple element types, the present invention that the first element type, which may include an element type, Embodiment is not especially limited this.
Optionally, terminal can in first page the first element type of Overlapping display indicate object, can also redirect Show that the object of the first element type instruction, the embodiment of the present invention are not especially limited this to new display interface.
Fig. 3 is a kind of schematic diagram of display interface provided in an embodiment of the present invention.Assuming that shown in (a) of user in figure 3 Interface 301 in click news 2, after terminal detects clicking operation, then as shown in (b) in Fig. 3, terminal is on interface 301 A region in display interface 301a, show that the element type that can show obtains shown in (b) in Fig. 3 in the 301a of interface Interface 302, element type includes video, picture and word.User can select at least one element type aobvious in 302 Show.
Display methods provided in an embodiment of the present invention, the of first link of the terminal in detecting the first webpage of user couple After one operation, in response to first operation, terminal determines M element type, display interface display reminding of the terminal in terminal Information, the prompt message is for prompting the user with M element type, if terminal detects the second operation, on display interface The first element type that display user selects from M element type.Since the first element type is the element class of user's selection Type can then make the content that needs show user selection of the terminal according to user, to increase the spirit that terminal shows webpage Activity.
In a kind of possible realization method, " M element class is determined in S202 in display methods provided in an embodiment of the present invention Type " can be realized by following S202a:
S202a, for each element type in M element type, following step, including T1 and T2 are performed both by, with true Determine M element type.
T1, terminal obtain the target information in the first webpage.
Wherein, target information is used to indicate object element type.
Illustratively, target information can be the mark in the dom tree in web page, such as be identified as " video " Label, then element type is video.
T2, terminal determine object element type according to target information.
Based on the program, terminal can determine the element class in the first webpage by obtaining the target information in the first webpage Type.
In a kind of possible realization method, target information includes at least one of video tab and video playing address, Then the T2 in display methods provided in an embodiment of the present invention can be executed by T2a:
T2a, terminal determine that object element type is video according at least one of video tab and video playing address Type.
It is appreciated that, it is assumed that first page is in the first display interface of terminal, if user selects to show video type Object, then terminal the first sub-viewing areas of Overlapping display or can be jumped in the second display interface in first page, eventually Video in holding in the first display subregion or showing the first webpage in the second display interface.
Optionally, it may be vertical screen display that the display mode of video, which can be transverse screen display, can also be with terminal System matching display when terminal vertical screen (transverse screen display when terminal transverse screen, vertical screen display), terminal can be shown with small window shape formula, also may be used To be shown with full screen format, after detecting the second operation, the video that terminal is shown can start to play, and can also show choosing The interface of broadcasting is selected, the embodiment of the present invention is not especially limited this.
Based on the program, if the target information that terminal is obtained from the first webpage is video tab or video playing address, Then terminal can determine that the element type in the first webpage includes video type.
In a kind of possible realization method, target information includes the first label, the then display provided in the embodiment of the present invention T2 in method can be executed by T2b:
T2b, terminal determine object element type according to the first label.
Wherein, if the first label is picture tag, object element type is picture/mb-type.
It is appreciated that, it is assumed that first page is in the first display interface of terminal, if user selects to show picture/mb-type Object, then terminal the second sub-viewing areas of Overlapping display or can be jumped in the second display interface in first page, eventually Picture in holding in the second display subregion or showing the first webpage in the second display interface.
Optionally, the display mode of picture can be user-defined display mode, or terminal is preset aobvious Show mode.Wherein, the display mode of picture may include that be shown displayed across (may include lateral scrolling display and laterally static aobvious Show), vertically displaying (may include vertical scrolling display and vertical static status display), user slide the picture of static status display, then eventually End can show next, and the embodiment of the present invention does not limit the display mode that terminal shows picture.
Alternatively, if the first label is word tag, object element type is literal type.
Likewise, first page is assumed in the first display interface of terminal, if user selects to show pair of literal type As then terminal Overlapping display third sub-viewing areas or can jump in the second display interface, terminal in first page The word in the first webpage is shown in third sub-viewing areas or in the second display interface.
It should be noted that the first sub-viewing areas, the second sub-viewing areas in the embodiment of the present invention and third Display area can be the subregion of any one position in the first display interface, and above three sub-window position is identical also may be used To differ, display area size can be the same or different, and the embodiment of the present invention is not especially limited this.
Optionally, the display mode of word can be user-defined display mode, or terminal is preset aobvious Show mode.Wherein, the display mode of word can be shown according to the original typesetting of online friend, can also be according to preset template or use The customized template for displaying in family, the embodiment of the present invention do not limit the display mode that terminal shows word.
Based on the program, terminal determines object element type according to the first label, if what terminal was obtained from the first webpage First label is picture tag, then terminal can determine that the element type in the first webpage includes picture/mb-type, if terminal is from the The first label obtained in one webpage is literal type, then terminal can determine that the element type in the first webpage includes word class Type.
Illustratively, Fig. 4 is a kind of schematic diagram of display interface provided in an embodiment of the present invention, in conjunction with (b) institute in Fig. 4 Show, if user selects the Video Option, terminal can show the display interface for playing video on interface 301, in Fig. 4 (a) interface 401 shown in;If user selects picture option, terminal can show picture on interface 301, in Fig. 4 (b) interface 402 shown in;If user selects type options, terminal can show word on interface 301, in Fig. 4 (c) interface 403 shown in.
In a kind of possible realization method, target information further includes the first quantity, then display provided in an embodiment of the present invention T2b in method can be executed by T2b1:
T2b1, terminal determine object element type according to the first label and the first quantity.
Wherein, if the first label is picture tag, the first quantity is that display size is greater than or equal to the in the first webpage The quantity of the picture of one predetermined threshold value.
It should be noted that the first predetermined threshold value can be preset value in terminal, or value set by user, Can be the size determination for the picture that terminal is often seen according to the user that the behavioural habits of user determine, the embodiment of the present invention is to this It is not especially limited.
Optionally, when the first label is picture tag, display size can be that the picture in the first webpage is whole in user Display size in end, or the original display size in the first webpage, the embodiment of the present invention are not especially limited this.
Illustratively, it is assumed that the first predetermined threshold value is a length of 10 centimetres (cm) of picture, and the width in picture display size is 4cm, i.e. the first quantity be it is long in the first webpage be greater than or equal to 10cm, and be wider than or the quantity of picture equal to 4cm.
Optionally, the unit of the first predetermined threshold value can select as needed, for example, unit be inch or centimetre etc., this hair Bright embodiment is not especially limited the unit of the first predetermined threshold value.
It should be noted that the first predetermined threshold value can be any one display size, the embodiment of the present invention is for default The value of first predetermined threshold value of size is not especially limited.
Alternatively, if the first label is word tag, the first quantity is the character in first father's label in the first webpage Quantity, first father's label are the father's mark for including at least one text label that character quantity is greater than or equal to the second predetermined threshold value Label.
It should be noted that the second predetermined threshold value can be preset value in terminal, or value set by user, The character quantity of text determines in the webpage that can be often read according to the user that the historical behavior data of user determine for terminal, This is not especially limited in the embodiment of the present invention.
Specifically, terminal can first identify the character quantity of the word in a text label in the first webpage, if should The character quantity of word in text label is greater than or equal to the second predetermined threshold value, then terminal determines father's mark of text label again The character quantity (i.e. the first quantity) of word in label.
Illustratively, it is assumed that the second predetermined threshold value is that the number of characters of text is 100 characters, i.e. the first quantity is the first net The quantity of character in father's label of a text label in page, the character quantity in text label are greater than or equal to 100.
Based on the program, terminal can determine object element type according to the first label and the first quantity.
In a kind of possible realization method, if the first label is picture tag, display side provided in an embodiment of the present invention T2b1 in method can be executed by T2b2:
If T2b2, the first label are picture tag and the first quantity is greater than or equal to first object predetermined threshold value, terminal Determine that object element type is picture/mb-type.
It should be noted that first object predetermined threshold value can be preset value in terminal, or user setting Value, or terminal determines the determination of the picture number in the webpage browsed before user according to the historical behavior data of user , this is not especially limited in the embodiment of the present invention.
If it is understood that the picture number that a webpage includes is less, for example, only one with web page contents without The picture of pass, at this point, user may not need to check that the picture, user can be filtered by the way that first object threshold value is arranged It is not necessary to the picture of display.
Based on the program, terminal can be picture tag and the first quantity (i.e. display size in webpage according to the first label More than or equal to the quantity of the picture of the first predetermined threshold value) determine whether the element type in webpage includes picture/mb-type, if the One quantity is greater than or equal to first object predetermined threshold value, then terminal can prompt picture/mb-type in prompt message;If the first number Amount is less than first object predetermined threshold value, then terminal increases terminal and show webpage without prompting picture/mb-type in prompt message Flexibility, saved the display resource of terminal.
In a kind of possible realization method, if the first label is word tag, display side provided in an embodiment of the present invention T2b1 in method can be executed by T2b3:
If T2b3, the first label are word tag and the first quantity is greater than or equal to the second target predetermined threshold value, terminal Determine that object element type is literal type.
It should be noted that the second target predetermined threshold value can be preset value in terminal, or user setting Value, or terminal determines the character quantity of the word in the webpage browsed before user according to the historical behavior data of user Determination, in the embodiment of the present invention this is not especially limited.
If it is understood that the character quantity for the word that a webpage includes is less, such as the web page contents are main For video content, and word is only that video is briefly described, at this point, user may not need to check these words, user Some words for being not necessarily to display can be filtered by the way that first object threshold value is arranged.
Based on the program, terminal can be word tag and the first quantity (i.e. the in the first webpage according to the first label Character quantity in one father's label) determine whether the element type in webpage includes literal type, if the first quantity is more than or waits In the second target predetermined threshold value, then terminal can in prompt message prompt text type;If the first quantity is less than the second target Predetermined threshold value, then terminal be not necessarily in prompt message prompt text type, increase terminal show webpage flexibility, save The display resource of terminal.
In a kind of possible realization method, display methods provided in an embodiment of the present invention further includes S206 before S202 And S207:
S206, terminal to server send request message.
Wherein, request message is used to ask the content of the first webpage.
Optionally, the content of the first webpage may include at least one of video, word and picture.
It is appreciated that in embodiments of the present invention, server, can first root after the request message for receiving terminal transmission The element type in the webpage of instruction terminal request is first sent to terminal according to request message, further according to the element type of user's selection The data that user selects are sent to terminal.
S207, terminal receive the instruction message that server is sent.
Wherein, instruction message is used to indicate M element type.
In turn, the S202 in above-mentioned display method embodiment can be executed by S202b:
S202b, terminal determine M element type according to instruction message.
Based on the program, terminal can be after first in the first webpage of user couple links and executes the first operation, to clothes Be engaged in device send request the first webpage content request message, server receive terminal transmission request message after can first to Terminal sends instruction message, which can indicate the element type for including in the first webpage, then terminal can basis The instruction message that server is sent determines M element type in the first webpage.
Optionally, prompt message further includes the mark of the first webpage.
It is understood that when prompt message includes the mark of the first webpage, if user clicks the mark of the first webpage When knowledge, then the content (that is, it is shown that former webpage) of the first webpage is shown in terminal.
Illustratively, in conjunction with shown in (a) in Fig. 3, if prompt message includes the mark of the first webpage, such as Fig. 5 institutes The interface 501 shown, can also show the mark of webpage in menu bar.
Optionally, prompt message includes the option of at least one element type in M element type.
It should be noted that during the display methods of the embodiment of the present invention can be applied to pre-reading web page, specifically, First webpage can be pre-read and then the webpage according to the element type for the selection for showing user in the webpage pre-read in Hold.
Fig. 6 is a kind of flow diagram of display methods provided in an embodiment of the present invention, illustratively, successively with priority Sequence for video, picture, word is shown.That is, there are terminals when video not to show picture and word for the element type in webpage; Terminal shows picture when video is not present in element type in webpage, does not show word;Element type in webpage is not present When picture is also not present in video, terminal shows word.Specifically, as shown in fig. 6, including following S601-S613:
Assuming that the page 1 is shown in the current display interface of terminal, the page 1 includes a title 1.
S601, terminal detect that first operation of the user in the page 1, terminal traverse the dom tree of webpage 2.
Wherein, the first operation is the operation that user clicks title 1 in the page 1.What title 1 indicated is interior in webpage 2 Hold.Assuming that webpage 2 is HyperText Markup Language (Hyper Text Markup Language, HTML) page.DOM Tree Refer to the HTML tree trees parsed html page by DOM, and generate and corresponding access method.
S602, terminal determine in webpage 2 with the presence or absence of " vidio " label or in the presence of link 1.
Wherein, link 1 is the broadcasting link of video 1.
If the element type in S603, webpage 2 includes video type (that is, in the presence of " vidio " label or in the presence of link 1), Terminal buffers video 1 (i.e. terminal pre-reads video 1).
S604, terminal are shown in pre- the Reading Option pre-reads the Video Option.
If S605, terminal detect that selection of the user to the Video Option, terminal are shown in the display interface where the page 1 Show the video 1 cached.
If it includes video type that S606, terminal, which determine the element type in the first webpage not, terminal determines the first webpage In whether there is picture tag, and quantity 1 whether be greater than or equal to P, P is positive integer.
Wherein, quantity 1 is the quantity for the picture that display size is greater than or equal to the first predetermined threshold value in webpage 2, and P is First object predetermined threshold value.
If the element type in S607, the first webpage include picture/mb-type (that is, there are picture tag, and quantity 1 be more than or Equal to N), then the picture in the first webpage of terminal buffers.
Optionally, terminal can cache picture all in the first webpage, can also cache dimension of picture in the first webpage More than or equal to the picture of the first predetermined threshold value, the embodiment of the present invention is not especially limited this.
S608, terminal are shown in pre- the Reading Option pre-reads picture option.
If S609, terminal detect that selection of the user to picture option, terminal are shown on the display interface where the page 1 The picture cached.
If the element type in S610, the first webpage does not include picture/mb-type, whether terminal determines in the first webpage and deposits In word tag, and whether quantity 2 is greater than or equal to Q, and Q is positive integer.
Wherein, quantity 2 be webpage 2 in first father's label in character quantity, first father's label be include number of characters For amount more than or equal to father's label of at least one text label of the second predetermined threshold value, Q is the second target predetermined threshold value.
If the element type in S611, the first webpage includes that (that is, there are word tag, and whether quantity 2 is big for picture/mb-type In or be equal to M), then terminal buffers word.
The word of optional terminal buffers may include the word in entire webpage, can also only include text in webpage Word, can also only include the word that father label of the quantity 2 more than or equal to M indicates, the embodiment of the present invention is not made this specifically It limits.
S612, terminal are shown in pre- the Reading Option pre-reads type options.
If S613, terminal detect that selection of the user to type options, terminal are shown on the display interface where the page 1 The word cached.
It should be noted that if terminal has first pre-read entire webpage 2, then S603 in the above method, S607 and S611 can be with Without carrying out.
It should be noted that the method flow described in Fig. 6 is merely illustrative, when implementing pre-reading web page, Webpage can also show pre- the Reading Option of multiple element types, the embodiment of the present invention is to this simultaneously there are when multiple element types It is not especially limited.
Based on the program, terminal can show the display that user needs in pre-reading web page in conjunction with the display methods of the present invention Object has saved the display resource of terminal.
Fig. 7 is a kind of possible structural schematic diagram of terminal provided in an embodiment of the present invention, as shown in fig. 7, terminal 700 is wrapped It includes:Determining module 701 and display module 702;Determining module 701, for the first link in response to the first webpage of user couple First operation, determines that M element type, M are positive integer;Display module 702, for being shown in the display interface of terminal 700 Prompt message, prompt message are used to prompt the user with M element type of the determination of determining module 701;And in response to user couple Second operation of prompt message, shows what user selected from the M element type that determining module 701 determines on display interface The object of first element type instruction.
Optionally, determining module 701 is specifically used for:For each element type in M element type, it is performed both by following Step, to determine M element type;The target information in the first webpage is obtained, target information is used to indicate object element type; According to target information, object element type is determined.
Optionally, target information includes at least one of video tab and video playing address;Determining module 701, tool Body is used to, according at least one of video tab and video playing address, determine that object element type is video type.
Optionally, target information includes the first label;Determining module 701 is specifically used for, according to the first label, determining target Element type;Wherein, if the first label is picture tag, object element type is picture/mb-type;Alternatively, if the first label is Word tag, then object element type is literal type.
Optionally, target information further includes the first quantity;Determining module 701 is specifically used for according to the first label and first Quantity determines object element type;Wherein, if the first label is picture tag, the first quantity is to show ruler in the first webpage The quantity of the very little picture for being greater than or equal to the first predetermined threshold value;Alternatively, if the first label is word tag, the first quantity is the The character quantity in first father's label in one webpage, first father's label are to include character quantity more than or equal to the second default threshold Father's label of at least one text label of value.
Optionally, determining module 701 is specifically used for:If the first label is picture tag and the first quantity is greater than or equal to First object predetermined threshold value, it is determined that object element type is picture/mb-type;Alternatively, if the first label is word tag and the One quantity is greater than or equal to the second target predetermined threshold value, it is determined that object element type is literal type.
Optionally, in conjunction with Fig. 7, as shown in figure 8, terminal 700 further includes sending module 703 and receiving module 704;Send mould Block 703 is used for, and before determining module 701 determines M element type, sends request message to server, request message is used for Ask the content of the first webpage;Receiving module 704, the instruction message for receiving server transmission, instruction message are used to indicate M A element type;Determining module 701, the instruction message for being received according to receiving module 704, determines M element type.
Optionally, prompt message further includes the mark of the first webpage.
Terminal 700 provided in an embodiment of the present invention can realize each process that terminal is realized in above method embodiment, To avoid repeating, which is not described herein again.
Terminal provided in an embodiment of the present invention, the first behaviour of first link of the terminal in detecting the first webpage of user couple After work, in response to first operation, terminal determines M element type, terminal terminal display interface display reminding information, The prompt message, if terminal detects the second operation, shows use for prompting the user with M element type on display interface The first element type that family is selected from M element type.Since the first element type is the element type of user's selection, then It can make the content that needs show user selection of the terminal according to user, to increase the flexibility that terminal shows webpage.
A kind of hardware architecture diagram of Fig. 9 terminals of each embodiment to realize the present invention, the terminal 100 include but not It is limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, the components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 9, terminal may include than illustrating more More or less component either combines certain components or different components arrangement.In embodiments of the present invention, terminal includes But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 110 determine M member for the first operation in response to the first link in a user couple webpage Plain type, M are positive integer;Display unit 106 be used in the display interface of terminal display reminding information, prompt message be used for User prompts M element type;Display unit 106 is additionally operable to the second operation to prompt message in response to user, on display circle The object for the first element type instruction that user selects from M element type is shown on face.
Terminal provided in an embodiment of the present invention, the first behaviour of first link of the terminal in detecting the first webpage of user couple After work, in response to first operation, terminal determines M element type, terminal terminal display interface display reminding information, The prompt message, if terminal detects the second operation, shows use for prompting the user with M element type on display interface The first element type that family is selected from M element type.Since the first element type is the element type of user's selection, then It can make the content that needs show user selection of the terminal according to user, to increase the flexibility that terminal shows webpage.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 100 executes.Sound Frequency output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 include touch panel 1071 and other Input equipment 1072.Touch panel 1071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072. Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in fig.9, touch panel 1071 and display Panel 1061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically It is fixed.
Interface unit 108 is the interface that external device (ED) is connect with terminal 100.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 100 or can be used for terminal 100 and external device (ED) it Between transmission data.
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, and in conjunction with Fig. 9, including processor 110, memory 109 is deposited The computer program that can be run on memory 109 and on processor 110 is stored up, which is executed by processor 110 Each process of Shi Shixian above-mentioned display method embodiments, and identical technique effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (14)

1. a kind of display methods is applied to terminal, which is characterized in that the method includes:
In response to the first operation of the first link in the first webpage of user couple, determine that M element type, M are positive integer;
The display reminding information in the display interface of the terminal, the prompt message is for prompting the user with the M element Type;
The second operation in response to user to the prompt message, shows user from the M element on the display interface The object of the first element type instruction selected in type.
2. according to the method described in claim 1, it is characterized in that, the determining M element type, including:
For each element type in the M element type, it is performed both by following step, with the determination M element type;
The target information in first webpage is obtained, the target information is used to indicate object element type;
According to the target information, the object element type is determined.
3. according to the method described in claim 2, it is characterized in that, the target information includes video tab and video playing At least one of location;
It is described that the object element type is determined according to the target information, including:
According at least one of the video tab and the video playing address, determine that the object element type is video Type.
4. according to the method described in claim 2, it is characterized in that, the target information includes the first label;
It is described that the object element type is determined according to the target information, including:
According to first label, the object element type is determined;
Wherein, if first label is picture tag, the object element type is picture/mb-type;If alternatively, described One label is word tag, then the object element type is literal type.
5. according to the method described in claim 4, it is characterized in that, the target information further includes the first quantity;
According to first label, the object element type is determined, including:
According to first label and first quantity, the object element type is determined;
Wherein, if first label is picture tag, first quantity is that display size is more than in first webpage Or the quantity of the picture equal to the first predetermined threshold value;If alternatively, first label is word tag, first quantity is The character quantity in first father's label in first webpage, the first father label be include that character quantity is greater than or equal to Father's label of at least one text label of second predetermined threshold value.
6. according to the method described in claim 5, it is characterized in that,
If first label is picture tag determines the target element according to first label and first quantity Plain type, including:
If first label is picture tag and first quantity is greater than or equal to first object predetermined threshold value, it is determined that The object element type is the picture/mb-type;
Alternatively,
If first label is word tag determines the target element according to first label and first quantity Plain type, including:
If first label is word tag and first quantity is greater than or equal to the second target predetermined threshold value, it is determined that The object element type is the literal type.
7. a kind of terminal, which is characterized in that the terminal includes determining module and display module;
The determining module determines M element class for the first operation of the first link in response to the first webpage of user couple Type, M are positive integer;
The display module, in the display interface of the terminal display reminding information, the prompt message be used for Family prompts the M element type that the determining module determines;And in response to user to the second behaviour of the prompt message Make, first yuan selected in the M element type that user determines from the determining module is shown on the display interface The object of plain type instruction.
8. terminal according to claim 7, which is characterized in that the determining module is specifically used for:
For each element type in the M element type, it is performed both by following step, with the determination M element type;
The target information in first webpage is obtained, the target information is used to indicate object element type;
According to the target information, the object element type is determined.
9. terminal according to claim 8, which is characterized in that the target information includes video tab and video playing At least one of location;
The determining module is specifically used for, according at least one of the video tab and the video playing address, determining The object element type is video type.
10. terminal according to claim 9, which is characterized in that the target information includes the first label;
The determining module is specifically used for, according to first label, determining the object element type;
Wherein, if first label is picture tag, the object element type is picture/mb-type;If alternatively, described One label is word tag, then the object element type is literal type.
11. terminal according to claim 10, which is characterized in that the target information further includes the first quantity;
The determining module is specifically used for, according to first label and first quantity, determining the object element type;
Wherein, if first label is picture tag, first quantity is that display size is more than in first webpage Or the quantity of the picture equal to the first predetermined threshold value;If alternatively, first label is word tag, first quantity is The character quantity in first father's label in first webpage, the first father label be include that character quantity is greater than or equal to Father's label of at least one text label of second predetermined threshold value.
12. terminal according to claim 11, which is characterized in that the determining module is specifically used for:
If first label is picture tag and first quantity is greater than or equal to first object predetermined threshold value, it is determined that The object element type is the picture/mb-type;Alternatively,
If first label is word tag and first quantity is greater than or equal to the second target predetermined threshold value, it is determined that The object element type is the literal type.
13. a kind of terminal, which is characterized in that the terminal includes processor, memory and is stored on the memory and can The computer program run on the processor realizes such as claim when the computer program is executed by the processor The step of display methods described in any one of 1-6.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the step of display methods as described in any one of claim 1-6 is realized when the computer program is executed by processor.
CN201810553110.9A 2018-05-31 2018-05-31 A kind of display methods and terminal Pending CN108763544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810553110.9A CN108763544A (en) 2018-05-31 2018-05-31 A kind of display methods and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810553110.9A CN108763544A (en) 2018-05-31 2018-05-31 A kind of display methods and terminal

Publications (1)

Publication Number Publication Date
CN108763544A true CN108763544A (en) 2018-11-06

Family

ID=64001592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810553110.9A Pending CN108763544A (en) 2018-05-31 2018-05-31 A kind of display methods and terminal

Country Status (1)

Country Link
CN (1) CN108763544A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489377A (en) * 2019-08-15 2019-11-22 陈征 A kind of information management system based on label, method, memory and electronic equipment
CN111459381A (en) * 2020-03-30 2020-07-28 维沃移动通信有限公司 Information display method, electronic equipment and storage medium
CN111813297A (en) * 2020-05-25 2020-10-23 维沃移动通信有限公司 Information display method and electronic equipment
CN113741743A (en) * 2021-01-04 2021-12-03 北京沃东天骏信息技术有限公司 Display method and device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346464A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Processing method and device of webpage element information and browser client
CN104978373A (en) * 2014-06-09 2015-10-14 腾讯科技(深圳)有限公司 Webpage display method and webpage display device
CN106776634A (en) * 2015-11-23 2017-05-31 北京搜狗科技发展有限公司 A kind of method for network access, device and terminal device
CN106844606A (en) * 2017-01-16 2017-06-13 青岛海信宽带多媒体技术有限公司 The focus processing method and processing device of webpage
US20170185423A1 (en) * 2011-05-24 2017-06-29 A9.Com, Inc. Techniques for providing personalized behavior-based content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170185423A1 (en) * 2011-05-24 2017-06-29 A9.Com, Inc. Techniques for providing personalized behavior-based content
CN104978373A (en) * 2014-06-09 2015-10-14 腾讯科技(深圳)有限公司 Webpage display method and webpage display device
CN104346464A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Processing method and device of webpage element information and browser client
CN106776634A (en) * 2015-11-23 2017-05-31 北京搜狗科技发展有限公司 A kind of method for network access, device and terminal device
CN106844606A (en) * 2017-01-16 2017-06-13 青岛海信宽带多媒体技术有限公司 The focus processing method and processing device of webpage

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489377A (en) * 2019-08-15 2019-11-22 陈征 A kind of information management system based on label, method, memory and electronic equipment
CN110489377B (en) * 2019-08-15 2022-01-07 陈征 Information management system and method based on label, memory and electronic equipment
CN111459381A (en) * 2020-03-30 2020-07-28 维沃移动通信有限公司 Information display method, electronic equipment and storage medium
CN111459381B (en) * 2020-03-30 2021-06-22 维沃移动通信有限公司 Information display method, electronic equipment and storage medium
CN111813297A (en) * 2020-05-25 2020-10-23 维沃移动通信有限公司 Information display method and electronic equipment
CN111813297B (en) * 2020-05-25 2022-02-25 维沃移动通信有限公司 Information display method and electronic equipment
CN113741743A (en) * 2021-01-04 2021-12-03 北京沃东天骏信息技术有限公司 Display method and device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110069306A (en) A kind of message display method and terminal device
CN108470041A (en) A kind of information search method and mobile terminal
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN110222212A (en) A kind of display control method and terminal device
CN110221753A (en) Application program downloads classification method and terminal device
CN108763544A (en) A kind of display methods and terminal
CN108920204A (en) A kind of interface display method and terminal device
CN109543099A (en) A kind of content recommendation method and terminal device
CN110502163A (en) The control method and terminal device of terminal device
CN110399583A (en) Page display method, device, electronic equipment and storage medium
CN109358931A (en) A kind of interface display method and terminal
CN108763541A (en) A kind of page display method and terminal
CN108334265A (en) A kind of document handling method and mobile terminal
CN110099296A (en) A kind of information display method and terminal device
CN109085968A (en) A kind of screenshotss method and terminal device
CN107885799A (en) Info web display methods and device
CN110046013A (en) A kind of interface display method and terminal device
CN109189298A (en) A kind of language switching method and terminal
CN109151176A (en) A kind of information acquisition method and terminal
CN109522278A (en) A kind of file memory method and terminal device
CN109816679A (en) A kind of image processing method and terminal device
CN109344125A (en) A kind of file name update method and terminal device
CN108920054A (en) A kind of application recommended method and terminal
CN109117054A (en) A kind of display control method and terminal
CN110012152A (en) A kind of interface display method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication