CN108628629A - UI update methods, device, equipment and storage medium - Google Patents
UI update methods, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108628629A CN108628629A CN201810491144.XA CN201810491144A CN108628629A CN 108628629 A CN108628629 A CN 108628629A CN 201810491144 A CN201810491144 A CN 201810491144A CN 108628629 A CN108628629 A CN 108628629A
- Authority
- CN
- China
- Prior art keywords
- data
- binding relationship
- update
- module
- further include
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
A kind of UI update methods of the application offer, device, equipment and storage medium, including:Update the first data;The first UI is updated according to the first binding relationship of first data and the first user interface UI.Based on this, developer only need to execute a binding mapping when interface is opened, you can by UI layers and data layer separation, need to only safeguard the logic of data Layer, you can the display for automatically updating UI layers improves the update efficiency of UI to reduce the complexity of UI exploitations.
Description
Technical field
This application involves field of computer technology more particularly to a kind of user interface (User Interface, UI) to update
Method, apparatus, equipment and storage medium.
Background technology
UI exploitations are that a part most cumbersome in client exploitation works, especially in game design, since system is various,
Size of code occupies 80% or more entire client code.Therefore it is relatively high to be directed to the sexual valence that this part optimizes.
In the prior art, when needing to update UI, developer needs to change the corresponding codes of UI, such as including updating UI
Attribute and the corresponding UI logics of the attribute etc..And usually UI logical comparisons are cumbersome, therefore there is a problem of that UI updates efficiency is low.
Invention content
A kind of UI update methods of the application offer, device, equipment and storage medium update efficiency to improve UI.
In a first aspect, the application provides a kind of UI update methods, including:
Update the first data;
The first UI is updated according to the first binding relationship of the first data and the first user interface UI.
The advantageous effect of the application includes:Based on this, developer need to only execute primary binding and reflect when interface is opened
It penetrates, you can by UI layers and data layer separation, need to only safeguard the logic of data Layer, you can UI layers of display is automatically updated, to
The complexity for reducing UI exploitations, improves the update efficiency of UI.
Optionally, it before updating the first UI according to the first binding relationship of the first data and the first user interface UI, also wraps
It includes:Establish the first binding relationship of the first data and the first UI.
Optionally, method further includes:Obtain the life cycle of the first binding relationship;When the first binding relationship it is lasting when it is normal
When reaching life cycle, the first binding relationship is released.
The advantageous effect of the application includes:The first binding relationship can be automatically terminated by this method, is not necessarily to developer
The first binding relationship is released manually.
Optionally, method further includes:First data and the first binding relationship are stored in the form of weak reference container.
Optionally, method further includes:After releasing the first binding relationship, the first binding relationship is deleted from weak reference container.
Based on this, the characteristics of using weak reference container, when the continuous market of the first data reaches its life cycle, UI
More new equipment automatically terminates the first binding relationship, and deletes the first binding relationship from weak reference container, holds to discharge weak reference
Partial memory in device.
Optionally, method further includes:Establish the data tree that the first data are constituted at least one second data;In data tree
Any child node update after, update the father node of any child node.
Optionally, method further includes:Establish the second binding relationship of father node and the 2nd UI;After father node update, according to
Second binding relationship updates the 2nd UI.
The application advantageous effect includes:By way of establishing data tree, to establish the pass of the association between data (node)
System, therefore after any node in updating the data tree, corresponding UI is updated, update efficiency to improve UI.Further,
Due to binding relationship that can arbitrarily between additions and deletions child node and node and UI, to improve opening up for data tree correspondence system
Malleability and maintainability.
A kind of UI updating devices, equipment and storage medium is provided below, effect can refer to the technology effect of method part
Fruit below repeats no more this.
Second aspect, the application provide a kind of UI updating devices, including:
First update module, for updating the first data;
Second update module, for the first binding relationship update first according to the first data and the first user interface UI
UI。
Optionally, which further includes:
First establishes module, the first binding relationship for establishing the first data and the first UI.
Optionally, which further includes:
Acquisition module, the life cycle for obtaining the first binding relationship;
Release module, for when the first binding relationship it is lasting when often reach life cycle when, release the first binding relationship.
Optionally, which further includes:
Memory module, for storing the first data and the first binding relationship in the form of weak reference container.
Optionally, which further includes:
Removing module deletes the first binding relationship after releasing the first binding relationship from weak reference container.
Optionally, which further includes:
Second establishes module, the data tree constituted at least one second data for establishing the first data;
Third update module updates the father node of any child node after any child node update in data tree.
Optionally, which further includes:
4th establishes module, the second binding relationship for establishing father node and the 2nd UI;
4th update module updates the 2nd UI after father node update according to the second binding relationship.
The third aspect, the application provide a kind of UI more new equipments, including:
Processor and memory;
Memory is for storing executing instruction for processor, so that processor is used for:
Update the first data;The first UI is updated according to the first binding relationship of the first data and the first user interface UI.
Optionally, processor is additionally operable to:Establish the first binding relationship of the first data and the first UI.
Optionally, processor is additionally operable to:Obtain the life cycle of the first binding relationship;When the first binding relationship it is lasting when
When often reaching life cycle, the first binding relationship is released.
Optionally, processor is additionally operable to:First data and the first binding relationship are stored in the form of weak reference container.
Optionally, processor is additionally operable to:After releasing the first binding relationship, deletes the first binding from weak reference container and close
System.
Optionally, processor is additionally operable to:Establish the data tree that the first data are constituted at least one second data;Data tree
In any child node update after, update the father node of any child node.
Optionally, processor is additionally operable to:Establish the second binding relationship of father node and the 2nd UI;After father node update, root
The 2nd UI is updated according to the second binding relationship.
Fourth aspect, the application provide a kind of storage medium, and storage medium includes instruction, is instructed for realizing the update sides UI
Method.
5th aspect, the application provide a kind of computer program product, including instruction, instruct for realizing the update sides UI
Method.
A kind of UI update methods of the application offer, device, equipment and storage medium, including:Update the first data;According to
One data and the first binding relationship of the first user interface UI update the first UI.Based on this, developer need to only open at interface
When, execute a binding mapping, you can by UI layers and data layer separation, need to only safeguard the logic of data Layer, you can automatically more
New UI layers of display improves the update efficiency of UI to reduce the complexity of UI exploitations.
Description of the drawings
Fig. 1 is the flow chart for the UI update methods that one embodiment of the application provides;
Fig. 2 is the schematic diagram for the driving source dobj that one embodiment of the application provides;
Fig. 3 is the flow chart for the UI update methods that another embodiment of the application provides;
Fig. 4 is the data tree schematic diagram for the red dot system of game that one embodiment of the application provides;
Fig. 5 is a kind of structural schematic diagram for UI updating devices 500 that one embodiment of the application provides;
Fig. 6 is a kind of structural schematic diagram for UI more new equipments 600 that one embodiment of the application provides.
Specific implementation mode
In the prior art, when needing to update UI, developer needs to change the corresponding codes of UI, such as including updating UI
Attribute and the corresponding UI logics of the attribute etc..And usually UI logical comparisons are cumbersome, therefore there is a problem of that UI updates efficiency is low.
In order to solve the technical problem, a kind of UI update methods of the application offer, device, equipment and storage medium.
Specifically, Fig. 1 is the flow chart for the UI update methods that one embodiment of the application provides, and the present embodiment is updated with the UI
Method is applied to illustrating in UI more new equipment.The UI more new equipments can be mobile phone, computer, digital broadcasting end
End, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc., such as Fig. 1 institutes
Show, this method comprises the following steps:
In step S101:Update the first data.
In step s 102:The first UI is updated according to the first binding relationship of the first data and the first UI.
Optionally, before step S102, further include:Establish the first binding relationship of the first data and the first UI.
Specifically, the first data are the corresponding code of the first UI attributes to be updated, i.e. the code waits for for realizing the first UI
Update attribute.After the first data update, according to the first binding relationship, UI more new equipments can automatically update the first UI.
Further, in UI development processes, the first data can be designed as driving source dobj, and driving source dobj includes
At least one driving source container, it is each that source container is driven to can be used for storing different type event (data) and each data and UI
Between binding relationship, it should be noted that the first data described herein may include at least one event.Specifically,
Fig. 2 is the schematic diagram for the driving source dobj that one embodiment of the application provides, as shown in Fig. 2, driving source dobj includes:
Source container ddict is driven, its key assignments is the attribute of driving source dobj, it includes that arbitrary value changes event, this
The trigger condition of meaning value change event is:The event can be all triggered when arbitrary change or additions and deletions occur for the first data, the thing
The biography ginseng of part triggering is ddict itself.
Source container dlist is driven, it includes that the length of the first data changes the arbitrary value change two of event and the first data
A event.Wherein, the trigger condition of length change event is:When carrying out additions and deletions to the first data, then the event is triggered.It should
Arbitrary value change event trigger condition be:The event can be all triggered when arbitrary change or additions and deletions occur for the first data.
Source container dset is driven, the element in it is the attribute of driving source dobj, and wherein the value of attribute in a reservoir is cloth
Value of.
Wherein, above-mentioned driving source container ddict, driving source container dlist and driving source container dset are that weak reference is held
Device.Based on this, the characteristics of using weak reference container, when the continuous market of the first data reaches its life cycle, UI updates
Equipment automatically terminates the first binding relationship, and deletes the first binding relationship from weak reference container, to discharge in weak reference container
Partial memory.
Further, as shown in Fig. 2, the first binding relationship between the first data and the first UI needs to connect by some
Cause for gossip is existing, these interfaces at least include, but are not limited at least one of following:(bind) interface is bound, connection (connect) connects
Mouthful, disconnected (disconnect) interface, unbundling (unbind) interface.
Wherein, bind interfaces and connect interfaces are used to the first data of binding and the first UI, that is, establish the first binding pass
System, the difference of the two is to be, after the first data update, UI more new equipments are by bind interfaces directly according to the first binding
Relationship updates the first UI.And for connect interfaces, UI more new equipments execute binding readjustment by the connect interfaces, that is, exist
After first data update, newer first data are re-used as the input parameter of call function, are updated again by the call function
First UI, that is to say, that UI more new equipments update the first UI according to the first binding relationship indirectly by connect interfaces.
Correspondingly, disbind interfaces and disconnect interfaces are used to release the between the first data and the first UI
One binding relationship, the difference of the two are to be, UI more new equipments directly release the first binding relationship by disbind interfaces.And
For disconnect interfaces, UI more new equipments execute binding readjustment by the disconnect interfaces, i.e., newer first number
According to the input parameter as call function, the first binding relationship is released by the call function again, that is to say, that UI more new equipments
The first binding relationship is released indirectly by disconnect interfaces.
Above-mentioned UI update methods are further detailed below by following three example:
Example one:For using the succinct red dotted state interface of clever beast as the first UI, the succinct red dotted state interface pair of the spirit beast
The attribute answered includes but not limited at least one of following:Player levels, clever beast grade, consumption state etc..The spirit beast is not being updated
Before succinct red dotted state interface, when player levels reach the first predetermined level, the clever succinct red dotted state interface display of beast is red
Point, when player levels are not up to the first predetermined level, the clever succinct red dotted state interface of beast does not show red point.Having updated the spirit
After the succinct red dotted state interface of beast, when player levels reach the second predetermined level, the clever succinct red dotted state interface display of beast
Red, when player levels are not up to the second predetermined level, the clever succinct red dotted state interface of beast does not show red point.In the application reality
It applies in example, since there is binding relationship, UI developer between the first predetermined level and the succinct red dotted state interface of clever beast
It is not necessary to modify the corresponding UI logics in the succinct red dotted state interface of clever beast, it is only necessary to which it is default etc. that the first predetermined level is updated to second
Grade.
Example two:Before not updating the succinct red dotted state interface of the spirit beast, when clever beast grade reaches third predetermined level
When, the clever succinct red red point of dotted state interface display of beast, when clever beast grade is not up to third predetermined level, clever beast is succinct red dotted
State interface does not show red point.After having updated the succinct red dotted state interface of the spirit beast, when to reach the 4th default etc. for clever beast grade
When grade, the clever succinct red red point of dotted state interface display of beast, when clever beast grade is not up to four predetermined levels, the clever succinct red point of beast
State interface does not show red point.In the embodiment of the present application, due to third predetermined level and the clever succinct red dotted state interface of beast it
Between there is binding relationship, therefore it is not necessary to modify the corresponding UI logics in the succinct red dotted state interface of clever beast by UI developer, it is only necessary to
Third predetermined level is updated to the 4th predetermined level.
Example three:Before not updating the succinct red dotted state interface of the spirit beast, when consumption state is A condition, clever beast is washed
Practice the red red point of dotted state interface display, when consumption state is not A condition, the clever succinct red dotted state interface of beast does not show red point.
After having updated the succinct red dotted state interface of the spirit beast, when consumption state is B state, the clever succinct red dotted state interface of beast is aobvious
Show red point, when consumption state is not B state, the clever succinct red dotted state interface of beast does not show red point.In the embodiment of the present application,
Due to having binding relationship between A condition and the succinct red dotted state interface of clever beast, it is not necessary to modify clever beasts to wash by UI developer
Practice the corresponding UI logics in red dotted state interface, it is only necessary to which A condition is updated to B state.
The UI realizes that frame can greatly be simplified for cumbersome UI logics, and developer only needs to open on ground
It is bound when interface, you can realize that data update is reacted to automatically on the interfaces UI, while interface is closed and can be automatically terminated
Binding.
The application provides a kind of UI update methods, is based on this, and developer only need to execute primary binding when interface is opened
Mapping, you can by UI layers and data layer separation, need to only safeguard the logic of data Layer, you can the display for automatically updating UI layers, from
And the complexity of UI exploitations is reduced, improve the update efficiency of UI.
There may be incidence relations between the corresponding data in the interfaces UI being typically different, so if can establish data it
Between incidence relation, and according to the binding relationship between the incidence relation and data and UI, to update UI, for developer
For, the complexity of UI exploitations will greatly reduce, to improve the update efficiency of UI.
Specifically, Fig. 3 is the flow chart for the UI update methods that another embodiment of the application provides, as shown in figure 3, in step
After S102, UI update methods further include following steps:
Step S103:Establish the data tree that the first data are constituted at least one second data.
Step S104:After any child node update in data tree, the father node of any child node is updated.
Step S105:Establish the second binding relationship of father node and the 2nd UI.
Step S106:After father node update, the 2nd UI is updated according to the second binding relationship.
For clear period, the father node in step S104 can be known as father node A, the father node of father node A is claimed
For father node B.It should be noted that step S105 and step S106 is optional step, such as:It also wraps after step s 104
It includes:Step S105A:According to father node A update father nodes B.Step S106A:The third binding for establishing father node B and the 3rd UI is closed
System updates the 3rd UI after father node B updates according to third binding relationship.
Further, red dot system logic of usually playing is fine crushing, wherein red dot system as an auxiliary prompting system,
Red display logic interts the various pieces of body code.Red dot system amount of logic itself is bigger, and size of code is not usually sub-
In system of subject, and logic dispersity is more, not easy care.Therefore it in order to reduce the exploitation complexity of red dot system, improves
The update efficiency of red display interface.The present embodiment is illustrated as example using red dot system of playing herein:
The data tree of red dot system is initially set up, such as:Fig. 4 is the red dot system of game that one embodiment of the application provides
Data tree schematic diagram, as shown in figure 4, the data tree includes multiple nodes, wherein the clever succinct red dotted state of beast includes:Four sons
Whether node, respectively player levels, clever beast grade, consumption state and player levels or clever beast grade reach the upper limit.Clever beast
Succinct red dotted state and its four child nodes can be considered as the first data or the second data described herein, be realized in code
Cheng Zhong, the clever succinct red dotted state of beast can be used as driving source dobj comprising four child nodes as four weak reference containers,
This four weak reference containers store different types of event respectively.
Similarly, clever beast, which is cultivated, includes:Four child nodes, respectively player levels, clever beast grade, material and clever beast master
Attribute conditions.Clever beast, which cultivates its four child nodes, can be considered as the first data or the second data described herein, in code reality
During now, the culture of clever beast can be used as driving source dobj comprising four child nodes as four weak reference containers, this four
A weak reference container stores different types of event respectively.
Further, clever beast enters the father node that lipstick point is the clever succinct red dotted state of beast and clever beast culture.
It should be noted that in order to embody the succinct red dotted state of clever beast, the culture of clever beast and clever beast enter lipstick point respectively with
Their corresponding red points show that the binding relationship between UI shows this binding relationship, dotted line table by a dotted line in figure 3
Practical data tree shown in diagram 3 does not include that red point shows UI.
It establishes after data tree as shown in Figure 3, when any data update in data tree, such as clever beast is succinct red dotted
After player levels update under state, data are communicated up execution automatically, i.e. UI more new equipments are according to updated player levels
The succinct red dotted state of the clever beast of update, all node updates on player levels finish, and are based on this, succinct red according to clever beast
The corresponding red point of dotted state shows that the binding relationship of UI updates the red point and shows UI, and it is right with it according to clever beast to enter lipstick point
The red point answered shows that the binding relationship of UI updates the red point and shows UI.
Further, can be with additions and deletions child node on the basis of data tree shown in Fig. 3, it can also additions and deletions node and UI
Between binding relationship.
To sum up, the embodiment of the present application is by way of establishing data tree, to establish the incidence relation between data (node),
Therefore after any node in updating the data tree, corresponding UI is updated, updates efficiency to improve UI.Further, by
In can arbitrary binding relationship between additions and deletions child node and node and UI, to improve red dot system expansibility and
It is maintainable.
Fig. 5 is a kind of structural schematic diagram for UI updating devices 500 that one embodiment of the application provides, as shown in figure 5, the UI
Updating device includes:
First update module 501, for updating the first data.
Second update module 502 is used for according to the first binding relationship of first data and the first user interface UI more
New first UI.
Optionally, which further includes:
First establishes module 503, first binding relationship for establishing first data and the first UI.
Optionally, which further includes:
Acquisition module 504, the life cycle for obtaining first binding relationship.
Release module 505, for when first binding relationship it is lasting when often reach the life cycle when, release institute
State the first binding relationship.
Optionally, which further includes:
Memory module 506, for depositing first data and first binding relationship in the form of weak reference container
Storage.
Optionally, which further includes:
Removing module 507 deletes described first after releasing first binding relationship from the weak reference container
Binding relationship.
Optionally, which further includes:
Second establishes module 508, the data tree constituted at least one second data for establishing first data.
Third update module 509 updates any child node after any child node update in the data tree
Father node.
Optionally, which further includes:
4th establishes module 510, the second binding relationship for establishing the father node and the 2nd UI.
4th update module 511 updates described second after father node update according to second binding relationship
UI。
UI updating devices provided by the embodiments of the present application can be used for executing above-mentioned UI update methods, and content and effect can
Reference method embodiment, the embodiment of the present application repeat no more this.
Fig. 6 is a kind of structural schematic diagram for UI more new equipments 600 that one embodiment of the application provides, as shown in fig. 6, the UI
More new equipment includes:Processor 601, memory 602 and transceiver 603.
Transceiver 603 more carries out Signalling exchange for UI between new equipment 600 and other equipment.Memory 602 is for depositing
Executing instruction for the processor 601 is stored up, so that the processor 51 realizes following method.
Update the first data.
The first UI is updated according to the first binding relationship of first data and the first user interface UI.
Optionally, the method further includes:Establish first binding relationship of first data and the first UI.
Optionally, the method further includes:Obtain the life cycle of first binding relationship.When first binding is closed
When continuing to reach the life cycle often of system releases first binding relationship.
Optionally, the method further includes:By first data and first binding relationship with weak reference container
Form stores.
Optionally, the method further includes:After releasing first binding relationship, institute is deleted from the weak reference container
State the first binding relationship.
Optionally, the method further includes:Establish the data tree that first data are constituted at least one second data.
After any child node update in the data tree, the father node of any child node is updated.
Optionally, the method further includes:Establish the second binding relationship of the father node and the 2nd UI.The father node
After update, the 2nd UI is updated according to second binding relationship.
Processor 601 may include one or more application application-specific integrated circuit (ASIC), digital signal processor
(DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), control
Device, microcontroller, microprocessor or other electronic components etc..
Memory 602 can realize by any kind of volatibility or non-volatile memory device or combination thereof,
Such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only
Memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk
Or CD.
UI provided by the embodiments of the present application more new equipments can be used for executing above-mentioned UI update methods, and content and effect can
Reference method embodiment, the embodiment of the present application repeat no more this.
The embodiment of the present application also provides a kind of storage medium, and the storage medium includes instruction, described instruction for realizing
Following UI update methods.
Update the first data.
The first UI is updated according to the first binding relationship of first data and the first user interface UI.
Optionally, the method further includes:Establish first binding relationship of first data and the first UI.
Optionally, the method further includes:Obtain the life cycle of first binding relationship.When first binding is closed
When continuing to reach the life cycle often of system releases first binding relationship.
Optionally, the method further includes:By first data and first binding relationship with weak reference container
Form stores.
Optionally, the method further includes:After releasing first binding relationship, institute is deleted from the weak reference container
State the first binding relationship.
Optionally, the method further includes:Establish the data tree that first data are constituted at least one second data.
After any child node update in the data tree, the father node of any child node is updated.
Optionally, the method further includes:Establish the second binding relationship of the father node and the 2nd UI.The father node
After update, the 2nd UI is updated according to second binding relationship.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims
System.
Claims (16)
1. a kind of UI update methods, which is characterized in that including:
Update the first data;
The first UI is updated according to the first binding relationship of first data and the first user interface UI.
2. according to the method described in claim 1, it is characterized in that, described according to first data and the first user interface UI
The first binding relationship update the first UI before, further include:
Establish first binding relationship of first data and the first UI.
3. method according to claim 1 or 2, which is characterized in that further include:
Obtain the life cycle of first binding relationship;
When first binding relationship it is lasting when often reach the life cycle when, release first binding relationship.
4. method according to claim 1 or 2, which is characterized in that further include:
First data and first binding relationship are stored in the form of weak reference container.
5. according to the method described in claim 4, it is characterized in that, further including:
After releasing first binding relationship, first binding relationship is deleted from the weak reference container.
6. method according to claim 1 or 2, which is characterized in that further include:
Establish the data tree that first data are constituted at least one second data;
After any child node update in the data tree, the father node of any child node is updated.
7. according to the method described in claim 6, it is characterized in that, further including:
Establish the second binding relationship of the father node and the 2nd UI;
After the father node update, the 2nd UI is updated according to second binding relationship.
8. a kind of UI updating devices, which is characterized in that including:
First update module, for updating the first data;
Second update module, for the first binding relationship update according to first data and the first user interface UI described the
One UI.
9. device according to claim 8, which is characterized in that further include:
First establishes module, first binding relationship for establishing first data and the first UI.
10. device according to claim 8 or claim 9, which is characterized in that further include:
Acquisition module, the life cycle for obtaining first binding relationship;
Release module, for when first binding relationship it is lasting when often reach the life cycle when, release described first
Binding relationship.
11. device according to claim 8 or claim 9, which is characterized in that further include:
Memory module, for storing first data and first binding relationship in the form of weak reference container.
12. according to the devices described in claim 11, which is characterized in that further include:
Removing module is deleted first binding from the weak reference container and is closed after releasing first binding relationship
System.
13. device according to claim 8 or claim 9, which is characterized in that further include:
Second establishes module, the data tree constituted at least one second data for establishing first data;
Third update module updates father's section of any child node after any child node update in the data tree
Point.
14. device according to claim 13, which is characterized in that further include:
4th establishes module, the second binding relationship for establishing the father node and the 2nd UI;
4th update module updates the 2nd UI after father node update according to second binding relationship.
15. a kind of UI more new equipments, which is characterized in that including:
Processor and memory;
The memory is for storing executing instruction for the processor, so that the processor realizes that claim 1-7 such as appoints
UI update methods described in one.
16. a kind of storage medium, which is characterized in that the storage medium includes instruction, and described instruction is wanted for realizing such as right
Seek 1-7 any one of them UI update methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810491144.XA CN108628629B (en) | 2018-05-21 | 2018-05-21 | UI updating method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810491144.XA CN108628629B (en) | 2018-05-21 | 2018-05-21 | UI updating method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108628629A true CN108628629A (en) | 2018-10-09 |
CN108628629B CN108628629B (en) | 2022-02-22 |
Family
ID=63693997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810491144.XA Active CN108628629B (en) | 2018-05-21 | 2018-05-21 | UI updating method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108628629B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058915A (en) * | 2019-04-19 | 2019-07-26 | 努比亚技术有限公司 | Interface adaptation adaptation method, device, wearable device and storage medium |
CN112190942A (en) * | 2020-10-23 | 2021-01-08 | 网易(杭州)网络有限公司 | Red dot system and data processing method based on red dot system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872305A (en) * | 2010-06-08 | 2010-10-27 | 用友软件股份有限公司 | UI (User Interface) performance and service logic separation method and system |
CN104484169A (en) * | 2014-12-09 | 2015-04-01 | 成都视达科信息技术有限公司 | Android software user interface generating method and system and Android application system |
CN105389315A (en) * | 2014-09-04 | 2016-03-09 | 阿里巴巴集团控股有限公司 | Dynamic webpage refreshing method and device |
CN105528206A (en) * | 2015-12-02 | 2016-04-27 | 北京邮电大学 | Web-based interface generation method |
US9483240B1 (en) * | 2015-05-27 | 2016-11-01 | Google Inc. | Data binding dependency analysis |
CN107391114A (en) * | 2017-06-27 | 2017-11-24 | 阿里巴巴集团控股有限公司 | The page visualizes rendering intent and device |
-
2018
- 2018-05-21 CN CN201810491144.XA patent/CN108628629B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101872305A (en) * | 2010-06-08 | 2010-10-27 | 用友软件股份有限公司 | UI (User Interface) performance and service logic separation method and system |
CN105389315A (en) * | 2014-09-04 | 2016-03-09 | 阿里巴巴集团控股有限公司 | Dynamic webpage refreshing method and device |
CN104484169A (en) * | 2014-12-09 | 2015-04-01 | 成都视达科信息技术有限公司 | Android software user interface generating method and system and Android application system |
US9483240B1 (en) * | 2015-05-27 | 2016-11-01 | Google Inc. | Data binding dependency analysis |
CN105528206A (en) * | 2015-12-02 | 2016-04-27 | 北京邮电大学 | Web-based interface generation method |
CN107391114A (en) * | 2017-06-27 | 2017-11-24 | 阿里巴巴集团控股有限公司 | The page visualizes rendering intent and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110058915A (en) * | 2019-04-19 | 2019-07-26 | 努比亚技术有限公司 | Interface adaptation adaptation method, device, wearable device and storage medium |
CN112190942A (en) * | 2020-10-23 | 2021-01-08 | 网易(杭州)网络有限公司 | Red dot system and data processing method based on red dot system |
CN112190942B (en) * | 2020-10-23 | 2024-07-09 | 网易(杭州)网络有限公司 | Red dot system and data processing method based on red dot system |
Also Published As
Publication number | Publication date |
---|---|
CN108628629B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104123151B (en) | The plug-in management method of application program, device and mobile terminal in mobile terminal | |
CN108628629A (en) | UI update methods, device, equipment and storage medium | |
CN107180444B (en) | A kind of animation producing method, device, terminal and system | |
CN102841732B (en) | The method and device of task management in a kind of terminal | |
CN104135611B (en) | The method and device taken pictures using split screen function realization | |
CN108702480A (en) | Electronic equipment and method for driving its display | |
CN106775902A (en) | A kind of method and apparatus of image procossing, mobile terminal | |
CN108021425A (en) | A kind of virtual desktop system and operation method for integrating multiple Graphics Application windows | |
CN106469928A (en) | Wired method with wireless charging in electronic equipment and electronic equipment | |
CN107113355A (en) | Method and apparatus for providing communication-related information | |
CN108605100A (en) | Method for handling image and the electronic device for supporting this method | |
CN107924314A (en) | For performing the apparatus and method of application | |
CN101150810A (en) | A mobile phone device for dynamically ranking and displaying menu and its method | |
CN104883674B (en) | A kind of method and device of Profile associate management | |
JP2007164526A5 (en) | ||
CN103984532A (en) | Position set method and device of mobile terminal function set keys | |
CN107548486A (en) | For providing the electronic installation and its method of quick user interface | |
CN108474218A (en) | Method and its electronic device for locking device control | |
CN104714805B (en) | A kind of method and device of the setting menu of control application program | |
CN108228321A (en) | A kind of Android system application method for closing and device | |
CN104503790B (en) | The management method and system of a kind of application version, intelligent terminal | |
CN107577472A (en) | Software installation method, device and computer-readable recording medium | |
TWI364208B (en) | Data updating method and electric device using the same | |
CN108351698A (en) | The wearable electronic and method of application for being executed in control electronics | |
CN109240684A (en) | A kind of page service logic realization method and system |
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 |