CN101908985A - Message checking method and device - Google Patents

Message checking method and device Download PDF

Info

Publication number
CN101908985A
CN101908985A CN2010102489014A CN201010248901A CN101908985A CN 101908985 A CN101908985 A CN 101908985A CN 2010102489014 A CN2010102489014 A CN 2010102489014A CN 201010248901 A CN201010248901 A CN 201010248901A CN 101908985 A CN101908985 A CN 101908985A
Authority
CN
China
Prior art keywords
message
path
parameter value
program
contrast
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
CN2010102489014A
Other languages
Chinese (zh)
Other versions
CN101908985B (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 CN201010248901.4A priority Critical patent/CN101908985B/en
Publication of CN101908985A publication Critical patent/CN101908985A/en
Application granted granted Critical
Publication of CN101908985B publication Critical patent/CN101908985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a message checking method comprising the following steps of: collocating a checking item, a data extraction path and a comparison mode path of a checking model; acquiring the checking item which corresponds to a target message, and acquiring the parameter values of the target message and the parameter values of a reference message by calling a data extraction program according to the checking item and the data extraction path; comparing the parameter values of the target message with the parameter values of the reference message by calling a comparison program according to the checking item and the comparison mode path, and outputting a comparison result. The invention also discloses a message checking device. The message checking method and device have the advantages of flexible collocation method, easy extension, easy maintenance and enhanced efficiency of an automated test.

Description

A kind of method of message checking and device
Technical field
The present invention relates to the interface testing field of communication system, be meant a kind of method and device of message checking especially.
Background technology
The interface testing of communication system mainly is to realize by the mode that the interface packets to the output of institute test interface carries out verification.In the prior art, the general mode of interface packets verification, be to preset a relatively message template at message to be verified, described message to be verified is according to test request corresponding test interface to be carried out input operation, interface packets from institute's test interface output, the identical parameters of the comparison message template of taking out message to be verified successively and presetting, described parameter is the position or the feature field of message, as name (name), time (time) etc., wherein, described position is the position of the address space of message, for example the node of tree structure message; Relatively whether the value of identical parameters conforms to, thereby realizes the test to communication system interface.
Yet this method of testing need all preset comparison message template to each message to be verified, in case the data of message to be verified change, the comparison message template that presets also needs to revise thereupon, makes and safeguards that relatively the workload of message template is very big, and the interface packets verification is cumbersome.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and device of message checking, and collocation method is flexible, is easy to expand, and safeguards and simply improves the efficient of automatic test.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method of message checking, this method comprises:
Check item, data pick-up path, way of contrast path in the configuration verification model;
Obtain object message corresponding check item,, call the data pick-up program, obtain the object message parameter value, with reference to the message parameter value according to check item and data pick-up path;
According to check item and way of contrast path, call the contrast program, compare to the object message parameter value and with reference to the message parameter value, and the output comparing result.
In the such scheme, described obtaining before the object message corresponding check item, this method further comprises: read object message and with reference to message, with object message and be converted to the message of argument structure with reference to message.
In the such scheme, described according to check item and data pick-up path, call the data pick-up program and comprise: read the target data item in the check item, the target data that extracts in the path according to target data item data query extracts the path, invocation target message extraction program obtains the object message parameter value; Read the reference data item in the check item, the reference data that extracts in the path according to reference data item data query extracts the path, perhaps constant extracts the path, perhaps variable extracts the path, call with reference to the message extraction program, perhaps constant extraction program, perhaps the variable extraction program obtains with reference to the message parameter value.
In the such scheme, described according to check item and way of contrast path, calling the contrast program comprises: read the way of contrast in the check item, inquire about the way of contrast path corresponding with described way of contrast, call the contrast program of described way of contrast path correspondence, with the object message parameter value with compare with reference to the message parameter value.
In the such scheme, after the described output comparing result, this method further comprises: for check item adds the verification mark, determine that object message corresponding check Xiang Junyi adds the verification mark, then verification finishes.
The present invention also provides a kind of device of message checking, and this device comprises: configuration module, verification module, program Executive Module;
Configuration module, the check item, data pick-up path, the way of contrast path that are used for disposing the verification model;
The verification module is used to obtain object message corresponding check item, and according to check item and data pick-up path, the data pick-up program in the caller Executive Module receives object message parameter value that the program Executive Module sends, with reference to the message parameter value; According to check item and way of contrast path, the contrast program in the caller Executive Module compares to the object message parameter value and with reference to the message parameter value, receives comparing result and output that the program Executive Module sends;
The program Executive Module is used to obtain the object message parameter value, with reference to the message parameter value, and sends to the calibration mode piece; Compare with the object message parameter value and with reference to the message parameter value, and send to the calibration mode piece.
In the such scheme, described verification module is further used for, and reads object message and with reference to message, with object message and be converted to the message of argument structure with reference to message.
In the such scheme, described verification module specifically is used for, read the target data item in the check item, extract the path according to the object message in the data pick-up path in the target data item query configuration module, object message extraction program according in the caller Executive Module of object message extraction path receives the object message parameter value that the program Executive Module sends; Read the reference data item in the check item, extract the path according to the reference message in the data pick-up path in the reference data item query configuration module, perhaps constant extracts the path, and perhaps variable extracts the path, extracts the path according to the reference message, perhaps constant extracts the path, perhaps variable extracts path, the reference message extraction program in the caller Executive Module, perhaps constant extraction program, perhaps the variable extraction program receives the reference message parameter value that the program Executive Module sends; Accordingly, the program Executive Module specifically is used for, and according to the target data item, obtains the object message parameter value, sends to the verification module; According to the parameter in the reference data item, obtain with reference to the message parameter value, send to the verification module.
In the such scheme, described verification module specifically is used for, read the way of contrast in the check item, according to the way of contrast path in the way of contrast query configuration module, according to the contrast program in the caller Executive Module of way of contrast path, compare to the object message parameter value and with reference to the message parameter value; Accordingly, the program Executive Module specifically is used for, and according to the object message parameter value, with reference to the message parameter value, compares with the object message parameter value and with reference to the message parameter value, and comparing result is sent to the verification module.
In the such scheme, described verification module specifically is used for, and receives the comparing result that the program Executive Module sends, and for check item adds the verification mark, determines that all check items of object message correspondence all add the verification mark, and then verification finishes.
This shows, adopt the method and the device of message checking of the present invention, the configuration of verification model is irrelevant with the particular content with reference to message and object message, flexible configuration, adaptability is strong, according to the verification model obtain the object message parameter value that needs contrast, with reference to the message parameter value, be easy to comparison, improve the efficient of automatic test; Further,, can enlarge the scope of the object message of verification, be easy to expand and safeguard to have good versatility by adding the content of verification model.
Description of drawings
Fig. 1 realizes the method flow schematic diagram of message checking for the present invention;
Fig. 2 forms schematic diagram for the present invention realizes the device of message checking.
Embodiment
Basic thought of the present invention is: configuration verification model comprises check item, data pick-up path, way of contrast path, obtain with reference to message parameter value and object message parameter value and comparison according to check item, data pick-up path and way of contrast path, determine that all check item verifications finish, then verification finishes.
Wherein, described check item comprises target data item, reference data item, way of contrast; Described target data item comprises the path of target data, i.e. the parameter of object message, and described parameter refers to the position of message or the feature field of message, as name, time etc., position described here refers to the position of the address space of message, for example, the header of message; Described reference data item comprises the path of reference data source, reference data, the path of reference data is promptly with reference to the parameter of message, described reference data source refer to described with reference to message from where obtaining, the message that promptly refers to preset file, object message itself or send to tested module.Described data pick-up path index is according to the path of extraction program, and described data pick-up program refers to obtain object message or with reference to the program of parameter value in the message; Described way of contrast path refers to the path of the program that contrasts, described contrast program refer to comparison object message parameter value with reference to the algorithm of message parameter value.
Described parameter value refers to the value of parameter correspondence, for example argument structure is that credit rating in the clock source configuration order in the tree structure body is expressed as AtomCommandList_T.[0] .commandBuffer.ClockSourceList_T.[0] .qualityLevel:cstl_NA
AtomCommandList_T.[0 wherein] .commandBuffer.ClockSourceList_T.[0] .qualityLevel is parameter, cstl_NA is parameter value, described object message refers to message to be verified, it is message from tested module output, can be that other modules send to tested module in the communication system, message by tested module output, described tested module refers to the interface of the communication system of need test, preset file described comprising with reference to message, object message itself or send to the message of tested module, the described message that sends to tested module comprises that other modules in the communication system send to the message of tested module, be used to test the test packet of tested module before, wherein, object message itself is whether carry out checking prediction message according to the logical relation of object message different parameters correct as the reference message.
The present invention is described in detail below by specific embodiment and accompanying drawing, as shown in Figure 1, a kind of method of message checking, concrete steps are as follows:
Step 101, configuration verification model comprise check item, data pick-up path, way of contrast path;
Described configuration verification model comprises that configuration check item, configuration data extract path, configuration way of contrast path; Wherein, check item comprises target data item, reference data item, way of contrast; Described way of contrast comprises value contrast, check value contrast, tabulation contrast, regular expression contrast etc., wherein, value contrast comprise equate contrast, unequal contrast, numerical value greater than contrast, numerical value less than contrasting or the like, check value contrast comprises parity check contrast, Hamming code verification contrast or the like, and the tabulation contrast comprises and comprises contrast, do not comprise contrast or the like.
Described data pick-up path index is according to the path at extraction program place, and the data pick-up program can be preset at this locality, comprises the object message extraction program, with reference to message extraction program, constant extraction program and variable extraction program.
Described object message extraction program is used for obtaining according to the target data item parameter value of object message;
Describedly be used for obtaining object message itself or sending to the parameter value of the message of tested module according to the reference data item with reference to the message extraction program;
It is what that described constant extraction program is primarily aimed at no matter send to the parameter value of the message of tested module, from the object message corresponding parameters value of tested module output is the situation of a constant, be used for obtaining the constant that presets file parameter correspondence according to the reference data item, at this moment, because the parameter value in the precognition object message, it is constant, just not need with the message that sends to tested module or object message this as the reference message, only need preset file in this locality, to preset file is with reference to message, and the described file that presets comprises parameter and corresponding constant;
Described variable extraction program is primarily aimed at situation about changing with the variation of communication system current environment from the parameter value of the object message of tested module output, time etc. for example, be used for obtaining the parameter value that presets file according to the reference data item, it is variable, at this moment, because the parameter value in the precognition object message, just not need with the message that sends to tested module or object message this as the reference message, only need preset file in this locality, to preset file is with reference to message, and the described file that presets comprises parameter and corresponding variable; Perhaps, the variable extraction program directly reads variable in the communication system according to the reference data item.
Described way of contrast path refers to the path of the program that contrasts, and described contrast program is preset at this locality, comprises value contrast program, check value contrast program, tabulation contrast program, regular expression contrast program etc.
Step 102, obtain object message corresponding check item, according to check item and data pick-up path calling that the data pick-up program is obtained the object message parameter value and with reference to the message parameter value;
Read the object message of tested module and with reference to message, objective definition message and with reference to the data structure of message, that is to say object message and be converted to the message of argument structure with reference to message, for example argument structure is a tree structure, described conversion comprises: read object message and with reference to parameter in the message and parameter value, represent according to the argument structure that presets with object message and with reference to message, like this, object message and be parameter and parameter value with reference to content of message.Read the command code of object message, described command code is the unique identification sign indicating number of object message, distribute to object message by communication system, obtain the parameter of object message according to the command code of object message, with the parameter of the object message obtained with the target data item of check item, promptly the object message of configuration parameter relatively, choose the check item that the target data item conforms to the parameter of the object message that reads; Described object message corresponding check item is one or more.
Read target data item, reference data item, way of contrast in the check item; The object message that extracts in the path according to target data item data query extracts the path, extract path invocation target message extraction program according to object message, described calling comprises, the target data item is sent to the object message extraction program, read the parameter value of object message by described object message extraction program according to the target data item.If the source of the reference data in the reference data item is for sending to the message or the object message itself of tested module, the reference message that extracts in the path according to reference data item data query extracts the path, extracting the path according to the reference message calls with reference to the message extraction program, described calling comprises, the parameter of the reference message in the reference data item is sent to reference to the message extraction program, with reference to the parameter of message extraction program, read the message that sends to tested module or the parameter value in the object message by described according to the reference message; If the reference data source is for presetting file, and the data type of configuration is a variable, then data query extracts the variable extraction path in the path, extract the path according to variable and call the variable extraction program, described calling comprises, the parameter of the reference message in the reference data item is sent to the variable extraction program, and described variable extraction program reads the parameter value that presets in the file according to parameter, i.e. the variable of parameter correspondence; Further, reference data source can be set be the environmental variance of current test macro, then the variable extraction program can be directly from the get parms variable of correspondence of current test macro.If the reference data source is for presetting file, and the data type of configuration is a constant, the constant that data query extracts in the path extracts the path, extract the path according to constant and call the constant extraction program, the described parameter that comprises the reference message in the reference data item of calling sends to the constant extraction program, read the parameter value that presets in the file according to parameter by described constant extraction program, it is the constant of parameter correspondence, the parameter value of the above-mentioned message that sends to tested module that obtains, the parameter value of object message itself, preset the parameter value in the file or the variable of communication system, be referred to as with reference to the message parameter value.
Step 103, call the contrast program according to check item and way of contrast path, with the object message parameter value with compare and output comparing result with reference to the message parameter value.
Read the way of contrast in the check item, the contrast program is called according to the way of contrast path in the way of contrast path of query configuration, with the object message parameter value, compare with reference to the message parameter value; Described calling comprises with the object message parameter value and with reference to the message parameter value and sends to the contrast program, the contrast program compares to described object message parameter value and with reference to the message parameter value, draw comparing result, and for check item adds the verification mark, described comparing result is coupling or does not mate, when for example equating that the contrast program compares, if object message parameter value and equal with reference to the message parameter value, then export comparing result and be coupling,, then export comparing result for not mating if unequal; If comparing result is coupling, then can further export comparative information, comprising parameter, parameter value, object message, with reference to message and reduced value, described reduced value comprise equal, greater than, less than, comprise, do not comprise or the like.
All check items of verification object message correspondence successively, determine that all check item verifications finish, then verification finishes, and described deterministic process is to check whether all object message corresponding check Xiang Junyi are added the verification mark, if, object message corresponding check item then, verification finishes, with the verification tag delete of check item, otherwise, choose the check item that does not wherein add the verification mark and carry out verification.
Based on above method, the present invention also provides a kind of device of message checking, and this device comprises: configuration module 201, verification module 202, program Executive Module 203;
Configuration module 201 is used to dispose the verification model, and described verification model comprises check item, data pick-up path, way of contrast path;
Wherein, check item comprises target data item, reference data item, way of contrast; Described way of contrast comprises value contrast, check value contrast, tabulation contrast, regular expression contrast etc.; Described data pick-up path index is according to the path at extraction program place, the data pick-up program is preset at program Executive Module 203, comprise the object message extraction program, with reference to message extraction program, constant extraction program and variable extraction program, described object message extraction program is used for obtaining according to the target data item value of object message parameter correspondence, describedly is used for obtaining object message itself or sending to the value of the message parameter correspondence of tested module according to the reference data item with reference to the message extraction program; It is what that described constant extraction program is primarily aimed at no matter send to the parameter value of the message of tested module, from the parameter value of the object message of tested module output is the situation of a constant, be used for obtaining the parameter value that presets file according to the reference data item, it is constant, at this moment, because the constant of parameter correspondence in the precognition object message, just not need with the message that sends to tested module or object message this as the reference message, only need preset file in this locality, to preset file is with reference to message, and the described file that presets comprises parameter and corresponding constant; Described variable extraction program is primarily aimed at situation about changing with the variation of communication system current environment from the parameter value of the object message of test module output, time etc. for example, be used for obtaining the parameter value that presets file according to the reference data item, it is variable, at this moment, because the variable of parameter correspondence in the precognition object message, need be not with reference to message just with message or the object message that sends to tested module, only need preset file in this locality, to preset file is with reference to message, and the described file that presets comprises parameter and corresponding variable; Perhaps, the variable extraction program directly reads variable in the communication system according to the reference data item; Described way of contrast path refers to the path of the program that contrasts, and described contrast program is preset at program Executive Module 203, comprises value contrast program, check value contrast program, tabulation contrast program, regular expression contrast program etc.
Verification module 202, be used for obtaining configuration module 201 object message corresponding check items, according to the data pick-up program in check item and the data pick-up path caller Executive Module 203, obtain the object message parameter value with reference to the message parameter value, and, receive comparing result and output that program Executive Module 203 sends according to the contrast program in check item and the way of contrast path caller Executive Module; Described comparing result comprises: mate or do not mate, if comparative result is not for mating, then can further export comparative information, comprising parameter, parameter value, object message, with reference to message and reduced value, described reduced value comprise equal, greater than, less than, comprise, do not comprise or the like;
Describedly obtain that object message corresponding check item comprises in the configuration module 201: the command code that reads object message, described command code is the unique identification sign indicating number of object message, be that communication system is distributed to object message, obtain the parameter of object message according to the command code of object message, with the parameter of the object message that reads with the target data item of check item in the configuration module 201, be object message parameter relatively, choose the check item that the target data item conforms to the parameter of the object message that reads; Described object message corresponding check item is one or more;
Program Executive Module 203 is used to obtain the object message parameter value, with reference to the message parameter value, sends to verification module 202; Compare and comparing result is sent to verification module 202 with the object message parameter value and with reference to the message parameter value.
Verification module 202 is further used for, read object message and with reference to message, with object message or be converted to the message of argument structure with reference to message, described conversion comprises: read object message and with reference to parameter in the message and parameter value, represent according to the argument structure that presets with object message and with reference to message, like this, object message and comprise parameter and parameter value with reference to message.
Verification module 202 specifically is used for, read the target data item in the object message corresponding check item in the configuration module 201, extract the path according to the object message in the data pick-up path in the target data item query configuration module, according to the object message extraction program in the caller Executive Module of object message extraction path, obtain the object message parameter value, object message extraction program in the described caller Executive Module comprises: extract the path according to object message, the target data item is sent to object message extraction program in the program Executive Module, receive the object message parameter value that program Executive Module 203 sends; Read the reference data item in the object message corresponding check item in the configuration module 201, the reference message that extracts in the path according to reference data item data query extracts the path, or constant extracts the path, or variable extracts the path, reference message extraction program in the caller Executive Module, or the constant extraction program, or the variable extraction program, obtain with reference to the message parameter value; The described reference message that extracts in the path according to reference data item data query extracts the path, or constant extracts the path, or variable extraction path comprises: if the source of the reference data in the reference data item is for sending to the message or the object message itself of tested module, then inquire about with reference to message and extract the path, if the source of the reference data in the reference data item is a constant for the data type that presets file and configuration, then inquire about constant and extract the path, if the source of the reference data in the reference data item is a variable for the data type that presets file and configuration, then query interface extracts the path, if the source of the reference data in the reference data item is communication system, then query interface extracts the path; Described calling with reference to the message extraction program, or constant extraction program, or variable extraction program, obtain with reference to the message parameter value and comprise: extract the reference message extraction program that the path sends to the parameter in the reference data item program Executive Module according to the reference message, or extract the constant extraction program that the path sends to the parameter in the reference data item program Executive Module according to constant, or extract the path according to variable the parameter in the reference data item is sent to the variable extraction program, receive the reference message parameter value that program Executive Module 203 sends;
Program Executive Module 203 specifically is used for, and receives the target data item that verification module 202 sends, and reads the object message parameter value according to the target data item, sends to verification module 202; Parameter in the reference data item that reception verification module 202 sends, read the message that sends to tested module or the parameter value of object message itself according to the parameter in the reference data item, perhaps preset the parameter value in the file, or the parameter value of communication system, be referred to as with reference to the message parameter value, send to verification module 202.
Verification module 202 specifically is used for, the comparing result that reception program Executive Module 203 sends, the check item of verification in the configuration module 201 is added the verification mark, determine that all check item verifications finish, then verification finishes, described definite all check item verifications finish and comprise: check whether all object message corresponding check Xiang Junyi are added the verification mark, if, then the verification of object message corresponding check item finishes, verification tag delete with check item, otherwise, choose the check item that does not wherein have the verification mark and carry out verification.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for a message checking is characterized in that, this method comprises:
Check item, data pick-up path, way of contrast path in the configuration verification model;
Obtain object message corresponding check item,, call the data pick-up program, obtain the object message parameter value, with reference to the message parameter value according to check item and data pick-up path;
According to check item and way of contrast path, call the contrast program, compare to the object message parameter value and with reference to the message parameter value, and the output comparing result.
2. method according to claim 1 is characterized in that, described obtaining before the object message corresponding check item, and this method further comprises:
Read object message and with reference to message, with object message and be converted to the message of argument structure with reference to message.
3. method according to claim 1 and 2 is characterized in that, and is described according to check item and data pick-up path, calls the data pick-up program and comprises:
Read the target data item in the check item, the target data that extracts in the path according to target data item data query extracts the path, and invocation target message extraction program obtains the object message parameter value;
Read the reference data item in the check item, the reference data that extracts in the path according to reference data item data query extracts the path, perhaps constant extracts the path, perhaps variable extracts the path, call with reference to the message extraction program, perhaps constant extraction program, perhaps the variable extraction program obtains with reference to the message parameter value.
4. method according to claim 1 is characterized in that, and is described according to check item and way of contrast path, calls the contrast program and comprises:
Read the way of contrast in the check item, inquire about the way of contrast path corresponding, call the contrast program of described way of contrast path correspondence with described way of contrast, with the object message parameter value with compare with reference to the message parameter value.
5. according to claim 1,2 or 4 described methods, it is characterized in that after the described output comparing result, this method further comprises:
For check item adds the verification mark, determine that object message corresponding check Xiang Junyi adds the verification mark, then verification finishes.
6. the device of a message checking is characterized in that, this device comprises: configuration module, verification module, program Executive Module;
Configuration module, the check item, data pick-up path, the way of contrast path that are used for disposing the verification model;
The verification module is used to obtain object message corresponding check item, and according to check item and data pick-up path, the data pick-up program in the caller Executive Module receives object message parameter value that the program Executive Module sends, with reference to the message parameter value; According to check item and way of contrast path, the contrast program in the caller Executive Module compares to the object message parameter value and with reference to the message parameter value, receives comparing result and output that the program Executive Module sends;
The program Executive Module is used to obtain the object message parameter value, with reference to the message parameter value, and sends to the calibration mode piece; Compare with the object message parameter value and with reference to the message parameter value, and send to the calibration mode piece.
7. device according to claim 6 is characterized in that,
Described verification module is further used for, and reads object message and with reference to message, with object message and be converted to the message of argument structure with reference to message.
8. according to claim 6 or 7 described devices, it is characterized in that,
Described verification module specifically is used for, read the target data item in the check item, extract the path according to the object message in the data pick-up path in the target data item query configuration module, object message extraction program according in the caller Executive Module of object message extraction path receives the object message parameter value that the program Executive Module sends; Read the reference data item in the check item, extract the path according to the reference message in the data pick-up path in the reference data item query configuration module, perhaps constant extracts the path, and perhaps variable extracts the path, extracts the path according to the reference message, perhaps constant extracts the path, perhaps variable extracts path, the reference message extraction program in the caller Executive Module, perhaps constant extraction program, perhaps the variable extraction program receives the reference message parameter value that the program Executive Module sends;
Accordingly, the program Executive Module specifically is used for, and according to the target data item, obtains the object message parameter value, sends to the verification module; According to the parameter in the reference data item, obtain with reference to the message parameter value, send to the verification module.
9. device according to claim 6 is characterized in that,
Described verification module specifically is used for, read the way of contrast in the check item, according to the way of contrast path in the way of contrast query configuration module,, compare to the object message parameter value and with reference to the message parameter value according to the contrast program in the caller Executive Module of way of contrast path;
Accordingly, the program Executive Module specifically is used for, and according to the object message parameter value, with reference to the message parameter value, compares with the object message parameter value and with reference to the message parameter value, and comparing result is sent to the verification module.
10. according to claim 6,7 or 9 described devices, it is characterized in that,
Described verification module specifically is used for, and receives the comparing result that the program Executive Module sends, and for check item adds the verification mark, determines that all check items of object message correspondence all add the verification mark, and then verification finishes.
CN201010248901.4A 2010-08-05 2010-08-05 A kind of method of message checking and device Active CN101908985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010248901.4A CN101908985B (en) 2010-08-05 2010-08-05 A kind of method of message checking and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010248901.4A CN101908985B (en) 2010-08-05 2010-08-05 A kind of method of message checking and device

Publications (2)

Publication Number Publication Date
CN101908985A true CN101908985A (en) 2010-12-08
CN101908985B CN101908985B (en) 2016-06-29

Family

ID=43264310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010248901.4A Active CN101908985B (en) 2010-08-05 2010-08-05 A kind of method of message checking and device

Country Status (1)

Country Link
CN (1) CN101908985B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012136051A1 (en) * 2011-04-02 2012-10-11 华为技术有限公司 Method and device for pattern matching
CN109032886A (en) * 2018-06-21 2018-12-18 携程旅游网络技术(上海)有限公司 Json message comparison method and system
CN109800168A (en) * 2019-01-24 2019-05-24 北京奇艺世纪科技有限公司 The test method and device of the action event data of software
CN111599162A (en) * 2020-05-14 2020-08-28 上海眼控科技股份有限公司 Message testing method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791033A (en) * 2004-12-15 2006-06-21 华为技术有限公司 System for realizing SDH logic test and its method
CN101093521A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 FPGA emulation device and method
CN101098207A (en) * 2006-06-26 2008-01-02 中兴通讯股份有限公司 Information based automatized test system and method
CN101459489A (en) * 2007-12-11 2009-06-17 中兴通讯股份有限公司 Deep packet detection device and method
CN101547156A (en) * 2009-05-04 2009-09-30 华为技术有限公司 Message parsing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791033A (en) * 2004-12-15 2006-06-21 华为技术有限公司 System for realizing SDH logic test and its method
CN101098207A (en) * 2006-06-26 2008-01-02 中兴通讯股份有限公司 Information based automatized test system and method
CN101093521A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 FPGA emulation device and method
CN101459489A (en) * 2007-12-11 2009-06-17 中兴通讯股份有限公司 Deep packet detection device and method
CN101547156A (en) * 2009-05-04 2009-09-30 华为技术有限公司 Message parsing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012136051A1 (en) * 2011-04-02 2012-10-11 华为技术有限公司 Method and device for pattern matching
CN109032886A (en) * 2018-06-21 2018-12-18 携程旅游网络技术(上海)有限公司 Json message comparison method and system
CN109800168A (en) * 2019-01-24 2019-05-24 北京奇艺世纪科技有限公司 The test method and device of the action event data of software
CN111599162A (en) * 2020-05-14 2020-08-28 上海眼控科技股份有限公司 Message testing method, device and system

Also Published As

Publication number Publication date
CN101908985B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105303112B (en) The detection method and device of component call loophole
CN102043719B (en) Method for testing IEC61850 configuration description file
CN108833459B (en) Data reporting method and terminal equipment
CN108255602B (en) Task combination method and terminal equipment
CN107391632B (en) Database storage processing method and device, computing equipment and computer storage medium
CN107179971B (en) Automatic coding method and system for CAN bus fault processing
CN109905293A (en) A kind of terminal device recognition methods, system and storage medium
CN111563075B (en) Service verification system, method and equipment and storage medium
CN106648669A (en) Remote firmware upgrading method and system for product equipment
CN103401930B (en) A kind of industrial monitoring method and device of sing on web Service
CN101908985A (en) Message checking method and device
US20150169295A1 (en) Design Assistance Device for Control Software
CN107040532B (en) Data evaluation device using verification code for verification
CN103678423A (en) Data file input system, device and method
CN114745284A (en) Configuration method and device of industrial Internet of things and computer readable storage medium
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN116069838A (en) Data processing method, device, computer equipment and storage medium
CN105356614A (en) Universal debugging method applied to distribution network automation
CN103633736B (en) From the on-line monitoring communication means of power transformation substation to main website
CN117348900A (en) Electric energy meter matching upgrading method and related equipment
CN109698813A (en) A kind of intelligent meter data recording system and method
US20170160892A1 (en) Individual customization system and method
CN101197959B (en) Terminal control method, system and equipment
CN115633102A (en) Multi-type protocol message processing system, method and readable storage medium
CN105354499A (en) Virus searching and killing method and device

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