CN101316202A - 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
CN101316202A
CN101316202A CNA2008101378286A CN200810137828A CN101316202A CN 101316202 A CN101316202 A CN 101316202A CN A2008101378286 A CNA2008101378286 A CN A2008101378286A CN 200810137828 A CN200810137828 A CN 200810137828A CN 101316202 A CN101316202 A CN 101316202A
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.)
Granted
Application number
CNA2008101378286A
Other languages
Chinese (zh)
Other versions
CN101316202B (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

Landscapes

  • Debugging And Monitoring (AREA)

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 more and more higher, and the function of its realization and the submodule that comprises are also more and more.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 schematic diagram according to the embedded software of correlation technique, as shown in Figure 1, in present embedded software, (Fig. 1 shows submodule 1 to the submodule of embedded software inside, submodule 2, submodule 3) passes through the mutual message of internal interface between, pass through the mutual message of external interface between submodule and the external module, but, 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
At 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 is provided for carrying out monitoring messages in embedded software; 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, be converted to the form of diagnosis server identification; Detect proxy module and will send to diagnosis server through the message of format conversion.
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 determines 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 submodule of embedded software inside.
According to a further aspect in the invention, provide a kind of embedded software device.
According to embedded software device of the present invention, comprise a plurality of submodules that connect by 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 clients ends that are connected with diagnosis server.
By the present invention, adopt the method that detects proxy module is set in 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 schematic diagram 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 schematic diagram 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, issue correct message by external module to monitored software such as diagnosis server, make running software recover normal, and then improved actual performance, stability, the market competitiveness of software.Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Method embodiment
According to embodiments of the invention, provide a kind of inline diagnosis method of embedded software.Fig. 2 is the flow chart according to the inline diagnosis method of the embedded software of the embodiment of the invention, and as shown in Figure 2, 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, at the inner submodule (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; By 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), still the interface between the monitored software inhouse module, the message of transmitting by 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 submodule of embedded software inside.
Message is being sent to before diagnosis server diagnoses, detect proxy module and can carry out format conversion message, be converted to the form of diagnosis server identification, afterwards, detecting proxy module will be through the message of 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.
By above embodiment, adopt the method that detects proxy module is set in 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 by 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, determine to occur unusual submodule according to the result of diagnosis server diagnosis.
By 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, provide a kind of embedded software device.Fig. 3 is the block diagram according to the embedded software device of the embodiment of the invention, and as shown in Figure 3, this device comprises a plurality of submodules (that is, submodule 1, submodule 2, submodule 3) that connect by 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.
By this embodiment, adopt the method that detects proxy module is set in 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, provide a kind of in-circuit diagnostic system of embedded software.Comprise one or more embedded software devices according to the in-circuit diagnostic system of the embedded software of the embodiment of the invention, and further comprise diagnosis server that is connected with one or more embedded software devices and the one or more clients that are connected with diagnosis server according to 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, as shown in Figure 4, comprise an embedded software device, promptly, 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 clients end 46 that is connected with diagnosis server, the said system to the embodiment of the invention is described in detail below:
Embedded software 40 comprises a plurality of submodules that connect by 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 by the mode of Run Script;
The diagnostic clients end (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 at CLIENT place to receive and the message content of processing;
In addition, also show the external module 48 that is connected with embedded software 40 among Fig. 4.
Fig. 5 is the schematic diagram according to the networking monitoring of the embodiment of the invention, as shown in Figure 5, comprise a plurality of embedded softwares (promptly, embedded software 401, embedded software 402 is to embedded software 40N), wherein, embedded software 401 comprises detection proxy module 321, embedded software 402 comprises detection proxy module 322, comprise to embedded software 40N and to 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 (promptly, the diagnostic clients end comprises: diagnostic clients end 461, diagnostic clients end 462 is to diagnostic clients end 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 clients end 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.
By above embodiment, employing is provided with the method that detects proxy module and E-Packet and diagnose to diagnosis server by the detection proxy module in embedded software, 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, those skilled in the art should be understood 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, they can be stored in the storage device and carry out by calculation element, 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.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

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 described detection proxy module receives described embedded software is made a copy for, and described message is sent to diagnosis server diagnose.
2. method according to claim 1 is characterized in that, describedly described message is sent to diagnosis server diagnoses and is specially:
Described detection proxy module carries out format conversion to described message, is converted to the form of described diagnosis server identification;
Described detection proxy module will send to described diagnosis server through the described message of format conversion.
3. method according to claim 1 is characterized in that, further comprises:
Described detection proxy module receives the new message that described diagnosis server issues, and described new message is transmitted to submodule, wherein, described diagnosis server structure and issue described new message under the wrong situation of the described message of diagnosing described detection proxy module to send, described submodule are to make a copy for the submodule of described message in the described embedded software.
4. method according to claim 1 is characterized in that, further comprises: the result according to described diagnosis server diagnosis determines to occur unusual submodule.
5. according to each described method in the claim 1 to 4, it is characterized in that it is one of following that described message comprises:
Mutual message between the submodule of mutual message, described embedded software and the external module between the submodule of described embedded software inside.
6. an embedded software device comprises a plurality of submodules that connect by internal interface, it is characterized in that described plug in software module also comprises:
Detect proxy module, be used to receive the message that submodule is made a copy for, and described message is transmitted to diagnosis server diagnoses.
7. embedded software device according to claim 6, it is characterized in that, described detection proxy module also is used to receive the new message that described diagnosis server issues, and described new message is transmitted to submodule, wherein, described diagnosis server structure and issue described new message under the wrong situation of the described message of diagnosing described detection proxy module to send, described submodule are to make a copy for the submodule of described message in the described embedded software.
8. the in-circuit diagnostic system of an embedded software, it is characterized in that, comprise one or morely, and further comprise diagnosis server that is connected with described one or more embedded software devices and the one or more diagnostic clients ends that are connected with described diagnosis server according to claim 6 or 7 described embedded software devices.
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 true CN101316202A (en) 2008-12-03
CN101316202B 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)

Cited By (2)

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

Family Cites Families (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
EP1332564A4 (en) * 2000-11-03 2009-06-17 Conexant Systems Inc Method and apparatus for configuration or diagnostics of a communication device
BRPI0208198B1 (en) * 2001-03-20 2016-03-22 Thomson Licensing Sa 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
CN100543698C (en) * 2007-09-29 2009-09-23 中兴通讯股份有限公司 A kind of integrated test system of distributed software system and method

Cited By (2)

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

Also Published As

Publication number Publication date
CN101316202B (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN103404113B (en) A kind of notice method for pushing, device and system
US11251898B2 (en) Device and method for the unidirectional transmission of data
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN103312411B (en) Optical fiber link fault detection method and device
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN106100914B (en) Cloud AC alarm information pushing method and system
CN101953139B (en) DHCP in response to Internet connectedness initializes
CN101094121B (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN103414916A (en) Fault diagnosis system and method
CN107360239A (en) A kind of client connection status detection method and system
CN106487444A (en) A kind of method and system realizing mobile terminal and telecommunication apparatus data communication
CN105471678B (en) The reason of household electrical appliance networking fails detection method, system and mobile terminal
CN106330483A (en) Information acquiring method, client device and server device
CN105391588A (en) Network fault diagnosis method and device
CN103096038B (en) The method for supervising of the fusion video monitoring system of multi-protocol video watch-dog access
CN107948636A (en) A kind of automatic fault selftesting localization method based on IPTV set top box error code
CN104769891A (en) Method and apparatus to display information on a web browser based upon state of communication link
US20120304279A1 (en) System for Isolating a Secured Data Communication Network
CN103595611B (en) The realization method and system and equipment of instant messaging application
CN101316202B (en) On-line diagnosis method and system of embedded software, embedded software device
CN110018677A (en) A kind of internet of things equipment management system and method
CN206100062U (en) Based on incessant communication device of car networking systems real -time data
MXPA05005053A (en) Method and system for surveilling a telecommunications network link.
CN114257632B (en) Method and device for reconnecting broken wire, electronic equipment and readable storage medium
US8520566B2 (en) Network connection method with auto-negotiation mechanism, network apparatus having auto-negotiation mechanism and network connection method

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

Granted publication date: 20121010

Termination date: 20190703

CF01 Termination of patent right due to non-payment of annual fee