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
CN101316202B CN200810137828A CN200810137828A CN101316202B CN 101316202 B CN101316202 B CN 101316202B CN 200810137828 A CN200810137828 A CN 200810137828A CN 200810137828 A CN200810137828 A CN 200810137828A CN 101316202 B CN101316202 B CN 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 Corp filed Critical ZTE Corp
Priority to CN200810137828A priority Critical patent/CN101316202B/en
Publication of CN101316202A publication Critical patent/CN101316202A/en
Application granted granted Critical
Publication of CN101316202B publication Critical patent/CN101316202B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 a diagnostic 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, embedded software 401, embedded software 402 are to embedded software 40N), wherein; Embedded software 401 comprises that detection proxy module 321, embedded software 402 comprise detection proxy module 322, comprise to embedded software 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 to diagnostic 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)

1. the inline diagnosis method of an embedded software is characterized in that, comprising:
In embedded software, be provided for carrying out the detection proxy module of monitoring messages;
The message that the submodule that said detection proxy module receives said embedded software is made a copy for, and said message is sent to diagnosis server diagnose;
Said detection proxy module receives the new message that said diagnosis server issues; And said new message is transmitted to submodule; Wherein, Said diagnosis server structure and issue said new message under the wrong situation of the said message of diagnosing said detection proxy module to send, said submodule are to make a copy for the submodule of said message in the said embedded software.
2. method according to claim 1 is characterized in that, saidly said message is sent to diagnosis server diagnoses and is specially:
Said detection proxy module carries out format conversion to said message, converts the form of said diagnosis server identification into;
The said message that said detection proxy module will pass through format conversion sends to said diagnosis server.
3. method according to claim 1 is characterized in that, further comprises:
Result according to said diagnosis server diagnosis confirms to occur unusual submodule.
4. according to each described method in the claim 1 to 3, it is characterized in that it is one of following that said message comprises:
Mutual message between the submodule of mutual message, said embedded software and the external module between the inner submodule of said embedded software.
5. an embedded software device comprises a plurality of submodules that connect through internal interface, it is characterized in that said embedded software device also comprises:
Detect proxy module; Be used to receive the message that submodule is made a copy for, and said message is transmitted to diagnosis server diagnoses, and receive the new message that said diagnosis server issues; And said new message is transmitted to submodule; Wherein, said diagnosis server structure and issue said new message under the wrong situation of the said message of diagnosing said detection proxy module to send, said submodule are to make a copy for the submodule of said message in the said embedded software.
6. the in-circuit diagnostic system of an embedded software; It is characterized in that; Comprise one or more embedded software devices according to claim 5, and further comprise diagnosis server that is connected with said one or more embedded software devices and the one or more diagnostic client that are connected with said diagnosis server.
CN200810137828A 2008-07-03 2008-07-03 On-line diagnosis method and system of embedded software, embedded software device Expired - Fee Related CN101316202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810137828A CN101316202B (en) 2008-07-03 2008-07-03 On-line diagnosis method and system of embedded software, embedded software device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810137828A CN101316202B (en) 2008-07-03 2008-07-03 On-line diagnosis method and system of embedded software, embedded software device

Publications (2)

Publication Number Publication Date
CN101316202A CN101316202A (en) 2008-12-03
CN101316202B true CN101316202B (en) 2012-10-10

Family

ID=40107059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810137828A Expired - Fee Related CN101316202B (en) 2008-07-03 2008-07-03 On-line diagnosis method and system of embedded software, embedded software device

Country Status (1)

Country Link
CN (1) CN101316202B (en)

Families Citing this family (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505868A (en) * 2000-11-03 2004-06-16 康尼克森系统公司 Method and apparatus for configuration or diagnostics of a communication device
CN1741568A (en) * 2001-03-20 2006-03-01 汤姆森许可公司 Method and system for remote diagnostics
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
US7281040B1 (en) * 2000-03-07 2007-10-09 Cisco Technology, Inc. Diagnostic/remote monitoring by email
CN101140541A (en) * 2007-09-29 2008-03-12 中兴通讯股份有限公司 Integration test system of distributed software system and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7281040B1 (en) * 2000-03-07 2007-10-09 Cisco Technology, Inc. Diagnostic/remote monitoring by email
CN1505868A (en) * 2000-11-03 2004-06-16 康尼克森系统公司 Method and apparatus for configuration or diagnostics of a communication device
CN1741568A (en) * 2001-03-20 2006-03-01 汤姆森许可公司 Method and system for remote diagnostics
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
CN101140541A (en) * 2007-09-29 2008-03-12 中兴通讯股份有限公司 Integration test system of distributed software system and method thereof

Also Published As

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

Similar Documents

Publication Publication Date Title
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN103404113B (en) A kind of notice method for pushing, device and system
CN103414916B (en) Fault diagnosis system and method
US11251898B2 (en) Device and method for the unidirectional transmission of data
CN101953139B (en) DHCP in response to Internet connectedness initializes
CN106487444A (en) A kind of method and system realizing mobile terminal and telecommunication apparatus data communication
CN107852415B (en) Method and device for the reaction-free transmission of data between networks
TW201419773A (en) Read optical power link service for link health diagnostics
CN106330483A (en) Information acquiring method, client device and server device
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
US8566922B2 (en) System for isolating a secured data communication network
CN106411645A (en) Network data unvarnished transmission system and disconnection detecting method thereof
US20070047448A1 (en) Network equipment testing method and system
CN101964923A (en) Configuration system and method for interactive commands
CN107948636A (en) A kind of automatic fault selftesting localization method based on IPTV set top box error code
CN101316202B (en) On-line diagnosis method and system of embedded software, embedded software device
CN104769891A (en) Method and apparatus to display information on a web browser based upon state of communication link
CN206100062U (en) Based on incessant communication device of car networking systems real -time data
CN116302862B (en) Monitoring alarm method and system under micro-service architecture
CN106302432B (en) A kind of communication device and control method based on car networking
CN114257632B (en) Method and device for reconnecting broken wire, electronic equipment and readable storage medium
CN107911288B (en) Train communication network card and train control management system
CN113009246B (en) PSE device detection device and PSE device detection method
EP4283966A2 (en) Apparatus and method for remote monitoring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121010

Termination date: 20190703