CN105843773A - Automatic identification method of function extension module of embedded system - Google Patents

Automatic identification method of function extension module of embedded system Download PDF

Info

Publication number
CN105843773A
CN105843773A CN201610375116.2A CN201610375116A CN105843773A CN 105843773 A CN105843773 A CN 105843773A CN 201610375116 A CN201610375116 A CN 201610375116A CN 105843773 A CN105843773 A CN 105843773A
Authority
CN
China
Prior art keywords
chip microcomputer
main frame
expansion module
module
extension module
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
CN201610375116.2A
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.)
SHANGHAI COMPLEE INSTRUMENT CO Ltd
Original Assignee
SHANGHAI COMPLEE INSTRUMENT 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 SHANGHAI COMPLEE INSTRUMENT CO Ltd filed Critical SHANGHAI COMPLEE INSTRUMENT CO Ltd
Priority to CN201610375116.2A priority Critical patent/CN105843773A/en
Publication of CN105843773A publication Critical patent/CN105843773A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
    • G06F15/17337Direct connection machines, e.g. completely connected computers, point to point communication networks
    • G06F15/17343Direct connection machines, e.g. completely connected computers, point to point communication networks wherein the interconnection is dynamically configurable, e.g. having loosely coupled nearest neighbor architecture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Multi Processors (AREA)

Abstract

The invention relates to an automatic identification method of the function extension module of an embedded system. The automatic identification method is characterized in that a first single-chip microcomputer is arranged in a mainframe, a second single-chip microcomputer is arranged in the function extension module, each of the first single-chip microcomputer and the second single-chip microcomputer comprises a communication interface, the communication interface of the first single-chip microcomputer is connected with the communication interface of the second single-chip microcomputer, the mainframe transmits an inquiry command to the second single-chip microcomputer through the first single-chip microcomputer in a time-sharing manner, the second single-chip microcomputer returns the self-description data to the mainframe through the first single-chip microcomputer after receiving the inquiry command, the description data comprises the name of the extension module where the second single-chip microcomputer is located, the function of the extension module and the input-output information of the extension module, and the mainframe processes the returned description data. By the automatic identification method, the mainframe can automatically identify the function and parameters of the extension module, the function of the extension module can be identified when the extension module is mounted at optional positions, later mounting of the extension module is achieved, and the later function upgrading of a client system is facilitated.

Description

Embedded system function expanding module automatic identifying method
Technical field:
The present invention relates to electricity field, particularly relate to the expansion technique of functional module in embedded system, particularly a kind of embedded system function expanding module automatic identifying method.
Background technology:
The commonly used integrated mode of industrial technology system, the quick upgrading ability of its system requirements, the Quick Extended of systemic-function is particularly important.In prior art, it is internal that expansion module is arranged on embedded host (or instrument), delivers with embedded host (or instrument), and later maintenance is inconvenient;If expansion module needs specifying position to install when main frame (or instrument) outside extension, if wrongly installed, it be likely to occur unrepairable and damage, and the quantity of a certain functional module is required;User needs to be configured by button or alternate manner on main frame (or instrument), informs the type of modules that main frame (or instrument) is installed, uses inconvenience.
Summary of the invention:
It is an object of the invention to provide a kind of embedded system function expanding module automatic identifying method, the technical problem of embedded host expansion module inconvenient operation in described this embedded system function expanding module automatic identifying method prior art to be solved.
nullThis embedded system function expanding module automatic identifying method of the present invention,Including a process that expansion module and main frame (or instrument) are attached,Wherein,One the first single-chip microcomputer is set in main frame (or instrument),One second singlechip is set in expansion module,The first described single-chip microcomputer and second singlechip each include communication interface,Described expansion module and main frame (or instrument) are attached during,The communication interface of the first single-chip microcomputer and the communication interface of second singlechip are connected,Main frame (or instrument) is utilized to send inquiry command by the first single-chip microcomputer to second singlechip timesharing,Second singlechip passes through the first single-chip microcomputer after receiving inquiry command and returns the description data of self to main frame (or instrument),Described description data include the expansion module title at self place、Expansion module function and expansion module input/output information,The description data returned are processed by main frame (or instrument).
Further, corresponding expansion module need to carry out parameter arrange time, add in main frame (or instrument) and interface be set.
Further, utilize main frame (or instrument) periodically to carry out data communication to expansion module, send data or gather data.
The present invention compares with prior art, and its effect is positive and obvious.The present invention is by separately installed with main frame (or instrument) for expansion module, in main frame (or instrument) neutralizes expansion module, single-chip microcomputer is each set, the communication between single-chip microcomputer is utilized to realize main frame (or instrument) to expansion module function and the automatic identification of parameter, therefore its function can be identified when expansion module is installed at an arbitrary position, the later stage achieving expansion module installs, and facilitates the later stage function upgrading of client.
Accompanying drawing illustrates:
Fig. 1 is the schematic diagram of the embedded system function expanding module automatic identifying method of the present invention.
Fig. 2 is the schematic diagram of an embodiment of the embedded system function expanding module automatic identifying method of the present invention.
Fig. 3 is another schematic diagram of an embodiment of the embedded system function expanding module automatic identifying method of the present invention.
Detailed description of the invention:
Embodiment 1:
nullSuch as Fig. 1、Shown in Fig. 2 and Fig. 3,The embedded system function expanding module automatic identifying method of the present invention,Including a process that expansion module and main frame (or instrument) are attached,Wherein,One the first single-chip microcomputer is set in main frame (or instrument),One second singlechip is set in expansion module,The first described single-chip microcomputer and second singlechip each include communication interface,Described expansion module and main frame (or instrument) are attached during,The communication interface of the first single-chip microcomputer and the communication interface of second singlechip are connected,Main frame (or instrument) is utilized to send inquiry command by the first single-chip microcomputer to second singlechip timesharing,Second singlechip passes through the first single-chip microcomputer after receiving inquiry command and returns the description data of self to main frame (or instrument),Described description data include the expansion module title at self place、Expansion module function and expansion module input/output information,The description data returned are processed by main frame (or instrument).
Further, corresponding expansion module need to carry out parameter arrange time, add in main frame (or instrument) and interface be set.
Further, utilize main frame (or instrument) periodically to carry out data communication to expansion module, send data or gather data.
Concrete, as it is shown in figure 1, module 1 to module n is connected with the microcontroller of main frame (or instrument) by UART communication interface.The power supply of module is provided by main frame (or instrument).Main frame (or instrument) and expansion module can carry out the data interaction on software by communication interface.For the protection to module, when installing expansion module to main frame (or instrument), need to disconnect the accessory power supply of main frame (or instrument), module is installed afterwards, when main frame (or instrument) is initially powered, main frame (or instrument) is to the transmission inquiry command of module timesharing, the module receiving order returns the associated description of self to main frame (or instrument), including module name, functions of modules, the information such as module input and output, aft engine (or instrument) be handled differently by these module informations received, if respective modules needs to carry out parameter setting, main frame (or instrument) needs interpolation to arrange interface.Main frame (or instrument) periodically can carry out data communication to module, sends data or gathers data.
The relevant information of main frame (or instrument) inquiry module, if respective modules interface is without information answer within the time of regulation, then it is assumed that this module interface does not installs module, does not deals with.
Fig. 2 and Fig. 3 is the example that expansion module installs to main frame (or instrument), numbering 20 is main frame (or instrument), numbering 10,12,13,14 is expansion module, functional requirement according to main frame (or instrument), several module interface can be opened, in this example open 4,4 modules can be installed in main frame (or instrument) simultaneously, and order no requirement (NR), position no requirement (NR).
Below preferred embodiment to the invention is illustrated, but the present invention is not limited to embodiment, those of ordinary skill in the art also can make modification or the replacement of all equivalents on the premise of the invention spirit, and modification or the replacement of these equivalents are all contained in scope of the present application.

Claims (3)

  1. null1. an embedded system function expanding module automatic identifying method,Including a process that expansion module and main frame are attached,It is characterized in that: first single-chip microcomputer is set in main frame,One second singlechip is set in expansion module,The first described single-chip microcomputer and second singlechip each include communication interface,Described expansion module and main frame are attached during,The communication interface of the first single-chip microcomputer and the communication interface of second singlechip are connected,Utilize main frame to pass through the first single-chip microcomputer and send inquiry command to second singlechip timesharing,Second singlechip passes through the first single-chip microcomputer and returns the description data of self to main frame after receiving inquiry command,Described description data include the expansion module title at self place、Expansion module function and expansion module input/output information,The description data returned are processed by main frame.
  2. 2. embedded system function expanding module automatic identifying method as claimed in claim 1, it is characterised in that: corresponding expansion module need to carry out parameter arrange time, add in main frame and interface be set.
  3. 3. embedded system function expanding module automatic identifying method as claimed in claim 1, it is characterised in that: utilize main frame periodically to carry out data communication to expansion module, send data or gather data.
CN201610375116.2A 2016-05-31 2016-05-31 Automatic identification method of function extension module of embedded system Pending CN105843773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610375116.2A CN105843773A (en) 2016-05-31 2016-05-31 Automatic identification method of function extension module of embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610375116.2A CN105843773A (en) 2016-05-31 2016-05-31 Automatic identification method of function extension module of embedded system

Publications (1)

Publication Number Publication Date
CN105843773A true CN105843773A (en) 2016-08-10

Family

ID=56595170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610375116.2A Pending CN105843773A (en) 2016-05-31 2016-05-31 Automatic identification method of function extension module of embedded system

Country Status (1)

Country Link
CN (1) CN105843773A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846781A (en) * 2017-01-20 2017-06-13 中国电力科学研究院 A kind of method and system of the communication module of automatic identification centralized automatic meter-reading collector
CN106909331A (en) * 2017-01-18 2017-06-30 深圳市沃特玛电池有限公司 A kind of BMS parameter spreads and display system
CN109270342A (en) * 2018-11-13 2019-01-25 江苏斯菲尔电气股份有限公司 Multifunctional electric meter with external expansion module self-identifying technology
CN111443915A (en) * 2020-03-30 2020-07-24 山东华辰连科通信网络有限公司 method and system for realizing C L I command interface on single chip microcomputer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122732A (en) * 1998-10-23 2000-09-19 Compaq Computer Corporation System management interrupt for a desktop management interface/system management basic input output system interface function
CN101592934A (en) * 2009-06-30 2009-12-02 上海电器科学研究所(集团)有限公司 The communication means of programmable logic controller (PLC) and expansion module
CN101901058A (en) * 2009-05-26 2010-12-01 华中师范大学 Wireless keyboard and mouse receiving and transmitting device
CN204695302U (en) * 2015-04-24 2015-10-07 北京盛世光明软件股份有限公司 A kind of peripheral controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122732A (en) * 1998-10-23 2000-09-19 Compaq Computer Corporation System management interrupt for a desktop management interface/system management basic input output system interface function
CN101901058A (en) * 2009-05-26 2010-12-01 华中师范大学 Wireless keyboard and mouse receiving and transmitting device
CN101592934A (en) * 2009-06-30 2009-12-02 上海电器科学研究所(集团)有限公司 The communication means of programmable logic controller (PLC) and expansion module
CN204695302U (en) * 2015-04-24 2015-10-07 北京盛世光明软件股份有限公司 A kind of peripheral controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909331A (en) * 2017-01-18 2017-06-30 深圳市沃特玛电池有限公司 A kind of BMS parameter spreads and display system
CN106846781A (en) * 2017-01-20 2017-06-13 中国电力科学研究院 A kind of method and system of the communication module of automatic identification centralized automatic meter-reading collector
CN106846781B (en) * 2017-01-20 2020-09-01 中国电力科学研究院 Method and system for automatically identifying communication module of centralized meter reading collector
CN109270342A (en) * 2018-11-13 2019-01-25 江苏斯菲尔电气股份有限公司 Multifunctional electric meter with external expansion module self-identifying technology
CN109270342B (en) * 2018-11-13 2024-03-26 江苏斯菲尔电气股份有限公司 Multifunctional ammeter with function expansion module self-identification technology
CN111443915A (en) * 2020-03-30 2020-07-24 山东华辰连科通信网络有限公司 method and system for realizing C L I command interface on single chip microcomputer
CN111443915B (en) * 2020-03-30 2023-05-16 山东华辰连科通信网络有限公司 Method and system for realizing CLI command interface on singlechip

Similar Documents

Publication Publication Date Title
CN105843773A (en) Automatic identification method of function extension module of embedded system
RU2628429C2 (en) Vehicle software update system
CN101840234B (en) Embedded automobile fault diagnosis equipment and updating method thereof
CN109804355A (en) Software renewing apparatus, Oftware updating method, software update system
CN101765237B (en) Intelligent data card and method for realizing same
CN104122883A (en) Automatic automobile controller configuring method
CN105743933B (en) A kind of module updating method and system of router
CN103561172B (en) Method and system for supporting multiple WIFI modules in Android system
CN103795740A (en) Downloading method of plug-in installation packages and downloading terminal
CN103200199A (en) Out of band (OOB) data collection system
US20160345200A1 (en) Intelligent cellular communications gateway device, system, and method
CN102945178B (en) A kind of processing method and system starting the time for the first time for reducing Android TV
CN103455027A (en) Automobile ECU recovery system and recovery method
CN103902480A (en) Android phone driving method and system
CN102831022A (en) Method and device for modifying system configuration
CN105511906A (en) Automatic deploy method, device and system of video platform
CN105138598A (en) Method and system for remotely timing task
CN104538058A (en) Semi-automatic burning device and method
CN102378154A (en) Method and system for upgrading product firmware by wireless network
CN103369037A (en) Method for automatically synchronizing data among Android intelligent equipment
CN105959363A (en) Big data cluster deployment method capable of adapting to hardware configuration
CN105095045A (en) Method and system for monitoring background service of Android system
CN102323943A (en) Virtual-machine-based data storage method and system
CN106161532A (en) A kind of orientation method for cleaning based on cloud service and system
CN205788179U (en) Embedded system function expanding module automatic identification equipment

Legal Events

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

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication