CN106598647A - Intelligent apparatus development platform - Google Patents

Intelligent apparatus development platform Download PDF

Info

Publication number
CN106598647A
CN106598647A CN201611035872.7A CN201611035872A CN106598647A CN 106598647 A CN106598647 A CN 106598647A CN 201611035872 A CN201611035872 A CN 201611035872A CN 106598647 A CN106598647 A CN 106598647A
Authority
CN
China
Prior art keywords
module
console
interface
application module
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611035872.7A
Other languages
Chinese (zh)
Other versions
CN106598647B (en
Inventor
应站煌
陈玉峰
段太钢
王旭宁
胡建斌
汪强
方正
王龙洋
徐涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software 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 State Grid Corp of China SGCC, Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201611035872.7A priority Critical patent/CN106598647B/en
Publication of CN106598647A publication Critical patent/CN106598647A/en
Application granted granted Critical
Publication of CN106598647B publication Critical patent/CN106598647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The invention relates to an intelligent apparatus development platform, and belongs to the technical field of industrial control. By adopting a platform sub module design thought, the intelligent apparatus development platform comprises a platform module and an application module, wherein the platform module comprises a circulation service processing starting/ending sub module and an external interface resource sub module; the application module comprises a circulation service processing sub module; and the overall function of the platform is realized by mutual calling between the platform module and the application module. By virtue of the platform sub module design and calling-relation control between the modules, isolation of the platform module and the application module is realized; and the platform and the application are independently compiled and upgraded, so that the coupling problem between the application module and the platform module is reduced under a condition of small quantity of resource, the transportability of a common module function in the application module, and the customizing capability of the application module on hardware are improved, and the applicability of the development platform is improved.

Description

A kind of intelligent apparatus development platform
Technical field
The present invention relates to a kind of intelligent apparatus development platform, belongs to technical field of industrial control.
Background technology
In the existing intelligent apparatus based on ARM Cortex-M4 frameworks, business function module and hardware in program of device Drive module is to be intimately associated together, and the sampled data of business function module and control outlet drive and directly invoke correlation Completing, its business function module and Hardware drive module are highly coupled device drives interface, business function module and drive mould Block any one minor adjustment, will cause the program needs of whole device to recompilate and download, the program development of this device Pattern cannot meet requirement of the market to product development schedule requirement and enterprise to control of product quality.
In industrial control device field, device drives layer and business function module mixed compiling to generate, and drives layer and industry The arbitrary minor modifications of business function, the whole routine recompilation of control device are generated.The method shortcoming:Hardware driving layer cannot be same Under one framework arm processor, other devices are reused, and in business module, reusable functional module portability is low, are unfavorable for improving and are produced Product development efficiency and control of product quality.
The patent document of Application No. CN201310063525.5 proposes a kind of embedded industrial control instrument Software Development Platform, Including hardware driving layer, system platform dispatch layer, products application layer and product customization layer, hardware driving layer and system platform scheduling Layer composition platform core layer, products application layer and product customization layer constitute gas producing formation;Hardware driving layer includes that industrial control instrument is related The driving code of hardware module, system platform dispatch layer include the basic management and running function of embedded OS and industrial control instrument The code of basic handling function, products application layer include the related common code of industrial control instrument variety classes product, product customization Layer includes each custom code for different specific products;The compiled envelope of code of hardware driving layer and system platform dispatch layer LIB library files are dressed up, for products application layer and the code call of product customization layer.Hardware driving layer and system in the console module The code of dispatching platforms layer is compiled to be packaged into LIB library files, but cannot solve to drive and system platform machine instruction and application The problem of functional module machine instruction mixed storage, and any modification of platform core layer, require products application layer recompilate, Link generates new destination object, and platform and application module cannot individually compile, manage and upgrade.
The problem higher for this hardware driving layer and the system platform dispatch layer degree of coupling, can adopt existing operating system Mode reducing hardware driving layer and system platform dispatch layer, although between each module, independence compares in existing operating system By force, however it is necessary that resource is relatively more, for the less system of resource, it is impossible to adopt in this way, accordingly, it would be desirable to one kind is opened Sending out platform can reduce hardware driving layer and the system platform dispatch layer degree of coupling, can meet the less restriction of stock number again.
The content of the invention
It is an object of the invention to provide a kind of intelligent apparatus development platform, to solve to reduce hard in the less situation of stock number Part drives layer and the system platform layer degree of coupling.
The present invention provides a kind of intelligent apparatus development platform to solve above-mentioned technical problem, and the development platform includes platform Module and application module, described console module include that circulating Business Processing starts/terminate submodule and external interface resource Module;The application module includes circulating Business Processing submodule;Mutually call between the console module and application module Realize the allomeric function of platform;
Console module and application module coordinate finishing service to process:Console module circulates Business Processing by which and starts submodule Block is circulated Business Processing, calls the subcycle Service Processing Module in application module, by the subcycle industry in application module Business processing module completes to process, the calling platform module-external interface when processing of the subcycle Service Processing Module in application module Resource submodule provides corresponding hardware interface and carries out data receiver or transmission, in data receiver or after being sent, returns application Module, and the circulation Business Processing returned to by application module after the completion of Business Processing in console module terminates submodule, knot Beam application modules are called.
Further, described console module distributes occupancy different memory headrooms with application module in compiling.
Further, between console module and calling module, the realization of call relation is comprised the following steps:
1) interface shape and the definition of calling module are preset;
2) module that is called will be handled as follows to called function:Definition data structure, the member of data structure is Function pointer, it is strict conformance with called Function Format that each member type is;The permanent variable of definition, permanent variable intrinsic function refer to Pin points to each called function;The address of permanent variable is stored in global special data area in some data, and special data The relative position relative to this modular program original position of area and some Data Position is fixed, and called module is prior It is known;
3), when calling module calls the usable interface of called module, obtain certain number in called module special data area According to, that is, the pointer of the data structure that the function pointer that is called is located, and then the pointer of called structure member function is obtained, visit Ask that concrete function performs body, realize that function is cross-module and call.
Further, the platform also includes guiding module, and the guiding module is used to complete console module and application module Upgrading, the operation flow of the guiding module is:
(1), after system start-up, initialization system clock module, initialization upgrading media hardware drive and initialize upgrading work( Can required communication protocol;
(2) after initialization terminates, according to the key message in the last some bytes in Comparison basis block code storage area Check code is calculated, and is compared with former check code, if unanimously, be directly entered the execution of console module entrance function address;
(3) if inconsistent, under platform is upgrade control command, into upgraded module, related service is processed, platform is completed The upgrading of module or application module;
(4) after last frame upgrading data are received, key message is preserved.
Further, if upgrading object is console module, its key message is write in the last some each bytes of console module, If upgrading object is application module, its key message is write in last several bytes of application module.
Further, described key message include the ROM area initial address of module, end address, area size with And CRC code.
Further, described console module also includes hardware initialization submodule, and application module also includes initial beggar Module, console module and application module cooperation complete function of initializing.
Further, the step of console module is upgraded is as follows:
A. console module target program is downloaded in device, in console module region, all data are updated;
B. device starts in guiding module, and console module entry address is jumped to when platform information is effective;
C., when application module calling platform module interface processing business, by pre-defined data structure and member, obtain Take relative displacement of the invoked interface relative to the data structure of interface function pointer;
D. application module obtains the content in console module interface data structure perseverance address of variable, and according to its content and quilt The interface relative displacement for calling obtains the ROM addresses for depositing called interface function pointer, obtains content in the address i.e. For invoked function pointer;
E. application module enters line parameter transmission, and calls respective function interface to process dependency number according to the function pointer for obtaining According to or related hardware operation.
Further, the step of application module is upgraded is as follows:
A. application module target program is downloaded in device, in application module region, all data are updated;
B. device starts in guiding module, and console module entry address is jumped to when platform information is effective;
C., when console module calls application module interface processing business, by pre-defined data structure and member, obtain Take relative displacement of the invoked interface equivalent to the data structure of interface function pointer;
D. console module obtains the content in application module interface data structure perseverance address of variable, and according to its content and quilt The interface relative displacement for calling obtains the ROM addresses for depositing called interface function pointer, obtains content in the address i.e. For invoked function pointer;
E. console module enters line parameter transmission, and calls respective function interface to process dependency number according to the function pointer for obtaining According to or related hardware operation.
Further, console module determines whether to load in application module according to the effectiveness of application module key message Functional module, to loading, then jumps to the execution of application module image entry address, and returns console module after execution.
The invention has the beneficial effects as follows:Mentality of designing of the present invention using platform sub-module, including console module and application Module, console module include that circulating Business Processing starts/terminate submodule and external interface resource submodule;Application module includes Circulation Business Processing submodule;The allomeric function for mutually calling to realize platform between console module and application module.The present invention Designed by platform sub-module and intermodule call relation control, realize console module and application module isolation, platform and Using individually compiling and upgrading, in the case where stock number is little, application module and console module coupling sex chromosome mosaicism is reduced, is improved In application module, the portable and application module of public module function improves the suitable of development platform to hardware customization capability The property used.
Description of the drawings
Fig. 1 is current embedded industrial control instrument Software Development Platform block schematic illustration;
Fig. 2 is intelligent apparatus development platform block schematic illustration of the present invention;
Fig. 3 is that disparate modules call relations realizes logical schematic;
Fig. 4 is operation flow logic chart in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings the specific embodiment of the present invention is described further.
The intelligent apparatus development platform of the present invention includes 2 independent modules of console module and application module, mould here Block is a series of software for including processes, can realize corresponding function, console module by performing corresponding programmed instruction Start/terminate submodule and external interface resource submodule including circulation Business Processing;Application module includes circulating Business Processing Submodule;The allomeric function for mutually calling to realize platform between console module and application module;Console module and application module Finishing service is coordinated to process:Console module starts submodule by its circulation Business Processing and proceeds by circulation Business Processing, adjusts With the subcycle Service Processing Module in application module, complete to process by the subcycle Service Processing Module in application module, should With the subcycle Service Processing Module in module, when processing, calling platform module-external interface resource submodule provides answering for phase Hardware interface carries out data receiver and/or transmission, in data receiver and/or after being sent, returns application module, and by applying mould The circulation Business Processing in console module that block returns to terminates submodule, terminates calling for application modules.
Specifically, intelligent apparatus development platform of the present invention is based on ARM Cortex-M4, and the hardware can be matched somebody with somebody as a kind of being based on Put hardware module, the reusable embedded microprocessor in port, the selection of its hardware module can by user by system configuration come Realize.In the present invention, the intelligent apparatus development platform of base ARM Cortex-M4 frameworks is as shown in Fig. 2 including guiding module, platform Module and application module.
Guiding module is used for the upgrade function for completing console module and application module.Specially completion system clock module Initialization, upgrading media hardware drive initialization and communication protocol needed for upgrade function.Communication media can select serial ports, ether Net, USB, CAN related hardware, and guiding module is also equipped with the function to console module switching control.Console module is used to bear The scheduling of duty system platform, and relevant system level related data access interface is provided, to set up console module operating mechanism.Bag Include all register configuration information and configuration process in all interior hardware driving, and hardware port is by applying mould in hardware driving Block provides corresponding configuration data, and the completion system port configuration in the initiating hardware that application module calling platform module is provided The interface opened to the outside world is preserved by function, console module by structured data, and the data structure address is stored in console module Fixing address data field, so that application module is recognized and is called.Hardware driving includes following hardware:AD sampling modules, I/O moulds Block, RTC block, ethernet module, serial port module, CAN module, spi bus module, iic bus module, USB, module, interruption Module, timer module, determine power consumption sleep block, watchdog module and key-press module etc..Application module can also be line module, For setting up elemental user Development Framework, User Exploitation framework includes that console module calls application module basic function, these bases This function can be called by console module operating mechanism and be run, application module when hardware relevant interface is called, calling platform Module provides related hardware driving interface, carries out hardware operation and control.
Console module possesses following 3 basic function modules:
(1) basic hardware initialization submodule, such as clock module, the communication media hardware of external control upgrading and related association View.
(2) circulate Business Processing start/terminate submodule.Can add at generalization business in circular treatment functional module Reason, such as Ethernet related protocol are processed, and are reduced coding work amount when line module is developed, are being processed repeats itself business mould Block, circulation Business Processing start submodule by special switching call-by mechanism, and the circular treatment business obtained in line module connects Mouthful, process after customer service terminates and return console module.
(3) external interface resource submodule.These resources not only include hardware driving interface resource, also adjust comprising system Degree task function, such as based on the associative operation interface such as the task creation of operating system, hang-up, recovery, is opened with abundant line module Send out using required platform resource.
Application module provides the frame structure of a User Exploitation, follows under its basic structure in user, calling platform mould The resource interface that block is provided, according between, service logic is required, completes the application and development task of oneself.Application module includes following 2 basic modules:
(1) initialization submodule had both included that hardware was customized and hardware initialization, and carried out needed for business development including user Other must function of initializing module, in initialization submodule, user can be realized at the beginning of hardware objects by hardware configuration definition Beginningization, and effective hardware objects after initialization are obtained, it is that other calling service hardware operations lay the foundation.
(2) circulate Business Processing submodule.User needs lasting processing business concentrate the realization in this module.Either Initialization module or circular treatment module, can provide resource bank interface in calling platform storehouse, at any time to realize other business work( Energy.
Other side is mutually called to provide interface to realize the allomeric function of platform between console module and application module.Fig. 3 is Call relation logic realization figure between console module and application module, concrete logic are as follows:
1) interface shape and the definition of calling module are preset.
2) module that is called will be handled as follows to the function that can be called:Firstth, definition data structure, data structure Member is function pointer, and it is strict conformance with the Function Format that can be called that each member type is;Secondth, permanent variable is defined, is become Amount intrinsic function pointer points to each called function;3rd, the address of permanent variable is stored in into some in global special data area In data, and the relative position relative to this modular program original position of special data area and some Data Position is solid Determine, and called module is known in advance.
3) it is when calling module calls the usable interface of called module, specific in the called module special data area of first acquisition Data, that is, the pointer of the data structure that the function pointer that is called is located, and then the finger of called structure member function can be obtained Pin, and then concrete function execution body is accessed, realize that function is cross-module and call.
Before calling module calls called module interface, by the letter of second development interface when the module that is called is compiled Number pointer data structure pointer is stored on a fixed ROM address, is that calling module and the independent ROM of called module assignment are empty Between and ram space, the address of fixed ROM can preserve second development interface function pointer using modules interrupts vector table etc. The pointer mode of data structure is realized.
Console module and application module are individually upgraded renewal, comprise the following steps that:
(1) host computer is downloaded to console module/application module target program in device by downloaded software, and platform/should It is updated with all data in region.
(2) device starts in guiding module, and Jing handoff functionality modules judge platform information effectiveness, jump to platform mould Block entrance address.
(3) by pre-defined data structure and member, invoked interface is got relative to interface function pointer The relative displacement of data structure, realizes the renewal of console module and application module interactive information.
Application module obtains content in ROM address locations, and according to location contents and invoked interface relative displacement, Obtain depositing the ROM addresses of called interface function pointer, and then take the i.e. invoked function pointer of content in its unit;Platform It is content in unit that module obtains ROM addresses, and according to location contents and invoked interface relative displacement, obtains depositing quilt The ROM addresses of calling interface function pointer, and then take the i.e. invoked function pointer of content in its unit.
(4) enter line parameter transmission, and call function interface processes related data or related hardware operation.
As long as application module/console module call function interface side-play amount and preservation data structure in data structure refer to The fixed ROM addresses of pin do not change, and the renewal of platform/application module will not application modules calling interface processing business band Carry out any impact.
Illustrate by taking certain specific business as an example below.Ethernet is selected to operate as upgrade function in the present embodiment Hardware, application module have customized Uart hardware, and process user's applied business using Uart.In the present embodiment, guiding module Program Flash (ROM) address is 0x000000~0x00BFFF, and it is 0x2,000 0000 that corresponding ram addresses are memory headroom address ~0x2,004 0000;Console module program Falsh address is 0x00C000~0x07FFFF, and corresponding ram addresses are memory headroom Address is 0000~0x2001FFFF of 0x2000;Application module program Falsh address is 0x080000~0x0FFFFF, accordingly It is 0000~0x2003FFFF of 0x2002 that ram addresses are memory headroom address.
Guiding module business processing flow is:
1) after system start-up, initialization system all the time module, initialization Flash hardware and initialization ethernet hardware.
2) after hardware initialization terminates, according to last several byte contents in console module code storage area (here It is some to refer to and store the byte numbers that are adapted of key message), its information include console module start address, end address, Data field length and corresponding CRC code, and compare with original CRC code, if result is consistent, directly jump into console module entrance letter Number address performs.
3) when CRC is inconsistent or platform is upgrade control command under, into upgraded module, process related service.
4) under with host computer and TFTP protocol integrated test systems, console module or application module upgrading are completed.
5) after last frame upgrading data are received, from upgrading start address, end address and data length, meter CRC is calculated, and start address, end address, data length, CRC are preserved as key message, if this upgrading object It is console module, its key message is write in last several bytes of console module, if upgrading object is application module, its pass Key information is write in last several bytes of application module.
Console module and application module operation flow:
1) into after plateform system, initialization system all the time module, initialization Flash and initialization ethernet hardware.
2) initialization submodule entry reference in application module is obtained, and at initialization string jaws equipment (mkdev_open) The description of incoming serial equipment and relevant parameter, and the initialization for completing Uart is called by platform resource storehouse, and obtain Uart and set Standby operation object, in application module, initialization submodule terminates to return in console module.
3) console module enters circular treatment business submodule, including procotol, control updating operation XJDP agreement, obtains Take application module circular treatment module inlet pointer.
4) the Uart data receivers (mkdev_read) that application module calling platform module is provided, after data receiver is finished Application module is returned, application module processing business needs to send data, continues calling platform module hardware data is activation function (mkdev_write), after data is activation is finished, return application module.
5) after application module has processed circulation business, console module is returned, starts new round circulation Business Processing.
The realization of console module and application module call relation:
1) the external interface function that console module is developed is assigned in the member of constant data structure, and constant data is tied The address of structure is stored in console module in hardware interrupts vector table, the hardware interrupts vector table be invalid hardware it is corresponding in Disconnected vector table.
2) the external interface function that application module is developed is assigned in the member of constant data structure, and constant data is tied The address of structure is stored in application module in hardware interrupts vector table, the hardware interrupts vector table be invalid hardware it is corresponding in Disconnected vector table.
3) console module and application module, preset both sides' interface data perseverance address of variable, and share this information.In this enforcement Example in, console module interface data structure perseverance address of variable be 0xC014, application module interface data structure perseverance address of variable be 0x80004。
4) it is data in avoiding console module and application module from mutually calling brokenly ring other side ram, console module and application Module distribution in compiling takes difference ram and ROM data region.
5) according to related service relation and logic, realize the execution to being adjusted interface function.
What console module upgrading updated comprises the following steps that:
1) host computer is downloaded to console module target program in device, all numbers in land regions by downloaded software According to being updated.
2) device starts in guiding module, and Jing handoff functionality modules judge platform information effectiveness, jump to platform mould Block entrance address.
3) when application module calling platform module interface processing business, by pre-defined data structure and member, obtain Get relative displacement of the invoked interface relative to the data structure of interface function pointer (hypothesis side-play amount is 0x08).
4) it is content (hypothesis location contents is 0x10000) in 0xC014 units that application module obtains ROM addresses, according to list First content and invoked interface relative displacement, obtain depositing the ROM addresses (0x10008) of called interface function pointer, And obtain the i.e. invoked function pointer of content in its unit.
5) enter line parameter transmission, and call function interface processes related data or related hardware operation.
What application module upgrading updated comprises the following steps that:
1) host computer is downloaded to application module target program in device, all numbers in application region by downloaded software According to being updated.
2) device starts in guiding module, and Jing handoff functionality modules judge platform information effectiveness, jump to platform mould Block entrance address;
3) when console module calls application module interface processing business, by pre-defined data structure and member, obtain The relative displacement that the invoked interface of application module is got relative to the data structure of interface function pointer (assumes that side-play amount is 0x02)。
4) console module acquisition ROM addresses are the content (assuming location contents 0x81000) in 0x80004 units, and root According to location contents and invoked interface relative displacement, obtain depositing the ROM addresses of called interface function pointer (0x81002), the content in unit corresponding to the address is invoked function pointer.
5) enter line parameter transmission, and call function interface processes related data or related hardware operation.
As long as the fixation of console module call function interface side-play amount and preservation data structure pointer in data structure ROM addresses do not change, and the renewal of application module will not bring any impact to console module calling interface processing business.
The present invention designed by platform sub-module and intermodule call relation control, realize console module and apply mould Block is isolated, and platform and application are individually compiled and upgraded, and in the case where low consumption of resources is met, reduce application module and platform mould Block couples sex chromosome mosaicism.

Claims (10)

1. a kind of intelligent apparatus development platform, it is characterised in that the development platform includes console module and application module, described Console module includes that circulating Business Processing starts/terminate submodule and external interface resource submodule;The application module includes Circulation Business Processing submodule;The allomeric function for mutually calling to realize platform between the console module and application module;
Console module and application module coordinate finishing service to process:Console module starts submodule by its circulation Business Processing and enters Row circulation Business Processing, calls the subcycle Service Processing Module in application module, by the subcycle business in application module Reason module completes to process, the calling platform module-external interface resource when processing of the subcycle Service Processing Module in application module Submodule provides corresponding hardware interface and carries out data receiver or transmission, in data receiver or after being sent, returns application module, And the circulation Business Processing returned to by application module after the completion of Business Processing in console module terminates submodule, terminate correspondence With calling for module.
2. intelligent apparatus development platform according to claim 1, it is characterised in that described console module and application module The distribution in compiling takes different memory headrooms.
3. intelligent apparatus development platform according to claim 1 and 2, it is characterised in that console module and calling module it Between the realization of call relation comprise the following steps:
1) interface shape and the definition of calling module are preset;
2) module that is called will be handled as follows to called function:Definition data structure, the member of data structure is function Pointer, it is strict conformance with called Function Format that each member type is;The permanent variable of definition, permanent variable intrinsic function pointer refer to To each called function;The address of permanent variable is stored in global special data area in some data, and special data area and The relative position relative to this modular program original position of some Data Position is fixed, and the called prior institute of module Know;
3), when calling module calls the usable interface of called module, particular data in called module special data area is obtained, The pointer of the data structure that the function pointer that is called is located, and then the pointer of called structure member function is obtained, access Concrete function performs body, realizes that function is cross-module and calls.
4. intelligent apparatus development platform according to claim 3, it is characterised in that the platform also includes guiding module, institute Guiding module is stated for completing the upgrading of console module and application module, the operation flow of the guiding module is:
(1), after system start-up, initialization system clock module, initialization upgrading media hardware drive and initialize upgrade function institute Need communication protocol;
(2), after initialization terminates, calculated according to the key message in the last some bytes in Comparison basis block code storage area Check code, and be compared with former check code, if unanimously, it is directly entered the execution of console module entrance function address;
(3) if inconsistent, under platform is upgrade control command, into upgraded module, related service is processed, console module is completed Or the upgrading of application module;
(4) after last frame upgrading data are received, key message is preserved.
5. intelligent apparatus development platform according to claim 4, it is characterised in that if upgrading object is console module, its Key message is write in the last some each bytes of console module, if upgrading object is application module, and its key message is write should With in last several bytes of module.
6. intelligent apparatus development platform according to claim 4, it is characterised in that described key message includes module ROM area initial address, end address, area size and CRC code.
7. intelligent apparatus development platform according to claim 4, it is characterised in that described console module also includes hardware Initialization submodule, application module also include that initialization submodule, console module and application module coordinate and complete function of initializing.
8. intelligent apparatus development platform according to claim 4, it is characterised in that the step of console module is upgraded is as follows:
A. console module target program is downloaded in device, in console module region, all data are updated;
B. device starts in guiding module, and console module entry address is jumped to when platform information is effective;
C., when application module calling platform module interface processing business, by pre-defined data structure and member, obtain quilt Relative displacement of the interface for calling relative to the data structure of interface function pointer;
D. application module obtains the content in console module interface data structure perseverance address of variable, and according to its content and is called Interface relative displacement obtain depositing the ROM addresses of called interface function pointer, the content obtained in the address is quilt The function pointer for calling;
E. application module enter line parameter transmission, and according to obtain function pointer call respective function interface process related data or Person's related hardware is operated.
9. intelligent apparatus development platform according to claim 4, it is characterised in that the step of application module is upgraded is as follows:
A. application module target program is downloaded in device, in application module region, all data are updated;
B. device starts in guiding module, and console module entry address is jumped to when platform information is effective;
C., when console module calls application module interface processing business, by pre-defined data structure and member, obtain quilt Relative displacement of the interface for calling equivalent to the data structure of interface function pointer;
D. console module obtains the content in application module interface data structure perseverance address of variable, and according to its content and is called Interface relative displacement obtain depositing the ROM addresses of called interface function pointer, the content obtained in the address is quilt The function pointer for calling;
E. console module enter line parameter transmission, and according to obtain function pointer call respective function interface process related data or Person's related hardware is operated.
10. intelligent apparatus development platform according to claim 3, it is characterised in that console module is closed according to application module The effectiveness of key information determines whether to load the functional module in application module, to loading, then jumps to application module image Entry address performs, and returns console module after execution.
CN201611035872.7A 2016-11-09 2016-11-09 Intelligent device development platform Active CN106598647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611035872.7A CN106598647B (en) 2016-11-09 2016-11-09 Intelligent device development platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611035872.7A CN106598647B (en) 2016-11-09 2016-11-09 Intelligent device development platform

Publications (2)

Publication Number Publication Date
CN106598647A true CN106598647A (en) 2017-04-26
CN106598647B CN106598647B (en) 2020-10-30

Family

ID=58592693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611035872.7A Active CN106598647B (en) 2016-11-09 2016-11-09 Intelligent device development platform

Country Status (1)

Country Link
CN (1) CN106598647B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037933A (en) * 2017-11-03 2018-05-15 链家网(北京)科技有限公司 The collocation method and system of urban service in a kind of building service application program
CN109345796A (en) * 2018-09-14 2019-02-15 深圳世元云标识科技有限公司 A kind of advertising lamp box monitors and intelligent Compare System and method automatically
CN113190257A (en) * 2021-04-30 2021-07-30 深圳市华沃表计科技有限公司 Remote upgrading method for intelligent electric energy meter
CN116136770A (en) * 2023-04-20 2023-05-19 烟台东方威思顿电气有限公司 Singlechip program upgrading method based on module
CN116165352A (en) * 2023-04-23 2023-05-26 河北华清环境科技集团股份有限公司 Quality control system of flue gas on-line monitor

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202583866U (en) * 2011-12-20 2012-12-05 天津市优耐特汽车电控技术服务有限公司 Automobile electric control element developing and testing platform
CN103617231A (en) * 2013-11-26 2014-03-05 国家电网公司 Large data management system
CN103905553A (en) * 2014-04-04 2014-07-02 江苏林洋电子股份有限公司 Cloud architecture of energy efficiency management system and operation method thereof
CN104750475A (en) * 2013-12-31 2015-07-01 深圳航天东方红海特卫星有限公司 Micro satellite on-orbit reconstruction frame system and method
US20150268936A1 (en) * 2014-03-21 2015-09-24 Ptc Inc. System and method for testing computing devices in a heterogeneous environment
CN105338043A (en) * 2014-08-11 2016-02-17 国家电网公司 Electric power system dispatching automatic communication and plant station end online monitoring system
CN105930201A (en) * 2016-04-25 2016-09-07 南京大学 Functional simulator for reconfigurable dedicated processor core

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202583866U (en) * 2011-12-20 2012-12-05 天津市优耐特汽车电控技术服务有限公司 Automobile electric control element developing and testing platform
CN103617231A (en) * 2013-11-26 2014-03-05 国家电网公司 Large data management system
CN104750475A (en) * 2013-12-31 2015-07-01 深圳航天东方红海特卫星有限公司 Micro satellite on-orbit reconstruction frame system and method
US20150268936A1 (en) * 2014-03-21 2015-09-24 Ptc Inc. System and method for testing computing devices in a heterogeneous environment
CN103905553A (en) * 2014-04-04 2014-07-02 江苏林洋电子股份有限公司 Cloud architecture of energy efficiency management system and operation method thereof
CN105338043A (en) * 2014-08-11 2016-02-17 国家电网公司 Electric power system dispatching automatic communication and plant station end online monitoring system
CN105930201A (en) * 2016-04-25 2016-09-07 南京大学 Functional simulator for reconfigurable dedicated processor core

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037933A (en) * 2017-11-03 2018-05-15 链家网(北京)科技有限公司 The collocation method and system of urban service in a kind of building service application program
CN108037933B (en) * 2017-11-03 2020-07-21 贝壳找房(北京)科技有限公司 Method and system for configuring urban service in real estate service application program
CN109345796A (en) * 2018-09-14 2019-02-15 深圳世元云标识科技有限公司 A kind of advertising lamp box monitors and intelligent Compare System and method automatically
CN113190257A (en) * 2021-04-30 2021-07-30 深圳市华沃表计科技有限公司 Remote upgrading method for intelligent electric energy meter
CN116136770A (en) * 2023-04-20 2023-05-19 烟台东方威思顿电气有限公司 Singlechip program upgrading method based on module
CN116136770B (en) * 2023-04-20 2023-06-23 烟台东方威思顿电气有限公司 Singlechip program upgrading method based on module
CN116165352A (en) * 2023-04-23 2023-05-26 河北华清环境科技集团股份有限公司 Quality control system of flue gas on-line monitor

Also Published As

Publication number Publication date
CN106598647B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN106598647A (en) Intelligent apparatus development platform
DK1476809T3 (en) Create mobile middleware services platform platform for mobile terminals
CA2768752C (en) Terminal device of non-android platform for executing android applications, and computer readable recording medium for storing program of executing android applications on non-android platform
US8490070B2 (en) Unified mobile platform
CN100552628C (en) In vedio on radio binary operation environment Platform Implementation dynamic link library method
CN105378689B (en) Method and apparatus for unified Extensible Firmware Interface (UEFI) driver and agreement
CN103853586B (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
US20130061240A1 (en) Two way communication support for heterogenous processors of a computer platform
US20090327996A1 (en) Framework for Programming Embedded System Applications
CN107077379B (en) A kind of virtual machine creation method and device
CN103793255B (en) Starting method for configurable multi-main-mode multi-OS-inner-core real-time operating system structure
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
US8943486B2 (en) Multiple instruction execution mode resource-constrained device
CN1813243B (en) Apparatus and methods for desynchronizing object-oriented software applications in managed runtime environments
CN106796521B (en) API version control independent of product release
CN109358839B (en) Method for developing embedded single-chip microcomputer software and storage medium
JP2004503866A (en) Modular computer system and related methods
CN116643778B (en) Application program optimization method and electronic equipment
CN103853557A (en) Method for starting WinCE by utilizing Uboot network
CN112698912A (en) Java Card virtual machine operating environment and memory management method
US20080320490A1 (en) Method, apparatus and computer program product for providing sub-process resource management
CN109753293A (en) A kind of processing method and relevant device of plug-in unit
CN110851140B (en) System and method for realizing dynamic library of single chip microcomputer
CN110262874B (en) Novel internet of things multitasking operating system and method based on java virtual machine
CN109460280A (en) Run method, the terminal of program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant