Movatterモバイル変換


[0]ホーム

URL:


CN101316202B - On-line diagnosis method and system of embedded software, embedded software device - Google Patents

On-line diagnosis method and system of embedded software, embedded software device
Download PDF

Info

Publication number
CN101316202B
CN101316202BCN200810137828ACN200810137828ACN101316202BCN 101316202 BCN101316202 BCN 101316202BCN 200810137828 ACN200810137828 ACN 200810137828ACN 200810137828 ACN200810137828 ACN 200810137828ACN 101316202 BCN101316202 BCN 101316202B
Authority
CN
China
Prior art keywords
message
embedded software
submodule
diagnosis server
proxy 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.)
Expired - Fee Related
Application number
CN200810137828A
Other languages
Chinese (zh)
Other versions
CN101316202A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CN200810137828ApriorityCriticalpatent/CN101316202B/en
Publication of CN101316202ApublicationCriticalpatent/CN101316202A/en
Application grantedgrantedCritical
Publication of CN101316202BpublicationCriticalpatent/CN101316202B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses an online diagnosis method and system of embedded software, and an embedded software device, wherein, the method includes the steps that: a detection proxy module used for monitoring a message is set in the embedded software; the detection proxy module receives the message transmitted by the sub-module of the embedded software, and transmits the message to a diagnosis server for diagnosis. The invention improves the actual performance and the stability of the software.

Description

The inline diagnosis method and system of embedded software, embedded software device
Technical field
The present invention relates to the communications field, in particular to a kind of inline diagnosis method and system, embedded software device of embedded software.
Background technology
In recent years, the complexity of embedded software is increasingly high, and the function of its realization is also more and more with the submodule that comprises.Especially in the optical communication product scope, above-mentioned situation is more obvious, and along with the increase of optical transmission bandwidth and the raising of optical communication intelligent product level, in optical communication equipment, embedded software becomes and becomes increasingly complex with important.
Fig. 1 is the sketch map according to the embedded software of correlation technique, and is as shown in Figure 1, in present embedded software; Through the mutual message of internal interface, pass through the mutual message of external interface between submodule and the external module, still between the submodule (Fig. 1 shows submodule 1, submodule 2, submodule 3) of embedded software inside; The software running process state can not in time be monitored; Can't monitor and judge with the correctness of the message interaction between the external module message interaction between each submodule and software in the software, therefore, when software generation problem; Can not diagnose in time, locate, and then have influence on the actual performance and the stability of software.
Summary of the invention
To when the software generation problem; Can not diagnose in time, locate; And then having influence on the actual performance of software and the problem of stability, the present invention aims to provide a kind of inline diagnosis method and system, embedded software device of embedded software, to address the above problem.
A kind of inline diagnosis method of embedded software is provided according to an aspect of the present invention.
Inline diagnosis method according to embedded software of the present invention comprises: the detection proxy module that in embedded software, is provided for carrying out monitoring messages; Detect the message that submodule that proxy module receives embedded software is made a copy for, and message is sent to diagnosis server diagnose.
Preferably, message is sent to diagnosis server diagnose and be specially: detect proxy module message is carried out format conversion, convert the form of diagnosis server identification into; The message that the detection proxy module will pass through format conversion sends to diagnosis server.
Preferably; Said method further comprises: detect proxy module and receive the new message that diagnosis server issues; And new message is transmitted to submodule; Wherein, diagnosis server detects under the wrong situation of message that proxy module sends structure and issues new message diagnosing, and submodule is to make a copy for the submodule of message in the embedded software.
Preferably, said method further comprises: the result according to the diagnosis server diagnosis confirms to occur unusual submodule.
Preferably, message comprises one of following: mutual message between the submodule of mutual message, embedded software and the external module between the inner submodule of embedded software.
According to a further aspect in the invention, a kind of embedded software device is provided.
According to embedded software device of the present invention, comprise a plurality of submodules that connect through internal interface, above-mentioned plug in software module also comprises: detect proxy module, be used to receive the message that submodule is made a copy for, and message is transmitted to diagnosis server diagnoses.
Preferably; Detect proxy module and also be used to receive the new message that diagnosis server issues; And new message is transmitted to submodule; Wherein, diagnosis server detects under the wrong situation of message that proxy module sends structure and issues new message diagnosing, and submodule is to make a copy for the submodule of message in the embedded software.
A kind of in-circuit diagnostic system of embedded software is provided according to a further aspect in the invention.
In-circuit diagnostic system according to embedded software of the present invention; Comprise one or more above-mentioned embedded software devices, and further comprise diagnosis server that is connected with one or more embedded software devices and the one or more diagnostic client that are connected with diagnosis server.
Through the present invention, be employed in the method that detects proxy module is set in the embedded software, overcome when software generation problem, can not diagnose in time, orientation problem, and then improve the actual performance and the stability of software.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the sketch map according to the embedded software of correlation technique;
Fig. 2 is the flow chart according to the inline diagnosis method of the embedded software of the embodiment of the invention;
Fig. 3 is the block diagram according to the embedded software device of the embodiment of the invention;
Fig. 4 is the block diagram according to the in-circuit diagnostic system of the embedded software of the embodiment of the invention;
Fig. 5 is the sketch map according to the networking monitoring of the embodiment of the invention.
Embodiment
The invention provides a kind of inline diagnosis method and system, embedded software device of embedded software; Can in software running process, monitor, diagnose easily and effectively the running status of software (especially for the complicated embedded software in the optical communication product); In time obtain abnormality information; And more preferably; External module through such as diagnosis server issues correct message to monitored software, makes running software recover normal, and then has improved actual performance, stability, the market competitiveness of software.Below with reference to accompanying drawing and combine embodiment, specify the present invention.
Method embodiment
According to embodiments of the invention, a kind of inline diagnosis method of embedded software is provided.Fig. 2 is the flow chart according to the inline diagnosis method of the embedded software of the embodiment of the invention, and is as shown in Figure 2, and this method comprises:
Step S202 is provided for carrying out the detection proxy module (TestAgent detects the agency) of monitoring messages in embedded software;
Particularly, in the inner sub-module (that is, above-mentioned detection proxy module) that increases of monitored software (that is, above-mentioned embedded software), its effect is in software running process, the internal interface of software and the message of external interface place forwarding to be monitored and transmitted; Through above-mentioned software is provided with; Make no matter be monitored software and external system interface (for example; Optical communication equipment is with the interface between the webmaster), the still interface between the monitored software inhouse module, the message of transmitting through the above-mentioned interface portion of all can making a copy for is simultaneously given TestAgent;
Step S204; The message that the submodule of detection proxy module reception embedded software is made a copy for; And message is sent to diagnosis server diagnose, it is one of following that above-mentioned message comprises: mutual message between the submodule of mutual message, embedded software and the external module between the inner submodule of embedded software.
Message is being sent to before diagnosis server diagnoses; Detect proxy module and can carry out format conversion message; Convert the form of diagnosis server identification into, afterwards, detect message that proxy module will pass through format conversion (promptly; The message that monitoring obtains) sends to diagnosis server (that is, SERVER); Wherein, because TestAgent can do the message format conversion, make SERVER insensitive to the data message format.
Through above embodiment, be employed in the method that detects proxy module is set in the embedded software, can diagnose embedded software in time.
Further; Said method also comprises: diagnosis server is handled the checking that the message that receives carries out correctness; When finding the embedded software running mistake, construct new correct message and be handed down to monitored software through SERVER, promptly; Diagnosis server is the new message of structure under the wrong situation of the message of diagnosing the detection proxy module to send, and new message is handed down to the detection proxy module; Afterwards, detect proxy module and receive the new message that diagnosis server issues, and new message is transmitted to the submodule of the message of making a copy for of embedded software; And, confirm to occur unusual submodule according to the result of diagnosis server diagnosis.
Through above embodiment; The method that adopts diagnosis server that unusual submodule is appearred in the diagnosis and the location of embedded software; Overcome when software generation problem, can not diagnose in time, orientation problem, and then improved the actual performance and the stability of software.
Device embodiment
According to embodiments of the invention, a kind of embedded software device is provided.Fig. 3 is the block diagram according to the embedded software device of the embodiment of the invention, and is as shown in Figure 3, and this device comprises a plurality of submodules (that is, submodule 1, submodule 2, submodule 3) that connect through internal interface, and plug in software module also comprises:
Detect proxy module 32, be used to receive the message that submodule is made a copy for, and message is transmitted to diagnosis server diagnoses.
Further; Detect proxy module and also be used to receive the new message that diagnosis server issues; And new message is transmitted to the submodule of the message of making a copy for of embedded software, wherein, diagnosis server detects under the wrong situation of message that proxy module sends structure and issues new message diagnosing.
Through this embodiment, be employed in the method that detects proxy module is set in the embedded software device, overcome when software generation problem, can not diagnose in time, orientation problem, and then improve the actual performance and the stability of software.
System embodiment
According to embodiments of the invention, a kind of in-circuit diagnostic system of embedded software is provided.In-circuit diagnostic system according to the embedded software of the embodiment of the invention comprises the one or more embedded software devices according to the embodiment of the invention, and further comprises diagnosis server that is connected with one or more embedded software devices and the one or more clients that are connected with diagnosis server.
Fig. 4 is the block diagram according to the in-circuit diagnostic system of the embedded software of the embodiment of the invention; As shown in Figure 4; Comprise an embedded software device, that is, embedded software 40 is (comprising detecting proxy module 32; And further comprise a diagnosis server 44 that is connected with an embedded software device and adiagnostic client 46 that is connected with diagnosis server, the said system in the face of the embodiment of the invention is described in detail down:
Embedded software 40 comprises a plurality of submodules that connect through internal interface (promptly; Submodule 1, submodule 2, submodule 3); Embedded software also comprises: detect proxy module 32 (promptly; TESTAGENT), be used to receive the message that submodule is made a copy for, and message is transmitted to diagnosis server diagnoses; Also be used to receive the new message that diagnosis server issues, and new message is transmitted to the submodule of the message of making a copy for of embedded software, wherein, diagnosis server detects under the wrong situation of message that proxy module sends structure and issues new message diagnosing;
Diagnosis server (that is, and SERVER) 44, be connected to and detect proxy module 32, be used to receive message from detecting proxy module, message is diagnosed, under the wrong situation of the message of diagnosing the detection proxy module to send, construct and issue new message; The checking processing of SERVER and data call flow process can realize through the mode of Run Script;
Diagnostic client (that is, and CLIENT) 46, be connected to diagnosis server 44, be used to show message that diagnosis server receives and structure and the new message that issues, that is, show the message content of reception and processing at CLIENT place;
In addition, also show the external module 48 that is connected with embedded software 40 among Fig. 4.
Fig. 5 is the sketch map according to the networking monitoring of the embodiment of the invention; As shown in Figure 5; Comprise a plurality of embedded softwares (that is, embeddedsoftware 401, embeddedsoftware 402 are to embeddedsoftware 40N), wherein; Embeddedsoftware 401 comprises that detection proxy module 321, embeddedsoftware 402 comprise detection proxy module 322, comprise to embeddedsoftware 40N and detect proxy module 323; And further comprise diagnosis server 44 that is connected with a plurality of embedded softwares and a plurality of clients that are connected with diagnosis server (that is, diagnostic client comprises:diagnostic client 461,diagnostic client 462 are todiagnostic client 46N).
Because the in-circuit diagnostic system of the embedded software of the embodiment of the invention organically has been divided into diagnosis server, has detected proxy module, diagnostic client three parts; Concerning the user; Can be according to the diagnosis requirement of reality; Be configured neatly, be implemented in diagnosis or single-point diagnosis under the networking situation.
Through above embodiment; Be employed in to be provided with in the embedded software and detect proxy module and E-Packet to the diagnosis server method of diagnosing through detecting proxy module; Solved in the embedded software running process between each submodule and the timely monitoring and the judgement of the message interaction between submodule and the external module; When software generation problem, can diagnose, locate have problems interface or submodule in time, and then improve the actual performance and the stability of software.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

CN200810137828A2008-07-032008-07-03On-line diagnosis method and system of embedded software, embedded software deviceExpired - Fee RelatedCN101316202B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN200810137828ACN101316202B (en)2008-07-032008-07-03On-line diagnosis method and system of embedded software, embedded software device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN200810137828ACN101316202B (en)2008-07-032008-07-03On-line diagnosis method and system of embedded software, embedded software device

Publications (2)

Publication NumberPublication Date
CN101316202A CN101316202A (en)2008-12-03
CN101316202Btrue CN101316202B (en)2012-10-10

Family

ID=40107059

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN200810137828AExpired - Fee RelatedCN101316202B (en)2008-07-032008-07-03On-line diagnosis method and system of embedded software, embedded software device

Country Status (1)

CountryLink
CN (1)CN101316202B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102004683B (en)*2010-11-172013-03-20广东威创视讯科技股份有限公司Online diagnosis system and method of embedded equipment
CN113438046B (en)*2021-06-252022-07-08烽火通信科技股份有限公司Management method and system for realizing multiplexing technology based on message slice

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1505868A (en)*2000-11-032004-06-16康尼克森系统公司 Method and device for configuring or diagnosing a communication device
CN1741568A (en)*2001-03-202006-03-01汤姆森许可公司Method and system for remote diagnostics
CN1848764A (en)*2005-12-222006-10-18华为技术有限公司 A remote management and maintenance system for server and network equipment and its implementation method
US7281040B1 (en)*2000-03-072007-10-09Cisco Technology, Inc.Diagnostic/remote monitoring by email
CN101140541A (en)*2007-09-292008-03-12中兴通讯股份有限公司Integration test system of distributed software system and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7281040B1 (en)*2000-03-072007-10-09Cisco Technology, Inc.Diagnostic/remote monitoring by email
CN1505868A (en)*2000-11-032004-06-16康尼克森系统公司 Method and device for configuring or diagnosing a communication device
CN1741568A (en)*2001-03-202006-03-01汤姆森许可公司Method and system for remote diagnostics
CN1848764A (en)*2005-12-222006-10-18华为技术有限公司 A remote management and maintenance system for server and network equipment and its implementation method
CN101140541A (en)*2007-09-292008-03-12中兴通讯股份有限公司Integration test system of distributed software system and method thereof

Also Published As

Publication numberPublication date
CN101316202A (en)2008-12-03

Similar Documents

PublicationPublication DateTitle
CN105897652A (en)Standard protocol based heterogeneous terminal dynamic access method
CN101953139B (en)DHCP in response to Internet connectedness initializes
CN107852415B (en) Method and apparatus for non-reactive transfer of data between networks
CN111164923A (en)Design for unidirectional data transmission
TW201419773A (en)Read optical power link service for link health diagnostics
CN103414916A (en)Fault diagnosis system and method
CN106487444A (en)A kind of method and system realizing mobile terminal and telecommunication apparatus data communication
CN103138988A (en)Positioning treatment method and positioning treatment device of network faults
US8566922B2 (en)System for isolating a secured data communication network
CN109327337A (en)Fault information reporting method, device, terminal device and computer storage medium
CN103096038B (en)The method for supervising of the fusion video monitoring system of multi-protocol video watch-dog access
CN104769891A (en)Method and apparatus to display information on a web browser based upon state of communication link
CN112751720B (en)Train backbone network system, fault detection method and storage medium
CN101316202B (en)On-line diagnosis method and system of embedded software, embedded software device
CN103595611B (en)The realization method and system and equipment of instant messaging application
CN107948636A (en)A kind of automatic fault selftesting localization method based on IPTV set top box error code
CN113296998B (en)Data communication abnormality recovery method and device, electronic equipment and storage medium
CN107911288B (en)Train communication network card and train control management system
EP4418576B1 (en)Apparatus and method for remote monitoring
CN206100062U (en)Based on incessant communication device of car networking systems real -time data
CN105808418B (en)Test machine register method, apparatus and system
CN114257632B (en)Method and device for reconnecting broken wire, electronic equipment and readable storage medium
US20070047448A1 (en)Network equipment testing method and system
CN115277362A (en) Fault diagnosis method, apparatus, electronic device and computer readable medium
CN108259086B (en)Online monitoring method, device and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20121010

Termination date:20190703


[8]ページ先頭

©2009-2025 Movatter.jp