CN107577719A - A kind of intelligent nested type function control method and device - Google Patents
A kind of intelligent nested type function control method and device Download PDFInfo
- Publication number
- CN107577719A CN107577719A CN201710684840.8A CN201710684840A CN107577719A CN 107577719 A CN107577719 A CN 107577719A CN 201710684840 A CN201710684840 A CN 201710684840A CN 107577719 A CN107577719 A CN 107577719A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- condition
- function control
- nested type
- type function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to field of intelligent control technology, more particularly to a kind of intelligent nested type function control method and device.A kind of intelligent nested type function control method, including:Many kinds of function unit is nested into respectively and performed in element group;The execution element group comprises at least implementation effect table F and logical relation table S;Wherein, multiple functional block F are nested with implementation effect table Fn, multiple data connection point S are provided with logical relation table Sn;Pass through the data connection point S in logical relation table SnContact corresponding functional block F in implementation effect table FnTo control the startup of corresponding function and termination.A kind of intelligent nested type function control device as described in above-mentioned content, including:Processor, for realizing each function control;Memory, element group is performed for storing.The invention provides a kind of flexibility height, recyclable triggering and intelligent the nested type function control method and device independently to terminate.
Description
Technical field
The present invention relates to field of intelligent control technology, more particularly to a kind of intelligent nested type function control method and device.
Background technology
It is general to be corresponded using by trigger parameter and its in traditional technology by program to realize intelligent control
Trigger Function include the method come, the source code of its program is general longer, and developer need to devote a tremendous amount of time with
Energy could complete a more complete function control program.
With the development of technology, there is a kind of nested arrangement method in mobile terminal is shown, such as Chinese patent
CN105975576A disclosure of that, the page data to be shown of reception is nested into container, wherein, container is provided with
CSS adaptively expands attribute so that container width is equal to the width of the page to be shown;Pass through the nested page to be shown of div tag
Data.
In another example technology contents disclosed in Chinese patent CN104239429A:One kind is shown in webpage to flow chart
With the method for editor, including:Flow chart is drawn, the word at each step node in the flow chart is arranged to empty
In vain, Background corresponding to the flow chart is obtained, the Background is included in webpage;It is each in the flow chart
The flow chart is divided into form by the layout feature of the plan-position of step node, a step node in the flow chart
Uniquely corresponded to a designating unit lattice in the form, the form is write using standard generalized markup language;Utilize net
Page script language described is specified by filling in word in web page text edit tool designating unit lattice in the table
Word in cell is consistent with the flow chart inherited literal corresponding to the designating unit lattice at step node;By described in
Form is shown in the webpage where the Background.
Existing Nesting Technique is roughly the same with above-mentioned two patents principle, is all based on specific equipment and for specific
Simple function, it can not realize and multi-functional nested type is controlled.
The content of the invention
The technical problems to be solved by the invention are to provide the intelligence that a kind of flexibility is high, is recycled triggering and independently terminates
Nested type function control method.To achieve the above object, the technical solution adopted in the present invention is:
A kind of intelligent nested type function control method, including:
Many kinds of function unit is nested into respectively and performed in element group;
The execution element group comprises at least implementation effect table F and logical relation table S;Wherein,
Multiple functional block F are nested with implementation effect table Fn, multiple data connection point S are provided with logical relation table Sn;
Pass through the data connection point S in logical relation table SnContact corresponding functional block F in implementation effect table FnTo control phase
Answer the startup and termination of function.
On the basis of using above-mentioned technical proposal, the present invention can also use technical scheme further below:
The execution element group also includes being correspondingly arranged on each functional block F of triggering in condition table C, the condition table CnHold
Row condition element C 'nAnd choose condition element C "n。
The data connection point SnStart tie point S ' including singlenWith loop start tie point S "n。
The execution condition element C 'nArbitration functions block FnData connection point SnSelection;
If single is selected to start tie point S 'n, then corresponding function block FnStart once;
If select loop start tie point S "n, then corresponding function block FnLoop start is until meet next execution condition element
C 'n。
The execution element group also includes choosing Object table A and state table B;
State table B conjugation condition tables C selection condition element C "nJudge to choose promoter A ' in Object table AnAnd executor
A"nState;
If meet condition table C selection condition element C "n, then the functional block F in implementation effect table F is triggerednStart;
If it is unsatisfactory for condition table C selection condition element C "n, then the functional block F in implementation effect table FnDo not start.
Further, present invention also offers another technical solution:
A kind of intelligent nested type function control device as described in above-mentioned content, including:
Processor, for realizing each function control;
Memory, element group is performed for storing;
The execution element group is applied to be controlled by processor and perform the startup and termination of each function.
As a result of technical scheme, the personnel of designing and developing can be independently write each list after the code of each unit
Member is included in corresponding table and carries out the design of total program, and can supplement the content of abundant summary table at any time.This function control is realized
The mode that method is not only write is simply time saving, and it can trigger function control result in large quantities, such as be used in artificial intelligence
Then can be more perfectly approximate with the mankind.
Embodiment
First, the principle and step of the present invention is illustrated:
A kind of intelligent nested type function control method provided by the invention, it includes being nested with the execution of many kinds of function unit
Element group.
Wherein, performing element group includes:
Implementation effect table F, multiple functional block F are provided with itn;
Logical relation table S, data connection point S is provided with itn, data connection point SnStart tie point S ' including singlen
With loop start tie point S "n;
Condition table C, it is provided with it and performs condition element C 'nWith selection condition element C "n, perform condition element C 'nJudge
Functional block FnData connection point SnSelection, choose condition element C "nJudge to choose promoter A ' in Object table AnWith executor A "n
State;
Object table A is chosen, multiple selection objects is provided with it, is divided into promoter A 'nWith executor A "n;
State table B, multiple state elements B are provided with itn。
Further, it is of the invention to realize that step is as follows:
A. setting performs element group, including:
S01, multiple different functions are write in implementation effect table F in the form of single functional block;
It S02, will be provided with the data connection point write-in logical relation table S of the different numbers of starts, opened including at least single
Dynamic tie point S 'nWith loop start tie point S "n;
S03, by multiple element Writing condition table C containing different trigger conditions, the element in condition table C, which is divided into, to be held
Row condition element C 'nWith selection condition element C "n, wherein, perform condition element C 'nIt can determine whether functional block FnData connection point Sn
Selection, choose condition element C "nIt can determine whether to choose promoter A ' in Object table AnWith executor A "nState;
S04, multiple elements for being set to selection object are write and chosen in Object table A;
S05, by multiple different state parameter write state table B.
B. whether arbitration functions start, including:
S11, the selected function of needing to start;
S12, find the selection condition element C " started corresponding to the functionn, and start the promoter A ' of the functionnWith
Executor A "n;
S13, according to choose condition element C "nObtain promoter A 'nWith executor A "nThe state elements B that should meetn, and
Judged;
If S14, promoter A 'nWith executor A "nIt is unsatisfactory for starting the status condition that selected function should meet, then function
Start failure and terminate;
If S15, promoter A 'nWith executor A "nMeet to start the status condition that selected function should meet, then carry out down
One step.
C. the startup and completion of function, including:
S21, execution condition element C ' are drawn according to selected startup functionn;
S22, the execution condition element C ' by drawingnTrigger Function block FnAnd its corresponding data connection point Sn, perform work(
Can block FnCorresponding function;
If S23, functional block FnCorresponding data connection point SnStart tie point S ' for singlen, then functional block FnPerform once
End functions start afterwards;
If S24, functional block FnCorresponding data connection point SnFor loop start tie point S "n, then repeat step S22.
Secondly, it is described in conjunction with the embodiments the specific implementation of the present invention.
Embodiment one, when the control method of the present invention is used in the light fixture control of smart home, according to indoor light
The method that light and shade regulation light fixture opens brightness is as follows:
A. setting performs element group, including:
S01, by light fixture open function F1, turn down brightness function F2, heighten brightness function F3, stop brightness control function F4、
Light fixture closing function F5Write in implementation effect table F;
S02, single started into tie point S '1With loop start tie point S "1Write in logical relation table S;
S03, light fixture is opened to single startup C '1, light fixture closes single and starts C '2, light fixture stops brightness regulation single and starts
C '3, light fixture turn down brightness loop start C '4, light fixture heighten brightness loop start C '5, lamp switch energization C "1, bulb normally sends out
Light and energization C "2In Writing condition table C;
S04, by promoter lamp switch A '1With executor's light fixture A "2Write-in is chosen in Object table A;
S05, be powered lamp switch B1, lamp switch no power B2, bulb normal luminous B3, bulb can not light B4, lamp
Has energization B5, light fixture no power B6In write state table B.
B. whether arbitration functions start, including:
S11, the selected functional lamp open function F for needing to start1;
S12, find the lamp switch energization C " started corresponding to the function1, bulb normal luminous and energization C "2, Yi Jiqi
Move the promoter lamp switch A ' of the function1With executor's light fixture A "2;
S13, according to lamp switch energization C "1Obtain promoter lamp switch A '1The lamp switch energization B that should meet1,
According to bulb normal luminous and energization C "2Obtain executor's light fixture A "2The bulb normal luminous B that should meet3, light fixture energization B5,
Judged;
If S14, promoter lamp switch A '1With executor's light fixture A "2In have one or be all unsatisfactory for starting selected function institute
The status condition that should meet, then function on failure and terminate;
If S15, promoter lamp switch A '1With executor's light fixture A "2It is satisfied by starting the state that selected function should meet
Condition, then carry out next step.
C. the startup and completion of function, including:
S21, light fixture unlatching single startup C ' are drawn according to selected startup function1;
S22, single startup C ' are opened by the light fixture drawn1Trigger light fixture open function F1, its corresponding single, which starts, to be connected
Point S '1, perform light fixture open function F1Once, light fixture is opened.
Embodiment two, when the control method of the present invention is used in battle game, the method that technical ability is discharged to enemy is as follows:
A. setting performs element group, including:
S01, ice arrow F will be discharged1, ice flight F2, searching target F3, ice arrow hit F4Write in implementation effect table F;
S02, single started into tie point S '1With loop start tie point S "1Write in logical relation table S;
S03, ice arrow single startup C ' will be discharged1, ice arrow hits single and starts C '2, ice flight loop start C '3, search
Target circulation starts C '4, free mobile C "1, be positioned C "2In Writing condition table C;
S04, by promoter's game role oneself A '1With enemy game player A "2Write-in is chosen in Object table A;
S05, B will be positioned by petrochemical industry1, be frozen positioning B2, B positioned by dizziness3, free movable B4In write state table B.
B. whether arbitration functions start, including:
S11, the selected function release ice arrow F for needing to start1, ice flight F2, searching target F3, ice arrow hit F4;
S12, find the free mobile C started corresponding to the function "1, be positioned C "2, and start the game angle of the function
Color oneself A '1With enemy game player A "2;
S13, according to free mobile C "1Obtain game role oneself A '1The movable B of freedom that should meet4, according to being positioned
C"2Obtain enemy game player A "2What should be met positions B by petrochemical industry1Or it is frozen positioning B2Or B is positioned by dizziness3, sentenced
It is disconnected;
If S14, game role oneself A '1With enemy game player A "2In have one or be all unsatisfactory for starting selected function institute
The status condition that should meet, then function on failure and terminate;
If S15, game role oneself A '1With enemy game player A "2It is satisfied by starting the state that selected function should meet
Condition, then carry out next step.
C. the startup and completion of function, including:
S21, release ice arrow single startup C ' are drawn according to selected startup function1;
S22, the release ice arrow single startup C ' by drawing1Triggering release ice arrow F1, its corresponding single startup tie point
S '1, perform release ice arrow F1Once, ice arrow discharges and triggers ice flight loop start C '3With searching target loop start C '4;
S23, the ice flight loop start C ' by triggering3With searching target loop start C '4Trigger ice flight F2With
Searching target F3, its corresponding loop start tie point S "1, perform ice flight F2With searching target F3Repeatedly, until reaching enemy
Game player A "2And trigger ice arrow and hit single startup C '2;
S24, single startup C ' are hit by the ice arrow of triggering2Triggering ice arrow hits F4, its corresponding single startup tie point
S '1, perform ice arrow and hit F4Once, ice arrow hits the mark and terminates this attack.
Further, present invention also offers a kind of intelligent nested type function control device as described in above-mentioned content, bag
Include:
Processor, for realizing each function control;
Memory, element group is performed for storing, the execution element group is applied to be controlled by processor and perform each function
Startup and termination.
Although the present invention is described by reference to preferred embodiment, those skilled in the art should
Work as understanding, in the range of claims, various change in form and details can be made.
Claims (10)
- A kind of 1. intelligent nested type function control method, it is characterised in that including:Many kinds of function unit is nested into respectively and performed in element group;The execution element group comprises at least implementation effect table F and logical relation table S;Wherein,Multiple functional block F are nested with implementation effect table Fn, multiple data connection point S are provided with logical relation table Sn;Pass through the data connection point S in logical relation table SnContact corresponding functional block F in implementation effect table FnTo control corresponding work( The startup and termination of energy.
- A kind of 2. intelligent nested type function control method according to claim 1, it is characterised in that the execution element group Also include being correspondingly arranged on each functional block F of triggering in condition table C, the condition table CnExecution condition element C 'nAnd choose Condition element C "n。
- A kind of 3. intelligent nested type function control method according to claim 2, it is characterised in that the data connection point Sn Start tie point S ' including singlenWith loop start tie point S "n。
- A kind of 4. intelligent nested type function control method according to claim 3, it is characterised in that the execution condition member Plain C 'nArbitration functions block FnData connection point SnSelection;If single is selected to start tie point S 'n, then corresponding function block FnStart once;If select loop start tie point S "n, then corresponding function block FnLoop start is until meet next execution condition element C 'n。
- A kind of 5. intelligent nested type function control method according to claim 2, it is characterised in that the execution element group Also include choosing Object table A and state table B;State table B conjugation condition tables C selection condition element C "nJudge to choose promoter A ' in Object table AnWith executor A "n's State;If meet condition table C selection condition element C "n, then the functional block F in implementation effect table F is triggerednStart;If it is unsatisfactory for condition table C selection condition element C "n, then the functional block F in implementation effect table FnDo not start.
- A kind of 6. intelligent nested type function control device, it is characterised in that including:Processor, for realizing each function control;Memory, element group is performed for storing;The execution element group is applied to be controlled by processor and perform the startup and termination of each function.
- A kind of 7. intelligent nested type function control device according to claim 6, it is characterised in that the execution element group Including implementation effect table, condition table, choose Object table, state table and logical relation table.
- A kind of 8. intelligent nested type function control device according to claim 7, it is characterised in that the implementation effect table In be nested with multiple functional blocks, multiple data connection points are provided with logical relation table;Connected by the data in logical relation table Corresponding functional block is to control the startup of corresponding function and termination in contact contact implementation effect table.
- 9. a kind of intelligent nested type function control device according to claim 8, it is characterised in that right in the condition table The execution condition element for triggering each functional block should be provided with and choose condition element;The data connection point opens including single Dynamic tie point and loop start tie point;The data connection point selection for performing condition element arbitration functions block.
- 10. a kind of intelligent nested type function control device according to claim 7, it is characterised in that the state table combines The condition element of choosing of condition table judges to choose the state of promoter and executor in Object table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710684840.8A CN107577719A (en) | 2017-08-11 | 2017-08-11 | A kind of intelligent nested type function control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710684840.8A CN107577719A (en) | 2017-08-11 | 2017-08-11 | A kind of intelligent nested type function control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107577719A true CN107577719A (en) | 2018-01-12 |
Family
ID=61034927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710684840.8A Pending CN107577719A (en) | 2017-08-11 | 2017-08-11 | A kind of intelligent nested type function control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107577719A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113609823A (en) * | 2021-07-14 | 2021-11-05 | Oppo广东移动通信有限公司 | Method and device for editing questionnaire logic, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6249293B1 (en) * | 1994-09-05 | 2001-06-19 | Fujitsu Limited | Virtual world animation using status and response for interference and time schedule |
CN104394045A (en) * | 2014-10-29 | 2015-03-04 | 小米科技有限责任公司 | Scene mode recommending method and device for an intelligent device |
CN104460328A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Intelligent device control method and device based on set scenario mode |
CN106502111A (en) * | 2016-09-22 | 2017-03-15 | 深圳广田智能科技有限公司 | Intelligent engine linked system and method based on application abstract |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
-
2017
- 2017-08-11 CN CN201710684840.8A patent/CN107577719A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6249293B1 (en) * | 1994-09-05 | 2001-06-19 | Fujitsu Limited | Virtual world animation using status and response for interference and time schedule |
CN104394045A (en) * | 2014-10-29 | 2015-03-04 | 小米科技有限责任公司 | Scene mode recommending method and device for an intelligent device |
CN104460328A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Intelligent device control method and device based on set scenario mode |
CN106814629A (en) * | 2015-11-27 | 2017-06-09 | 大唐移动通信设备有限公司 | A kind of method and device of control smart home |
CN106502111A (en) * | 2016-09-22 | 2017-03-15 | 深圳广田智能科技有限公司 | Intelligent engine linked system and method based on application abstract |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113609823A (en) * | 2021-07-14 | 2021-11-05 | Oppo广东移动通信有限公司 | Method and device for editing questionnaire logic, terminal equipment and storage medium |
CN113609823B (en) * | 2021-07-14 | 2023-12-12 | Oppo广东移动通信有限公司 | Method and device for editing questionnaire logic, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bender et al. | The power of team exploration: Two robots can learn unlabeled directed graphs | |
Levi | A note on the derivation of maximal common subgraphs of two directed or undirected graphs | |
CN107577719A (en) | A kind of intelligent nested type function control method and device | |
WO2008016877A3 (en) | Automatic vertical-database design | |
CN103368851A (en) | Openflow flow table storage and optimization method based on resource reuse | |
CN107220182B (en) | A kind of memory repetition release error-detecting method | |
Wang et al. | Coroutine sequencing in a block structured environment | |
CN106302442A (en) | A kind of network communication packet analytic method based on Java language | |
CN104267956A (en) | Method and module for controlling hardware device in operating system | |
CN103823680B (en) | The development approach and device of a kind of game service logic engine | |
CN103559910B (en) | The realization intelligence that is applied to cd-rom recorder is switched the system and method for burning/recording chip sequential | |
CN106249109A (en) | Electrical power distribution network fault location method and system | |
CN110287088A (en) | A kind of automated testing method based on dynamic UI model | |
CN104601471A (en) | Read-write method for forward information base and network processor | |
CN109933385A (en) | A kind of page loading method, device, system and medium | |
CN107092757A (en) | The inspection method of pore pressure cut-off rule is crossed in a kind of PCB design | |
CN108509186A (en) | A kind of queue CAS atomic operation control methods | |
CN109697035A (en) | Wiring method, write device and the storage medium of the address date of cascade device | |
CN110321459A (en) | The methods of exhibiting and device of a kind of method that building directory tree, directory tree | |
CN110347444A (en) | A kind of the starting method and its system of the switching of SSD multimode | |
WO2009095084A1 (en) | Method for ensuring safety and liveness rules in a state based design | |
US11412588B2 (en) | Control apparatus of light emitting diode and non-transitory computer readable medium storing program | |
CN105204773B (en) | A kind of read method of folded envelope serial chip | |
CN106708542A (en) | Code loading method and device of embedded operating system | |
CN107608780A (en) | A kind of resource tree loading method, device and transmission network management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |