CN107272521B - A kind of Intelligent hardware control method of knowledge mapping driving - Google Patents

A kind of Intelligent hardware control method of knowledge mapping driving Download PDF

Info

Publication number
CN107272521B
CN107272521B CN201710679436.1A CN201710679436A CN107272521B CN 107272521 B CN107272521 B CN 107272521B CN 201710679436 A CN201710679436 A CN 201710679436A CN 107272521 B CN107272521 B CN 107272521B
Authority
CN
China
Prior art keywords
signaling
intelligent hardware
function
hardware
knowledge mapping
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.)
Active
Application number
CN201710679436.1A
Other languages
Chinese (zh)
Other versions
CN107272521A (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.)
Haiyizhi Information Technology Nanjing Co ltd
Original Assignee
Qufu Normal University
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 Qufu Normal University filed Critical Qufu Normal University
Priority to CN201710679436.1A priority Critical patent/CN107272521B/en
Publication of CN107272521A publication Critical patent/CN107272521A/en
Application granted granted Critical
Publication of CN107272521B publication Critical patent/CN107272521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of Intelligent hardware control methods of knowledge mapping driving, belong to the field of intelligent control technology of hardware.Purpose is to solve intelligent weaker, the complex problem of control mode to hardware controls mode in the prior art.The method specifically includes: the generation of Intelligent hardware knowledge mapping: the generation of Intelligent hardware knowledge mapping is mainly constructed according to the functional module of Intelligent hardware and corresponding modularity function, i.e., expresses the structure in Intelligent hardware circuit with semanteme;Map signaling is generated to be designed with push: it is the process that the function rule in map is generated to signaling structure that map signaling, which generates,;The push of map signaling is that signaling is pushed to Intelligent hardware terminal when the data in map signaling change, thus the operating status of more new terminal;Intelligent hardware Terminal Design: the hardware circuit including terminal is built and the control main program of terminal is write.

Description

A kind of Intelligent hardware control method of knowledge mapping driving
Technical field
Present invention relates particularly to a kind of Intelligent hardware control methods of knowledge mapping driving, belong to the intelligent control skill of hardware Art field.
Background technique
Intelligent hardware is that a scientific and technological concept after smart phone sets tradition by way of software and hardware combining It is standby to be transformed, and then it is allowed to possess intelligence.Currently, Intelligent hardware control model is broadly divided into two classes, one kind is using intelligence Control software directly controls, and another kind of is that the service provided based on third party cloud platform carries out networking control.
For the first kind, intelligent control software is by wireless modes or wired modes such as Wifi, bluetooth, ZigBee, to hard Part circuit is controlled.Its control mode is mainly that the automatic control of hardware circuit is realized according to the program write, e.g., intelligence Temperature control in greenhouse, i.e., when reaching certain temperature, the fan in greenhouse is started to work etc..For such control mode, If necessary to increase or modify function, it is necessary to be recompiled to main control chip.
For the second class, carrying out networking control mode based on the service that third party cloud platform provides is that user is made to pass through interconnection The function that net realizes real-time control Intelligent hardware, inquires intelligent hardware devices state.Such as China Mobile's ONENET cloud platform, wisdom Multiple third party cloud platforms such as cloud, A Liyun, QQ Internet of Things Intelligent hardware open platform all provide service support to Intelligent hardware.So And in terms of control mode, to make Intelligent hardware that there is function more abundant to need to control it writing for code, this It will lead to first is that program is very many and diverse, second is that work is relatively complicated;In addition, basic Intelligent hardware system and third party cloud platform it Between connect gateway construction it is relative complex, the system function of Intelligent hardware is even more complicated and changeable in programming, causes Data transmission and instruction control etc. are easier to error occur.Generally speaking, complex to hardware controls mode at present, intelligence Property is weaker.
Summary of the invention
Therefore, in view of the above problems in the prior art, the present invention provides a kind of Intelligent hardware control of knowledge mapping driving Method fundamentally changes current Intelligent hardware control mode, can be increased by function of the natural language to hardware Add, delete or change, is truly realized the intelligentized control method of hardware.
Specifically, Intelligent hardware control method includes:
The generation of Intelligent hardware knowledge mapping:
Functional module and corresponding modularity function structure of the generation of Intelligent hardware knowledge mapping mainly according to Intelligent hardware It builds, i.e., expresses the structure in Intelligent hardware circuit with semanteme;
Map signaling is generated to be designed with push:
It is the process that the function rule in map is generated to signaling structure that map signaling, which generates,;
The push of map signaling is that signaling is pushed to Intelligent hardware end when the data in map signaling change End, thus the operating status of more new terminal;
Intelligent hardware Terminal Design:
Hardware circuit including terminal is built and the control main program of terminal is write.
Further, the generation of Intelligent hardware knowledge mapping specifically includes in the method:
Circuit hardware structure in Intelligent hardware terminal is analyzed, and extracts corresponding functional module;
The software configuration of Intelligent hardware terminal is analyzed, the power function of each functional module is extracted;
The content that above-mentioned analysis is extracted is built into Intelligent hardware knowledge mapping.
Further, the generation of map signaling is specifically according to function ID and function and relevant mould in the method Block generates.
Further, it is by required function modular circuit and governor circuit phase that the hardware circuit of terminal, which is built, in the method The process of connection.
Further, writing for main program includes: in the method
Signalling exchange part is interacted for generating with map signaling with pushing module, i.e. the interaction of function parameter value;
To signaling preprocessing part, for being analyzed signaling and being packaged;
Signaling distribution part makes power function for being assigned to corresponding power function according to the function code in signaling It is worked accordingly according to the parameter in function code.
The beneficial effects of the present invention are: the present invention provides a kind of Intelligent hardware control method of knowledge mapping driving, with The prior art is compared, and is had the advantage that
The advantage of knowledge based map can use natural language and be programmed to hardware, even if being ignorant of hardware programming language Speech, can also be effectively controlled hardware.It need to can only be increased by increase, deletion and editor's rule for terminal, be deleted With change function.
By knowledge mapping, can intuitively by hardware modular structure and modularity function be shown to user, have Understanding and exploitation conducive to user to hardware.
The present invention has versatility, first is that the versatility of hardware, it is mono- to can be adapted for various types such as 51 single-chip microcontrollers, AVR Piece machine and ARM etc. are the hardware circuit of core;Second is that the versatility of programming language, refers here to language used in primary control program Speech, no matter which kind of programming language (e.g., C language, python language etc.), as long as it can receive and handle the signaling in the present invention It can be interacted with knowledge mapping.
Natural language is not limited to Chinese, this is because knowledge mapping is mutually discrete by specific function and title, for same A function can correspond to different language expression by semantic association.Therefore, for Chinese, English or other Languages can be used In the manipulation of hardware.
On the basis of the present invention, a kind of intelligent operating system of hardware can also be constructed.
Detailed description of the invention:
Fig. 1 is the Intelligent hardware control structure figure of knowledge based map;
Fig. 2 is signaling structure schematic diagram;
Fig. 3 is terminal control main program schematic diagram;
Fig. 4 is Intelligent hardware knowledge mapping schematic diagram;
Fig. 5 is intelligent terminal hardware circuit structure block diagram;
Fig. 6 is the knowledge mapping schematic diagram of circuit shown in Fig. 5.
Specific embodiment
Description of specific embodiments of the present invention below:
Control method primary structure of the invention consists of three parts;
As shown in Figure 1:
First part is Intelligent hardware electric circuit knowledge map, and knowledge mapping contains the relationship between concept and concept, and Rule.Rule-based, knowledge mapping itself can make inferences, so as to obtain the tacit knowledge of knowledge mapping content.And Intelligent hardware electric circuit knowledge map in the present invention, is utilized the advantage of knowledge mapping itself, that is, semantic relation therein with push away Function is managed, intelligent control effectively can be carried out to hardware.Intelligent hardware knowledge mapping carries out the structure of Intelligent hardware circuit Semantic meaning representation e.g., in circuit includes several functional modules, the function letter of the relationship and module self of module and intermodule Number etc., by the inference mechanism in knowledge mapping, can generate new function on the basis of existing basic function, without To increase code in the main program of hardware circuit, so as to effectively carry out intelligent control to hardware.Intelligent hardware knowledge Each module in map, each function have the only ID number of oneself.Intelligent hardware knowledge mapping is in core of the invention Hold.
Second part is that map signaling generates and push, the function of the module are by the rule of expression function in knowledge mapping The signaling that hardware can identify is generated, and the corresponding signaling of function is pushed to Intelligent hardware terminal according to the demand of user, is made Hardware circuit provides corresponding function.Signaling structure is as shown in Figure 2;
Part III is Intelligent hardware terminal, which includes two parts content, first is that the hardware circuit of terminal, it is desirable that each The connection with main control board of functional module is consistent with the data in primary control program configuration module.Second is that for controlling electricity The main program on road, circuit main program in the present invention is for receiving signaling and circuit being made to realize corresponding function, in the present invention Main program structure it is different from common main program structure, main program structure is as shown in Figure 3.
Functional module reference portion is that the function packet of module required in hardware circuit is introduced into main program, is used for program The calling of middle modularity function.Functional module configuration with to initialize include configuring to the hardware circuit of functional module, and to each The process that module is initialized, it is therefore an objective to be at working condition.Major cycle module section is in recurrent state, wherein wrapping Following sub- content is contained, first is that Signalling exchange, is generated by map signaling for receiving and handling and push in pushing module Signaling;Second is that signaling preprocessing module, for carrying out data setting to signaling;Third is that signaling distribution module, by signaling distribution To each functional module principal function, is received by the functional module in the module and handled, generate corresponding function.
It can be interacted by wirelessly or non-wirelessly mode between Intelligent hardware terminal and knowledge mapping.
The specific control process of control method of the invention the following steps are included:
The generation of Intelligent hardware knowledge mapping:
Functional module and corresponding modularity function structure of the generation of Intelligent hardware knowledge mapping mainly according to Intelligent hardware It builds, i.e., expresses the structure in Intelligent hardware circuit with semanteme.Specific step is as follows:
Circuit hardware structure in Intelligent hardware terminal is analyzed, and extracts corresponding functional module, as LCD is aobvious Show functional module, LED control function module etc..
The software configuration of Intelligent hardware terminal is analyzed, the power function of each functional module is extracted, e.g., LED control Lamp in functional module processed opens (on ()) He Dengguan (off ()) etc..
According to knowledge mapping construction method, the content that above-mentioned analysis is extracted constructs Intelligent hardware knowledge mapping, such as Shown in Fig. 4.
Map signaling is generated to be designed with push:
Map signaling generates, and is the process that the function rule in map is generated to signaling structure shown in Fig. 2, specific as follows:
The generation of signaling is to be generated according to function ID and function to relevant module.Such as generating function is " led1 lamp Open " signaling.
The ID that lamp opens function is F03, and the input parameter of the function is led1, because the ID number of led1 is C06, and lamp is opened Function does not have return value, then signaling are as follows: [" F03 ", [" C06 "], []]
Signaling is then pushed to Intelligent hardware end when the data in map signaling change by the push of map signaling End, thus the operating status of more new terminal.
Intelligent hardware Terminal Design:
The hardware circuit of terminal is built, which is the process that required function modular circuit is connected with governor circuit, The pin of functional module pin corresponding with main control module need to be only connected.Note: pin connection will be with terminal main program In functional module configuration with initialize in be consistent.
The control main program of terminal is write, and according to the structure in Fig. 3, is broadly divided into three parts, first part and second Part is similar to the content of common circuit software design part, and Part III is different from other control main programs, mainly by three It is grouped as: first is that Signalling exchange part, interacts for generating with map signaling with pushing module, i.e. the friendship of function parameter value Mutually.It is for being analyzed signaling and being packaged, third is that signaling distribution part, in the part second is that signaling preprocessing part Hold the case statement being similar in code speech, corresponding power function is assigned to according to the function code in signaling, makes its root It is acted accordingly according to parameter therein.
Illustrate control method of the invention with specific example below, is an intelligent terminal hardware structure chart shown in Fig. 5, it is main There are governor circuit, LED light group, LCD display module and thermal module composition.
Knowledge mapping is established to hardware configuration first, each node in map distributes unique ID number, hardware electricity Road contains LED light group module (ID number C05), LCD display module (ID number C04), and (ID number is temperature collecting module C03).One LED light group includes two LED light (ID number is respectively C06, C07).
It is showed for the power function of these three modules by knowledge mapping, having lamp for LED light group, bright (ID number is F03 it) goes out (ID F04) two functions with lamp, has explicit function (ID number F02) for LCD display module, for thermal module There is temperature acquisition function (ID thing is F01).
By such as LED light 1 of the specific solid element in hardware circuit, LED light 2 associates with corresponding function.Such as LED Lamp 1 with LED light is bright associates, indicate there is the function for keeping LED light 1 bright in terminal main program.Constructed knowledge mapping such as Fig. 6 It is shown.
Embodiment 1: led1 is lighted
Map signaling generates and push, and for the present embodiment, i.e. realization function is the example that led1 lamp is opened.
Function: led1 lamp is opened, implementation rule: led1 lamp is opened.
Signaling generates result are as follows: [" F03 ", [" led1 "], []], push mode push intelligent terminal using network server Program design, (by taking arduino code as an example) specific as follows according to design procedure:
The flashing of embodiment 2:led1 lamp:
On this basis, a new function, i.e. led1 lamp flashing (period is 1 second) can be increased by rule, because knowing It is identical with a upper function to know map construction, so only since the generation of second part map signaling and push, for the function, We can be defined as follows rule:
Function: 1 second implementation rule of led1 flicker cycle: led1 lamp is bright, waits 1 second, and led1 lamp goes out, and waits 1 second
Profile information generates and pushing module is according to the following signaling of rule generation:
[[" F03 ", [" C06 "], []],
[" F05 ", [" 1000 "], []], [" F04 ", [" C06 "], []], [" F05 ", [" 1000 "], []]]
After signaling generates, the major cycle module being sent in primary control program, successively execution information, then may be implemented led1 with The flashing function that period is 1 second.
Embodiment 3: temperature acquisition and temperature display example:
A temperature acquisition and the example by temperature display on lcd are provided again:
Because knowledge mapping building is identical as a upper function, only opened from the generation of second part map signaling with push Begin, for the function, can be defined as follows rule:
Function: lcd shows temperature collection, and implementation rule: lcd shows (temperature acquisition)
Profile information generates and pushing module is according to the following signaling of rule generation:
[[" F02 ", [X], []], [" F01 ", [], [X]]]
Increase the following contents in the major cycle module of primary control program:
Case: " F01 ":
X=gettempratue ();
break;
Case: " F02 ":
lcd.print(X);
break;
The function of temperature display then may be implemented.
It is the preferred embodiment of the present invention above, it is noted that for those skilled in the art, Various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as this The protection scope of invention.

Claims (4)

1. a kind of Intelligent hardware control method of knowledge mapping driving, which is characterized in that the method specifically includes:
The generation of Intelligent hardware knowledge mapping:
The generation of Intelligent hardware knowledge mapping is mainly constructed according to the functional module of Intelligent hardware and corresponding modularity function, i.e., Structure in Intelligent hardware circuit is expressed with semanteme;
Map signaling is generated to be designed with push:
It is the process that the function rule in map is generated to signaling structure that map signaling, which generates,;
The push of map signaling is that signaling is pushed to Intelligent hardware terminal when the data in map signaling change, from And the operating status of more new terminal;
Intelligent hardware Terminal Design:
Hardware circuit including terminal is built and the control main program of terminal is write;
Writing for main program includes: in the method
Signalling exchange part is interacted for generating with map signaling with pushing module, i.e. the interaction of function parameter value;
To signaling preprocessing part, for being analyzed signaling and being packaged;
Signaling distribution part, for being assigned to corresponding power function according to the function code in signaling, make power function according to Parameter in function code is worked accordingly.
2. the Intelligent hardware control method of knowledge mapping driving as described in claim 1, which is characterized in that intelligence in the method The generation of energy hardware knowledge map specifically includes:
Circuit hardware structure in Intelligent hardware terminal is analyzed, and extracts corresponding functional module;
The software configuration of Intelligent hardware terminal is analyzed, the power function of each functional module is extracted;
The content that above-mentioned analysis is extracted is built into Intelligent hardware knowledge mapping.
3. the Intelligent hardware control method of knowledge mapping driving as described in claim 1, which is characterized in that scheme in the method The generation of spectrum signaling is specifically to be generated according to function ID and function to relevant module.
4. the Intelligent hardware control method of knowledge mapping driving as described in claim 1, which is characterized in that in the method eventually It is the process that required function modular circuit is connected with governor circuit that the hardware circuit at end, which is built,.
CN201710679436.1A 2017-08-05 2017-08-05 A kind of Intelligent hardware control method of knowledge mapping driving Active CN107272521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710679436.1A CN107272521B (en) 2017-08-05 2017-08-05 A kind of Intelligent hardware control method of knowledge mapping driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710679436.1A CN107272521B (en) 2017-08-05 2017-08-05 A kind of Intelligent hardware control method of knowledge mapping driving

Publications (2)

Publication Number Publication Date
CN107272521A CN107272521A (en) 2017-10-20
CN107272521B true CN107272521B (en) 2019-07-19

Family

ID=60076918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710679436.1A Active CN107272521B (en) 2017-08-05 2017-08-05 A kind of Intelligent hardware control method of knowledge mapping driving

Country Status (1)

Country Link
CN (1) CN107272521B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615425A (en) * 2015-01-16 2015-05-13 贾志东 Method and system for developing software system based on features and feature tree
CN105094315B (en) * 2015-06-25 2018-03-06 百度在线网络技术(北京)有限公司 The method and apparatus of human-machine intelligence's chat based on artificial intelligence
CN106844368B (en) * 2015-12-03 2020-06-16 华为技术有限公司 Method for man-machine conversation, neural network system and user equipment
CN106210138A (en) * 2016-08-26 2016-12-07 北京方研矩行科技有限公司 A kind of Intelligent hardware interlock method based on high in the clouds rule
CN106254506A (en) * 2016-08-26 2016-12-21 北京方研矩行科技有限公司 A kind of Intelligent hardware interlock method based on HTTP API
CN106503035A (en) * 2016-09-14 2017-03-15 海信集团有限公司 A kind of data processing method of knowledge mapping and device

Also Published As

Publication number Publication date
CN107272521A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN108769165B (en) Data processing method in Internet of things and Internet of things access system
CN107809355A (en) A kind of method and system of smart machine coordinated signals
CN103513976B (en) Service flowpath modelling approach and device
CN102468993B (en) Terminal test equipment and method
CN114189052B (en) Power plant state monitoring system and monitoring method
WO2010130165A1 (en) Method and system for generating open telecommunication service based on internet
CN105278960A (en) Process automation method and system in remote sensing application
CN103151840A (en) Communication method and device of IEC (international electrotechnical commission) 61850 system and non-IEC 61850 system
CN108572562A (en) Intelligent household intelligent energy management system based on Internet of things and QT graphical interface
CN110161944A (en) A kind of programmed method of PLC programming software
CN115794106A (en) Method and system for analyzing configuration of binary protocol data of rail transit
CN107272521B (en) A kind of Intelligent hardware control method of knowledge mapping driving
CN104063227B (en) A kind of instruction learning method based on Internet of Things
CN204989857U (en) Remote control device based on pioneer robot
CN106850559A (en) A kind of expansible procotol analysis system and method
CN203608411U (en) Novel intelligent LED lamp control circuit based on WiFi
CN113783870A (en) Remote multi-loop gateway based on intelligent road rods and use method thereof
CN104507100B (en) A method of Zigbee network is managed using wireless terminal
CN107220258A (en) For method, device and the terminal of the data for capturing five application page
CN109753281A (en) A kind of microgrid energy management strategy visualization toolkit based on graphic programming
CN107517210A (en) A kind of power distribution network radio communication device of multiplex roles protocol self-adapting conversion
CN201903641U (en) Remote debugging system for electric meter
CN104079658B (en) Environmentally friendly Internet of Things real-time control method based on pool technology under Web environment
CN106254124A (en) A kind of Intelligent substation merging unit collocation method improved based on short address
CN211578118U (en) Real standard platform of embedded singlechip teaching of cloud micro-control

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220622

Address after: No.1 Dongji Avenue, Jiangning District, Nanjing City, Jiangsu Province (Jiangning Development Zone)

Patentee after: Haiyizhi information technology (Nanjing) Co.,Ltd.

Address before: 273165 No. 57, Xuan Xuan West Road, Shandong, Qufu

Patentee before: QUFU NORMAL University

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Knowledge Graph Driven Intelligent Hardware Control Method

Effective date of registration: 20231025

Granted publication date: 20190719

Pledgee: Bank of Nanjing Co.,Ltd. Jiangning sub branch

Pledgor: Haiyizhi information technology (Nanjing) Co.,Ltd.

Registration number: Y2023980062420