CN105426197A - Hierarchical design method for embedded product - Google Patents

Hierarchical design method for embedded product Download PDF

Info

Publication number
CN105426197A
CN105426197A CN201511022903.0A CN201511022903A CN105426197A CN 105426197 A CN105426197 A CN 105426197A CN 201511022903 A CN201511022903 A CN 201511022903A CN 105426197 A CN105426197 A CN 105426197A
Authority
CN
China
Prior art keywords
execution object
layer
function
divided
task
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
CN201511022903.0A
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.)
Beijing Deeptry Science & Technology Co Ltd
Original Assignee
Beijing Deeptry Science & Technology 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 Beijing Deeptry Science & Technology Co Ltd filed Critical Beijing Deeptry Science & Technology Co Ltd
Priority to CN201511022903.0A priority Critical patent/CN105426197A/en
Publication of CN105426197A publication Critical patent/CN105426197A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a hierarchical design method for an embedded product and relates to the field of development of the embedded product. According to the hierarchical design method, a development task is layered, and the layered task is better applicable to development by technicians in different independent fields, so that the cross-cutting technological development difficulty is reduced.

Description

For the layer-stepping method for designing of embedded product
Technical field
The present invention relates to embedded product development field, in particular to the layer-stepping method for designing for embedded product.
Background technology
Sciemtifec and technical sphere is varied, from the angle of most basic applied science, simply can be divided into machinery, electricity, these three fields of chemistry.Certainly, in these three fields, each field can both be segmented again, and also has overlapping situation between different field.Most of article in daily life all can relate to these three fields simultaneously.As televisor, the material that structural framing belongs to mechanical field, televisor imaging mode belongs to each structure in electricity field, televisor of its televisor belongs to chemical field again.Even if the article itself not relating to electricity field as this in tables and chairs, when its processing and manufacturing, also be unable to do without automatically controlled lathe and process.
As can be seen here, most article can relate to the technology of these three different field simultaneously.Similar, segmentation is carried out to electricity field and can also sort out a lot of classifications, as communication, semiconductor application, data processing etc.Also may need the technology applying this little field in same article, the direction of alternatively transforming technology can from a lot of sub-fields simultaneously.As transformed certain computer, object improves its communication efficiency, so can improve according to the data receiving-transmitting method of communication class, can improve according to the data compression method of data processing class, can also improve according to the communicator physical arrangement of semiconductor application class.No matter improved article by the technology of that classification, the object of final improvement, improving environment can both be played, and, many times use different classes of technology to carry out improvement to same article simultaneously and can also play complementary effect.
In recent years, electronic technology obtained significant progress, and various hardware and software emerges in an endless stream.Further, due to the singularity of electronic technology, cause the update frequency of this respect technology very fast, a lot of technology is not when also extensively being promoted, and the institute be just updated substitutes.As smart mobile phone, different mobile phone producers all can release a large amount of every year, different types of mobile phone, even same mobile phone producer, in 1 year, also at least can release the smart mobile phone of more than two, and the smart mobile phone of redaction always possesses the function of renewal.
Because electronic technology speed of development is very fast, market is caused to want renewal technology (comprising hardware update and software upgrading).Usually, be improve on the basis of original technology to the renewal of technology, but due to current techniques branch comparatively huge, a lot of technician is the technology development capability only possessing this area, and does not possess the technology development capability of other field.In time giving certain technician by an overall task, the art technology that this technician is merely able to grasped by it carries on technical development, and to the work that other field technology must be used to develop, then cannot carry out.Which results in overall task cannot realize.
Summary of the invention
The object of the present invention is to provide the layer-stepping method for designing for embedded product, realize difficulty with what reduce overall task.
First aspect, embodiments provides the layer-stepping method for designing for embedded product, comprising:
Receiving target task;
According to the function that goal task will realize, divided by the multiple execution objects in described goal task according to following layered mode, each described execution object comprises same class functional objective:
By in multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer;
By in multiple execution object, be realize target with control hardware product function, need the execution object using program means to carry out practical function to be divided to hardware abstraction layer;
By in multiple execution object, physical port to be conducted interviews and the execution object that controls is divided to hardware driving layer.
In conjunction with first aspect, embodiments provide the first possible embodiment of first aspect, wherein, also comprise:
Be respectively the task that the execution object in application layer, the execution object in hardware abstraction layer are different with the execution Object Creation in hardware driving layer;
Perform each task respectively, and the implementation of each task is monitored.
In conjunction with first aspect, embodiments provide the embodiment that the second of first aspect is possible, wherein, goal task is the programming task that wireless remote transmission is checked meter.
In conjunction with first aspect, embodiments provide the third possible embodiment of first aspect, wherein, by multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer and comprises:
By in multiple execution object, realize radio communication instruction processing function, information display function, function of measuring, low-voltage warning function, power-off close valve and preserve data function design perform object be divided to application layer.
In conjunction with first aspect, embodiments provide the 4th kind of possible embodiment of first aspect, wherein, by multiple execution object, be realize target with control hardware product function, need the execution object using program means to carry out practical function to be divided to hardware abstraction layer and comprise:
By in multiple execution object, be divided to hardware abstraction layer to realize the execution object that following kind function is target:
Display class, timer class, serial communication class, key input class.
In conjunction with first aspect, embodiments provide the 5th kind of possible embodiment of first aspect, wherein, by multiple execution object, physical port to be conducted interviews and the execution object that controls is divided to hardware driving layer and comprises:
By in multiple execution object, MCU port to be conducted interviews and the execution object that controls is divided to hardware driving layer.
In conjunction with first aspect, embodiments provide the 6th kind of possible embodiment of first aspect, wherein, the function that will realize according to goal task, is divided into multiple execution object and comprises by goal task:
Obtain the objective function that goal task will realize;
According to the implementation procedure of objective function, objective function is divided into multiple subfunction, multiple subfunction performs successively, with realize target function;
According to the classification of each subfunction, multiple subfunctions identical for function are divided in same execution object.
In conjunction with first aspect, embodiments provide the 7th kind of possible embodiment of first aspect, wherein, perform each task respectively and comprise:
Task in application layer is only performed by the mode of software programming.
In conjunction with first aspect, embodiments provide the 8th kind of possible embodiment of first aspect, wherein, perform each task respectively and also comprise:
Obtain the parameter attribute of new hardware environment;
Adopt the mode of replacing, by the execution script of having programmed, the parameter attribute of old hardware environment replaces with the parameter attribute of new hardware environment.
In conjunction with first aspect, embodiments provide the 9th kind of possible embodiment of first aspect, wherein, MCU port is SPI interface.
The layer-stepping method for designing for embedded product that the embodiment of the present invention provides, adopt the mode that goal task is divided, with of the prior art when carrying out goal task exploitation, goal task entirety is given a developer to develop, because developer does not understand the technology of every field, exploitation is caused effectively to compare, it is by being first divided into multiple execution object by goal task, and the technology that different execution objects relies on according to its practical function is divided, and then define the execution object being divided to application layer, be divided to the execution object of hardware abstraction layer and be divided to the execution object of hardware driving layer.The technician making the execution object in these three layers can give different field respectively develops, because the technical field of the execution object after division relatively determines, therefore when realizing the execution object in certain one deck, the personnel that can give a technical field of specifying process, also other technical field is no longer related in the process of process, ensure that developer can only use the knowledge of this area to develop, make the process of exploitation more easy, improve the efficiency of exploitation.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows the basic flow sheet of the layer-stepping method for designing for embedded product that the embodiment of the present invention provides.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
When carrying out system development, always relating to the problem of various different field, or needing to use the technological means of various different field to develop.Especially when designed by some systems to field span become large time, same technician is then difficult to develop these technical fields simultaneously.Further, because the span of technical field is comparatively large, IT system development effortsIT is made to be difficult to carry out.
Concrete as embedded system, embedded system is different from pure software systems or hardware system, but software restraint combines, and some function both can use software simulating, also can pass through hardware implementing.In addition, Embedded System Design institute facing challenges not only relates to computer software and hardware, also can relate to the problem in many non-computer engineerings, such as mechanical dimension's problem, power problems and manufacturing cost problem etc.Even the problem of computer engineering aspect, most of system also has special requirement in the problems such as real-time, reliability and multi tate.Due to the restriction of technical field, the technician of some technician or some groups is difficult to improve embedded system from these many aspects simultaneously.
At present, the hardware approach realizing embedded system mainly contains: customized logic (ASIC), field programmable gate array (FPGA) and embedded microprocessor three kinds.In real system is implemented, most system adopts embedded microprocessor mode, as single-chip microcomputer, single card microcomputer or embedded microprocessor chip etc.This is because realizing embedded system with microprocessor is a kind of highly effective method, it makes the product line designing different qualities in different price become possibility, and can expand new features to meet the market demand of develop rapidly change.And how to improve software reliability and development efficiency, be the subject matter that embedded software developing personnel face.
In view of this, this application provides the layer-stepping method for designing for embedded product, as shown in Figure 1, comprise the steps:
S101, receiving target task;
S102, the multiple execution objects in described goal task are divided according to following layered mode by the function that will realize according to goal task, and each described execution object comprises same class functional objective:
S103, by multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer;
S104, by multiple execution object, is realize target with control hardware product function, needs the execution object using program means to carry out practical function to be divided to hardware abstraction layer;
S105, by multiple execution object, to conduct interviews to physical port and the execution object that controls is divided to hardware driving layer.
Wherein, step S103-step S105 does not have concrete execution sequence to require, can be perform according to the order of step S103, S104, S105, also can be perform according to the order of step S104, S105, S103, the execution sequence of step S103-step S105 can not affect the implementation effect of the layer-stepping method for designing for embedded product that the application provides.
It should be noted that, in step S101, goal task refers to the effect that some product/systems are finally wanted to reach, or the final desired function realized.Here function can be diversified, as sent information by internet, shown image by display screen, receive keyboard the key command assigned etc.The function that expectation in goal task realizes is more, but these functions can be integrated according to the mode sorted out, as thought same class by display screen display image and display animation; By the running of motor, object A is transported to B ground, with the running by motor, object C being transported to B ground can think same class; Discontinuity make alarm send twice warning and discontinuity make alarm send three warnings can to think same class.Here goal task can be that user proposes according to the current demand of self, also can be the unit of tasks carrying, after the demand receiving multiple user, by what draw after same for the demand of these users integration.The function of the specific implementation in goal task can, for same product, also can be for different products (different products then should meet intimate requirement).
In step S102, can be interpreted as the difference of goal task according to wherein comprised function, function multiple in goal task be carried out concrete classification (that is, including same class functional objective in same execution object).Common as radio communication function, information display function, function of measuring, low-voltage warning function etc.The result of classification gained is by the concrete classification performed in units of object, and each performs in object and includes same class functional objective (i.e. the function of same type, namely user expects the function of realization).
Afterwards, step S103-S105 then needs to carry out concrete division to these functions.The object divided is according to the mode from " soft to hard ", according to realizing the technical conditions that in each execution object, function uses, execution object is carried out layering.
Similar with seven layers, network, the final purpose of layering is the execution object (various function) that will ensure in certain one deck, be only use the technology of certain specific field to complete.If all functions in application layer only just can be reached with exploitation by the programming of software.As the description in above, to the improvement of certain technology, or complete certain product (completing the product with certain specific function), need to be completed by different means, but for certain product, or certain concrete development environment (current conditions of development), the means that can use are very limited.Under reducing computer running status, the temperature of CPU, the direction that can improve has, improve the core algorithm of CPU, the radiator structure of adjustment CPU, the material changing CPU radiating fin etc., these three kinds of improvement directions, often kind of all right further refinement, but consider current actual conditions, computer development team is difficult to use the improvement in material to realize (the reducing the temperature of CPU) of object.The improvement of radiator structure is also very difficult, and therefore, the mode be merely able to by improving core algorithm achieves.More specifically, if time the mode improving core algorithm also can be subdivided into a variety of concrete mode, corresponding reasonable approach can be selected according to current actual conditions equally.
Therefore, as the exploitation of embedded product, the approach of concrete exploitation only has both direction, namely software development and hardware development usually, or the exploitation of soft or hard convolution.Consider the difference of the technical field that developer grasps, by the concrete layered mode of step S103-step S105, execution object should be divided.
In step S103, be divided to execution in application layer to as if only use software to carry out designing and just can realize, in embedded product, usually there is the transmission of information, the display of information, the transmission etc. of information need the action that controls non-physical data, information.This kind of action is generally merely able to use software to realize, and, the realization of this kind of action does not need to rely on hardware, when concrete operations, technician can first use computer to be made by the software program corresponding to action (function), afterwards, by the burning program made to single-chip microcomputer, or other have in the equipment of calculation function.Also the exploitation performing object can just be completed in application layer.
In step S104, being divided to the execution object in hardware abstraction layer, is when technician understands hardware classes general characteristic on a small quantity, i.e. achievable development task.With the execution object in application layer unlike, the execution in hardware abstraction layer to as if need to understand that certain ardware feature can complete.As, define the maximum transmission length of certain transmitting element, namely define certain communication protocol, the definition of this communication protocol, can complete when being and needing the current physical characteristics of first concise and to the point this transmitting element of understanding.But definition communication protocol remains to belong to and mainly relies on software programming to realize, and just needs simply to combine with transmitting element when programming.
In step S105, be divided to the execution object in hardware driving layer, with the execution object in front two-layer (application layer and hardware abstraction layer) unlike, the working control target of execution object is wherein certain concrete structure, hardware, and be no longer the data not having entity, or information.For embedded product/system, the function that the execution object in hardware driving layer will reach is (as SPI interface) relevant to some physical arrangement.The technician of the execution object in exploitation hardware driving layer needs the detailed characteristics being familiar with MCU and peripheral hardware, requires higher to the versatility degree of designer.But corresponding, processing hardware drives the technician of the execution object in layer not require the dark technology degree of depth, and this makes when carrying out actual development, and the angle that technician can combine from hardware and software carrys out the exploitation of completing technology.
Afterwards, only need to give corresponding technician by the execution object in every one deck to develop.Namely first be respectively the task that the execution object in application layer, the execution object in hardware abstraction layer are different with driving the execution Object Creation in layer, and then generate application layer task, hardware abstraction layer task and drive layer task;
Afterwards, these three tasks are sent to corresponding technician respectively, specifically performs these tasks to enable technician; Wherein, when task is sent to technician, need the difference according to layer, application layer task is sent to pure software staff, hardware abstraction layer task is sent to and understands software completely, the staff of a small amount of understanding hardware, drives layer task to send to the staff to a certain degree understanding software and to a certain degree understand hardware by part.
Further, after different staff starts to execute the task, the progress of each technician can also be monitored by the mode monitored, and according to the situation that progress completes, determine whether by this technician the task subdivision be responsible for be multiple subtask, and give different technician respectively by this multiple subtask.It should be noted that, the remaining of subtask realizes certain function, or to solve certain problem be unit.
By adopting the above-mentioned mode divided goal task, and then goal task is decomposed into three layers, make the technician of different field can specially for oneself the task in field be familiar with solve, the task of ensure that can be processed by technical professional, can not occur due to cross-cutting, and cause the problem that technician cannot process, namely improve development efficiency and the accuracy rate of embedded product.
Concrete, the layer-stepping method for designing for embedded product that the application can be provided is applied to wireless remote transmission reading technique field.Below, elder generation is simple is introduced wireless remote transmission reading technique field.Wireless remote transmission is checked meter and is referred to the mode of use wireless data transceiving, obtains in subscriber household, the technology of water meter, ammeter reading.This technology is avoided, and staff needs to visit the problem of checking meter.
Step S103-step S105 specifically can implement according to following mode.
Concrete, step S103, by multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer and comprises:
By in multiple execution object, realize radio communication instruction processing function, information display function, function of measuring, low-voltage warning function, power-off close valve and preserve data function design perform object be divided to application layer.
Concrete, step S104, by multiple execution object, is realize target with control hardware product function, needs the execution object using program means to carry out practical function to be divided to hardware abstraction layer and comprises:
By in multiple execution object, be divided to hardware abstraction layer to realize the execution object that following kind function is target:
Display class, timer class, serial communication class, key input class.
Concrete, step S105, by multiple execution object, to conduct interviews to physical port and the execution object that controls is divided to hardware driving layer and comprises:
By in multiple execution object, MCU port to be conducted interviews and the execution object that controls is divided to hardware driving layer.Wherein, MCU port is SPI interface.
Wherein, step, the function that will realize according to goal task, is divided into multiple execution object and comprises following sub-step by goal task:
11, obtain the objective function that goal task will realize;
12, according to the implementation procedure of objective function, objective function is divided into multiple subfunction, multiple subfunction performs successively, with realize target function;
13, according to the classification of each subfunction, multiple subfunctions identical for function are divided in same execution object.
Wherein, the step performing each task respectively comprises:
Task in application layer is only performed by the mode of software programming.
The step performing each task respectively also comprises:
Obtain the parameter attribute of new hardware environment;
Adopt the mode of replacing, by the execution script of having programmed, the parameter attribute of old hardware environment replaces with the parameter attribute of new hardware environment.
It should be noted that, different layers is be mutually related between technology, e.g., certain data communications task can be decomposed into two tasks, respectively: 1, and the generation of data; 2, the transmission of data.If so these two task matching are in different layers, then can directly it is envisioned that, these two tasks have causal, so after task 1 (generations of data) completes, just the data of generation can be given task 2 (transmissions of data) and use.Namely, have causalnexus in these two steps, or message exchange, when testing, these two tasks can be associated, but due to causalnexus not absolute between these two tasks, the degree of coupling is relatively low, make these two tasks more convenient when carrying out debugging, testing.
The method that the application provides, by different classes of technology is carried out classify (mainly classifying to software task and hardware task), make the staff being only proficient in software, the function personnel simultaneously understanding software and hardware can both develop targetedly, reduce the degree of coupling between different task, also just reduce the development difficulty of overall technology.
, carry out description of step S102 with a concrete example below, about the process of task division and establishment.In fact, from operating level, step S102 has been come by task scheduling layer, its effect needs creation task object according to application layer, comprise radio communication, information display function, function of measuring, low-voltage warning function, and the message received from task object, at any time message is processed, to perform the concrete function required for application layer.The example 1 of step S102 is as follows:
As can be seen from example 1, task scheduling layer is defined as object all application functions, exchanges information by Message Transmission and application layer, has fully demonstrated the Message Transmission thought of Object-oriented Programming Design.
Step S103, is namely divided into the example of the step of application layer as example 2.Specifically, application layer mainly realizes and user interface, application function that external interface is relevant.Check meter in the program editing work in field at wireless remote transmission, application layer mainly realizes radio communication instruction processing function, valve preserve the concrete functions such as data is closed in information display function, function of measuring, low-voltage warning function, power-off, these functions are that user sees, be that statement of requirements book explicitly calls for, also have nothing to do with hardware design.The Software for Design of this level shields ardware feature completely, can be completed by the common software developer not understanding hardware completely.Here is the example 2 sending meter reading data:
Step S104, is namely divided into the example of the step of hardware abstraction layer as example 3.Specifically, hardware abstraction layer: to classify to hardware, abstract, generates hardware abstraction class, and as display class, timer class, serial communication class, key input class etc., highly versatile, is convenient to multiplexing.Software for Design and the MCU model of this level have nothing to do, but designer need be familiar with the general characteristic of hardware classes.Still for the technology in radio meter register field, use-case 3 is described:
#defineWIRELESS_TxPacket (source, length) SX127X_LoRaTxPacket (source, the length) // driving function name of specific wireless communication unit is become general purpose function name by macro definition;
The program circuit of example 3 is: wake on wireless communication unit-> arranges sending mode-> and sends data-> according to maximum length subpackage and be sent and arrange receiving mode.This flow process is the general work flow process of wireless communication unit, with specifically use what wireless communication unit (wireless chip or wireless module) relation little, therefore hardware have been carried out classification extensive for hardware abstraction layer, the thought of fully demonstrated the abstract extensive of Object-oriented Programming Design and encapsulation, reusing.As can be seen from above example, hardware abstraction layer serves the effect of forming a connecting link, and it shields design parameter, the specification of hardware, when ardware feature changes, such as changed the wireless communication unit that different manufacturers is produced, only need revise macro definition points to different driving functions.
Step S105, is namely divided into the example of the step of hardware driving layer as example 4.Specifically, hardware driving layer: the access function building different hardware, relate to the direct access to MCU port, directly control, designer need be familiar with the detailed characteristics of MCU and peripheral hardware, requires higher to designer.If the Physical layer of radio communication is for being generally SPI interface.Be described for the example 4 of the driving function sending data in radio meter register field:
As can be seen from code, driving function relates to the controling parameters of communication disruption and wireless communication unit, with selected wireless chip or wireless module closely bound up.
It should be noted that, the layer-stepping method for designing for embedded product that the application provides, the scheme that the product/system mainly combined for soft or hard proposes.Be particularly useful for technological development and the improvement in wireless remote transmission reading technique field.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (10)

1., for the layer-stepping method for designing of embedded product, it is characterized in that, comprising:
Receiving target task;
According to the function that goal task will realize, divided by the multiple execution objects in described goal task according to following layered mode, each described execution object comprises same class functional objective:
By in described multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer;
By in described multiple execution object, be realize target with control hardware product function, need the execution object using program means to carry out practical function to be divided to hardware abstraction layer;
By in described multiple execution object, physical port to be conducted interviews and the execution object that controls is divided to hardware driving layer.
2. the layer-stepping method for designing for embedded product according to claim 1, is characterized in that, also comprise:
Be respectively the task that the execution object in application layer, the execution object in hardware abstraction layer are different with the execution Object Creation in hardware driving layer;
Perform each task respectively, and the implementation of each task is monitored.
3. the layer-stepping method for designing for embedded product according to claim 1, is characterized in that, described goal task is the programming task that wireless remote transmission is checked meter.
4. the layer-stepping method for designing for embedded product according to claim 3, it is characterized in that, described by described multiple execution object, realize external interface, externally information display or external information transfer capability, the execution object only carrying out designing for software is divided to application layer and comprises:
By in described multiple execution object, realize radio communication instruction processing function, information display function, function of measuring, low-voltage warning function, power-off close valve and preserve data function design perform object be divided to application layer.
5. the layer-stepping method for designing for embedded product according to claim 3, it is characterized in that, described is realize target by described multiple execution object with control hardware product function, needs the execution object using program means to carry out practical function to be divided to hardware abstraction layer and comprises:
By in described multiple execution object, be divided to hardware abstraction layer to realize the execution object that following kind function is target:
Display class, timer class, serial communication class, key input class.
6. the layer-stepping method for designing for embedded product according to claim 3, is characterized in that, described by described multiple execution object, conducts interviews and the execution object that controls is divided to hardware driving layer and comprises to physical port:
By in described multiple execution object, MCU port to be conducted interviews and the execution object that controls is divided to hardware driving layer.
7. the layer-stepping method for designing for embedded product according to claim 1, is characterized in that, the described function that will realize according to goal task, described goal task is divided into multiple execution object and comprises:
Obtain the objective function that described goal task will realize;
According to the implementation procedure of described objective function, described objective function is divided into multiple subfunction, described multiple subfunction performs successively, to realize described objective function;
According to the classification of each subfunction, multiple described subfunction identical for function is divided in same execution object.
8. the layer-stepping method for designing for embedded product according to claim 2, is characterized in that, describedly performs each task respectively and comprises:
Task in described application layer is only performed by the mode of software programming.
9. the layer-stepping method for designing for embedded product according to claim 8, is characterized in that, describedly performs each task respectively and also comprises:
Obtain the parameter attribute of new hardware environment;
Adopt the mode of replacing, by the execution script of having programmed, the parameter attribute of old hardware environment replaces with the parameter attribute of described new hardware environment.
10. the layer-stepping method for designing for embedded product according to claim 6, is characterized in that, described MCU port is SPI interface.
CN201511022903.0A 2015-12-30 2015-12-30 Hierarchical design method for embedded product Pending CN105426197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511022903.0A CN105426197A (en) 2015-12-30 2015-12-30 Hierarchical design method for embedded product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511022903.0A CN105426197A (en) 2015-12-30 2015-12-30 Hierarchical design method for embedded product

Publications (1)

Publication Number Publication Date
CN105426197A true CN105426197A (en) 2016-03-23

Family

ID=55504427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511022903.0A Pending CN105426197A (en) 2015-12-30 2015-12-30 Hierarchical design method for embedded product

Country Status (1)

Country Link
CN (1) CN105426197A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247594A (en) * 2017-06-12 2017-10-13 武汉斗鱼网络科技有限公司 Flogic system and its implementation, computing device and computer-readable recording medium
CN108920139A (en) * 2018-06-29 2018-11-30 北京金山数字娱乐科技有限公司 A kind of program creating method, device, system, electronic equipment and storage medium
CN109032601A (en) * 2018-08-20 2018-12-18 北京知本源信息技术有限公司 Design drawing cooperates cut map device and method online
CN109165011A (en) * 2018-08-30 2019-01-08 深圳大势智能科技有限公司 Method, system, equipment and storage medium based on scm software hierarchical design

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200913A (en) * 2011-06-20 2011-09-28 奇瑞汽车股份有限公司 Layered design method of model-based automatic transmission software development platform
CN103442172A (en) * 2013-08-15 2013-12-11 Tcl集团股份有限公司 Camera image quality adjusting method, system and mobile terminal based on android platform
CN103855749A (en) * 2012-12-07 2014-06-11 中兴通讯股份有限公司 Method and system for powering embedded device with multiple batteries
CN103944259A (en) * 2014-02-24 2014-07-23 北京科东电力控制系统有限责任公司 Control system used for power distribution terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200913A (en) * 2011-06-20 2011-09-28 奇瑞汽车股份有限公司 Layered design method of model-based automatic transmission software development platform
CN103855749A (en) * 2012-12-07 2014-06-11 中兴通讯股份有限公司 Method and system for powering embedded device with multiple batteries
CN103442172A (en) * 2013-08-15 2013-12-11 Tcl集团股份有限公司 Camera image quality adjusting method, system and mobile terminal based on android platform
CN103944259A (en) * 2014-02-24 2014-07-23 北京科东电力控制系统有限责任公司 Control system used for power distribution terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247594A (en) * 2017-06-12 2017-10-13 武汉斗鱼网络科技有限公司 Flogic system and its implementation, computing device and computer-readable recording medium
CN108920139A (en) * 2018-06-29 2018-11-30 北京金山数字娱乐科技有限公司 A kind of program creating method, device, system, electronic equipment and storage medium
CN109032601A (en) * 2018-08-20 2018-12-18 北京知本源信息技术有限公司 Design drawing cooperates cut map device and method online
CN109165011A (en) * 2018-08-30 2019-01-08 深圳大势智能科技有限公司 Method, system, equipment and storage medium based on scm software hierarchical design

Similar Documents

Publication Publication Date Title
Wolf High-performance embedded computing: architectures, applications, and methodologies
CN105426197A (en) Hierarchical design method for embedded product
US8255869B2 (en) Industry template customization and transclusion for use in industrial automation and information solutions
CN107678946B (en) Model-based airborne embedded software test environment construction method
US20190332071A1 (en) Process optimization by grouping mixed integer nonlinear programming constraints
CN109445323B (en) WEB-based distributed intelligent measurement and control software platform design method
CN108540568A (en) Computing capability sharing method and smart machine
CN106095376A (en) A kind of implementation method of quick configuration monitoring picture
CN109992480A (en) A kind of log rank amending method, system and electronic equipment and storage medium
CN103442172A (en) Camera image quality adjusting method, system and mobile terminal based on android platform
CN110119282A (en) A kind of internet-of-things terminal and system based on general-purpose built-in type computer
CN103207783A (en) Software development engine system based on browser/server mode and building method thereof
CN109753281B (en) Micro-grid energy management strategy visualization development tool based on graphical programming
CN106325242A (en) MES system based on modularized control units
Tomura et al. Developing simulation models of open distributed control system by using object-oriented structural and behavioral patterns
Shen et al. Fuzzy optimization models for quality and cost of software systems based on COTS
Michahelles et al. Toward a web of systems
Jozwiak et al. Multi-objective optimal controller synthesis for heterogeneous embedded systems
Gianni Bringing discrete event simulation concepts into multi-agent systems
Helms et al. Object-oriented concepts for computational design synthesis
Siegmund et al. Interoperability of non-functional requirements in complex systems
CN205721934U (en) A kind of furniture enterprise quality control platform
Dhananjayan et al. A metric temporal logic specification interface for real-time discrete-event control
CN108536455A (en) Chip controls method and terminal device
Chen et al. A cooperative software-hardware approach for wireless body area network implementation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160323

RJ01 Rejection of invention patent application after publication