CN110413632A - Method, apparatus, computer-readable medium and the electronic equipment of controlled state - Google Patents

Method, apparatus, computer-readable medium and the electronic equipment of controlled state Download PDF

Info

Publication number
CN110413632A
CN110413632A CN201810387072.4A CN201810387072A CN110413632A CN 110413632 A CN110413632 A CN 110413632A CN 201810387072 A CN201810387072 A CN 201810387072A CN 110413632 A CN110413632 A CN 110413632A
Authority
CN
China
Prior art keywords
state
upstream
value
downstream condition
dbjective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810387072.4A
Other languages
Chinese (zh)
Other versions
CN110413632B (en
Inventor
韩俊
郑循茂
邓建威
陈宁国
范珂
邓攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810387072.4A priority Critical patent/CN110413632B/en
Publication of CN110413632A publication Critical patent/CN110413632A/en
Application granted granted Critical
Publication of CN110413632B publication Critical patent/CN110413632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provides method, apparatus, computer-readable medium and the electronic equipment of a kind of controlled state.There is acyclic dependence and including first state between multiple states, the downstream condition for relying on first state constitutes downstream condition set, the method of the controlled state includes: after the value of first state changes, operation is updated to each state in downstream condition set, it is updated state the first upstream state set of composition that the dbjective state of operation directly relies on, intersection between downstream condition set and the first upstream state set constitutes the second upstream state set, updating operation includes: when update operation is completed in each state in the second upstream state set, according to the value of each state in the first upstream state set, determine the domain of dbjective state;Domain adaptation is executed to dbjective state, is located at the value of dbjective state in domain.The scheme of the embodiment of the present invention can ensure the correctness of state value in a simple and effective way.

Description

Method, apparatus, computer-readable medium and the electronic equipment of controlled state
Technical field
This application involves field of computer technology, in particular to a kind of side of multiple states in management computing system Method, the method, apparatus for human-computer interaction, computer-readable medium and electronic equipment.
Background technique
In the renewal process of the page (such as Webpage, the application program page), often deposited between multiple page status In cascade connection, in other words, the value of one or more page status influences whether other one or more page status Value.
For example, as shown in figure 3, the value of page status " province " influences whether the value in page status " city " and " area ", The value of page status " city " influences whether the value in page status " area " again simultaneously.
In another example as shown in Figure 4 A and 4 B shown in FIG., selling the page, the value of page status " size " in the clothes of electric business website Influence whether the value of page status " color " and " quantity ", while the value of page status " color " influences whether page shape again The value of state " quantity ".
Currently, remaining desirable to enough ensure each page shape with cascade connection with a kind of simple and efficient way The correctness of the value of state, to reduce the error rate of system.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is related to the methods of multiple states, the side for human-computer interaction in a kind of management computing system Method, device, computer-readable medium and electronic equipment, each page that can simply and effectively ensure that there is cascade connection The correctness of the value of state, thus error rate when reducing system administration page status.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention Practice and acquistion.
One side according to an embodiment of the present invention provides a kind of method for managing multiple states in computing system, described more With acyclic dependence and including first state between a state, the downstream condition for relying on the first state constitutes downstream State set, which comprises after the value of the first state changes, to each of described downstream condition set State is updated operation, wherein is updated state the first upstream state set of composition that the dbjective state of operation directly relies on It closes, the intersection between the downstream condition set and first upstream state set constitutes the second upstream state set, described Updating operation includes: when update operation is completed in each state in the state set of second upstream, according to described the The value of each state, determines the domain of the dbjective state in one upstream state set;Domain is executed to the dbjective state Adaptation, is located at the value of the dbjective state in the domain.
According to an embodiment of the invention, the type of domain may include one of integer type and enumeration type or a variety of.
One side according to an embodiment of the present invention provides a kind of method for human-computer interaction, comprising: define multiple shapes State;Define the dependence between the multiple state;To the first state assignment in the multiple state or assign new value;According to The above method updates the downstream condition for relying on the first state;The multiple state is rendered as to multiple states of human-computer interaction Interface element;The value of the multiple state is rendered as to multiple value interface elements of human-computer interaction.
One side according to an embodiment of the present invention provides a kind of device of controlled state, by including based on multiple states It calculates, with acyclic dependence and including first state between the multiple state, relies on the downstream shape of the first state State constitutes downstream condition set, and described device includes: updating unit, right for after the value of the first state changes Each state in the downstream condition set is updated operation, wherein the dbjective state for being updated operation directly relies on State constitute the first upstream state set, the intersection structure between the downstream condition set and first upstream state set At the second upstream state set, the updating unit comprises determining that subelement, for when in the state set of second upstream When update operation is completed in each state, according to the value of each state in the state set of first upstream, the target is determined The domain of state;It is adapted to subelement, for executing domain adaptation to the dbjective state, makes the value position of the dbjective state In in the domain.
One side according to an embodiment of the present invention provides a kind of device for human-computer interaction, comprising: the first definition is single Member, for defining multiple states;Second definition unit, for defining the dependence between the multiple state;Assignment unit, For to the first state assignment or the new value of tax in the multiple state;Updating unit, for according to above-mentioned management computing system In the methods of multiple states update the downstream condition for relying on the first state;First display unit is used for the multiple shape State is rendered as multiple state interface elements of human-computer interaction;Second display unit, for the value of the multiple state to be rendered as Multiple value interface elements of human-computer interaction.
One side according to an embodiment of the present invention provides a kind of computer-readable medium, is stored thereon with computer journey Sequence realizes the method for controlled state as described above when described program is executed by processor.
One side according to an embodiment of the present invention, provides a kind of electronic equipment, comprising: one or more processors;It deposits Storage device, for storing one or more programs, when one or more of programs are executed by one or more of processors When, so that the method that one or more of processors realize controlled state as described above.
Each state in the technical solution provided by some embodiments of the present invention, in the second upstream state set When update operation is completed, dbjective state is updated, this may insure that dbjective state is not repeated update.
In the technical solution provided by some embodiments of the present invention, by determining the domain of state and executing definition Domain adaptation is located at the value of state in domain, it can be ensured that the correctness of the value of state, to reduce the error rate of system.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 is shown can be using the method or management shape of multiple states in the computational system of management of the embodiment of the present invention The schematic diagram of the exemplary system architecture of the device of state;
Fig. 2 shows the structural schematic diagrams of the computer system of the electronic equipment suitable for being used to realize the embodiment of the present invention;
Fig. 3 shows the schematic diagram of one of page exemplary page state;
Fig. 4 A and Fig. 4 B show the schematic diagram of another exemplary page state in the page;
Fig. 5 schematically shows the topological diagram of the dependence between state shown in Fig. 4 A and Fig. 4 B;
Fig. 6 is diagrammatically illustrated in the management computing system of embodiment according to the present invention in the method for multiple states more The flow chart newly operated;
Fig. 7 diagrammatically illustrates the topological diagram of another dependence between state shown in Fig. 4 A and Fig. 4 B;
Fig. 8 schematically shows the topological diagram of the dependence of multiple states of embodiment according to the present invention;
Fig. 9 is shown can pay using the QQ of the method for multiple states in management computing system according to an embodiment of the present invention Take the schematic diagram of the page;
Figure 10 shows the topological diagram of the dependence between each state of the page in Fig. 9;
Figure 11 schematically shows the flow chart of the method for human-computer interaction of embodiment according to the present invention;
Figure 12 diagrammatically illustrates the block diagram of the device of the controlled state of embodiment according to the present invention;
Figure 13 diagrammatically illustrates the block diagram of the device for human-computer interaction of embodiment according to the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However, It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail, Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step, It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Fig. 1 is shown can be using the exemplary of the device of the method or controlled state of the controlled state of the embodiment of the present invention The schematic diagram of system architecture 100.
As shown in Figure 1, system architecture 100 may include one of terminal device 101,102,103 or a variety of and net Network 104 and server 105.Network 104 is for providing communication link between terminal device 101,102,103 and server 105 Medium.Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.For example server 105 can be multiple server compositions Server cluster etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Terminal device 101,102,103 can be the various electronic equipments with display screen, including but not limited to intelligent hand Machine, tablet computer, portable computer and desktop computer etc..
Server 105 can be to provide the server of various services.
For example, user sends the page to server 105 using terminal device 103 (being also possible to terminal device 101 or 102) On some state state value.The electricity shown on terminal device 103 (being also possible to terminal device 101 or 102) such as user The clothes of quotient website is sold on the page state " size " being selected as " M " (as shown in Figure 4 A).Server 105 can be based on the shape The state value of state changes to update the state value of other states associated with the state.As server 105 is selected based on user The state value " M " for the state " size " selected change with the state value of state " size " associated state " color " and " quantity ", Page is sold to update the clothes for the electric business website being shown on terminal device 103 (being also possible to terminal device 101 or 102) Face.
It should be noted that the method for more new state provided by the embodiment of the present invention is generally executed by server 105, phase Ying Di, the device of more new state are generally positioned in server 105.
Fig. 2 shows the structural schematic diagrams of the computer system of the electronic equipment suitable for being used to realize the embodiment of the present invention.
It should be noted that Fig. 2 shows the computer system 200 of electronic equipment be only an example, should not be to this hair The function and use scope of bright embodiment bring any restrictions.
As shown in Fig. 2, computer system 200 includes central processing unit (CPU) 201, it can be read-only according to being stored in Program in memory (ROM) 202 or be loaded into the program in random access storage device (RAM) 203 from storage part 208 and Execute various movements appropriate and processing.In RAM 203, it is also stored with various programs and data needed for system operatio.CPU 201, ROM 202 and RAM 203 is connected with each other by bus 204.Input/output (I/O) interface 205 is also connected to bus 204。
I/O interface 205 is connected to lower component: the importation 206 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 207 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 208 including hard disk etc.; And the communications portion 209 of the network interface card including LAN card, modem etc..Communications portion 209 via such as because The network of spy's net executes communication process.Driver 210 is also connected to I/O interface 205 as needed.Detachable media 211, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 210, in order to read from thereon Computer program be mounted into as needed storage part 208.
Particularly, according to an embodiment of the invention, may be implemented as computer below with reference to the process of flow chart description Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 209, and/or from detachable media 211 are mounted.When the computer program is executed by central processing unit (CPU) 201, executes and limited in the system of the application Various functions.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment. Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs When standby execution, so that method described in electronic equipment realization as the following examples.For example, the electronic equipment can be real Now each step as shown in Fig. 6 or Figure 11.
Usually there is cascade connection between multiple states on the page (for example, Webpage and application program page), In other words, the value of some state will receive the influence of the value of other one or more states.For example, shape as shown in Figure 3 State " province ", " city " and " area " and clothes as shown in Figure 4 A and 4 B sell the state " size ", " color " and " number of the page Amount " has cascade connection.
When there are multiple states with cascade connection, just need to update its being affected by it when updating some state His state.For example, as shown in Figure 4 A and 4 B, when " size " pledged clothes changes, " color " and " quantity " of clothes is just needed Correspondingly change;When " color " pledged clothes changes, " quantity " of clothes just need to correspondingly change.
This update can be realized by pure manual maintenance.However, the update when state is excessive, for a state The problem of needing to update which state associated with it, just becomes difficult to handle, this needs developer to put into more energy.Separately Outside, in this case, increase state or modification page logic is also easy error.
Furthermore, it is possible to monitor the update of dependent status based on Observer Pattern.For example, for clothes shown in Fig. 4 Sell the state of the page, the update of state " color " listening state " size ", state " quantity " while listening for state " color " and The update of " size ".This method is only applicable to once monitor the update of a state.However, in practical applications, a shape State would generally simultaneously with other multiple state relations, that is, while being influenced by other multiple states.When a state is supervised simultaneously When listening the update of multiple states, sometimes results in the state and be updated several times.For example, state " quantity " is needed while listening for state The update of " color " and " size ".When state " size " updates, triggering state " color " and state " quantity " are to state " ruler It is very little " monitoring;And when state " color " updates, and the monitoring of meeting triggering state " quantity " to state " color ", therefore can lead Cause state " quantity " is updated several times, and increases management cost.
The present invention provides a kind of new methods of multiple states in management computing system.Multiple shapes in the management computing system It is realized in the server 105 that the method for state for example can be shown in Fig. 1.The method of multiple states can in the management computing system For including the computing system with multiple states of dependence.
It is according to the present invention management computing system in multiple states method in, between multiple states have it is acyclic according to The relationship of relying and including first state, the downstream condition for relying on first state constitutes downstream condition set.It should be noted that here " dependence " mentioned not only had included " directly relying on " but also had included " indirectly relying on ".This method comprises: the value in first state becomes After change, operation is updated to each state in downstream condition set.
In management computing system according to the present invention in the method for multiple states, the dbjective state for being updated operation is straight The state for connecing dependence constitutes the first upstream state set, and the intersection between downstream condition set and the first upstream state set is constituted Second upstream state set.Update operation includes: when update behaviour is completed in each state in the second upstream state set When making, according to the value of each state in the first upstream state set, the domain of dbjective state is determined;Definition is executed to dbjective state Domain adaptation, is located at the value of dbjective state in domain (referring to the step 610 and step 620) in Fig. 6.
It is explained in detail referring now to method of Fig. 4 A to Fig. 6 to multiple states in above-mentioned management computing system. Wherein, Fig. 4 A and Fig. 4 B shows a kind of schematic diagram of exemplary page state;Fig. 5 shows shape shown in Fig. 4 A and Fig. 4 B The topological diagram of dependence between state;Fig. 6 diagrammatically illustrates multiple in management computing system according to an embodiment of the present invention The flow chart of update operation in the method for state.
Here, " acyclic " can refer to that the dependence between each state cannot form dependence circulation and ad infinitum recycle down It goes.The state referring to shown in Fig. 4 A and Fig. 4 B illustrates that multiple states " size ", " color " and " quantity " have acyclic Dependence.When state " size " is used as first state, state " color " and " quantity " constitute downstream condition set.In state When the value of " size " changes, operation is updated to each state " color " and " quantity " that constitute downstream condition set.
According to some embodiments of the present invention, the acyclic dependence of multiple states can be obtained by defining.
According to some embodiments of the present invention, the definition of the module of AMD specification in javascript can be similar to determine Dependence between the multiple states of justice, by this topological diagram for defining the dependence between available multiple states, As shown in figure 5, it illustrates clothes shown in Fig. 4 A and Fig. 4 B sell the page state " size ", " color " and " quantity " it Between dependence topological diagram.Specifically, state " color " depends on state " size ", and state " quantity " depends on shape simultaneously State " color " and state " size ".
For example, the dependence between definition status can be carried out in the following way, i.e. define (' stateName', [... arrayOfDeps], factory), wherein parameter stateName indicates the title of state, parameter [... arrayOfDeps] indicate other states that the state is relied on, parameter factory is for the value according to dependent status Calculate the function of the domain of the state itself.
When state " quantity " is as the dbjective state for being updated operation, state " face that state " quantity " directly relies on Color " and " size " constitute the first upstream state set.At this point, the intersection between downstream condition set and the first upstream state set Constitute the second upstream state set comprising state " color ".
Referring to Fig. 6, updating operation includes step S610 and step S620.
In step S610, when update operation is completed in each state in the second upstream state set, according to first The value of each state in the state set of upstream, determines the domain of dbjective state.
Here, the condition for updating operation is completed in each state met in the second upstream state set, can be to avoid Dbjective state is repeatedly updated.
When update operation is completed in each state in the second upstream state set, above-mentioned factory can be used Function to calculate the domain of dbjective state according to the value of each state in the first upstream state set.Determine the second status target shape The method of the domain of state can be different according to different application scenarios, are not particularly limited herein, that is, not to factory letter Number does concrete restriction.
Step S610 is understood for continuing the example shown in Fig. 4 A and Fig. 4 B, is occurred in the value of first state " size " After variation (that is, becoming " S " from " M "), state " color " be completed update operation after, according to state " size " and " color " come Determine the domain of dbjective state " quantity ".As shown in Figure 4 B, when state " size " is " S ", and state " color " is " green ", Quantity in stock is 5, thus may determine that quantity purchase " quantity " domain should be integer 1-5.
Domain is a description to the value range of state, can be any type, includes but is not limited to enumerate Type, integer type with maximum value and minimum value etc..Domain for example may include name, domain growth data, Yi Jiding Three parts of adopted domain adaptation method.For example, for the integer type with maximum value and minimum value limitation, name be can be RestrictedInt, tool is there are two growth data-maximum value and minimum value, and according to the maximum value of setting and most with one Method of the small value adaptation input value to satisfactory value.
For example, state " quantity " as shown in Figure 4 A can be the domain of integer type, such as 1,2,3,4,5,6,7,8,9, 10,11,12,13}.The domain of enumeration type can be the set of element, for example, for state as shown in Figure 4 A and 4 B shown in FIG. The set of color for " color ", such as it is white, and it is black, it is red, it is yellow, blue.However, the type of domain is without being limited thereto, for example, definition Domain is also possible to continuous numberical range, such as numberical range 0.1-2.0.
In step S620, domain adaptation is executed to dbjective state, is located at the value of dbjective state in domain.
Specifically, it using preset domain adaptation method, sets dbjective state to meet the domain of dbjective state Value.Here domain adaptation method is not specifically limited, as long as the value of dbjective state can be made to be located at the definition of dbjective state All may be used in domain.
For the clothes of the electric business website shown in Fig. 4 A sells the page, when the state that determines " quantity " (quantity purchase) When domain is the integer with minimum value 1 and maximum value 13, if input quantity 14, can use domain adaptation method will State " quantity " is adapted for the maximum value 13 in domain;If input quantity 0, can use domain adaptation method will State " quantity " is adapted for the minimum value 1 in domain.
For the clothes of the also electric business website shown in Fig. 4 A sells the page, when the domain of the state that determines " color " is When gathering { white, black }, if input such as " ash ", can use domain adaptation method and is adapted for the value of state " color " Any one in white, black.
According to some embodiments of the present invention, right when the state unfinished updates operation in the second upstream state set The state of unfinished updates operation is updated operation.That is, not being updated to dbjective state.
For example, being explained for continuing the example shown in Fig. 4 A and Fig. 4 B, become in the value of state " size " After change, when the operation of state " color " unfinished updates, operation is updated without to state " number to state " color " first Amount " is updated operation.As described above, only stateful " size " and " color " are completed after updating operation, just to state " number Amount " is updated operation.Behaviour can be updated to state " quantity " to avoid when the value of state " size " changes in this way The repetition made and be updated state " quantity " caused by operation to state " quantity " after state " color " update updates.
As described above as it can be seen that it is according to an embodiment of the present invention management computing system in multiple states method, when the second shape When update operation is completed in each state in state set, dbjective state is updated, this may insure dbjective state not It is repeated update.By determine state domain and execute domain adaptation be located at the value of state in domain, can be true The correctness of the value of guarantor's state, to reduce the error rate of system.
How to determine whether the state in the second upstream state set is completed below with reference to the embodiment of the present invention description Update operation.
An embodiment according to the present invention will after completing to update operation to any state in downstream condition set Any state is removed from downstream condition set, is to more so as to ensure any state in downstream condition set all New state.In this case, when judge each state in the second upstream state set not in downstream condition set, That is, update operation is completed in each state in the second upstream state set that determines when being not in state to be updated;When sentencing When any state in disconnected second upstream state set is present in downstream condition set, determine in the second upstream state set The operation of state unfinished updates.
Continuation is explained with Fig. 4 A to example shown in fig. 5, and wherein state " size " is used as first state, state " number Amount " is used as dbjective state.After state " color " is completed to update, then state " color " is removed from downstream condition set.In In this case, it if it is determined that state " color " is not in downstream condition set, then can determine in the second upstream state set Each state be completed update operation;If it is determined that state " color " can then determine second in downstream condition set State unfinished updates operation in the state set of upstream.
According to another embodiment of the present invention, can be to assist in state in such a way that state, flag bit is set No completion updates operation.
Specifically, after completing to update operation to any state in downstream condition set, which is arranged Flag bit;Whole states in downstream condition set are completed after updating operation, reset flag bit to whole states.According to this The embodiment of invention does not limit the form of flag bit, for example, it can be number 0,1 or combinations thereof, it can be word Mother or its flag bit for being also possible to any other form.
In this case, it when judging that flag bit has been arranged in each state in the second upstream state set, determines Update operation is completed in each state in second upstream state set;When judging any shape in the second upstream state set When the not set flag bit of state, the state unfinished updates operation in the second upstream state set is determined.
Continuation is explained with Fig. 4 A to example shown in fig. 5, and wherein state " size " is used as first state, state " number Amount " is used as dbjective state.When judging that flag bit has been arranged in state " color ", then can determine in the second upstream state set Update operation is completed in each state;When judging state " color " not set flag bit, then the second upstream shape can be determined State unfinished updates operation in state set.
The acquisition downstream in management computing system according to an embodiment of the present invention in the method for multiple states is described below The method of state set.
It is possible, firstly, to define the relationship that directly relies between multiple states, it is this directly rely on relationship be dependent status with The one-to-many or one-to-one mapping being relied between state.For example, state " color " depends directly on as shown in Fig. 4 A to Fig. 5 State " size ", state " quantity " depend directly on state " color " and " size ".It is more that definition has been described in detail above The method of dependence between a state, details are not described herein.
An embodiment according to the present invention can directly rely on relationship building directed acyclic according between multiple states Figure;Using the corresponding node of first state as vertex, directed acyclic subgraph is constructed;By carrying out depth-first to directed acyclic subgraph Traversal or breadth first traversal obtain downstream condition set.It can be readily appreciated that can also be according to directly relying between multiple states Relationship constructs other topological diagrams, and the disclosure is not limited in this respect.
This will be explained by taking the example of multiple states in Fig. 8 as an example, wherein Fig. 8 shows multiple state A-H's The topological diagram of dependence.When state A is first state, in order to obtain the downstream condition set of state A: first according to multiple Relationship building directed acyclic graph is directly relied between state A-H, for example, figure as shown in Figure 8;Then corresponding with state A Node is vertex, constructs directed acyclic subgraph, for example, state A in Fig. 8 is to the partial view down toward state F;Finally by right Directed acyclic subgraph carries out depth-first traversal or breadth first traversal obtains downstream condition set, that is, including state A-F.
According to another embodiment of the present invention, downstream condition set can be obtained by way of traversal.That is, by pair The relationship that directly relies between multiple states carries out traversal acquisition downstream condition set.For example, directly relying on pass in traversing graph 8 System can obtain the downstream condition set of any state.
Another embodiment according to the present invention is reversely directly relied on according to the relationship acquisition that directly relies between multiple states Relationship, reversely directly relying on relationship is the one-to-many or one-to-one mapping being relied between state and dependent status;According to reversed Directly rely on downstream condition set described in Relation acquisition.
According to an embodiment of the invention, generaton number can be introduced in order to keep the dependence between state more clear According to.For example, derivative data can be the unique value determined according to the value of one or more states.
It specifically, can also include derivative data in multiple states.At this point, updating operation can also include: to work as target-like When state is that update operation is completed in each state in derivative data and the second upstream state set, according to free state on first The value of each state directly calculates the value of derivative data in set.
Understand for example, with reference to Fig. 7, it illustrates the state " rulers that clothes shown in Fig. 4 A and Fig. 4 B sells the page It is very little ", the topological diagram of another dependence between " color " and " quantity ".Wherein, state " color " depends on state " size ", State " quantity " depends on state " color " and state " size " via derivative data " inventory " simultaneously.
For example, see Fig. 4 A and Fig. 4 B, when state " size " variation is " S ", state " color " is according to state " size " Value executes domain adaptation and becomes " green ".When state " color " variation is " green ", according to the value " S " and shape of state " size " The value " green " of state " color " determines that derivative data " inventory " is 5, that is, having a size of S and color be the quantitys in stock of green clothes is 5 Part.
For example, determining that derivative data " inventory " is 5, that is, can be with according to derivative data " inventory " when quantity in stock is 5 The domain for determining state " quantity " is integer 1-5, that is, commercially available quantity is integer 1-5.
By above description as it can be seen that the topological diagram of the dependence between state can be made more by introducing derivative data Clearly, convenient for the domain of determining state.It is hereby ensured that the correctness of the value of state, to reduce the error of system Rate.
It is specific to describe one kind of the method for the multiple states of management according to the embodiment by way of example below with reference to Fig. 8 System implementations.As above, Fig. 8 shows the topological diagram of the dependence of multiple states, more multiple relative to Fig. 5 and Fig. 8 It is miscellaneous.
As shown in Figure 8, multiple states include state A, B, C, D, E, F, G and H, wherein A and H dependent on G, B and C according to Rely and depends on C, E that D, F is depended on to depend on B and E in A, D.
According to an embodiment of the invention, system framework can be by the corresponding downstream shape of state A after state A changes State is added in status list to be updated.Here, possible implementation method is that " who has relied on me " calculation is recursively executed to state A Method sequentially adds obtained state in status list to be updated.
Specifically, " who has relied on me " algorithm is executed to A, obtain B and C (sequence between B and C is inessential).Then into Row depth-first traversal executes " who has relied on me " algorithm to B and C respectively." who has relied on me " algorithm is executed to B and obtains F, it is right F executes " who has relied on me " algorithm " obtain sky." who has relied on me " algorithm is executed to C and obtains D, " who has relied on me " is executed to D Algorithm obtains E, executes " who has relied on me " algorithm to E, obtains F (because having added before F, being not repeated to add).Thus Obtained status list to be updated includes B, C, F, D, E.
The traversal of depth-first foregoing illustrate.However, the invention is not limited thereto, time of breadth First also can be used It goes through.The status list to be updated sequence that different ergodic algorithms obtain is different, but does not affect the normal of state sequentially whatsoever It updates.
For system effectiveness, can be generated as defined by " who has relied on me " algorithm in the state definition phase as system Relationship.
It is passed next, successively executing one kind " always preferentially updating its dependent status " to each state in list to be updated Reduction method.
In particular, after A changes, preparing to update B first according to status list to be updated above.It was found that B Dependent status is A, and A then updates B and (calculate new domain if B is state, hold not in status list to be updated Row definition adaptation;Directly calculated if B is derivative data), and B is removed from status list to be updated, complete B's It updates.
Then C (for example, if C is state, calculating new domain, execute definition adaptation) is updated in a similar way, And remove C from status list to be updated, complete the update of C.Therefore, status list to be updated becomes including F, D, E.
It is ready for updating F, it is found that the dependent status of F is B and E, and E, in list to be updated, basis is " always excellent at this time First update its dependent status " update of the algorithm pause to F, and the standby update E of preference level.It was found that the dependent status of E is D, D is to more In new state list, the update to E is suspended according to " always preferentially updating its dependent status " algorithm at this time, and preference level is for update D.It was found that the dependent status C of D is in status list to be updated, therefore D is updated, and D is removed into list to be updated.Then with class E is updated like method, then F is updated, thus the update of completion status.
Thus, it could be seen that recurrence more new algorithm in this way, can always guarantee that upper free state is preferentially updated.
Fig. 9 is shown can pay using the QQ of the method for multiple states in management computing system according to an embodiment of the present invention Take the schematic diagram of the page.Figure 10 shows the topological diagram of the dependence between each state of the page in Fig. 9.
In Fig. 9, the state of the page may include state " logging in state ", " opening QQ number ", " service type ", " payment mould Formula " and " quantity purchase ", and can also include " most scalable months " as derivative data value.State " is logged in The number that state ", i.e. user log in can choose different QQ number login or wechat and log in;For state " opening QQ number ", user It is that oneself or other people open Tencent's service that QQ number, which can be inputted,;For state " service type ", user, which can choose, opens difference Tencent service;State " payment mode ", such as upgrading or Monthly Payment can be upgraded to if having opened QQ member Super member;For state " opening month " i.e. " quantity purchase ", user, which can choose, different opens or upgrades duration.
By the dependence between each state of the page shown in Figure 10 as it can be seen that by " logging in state ", " opening QQ Number ", " service type " can determine derivative data " most scalable months ";When determining derivative data " most scalable moons When number " is greater than 0, user can choose upgrading payment mode.In addition, " most scalable months " and " payment mode " influence " purchase Buy quantity " displaying of set meal, and different " service types " has the set meal of different number.
Correspondingly, the embodiment of the invention provides a kind of methods for human-computer interaction.Figure 11 is shown according to the present invention One embodiment the method for human-computer interaction flow chart.As shown in Figure 11, the method packet for being used for human-computer interaction Include step S1110-S1160.
In step S1110, multiple states are defined.
In this step, multiple states involved in can defining or provide need to show at User Page for example, being defined on The multiple states shown, state " province ", " city " and " area " as shown in Figure 3, for another example shape shown in Fig. 4 A and Fig. 4 B State " size ", " color " and " quantity ".
In step S1120, the dependence between multiple states is defined.
Here it is possible to using method described in the embodiment of the method for multiple states in above-mentioned management computing system come Define the dependence between multiple states.
Specifically, the definition of the module of AMD specification in javascript can be similar to define between multiple states Dependence, by this topological diagram for defining the dependence between available multiple states, as shown in figure 5, it shows The dependence that clothes shown in Fig. 4 A and Fig. 4 B is sold between the state " size ", " color " and " quantity " of the page is opened up Flutter figure.Wherein, state " color " depends on state " size ", and state " quantity " depends on state " color " and state " ruler simultaneously It is very little ".
For example, the dependence between definition status can be carried out in the following way, i.e. define (' stateName', [... arrayOfDeps], factory), wherein parameter stateName indicates the title of state, parameter [... arrayOfDeps] indicate other states that the state is relied on, parameter factory is for the value according to dependent status Calculate the function of the domain of the state itself.
In step S1130, to the first state assignment in multiple states or new value is assigned.
For example, as shown in figs. 4 a and 5, state " size " assignment " M " can be given.
In step S1140, is updated and relied under first state according to the method for multiple states in above-mentioned management computing system Free state.
For example, with continued reference to Fig. 4 A and Fig. 5 above-mentioned management computing system can be utilized according to the value " M " of state " size " In multiple states method give remaining state " color " and " quantity " assignment.
The method of multiple states in management computing system is described with reference to the drawings and specific embodiments above, herein not It repeats again.
In step S1150, multiple states are rendered as to multiple state interface elements of human-computer interaction.
For example, state as shown in Figure 5 " size ", " color " and " quantity " to be rendered as to multiple interfaces of human-computer interaction Element, that is, be rendered as a part of the page, as shown in Figure 4 A and 4 B shown in FIG..
In step S1160, the value of multiple states is rendered as to multiple value interface elements of human-computer interaction.
For example, the value of state as shown in Figure 5 " size ", " color " and " quantity " is rendered as the multiple of human-computer interaction It is worth interface element, that is, be rendered as a part of the page.For example, as shown in Figure 4 A, by value " M ", the state of state " size " The value " white " of " color " and the value " 9 " of state " quantity " are presented in the page.
Method according to an embodiment of the present invention for human-computer interaction can also include: according in above-mentioned management computing system Method described in the embodiment of the method for multiple states manages multiple states;It is updated according to the changing value of multiple states corresponding Value interface element.It is accurate for being presented to the value interface element of the page in this way.
The device of the invention embodiment introduced below can be used for executing multiple in the above-mentioned management computing system of the present invention The method of state.For undisclosed details in apparatus of the present invention embodiment, the side of the above-mentioned controlled state of the present invention is please referred to The embodiment of method.
Figure 12 diagrammatically illustrates the block diagram of the device of controlled state according to an embodiment of the invention.
As shown in figure 12, the device 1200 of controlled state according to an embodiment of the present invention is by including based on multiple states It calculates, with acyclic dependence and including first state between the multiple state, relies on the downstream shape of the first state State constitutes downstream condition set.Described device includes: updating unit 1210, for changing in the value of the first state Afterwards, operation is updated to each state in the downstream condition set.The dbjective state for being updated operation directly relies on State constitute the first upstream state set, the intersection structure between the downstream condition set and first upstream state set At the second upstream state set, the updating unit 1210 comprises determining that subelement 1211, for the free state on described second When update operation is completed in each state in set, according to the value of each state in the state set of first upstream, determine The domain of the dbjective state;It is adapted to subelement 1212, for executing domain adaptation to the dbjective state, makes the mesh The value of mark state is located in the domain.
In some embodiments of the invention, the updating unit 1210 is also used to: when second upstream state set In the operation of state unfinished updates when, updates operation is carried out to the state of unfinished updates operation.
In some embodiments of the invention, described device 1200 further include: unit is removed, for the downstream shape Any state in state set is completed after updating operation, and any state is removed from the downstream condition set.
In some embodiments of the invention, the updating unit 1210 is also used to: when judging free state on described second Each state in set not in the downstream condition set when, determine each shape in the state set of second upstream Update operation is completed in state;When judging that any state in the state set of second upstream is present in the downstream condition collection When in conjunction, the state unfinished updates operation in the state set of second upstream is determined.
In some embodiments of the invention, described device 1200 further include: flag bit setting unit, to the downstream Any state in state set is completed after updating operation, and flag bit is arranged to any state;Flag bit reset cell, After whole states in the downstream condition set are completed to update operation, flag bit is reset to whole states.
In some embodiments of the invention, the updating unit 1210 is also used to: when judging free state on described second When flag bit has been arranged in each state in set, determine that each state in the state set of second upstream is completed Update operation;When judging the not set flag bit of any state in the state set of second upstream, determine on described second State unfinished updates operation in free state set.
In some embodiments of the invention, described device 1200 further include: definition unit, define the multiple state it Between directly rely on relationship, it is described to directly rely on that relationship is dependent status and be relied between state one-to-many or one-to-one reflect It penetrates.
In some embodiments of the invention, described device 1200 further include: construction unit, for according to the multiple shape The relationship building directed acyclic graph that directly relies between state is built with using the corresponding node of the first state as vertex To acyclic subgraph;First acquisition unit, for by carrying out depth-first traversal or breadth First to the directed acyclic subgraph Traversal obtains the downstream condition set.
In some embodiments of the invention, described device 1200 further include: second acquisition unit, for by described The relationship that directly relies between multiple states carries out the traversal acquisition downstream condition set.
In some embodiments of the invention, described device 1200 further include: obtaining unit, for according to the multiple shape Relationship acquisition is directly relied on described between state and reversely directly relies on relationship, and the relationship that reversely directly relies on is to be relied on state One-to-many or one-to-one mapping between dependent status;Third acquiring unit, for reversely directly relying on relationship according to described Obtain the downstream condition set.
It in some embodiments of the invention, further include derivative data in the multiple state, the updating unit 1210 It is also used to: when update is completed for each state in derivative data and second upstream state set in the dbjective state When operation, the value of the derivative data is directly calculated according to the value of each state in the state set of first upstream.
The present invention also provides a kind of devices for human-computer interaction.Figure 13 diagrammatically illustrates one according to the present invention The block diagram of the device for human-computer interaction of embodiment.
As shown in figure 13, the device 1300 according to an embodiment of the present invention for human-computer interaction includes: the first definition unit 1310, for defining multiple states;Second definition unit 1320, for defining the dependence between the multiple state;It assigns Value cell 1330, for the first state assignment or the new value of tax in the multiple state;Updating unit 1340, for according to The method for stating multiple states in management computing system updates the downstream condition for relying on the first state;First display unit 1350, for the multiple state to be rendered as to multiple state interface elements of human-computer interaction;Second display unit 1360, is used for The value of the multiple state is rendered as to multiple value interface elements of human-computer interaction.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (15)

1. a kind of method for managing multiple states in computing system, which is characterized in that have nothing between the multiple state The dependence of ring and including first state, the downstream condition for relying on the first state constitutes downstream condition set, the side Method includes:
After the value of the first state changes, operation is updated to each state in the downstream condition set,
Wherein, state the first upstream state set of composition that the dbjective state of operation directly relies on, the downstream shape are updated Intersection between state set and first upstream state set constitutes the second upstream state set, and the update operation includes:
When update operation is completed in each state in the state set of second upstream, according to free state on described first The value of each state in set, determines the domain of the dbjective state;
Domain adaptation is executed to the dbjective state, is located at the value of the dbjective state in the domain.
2. the method according to claim 1, wherein the update operates further include:
When the state unfinished updates operation in the state set of second upstream, the state of unfinished updates operation is carried out The update operation.
3. the method according to claim 1, wherein the method also includes:
After completing to update operation to any state in the downstream condition set, by any state from the downstream It is removed in state set.
4. according to the method described in claim 3, it is characterized in that, the update operates further include:
When judging each state in the state set of second upstream not in the downstream condition set, described in determination Update operation is completed in each state in second upstream state set;
When judging that any state in the state set of second upstream is present in the downstream condition set, described in determination State unfinished updates operation in second upstream state set.
5. the method according to claim 1, wherein the method also includes:
After completing to update operation to any state in the downstream condition set, any state is arranged and is indicated Position;
After whole states in the downstream condition set are completed to update operation, flag bit is reset to whole states.
6. according to the method described in claim 5, it is characterized in that, the update operates further include:
When judging that flag bit has been arranged in each state in the state set of second upstream, second upstream shape is determined Update operation is completed in each state in state set;
When judging the not set flag bit of any state in the state set of second upstream, free state on described second is determined State unfinished updates operation in set.
7. the method according to claim 1, wherein the method also includes:
The relationship that directly relies between the multiple state is defined, the relationship that directly relies on is dependent status and is relied on state Between one-to-many or one-to-one mapping.
8. the method according to the description of claim 7 is characterized in that the method also includes:
Relationship building directed acyclic graph is directly relied on according between the multiple state;
Using the corresponding node of the first state as vertex, directed acyclic subgraph is constructed;
By carrying out depth-first traversal or the breadth first traversal acquisition downstream condition collection to the directed acyclic subgraph It closes.
9. the method according to the description of claim 7 is characterized in that the method also includes:
By obtaining the downstream condition set to directly relying on relationship described between the multiple state and carry out traversal.
10. the method according to the description of claim 7 is characterized in that the method also includes:
Directly rely on relationship according between the multiple state and obtain and reversely directly rely on relationship, it is described it is reversed directly according to Bad relationship is the one-to-many or one-to-one mapping being relied between state and dependent status;
Downstream condition set described in Relation acquisition is reversely directly relied on according to described.
11. the method according to claim 1, wherein further include derivative data in the multiple state, it is described more New operation further include:
When update behaviour is completed for each state in derivative data and second upstream state set in the dbjective state When making, the value of the derivative data is directly calculated according to the value of each state in the state set of first upstream.
12. a kind of method for human-computer interaction characterized by comprising
Define multiple states;
Define the dependence between the multiple state;
To the first state assignment in the multiple state or assign new value;
According to the downstream condition of the first state as described in method of any of claims 1-11 updates dependence;
The multiple state is rendered as to multiple state interface elements of human-computer interaction;
The value of the multiple state is rendered as to multiple value interface elements of human-computer interaction.
13. a kind of device of controlled state, for the calculating including multiple states, which is characterized in that between the multiple state With acyclic dependence and including first state, the downstream condition for relying on the first state constitutes downstream condition set, Described device includes:
Updating unit, for after the value of the first state changes, to each state in the downstream condition set Operation is updated,
Wherein, state the first upstream state set of composition that the dbjective state of operation directly relies on, the downstream shape are updated Intersection between state set and the upstream state set constitutes the second upstream state set, and the updating unit includes:
Determine subelement, for when each state in the state set of second upstream be completed update operation when, according to The value of each state, determines the domain of the dbjective state in the state set of first upstream;
It is adapted to subelement, for executing domain adaptation to the dbjective state, is located at the value of the dbjective state described fixed In adopted domain.
14. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any one of claims 1 to 12 is realized when row.
15. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing When device executes, so that one or more of processors realize the method as described in any one of claims 1 to 12.
CN201810387072.4A 2018-04-26 2018-04-26 Method, device, computer readable medium and electronic equipment for managing state Active CN110413632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387072.4A CN110413632B (en) 2018-04-26 2018-04-26 Method, device, computer readable medium and electronic equipment for managing state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387072.4A CN110413632B (en) 2018-04-26 2018-04-26 Method, device, computer readable medium and electronic equipment for managing state

Publications (2)

Publication Number Publication Date
CN110413632A true CN110413632A (en) 2019-11-05
CN110413632B CN110413632B (en) 2023-05-30

Family

ID=68345744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387072.4A Active CN110413632B (en) 2018-04-26 2018-04-26 Method, device, computer readable medium and electronic equipment for managing state

Country Status (1)

Country Link
CN (1) CN110413632B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367929A (en) * 2020-03-03 2020-07-03 腾讯科技(深圳)有限公司 Data management method and device and storage medium
CN112801171A (en) * 2021-01-25 2021-05-14 中国商用飞机有限责任公司北京民用飞机技术研究中心 Sensor false alarm identification method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040046785A1 (en) * 2002-09-11 2004-03-11 International Business Machines Corporation Methods and apparatus for topology discovery and representation of distributed applications and services
US20070100892A1 (en) * 2005-10-28 2007-05-03 Bank Of America Corporation System and Method for Managing the Configuration of Resources in an Enterprise
CN101952799A (en) * 2008-02-25 2011-01-19 微软公司 Signaling status change as one man
US20120151061A1 (en) * 2010-12-14 2012-06-14 International Business Machines Corporation Management of service application migration in a networked computing environment
US20150312102A1 (en) * 2014-02-18 2015-10-29 Seven Networks, Inc. Policy management for signaling optimization in a wireless network for traffic utilizing proprietary and non-proprietary protocols
CN106355882A (en) * 2016-10-18 2017-01-25 同济大学 Traffic state estimation method based on in-road detector
CN107810500A (en) * 2015-06-12 2018-03-16 起元技术有限责任公司 Data quality analysis

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040046785A1 (en) * 2002-09-11 2004-03-11 International Business Machines Corporation Methods and apparatus for topology discovery and representation of distributed applications and services
US20070100892A1 (en) * 2005-10-28 2007-05-03 Bank Of America Corporation System and Method for Managing the Configuration of Resources in an Enterprise
CN101952799A (en) * 2008-02-25 2011-01-19 微软公司 Signaling status change as one man
US20120151061A1 (en) * 2010-12-14 2012-06-14 International Business Machines Corporation Management of service application migration in a networked computing environment
US20150312102A1 (en) * 2014-02-18 2015-10-29 Seven Networks, Inc. Policy management for signaling optimization in a wireless network for traffic utilizing proprietary and non-proprietary protocols
CN107810500A (en) * 2015-06-12 2018-03-16 起元技术有限责任公司 Data quality analysis
CN106355882A (en) * 2016-10-18 2017-01-25 同济大学 Traffic state estimation method based on in-road detector

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程序员七哥: ""Android购物选择颜色、尺码实现"", 《HTTPS://WWW.SOGOU.COM/LINK?URL=HEDJJAC291OB0PRGJ_C3JNG5-SI2DWXS0ZXGBZ5WY66ZVQ41I4XFZFFRO1BREKSSITZI0Z34EHOJ0AGTVHIUDQ..》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367929A (en) * 2020-03-03 2020-07-03 腾讯科技(深圳)有限公司 Data management method and device and storage medium
CN111367929B (en) * 2020-03-03 2023-03-28 腾讯科技(深圳)有限公司 Data management method and device and storage medium
CN112801171A (en) * 2021-01-25 2021-05-14 中国商用飞机有限责任公司北京民用飞机技术研究中心 Sensor false alarm identification method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110413632B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
WO2020168851A1 (en) Behavior recognition
CN109446099A (en) Automatic test cases generation method, device, medium and electronic equipment
CA3050159C (en) Artificial intelligence (ai) based automatic rule generation
EP3772687A1 (en) System and methods for optimal allocation of multi-tenant platform infrastructure resources
CN110363416A (en) Financial resources distribution method, device and electronic equipment
US11915166B2 (en) Method for facilitating network external computing assistance
CN109242420A (en) Authority control method, device, electronic equipment and storage medium
CN109523190A (en) A kind of management method of electric energy meter, managing device and terminal
CN107479882A (en) Insure generation method, generating means, medium and the electronic equipment of the page
CN110348726A (en) A kind of user's amount method of adjustment, device and electronic equipment based on social networks network
CN111045932B (en) Business system simulation processing method and device, electronic equipment and storage medium
CN109634833A (en) A kind of Software Defects Predict Methods and device
CN110347383A (en) The front end development approach and device of cross-platform desktop application
CN109460003A (en) Vehicle trouble predicts modeling method and system
CN109002289A (en) A kind of method and apparatus constructing data model
CN107861933A (en) The method and apparatus for generating O&M form
CN109002925A (en) Traffic prediction method and apparatus
CN110413632A (en) Method, apparatus, computer-readable medium and the electronic equipment of controlled state
CN108667660A (en) The method and apparatus and route system of routing management and business routing
CN108920618A (en) A kind of store method, device, medium and the electronic equipment of object reference relationship
BR102015016246A2 (en) SYSTEM AND METHOD FOR PRESCRIPTIVE ANALYSIS
CN107819745A (en) The defence method and device of abnormal flow
CN112102099B (en) Policy data processing method and device, electronic equipment and storage medium
CN109542432A (en) Air control rule editing method and terminal device
CN109542398A (en) A kind of operation system generation method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant