CN109446450A - List browse method, apparatus, terminal and storage medium based on red dot tracking - Google Patents

List browse method, apparatus, terminal and storage medium based on red dot tracking Download PDF

Info

Publication number
CN109446450A
CN109446450A CN201811277318.9A CN201811277318A CN109446450A CN 109446450 A CN109446450 A CN 109446450A CN 201811277318 A CN201811277318 A CN 201811277318A CN 109446450 A CN109446450 A CN 109446450A
Authority
CN
China
Prior art keywords
red dot
list
information
list page
array
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
CN201811277318.9A
Other languages
Chinese (zh)
Other versions
CN109446450B (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201811277318.9A priority Critical patent/CN109446450B/en
Publication of CN109446450A publication Critical patent/CN109446450A/en
Application granted granted Critical
Publication of CN109446450B publication Critical patent/CN109446450B/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 list browse method, apparatus, terminal and storage mediums based on red dot tracking, and wherein the method, includes the steps of determining that the element in list page with red dot characteristic, and the element is made to show red dot;Red dot array is created, the element information and location information corresponding with element information that will be displayed with the element of red dot are stored in the red dot array;The element information in red dot array is traversed using red dot method for tracing, the element in the list page is indexed according to traversing result and the corresponding location information of element information and is shown.Red dot array of the present invention stores the element information of red dot element, the element information in red dot array is traversed one by one using red dot method for tracing, determine the target index entry currently traversed in red dot array, further according to the location information direct index of target index entry and element, into list page, corresponding element is shown, so that the element is located at reading position, user is facilitated to browse information.

Description

List browse method, apparatus, terminal and storage medium based on red dot tracking
Technical field
The present invention relates to field of communication technology more particularly to a kind of list browse method, apparatus based on red dot tracking, end End and storage medium.
Background technique
Existing traditional list browse page is divided into common browse page and the list browse page with red dot, however both Browsing mode all has certain defect, and common list browse mode can not protrude the key content of browsing;With red dot List browse mode makes user that can notice the corresponding a certain information of red dot at the first time in navigation process, and clicking should Its corresponding red dot disappears after information, although this method increases the exposure of important information to a certain extent, When having accumulated excessive red dot information in list page and in the more dispersed position of entire list, it is desirable to read one by one every Just needed when red dot message from first to last check, it is very complicated.If blindness by whole red dot message top sets in At the top of entire list, experience for a user it is very poor because some of them red dot message has been that user is no longer concerned about in fact Content, for no other reason than that user not yet read so its classification for still falling within red dot message.
Summary of the invention
The embodiment of the present invention provides a kind of list browse method, apparatus, terminal and storage medium based on red dot tracking, uses To need to search one by one when solving the problem of reading red dot information existing in the prior art.
In a first aspect, the embodiment of the present invention provides one kind, described method includes following steps:
It determines the element in list page with red dot characteristic, and the element is made to show red dot;
Red dot array is created, will be displayed with the element information and location information corresponding with element information of the element of red dot It is stored in the red dot array;
The element information in red dot array is traversed using red dot method for tracing, according to traversing result and element information Corresponding location information indexes the element in the list page and is shown.
Optionally, with the element of red dot characteristic in the determining list page, and the element is made to show red dot, it is specific to wrap It includes:
Table data agreement is received, the list page is packaged using the table data agreement, and make the column Each element in table page is provided with the red dot attribute of Boolean type;
Data content is received, and the data content is stored in corresponding element;
The element with red dot characteristic is determined according to the data content, and by the red dot category of the element with red dot characteristic Property be set as true so that the element shows red dot.
Optionally, the element information in red dot array is being traversed using red dot method for tracing, according to traversing result And element in the location information index list page of element and before being shown, the method also includes: it will be with the red dot The interface of the associated red dot method for tracing of array with can interactive component bind;Wherein, it is described can interactive component for receive triggering Signal is to call red dot method for tracing.
Optionally, described that the element information in red dot array is traversed using red dot method for tracing, according to traversal knot Element in the location information index list page of fruit and element is simultaneously shown, and is specifically included:
Judge whether the content in red dot array is empty;
If not empty, then the element in red dot array with the current presentation is determined according to the element of list page current presentation Corresponding element is starting index entry, and the default index value of the starting index is " 0 ", and to the element information in red dot array It is looped through from " 0 " to end to determine target index entry, is indexed according to the target index entry and the target one by one Element corresponding with location information in the location information index list page of the corresponding element of item, and the element indexed is opened up Show.
Optionally, the method also includes: after reading the data content in the element for showing red dot, described in deletion Location information corresponding with the element for showing red dot is in red dot array to delete the index of element.
Optionally, the interactive component includes: to click button, sliding button or rocker button.
Second aspect, the embodiment of the present invention provide a kind of list browse device based on red dot tracking, comprising:
Determining module for determining the element in list page with red dot characteristic, and makes the element show red dot;
Creation module creates red dot array, will be displayed with the element information of the element of red dot and corresponding with element information Location information be stored in the red dot array;
Display module, for being traversed using red dot method for tracing to the element information in red dot array, according to traversal As a result and the corresponding location information of element information indexes the element in the list page and is shown.
Optionally, the determining module is specifically used for: table data agreement is received, using the table data agreement to institute It states list page to be packaged, and each element in the list page is made to be provided with the red dot attribute of Boolean type;
Data content is received, and the data content is stored in corresponding element;
The element with red dot characteristic is determined according to the data content, and by the red dot category of the element with red dot characteristic Property be set as true so that the element shows red dot.
It optionally, further include binding module, for that will be chased after with the associated red dot of red dot array before display module The interface of track method with can interactive component bind;Wherein, it is described can interactive component for receiving trigger signal to call red dot to chase after Track method.
Optionally, the display module, specifically for judging whether the content in red dot array is empty;
If not empty, then the element in red dot array with the current presentation is determined according to the element of list page current presentation Corresponding element is starting index entry, and the default index value of the starting index is " 0 ", and to the element information in red dot array It is looped through from " 0 " to end to determine target index entry, is indexed according to the target index entry and the target one by one Element corresponding with location information in the location information index list page of the corresponding element of item, and the element indexed is opened up Show.
Optionally, described device further include: removing module, for reading in the data in the element for showing red dot Rong Hou deletes location information corresponding with the element for showing red dot in the red dot array to delete the index of element.
Optionally, the interactive component includes: to click button, sliding button or rocker button.
The third aspect, the embodiment of the present invention provide a kind of terminal, and the terminal includes memory, processor and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the list browse method that any one as described above is tracked based on red dot.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, are stored with computer program on the storage medium, The computer program realizes the list browse that any one as described above is tracked based on red dot when being executed by the processor The step of method.
The present invention stores the element information in the element with red dot by creation red dot array, utilizes red dot tracking side Method traverses the element information in red dot array one by one, determines the position letter of the target index entry currently traversed in red dot array Breath, further according to the location information direct index of target index entry and element into list page corresponding element, and to element carry out It shows, so that the element is located at reading position, user can click directly on the data content in element reading element, without sliding It moves or stirs list page actively to search the element with red dot, read information for user and provide convenience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the list browse method flow diagram based on red dot tracking that first embodiment provides;
Fig. 2 is the list browse method flow diagram based on red dot tracking that second embodiment provides;
Fig. 3 is the list browse method flow diagram based on red dot tracking that 3rd embodiment provides;
Fig. 4 is the block diagram for the list browse device based on red dot tracking that fourth embodiment provides;
Fig. 5 is the block diagram for the list browse device based on red dot tracking that the 5th embodiment provides;
Fig. 6 is the procedure chart of the list page browsing based on red dot tracking when sixth embodiment is chatted;
Fig. 7 is the terminal structure block diagram that the 7th embodiment provides.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
First embodiment of the invention provides a kind of list browse method based on red dot tracking, the executing subject packet of this method Include but be not limited to terminal, as shown in Figure 1, this method comprising the following specific steps
Step S11 determines the element in list page with red dot characteristic, and the element is made to show red dot;
Element is in list page for storing information so that user reads the component of information, when storing in element in this step Information have after update when modifying, it is determined that the element has red dot characteristic, then shows red dot, tool in the upper right corner of the element The position of the display red dot of body can be adjusted according to actual needs.
Step S12 creates red dot array, will be displayed with the element information of the element of red dot and corresponding with element information Location information is stored in the red dot array;
In this step, red dot array is used to element information and the element corresponding position of the special storage with red dot characteristic Information carries out traversal lookup to each element information convenient for subsequent by the way that the element for having red dot characteristic is carried out unified storage;This Element information is the title of element in step, and location information is position of the element corresponding with element information in list page.
Step S13 traverses the element information in red dot array using red dot method for tracing, according to traversing result and The corresponding location information of element information indexes the element in the list page and is shown.
In this step, by being traversed one by one to the element information in red dot array, determines the element currently traversed, lead to It crosses the location information in list page of the element currently traversed and the element determined and indexes the element in list page, then List page is slid into the corresponding position of the element automatically, so that the element is located at current reading position.
Such as have six elements of a, b, c, d, e and f in list page, wherein tri- elements of a, d and f has red dot characteristic, Its upper right corner shows red dot, and traditional list browsing method stirs list page after the manually sliding that user needs, sequentially finds A, then tri- elements of d and f are reading the data content in element, and the embodiment of the present invention is by by tri- members of a, d and f Location information of the element information and element of element in list page is stored in red dot array, it is only necessary to from red dot array successively A, d and f are traversed, list page can be made successively to jump in position corresponding with a, d and f, such as hot array and traverse a When, then list page jumps to position corresponding with element a, so that element a is located at current reading location, clicks directly on member convenient for user Plain a reads the content in element a, convenient and efficient.
Second embodiment of the invention provides a kind of list browse method based on red dot tracking, and executing subject includes but unlimited In terminal, as shown in Fig. 2, comprising the following specific steps
Step S21 is received table data agreement, is packaged using the table data agreement to the list page, and The each element in the list page is set to be provided with the red dot attribute of Boolean type;
Corresponding list page is packaged by receiving table data agreement in this step, so that the list page has Unified data processing agreement, and the element in list page is made to have the red dot attribute of Boolean type;Due to being Boolean type: only There are two kinds of values of true and false, it is either true or false, so red dot attribute also has display red dot and does not show two kinds of situations of red dot.
Step S22 receives data content, and the data content is stored in corresponding element;
In this step, after receiving data content from server-side, data content is handled using table data agreement, It is converted into the format of list page support and is stored in corresponding element.
Step S23, determining according to the data content has the element of red dot characteristic, and by the element with red dot characteristic Red dot attribute be set as very so that the element show red dot.
In this step, red dot attribute is Boolean type, due to Boolean type: only two kinds of true and false values, either true or false, institute With red dot attribute also has display red dot and do not show two kinds of situations of red dot.Specifically, being the data sent by receiving server-side Content determines whether the element for storing the data content shows red dot, if the data content that server-side is sent has red dot special Property, then the red dot attribute of the element is true, that is, shows red dot;If the data content that server-side is sent does not have red dot characteristic, The red dot attribute of the element is vacation, i.e., does not show red dot.
Step S24 creates red dot array, will be displayed with the element information of the element of red dot and and corresponding with element information Location information be stored in the red dot array;
Step S25 traverses the element information in red dot array using red dot method for tracing, according to traversing result and The corresponding location information of element information indexes the element in the list page and is shown.
It further include that will be tracked with the associated red dot of the red dot array before step S25 optionally in the present embodiment The interface of method with can interactive component bind;Wherein, it is described can interactive component for receiving trigger signal to call red dot to track Method, the interactive component include: to click button, sliding button or rocker button, by button, the sliding terminal of clicking terminal Button or shake terminal and generate triggering information, pass through triggering information and call red dot method for tracing.Such as have in list page a, B, eight elements of c, d, e, f, g and h, wherein tetra- elements of a, d, f and g has red dot characteristic, and the upper right corner shows red dot, After user read the data in f element in list page, it is only necessary to trigger interactive component, then can call red dot tracking side Method, in red dot array according to g, a, d and f ... sequence, circuit sequentially traversal each element, when traversing g, then list page Position corresponding with element g is jumped to, element g is made to be located at current reading location;When traversing a, then list page jump to The corresponding position element a makes element a be located at current reading location, provides convenience for the information in user's browsing list page.
In the embodiment of the present invention, by being packaged in advance to list page, come so that list page has unified list number According to processing protocol, convenient for the personalized agreement that server-side is sent is uniformly processed, data content is obtained, then according to data Content is stored in red dot array to determine whether corresponding element shows red dot, then by the data content in the element for showing red dot In, it is traversed convenient for the subsequent data content in red dot array, so that list shows corresponding element one by one, is not necessarily to one by one User searches each red dot in list page manually, provides convenience for user's browsing list page.
Third embodiment of the invention provides a kind of list browse method based on red dot tracking, as shown in figure 3, including as follows Step:
Step S31 determines the element in list page with red dot characteristic, and the element is made to show red dot;
Step S32 creates red dot array, will be displayed with the element information of the element of red dot and corresponding with element information Location information is stored in the red dot array;
Step S33 judges whether the content in red dot array is empty;
If not empty, then the element in red dot array with the current presentation is determined according to the element of list page current presentation Corresponding element is starting index entry, and the default index value of the starting index is " 0 ", and to the element information in red dot array It is looped through from " 0 " to end to determine target index entry, is indexed according to the target index entry and the target one by one Element corresponding with location information in the location information index list page of the corresponding element of item, and the element indexed is opened up Show.
In this step, by being traversed one by one to the element information in red dot array, to determine that target index entry (needs Will be in element shown in list page), it is indexed by the location information of target index entry and corresponding element in list page Find corresponding element in list page, in order to which list page jumps to the corresponding position of the element, be the element be located at currently read Reading location, specifically can be by the top as list page, to facilitate user to browse the element.
Further, after reading the data content in the element for showing red dot, delete in the red dot array with Its corresponding location information is to delete the index of element.Such as have eight elements of a, b, c, d, e, f, g and h in list page, wherein A, tetra- elements of d, f and g has red dot characteristic, and the upper right corner shows red dot, when user read f element in list page In data after, will by red dot array with f corresponding position information deletion, at this time triggering can interactive component can then call red dot Method for tracing sets starting index entry for data content corresponding to f first, and default index value is " 0 ", in red dot array According to g, a, d and f ... sequence circuit sequentially traversal, determine target index entry;When traversing g, the elements target is determined Index entry finds the element g in list page, then list page jumps to position corresponding with element, and element g is made to be located at current read Position;When traversing a, determine the element be target index entry, find the element a in list page, then list page jump to The corresponding position of element makes element a be located at current reading location;The rest may be inferred, when traversing f, determines that the data content is Target index entry, since the location information of the corresponding element of the target index entry has been deleted, because list page can not be found In and element f, therefore the target index entry can be skipped and directly traverse next element.
Fourth embodiment of the invention provides a kind of list browse device based on red dot tracking, as shown in Figure 4, comprising:
Determining module 11 for determining the element in list page with red dot characteristic, and makes the element show red dot;
Creation module 12, for creating red dot array, will be displayed with the element information of the element of red dot and believing with element Corresponding location information is ceased to be stored in the red dot array;
Display module 13, for being traversed using red dot method for tracing to the element information in red dot array, foundation time It goes through result and the corresponding location information of element information indexes the element in the list page and is shown.
The described device of the embodiment of the present invention creates red dot array by creation module, is had using the storage of red dot array The element information and location information of the element of red dot, then utilize red dot method for tracing to the member in red dot array by display module Prime information traverses one by one, determines the target index entry currently traversed in red dot array, then will directly index in list page with target The corresponding element of item is shown, so that the element is located at reading position, user can click directly on the element and read in element Data content, without slide or stir list page come actively search the element with red dot, for user reading information provide It is convenient.
Fifth embodiment of the invention provides a kind of list browse device based on red dot tracking, as shown in Figure 5, comprising:
Determining module 21 is received table data agreement, is packaged using the table data agreement to the list page, And each element in the list page is made to be provided with the red dot attribute of Boolean type;
Data content is received, and the data content is stored in corresponding element;
The element with red dot characteristic is determined according to the data content, and by the red dot category of the element with red dot characteristic Property be set as true so that the element shows red dot.
Creation module 22, create red dot array, will be displayed with the element of red dot element information and with element information pair The location information answered is stored in the red dot array;
Binding module 23, by with the interface of the associated red dot method for tracing of the red dot array with can interactive component bind; Wherein, it is described can interactive component for receiving trigger signal to call red dot method for tracing;
Display module 24 judges whether the content in red dot array is sky, if it is empty, is not then responded;
If not empty, then the element in red dot array with the current presentation is determined according to the element of list page current presentation Corresponding element is starting index entry, and the default index value of the starting index is " 0 ", and to the element information in red dot array It is looped through from " 0 " to end to determine target index entry, is indexed according to the target index entry and the target one by one Element corresponding with location information in the location information index list page of the corresponding element of item, and the element indexed is opened up Show.
In the present embodiment, optionally, described device further includes removing module, for reading the element for showing red dot In data content after, delete location information corresponding in the red dot array to delete the index of element.In this module, The index that element is deleted by delete position information, can be realized and skip the element when traversing the element read, with Next element is traversed, prevents list page when being shown to element, the element read is jumped to again and reads position It sets, causes the problem of repeatedly showing.
Sixth embodiment of the invention provides a kind of list browse device based on red dot tracking, and present apparatus main carriers are column Table page can carry out an advanced encapsulation to system list control in the design phase, so that system list control has a system One data processing agreement can be used directly the function of device offer as long as data format meets protocol requirement i.e., allow list Each of element all have a redPoint attribute an of Boolean type, determined according to from the received data content of server-side Whether data content has red dot characteristic, and element is worked as time redPoint attribute if having red dot characteristic and is set as very, this suit A small red dot can be shown in the upper right corner of element default by setting, conversely, when time redPoint attribute be it is false, then to the attribute into Row is hidden.Furthermore this covering device additionally provides the Api method and a red dot array of a tracking red dot, by by element information And the location information of element is placed in red dot array, in order to using red dot method for tracing to the element information in red dot array into Row traversal, determines next element with red dot that do not read in list page.In the present apparatus, client be can according to need this Method is tied on the component that can arbitrarily interact, and is such as clicked button, sliding button or is shaken mobile phone, it is red thus to trigger calling The method for tracing of point.
For example, when client is to server-side request page data, it is necessary first to using data processing agreement by server-side The personalized agreement of return is formatted processing, and with the protocol requirement of equality circuit, following device can be according to by format Changing the personalized agreement of processing, whether every content has red dot characteristic in agreement to determine, by this content institute if having Corresponding element redPoint attribute is set as true, and is stored in red dot array, in this way when list page is shown, element The upper right corner will show a small red dot.
Specifically, the operating process of the device includes:
1, server-side issues list page agreement, and client carries out unified formatting processing and complete after obtaining list page agreement At assembling.
2, client binding red dot track Api to any one or it is multiple can be in the response events of interactive component.
3, list space analysis list protocol and total data content is shown, it is corresponding with data content according to data content pair Element carry out red dot mark, and all red dot element informations and corresponding location information all in accordance with being stored in from small to large In one red dot array.
4, user and the component bound interact behavior, if the double-click or long-pressing of button are to call red dot tracking side Method.
5, when red dot method for tracing is called in triggering, first judge whether red dot array is sky, and default index value is " 0 "
A) it is not done then if it is sky any corresponding;
If being not b) sky, device traverse from 0 to end to the content in the red dot array of list;
If i. current index value is the last one element of red dot array, by index value most 0, and it re-execute the steps b)
If ii. current index value is the last one non-element of red dot array, the element according to list page current presentation is true Determining element corresponding with the element of the current presentation in red dot array, for starting index entry, default index value is " 0 ", and to red Element information in point array is looped through from " 0 " to end one by one to determine target index entry, according to target index entry And element corresponding with location information in the location information index list page of the corresponding element of target index entry, then by " index value " Add 1, list page slides into the top that the corresponding position of target index entry makes this be located at current reading location automatically at this time.
In the embodiment of the present invention, in chat, the process of list page browsing is as follows, in conjunction with Fig. 6, comprising:
1, into list page, to server-side request list agreement;
2, after receiving data return, tying up for data processing, the creation of red dot array and tracked interface method API is carried out It is fixed;
3, user's point fires interactive component, triggering tracking operation
4, judge whether red dot array is empty:
If it is empty, then it does not respond;
If not empty, then red dot array is traversed, judges whether current traversal item is the last one element, if then, will " when Preceding index " is set to 0;If it is not, " current index " is then added 1, reading currently indexes corresponding element position, and list page is automatic The position for sliding into the element is shown.
In the embodiment of the present invention, red dot data can be more easily searched under conditions of not destroying legacy data succession Information;It can be with by the addition and binding of tracking API so that whole device band is more perfect, flexibility, in the embodiment of the present invention Method for tracing is tied in any one interactive component.In addition, the customization of Universal Data Protocol is so that this covering device has completely The compatibility of any one interface protocol of foot, after access side only needs voluntarily to carry out protocol processes and encapsulation according to protocol requirement, This covering device can be used in the agreement for returning to general format.This covering device is by utilizing Universal Data Protocol to system list component Be packaged, make it have once write can any position uses in project again ability, do not need to patrol the inside of device It collects and is developed again.
Seventh embodiment of the invention provides a kind of terminal, as shown in fig. 7, comprises memory 1, processor 2 and communication bus 3;The communication bus 3 is for realizing the connection communication between processor 2 and memory 1;
Specifically, processor 2 can be general processor, such as central processing unit (Central in the embodiment of the present invention Processing Unit, CPU), can also be digital signal processor (Digital Signal Processor, DSP), specially With integrated circuit (Application Specific Integrated Circuit, ASIC), or it is arranged to implement this One or more integrated circuits of inventive embodiments.Wherein, memory is used to store the executable instruction of the processor;
Memory 1 is transferred to processor for storing program code, and by the program code.Memory may include easy The property lost memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Storage Device also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk (Solid-State Drive, SSD);Memory can also include the combination of the memory of mentioned kind.
Specifically, in the embodiment of the present invention, the processor be used to execute stored in memory based on red dot tracking The program of the program of list browse method, the list browse method based on red dot tracking is performed realization following steps:
Step 1: determining the element in list page with red dot characteristic, and the element is made to show red dot;
Step 2: creation red dot array, the element information of the element of red dot and corresponding with element information will be displayed with Location information is stored in the red dot array;
Step 3: traversed using red dot method for tracing to the element information in red dot array, according to traversing result and Element in index list page described in the corresponding location information of element information is simultaneously shown.
The specific embodiment process of above method step can be found in the first, second, and third embodiment, and the present embodiment is herein It is no longer repeated.
Eighth embodiment of the invention provides a kind of storage medium, and computer program is stored on the storage medium, described Following method and step is realized when computer program is executed by processor:
Step 1: determining the element in list page with red dot characteristic, and the element is made to show red dot;
Step 2: creation red dot array, the element information of the element of red dot and corresponding with element information will be displayed with Location information is stored in the red dot array;
Step 3: traversed using red dot method for tracing to the element information in red dot array, according to traversing result and Element in index list page described in the corresponding location information of element information is simultaneously shown.
The specific embodiment process of above method step can be found in the first, second, and third embodiment, and the present embodiment is herein It is no longer repeated.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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, all of these belong to the protection of the present invention.

Claims (14)

1. a kind of list browse method based on red dot tracking, which comprises the steps of:
It determines the element in list page with red dot characteristic, and the element is made to show red dot;
Red dot array is created, will be displayed with element information and location information corresponding with the element information storage of the element of red dot Into the red dot array;
The element information in red dot array is traversed using red dot method for tracing, it is corresponding according to traversing result and element information Location information index the element in the list page and be shown.
2. the list browse method as described in claim 1 based on red dot tracking, which is characterized in that in the determining list page Element with red dot characteristic, and the element is made to show red dot, it specifically includes:
Table data agreement is received, the list page is packaged using the table data agreement, and make the list page In each element be provided with the red dot attribute of Boolean type;
Data content is received, and the data content is stored in corresponding element;
The element with red dot characteristic is determined according to the data content, and the red dot attribute of the element with red dot characteristic is set It is set to very, so that the element shows red dot.
3. the list browse method as described in claim 1 based on red dot tracking, which is characterized in that utilizing red dot tracking side Method traverses the element information in red dot array, according to the member in the location information index list page of traversing result and element Element and before being shown, the method also includes: by with the interface of the associated red dot method for tracing of the red dot array with can Interactive component binding;Wherein, it is described can interactive component for receiving trigger signal to call red dot method for tracing.
4. the list browse method as described in claim 1 based on red dot tracking, which is characterized in that described to be tracked using red dot Method traverses the element information in red dot array, according in the location information index list page of traversing result and element Element is simultaneously shown, and is specifically included:
Judge whether the content in red dot array is sky, if it is empty, is not then responded;
If not empty, then it is determined according to the element of list page current presentation corresponding with the element of the current presentation in red dot array Element be starting index entry, it is described starting index default index value be " 0 ", and to the element information in red dot array from " 0 " to end is looped through one by one to determine target index entry, according to the target index entry and the target index entry Element corresponding with location information in the location information index list page of corresponding element, and the element indexed is opened up Show.
5. the list browse method as claimed in claim 4 based on red dot tracking, which is characterized in that the method also includes: After reading the data content in the element for showing red dot, delete in the red dot array with red dot is shown described in it The corresponding location information of element is to delete the index of element.
6. the list browse method as claimed in claim 3 based on red dot tracking, which is characterized in that the interactive component packet It includes: clicking button, sliding button or rocker button.
7. a kind of list browse device based on red dot tracking characterized by comprising
Determining module for determining the element in list page with red dot characteristic, and makes the element show red dot;
Creation module, create red dot array, will be displayed with the element of red dot element information and position corresponding with element information Confidence breath is stored in the red dot array;
Display module, for being traversed using red dot method for tracing to the element information in red dot array, according to traversing result And the corresponding location information of element information indexes the element in the list page and is shown.
8. the list browse device as claimed in claim 7 based on red dot tracking, which is characterized in that the determining module is specific For: table data agreement is received, the list page is packaged using the table data agreement, and make the list page In each element be provided with the red dot attribute of Boolean type;
Data content is received, and the data content is stored in corresponding element;
The element with red dot characteristic is determined according to the data content, and the red dot attribute of the element with red dot characteristic is set It is set to very, so that the element shows red dot.
9. the list browse method tracked based on red dot as described in claim requires 7, which is characterized in that further include binding mould Block, for before display module, by with the interface of the associated red dot method for tracing of the red dot array with can interactive component tie up It is fixed;Wherein, it is described can interactive component for receiving trigger signal to call red dot method for tracing.
10. the list browse method as claimed in claim 7 based on red dot tracking, which is characterized in that the display module, tool Body is used to judge whether the content in red dot array to be empty;
If not empty, then it is determined according to the element of list page current presentation corresponding with the element of the current presentation in red dot array Element be starting index entry, it is described starting index default index value be " 0 ", and to the element information in red dot array from " 0 " to end is looped through one by one to determine target index entry, according to the target index entry and the target index entry Element corresponding with location information in the location information index list page of corresponding element, and the element indexed is opened up Show.
11. the list browse device as claimed in claim 10 based on red dot tracking, which is characterized in that described device is also wrapped Include: removing module, for after reading the data content in the element for showing red dot, delete in the red dot array with institute It states and shows the corresponding location information of element of red dot to delete the index of element.
12. the list browse device as claimed in claim 9 based on red dot tracking, which is characterized in that the interactive component packet It includes: clicking button, sliding button or rocker button.
13. a kind of terminal, which is characterized in that the terminal includes memory, processor 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 Described in any one of 1-6 based on red dot tracking list browse method the step of.
14. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium The step of the list browse method based on red dot tracking as described in any one of claim 1-6 is realized when being executed by processor Suddenly.
CN201811277318.9A 2018-10-30 2018-10-30 List browsing method, device, terminal and storage medium based on red dot tracking Active CN109446450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811277318.9A CN109446450B (en) 2018-10-30 2018-10-30 List browsing method, device, terminal and storage medium based on red dot tracking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811277318.9A CN109446450B (en) 2018-10-30 2018-10-30 List browsing method, device, terminal and storage medium based on red dot tracking

Publications (2)

Publication Number Publication Date
CN109446450A true CN109446450A (en) 2019-03-08
CN109446450B CN109446450B (en) 2022-01-28

Family

ID=65549887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811277318.9A Active CN109446450B (en) 2018-10-30 2018-10-30 List browsing method, device, terminal and storage medium based on red dot tracking

Country Status (1)

Country Link
CN (1) CN109446450B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110215696A (en) * 2019-07-23 2019-09-10 网易(杭州)网络有限公司 Label display methods, device, electronic equipment and the storage medium of game
CN112286419A (en) * 2019-07-24 2021-01-29 腾讯科技(深圳)有限公司 List data loading method and device, terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001850A (en) * 2012-01-16 2013-03-27 陈晓亮 System and method for forwarding messages
CN103870464A (en) * 2012-12-10 2014-06-18 腾讯科技(北京)有限公司 Unread message processing method, display method and device
CN104883430A (en) * 2015-04-16 2015-09-02 努比亚技术有限公司 Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105049594A (en) * 2015-05-28 2015-11-11 腾讯科技(深圳)有限公司 Unread message playing method and unread message playing device
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN107609041A (en) * 2017-08-16 2018-01-19 北京五八信息技术有限公司 List page generation method and device
CN108038362A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 People of unread information display methods, device and computer-readable recording medium
CN108459895A (en) * 2018-03-02 2018-08-28 深圳前海桔子信息技术有限公司 Identity configuration method, device, equipment and storage medium are not read

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001850A (en) * 2012-01-16 2013-03-27 陈晓亮 System and method for forwarding messages
CN103870464A (en) * 2012-12-10 2014-06-18 腾讯科技(北京)有限公司 Unread message processing method, display method and device
CN104883430A (en) * 2015-04-16 2015-09-02 努比亚技术有限公司 Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105049594A (en) * 2015-05-28 2015-11-11 腾讯科技(深圳)有限公司 Unread message playing method and unread message playing device
CN107132963A (en) * 2017-05-08 2017-09-05 深圳乐信软件技术有限公司 Red message display method, elimination method and related device
CN107609041A (en) * 2017-08-16 2018-01-19 北京五八信息技术有限公司 List page generation method and device
CN108038362A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 People of unread information display methods, device and computer-readable recording medium
CN108459895A (en) * 2018-03-02 2018-08-28 深圳前海桔子信息技术有限公司 Identity configuration method, device, equipment and storage medium are not read

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110215696A (en) * 2019-07-23 2019-09-10 网易(杭州)网络有限公司 Label display methods, device, electronic equipment and the storage medium of game
CN112286419A (en) * 2019-07-24 2021-01-29 腾讯科技(深圳)有限公司 List data loading method and device, terminal and storage medium
CN112286419B (en) * 2019-07-24 2024-03-08 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for loading list data

Also Published As

Publication number Publication date
CN109446450B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
KR101496875B1 (en) Apparatus and methods for retrieving/downloading content on a communication device
KR102472288B1 (en) Information interaction methods, devices, devices, storage media and program products
CN105005429B (en) A kind of method and terminal of terminal display picture
WO2009149354A2 (en) Systems and methods for creating and sharing a presentation
CN105867714A (en) Application downloading method, apparatus and system
US20170171638A1 (en) Method and Terminal for Video Play
CN110162353B (en) Multi-page switching method and equipment, storage medium and terminal
KR20110000679A (en) Method, apparatus and computer program product for providing an information model-based user interface
CN105103181A (en) Persona chooser
US20060101330A1 (en) Browser sitemap viewer
CN106031127A (en) Method and device for the management of applications
JP4806345B2 (en) Image management apparatus and method for portable terminal
CN109446450A (en) List browse method, apparatus, terminal and storage medium based on red dot tracking
CN110825600B (en) Page information processing method, server and page display device
CN111367922A (en) Data updating method and related equipment
US10298974B2 (en) Method and device for presenting content data from network
KR20130118580A (en) Method and apparatus for providing contents based on voice call
CN109697129A (en) A kind of information sharing method, equipment and computer readable storage medium
US9805471B2 (en) Information processing apparatus, information processing system, and information processing method
CN109445790A (en) Implementation method, device, terminal and the storage medium fast instructed in application program
JP6064618B2 (en) Information processing apparatus and program
CN104424340A (en) Social network application information processing method, device and system
CN113207039A (en) Video processing method and device, electronic equipment and storage medium
CN105847516B (en) A kind of method for managing contact person information and device
CN111881357A (en) Information recommendation method and device, electronic equipment and computer-readable storage medium

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
GR01 Patent grant
GR01 Patent grant