CN106227688A - A kind of compatible multimodal target machine software maintenance communication means - Google Patents

A kind of compatible multimodal target machine software maintenance communication means Download PDF

Info

Publication number
CN106227688A
CN106227688A CN201610595946.6A CN201610595946A CN106227688A CN 106227688 A CN106227688 A CN 106227688A CN 201610595946 A CN201610595946 A CN 201610595946A CN 106227688 A CN106227688 A CN 106227688A
Authority
CN
China
Prior art keywords
target machine
interface
communication interface
maintenance
data
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
CN201610595946.6A
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.)
Xian Flight Automatic Control Research Institute of AVIC
Original Assignee
Xian Flight Automatic Control Research Institute of AVIC
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 Xian Flight Automatic Control Research Institute of AVIC filed Critical Xian Flight Automatic Control Research Institute of AVIC
Priority to CN201610595946.6A priority Critical patent/CN106227688A/en
Publication of CN106227688A publication Critical patent/CN106227688A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention belongs to embedded software developing designing technique, be specifically related to a kind of compatible multimodal target machine software maintenance communication means.The compatible multimodal target machine software maintenance communication means of the present invention formulates unified software upgrading on target machine, the calling interface of service is safeguarded in debugging etc., under target machine software maintenance state, whether target machine cyclic query between its each communication interface supported receives data, when after any interface to data, to continue from these interface data, until the bag data that composition is complete, it is then based under this interface host computer in Protocol Analysis packet and calls information on services, maintenance service corresponding in invocation target machine, after being maintained the response data of service, response data is returned by this communication interface, complete the full maintenance service request of host computer, then target machine continues cyclic query between each communication interface, repeat above procedure, realize the maintenance service support to each interface.

Description

A kind of compatible multimodal target machine software maintenance communication means
Technical field
The invention belongs to embedded software developing designing technique, be specifically related to a kind of compatible multimodal target machine software dimension Protect communication means.
Background technology
For the embedded system being made up of the target machine of multiple different frameworks, in the development phase that system is different, each All there is different software upgradings and debugging connection requirement in target machine, there is different main frames and target machine communication under every kind of demand Mode, as passed through serial ports or ethernet line communication in the veneer development phase, is communicated by intra-system bus in the system maintenance stage Deng.In tradition development process, under which kind of demand model, a kind of fixing communication mode the most only supported by target machine, and a kind of solid Fixed communication not applicable system is at different development phases target machine software upgrading and debugging demand, this target machine communication pattern Unicity cause the software upgrading in system development stage complicated with debugging process, inefficiency, increase system development cost.
Summary of the invention
It is an object of the invention to: introduce a kind of compatible multimodal target machine software maintenance communication means.
The present invention adopts the technical scheme that: formulates unified software upgrading, debugging etc. on target machine and safeguards service Calling interface, when target machine is under software maintenance state, whether cyclic query between its each communication interface supported for target machine Receiving data, when target machine is after any interface to data, continuing from these interface data, until forming this communication Bag data complete under interface, target machine obtains host computer based on Protocol Analysis under this interface and calls information on services and adjust With corresponding maintenance service, after being maintained the response data of service, return response data by this communication interface, complete The full maintenance service request of position machine, then target machine continues cyclic query between each communication interface, it is achieved the dimension to each interface Protect service support, thus meet the maintenance communication requirement of different mode.Concrete operation step is as follows:
To software upgrading, debugging etc. are all kinds of, step 1, at target machine end, safeguards that demand for services formulates unified calling interface, The same class service calling interface when different communication interface accessing is identical;
Step 2 target machine starts and operates in maintenance state, and the bus communication of target machine cyclic query support in turn connects Mouthful, after receiving data from any one bus communication interface, target machine Protocol Analysis based on this communication interface connects The data that receive also continue to data, until obtaining the complete packet that under this communication interface, communication protocol is specified;
Step 3 target machine resolves according to the communication protocol of above-mentioned communication interface and obtains the host computer tune comprised in packet With safeguarding information on services, call the maintenance service of correspondence;
Step 4 target machine performs to safeguard service, returns response data, by response data by receiving the communication of data Interface returns to host computer, completes the full maintenance service request of host computer;
Step 5 target machine continues cyclic query between the bus communication interface supported, repeats the step 2 mistake to step 4 Journey.
The present invention has the advantage that and beneficial effect: the compatible multimodal target machine software maintenance communication party of one of the present invention Method, is defined by the unified interface servicing target on-board maintenance, and each communication interface poll inquiry supporting target machine, Support the maintenance communication requirement in embedded system different development phases, can be entered by serial ports or Ethernet in the veneer development phase Row software upgrading and debugging, can do software upgrading and debugging by intra-system bus in the system integration stage, be not required to by veneer from System is taken out and individually connects communication line and power supply, it is simple to system, in the maintenance process of each development phase, strengthens system Maintainability, improves embedded software developing and maintenance efficiency.
Accompanying drawing explanation
Fig. 1 is compatible multimodal target machine software maintenance method overview flow chart.
Detailed description of the invention
Below as a example by target machine carries out target machine software maintenance under veneer or system model, to a kind of compatible multi-mode Target machine software maintenance method be introduced, method overview flow chart is shown in Fig. 1, specifically comprises the following steps that
To software upgrading, debugging etc. on target machine are all kinds of, step one, at target machine end, safeguards that demand for services formulates unification Calling interface, as accessed target machine Flash, depositor reads, internal storage access formulates unified service call interface respectively, with One class service when by the different communication interface accessing of target machine to call service interface identical.
Step 2 target machine is in veneer pattern according to maintenance needs and separately maintains or be in system model based on whole system System is safeguarded, after target machine starts and operates in maintenance state, and the bus communication interface that target machine circulation wheel continuous query is supported, when After any one bus communication interface receives data, target machine Protocol Analysis based on this communication interface receives Data also continue to data, until obtaining a complete packet according to communication protocol under this communication interface.
Step 3 target machine according to described in receive packet communication interface communication protocol resolve obtain data Bag, the maintenance information on services of host computer request call in analytical data bag, target machine calls the maintenance service of correspondence, such as host computer Flash data is downloaded in request, then target machine calls Flash access service interface, and the parameter that host computer is asked is passed to service Interface.
Step 4 target machine performs the above-mentioned maintenance service called, and returns response data, as above-mentioned Flash accesses service Return is downloaded Flash data whether successfully response data, target machine by response data by receiving host computer data Communication interface returns to host computer, completes the full maintenance service request of host computer;
Step 5 target machine continues cyclic query between the bus communication interface supported, repeats step 2 to step 4 Process.Realize all kinds of EBIs are safeguarded the support of service, thus meet the maintenance communication requirement of different mode, thus meet All kinds of maintenance needs under veneer maintenance pattern and system maintenance pattern.

Claims (2)

1. a compatibility multimodal target machine software maintenance communication means, it is characterised in that formulate unification on target machine The calling interface of service is safeguarded in software upgrading, debugging etc., and when target machine is under software maintenance state, target machine is supported at it Between each communication interface, whether cyclic query receives data, when target machine is after any interface to data, continuation is connect from this Mouth receives data, until forming bag data complete under this communication interface, target machine is based on Protocol Analysis under this interface Obtain host computer call information on services and call the maintenance service of correspondence, after being maintained the response data of service, by this Communication interface returns response data, completes the full maintenance service request of host computer, and then target machine continues in each communication interface Between cyclic query, it is achieved the maintenance service support to each interface.
Compatibility the most according to claim 1 multimodal target machine software maintenance communication means, it is characterised in that specifically walk Rapid as follows:
To software upgrading, debugging etc. are all kinds of, step 1, at target machine end, safeguards that demand for services formulates unified calling interface, same The class service calling interface when different communication interface accessing is identical;
Step 2 target machine starts and operates in maintenance state, target machine cyclic query in turn support bus communication interface, when from After any one bus communication interface receives data, the number that target machine Protocol Analysis based on this communication interface receives According to and continue to data, until obtaining the complete packet that communication protocol is specified under this communication interface;
Step 3 target machine resolves, according to the communication protocol of above-mentioned communication interface, the host computer comprised in acquisition packet and calls maintenance Information on services, calls the maintenance service of correspondence;
Step 4 target machine performs to safeguard service, returns response data, response data is returned by the communication interface receiving data Back to host computer, complete the full maintenance service request of host computer;
Step 5 target machine continues cyclic query between the bus communication interface supported, repeats the step 2 process to step 4.
CN201610595946.6A 2016-07-26 2016-07-26 A kind of compatible multimodal target machine software maintenance communication means Pending CN106227688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610595946.6A CN106227688A (en) 2016-07-26 2016-07-26 A kind of compatible multimodal target machine software maintenance communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610595946.6A CN106227688A (en) 2016-07-26 2016-07-26 A kind of compatible multimodal target machine software maintenance communication means

Publications (1)

Publication Number Publication Date
CN106227688A true CN106227688A (en) 2016-12-14

Family

ID=57533054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610595946.6A Pending CN106227688A (en) 2016-07-26 2016-07-26 A kind of compatible multimodal target machine software maintenance communication means

Country Status (1)

Country Link
CN (1) CN106227688A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155637A (en) * 2016-07-26 2016-11-23 中国航空工业集团公司西安飞行自动控制研究所 A kind of Multi-target machine parallel communication method based on redundance
CN110366038A (en) * 2019-07-11 2019-10-22 四川长虹电器股份有限公司 The method of multiversion software hardware compatibility multiple technologies state
CN113760627A (en) * 2021-07-27 2021-12-07 飞腾信息技术有限公司 Method and device for controlling interface debugging in bus by adopting response mechanism

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006095994A1 (en) * 2005-03-07 2006-09-14 Lg Electronics Inc. Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system
CN1968288A (en) * 2006-09-22 2007-05-23 上海微电子装备有限公司 Data communication system and method for distributed system
CN102567029A (en) * 2011-12-31 2012-07-11 深圳市中兴昆腾有限公司 Extendable software design architecture
CN102902624A (en) * 2012-11-09 2013-01-30 上海斐讯数据通信技术有限公司 Software debugging system and method
CN103984968A (en) * 2014-05-13 2014-08-13 南京普天通信股份有限公司 Multiplexing data collection system and method with unified external interfaces
CN104539631A (en) * 2015-01-20 2015-04-22 成都市酷岳科技有限公司 Method and module for realizing information exchange and high-speed transmission
CN104656514A (en) * 2015-01-20 2015-05-27 成都信升斯科技有限公司 Intelligent data acquisition system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006095994A1 (en) * 2005-03-07 2006-09-14 Lg Electronics Inc. Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system
CN1968288A (en) * 2006-09-22 2007-05-23 上海微电子装备有限公司 Data communication system and method for distributed system
CN102567029A (en) * 2011-12-31 2012-07-11 深圳市中兴昆腾有限公司 Extendable software design architecture
CN102902624A (en) * 2012-11-09 2013-01-30 上海斐讯数据通信技术有限公司 Software debugging system and method
CN103984968A (en) * 2014-05-13 2014-08-13 南京普天通信股份有限公司 Multiplexing data collection system and method with unified external interfaces
CN104539631A (en) * 2015-01-20 2015-04-22 成都市酷岳科技有限公司 Method and module for realizing information exchange and high-speed transmission
CN104656514A (en) * 2015-01-20 2015-05-27 成都信升斯科技有限公司 Intelligent data acquisition system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155637A (en) * 2016-07-26 2016-11-23 中国航空工业集团公司西安飞行自动控制研究所 A kind of Multi-target machine parallel communication method based on redundance
CN110366038A (en) * 2019-07-11 2019-10-22 四川长虹电器股份有限公司 The method of multiversion software hardware compatibility multiple technologies state
CN110366038B (en) * 2019-07-11 2021-08-06 四川长虹电器股份有限公司 Method for multi-version software equipment to be compatible with multiple technical states
CN113760627A (en) * 2021-07-27 2021-12-07 飞腾信息技术有限公司 Method and device for controlling interface debugging in bus by adopting response mechanism
CN113760627B (en) * 2021-07-27 2023-03-21 飞腾信息技术有限公司 Method and device for controlling interface debugging in bus by adopting response mechanism

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN100589078C (en) Multi-core terminal firmware upgrading method
CN106227688A (en) A kind of compatible multimodal target machine software maintenance communication means
CN109714440A (en) For docking the Wi-Fi mould group and its interconnection method of multiple cloud platforms
CN105071948A (en) Automatic deployment method and device for access switcher
CN112612533B (en) BMC setup option modification method based on CentOS in ARM server
CN103546532A (en) Method and system for shared data in application
CN103309833A (en) Equipment integrating method, terminal device and distributed multi-terminal device system
CN103916374A (en) Service gated launch method and device
CN1996878A (en) A method for information conversion of the simple object access protocol service management interface
JP2021533515A (en) Methods and systems that allow USB devices to operate as Internet of Things (IoT) devices based on a mono description model.
CN1617496A (en) Method for automaticall updating configuration for next generation network terminal
CN103685564A (en) Plug-in application ability layer introduced industry application online operation cloud platform architecture
CN107770299A (en) A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium
CN106708573A (en) System and method used for automatic installation of Hadoop cluster
CN111510363A (en) Slave station conversion device based on MODBUS protocol and control method thereof
CN102377506A (en) Test message processing system
CN106802901A (en) The method and device of data base querying
CN107894886A (en) The method, apparatus and terminal device of a kind of operation code
CN103379006A (en) Data card self-adaptive method and apparatus
CN105956154A (en) Method and device for privilege control
CN103077078A (en) Method of defining state transitions in a software and application control management object
CN104578418B (en) Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment
CN106648441A (en) Method and device for transferring equipment partition information
CN111400281B (en) GIS data quality inspection and storage method for OSS object storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161214

WD01 Invention patent application deemed withdrawn after publication