CN104765697A - Embedded device interaction method and system - Google Patents

Embedded device interaction method and system Download PDF

Info

Publication number
CN104765697A
CN104765697A CN201510104596.4A CN201510104596A CN104765697A CN 104765697 A CN104765697 A CN 104765697A CN 201510104596 A CN201510104596 A CN 201510104596A CN 104765697 A CN104765697 A CN 104765697A
Authority
CN
China
Prior art keywords
information interaction
information
file
storage medium
district
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
CN201510104596.4A
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.)
China Security and Surveillance Technology PRC Inc
Original Assignee
China Security and Surveillance Technology PRC Inc
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 China Security and Surveillance Technology PRC Inc filed Critical China Security and Surveillance Technology PRC Inc
Priority to CN201510104596.4A priority Critical patent/CN104765697A/en
Publication of CN104765697A publication Critical patent/CN104765697A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of embedded equipment, and provides an embedded device interaction method and system. The method comprises the steps of finding out a corresponding guide program file from a storage medium; loading the corresponding guide program file; initializing a device through the guide program; reading the set configuration parameters to find out a kernel image to be loaded and loading into an internal memory; transmitting physical location information of an information interaction area in the storage medium to the kernel image; reading some configuration parameters transmitted by the guide program to the kernel image through the kernel so as to finish the loading of a file system; converting the acquired physical location information into an MTD format block device file; accessing the information access area according to the MTD format block device file; accessing the information interaction area through the file system according to the MTD format block device file. According to the method, the operation efficiency of the system can be increased; in addition, the kernel space for later operation can accurately find out the physical location information of the information exchange area, and the conflict error of address can be avoided.

Description

A kind of embedded device exchange method and system
Technical field
The present invention relates to embedded device technology field, particularly relate to a kind of embedded device exchange method and system.
Background technology
The three class pipeline formula Starting mode of existing embedded device employing order bootload program, kernel mirror image and file system when start powers on, existing embedded device acquiescence only has boot to obtain and uses the information in information exchange area, this makes existing embedded device can only realize simple unidirectional going down mechanism, the feedback information generated in follow-up flow process cannot be delivered in the flow process brought into operation above, and the efficiency that the deficiency of reverse interaction mechanism like this makes equipment run is too low.Particularly when most widely used kernel starts, parameter can only realize the unidirectional delivery between boot to kernel mirror image, and this is a very large bottleneck for pursuing specify and embedded device that is high efficiency.And in common system firmware escalation process, because information can only unidirectional delivery, cause developer to have to replace all fixer systems to guarantee that system can run well, these all must increase cost, and can reduce equipment each side operational efficiency.
Summary of the invention
The object of this invention is to provide a kind of embedded device exchange method and system, make information in existing embedded device can only realize simple unidirectional going down, the problem that equipment operating efficiency is low with the loading Starting mode overcoming order in correlation technique.
On the one hand, the invention provides a kind of embedded device exchange method, comprising:
Find corresponding boot file on a storage medium, and load corresponding boot file;
Boot carries out initialization to equipment;
Boot is found the kernel mirror image of needs loading according to reading set configuration parameter and is loaded in internal memory, the physical location information in the information interaction district in storage medium is also together passed to kernel mirror image simultaneously;
Kernel reads the loading that partial configuration parameter that boot passes to kernel mirror image completes file system, convert the physical location information in the information interaction district of acquisition to MTD fmt chunk device file, and the MTD fmt chunk device file visit information interactive areas corresponding according to information interaction district;
The MTD fmt chunk device file visit information interactive areas that file system is corresponding according to information interaction district, and carry out information interaction according to business demand and information interaction district.
Wherein, after boot carries out initialization to equipment, before loading in kernel mirror image to internal memory, if also comprise the instruction receiving user interactions, then change the parameters value in the information interaction district on storage medium.
Wherein, comprise further: open up at least one independently information interaction district on a storage medium, and in information interaction district, preserve a sequential parameter according to demand.
Wherein, described information interaction district is set to two pieces, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment.
Wherein, initialization is carried out to equipment and specifically comprises Initialize installation is carried out to major clock, basic IO, internal memory, storage medium, also comprise the parameters value that reads in information interaction district and judge whether to need to control other specific function.
Wherein, file system according to the physical location information visit information interactive areas in information interaction district, and is carried out information interaction according to business demand and information interaction district and is comprised: change the parameter in information interaction district, comprises increase, deletes and undated parameter.
Wherein, carrying out information interaction according to business demand and information interaction district is by directly reading the method adding parameter name based on implicit command of information interaction district on current storage media or change parameter value.
On the other hand, the present invention also provides a kind of system embedment formula equipment interactive system, and described system comprises: boot program loads unit, for finding corresponding boot file on a storage medium, and loads corresponding boot file;
Initialization unit, for carrying out initialization according to boot to equipment;
Kernel loads unit, finds the kernel mirror image of needs loading according to reading set start-up parameter and is loaded in internal memory, the physical location information of the storage interactive areas in storage medium also together being passed to kernel mirror image simultaneously;
Information reads converting unit, kernel reads the partial configuration parameter that boot passes to kernel mirror image, convert the physical location information in the information interaction district of acquisition to MTD fmt chunk device file, and according to the MTD fmt chunk device file visit information interactive areas in information interaction district;
File system interactive unit, the MTD fmt chunk device file visit information interactive unit corresponding according to information interaction district, and carry out information interaction according between business demand and information interaction unit.
Wherein, also comprising: changing unit, for such as receiving the instruction of user interactions, then changing the parameters value in the information interaction district on storage medium;
Information interaction unit, this information interaction unit is independently opened up on a storage medium, and information interaction unit preserves a sequential parameter according to demand.
Wherein, the described information interaction unit opened up on a storage medium is set to two pieces, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment.
The present invention at least has following beneficial effect: in the embedded device exchange method that the embodiment of the present invention provides, by hewing out independently at least one information interaction district on a storage medium, thus make to be separated with the boot on storage medium, the physical location information in this independently information interaction district independently can pass to kernel mirror image, information interaction district is supplied to file system with MTD form by kernel, file system can be kept in the information interaction district of storage medium according to the parameter information in business demand changed information interactive areas, so, all the two-way interactive with information interaction district can be realized independently in whole service interaction flow, the operational efficiency of raising system, and the kernel spacing of follow-up operation also can accurately find the physical location information in message exchange district, thus there will not be address conflict mistake.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of embedded device exchange method in the embodiment of the present invention;
Fig. 2 is the process flow diagram of embedded device exchange method in another embodiment of the present invention;
Fig. 3 is the structured flowchart of embedded device interactive system in the embodiment of the present invention;
Fig. 4 is the structured flowchart of embedded device interactive system in another embodiment of the present invention.
Embodiment
Below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein is only for instruction and explanation of the present invention, be not intended to limit the present invention, and when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
The embodiment of the present invention provides a kind of embedded device exchange method and system, and the embedded device product being particularly useful for the field such as E-consumer, security protection industry control opens this section of process from the start function service that powers on.
Embodiment one:
Refer to Fig. 1, a kind of embedded device exchange method of the embodiment of the present invention comprises step:
S10, device power-up power on;
S12, find corresponding boot file on a storage medium, and the boot file corresponding to loading.
Open up at least one independently information interaction district on a storage medium, and in information interaction district, preserve a sequential parameter according to demand.This information interaction district physical location is on a storage medium independent of other fastener region physical location on a storage medium, and other firmware comprises as firmwares such as the boot in embedded device, kernel, file system, and this three is independently firmware.This independently information interaction district physical location information and store the physical location information of other fastener region and together transmit and give kernel mirror image, make the kernel spacing of follow-up operation accurately can find the physical location information in interactive information district, and then each physical location information corresponding region is converted to the block device file of MTD (memory technology device memory techniques equipment) form.
The firmware being solidificated in CPU inside finds corresponding boot file according to the sequential logic of specifying on corresponding medium, loads corresponding boot file.
Particularly, after device power, the firmware be solidificated in the inner ROM of CPU is not having to find boot file according to the sequential logic of specifying on corresponding medium in special instruction situation, as find corresponding boot then CPU load this boot and give this boot CPU control, common user is uncontrollable to this process.
S14, boot carry out initialization to equipment;
Particularly, boot carries out initialization to the underlying hardware of equipment, specifically comprise and Initialize installation is carried out to major clock, basic IO, internal memory, storage medium etc., need the parameters value in reading information interaction district simultaneously and judge whether to need to control the enable of other specific function.Wherein specific function arranges according to the demand of equipment, the realization of specific function is general relevant to peripheral hardware hardware, if infrared function is the need of unlatching, radio hardware is the need of power supply, and internal memory all needs to be realized by boot deactivation hardware the need of specific functions such as self-checkings.Judge whether to need to other specific function control according to main with the actual business function provided in scene for benchmark, and these functions that can increase and decrease can not affect the use of other function, separate each other.After completing above-mentioned underlying hardware Initialize installation, wait-receiving mode user carries out the instruction of local interaction, if receive the instruction of user interactions, then change the parameters value in the information interaction district on storage medium, comprise the parameters value in the information interaction district read or upgrade on storage medium.
As do not received local user's interactive instruction, then without the need to changing the parameters value in the information interaction district on storage medium after carrying out initialization, directly enter loading Kernel-Process.
S16, loading Kernel-Process, boot is found the kernel mirror image of needs loading according to reading set configuration parameter and is loaded in internal memory, the physical location information in the information interaction district in storage medium is also together passed to kernel mirror image simultaneously, make follow-up operation space accurately can find the physical location storing interactive information.
Load Kernel-Process MTD (memory technology device memory techniques equipment) correctly to complete to depend on the management of storage medium and control the information of storage medium physical location, after as got at interior nuclear state, 0x00300000 to 0x00400000 position is information exchange area, this region is converted to the/such block device of dev/mtdblock3, this block device is defined as a Folder schema and exists by file system again, and the parameter in last message exchange district just changes the file one by one in file into.Here dev is the name of a file, and mtdblock3 is the name of a file, and under specific Linux environment ,/dev/mtdblock3 is expressed as the absolute path of this file of mtdblock3.If kernel verification is passed through, boot can start to start kernel and discharge oneself CPU control.
S18, kernel read the loading that partial configuration parameter that boot passes to kernel mirror image completes file system, convert the information interaction district physical location information of acquisition to MTD fmt chunk device file; And the MTD fmt chunk device file visit information interactive areas corresponding according to information interaction district.
When not receiving local interaction instruction, the configuration parameter of kernel acquiescence is directly used to complete the function of other a series of whole equipment needs unlatchings such as load document system.
Kernel mirror image is the software kernels of all embedded devices, and it is the bridge connecting bottom hardware and upper layer application, the physical location information in the message exchange district got, and drives this region to be the block device file of MTD form.Be generally and ensure system stability and globality, be not very frequent to the maintenance of kernel, so also fewer to the information utilization in information interaction district in this stage, but the information of User space energy fast access information interactive areas is made at the detailed partition information of kernel state to storage medium, by storage medium being divided into the block device file of MTD form one by one, file system space only needs to carry out loading the data of just directly accessing in this block device to physical block equipment, and message exchange block equipment as herein described does not generally need to load, because the data in its block device do not exist with a certain concrete file system format, data layout when following its write is needed to the access of raw data in this block device.
Fewer to the information utilization in information interaction district in this stage, the physical location information in partial configuration parameter and information interaction district is all passed to kernel by this stage, and kernel can fast access information interactive areas according to physical location information.Subregions all in storage medium are supplied to boot file system access with MTD form, obtain the information in User space energy fast access information interactive areas.
S20, file system load the service of opening business function successfully, the MTD fmt chunk file access information interaction district that file system is corresponding according to information interaction district, and carry out information interaction according to business demand and information interaction district, the parameter information in changed information interactive areas; The normal operation of maintenance equipment.
After kernel loads file system, file system can the block device file of MTD form in visit information interactive areas, thus information in this information interaction district of direct read/write.Can change the parameter in information interaction district in this phase user state, comprise read/write (R/W) operation namely to increase, delete and upgrade, because unloading phase boot be also the parameter information of the physical location from the information interaction district that same storage medium reads, so can the accuracy of guarantee information transmission.That the mode adding parameter name based on implicit command directly reads or changes to the way that the read-write operation in information interaction district on current storage media is safer, compare existing directly all the mode of coverage mode and file read-write provide more convenient and security.
In the present embodiment, in order to avoid the faulty operation in change procedure makes system cisco unity malfunction after apply changes again, safer way arranges two block message interactive areas, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment, information interaction district updated is up to date set to be updated successfully after guaranteeing correct work again, and synchronized copy is preserved in the last normal information interaction district started to being specifically designed to.
Refer to Fig. 2, in one embodiment, also comprise step S22, judge whether to change the parameter in information interaction district, if so, then need restarting equipment after change, the stylish parameter of device start process will successful Application; If not, then flow process terminates.
The embodiment of the present invention is by hewing out independently at least one information interaction district on a storage medium, thus make to be separated with the boot on storage medium, the physical location information in this independently information interaction district independently can pass to kernel mirror image, information interaction district is supplied to file system with the block device file of MTD form by kernel, file system can be kept in the information interaction district of storage medium according to the parameter information in business demand changed information interactive areas, so, the two-way interactive to information interaction district all can be realized independently in whole service interaction flow, improve the operational efficiency of system, and the kernel spacing of follow-up operation also can accurately find the physical location information in message exchange district, thus there will not be address conflict mistake.
Embodiment two:
Refer to Fig. 3, the invention provides a kind of embedded device interactive system, comprise boot program loads unit, initialization unit, kernel loads unit, information reading converting unit and file system interactive unit.
Boot program loads unit, for finding corresponding boot file on a storage medium, and loads corresponding boot file.
Device power, the firmware being solidificated in CPU inside finds corresponding boot file according to the sequential logic of specifying on corresponding medium, loads the boot file of this correspondence.
Initialization unit, for carrying out initialization according to boot to equipment;
Particularly, carry out initialization to the underlying hardware of equipment specifically to comprise and carry out Initialize installation to major clock, basic IO, internal memory, storage medium etc., need the parameters value that reads in information interaction district simultaneously and judge whether to need to control the enable of other specific function.Wherein specific function arranges according to the demand of equipment, the realization of specific function is general relevant to peripheral hardware hardware, if infrared function is the need of unlatching, radio hardware is the need of power supply, and internal memory all needs to be realized by boot deactivation hardware the need of specific functions such as self-checkings.Judge whether to need to other specific function control according to main with the actual business function provided in scene for benchmark, and these functions that can increase and decrease can not affect the use of other function, separate each other.After completing above-mentioned underlying hardware Initialize installation, wait-receiving mode user carries out the instruction of local interaction, if receive the instruction of user interactions, then change the parameters value in the information interaction district on storage medium, comprise the parameters value in the information interaction district read or upgrade on storage medium.
As do not received local user's interactive instruction, then without the need to changing the parameters value in the information interaction district on storage medium after carrying out initialization, directly enter loading Kernel-Process.
Referring to Fig. 4, also comprise changing unit in one embodiment, if the instruction for receiving user interactions, then changing the parameters value in the information interaction district on storage medium.
Particularly, after boot carries out initialization to the underlying hardware of equipment, if receive the instruction of user interactions, then read or upgrade the parameters value in the information interaction district on storage medium.As do not received local user's interactive instruction, then without the need to changing the parameters value in the information interaction district on storage medium after carrying out initialization, directly enter loading Kernel-Process.
Kernel loads unit, finds the kernel mirror image of needs loading according to reading set configuration parameter and is loaded in internal memory, the physical location information of the storage interactive areas in storage medium also together being passed to kernel mirror image simultaneously.
Information reads converting unit, and kernel reads the partial configuration parameter that boot passes to kernel mirror image, the information interaction district physical location information obtained is converted to MTD fmt chunk device file simultaneously.
Particularly, the physical location information in partial configuration parameter and information interaction district is all passed to kernel, kernel can fast access information interactive areas according to physical location information.Subregions all in storage medium (are comprised information interaction district, but also also have other subregion, as stored the subregion of boot, store the subregion of kernel, the subregion of memory file system) be supplied to file system access with MTD fmt chunk device file, make the information in User space energy fast access information interactive areas.
File system interactive unit, and carry out information interaction between information interaction unit.
After kernel loads file system, file system can the block device file of MTD form in visit information interactive areas, thus information in this information interaction district of direct read/write.
File system interactive unit is according to the parameter information in service needed changed information interactive unit, physical location information in information interaction unit is converted to MTD fmt chunk device file and passes to file system interactive unit and conduct interviews, thus makes the information of user's space energy fast access information interactive unit.
In one embodiment, embedded device interactive system of the present invention also comprises information interaction unit, and this information interaction unit is independently opened up on a storage medium, and information interaction unit preserves a sequential parameter according to demand.Information interaction unit being preserved according to demand a sequential parameter comprises as boot finds the parameter of kernel needs, the parameter that kernel finds file system also to need, if there is no these parameters, just these values of information can only be fixed on program inside, cause these values of information not revise.
Particularly, this information interaction unit physical location is on a storage medium independent of other fastener region physical location on a storage medium, other firmware comprises and comprises the firmwares such as boot, kernel, file system as embedded device, and this three is independently firmware.This independently information interaction unit physical location information and store the physical location information of other fastener region and together transmit and give kernel mirror image, as the step S16 as shown in Fig. 1 or 2, make the kernel spacing of follow-up operation accurately can find the physical location information of interactive information unit, and then each physical location information is converted to the easy access stencil subregion of MTD form.
In one embodiment, this information interaction unit independently opening up on a storage medium is two pieces, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment, information interaction district updated up to date guarantees to be set to be updated successfully after correct work again, and synchronized copy is to being specifically designed in the last normal information interaction district started of backup.
The embodiment of the present invention is by hewing out independently at least one information interaction unit on a storage medium, thus make to be separated with the boot on storage medium, the physical location information of this independently information interaction unit independently can pass to kernel mirror image, physical location information in information interaction unit is supplied to file system with MTD fmt chunk device file by kernel, file system can be kept in the information interaction unit of storage medium according to the parameter information in business demand changed information interactive unit, so, whole system all can realize the two-way interactive of information of carrying out between information interaction unit independently, improve the operational efficiency of system, and the kernel spacing run also can accurately find the physical location information of information exchange unit, thus there will not be address conflict mistake.
The operation method of the described system of the embodiment of the present invention is described in detail in above-described embodiment one, and therefore not to repeat here.
Embodiment three:
Embedded device exchange method of the present invention can also be applied on POS machine, applies above-mentioned exchange method be below described for this POS machine:
POS machine electrifying startup, finds boot, has opened up at least one information interaction district on a storage medium in the storage medium list that its CPU supports, loads in this boot to internal memory and runs and carry out initialization to the information of infrastructure device.
After boot completes the information initializing of infrastructure device, need especially to process the network registration process of radio hardware module, as long as user does not arrange the closedown parameter of radio function, just need the hardware activating wireless module in boot stage, read in the network registry name and password, operator's informaiton etc. that store in information exchange area, send network registry request.The start-up time of the relative embedded device of registration process of wireless network is very long, registration process can be placed on background process, and boot has continued other and must work, and finally loads kernel module and CPU control is handed to kernel spacing.
Kernel is when to storage medium initialization, need verification whether to have from the physical location information parameter to the information interaction district storage medium of boot transmission with actual hardware to conflict, particularly can not there is the problem of crossing the border of the superposition of physical location and information interaction district amount of capacity, checking errorless, is the block device file of MTD form by the information-driven in the information interaction district of correspondence, message exchange district exists with the block device/dev/mtdblockX of an independently MTD form, after file system completes loading, read/write (R/W) operation is carried out to the block device file of MTD form in leading subscriber space.
To in this POS machine system of block device file realizing MTD form, first the physical location information reading information interaction district according to the block device file of MTD form is needed, just can realize the content of direct this area information of read/write according to physical location information, thus realize one can the instrument of direct read/write area information.Its read/write information content format agreement is consistent with the read-write form at its run mode.Read radio function by this instrument and be set to opening, judgment device has just started the process of network registry at power up phase accordingly, whether successfully now only need Sampling network to register, and just need not start to detect and network registration process radio hardware when applying and running as needing in existing common scheme.
In actual use if any replacing SIM card, or user name password has renewal, need the parameter value to using in registration process to upgrade, the parameter reading and writing instrument of recalls information exchange area upgrades it, even if make equipment restart also can apply new parameter value registered network.As user environment is widely different, may need to close radio function and use other internetwork connection mode, now only need change radio function parameter for forbidding, such equipment all can transfer shielding radio function to according to the value of this parameter new settings in all operation phase.
Undated parameter information completes and after restarting equipment, boot just can to new parameter successful Application in start-up course for equipment.Circulation like this, completes once the information bidirectional reciprocal process between three grades of run modes as herein described.
The present embodiment POS machine is by opening up at least one independently information storage area on a storage medium, the physical location information in this independently information interaction district independently can pass to kernel mirror image, physical location information in information interaction district is supplied to file system with MTD fmt chunk device file by kernel, file system can be kept in the information interaction district of storage medium according to the parameter information in business demand changed information interactive areas, so, the two-way interactive of information of carrying out between information interaction district all can be realized independently in whole system, thus POS machine completes the registration of device parameter when opening, improve the operational efficiency of POS machine, and the kernel spacing run also can accurately find the physical location information in message exchange district, thus there will not be address conflict mistake.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce system for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising order set, and this order set realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. an embedded device exchange method, is characterized in that, comprising:
Find corresponding boot file on a storage medium, and load corresponding boot file;
Boot carries out initialization to equipment;
Boot is found the kernel mirror image of needs loading according to reading set configuration parameter and is loaded in internal memory, the physical location information in the information interaction district in storage medium is also together passed to kernel mirror image simultaneously;
Kernel reads the loading that partial configuration parameter that boot passes to kernel mirror image completes file system, convert the physical location information in the information interaction district of acquisition to MTD fmt chunk device file, and the MTD fmt chunk device file visit information interactive areas corresponding according to information interaction district;
The MTD fmt chunk device file visit information interactive areas that file system is corresponding according to information interaction district, and carry out information interaction according to business demand and information interaction district.
2. method according to claim 1, it is characterized in that, after boot carries out initialization to equipment, before loading in kernel mirror image to internal memory, if also comprise the instruction receiving user interactions, then change the parameters value in the information interaction district on storage medium.
3. method according to claim 1, is characterized in that, comprising:
Open up at least one independently information interaction district on a storage medium, and in information interaction district, preserve a sequential parameter according to demand.
4. method according to claim 3, it is characterized in that, described information interaction district is set to two pieces, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment.
5. method according to claim 1, it is characterized in that, carry out initialization to equipment specifically to comprise and carry out Initialize installation to major clock, basic IO, internal memory, storage medium, also comprise the parameters value that reads in information interaction district and judge whether to need to control other specific function.
6. method according to claim 1, it is characterized in that, file system is according to the physical location information visit information interactive areas in information interaction district, and carry out information interaction according to business demand and information interaction district and comprise: the parameter in information interaction district is changed, comprises increase, delete and undated parameter.
7. method according to claim 6, is characterized in that, carrying out information interaction according to business demand and information interaction district is by directly reading the method adding parameter name based on implicit command of information interaction district on current storage media or change parameter value.
8. an embedded device interactive system, is characterized in that, comprising:
Boot program loads unit, for finding corresponding boot file on a storage medium, and loads corresponding boot file;
Initialization unit, for carrying out initialization according to boot to equipment;
Kernel loads unit, finds the kernel mirror image of needs loading according to reading set start-up parameter and is loaded in internal memory, the physical location information of the storage interactive areas in storage medium also together being passed to kernel mirror image simultaneously;
Information reads converting unit, kernel reads the partial configuration parameter that boot passes to kernel mirror image, convert the physical location information in the information interaction district of acquisition to MTD fmt chunk device file, and according to the MTD fmt chunk device file visit information interactive areas in information interaction district;
File system interactive unit, the MTD fmt chunk device file visit information interactive unit corresponding according to information interaction district, and carry out information interaction according between business demand and information interaction unit.
9. system according to claim 8, is characterized in that, also comprises:
Changing unit, for such as receiving the instruction of user interactions, then changes the parameters value in the information interaction district on storage medium;
Information interaction unit, this information interaction unit is independently opened up on a storage medium, and information interaction unit preserves a sequential parameter according to demand.
10. system according to claim 9, it is characterized in that, the described information interaction unit opened up on a storage medium is set to two pieces, wherein one piece for preserving last normal startup time the correlation parameter list that uses, other one piece of parameter list then for not starting to verify after preserving each amendment.
CN201510104596.4A 2015-03-10 2015-03-10 Embedded device interaction method and system Pending CN104765697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104596.4A CN104765697A (en) 2015-03-10 2015-03-10 Embedded device interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104596.4A CN104765697A (en) 2015-03-10 2015-03-10 Embedded device interaction method and system

Publications (1)

Publication Number Publication Date
CN104765697A true CN104765697A (en) 2015-07-08

Family

ID=53647540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104596.4A Pending CN104765697A (en) 2015-03-10 2015-03-10 Embedded device interaction method and system

Country Status (1)

Country Link
CN (1) CN104765697A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107529085A (en) * 2017-08-31 2017-12-29 四川长虹电器股份有限公司 The method of the remote control mode decoding of compatible multi-remote-controller
CN107632892A (en) * 2016-07-18 2018-01-26 深圳市中兴微电子技术有限公司 A kind of method and apparatus of parameter transmission
CN108255524A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 A kind of booting Logo display methods, device and embedded device
CN109614366A (en) * 2018-11-15 2019-04-12 广东工贸职业技术学院 The configurable method and device of kinetic control system
CN110968477A (en) * 2019-11-15 2020-04-07 苏州浪潮智能科技有限公司 Method, device and medium for acquiring backup BMC version information
CN111381892A (en) * 2018-12-29 2020-07-07 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN111708548A (en) * 2020-06-18 2020-09-25 北京小米移动软件有限公司 Software installation method, device, equipment and storage medium
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112217885A (en) * 2020-09-27 2021-01-12 普联国际有限公司 Dynamic management method, device, equipment and storage medium for components
CN114020211A (en) * 2021-10-12 2022-02-08 深圳市广和通无线股份有限公司 Storage space management method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271780A1 (en) * 2008-04-24 2009-10-29 Moschip Semiconductor Technology Limited Automatic complete firmware upgrade
CN101763279A (en) * 2010-01-15 2010-06-30 上海维宏电子科技有限公司 BootLoader architectural design method
CN102902556A (en) * 2012-09-06 2013-01-30 深圳市共进电子股份有限公司 Multistage boot load method of embedded equipment
CN103970557A (en) * 2013-02-04 2014-08-06 中兴通讯股份有限公司 Storage device and system starting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271780A1 (en) * 2008-04-24 2009-10-29 Moschip Semiconductor Technology Limited Automatic complete firmware upgrade
CN101763279A (en) * 2010-01-15 2010-06-30 上海维宏电子科技有限公司 BootLoader architectural design method
CN102902556A (en) * 2012-09-06 2013-01-30 深圳市共进电子股份有限公司 Multistage boot load method of embedded equipment
CN103970557A (en) * 2013-02-04 2014-08-06 中兴通讯股份有限公司 Storage device and system starting method thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632892A (en) * 2016-07-18 2018-01-26 深圳市中兴微电子技术有限公司 A kind of method and apparatus of parameter transmission
CN108255524A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 A kind of booting Logo display methods, device and embedded device
CN107529085A (en) * 2017-08-31 2017-12-29 四川长虹电器股份有限公司 The method of the remote control mode decoding of compatible multi-remote-controller
CN109614366A (en) * 2018-11-15 2019-04-12 广东工贸职业技术学院 The configurable method and device of kinetic control system
CN109614366B (en) * 2018-11-15 2023-06-06 广东工贸职业技术学院 Configurable method and device of motion control system
CN111381892A (en) * 2018-12-29 2020-07-07 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN111381892B (en) * 2018-12-29 2023-04-28 斑马智行网络(香港)有限公司 Data processing method, device, equipment and machine-readable medium
CN110968477B (en) * 2019-11-15 2022-08-02 苏州浪潮智能科技有限公司 Method, device and medium for acquiring backup BMC version information
CN110968477A (en) * 2019-11-15 2020-04-07 苏州浪潮智能科技有限公司 Method, device and medium for acquiring backup BMC version information
CN111708548A (en) * 2020-06-18 2020-09-25 北京小米移动软件有限公司 Software installation method, device, equipment and storage medium
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112217885A (en) * 2020-09-27 2021-01-12 普联国际有限公司 Dynamic management method, device, equipment and storage medium for components
CN112217885B (en) * 2020-09-27 2024-06-04 普联国际有限公司 Dynamic management method, device, equipment and storage medium for components
CN114020211A (en) * 2021-10-12 2022-02-08 深圳市广和通无线股份有限公司 Storage space management method, device, equipment and storage medium
CN114020211B (en) * 2021-10-12 2024-03-15 深圳市广和通无线股份有限公司 Storage space management method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104765697A (en) Embedded device interaction method and system
US10642596B2 (en) Embedded device and program updating method
US11010157B2 (en) Container based application reification
US20180089434A1 (en) Preserving trust data during operating system updates of a secure element of an electronic device
CN103999041B (en) The backup firmware during equipment initializes
US20110283274A1 (en) Firmware image update and management
JP2003216902A (en) Proximity communication system and method, data management device and method, storage medium, and computer program
CN106789249B (en) Hot updating method, client and server
US10817382B2 (en) Concurrent upgrade of primary and standby databases
CN104657158A (en) Method and device for processing business in business system
CN105446772A (en) System upgrading method and apparatus
CN101770383A (en) Method and device for on-line upgrade of cross-platform version
CN105573913B (en) Program debugging method and system in a kind of ONU systems
CN103593607A (en) Method and device for file system isolation of host machine and virtual machine
CN106843940A (en) A kind of fast updating method of embedded system
CN103984621B (en) log separation method and system
US9588884B2 (en) Systems and methods for in-place reorganization of device storage
CN107168719A (en) Application program operation method, device, terminal and computer-readable recording medium
CN104866397A (en) Computer System And Control Method
US11809275B2 (en) FaaS in-memory checkpoint restore
US7895245B2 (en) Methods and systems for managing data stored on a contactless flash memory device
CN102323885B (en) Dynamic configuration method of sensing network node operation system
CN104503811A (en) Method and system for upgrading communication device based on single memory area
WO2022001203A1 (en) Mirror image distribution method, electronic device, and storage medium
US20230344819A1 (en) Control-plane protocol for isolated or disconnected environments of an information handling system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150708

WD01 Invention patent application deemed withdrawn after publication