CN107621958A - A kind of embedded system structure and its method of work - Google Patents

A kind of embedded system structure and its method of work Download PDF

Info

Publication number
CN107621958A
CN107621958A CN201710844011.1A CN201710844011A CN107621958A CN 107621958 A CN107621958 A CN 107621958A CN 201710844011 A CN201710844011 A CN 201710844011A CN 107621958 A CN107621958 A CN 107621958A
Authority
CN
China
Prior art keywords
execution unit
control
execution
unit
driver
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
CN201710844011.1A
Other languages
Chinese (zh)
Other versions
CN107621958B (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.)
Sichuan Friend Digital-Tech Co Ltd
Original Assignee
Sichuan Friend Digital-Tech 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 Sichuan Friend Digital-Tech Co Ltd filed Critical Sichuan Friend Digital-Tech Co Ltd
Priority to CN201710844011.1A priority Critical patent/CN107621958B/en
Publication of CN107621958A publication Critical patent/CN107621958A/en
Application granted granted Critical
Publication of CN107621958B publication Critical patent/CN107621958B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a kind of embedded system structure and its method of work, and the execution unit that operates in of operation and driver for the execution operating system of specific execution unit is realized, and is no longer realized in control unit;Wherein, control unit identifies whether there is execution unit access;When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And when there is tasks carrying demand, complete tasks carrying;The notice and boot order of execution unit reception control unit, and when there is tasks carrying demand, the task-performance instructions of reception control unit, tasks carrying is completed by the execution operating system and driver of itself.So as to eliminate scaling difficulty and potential safety hazard, make the stability and better reliability of system;Control unit system program insufficient space will not thus be brought;Reduce the design cost of practicality demand;Compatibility of the different execution units under a control unit can effectively be realized.

Description

A kind of embedded system structure and its method of work
Technical field
The present invention relates to embedded system electronic technology field, more particularly to a kind of embedded system structure and its work Method.
Background technology
Embedded system(Embedded system), it is a kind of " be completely embedded into inside controlled device, for application-specific The dedicated computer system of design ", according to IEE( U.K. Institution of Electrical Engineer)Definition, embedded system for control, monitoring or auxiliary equipment, machine or the equipment for plant operation.With it is individual General-purpose computing system as people's computer is different, and what embedded system generally performed is pre-defined with particular requirement Task.Because embedded system can optimize just for a special task, designer to it, reduce size drop Low cost.Embedded system is generally largely produced, so single cost savings, can be carried out hundreds and thousands of with yield Amplification.
Embedded system is the system for controlling or monitoring the large-scale equipments such as machine, device, factory.It is domestic universal The embedded system of approval is defined as:Application-centered, based on computer technology, software and hardware can be cut, and adapt to application Dedicated computer system of the system to strict demands such as function, reliability, cost, volume, power consumptions.Generally, embedded system is One control program is stored in the embeded processor control panel in ROM.In fact, all equipment with digital interface, such as Wrist-watch, micro-wave oven, video recorder, automobile etc., operating system is also all included using embedded system, some embedded systems, but greatly Most embedded systems are all to realize whole control logic by single program.
The core of embedded system is by one or several pre-programmed with for performing the micro- of several tasks Manage device or singlechip group into.It is different that the software of user's selection can be run from all-purpose computer, the software in embedded system It is typically temporarily constant;So it is frequently referred to as " firmware ".
Embedded OS(Embedded Operation System, EOS)It is that a kind of widely used system is soft Part, the past, it was mainly applied and Industry Control and national defense system field.EOS is responsible for whole soft and hardware resources of embedded system Distribution, task scheduling, control, coordinate concurrent activities.The feature of system where it must embody it, can be by loading and unloading some moulds Block reaches the function required by system.At present, some have been released and has applied more successful EOS product lines.With The development of Internet technologies, the popularization and application of information household appliances and EOS miniaturization and specialization, EOS start from single weak Function develops to high specialized powerful direction.Embedded OS is in system real-time high-efficiency, the related dependant of hardware Property, the specificity etc. of software solidification and application there is the characteristics of more prominent.EOS be relative to general operation system and Speech, it is except possessing the most basic function of general operation system, such as task scheduling, synchronization mechanism, interrupt processing, file function Deng outer, also following characteristics:
(1) handling property.The open, architecture of scalability.
(2) hard real-time.EOS real-times are general relatively strong, among the control of various equipment.
(3) unified interface.Various device drives interfaces are provided.
(4) figure GUI that is convenient and simple for operation, providing close friend, graphical interfaces, pursuit are easy to learn and use.
(5) powerful network function is provided, supports ICP/IP protocol and other agreements, there is provided TCP/UDP/IP/PPP agreements Support and unified MAC accesses layer interface, be various mobile computing device spare interfaces.
(6) stiff stability, weak interactivity.Embedded system avoids the need for the excessive intervention of user once operation, this The EOS that system administration will be responsible for has stronger stability.The user interface of embedded OS does not provide operation typically Order, it provides service by system call command to user program.
(7) code is solidified.In embedded system, embedded OS and application software are cured in embedded system meter In the ROM of calculation machine.Additional storage is rarely employed in embedded systems, therefore, the file management work(of embedded OS Should be able to can easily it dismantle, and with various memory file systems.
(8) more preferable hardware adaptive mechanism, that is, good transplantability.
So-called plug and play technique, after exactly connecting devices to computer, it is not necessary to which complexity is carried out to device parameter Set, computer is with regard to energy automatic identification equipment, automatic installation or from driver, adjusting device relevant parameter, it is ensured that equipment , just can normal use after completing physical connection.
Plug and play be event dynamic processing, including equipment into and out, wake up or make equipment enter sleep shape State.When adding new equipment in system, plug and play manager can interpolate that out corresponding device driver and realize driving The automatic loading of program.
System can automatically and dynamically be identified to mounted hardware.It is hard to plug and play when initially being installed including system The automatic identification of part, and the identification that plug and play hardware components are changed during operation.
The driver of PnP device oneself can not realize the distribution of resource, only identify that this sets in operating system Inborn ability matches somebody with somebody corresponding resource after standby.Plug and play manager can receive the resource request that PnP device is sent, so Corresponding hardware resource is distributed according to request afterwards, when the device request resource added in system is taken by other equipment, Plug and play manager can be redistributed to allocated resource.
It is embedding in daily life, logistic storage, commerce and trade, industrial and agricultural production activity due to the development of computer technology Embedded system with its cost is low, small volume, real-time operation, flexible configuration the features such as, obtained increasingly extensive application, and commonly The multi-job operation of computer is different, and most of embedded systems are all designed to perform a kind of fixed operation, realize a kind of The function of setting, the embedded system component as built in washing machine are the control operations designed for washing machine, and can not The control operation of air-conditioning is directly used in, the embedded system component built in oscillograph can not be directly used in projecting apparatus.
Embedded system component generally comprises control unit and execution unit two parts, its existing system structure composed one As be made up of control unit and execution unit, wherein,
Control unit is the core of embedded system component, completes the work such as identification, control, interaction, management.In existing design In, it is hard that control unit generally comprises processor MPU, memory, human-computer interaction device, communication and EBI, expansion interface etc. Part, the software such as bootstrap, operating system, driver built in unit.Externally, by communication and EBI with it is outside other Equipment calculates part exchange information, and for the control unit comprising human-computer interaction device, operation or manager can pass through man-machine friendship Mutual equipment input order, parameter, control performs associative operation, and obtains operation execution information by display device;Internally, control Unit realizes the identification and control to execution unit by expansion interface.
Execution unit is the concrete operations part of embedded system component, under the control of the control unit, specific to perform, be complete Into corresponding operation.According to the different requirements that performs, execution unit can be designed possess different functions.Such as carry multi-channel A/ D, the execution unit of D/A functions, the execution unit of analog matrix switch is realized, realizes what signal occurred, and decayed, and amplifying, converting Execution unit, realizes execution unit of Electromechanical Control etc., and different execution units needs different drivers.
Control unit and execution unit are connected with each other by the expansion interface of control unit, and expansion interface is used to realize both In the connection of signal, control, I/O, power supply etc..
Control unit and execution unit can be designed on one piece of PCB, connected by PCB layout, turn into one it is proprietary The embedded system component of function(Such as the control unit and execution unit of washing machine);Control unit and execution unit can also divide It is not different parts, is connected with each other by forms such as cable, connectors, is combined into an embedded system component(As beaten The control unit of print machine is arranged at computer terminal, and execution unit is arranged at printer side).Different execution units needs different Driver or system software.
It is different parts for control and execution unit, the embedded system being combined each other by cable, connector etc. System component, under the expansion interface for possessing same specification and definition, control unit can connect different execution units, realize not Same application requirement.
The software workflow of existing embedded system component is generally:It is electric on embedded system component, it is first carried out controlling Unit self-test processed, then perform bootstrap and complete real time operating system guiding, into real time operating system, identify holding for access Row unit, load and execution unit driver, corresponding operating is performed according to the task of setting.In the course of the work, it is embedded Formula system component can receive to come from live operator or remote control by communication and EBI or human-computer interaction device Information, order and the parameter at end, and feed back implementation procedure and result.
Then, there is following technical problem in the prior art workflow:
(1)When supporting or connect new execution unit, journey is driven in installation or upgrade-system software is difficult.Due to due to execution unit reality Existing function difference, each execution unit are required for supporting different driver, in existing implementation, when control unit needs When connecting, control, driving new execution unit, generally by forms such as network, external memorizers, by new driver It is installed in control unit system software, or system software is upgraded, becomes and support that the system of new execution unit is soft Part.The initial initiation of this working method is since computer WINDOWS systems.
But different with conventional computer, many embedded systems are built in device interior, due to system design, installation limitation, The reasons such as equipment safety, site environment, tend not to connect network or external memory storage, new driver installation is carried out to it Or upgrade-system software becomes abnormal difficult and complicated, it is often necessary to professional equipment and layman can hardly be carried out, it is no Then easily the problem of unexpected is brought to cause equipment fault, this make it that the equipment user of built-in embedded system is difficult voluntarily right Equipment carries out upgrade maintenance, or the execution unit that connection is new.
(2)Safety issue.Journey or upgrade-system software are either driven by network or external memory storage installation, all needed Reserve custom interface and need corresponding carrier, system is constantly among risk, it is wrong that these risks include installation Program code, network, virus attack and artificial disturbance etc. by mistake, the stability of this equipment operation to built-in embedded system and Security causes great hidden danger, and these hidden danger are difficult to find.
If by general standard interfaces such as USB, journey or upgrade-system are driven to install using USB storage, because USB is deposited The versatility of reservoir, it may access plurality of devices, and its security and contaminated possibility can not all ensure.Such as can be with The wireless router of remote control, once break through software upgrading interface, it is possible to remote software unconsciously is being carried out to it Upgrading, so as to cause LAN out of control or information leakage, there is great potential safety hazard.
(3)It is the design of different parts respectively for control unit and execution unit, for continually changing user scene Demand, new execution unit can be released constantly, and its corresponding driver or system software need to carry out airworthiness compliance, including Whether meet the control requirement of new execution unit itself, and to announced execution unit control whether to produce it is unpredictable Influence.
Elapse over time, the execution unit issued listing and used is increasing, and its is soft when new execution unit is released Part checking workload constantly increases, and it verifies that insufficient risk also increasingly increases.Moreover, because embedded system is most Complex environment is worked in, these complicated site environments can not be completely reproduced up in laboratory, be caused for soft under complex environment Part checking can hardly be carried out, the superposition of above-mentioned unfavorable factor so that the work of the equipment of built-in embedded system is uncertain Also more and more uncontrolled, application risk is constantly cumulative over time.
(4)Limited by cost, power consumption, volume etc., embedded system its control unit internal memory space in sale It has been fixed that, although leaving certain space surplus in design, as new execution unit is constantly released, it is necessary to constantly install The new journey or upgrading new system software, its limited space of driving can not meet the needs of this is almost limitless, and this strongly limits user Using state-of-the-art technology and software upgrading, but if design reserves excessive storage space initial stage and causes cost too high again or power consumption It is excessive, limit the application of embedded system.
(5)For that can be identified after ensureing new execution unit Access Control unit and normal work, built in embedded system Real time operating system requirement can support hardware identification, drive journey installation etc. technical protocol, this requires that system possesses higher performance, More complicated operating system, bigger technical difficulty is also brought to design on hardware and software, cause embedded system material and Design cost is higher, is unfavorable for marketing.
(6)To meet the different application demand in scene, in same control unit, it may be necessary to carry different real-time Operating system, to support different execution units, because operating system is built in control unit memory, connecting these needs not During the execution unit of biconditional operation system, it is required for that whole system software is carried out to replace renewal back and forth, this, which significantly limit, is The convenience of system application.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of reliability is higher, program code in the absence of setup error, Network, virus attack and artificial disturbance equivalent risk, the embedded system structure and its method of work of high security;Meanwhile energy Enough solve when control unit needs to connect, control or drive new execution unit, upgrade maintenance hardly possible is voluntarily carried out to equipment Problem;It can solve the problem that due to new execution unit increase and cause the embedded system device work for being built-in with control unit unstable Calmly, the problem of risk is constantly cumulative;It can solve the problem that the insertion due to being built-in with control unit caused by the increasing of execution unit The problem of formula system equipment storage space deficiency;It can solve the problem that because real time operating system is to hardware identification and drive installation etc. Technical protocol, the problem of embedded system performance requirement to being built-in with control unit is higher;It can solve the problem that because connection is different The execution unit for needing to match different operating system, it is necessary to replaced back and forth to whole embedded system software, limitation is embedded in The problem of convenience of system application.
The technical solution adopted by the present invention is as follows:
A kind of embedded system structure, including control unit and execution unit, described control unit are separately positioned with execution unit; Control unit is no longer arranged at for the execution operating system and driver of specific execution unit, and is arranged at execution unit;
Described control unit includes control memory, is stored with a plurality of control instruction, and the control instruction includes being suitable to by handling Device is loaded and performed:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The execution unit includes extended menory, is stored with a plurality of execute instruction, and the execute instruction includes being suitable to by handling Device is loaded and performed:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
The control instruction also includes being suitable to be loaded and performed by processor:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.
The control instruction also includes being suitable to be loaded and performed by processor:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
The inspection content for the execution unit that the needs pre-set are examined includes:Identify the type of the execution unit of access Number;Identify whether the execution operating system version built in the execution unit of access and driver meet that the hardware of control unit will Ask, if it is, carrying out software check to operating system and driver, identify whether as legal software.
The inspection content for the execution unit that the needs pre-set are examined includes:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;
The execute instruction also includes being suitable to be loaded and performed by processor:
Record execution unit state in the course of the work and/or life cycle information.
A kind of embedded system structure method of work, specific works method are:System architecture is for specific execution unit Perform the operation of operating system and the execution unit that operates in of driver is realized, and no longer realized in control unit;Wherein, control Unit specific works method processed is:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The specific works method of execution unit is:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
The control instruction also includes being suitable to be loaded and performed by processor:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.
The specific works method of described control unit also includes:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
The inspection content for the execution unit that the needs pre-set are examined includes:Identify the type of the execution unit of access Number;Identify whether the execution operating system version built in the execution unit of access and driver meet that the hardware of control unit will Ask, if it is, carrying out software check to operating system and driver, identify whether as legal software.
The inspection content for the execution unit that the needs pre-set are examined includes:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;
The specific works method of the execution unit also includes:
Record execution unit state in the course of the work and/or life cycle information.
Compared with prior art, the beneficial effects of the invention are as follows:Because execution unit carries its driver and operation system System, and is no longer arranged in control unit, it is no longer necessary to as in the prior art, according to the demand of control unit in control unit The operating system and driver for execution unit frequently upgraded, so as to:1st, scaling difficulty is eliminated;2nd, eliminate The potential safety hazard of this respect;3rd, the stability and better reliability of system are made;4th, control unit system program will not thus be brought Insufficient space;5th, the design cost of practicality demand is reduced, is advantageous to marketing;6th, it can effectively realize and different perform list Compatibility of the member under a control unit.
Brief description of the drawings
Fig. 1 is the principle schematic of prior art embedded system structure.
Fig. 2 is the embedded system architecture principle schematic diagram of a wherein embodiment of the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
This specification(Including summary and accompanying drawing)Disclosed in any feature, unless specifically stated otherwise, can be equivalent by other Or the alternative features with similar purpose are replaced.I.e., unless specifically stated otherwise, each feature is a series of equivalent or class Like an example in feature.
Specific embodiment 1
A kind of embedded system structure, as shown in Fig. 2 including control unit and execution unit, described control unit is with performing list Member is separately positioned;Control unit is no longer arranged at for the execution operating system and driver of specific execution unit, and is set In execution unit;
Described control unit includes control memory, is stored with a plurality of control instruction, and the control instruction includes being suitable to by handling Device is loaded and performed:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The execution unit includes extended menory, is stored with a plurality of execute instruction, and the execute instruction includes being suitable to by handling Device is loaded and performed:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
Each execution unit, its built-in execution operating system, for whole after execution unit Access Control unit The operating system of embedded system uses, and without using the control operation system built in control unit.Execution unit, which carries, performs behaviour Solve the problems, such as that when control unit accesses different execution units different operating system may be needed as system.
In prior art, the driver of execution unit is to be built in control unit, the execution list of the present invention program Member carries driver, is built in the extended menory of execution unit.When different execution units is respectively connected to same control During unit processed, the driver of execution unit has just accessed whole embedded system, realizes without upgrading control system software, Purpose with regard to different execution units can be supported.
Meanwhile by defining the interface between control unit and execution unit, possess the different execution that same-interface defines Unit can be connected in same control unit, as shown in Figure 2.
Control unit internal processor, bus and expansion interface, control memory and control unit interface etc.;Control storage Guiding system built in device, control operation system.The operation system of the control operation system and prior art control unit shown in Fig. 1 System is different, and the operating system of control unit needs to use when accessing execution unit in the prior art, controls to execution unit Task operating;And control operation system is only used for using when not accessing execution unit in the present invention, it is not connected with holding in control unit During row unit, it can work independently.Control operation system is the embedded system corresponding with control unit, different control lists Member allows have different control operation systems.
Required according to field application, control unit can select built-in power, data storage, human-computer interaction device and lead to Interrogate part or all of with EBI.By signal, data and control bus, processor can access, control and read control The component such as memory, data storage, bus and expansion interface processed, human-computer interaction device, communication and EBI.
In this specific embodiment, execution unit, extended menory and execution unit connect built in the execution unit of this patent Mouthful, extended menory has EBI, and the control unit processor being connected with the execution unit can by this EBI The extended menory of execution unit is accessed with addressing, extended menory preserves execution operating system and the drive of corresponding execution unit Dynamic program.
It is to have embedded system corresponding to execution unit to perform operating system, and different execution units allows have different hold Row operating system.
Control unit interface is corresponding with execution unit interface, can have multiple, can be directly connected to or pass through extension Cable is attached.
Electric in control unit in the case of execution unit is connected, identifying system work is true by bus and expansion interface Recognize access execution unit, confirm that execution unit state is correct, guiding system is connect by bus and expansion interface, control unit standard Mouth, execution unit standard interface and execution unit EBI, the execution operation system of load and execution unit extensions memory built-in System and driver, into the execution mode of operation that operating system setting is performed as corresponding to execution unit, control execution unit Carry out corresponding operating.
When electricity in control unit, the execution unit status error of access is recognized by identifying system, guides system loads Control operation system built in control memory, into control operation default not connected execution unit when control work Pattern.
In the present invention program, because execution unit carries its driver and operating system, and control is no longer arranged at In unit, it is no longer necessary to as in the prior art, according to the demand of control unit to the behaviour for execution unit in control unit Make system and driver is frequently upgraded, so as to:1st, scaling difficulty is eliminated;2nd, the potential safety hazard of this respect is eliminated; 3rd, the stability and better reliability of system are made;4th, control unit system program insufficient space will not thus be brought;5th, reduce The design cost of practicality demand, is advantageous to marketing;6th, it can effectively realize different execution units a control unit Under compatibility.
Specific embodiment 2
On the basis of specific embodiment 1, the control instruction also includes being suitable to be loaded and performed by processor:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.It is electric in control unit in the case where being not connected to execution unit, Identifying system works, and confirms not access execution unit by bus and expansion interface, guides built in system loads control memory Control operation system, into control operation default not connected execution unit when control mode of operation.
Specific embodiment 3
On the basis of specific embodiment 1 or 2, the control instruction also includes being suitable to be loaded and performed by processor:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
Specific embodiment 4
On the basis of specific embodiment 3, the inspection content for the execution unit that the needs pre-set are examined includes:Identification The model of the execution unit of access;Whether the execution operating system version and driver built in the execution unit of identification access are full The hardware requirement of sufficient control unit, if it is, carrying out software check to operating system and driver, identify whether to be legal Software.
Specific embodiment 5
On the basis of specific embodiment 3 or 4, the inspection content for the execution unit that the needs pre-set are examined includes:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;I.e. whether the hardware and software of the execution unit is intact, if being capable of normal work;
The execute instruction also includes being suitable to be loaded and performed by processor:
Record execution unit state in the course of the work and/or life cycle information, for execution unit state and/or therefore The retrospect of barrier.In this specific embodiment, the state that the extended menory of execution unit preserves corresponding execution unit simultaneously is deposited Reservoir.
The presence of identifying system, which solves user, may access asking for mistake, failure execution unit on the control unit Topic, and can also misregistration or failure the reason for, and because user access mistake or failure execution unit cause entirely System crash.
It is that one-to-one physics is corresponding between execution unit because newly-increased status register is built in execution unit The relation mutually bound completely so that once execution unit Access Control unit can is read state, and need not be outer Portion's network or database are supported, improve system adaptability.
Specific embodiment 6
On the basis of one of specific embodiment 1 to 5,
The bus and expansion interface of control unit, control memory, data storage, human-computer interaction device and communication and bus connect Mouth is either partially or completely integrated in inside processor.
Specific embodiment 7
On the basis of one of specific embodiment 1 to 6,
A kind of embedded system structure method of work, specific works method are:System architecture is directed to the execution of specific execution unit The operation of operating system and the execution unit that operates in of driver are realized, and are no longer realized in control unit;Wherein, control is single First specific works method is:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The specific works method of execution unit is:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
Specific embodiment 8
A kind of embedded system structure method of work, specific works method are:System architecture is directed to the execution of specific execution unit The operation of operating system and the execution unit that operates in of driver are realized, and are no longer realized in control unit;Wherein, control is single First specific works method is:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The specific works method of execution unit is:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
Specific embodiment 9
On the basis of one of specific embodiment 7 to 8, the control instruction also includes being suitable to be loaded and performed by processor:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.
Specific embodiment 10
On the basis of one of specific embodiment 7 to 9, the specific works method of described control unit also includes:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
Specific embodiment 11
On the basis of specific embodiment 10, the inspection content for the execution unit that the needs pre-set are examined includes:Know The model for the execution unit not accessed;Whether execution operating system version and driver built in the execution unit of identification access Meet the hardware requirement of control unit, if it is, carrying out software check to operating system and driver, identify whether to close Method software.
Specific embodiment 12
On the basis of one of specific embodiment 10 to 11, the inspection content for the execution unit that the needs pre-set are examined Including:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;
The specific works method of the execution unit also includes:
Record execution unit state in the course of the work and/or life cycle information, for execution unit state and/or therefore The retrospect of barrier.

Claims (10)

1. a kind of embedded system structure, including control unit and execution unit, it is characterised in that:Described control unit is with performing Unit is separately positioned;Control unit is no longer arranged at for the execution operating system and driver of specific execution unit, and is set It is placed in execution unit;
Described control unit includes control memory, is stored with a plurality of control instruction, and the control instruction includes being suitable to by handling Device is loaded and performed:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The execution unit includes extended menory, is stored with a plurality of execute instruction, and the execute instruction includes being suitable to by handling Device is loaded and performed:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
2. embedded system structure according to claim 1, it is characterised in that:The control instruction also include be suitable to by Reason device is loaded and performed:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.
3. embedded system structure according to claim 1, it is characterised in that:The control instruction also include be suitable to by Reason device is loaded and performed:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
4. embedded system structure according to claim 3, it is characterised in that:What the needs pre-set were examined holds The inspection content of row unit includes:Identify the model of the execution unit of access;Identify and perform behaviour built in the execution unit of access Make system version and whether driver meets the hardware requirement of control unit, if it is, to operating system and driver Software check is carried out, is identified whether as legal software.
5. the embedded system structure according to claim 3 or 4, it is characterised in that:It is described pre-set need to examine The inspection content of execution unit include:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;
The execute instruction also includes being suitable to be loaded and performed by processor:
Record execution unit state in the course of the work and/or life cycle information.
6. a kind of embedded system structure method of work, specific works method are:System architecture is held for specific execution unit The operation of row operating system and the execution unit that operates in of driver are realized, and are no longer realized in control unit;Wherein, control Unit specific works method is:
Identify whether there is execution unit access;
When there is execution unit access, notify and guide execution operating system and the driver built in execution unit;And having During tasks carrying demand, tasks carrying is completed;
The specific works method of execution unit is:
The notice and boot order of reception control unit, and when there is tasks carrying demand, the tasks carrying of reception control unit Instruction, tasks carrying is completed by the execution operating system and driver of itself.
7. embedded system structure method of work according to claim 6, the control instruction also includes being suitable to by handling Device is loaded and performed:
When being not carried out unit access, the control operation system of Loading Control memory built-in is guided, into control operation system Control mode of operation during the not connected execution unit of system setting.
8. embedded system structure method of work according to claim 6, the specific works method of described control unit is also Including:
When there is execution unit access, the inspection content for the execution unit that the needs pre-set examine is examined, is upchecked, then Notify and guide execution operating system and the driver built in execution unit;Examine not by the way that then misregistration code, goes forward side by side Row reports, and guides the control operation system built in system loads control memory, into the not connected of control operation default Control mode of operation during execution unit.
9. embedded system structure method of work according to claim 8, the execution that the needs pre-set are examined The inspection content of unit includes:Identify the model of the execution unit of access;Identify and perform operation built in the execution unit of access Whether system version and driver meet the hardware requirement of control unit, if it is, entering to operating system and driver Row software check, identify whether as legal software.
10. embedded system structure method of work according to claim 8 or claim 9, what the needs pre-set were examined The inspection content of execution unit includes:
Identify whether the execution unit working condition of record in the execution unit built-in state memory of access is complete, if be in Effective working condition;
The specific works method of the execution unit also includes:
Record execution unit state in the course of the work and/or life cycle information.
CN201710844011.1A 2017-09-19 2017-09-19 Embedded system and working method thereof Expired - Fee Related CN107621958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710844011.1A CN107621958B (en) 2017-09-19 2017-09-19 Embedded system and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710844011.1A CN107621958B (en) 2017-09-19 2017-09-19 Embedded system and working method thereof

Publications (2)

Publication Number Publication Date
CN107621958A true CN107621958A (en) 2018-01-23
CN107621958B CN107621958B (en) 2020-11-06

Family

ID=61090058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710844011.1A Expired - Fee Related CN107621958B (en) 2017-09-19 2017-09-19 Embedded system and working method thereof

Country Status (1)

Country Link
CN (1) CN107621958B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7197626B2 (en) * 2001-01-26 2007-03-27 Jaffrey Syed Kamal H Plural microcontrollers for managing CPU allocation and device resources including establishing connections without a centralized operating system
US8341319B2 (en) * 2010-10-15 2012-12-25 Hon Hai Precision Industry Co., Ltd. Embedded system and method for controlling electronic devices using the embedded system
CN104427491A (en) * 2013-08-26 2015-03-18 中兴通讯股份有限公司 Method for operating driver-free terminal device, host, and driver-free terminal device
WO2016084049A1 (en) * 2014-11-27 2016-06-02 Haute Ecole D'ingenierie Et De Gestion Du Canton De Vaud (Heig-Vd) Embedded system enabling on-line collaborative migration of software execution environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7197626B2 (en) * 2001-01-26 2007-03-27 Jaffrey Syed Kamal H Plural microcontrollers for managing CPU allocation and device resources including establishing connections without a centralized operating system
US8341319B2 (en) * 2010-10-15 2012-12-25 Hon Hai Precision Industry Co., Ltd. Embedded system and method for controlling electronic devices using the embedded system
CN104427491A (en) * 2013-08-26 2015-03-18 中兴通讯股份有限公司 Method for operating driver-free terminal device, host, and driver-free terminal device
WO2016084049A1 (en) * 2014-11-27 2016-06-02 Haute Ecole D'ingenierie Et De Gestion Du Canton De Vaud (Heig-Vd) Embedded system enabling on-line collaborative migration of software execution environments

Also Published As

Publication number Publication date
CN107621958B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US9122269B2 (en) Method and system for operating a machine from the field of automation engineering
US10715602B2 (en) Adaptive internet-of-things service system using detachable/attachable hardware module
CN102081568B (en) Multi-motherboard server system
EP2833225B1 (en) Systems and methods for batch device commissioning and decommissioning
US20110238188A1 (en) Engineering tool
CN102411539B (en) A kind of outer handset equipment on-line adjustment method and system
CN112276943A (en) Robot teaching control method, teaching control system, computer device, and medium
US20110191573A1 (en) Multi-motherboard server system
CN101938164A (en) Power equipment control method, device and related system thereof
CN111213099B (en) Motion control card, motion control system, robot system and numerical control machine tool
CN103576656A (en) Method, device and system for controlling household appliances
CN102253845B (en) Server system
US9946515B2 (en) Methods and apparatus for designing device-to-device configurations suitable to be used in a power system
CN107621958A (en) A kind of embedded system structure and its method of work
CN104790128A (en) Sewing-device upgrading device
CN104199789A (en) Port self-adaptive configuration method and system, management system and driving system
CN101630370A (en) Method for controlling radio frequency identification system and radio frequency identification system
US20110113177A1 (en) Server and update method thereof
CN115686575A (en) Edge controller firmware updating method, system, storage medium and server
CN104021050A (en) Server
CN104346209A (en) Updating method of substrate management controller
CN110377332B (en) Online reloading method for safe computer platform software program
CN102752151B (en) Measuring and controlling product management method and device based on flexibility testing technology
CN100462948C (en) Computer peripheral device containing contents and method of outputting contents using the same
CN105988398A (en) PC-based industrial robot control system and method for unmanned machine room

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201106

Termination date: 20210919

CF01 Termination of patent right due to non-payment of annual fee