CN106775233A - Icon method for refreshing and terminal in a kind of terminal - Google Patents
Icon method for refreshing and terminal in a kind of terminal Download PDFInfo
- Publication number
- CN106775233A CN106775233A CN201611146241.2A CN201611146241A CN106775233A CN 106775233 A CN106775233 A CN 106775233A CN 201611146241 A CN201611146241 A CN 201611146241A CN 106775233 A CN106775233 A CN 106775233A
- Authority
- CN
- China
- Prior art keywords
- icon
- picture
- terminal
- thread
- refreshed
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present embodiments relate to icon method for refreshing and terminal in terminal display field, more particularly to a kind of terminal, it is used to improve the accuracy of terminal refresh icon.Due to after screen slip instruction is received in the embodiment of the present invention, if existing icon loading thread corresponding with the station location marker in the terminal, then cancel the already present icon loading thread, therefore will not continue to load the picture of history icon at the position of icon to be refreshed, and then will not also show the picture of history icon, avoid the situation of the picture that history icon is shown at the position of icon to be refreshed, the corresponding new icon of station location marker is created after the already present icon loading thread is cancelled load thread, the picture that thread obtains the icon to be refreshed is loaded by the new icon, and shown at station location marker, improve the accuracy of terminal refresh icon, improve Consumer's Experience.
Description
Technical field
The present embodiments relate to icon method for refreshing and terminal in terminal display field, more particularly to a kind of terminal.
Background technology
Generally show each file by certain icon arrays on the screen of terminal, Fig. 1 illustrates existing skill
The screen display schematic diagram of a kind of terminal in art, as shown in figure 1, terminal 101 shows multiple icons on screen, each icon can
Represent a file, an application program or picture etc..What the size of the screen of terminal was usually fixed, icon leads to
Often embark on journey or show in column, if desired for the file (not shown in USB flash disk figure) for showing preservation in external USB flash disk, as shown in figure 1, in place
Put the icon for showing that icon 103 is " the second text " on 102.
User can refresh in left and right on screen or up and down the figure shown on terminal screen during using terminal
Mark, for example, such as terminal is TV, then realize upward sliding terminal by the way that the direction controlling key of remote control is moved down
The purpose of screen, for another example, terminal is the intelligent television for possessing touch controllable function, then by the direction reality of finger slide downward screen
The purpose of existing upward sliding terminal screen.Fig. 1 a illustrate the end after user slides for the first time upwards to the screen of Fig. 1
The display schematic diagram of screen is held, Fig. 1 b illustrate the terminal screen after user slides for second upwards to the screen of Fig. 1 a
The schematic diagram for showing for the first time, Fig. 1 c illustrate the terminal screen after user slides for second upwards to the screen of Fig. 1 a
Second schematic diagram of display.
As shown in Fig. 1 a, Fig. 1 b and Fig. 1 c, if the screen of the double quick upward sliding terminal of user, slides one every time
OK.
It is to be changed into " the first picture thumbnail " icon at position 102 after first time is slided.If at position 102 also
Successfully " the first picture thumbnail " icon is not loaded, then default " not shown icon ", i.e. Waiting Graph occur at position 102
Mark.If loading successfully " the first picture thumbnail " icon at position 102, by " the first picture thumbnail " icon to waiting icon
It is replaced.
If not loading successfully " the first picture thumbnail " icon at position 102 also, user has started second and has slided again, position
Put 102 and can start to load " second picture thumbnail " icon.
Next can there are two kinds of situations, if now " the first picture thumbnail " icon is loaded successfully, the meeting of position 102
The icon of " the first picture thumbnail " is shown first, and then " second picture thumbnail " icon is loaded successfully, then position 102 can hold
The replacement of the new icon of row, shows " second picture thumbnail " for the second time, i.e., when sliding for second, position 102 can brush successively
It is new two kinds of icons of " the first picture thumbnail "-" second picture thumbnail " occur, i.e., when sliding for second, although final display
Correct " second picture thumbnail " icon that should show, but the aobvious of icon twice occurs on the position of terminal
Show.
Even also a kind of extreme case, " second picture thumbnail " icon first loads successfully, " the first picture thumbnail "
Loaded after icon successfully, then " second picture thumbnail "-" the first picture thumbnail " can successively occur in position 102;But whether
It is which kind of situation, if the sliding speed of user is too fast, can there is the refreshing of icon twice in once sliding, and exist
The final incorrect possibility of display result, strong influence Consumer's Experience.
The content of the invention
The embodiment of the present invention provides icon method for refreshing and terminal in a kind of terminal, is used to improving terminal refresh icon just
True rate.
The embodiment of the present invention provides icon method for refreshing in a kind of terminal, after screen slip instruction is received, determines
Icon to be refreshed station location marker on a terminal screen;If existing icon loading thread corresponding with station location marker in terminal,
Then cancel already present icon loading thread;New icon loading thread corresponding with station location marker is created, to cause by new
Icon loading thread obtain the picture of icon to be refreshed and shown at station location marker.
The embodiment of the present invention provides a kind of terminal, including:Determining unit, for after screen slip instruction is received, really
Make icon to be refreshed station location marker on a terminal screen;Cancel unit, if for existing in terminal and station location marker pair
The icon loading thread answered, then cancel already present icon loading thread;Processing unit, it is corresponding with station location marker for creating
New icon loading thread, to cause that loading thread by new icon obtains the picture of icon to be refreshed and at station location marker
Shown.
In the embodiment of the present invention, due to after screen slip instruction is received, if existing in terminal and station location marker pair
The icon loading thread answered, then cancel be will not continue at already present icon loading thread, therefore the position of icon to be refreshed it is right
The picture of the also unfinished corresponding history icon of icon loading thread is loaded, and then will not also show the figure of history icon
Piece, it is to avoid the situation of the picture of history icon is shown at the position of icon to be refreshed, is cancelling already present icon loading
The corresponding new icon loading thread of station location marker is created after thread, thread is loaded by new icon and is obtained icon to be refreshed
Picture, it is ensured that at a station location marker only one of which icon loading thread icon is processed, further in position
At mark the icon picture that new icon loading thread gets is shown, it is to avoid occur scheming twice on same position
Mark refreshes, and improves the accuracy of terminal refresh icon, improves Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly introduced.
Fig. 1 is a kind of screen display schematic diagram of terminal in the prior art;
Fig. 1 a are the display schematic diagram of the terminal screen after user slides for the first time upwards to the screen of Fig. 1;
Fig. 1 b are the schematic diagram of the terminal screen display for the first time after user slides for second upwards to the screen of Fig. 1 a;
Fig. 1 c are the schematic diagram that the terminal screen after user slides for second upwards to the screen of Fig. 1 a shows for second;
Fig. 2 is the schematic flow sheet of icon method for refreshing in a kind of terminal provided in an embodiment of the present invention;
Fig. 2 a are a kind of screen display schematic diagram of terminal provided in an embodiment of the present invention;
The signal of terminal buffers area picture/mb-type mark and picture 207 when Fig. 2 b are terminal screen display schematic diagram such as Fig. 2 a
Figure;
Fig. 2 c provide the schematic flow sheet of icon method for refreshing in another kind terminal for the embodiment of the present invention;
Fig. 2 d are the display schematic diagram of terminal screen after being slided for the first time upwards to Fig. 2 a;
Fig. 2 e are the display schematic diagram of terminal screen after being slided for second upwards to Fig. 2 a;
Fig. 2 f are the schematic diagram of the corresponding buffer area picture/mb-type marks of Fig. 2 e and picture;
Fig. 3 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect become more apparent, below in conjunction with accompanying drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
Icon refresh scheme provided in the embodiment of the present invention can be performed by terminal, and the terminal can be intelligent television, meter
Calculation machine, mobile phone, panel computer etc..Alternatively, the embodiment of the present invention is applied to multiple systems, such as Android system.Terminal
The picture of icon is shown, thread (English is alternatively referred to as imageview threads) and user interface presentation line can be loaded by icon
Journey is completed.Alternatively, two thread asynchronous operations, to improve icon attribute speed.Icon loading thread is loaded successfully
Pass through user interface presentation thread thread display after the picture of icon.
In the terminal, due to icon load thread and user interface presentation thread be it is asynchronous carry out, terminal often receives use
Slide at family, can all carry out the refreshing at interface, and all the icon that position changes can be repainted accordingly,
It is accomplished by loading the refresh operation that thread goes the corresponding icon picture in each position of execution with icon.In prior art, icon
Loading thread can preferentially go to search whether there is icon picture corresponding with target location from caching, if it is not, can go
Icon picture is obtained in the storage medium specified, as a example by USB flash disk insertion TV, electricity shows if necessary in the UI interfaces of oneself
File in USB flash disk, specifically, such as Android system, it typically goes to draw displaying icon picture by adapter adapters, is
System tells that icon loads thread such as imaegview threads and removes lookup names for XX.jpg pictures, if system in scanning USB flash disk
XX.jpg pictures are put into TV caching, that imageview thread can just be directly obtained the pictorial information in the buffer, and then
As the incoming adapter adapters of item, and finally it is shown in the interface of terminal, if imagview threads cannot be
The pictorial information is found in caching, then thread can directly go to read pictorial information in USB flash disk, therefore, in actual use, each
The speed that imageview performs picture acquisition is not fixed, even if all obtaining icon picture in the buffer, can also be subject to buffer area
Size, and data structure difference so that icon loading thread execution speed it is different.Also it is based on going forward
Carry, if user's excessive velocities during screen is slided, when icon loads thread also non-return icon picture, begin to
Execution is slided next time, and that will necessarily exist and there is the situation that multiple icons load thread on same position, also will result in
Problem described in present aspect background technology.
Based on the above, Fig. 2 illustrates icon method for refreshing in a kind of terminal provided in an embodiment of the present invention
Schematic flow sheet, as shown in Fig. 2 the method is comprised the following steps:
Step 2001, after screen slip instruction is received, determines icon to be refreshed position mark on a terminal screen
Know;
Step 2002, if existing icon loading thread corresponding with station location marker in terminal, cancels already present figure
Mark loading thread;
Step 2003, creates new icon loading thread corresponding with station location marker, to cause to be loaded by new icon
Thread obtains the picture of icon to be refreshed and is shown at station location marker.
In the embodiment of the present invention, due to after screen slip instruction is received, if existing in terminal and station location marker pair
The icon loading thread answered, then cancel be will not continue at already present icon loading thread, therefore the position of icon to be refreshed it is right
The picture of the also unfinished corresponding history icon of icon loading thread is loaded, and then will not also show the figure of history icon
Piece, it is to avoid the situation of the picture of history icon is shown at the position of icon to be refreshed, is cancelling already present icon loading
The corresponding new icon loading thread of station location marker is created after thread, thread is loaded by new icon and is obtained icon to be refreshed
Picture, it is ensured that at a station location marker only one of which icon loading thread icon is processed, further in position
At mark the icon picture that new icon loading thread gets is shown, it is to avoid occur scheming twice on same position
Mark refreshes, and improves the accuracy of terminal refresh icon, improves Consumer's Experience.
Fig. 2 a illustrate a kind of screen display schematic diagram of terminal provided in an embodiment of the present invention, such as Fig. 2 a institutes
Show, 6 icons are shown on the screen of terminal 201, such as go out icon 203, the i.e. icon of " the second text " is shown in position 202
Picture.
Position in the embodiment of the present invention on the screen of terminal can be with station location marker come unique mark, and station location marker can be
Meet the identifier of certain rule, or the information such as coordinate value for the position.
The picture of icon pre-sets in the embodiment of the present invention, in general, a type of file correspondence one
The picture of icon, when Fig. 2 b illustrate terminal screen display schematic diagram such as Fig. 2 a terminal buffers area picture/mb-type mark with
The schematic diagram of picture 207, as shown in Figure 2 b, during the picture of terminal storage icon, is stored, same class with picture/mb-type mark
The file of type may correspond to same picture/mb-type mark, that is to say, that the file of same type can correspond to same icon
Picture.In such as Fig. 2 a, the picture/mb-type of " the first text, the second text " mark is " text class ", then " the first text, the
The picture of the icon of two texts " is identical.For another example in Fig. 2 a, the picture/mb-type mark of " the first document, the second document " is equal
It is " document class " that then the icon picture of " the first document, the second document " is identical.Alternatively, picture/mb-type mark can also claim
The type identification of the file corresponding to icon.
Alternatively, the terminal in the embodiment of the present invention can be by being locally stored, such as some memory device (USB flash disk, SD storages
Card, hard disk etc.) or the mode of the network storage store the picture of icon, one picture/mb-type mark of each picture correspondence, tool
Body storage form is varied, storage form that can be as shown in Figure 2 b, stores the picture/mb-type mark of picture and the correspondence of picture
Relation.
Alternatively, terminal is provided with buffer area in the embodiment of the present invention, buffer area store in one section of duration terminal loads into
The buffer area of the picture of the icon of work(, such as terminal may store loading apart from terminal in nearest 10 minutes of current time into
The picture of the icon of work(, based on this, alternatively, the picture that thread obtains icon to be refreshed is loaded by new icon, including:Really
The picture/mb-type mark of fixed icon to be refreshed;If the picture/mb-type that is stored with buffer area identifies corresponding picture, from buffer area
Middle acquisition picture/mb-type identifies corresponding picture.In this way, can quick obtaining icon to be refreshed picture, improve refresh icon effect
Rate.
Alternatively, the picture of icon to be refreshed is obtained, including:Determine the picture/mb-type mark of icon to be refreshed;If caching
The picture/mb-type that is not stored with area identifies corresponding picture, then:Determine the ID of trace route path of icon to be refreshed;From icon to be refreshed
Picture/mb-type is obtained at the corresponding storage region of ID of trace route path and identifies corresponding picture.In this way, not storing to be refreshed in buffer area
In the case of the picture of icon, the picture of icon to be refreshed can be obtained from the corresponding storage region of ID of trace route path, be correct display
Icon to be refreshed is provided and ensured.Alternatively, the corresponding storage region of ID of trace route path can be External memory equipment, such as USB flash disk or
Person's hard disk etc..
Alternatively, picture/mb-type is obtained from the corresponding storage region of ID of trace route path of icon to be refreshed and identifies corresponding figure
After piece, also include:If successfully getting picture/mb-type from the corresponding storage region of ID of trace route path identifies corresponding picture, will
Picture/mb-type identifies corresponding picture and stores to buffer area, and thread is loaded to identical to cause that other positions identify corresponding icon
The picture of type identification is loaded in the buffer.In this way, during follow-up refresh icon, if the picture of icon to be refreshed
Be stored in buffer area, then can quick obtaining arrive, so as to improve obtain icon picture speed.
Alternatively, in the terminal, icon loading thread can be managed by setting thread pool, and in thread pool
Thread be managed by data structure diagram (English can be described as Map).Terminal records each position and marks by data structure diagram
Know the corresponding relation that thread is loaded with icon;If existing icon loading thread corresponding with station location marker, cancels in terminal
Already present icon loads thread, including:Searching data structure chart, if the corresponding figure of existing station location marker in data structure diagram
Mark loading thread, then delete the corresponding icon loading thread of already present station location marker from data structure diagram;Create and position
Put after the corresponding new icon loading thread of mark, also include:According to the correspondence of new icon loading thread and station location marker
Relation updates the data structure chart.Can so make the management of thread more rationally and efficient, and simplify curve and the addition of thread
Process.
Data structure diagram (Map) is the data structure that a kind of form according to key-value pair is stored.Its key assignments can be
The key assignments and each key assignments that any kind of object can not have repetition in figure simultaneously must value correspondences corresponding with
Storage.Therefore, according to this characteristic of Map, corresponding relation can therebetween be set up to station location marker and icon loading thread,
And Map can perform the functions such as inquiry, renewal, such as using station location marker as key values, icon loads thread as value values,
Accordingly, it is possible to use with the presence or absence of the mapping corresponding to key assignments in containsKey (Obejiect Key) detection figures, namely
By known station location marker, the value values arranged in pairs or groups with it i.e. icon loading thread is found.
Modem composition Map is only a kind of simple data structure for realizing this programme thread and location management, we
Case is not limited to realize the function using Map that those skilled in the art can realize the function, fall within we to other data structures
The protection domain of case.
Based on the above, Fig. 2 c illustrate the embodiment of the present invention and provide icon method for refreshing in another terminal
Schematic flow sheet, as shown in Figure 2 c, the method includes:
Step 2101, after screen slip instruction is received, determines icon to be refreshed position mark on a terminal screen
Know;Alternatively, icon loading thread is used for picture to be shown at loading position mark in the embodiment of the present invention;
Step 2102, judge in thread pool (English can be described as threadpool) whether the corresponding figure of existing station location marker
Mark loading thread;It is determined that in thread pool in the case of the corresponding icon loading thread of existing station location marker, performing step
2103;In the case of it is determined that non-existence position identifies corresponding icon loading thread in thread pool, step 2104 is performed;
Step 2103, cancels the corresponding icon loading thread of already present station location marker in thread pool;
Step 2104, determines the picture/mb-type mark of icon to be refreshed;Identified according to picture/mb-type, create station location marker pair
The new icon loading thread answered, by new icon loading thread addition thread pool, performs new icon loading thread;
Whether step 2105, the picture/mb-type that judges to be stored with buffer area identifies corresponding picture;
In the case of it is determined that the picture/mb-type that is stored with buffer area identifies corresponding picture, step 2106 is performed;True
In the case that picture/mb-type of determining not to be stored with buffer area identifies corresponding picture, step 2107 is performed:
Step 2106, obtains picture/mb-type and identifies corresponding picture from buffer area;Perform step 2108;
Step 2107, determines the ID of trace route path of icon to be refreshed;From the corresponding memory block of the ID of trace route path of icon to be refreshed
Picture/mb-type is obtained at domain and identifies corresponding picture, perform step 2108;
Step 2108, shows that picture/mb-type identifies corresponding picture, and picture/mb-type is identified into correspondence at station location marker
Picture store to buffer area.
Fig. 2 d illustrate the display schematic diagram of terminal screen after being slided for the first time upwards to Fig. 2 a, and Fig. 2 e are exemplary
The display schematic diagram of terminal screen after being slided for second upwards to Fig. 2 a is shown, it is corresponding slow that Fig. 2 f illustrate Fig. 2 e
Deposit the schematic diagram of area's picture/mb-type mark and picture.Specifically, terminal is slided every time, and the icon on the whole screen of terminal has
Multiple is required for refreshing, and is introduced by taking last column as an example in the embodiment of the present invention, the brush of the icon to be refreshed of other positions
New departure is similar with its, repeats no more.
As shown in Fig. 2 a, Fig. 2 b, Fig. 2 d, Fig. 2 e and Fig. 2 f, user is for the quick upward sliding two of terminal shown in Fig. 2 a
Secondary, the schematic diagram of the terminal after sliding for the first time slides and is moved out of icon and includes " the first document, the as shown in Figure 2 d, for the first time
The icon of one text and the first form ", the picture of the icon of last column of terminal may not loaded successfully also, be had not yet been displayed out
Come, user is to have carried out second upwards to slide.The schematic diagram of the terminal after sliding for second as shown in Figure 2 e, is slided for the second time
It is moved out of icon of the icon including " the second text, the second form and the second document ".
User is carried out after first time slip, and correspondence creates three icon loaded lines at the position of last column of user
Journey, the icon for creating " the first picture thumbnail " than the correspondence of position 202 as shown in fig. 2d loads thread, in icon loaded line
Before journey also Loads Image not successfully, the picture of the position display " not showing icon ", being somebody's turn to do the picture of " not showing icon " can be
Default acquiescence picture.
User has carried out second and has slided upwards.After second upwards is slided, terminal determines terminal screen to user
On icon to be refreshed, specifically, terminal is slided every time, the icon on the whole screen of terminal have multiple be required for refresh,
It is introduced by taking the station location marker " position 202 " of last column as an example in the embodiment of the present invention, the icon to be refreshed of other positions
Refresh scheme it is similar with its, repeat no more.
As shown in figure 2e, the scheme in the embodiment of the present invention enters one it is determined that should show icon to be refreshed at position 202
Step determines that correspondence also loads thread in the presence of the icon of " the first picture thumbnail " at current location 202, now canceling position 202
Locate the icon loading thread of corresponding " the first picture thumbnail ", and create " the 4th picture thumbnail " corresponding at position 202
Icon loading thread, and the icon that thread obtains " the 4th picture thumbnail " is loaded by the icon of " the 4th picture thumbnail "
Picture, and at position 202 show.The icon of " the first picture thumbnail " is corresponding history icon referred to as at position 202.
The picture that thread obtains the icon of " the 4th picture thumbnail ", tool are loaded by the icon of " the 4th picture thumbnail "
For body, first determine that the picture/mb-type of the icon of " the 4th picture thumbnail " is designated " the 4th picture thumbnail class ".To
Slide for upper second after the screen of terminal, terminal buffers area picture/mb-type mark is with picture still as shown in Figure 2 b, it is seen that terminal
Buffer area does not have picture/mb-type to be designated the picture of the 4th picture thumbnail class, it is thus determined that the ID of trace route path of icon to be refreshed;
Picture/mb-type is obtained from the corresponding storage region of ID of trace route path of icon to be refreshed and identifies corresponding picture.Further, will scheme
The picture that sheet type is designated " the 4th picture " is stored to buffer area, the buffer area picture category of terminal after second slip screen
Type is identified with picture 208 as shown in figure 2f.
Based on same idea, Fig. 3 illustrates a kind of structural representation of terminal provided in an embodiment of the present invention, such as
Shown in Fig. 3, terminal 300 includes determining unit 301, cancels unit 302 and processing unit 303.Wherein:
Determining unit, for after screen slip instruction is received, determining icon to be refreshed position on a terminal screen
Put mark;
Cancel unit, if for existing icon loading thread corresponding with station location marker in terminal, cancelling existing
Icon loading thread;
Processing unit, thread is loaded for creating new icon corresponding with station location marker, to cause to pass through new icon
Loading thread obtains the picture of icon to be refreshed and is shown at station location marker.
Alternatively, processing unit, is used for:Determine the picture/mb-type mark of icon to be refreshed;If being stored with figure in buffer area
Sheet type identifies corresponding picture, then picture/mb-type is obtained from buffer area identifies corresponding picture.
Alternatively, processing unit, is used for:Determine the picture/mb-type mark of icon to be refreshed;If not being stored with buffer area
Picture/mb-type identifies corresponding picture, then:Determine the ID of trace route path of icon to be refreshed;From the ID of trace route path correspondence of icon to be refreshed
Storage region obtain picture/mb-type and identify corresponding picture.
Alternatively, processing unit, is additionally operable to:If successfully getting picture/mb-type mark from the corresponding storage region of ID of trace route path
Know corresponding picture;Picture/mb-type then is identified into corresponding picture to store to buffer area, to cause other positions mark corresponding
Icon loads thread and the corresponding picture of picture/mb-type mark is loaded in the buffer.
Alternatively, terminal records each station location marker by data structure diagram and icon loads the corresponding relation of thread;Take
Disappear unit, is used for:Searching data structure chart, if the corresponding icon loading thread of existing station location marker in data structure diagram,
The corresponding icon loading thread of already present station location marker is deleted from data structure diagram;Processing unit, is additionally operable to:According to new
Icon loading thread and the corresponding relation of station location marker update the data structure chart.
It can be seen from the above:In the embodiment of the present invention, due to after screen slip instruction is received, if in terminal
Existing icon loading thread corresponding with station location marker, then cancel already present icon loading thread, therefore icon to be refreshed
Position at will not continue to the picture of pair also unfinished corresponding history icon of icon loading thread and load, and then also not
The picture of history icon can be shown, it is to avoid the situation of the picture of history icon is shown at the position of icon to be refreshed, is being taken
The already present icon that disappears creates the corresponding new icon loading thread of station location marker after loading thread, is loaded by new icon
Thread obtains the picture of icon to be refreshed, it is ensured that at the station location marker only one of which icon load thread to icon at
Reason, further show at station location marker to the icon picture that new icon loading thread gets, it is to avoid same
Occur icon twice on one position to refresh, improve the accuracy of terminal refresh icon, improve Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product.
Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.And, the present invention can be used to be can use in one or more computers for wherein including computer usable program code and deposited
The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from model of the invention to the present invention
Enclose.So, if these modifications of the invention and modification belong within the scope of the claims in the present invention and its equivalent technologies, then
The present invention is also intended to comprising these changes and modification.
Claims (10)
1. icon method for refreshing in a kind of terminal, it is characterised in that including:
After screen slip instruction is received, icon to be refreshed station location marker on a terminal screen is determined;
If existing icon loading thread corresponding with the station location marker, cancels the already present icon in the terminal
Loading thread;
New icon loading thread corresponding with the station location marker is created, to cause that loading thread by the new icon obtains
Take the picture of the icon to be refreshed and shown at the station location marker.
2. the method for claim 1, it is characterised in that it is described by the new icon load thread obtain described in treat
The picture of refresh icon, including:
Determine the picture/mb-type mark of the icon to be refreshed;
If the picture/mb-type that is stored with buffer area identifies corresponding picture, the picture category is obtained from the buffer area
Type identifies corresponding picture.
3. method as claimed in claim 2, it is characterised in that the picture of the acquisition icon to be refreshed, including:
Determine the picture/mb-type mark of the icon to be refreshed;
If the picture/mb-type that is not stored with buffer area identifies corresponding picture,:
Determine the ID of trace route path of the icon to be refreshed;
The picture/mb-type mark is obtained from the corresponding storage region of the ID of trace route path of the icon to be refreshed corresponding
Picture.
4. method as claimed in claim 3, it is characterised in that the ID of trace route path correspondence from the icon to be refreshed
Storage region at obtain after the picture/mb-type identifies corresponding picture, also include:
If successfully getting the picture/mb-type from the corresponding storage region of the ID of trace route path identifies corresponding picture, by institute
State the corresponding picture of picture/mb-type mark to store to the buffer area, to cause that other positions identify corresponding icon loading thread
Picture to same type mark is loaded in the buffer.
5. the method for claim 1, it is characterised in that the terminal records each station location marker by data structure diagram
With the corresponding relation that icon loads thread;
If existing icon loading thread corresponding with the station location marker, cancels described already present in the terminal
Icon loads thread, including:
The data structure diagram is searched, if the corresponding icon loaded line of the existing station location marker in the data structure diagram
Journey, then delete the corresponding icon loading thread of the already present station location marker from the data structure diagram;
It is described create new icon loading thread corresponding with the station location marker after, also include:
Corresponding relation according to the new icon loading thread and the station location marker updates the data structure diagram.
6. a kind of terminal, it is characterised in that including:
Determining unit, for after screen slip instruction is received, determining icon to be refreshed position mark on a terminal screen
Know;
Cancel unit, if for existing icon loading thread corresponding with the station location marker in the terminal, cancelling
The icon loading thread for existing;
Processing unit, thread is loaded for creating new icon corresponding with the station location marker, to cause by described new
Icon loading thread obtains the picture of the icon to be refreshed and is shown at the station location marker.
7. terminal as claimed in claim 6, it is characterised in that the processing unit, is used for:
Determine the picture/mb-type mark of the icon to be refreshed;
If the picture/mb-type that is stored with buffer area identifies corresponding picture, the picture category is obtained from the buffer area
Type identifies corresponding picture.
8. terminal as claimed in claim 7, it is characterised in that the processing unit, is used for:
Determine the picture/mb-type mark of the icon to be refreshed;
If the picture/mb-type that is not stored with buffer area identifies corresponding picture,:
Determine the ID of trace route path of the icon to be refreshed;
The picture/mb-type is obtained from the corresponding storage region of the ID of trace route path of the icon to be refreshed identify corresponding figure
Piece.
9. terminal as claimed in claim 8, it is characterised in that the processing unit, is additionally operable to:
If successfully getting the picture/mb-type from the corresponding storage region of the ID of trace route path identifies corresponding picture;Then by institute
State the corresponding picture of picture/mb-type mark to store to the buffer area, to cause that other positions identify corresponding icon loading thread
Corresponding picture is identified to the picture/mb-type to be loaded in the caching.
10. terminal as claimed in claim 6, it is characterised in that the terminal records each position and marks by data structure diagram
Know the corresponding relation that thread is loaded with icon;
The cancellation unit, is used for:
The data structure diagram is searched, if the corresponding icon loaded line of the existing station location marker in the data structure diagram
Journey, then delete the corresponding icon loading thread of the already present station location marker from the data structure diagram;
The processing unit, is additionally operable to:
Corresponding relation according to the new icon loading thread and the station location marker updates the data structure diagram.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146241.2A CN106775233A (en) | 2016-12-13 | 2016-12-13 | Icon method for refreshing and terminal in a kind of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146241.2A CN106775233A (en) | 2016-12-13 | 2016-12-13 | Icon method for refreshing and terminal in a kind of terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775233A true CN106775233A (en) | 2017-05-31 |
Family
ID=58880812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611146241.2A Pending CN106775233A (en) | 2016-12-13 | 2016-12-13 | Icon method for refreshing and terminal in a kind of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775233A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322593A (en) * | 2017-12-21 | 2018-07-24 | 努比亚技术有限公司 | Application icon dynamic update display methods, terminal and computer readable storage medium |
CN110134486A (en) * | 2019-05-23 | 2019-08-16 | 吉林亿联银行股份有限公司 | A kind of asynchronous method and device to Load Image of ListView |
CN110333920A (en) * | 2019-05-08 | 2019-10-15 | 武汉瓯越网视有限公司 | A kind of update figure calibration method and relevant apparatus |
WO2019195965A1 (en) * | 2018-04-08 | 2019-10-17 | 深圳盒子信息科技有限公司 | Method and apparatus for configuring interface icon, and terminal device |
CN110825477A (en) * | 2019-11-04 | 2020-02-21 | 上海达梦数据库有限公司 | Method, device and equipment for loading graphical interface and storage medium |
CN116679852A (en) * | 2023-08-03 | 2023-09-01 | 民航成都信息技术有限公司 | Project icon quotation method and device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7765467B2 (en) * | 2002-06-12 | 2010-07-27 | Microsoft Corporation | Undoing pending changes applied to web pages |
US20120052918A1 (en) * | 2010-09-01 | 2012-03-01 | Lg Electronics Inc. | Mobile terminal and method of managing display of an icon in a mobile terminal |
CN103823690A (en) * | 2013-12-05 | 2014-05-28 | Tcl集团股份有限公司 | Online image loading method and system |
CN104765544A (en) * | 2015-05-04 | 2015-07-08 | 深圳市睿祺智尚科技有限公司 | Icon display method and system and smart home control terminal |
CN105045592A (en) * | 2015-07-24 | 2015-11-11 | 北京金山安全软件有限公司 | Picture display method and device |
-
2016
- 2016-12-13 CN CN201611146241.2A patent/CN106775233A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7765467B2 (en) * | 2002-06-12 | 2010-07-27 | Microsoft Corporation | Undoing pending changes applied to web pages |
US20120052918A1 (en) * | 2010-09-01 | 2012-03-01 | Lg Electronics Inc. | Mobile terminal and method of managing display of an icon in a mobile terminal |
CN103823690A (en) * | 2013-12-05 | 2014-05-28 | Tcl集团股份有限公司 | Online image loading method and system |
CN104765544A (en) * | 2015-05-04 | 2015-07-08 | 深圳市睿祺智尚科技有限公司 | Icon display method and system and smart home control terminal |
CN105045592A (en) * | 2015-07-24 | 2015-11-11 | 北京金山安全软件有限公司 | Picture display method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322593A (en) * | 2017-12-21 | 2018-07-24 | 努比亚技术有限公司 | Application icon dynamic update display methods, terminal and computer readable storage medium |
WO2019195965A1 (en) * | 2018-04-08 | 2019-10-17 | 深圳盒子信息科技有限公司 | Method and apparatus for configuring interface icon, and terminal device |
CN110333920A (en) * | 2019-05-08 | 2019-10-15 | 武汉瓯越网视有限公司 | A kind of update figure calibration method and relevant apparatus |
CN110333920B (en) * | 2019-05-08 | 2022-06-17 | 武汉瓯越网视有限公司 | Method and related device for updating icon |
CN110134486A (en) * | 2019-05-23 | 2019-08-16 | 吉林亿联银行股份有限公司 | A kind of asynchronous method and device to Load Image of ListView |
CN110825477A (en) * | 2019-11-04 | 2020-02-21 | 上海达梦数据库有限公司 | Method, device and equipment for loading graphical interface and storage medium |
CN116679852A (en) * | 2023-08-03 | 2023-09-01 | 民航成都信息技术有限公司 | Project icon quotation method and device, electronic equipment and medium |
CN116679852B (en) * | 2023-08-03 | 2023-10-27 | 民航成都信息技术有限公司 | Project icon quotation method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775233A (en) | Icon method for refreshing and terminal in a kind of terminal | |
US10891395B2 (en) | Method and apparatus for capturing screen on mobile device | |
US10606533B2 (en) | Editing an image on a medium using a template including attribute information of an object in the image | |
CN107170026B (en) | Method and device for drawing line on display screen and terminal equipment | |
US10147400B2 (en) | Display control device, display control method, and display control program | |
EP3144810A1 (en) | System for data aggregation and analysis of data from a plurality of data sources | |
CN104850408A (en) | Method and device for drawing pictures on smartwatch | |
CN104238724B (en) | Input method and system for electronic equipment based on movement | |
CN114041111A (en) | Handwriting drawing method, apparatus, electronic device, medium, and program product | |
US9317145B2 (en) | Information processing apparatus, information processing method, and computer readable medium | |
CN107621951B (en) | View level optimization method and device | |
EP2712433B1 (en) | User interface for drawing with electronic devices | |
CN105760375A (en) | Gantt chart display method and system | |
JP2014002678A (en) | Object display method, program, and device | |
US10732794B2 (en) | Methods and systems for managing images | |
CN107256124B (en) | Electronic whiteboard touch control method and device | |
CN107291350B (en) | Method for deleting and terminal device applied to the terminal device for supporting multi-point touch | |
JP6335024B2 (en) | Display device, display method, display program, and electronic blackboard | |
WO2021082652A1 (en) | Information display method and apparatus, and computer-readable storage medium | |
CN107918512B (en) | Hotel information display method and device, electronic equipment and storage medium | |
US20140375576A1 (en) | Facilitating touch screen users to select elements in a densely populated display | |
JP2010113610A (en) | Meeting support system, associated information registration method, associated information retrieval method, server and program | |
US20140375585A1 (en) | Object processing device, object processing method, and object processing program | |
CN105528362B (en) | Table loading display method and display device thereof | |
US9848160B2 (en) | Imaging apparatus, imaging method and program |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |