CN107273149A - Operating method, device and the machinable medium of Embedded Application - Google Patents
Operating method, device and the machinable medium of Embedded Application Download PDFInfo
- Publication number
- CN107273149A CN107273149A CN201710316516.0A CN201710316516A CN107273149A CN 107273149 A CN107273149 A CN 107273149A CN 201710316516 A CN201710316516 A CN 201710316516A CN 107273149 A CN107273149 A CN 107273149A
- Authority
- CN
- China
- Prior art keywords
- parameter
- embedded application
- parameter file
- reserved
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present invention provides operating method, device and the machinable medium of Embedded Application, belongs to field of household appliances.Methods described includes:Reserved storage space in memory, the memory space reserved is used to store the Parameter File for including parameter;After Embedded Application starts, the Parameter File is read from reserved memory space, wherein, the Embedded Application is run after the Parameter File is stored on reserved memory space;Read Parameter File is parsed to obtain parameter used in Embedded Application;Parsed parameter is used in Embedded Application operating process.The present invention can be by the code dehind of parameter and Embedded Application, when needing modification parameter, only need the Parameter File of modification storing headspace again, code file need not be changed, and then reduce the work load of developer, development cost and time are reduced, and reduces risk of error.
Description
Technical field
The present invention relates to field of household appliances, more particularly to the operating method of Embedded Application, device and machine readable storage
Medium.
Background technology
With the development of household electrical appliances intellectual technology, there is embedded system in some household electrical appliances, wherein embedded answer can be run
With.Embedded Application operationally needs to use the Embedded Application in some parameters, such as intelligent washing machine to need to use and washed
The parameters such as clothing machine water level, dewatering speed.
Required parameter is directly written in the code file of Embedded Application in correlation technique.When needing modification parameter,
The code file of Embedded Application is modified by developer, afterwards by the code file weight of amended Embedded Application
Newly compiled is simultaneously stored in intelligent appliance again.
Present inventor has found that the such scheme of correlation technique has the disadvantage that during the present invention is realized:
Developer's work load is big, causes development cost and time to increase;And every time modification parameter to be required for modification to lay equal stress on newly organized
Code file is translated, causes risk of error to increase.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of operating method of Embedded Application, device and machine readable storage and is situated between
Matter, to solve above-mentioned technical problem or solve above-mentioned technical problem at least in part.
To achieve these goals, the embodiment of the present invention provides a kind of operating method of Embedded Application, methods described bag
Include:Reserved storage space in memory, the memory space reserved is used to store the Parameter File for including parameter;When embedded
After startup, the Parameter File is read from reserved memory space, wherein, the Embedded Application is in the parameter
File is stored on operation after reserved memory space;Read Parameter File is parsed to obtain Embedded Application institute
Use parameter;Parsed parameter is used in Embedded Application operating process.
Optionally, the reserved storage space in memory includes:Reserve storage in memory by preset address empty
Between.
Optionally, the Parameter File stores empty to reserved storage by Embedded Application developing instrument by preset address
Between;It is described the Parameter File is read from reserved memory space to include:Deposited according to the preset address from reserved
Storage reads the Parameter File in space.
Optionally, the Parameter File has preset format;The read Parameter File of the parsing is embedded to obtain
Include using parameter used:Join according to used in the preset format parses Embedded Application from the Parameter File read
Number.
The invention also discloses a kind of operation device of Embedded Application, described device includes:Reserved module, for depositing
Reserved storage space in reservoir, the memory space reserved is used to store the Parameter File for including parameter;Read module, for working as
After Embedded Application starts, the Parameter File is read from reserved memory space, wherein, the Embedded Application is in institute
State Parameter File and be stored on operation after reserved memory space;Parsing module, the parameter text read for parsing
Part obtains parameter used in Embedded Application;Operation module, for using what is parsed in Embedded Application operating process
Parameter.
Optionally, the reserved module is used to press preset address reserved storage space in memory.
Optionally, the Parameter File stores empty to reserved storage by Embedded Application developing instrument by preset address
Between;The read module is used to read the Parameter File from reserved memory space according to the preset address.
Optionally, the Parameter File has preset format;The parsing module is used for according to the preset format from institute
Parameter used in Embedded Application is parsed in the Parameter File of reading.
On the other hand, the present invention provides the finger that is stored with a kind of machinable medium, the machinable medium
Order, the instruction is used for the method for the operation for the Embedded Application that machine is performed described in the application any of the above-described.
By above-mentioned technical proposal reserved storage space in memory, the memory space reserved is used to store comprising ginseng
Several Parameter Files, when Embedded Application is run, reads the Parameter File, parsing is read from reserved memory space
The Parameter File taken obtains parameter used in Embedded Application, uses parsed ginseng in Embedded Application running
Number;In this way, by the code dehind of parameter and Embedded Application, when needing modification parameter, it is only necessary to by the Parameter File weight of modification
Newly store to headspace, without changing code file, and then reduce the work load of developer, reduce exploitation
Cost and time, and reduce risk of error.
The further feature and advantage of the embodiment of the present invention will be described in detail in subsequent embodiment part.
Brief description of the drawings
Accompanying drawing is that the embodiment of the present invention is further understood for providing, and constitutes a part for specification, with
The embodiment in face is used to explain the embodiment of the present invention together, but does not constitute the limitation to the embodiment of the present invention.Attached
In figure:
Fig. 1 is the flow chart of the operating method for the Embedded Application implemented according to the present invention;
Fig. 2 is the schematic diagram of the scene of the operating method for the use Embedded Application implemented according to the present invention;
Fig. 3 is the flow chart of the operating method for the Embedded Application implemented according to the present invention;
Fig. 4 is the structure chart of the operation device for the Embedded Application implemented according to the present invention.
Embodiment
The embodiment of the embodiment of the present invention is described in detail below in conjunction with accompanying drawing.It should be appreciated that this
The embodiment of place description is merely to illustrate and explain the present invention embodiment, is not intended to limit the invention embodiment.
Fig. 1 is the flow chart of the operating method for the Embedded Application implemented according to the present invention, and this method can be used for various families
In electric equipment, especially this method can be performed by the microprocessor of home appliance, for example, instructed by performing in storage medium
Mode perform this method.As shown in figure 1, this method may include following steps.
In step s 110, reserved storage space in memory.
Wherein, the memory space reserved is used to store the Parameter File for including parameter.
For example, reserved storage size can be pre-configured with, embedded to answer when Embedded Application is mounted
With can be Parameter File reserved storage space in memory.
In the step s 120, after Embedded Application starts, Parameter File is read from reserved memory space.
Wherein, Embedded Application is run after Parameter File is stored on reserved memory space.
For example, in the time after Embedded Application installation and before startup, Embedded Application can be used to develop work
Have and store Parameter File to reserved memory space, can also be after being modified to Parameter File, by amended parameter
File is stored in headspace again, and covers the original parameter file in memory space.For example, Embedded Application develops work
Tool regenerates Parameter File after parameter is changed, by the storage chip of the newly-generated burned home appliance of Parameter File, with
This covers original Parameter File in storage chip.
Stored in Parameter File to after reserved memory space, Embedded Application can be started.After Embedded Application starts,
Parameter File is read from reserved storage space.
In step s 130, read Parameter File is parsed to obtain parameter used in Embedded Application.
For example, Embedded Application can be parsed by preset rules to Parameter File, obtain the assignment of parameters.
For example, for Embedded Application in washing machine, Parameter File includes the tax of the parameter such as water level of washing machine and dewatering speed
Value.Embedded Application parses the assignment of the parameters such as water level of washing machine and dewatering speed from Parameter File, by what is parsed
Parameter assignment is stored into caching.
In step S140, parsed parameter is used in Embedded Application operating process.
For example, Embedded Application starts to perform each operational order in code file after parameter is parsed.When
When being related to parameter in implementation procedure, the assignment of involved parameter is searched, then the assignment according to the parameter performs operation and referred to
Make realizing operation.For example, when carrying out dewatering operation of washing machine, it is necessary to using dewatering speed parameter, then be read out from caching
The assignment of dewatering speed, dehydrating operations are completed using the dewatering speed value.
By using above-mentioned embodiment, by the code dehind of parameter and Embedded Application, when needing modification parameter, only
The Parameter File of modification need to be stored headspace again, without changing code file, and then reduce developer
Work load, reduce development cost and time, and reduce risk of error.
In one embodiment, reserved storage space may include in memory:Retained in advance in memory by preset address
Store up space.
Further, Parameter File stores empty to reserved storage by Embedded Application developing instrument by preset address
Between.
Parameter File is read from reserved memory space may include:According to preset address from reserved memory space
Middle reading Parameter File.
In the present embodiment, storage address can be pre-set, formula application is then inserted into and is mounted, to the default storage address
Reserved.When Embedded Application developing instrument stores Parameter File, directly Parameter File is stored by the preset address.It is embedded
Formula application operationally, directly by reading Parameter File in preset address.In this way, in the storage to Parameter File and reading process
In all by preset address carry out, add the convenience of operation, improve operating efficiency.
In one embodiment, Parameter File can have preset format.The read Parameter File of parsing is embedded to obtain
It may include using parameter used:Parameter used in from the Parameter File read parsing Embedded Application according to preset format.
In the present embodiment, Embedded Application developing instrument meets the parameter text of preset format using the parameter generation of configuration
Part.Then, Parameter File is stored in headspace.Embedded Application reads Parameter File from headspace, according to default
Format analysis Parameter File and then acquisition parameters.Afterwards, Embedded Application is entered using the parameter of acquisition in operation
Row operation.In this way, the generation and parsing of Parameter File are all carried out by preset format, the convenience of Parameter File parsing is added,
Improve operating efficiency.
Fig. 2 is the schematic diagram of the scene of the operating method for the use Embedded Application implemented according to the present invention.In this implementation
In example, the computer for being provided with Embedded Application developing instrument is connected with household electrical appliance by connecting line.Embedded Application is opened
Hair instrument includes the Parameter File of parameter by preset format generation.As shown in figure 3, method may include following step in the present embodiment
Suddenly.
In step s 302, Embedded Application presses preset address reserved storage space in memory.In Embedded Application
Before startup, Parameter File storage is arrived headspace by Embedded Application developing instrument.In step s 304, when Embedded Application is opened
After dynamic, Embedded Application reads Parameter File according to preset address from reserved memory space.It is embedded in step S306
Formula apply Embedded Application from the Parameter File read is parsed according to preset format used in parameter.In step S308,
Embedded Application uses parsed parameter in operation.
Above-described embodiment be only used for it is illustrative to method in the present invention, be not used in limitation the present invention protection model
Enclose.
Fig. 4 is the structure chart of the operation device for the Embedded Application implemented according to the present invention.The device can be used for various families
In electric equipment, especially the device can be performed by the microprocessor of home appliance and instruct to realize in storage medium.Such as Fig. 1 institutes
Show, the device may include following module.
Reserved module 410, for reserved storage space in memory, the memory space reserved is used to store comprising ginseng
Several Parameter Files;
Read module 420, for after Embedded Application starts, Parameter File to be read from reserved memory space,
Wherein, Embedded Application is run after Parameter File is stored on reserved memory space;
Parsing module 430, parameter used in Embedded Application is obtained for parsing read Parameter File;
Operation module 440, for using parsed parameter in Embedded Application operating process.
In one embodiment, reserving module 410 is used to press preset address reserved storage space in memory.
Further, Parameter File stores empty to reserved storage by Embedded Application developing instrument by preset address
Between;Read module 420 is used to read Parameter File from reserved memory space according to preset address.
In one embodiment, Parameter File has preset format.
Further, parsing module 430 is embedded for being parsed according to preset format from the Parameter File read
Using parameter used.
Said apparatus is corresponding with preceding method, and embodiment can be found in method and describe in detail, no longer goes to live in the household of one's in-laws on getting married herein
State.
The invention also discloses a kind of machinable medium, be stored with instruction on the machinable medium, should
Instruct the method for causing machine to perform the operation of the Embedded Application described in foregoing any embodiment.
For example, store instruction, the instruction on a kind of home appliance readable storage medium storing program for executing, the home appliance readable storage medium storing program for executing
The method for being realized the operation of above-mentioned Embedded Application in home appliance during computing device.
The optional embodiment of example of the present invention is described in detail above in association with accompanying drawing, still, the embodiment of the present invention is not limited
Detail in above-mentioned embodiment, can be to the embodiment of the present invention in the range of the technology design of the embodiment of the present invention
Technical scheme carry out a variety of simple variants, these simple variants belong to the protection domain of the embodiment of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance
In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the embodiment of the present invention pair
Various possible combinations no longer separately illustrate.
It will be appreciated by those skilled in the art that realizing that all or part of step in above-described embodiment method can be by
Program instructs the hardware of correlation to complete, and the program storage is in a storage medium, including some instructions are to cause one
Individual (can be single-chip microcomputer, chip etc.) or processor (processor) perform the whole of each embodiment methods described of the application
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
In addition, can also be combined between a variety of embodiments of the embodiment of the present invention, as long as it is not
The thought of the embodiment of the present invention is run counter to, it should equally be considered as disclosure of that of the embodiment of the present invention.
Claims (9)
1. a kind of operating method of Embedded Application, it is characterised in that methods described includes:
Reserved storage space in memory, the memory space reserved is used to store the Parameter File for including parameter;
After Embedded Application starts, the Parameter File is read from reserved memory space, wherein, it is described it is embedded should
Used in the Parameter File be stored on reserved memory space after run;
Read Parameter File is parsed to obtain parameter used in Embedded Application;
Parsed parameter is used in Embedded Application operating process.
2. according to the method described in claim 1, it is characterised in that
The reserved storage space in memory includes:By preset address reserved storage space in memory.
3. method according to claim 2, it is characterised in that the Parameter File is by Embedded Application developing instrument by pre-
If the memory space reserved is arrived in address storage;
It is described the Parameter File is read from reserved memory space to include:Deposited according to the preset address from reserved
Storage reads the Parameter File in space.
4. according to any described method of claims 1 to 3, it is characterised in that the Parameter File has preset format;
The read Parameter File of the parsing includes to obtain parameter used in Embedded Application:According to the preset format from institute
Parameter used in Embedded Application is parsed in the Parameter File of reading.
5. a kind of operation device of Embedded Application, it is characterised in that described device includes:
Reserved module, for reserved storage space in memory, the memory space reserved is used to store the ginseng for including parameter
Number file;
Read module, for after Embedded Application starts, the Parameter File to be read from reserved memory space, its
In, the Embedded Application is run after the Parameter File is stored on reserved memory space;
Parsing module, parameter used in Embedded Application is obtained for parsing read Parameter File;
Operation module, for using parsed parameter in Embedded Application operating process.
6. device according to claim 5, it is characterised in that
The reserved module is used to press preset address reserved storage space in memory.
7. device according to claim 6, it is characterised in that the Parameter File is by Embedded Application developing instrument by pre-
If the memory space reserved is arrived in address storage;
The read module is used to read the Parameter File from reserved memory space according to the preset address.
8. according to any described device of claim 5 to 7, it is characterised in that the Parameter File has preset format;
The parsing module is used for according to used in the preset format parses Embedded Application from the Parameter File read
Parameter.
9. be stored with instruction on a kind of machinable medium, the machinable medium, the instruction is used to cause machine
The method of the operation of Embedded Application any one of perform claim requirement 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710316516.0A CN107273149A (en) | 2017-05-08 | 2017-05-08 | Operating method, device and the machinable medium of Embedded Application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710316516.0A CN107273149A (en) | 2017-05-08 | 2017-05-08 | Operating method, device and the machinable medium of Embedded Application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107273149A true CN107273149A (en) | 2017-10-20 |
Family
ID=60073728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710316516.0A Pending CN107273149A (en) | 2017-05-08 | 2017-05-08 | Operating method, device and the machinable medium of Embedded Application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273149A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753320A (en) * | 2019-01-03 | 2019-05-14 | 中国银行股份有限公司 | A kind of processing method and processing device of application parameter |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040015598A1 (en) * | 2002-07-17 | 2004-01-22 | D-Link Corporation | Method for increasing the transmit and receive efficiency of an embedded ethernet controller |
CN102110055A (en) * | 2009-12-25 | 2011-06-29 | 比亚迪股份有限公司 | Memory layout method and memory layout device of flash chip |
CN103150189A (en) * | 2013-03-19 | 2013-06-12 | 青岛乾程电子科技有限公司 | Intelligent watt-hour meter parameter setting method |
CN106292452A (en) * | 2016-09-21 | 2017-01-04 | 合肥美的电冰箱有限公司 | A kind of improve the method and system of refrigerator controller versatility, refrigerator |
-
2017
- 2017-05-08 CN CN201710316516.0A patent/CN107273149A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040015598A1 (en) * | 2002-07-17 | 2004-01-22 | D-Link Corporation | Method for increasing the transmit and receive efficiency of an embedded ethernet controller |
CN102110055A (en) * | 2009-12-25 | 2011-06-29 | 比亚迪股份有限公司 | Memory layout method and memory layout device of flash chip |
CN103150189A (en) * | 2013-03-19 | 2013-06-12 | 青岛乾程电子科技有限公司 | Intelligent watt-hour meter parameter setting method |
CN106292452A (en) * | 2016-09-21 | 2017-01-04 | 合肥美的电冰箱有限公司 | A kind of improve the method and system of refrigerator controller versatility, refrigerator |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753320A (en) * | 2019-01-03 | 2019-05-14 | 中国银行股份有限公司 | A kind of processing method and processing device of application parameter |
CN109753320B (en) * | 2019-01-03 | 2022-02-22 | 中国银行股份有限公司 | Application parameter processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105704188B (en) | Using the dispositions method and device with service | |
CN105204823A (en) | Method and device for generating application installation package | |
RU2015121749A (en) | COMPILATOR GENERATING NON-OPERATING CODE | |
CN101697131A (en) | Method and device for dynamically loading relocatable file | |
CN107291462A (en) | The self-defined method of combination of interactive data system, system and compiling, operation method | |
CN101276278A (en) | Code conversion apparatus | |
US7197600B2 (en) | Transferring data along with code for program overlays | |
CN106970280B (en) | A kind of method and device of smart card power failure test | |
CN112114933A (en) | Application program protection method, electronic device and storage medium | |
JP2008299835A (en) | Java conversion accelerating device and method | |
CN107463441A (en) | A kind of number of threads control method and equipment | |
CN106020891A (en) | Page loading method and device | |
CN110531965A (en) | A kind of data processing method, program operating method and equipment | |
CN107368333A (en) | Wearable device collocation method and system and configuration system based on graphical programming | |
CN107273149A (en) | Operating method, device and the machinable medium of Embedded Application | |
CN107092474A (en) | Program developing method, ETL processing method and processing devices | |
CN103309741A (en) | Method and device for calling plug-in function | |
CN103984539A (en) | Operation method and operation system for household appliance | |
CN106775826B (en) | Method and system for loading code file by annotation mode | |
CN104516740B (en) | A kind of function calling method, device and mobile terminal | |
CN104932982B (en) | A kind of Compilation Method and relevant apparatus of message memory access | |
CN116467279A (en) | Data migration method and device | |
CN102541745B (en) | The addressing method of micro controller data storer and microcontroller | |
CN110874214B (en) | Function calling method and device, electronic equipment and storage medium | |
EP2854036A1 (en) | Storage space mapping method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |