CN106647405A - Easily-extensible deodorization fragrance machine control method - Google Patents

Easily-extensible deodorization fragrance machine control method Download PDF

Info

Publication number
CN106647405A
CN106647405A CN201611230006.3A CN201611230006A CN106647405A CN 106647405 A CN106647405 A CN 106647405A CN 201611230006 A CN201611230006 A CN 201611230006A CN 106647405 A CN106647405 A CN 106647405A
Authority
CN
China
Prior art keywords
control
code
function
module
read
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
Application number
CN201611230006.3A
Other languages
Chinese (zh)
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.)
Western Guizhou Belvedere Ecological Environment Development Co Ltd
Original Assignee
Western Guizhou Belvedere Ecological Environment Development 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 Western Guizhou Belvedere Ecological Environment Development Co Ltd filed Critical Western Guizhou Belvedere Ecological Environment Development Co Ltd
Priority to CN201611230006.3A priority Critical patent/CN106647405A/en
Publication of CN106647405A publication Critical patent/CN106647405A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Disinfection, Sterilisation Or Deodorisation Of Air (AREA)

Abstract

The present invention provides an easily-extensible deodorization fragrance machine control method. The method comprises the following steps: 1, power-on initialization: a control execution module (101) eliminates the content in a transient memory; 2, basic code reading: the control execution module (101) emits a reading code instruction to a basic control module (102), and the basic control module (102) returns back the solidified operation codes; 3, function code reading; 4, communication code reading; and 5, interaction code reading. The easily-extensible deodorization fragrance machine control method loads the solidified basic operation codes and then loads the extension code mode to provide abundant extension possibility for the deodorization fragrance machine and provide basic codes required by operation when the extension function is not provided, and therefore, the factory is easy to perform product iteration, and the users only need to increase or replace the circuit board on the insertion board interface to perform product control function upgrading iteration.

Description

A kind of deodorant fragrant scent machine control method of easy extension
Technical field
The present invention relates to a kind of deodorant fragrant scent machine control method of easy extension.
Background technology
In prior art, the control system usually once design shaping of deodorant fragrant scent machine, to carry out Function Extension, then Can only be by product up-gradation, and product up-gradation is for a user, then need newly to purchase equipment, cost is high.
The content of the invention
To solve above-mentioned technical problem, the invention provides a kind of deodorant fragrant scent machine control method of easy extension, the easy expansion By way of the deodorant fragrant scent machine control method of exhibition reloads spreading code after the basic operation code for first loading solidification, can be The abundant extension of deodorant fragrant scent machine offer is possible, while can also provide basic code needed for operation when expanded function is not provided.
The present invention is achieved by the following technical programs.
The deodorant fragrant scent machine control method of a kind of easy extension that the present invention is provided, comprises the steps:
1. opening initialization:System boot, controls the content that performing module is removed in buffer;
2. basic code is read:Control performing module sends reading code command to basic control module, and mould is controlled substantially Block returns the operation code for solidifying;
3. read functions code:Control performing module sends reading code command, function control mould to functional control module Block judges whether there is insertions function plate on the plate interface for connecting, and such as returns null value if nothing, if any then reading generation from feature board Code, and detects code format, and the function that call format is met in code is read and stored, then using the function name of storage as Return value is returned, and covers function of the same name if controlling performing module as received function name return value;
4. communication cryptology is read:Control performing module sends reading code command, Control on Communication mould to communication control module Block judges whether there is insertion communication board on the plate interface for connecting, and such as returns null value if nothing, if any then reading generation from communication board Code, and detects code format, and the function that call format is met in code is read and stored, then using the function name of storage as Return value is returned, and covers function of the same name if controlling performing module as received function name return value;
5. interaction code is read:Control performing module sends reading code command, interactive controlling mould to interactive controlling module Block judges whether there is insertion interaction plate on the plate interface for connecting, and such as returns null value without if, if any then from interactive plate reading generation Code, and detects code format, and the function that call format is met in code is read and stored, then using the function name of storage as Return value is returned, and covers function of the same name if controlling performing module as received function name return value;
6. perform:Control performing module carries out order execution according to the code of storage, when calling function is controlled, led in code During the function name that letter control, interactive controlling module are returned and covered, then from function control, Control on Communication, interactive controlling module Read corresponding function code and perform.
Solidify every kind of function for meeting form that is stored with the basic control module, its content is return improper value.
Step 3.~5. in, when basic control module receives return value and includes function name, then by corresponding function Content modification is to function control, Control on Communication, the code call of interactive controlling module correspondence position.
The beneficial effects of the present invention is:The side of spreading code is reloaded after the basic operation code for first loading solidification Formula, can provide abundant extension possibility, while can also provide base needed for operation when expanded function is not provided for deodorant fragrant scent machine This code, thus producer is easy to product iteration, and user upgrades iteration for the control function of product, as long as on plate interface The plug in circuit board of institute is increased or is changed.
Description of the drawings
Fig. 1 is the system connection diagram of the present invention.
In figure:101- controls are performed, and 102- is controlled substantially, 201- function controls, 202- Control on Communication, 203- interaction controls System, 204- plate interfaces, 301- feature boards, 302- communication boards, 303- interaction plates.
Specific embodiment
Be described further below technical scheme, but claimed scope be not limited to it is described.
The invention provides a kind of deodorant fragrant scent machine control method of easy extension, comprises the steps:
1. opening initialization:System boot, control performs the content that 101 modules are removed in buffer;
2. basic code is read:Control performs 101 modules and sends reading code command to 102 modules of basic control, substantially Control 102 modules to return the operation code for solidifying;
3. read functions code:Control performs 101 modules and sends reading code command, function to the module of function control 201 Control 201 modules and judge whether there is insertions function plate 301 on the plate interface 204 for connecting, such as return null value if nothing, if any then from Code is read in feature board 301, and detects code format, the function that call format is met in code is read and stored, then Return the function name of storage as return value, by function of the same name if controlling to perform 101 modules as received function name return value Cover;
4. communication cryptology is read:Control performs 101 modules and sends reading code command to the module of Control on Communication 202, communicates Control 202 modules and judge whether there is insertion communication board 302 on the plate interface 204 for connecting, such as return null value if nothing, if any then from Code is read in communication board 302, and detects code format, the function that call format is met in code is read and stored, then Return the function name of storage as return value, by function of the same name if controlling to perform 101 modules as received function name return value Cover;
5. interaction code is read:Control performs 101 modules and sends reading code command to the module of interactive controlling 203, interaction Control 203 modules and judge whether there is insertion interaction plate 303 on the plate interface 204 for connecting, such as return null value if nothing, if any then from Code is read in interaction plate 303, and detects code format, the function that call format is met in code is read and stored, then Return the function name of storage as return value, by function of the same name if controlling to perform 101 modules as received function name return value Cover;
6. perform:Control performs 101 modules and carries out order execution according to the code of storage, when calling function control in code During the function name that the 201st, Control on Communication 202, the module of interactive controlling 203 are returned and covered, then from function control 201, Control on Communication 202nd, read corresponding function code in the module of interactive controlling 203 and perform.
Solidify every kind of function for meeting form that is stored with 102 modules of the basic control, its content is return improper value.
Step 3.~5. in, when 102 modules of basic control receive return value and include function name, then by corresponding letter Number content modification is to function control 201, Control on Communication 202, the code call of the module correspondence position of interactive controlling 203.
Thus, deodorant fragrant scent machine control system as shown in Figure 1, using the method for the present invention, you can guarantee basic operation On the basis of, it is also possible to seamless extension is realized easily.As being inserted with feature board 301, communication board 302, interaction plate on plate interface 204 Arbitrary one piece in 303, then corresponding function control 201, Control on Communication 202, interactive controlling 203 read code and store, work( Energy plate 301 provides the extension of control function, such as mobile phone control, Intelligent Recognition control, and communication board 302 provides the expansion of communication function Exhibition, such as bluetooth connection, WiFi connections, interaction plate 303 provides the extension of interactive function, such as extended screen, Projection Display.

Claims (3)

1. the deodorant fragrant scent machine control method of a kind of easy extension, it is characterised in that:Comprise the steps:
1. opening initialization:System boot, control performs the content that (101) module is removed in buffer;
2. basic code is read:Control performs (101) module and sends reading code command to basic control (102) module, substantially Control (102) module returns the operation code for solidifying;
3. read functions code:Control performs (101) module and sends reading code command, function to function control (201) module Control (201) module judges whether there is insertions function plate (301) on the plate interface (204) for connecting, as returned null value without if, such as Having then read from feature board (301) code, and detects code format, and the function that call format is met in code is read and deposited Storage, then returns the function name of storage as return value, and control will if performing (101) module as received function name return value Function of the same name is covered;
4. communication cryptology is read:Control performs (101) module and sends reading code command to Control on Communication (202) module, communicates Control (202) module judges whether there is insertion communication board (302) on the plate interface (204) for connecting, as returned null value without if, such as Having then read from communication board (302) code, and detects code format, and the function that call format is met in code is read and deposited Storage, then returns the function name of storage as return value, and control will if performing (101) module as received function name return value Function of the same name is covered;
5. interaction code is read:Control performs (101) module and sends reading code command to interactive controlling (203) module, interaction Control (203) module judges whether there is insertion interaction plate (303) on the plate interface (204) for connecting, as returned null value without if, such as Having then read from interaction plate (303) code, and detects code format, and the function that call format is met in code is read and deposited Storage, then returns the function name of storage as return value, and control will if performing (101) module as received function name return value Function of the same name is covered;
6. perform:Control performs (101) module and carries out order execution according to the code of storage, when calling function control in code (201) during the function name that, Control on Communication (202), interactive controlling (203) module are returned and covered, then from function control (201), Corresponding function code is read in Control on Communication (202), interactive controlling (203) module and perform.
2. the deodorant fragrant scent machine control method for easily extending as claimed in claim 1, it is characterised in that:The basic control (102) every kind of function for meeting form that is stored with is solidified in module, its content is return improper value.
3. the deodorant fragrant scent machine control method for easily extending as claimed in claim 2, it is characterised in that:Step 3.~5. in, When basic control (102) module receives return value and includes function name, then corresponding function content is revised as to function control System (201), Control on Communication (202), the code call of interactive controlling (203) module correspondence position.
CN201611230006.3A 2016-12-27 2016-12-27 Easily-extensible deodorization fragrance machine control method Pending CN106647405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611230006.3A CN106647405A (en) 2016-12-27 2016-12-27 Easily-extensible deodorization fragrance machine control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611230006.3A CN106647405A (en) 2016-12-27 2016-12-27 Easily-extensible deodorization fragrance machine control method

Publications (1)

Publication Number Publication Date
CN106647405A true CN106647405A (en) 2017-05-10

Family

ID=58832999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611230006.3A Pending CN106647405A (en) 2016-12-27 2016-12-27 Easily-extensible deodorization fragrance machine control method

Country Status (1)

Country Link
CN (1) CN106647405A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1380909A2 (en) * 2002-07-01 2004-01-14 Matsushita Electric Industrial Co., Ltd. Home electrical appliance control device, control method, control program and home electrical appliance
CN200969046Y (en) * 2006-11-08 2007-10-31 杭州通灵自动化股份有限公司 Control system dedicated for up-down cross sliding type stereo garage
US7330777B2 (en) * 2005-08-26 2008-02-12 Fanuc Ltd Robot coordinated control method and system
CN101571798A (en) * 2008-04-29 2009-11-04 环达电脑(上海)有限公司 Method for generating and using automatic test script
DE102008060118A1 (en) * 2008-12-03 2010-06-10 Robert Bosch Gmbh Printing machine, has operating device provided for operating machine, and operating part comprising actuating element, where communication connection is established between operating part and base part
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN102426531A (en) * 2011-11-03 2012-04-25 中国电力科学研究院 Intelligent terminal and application program updating system and method
CN102750157A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Application program loading method and device
CN102760098A (en) * 2012-06-13 2012-10-31 北京航空航天大学 Processor fault injection method oriented to BIT software test and simulator thereof
CN103207852A (en) * 2013-04-03 2013-07-17 北京华清瑞达科技有限公司 Multi-bus embedded processing device
CN104199773A (en) * 2014-09-03 2014-12-10 腾讯科技(深圳)有限公司 Method and device for obtaining code coverage information
CN104572030A (en) * 2013-10-09 2015-04-29 镇江金钛软件有限公司 Plug-in configuration method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1380909A2 (en) * 2002-07-01 2004-01-14 Matsushita Electric Industrial Co., Ltd. Home electrical appliance control device, control method, control program and home electrical appliance
US7330777B2 (en) * 2005-08-26 2008-02-12 Fanuc Ltd Robot coordinated control method and system
CN200969046Y (en) * 2006-11-08 2007-10-31 杭州通灵自动化股份有限公司 Control system dedicated for up-down cross sliding type stereo garage
CN101571798A (en) * 2008-04-29 2009-11-04 环达电脑(上海)有限公司 Method for generating and using automatic test script
DE102008060118A1 (en) * 2008-12-03 2010-06-10 Robert Bosch Gmbh Printing machine, has operating device provided for operating machine, and operating part comprising actuating element, where communication connection is established between operating part and base part
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN102750157A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Application program loading method and device
CN102426531A (en) * 2011-11-03 2012-04-25 中国电力科学研究院 Intelligent terminal and application program updating system and method
CN102760098A (en) * 2012-06-13 2012-10-31 北京航空航天大学 Processor fault injection method oriented to BIT software test and simulator thereof
CN103207852A (en) * 2013-04-03 2013-07-17 北京华清瑞达科技有限公司 Multi-bus embedded processing device
CN104572030A (en) * 2013-10-09 2015-04-29 镇江金钛软件有限公司 Plug-in configuration method
CN104199773A (en) * 2014-09-03 2014-12-10 腾讯科技(深圳)有限公司 Method and device for obtaining code coverage information

Similar Documents

Publication Publication Date Title
CN106161100B (en) A kind of internet of things equipment configuration method and internet-of-things terminal
CN103164197A (en) User interface (UI) distribution self-adaption method, mobile device and distribution generating device
CN104317257A (en) System and method for controlling multiple sockets based on wireless internet control
CN103019746B (en) Software interactive control method based on Android platform and system
CN101931603A (en) Method for realizing remote call on hand-held intelligent terminal
CN112612214A (en) Method and system for generating functional interface and electronic equipment
CN103761130A (en) Dual-system start control method and dual-system start control device
CN105607901A (en) System memory optimization method and apparatus as well as terminal device
CN106647405A (en) Easily-extensible deodorization fragrance machine control method
CN104572280B (en) A kind of Android applications method for switching theme
CN102999371A (en) Lua script-based human-computer interface development method and system
CN101276276A (en) Digital television applied development model apparatus
CN106647504A (en) Easy-to-expand stereoscopic garage control method
CN102170714A (en) Multi-mode driving method, system and terminal
CN112202650A (en) Method and system for controlling intelligent equipment by WeChat small program
CN111984293A (en) Information processing method, device and storage medium
CN102185970A (en) Method for establishing standard for handset video player component model object interface
CN106647404A (en) Path planning control system for easily extended stereo garage
CN101695091A (en) Device and method for automatically matching pictures of terminal switching machine
CN101193010A (en) Simulated board firmware upgrade method for home intelligent network system
CN109714642A (en) Linux application multiplexing is in the method for intelligence system, smart television and storage medium
CN106647403A (en) Stereo garage control method for expanding plugging board
CN106502136A (en) A kind of deodorization fragrant scent machine control system of easy extension
CN106842995A (en) A kind of multi-storied garage path planning control method of easy extension
CN106597904A (en) Path planning control method for three-dimensional garage extended through plugboard

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

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication