CN102378130B - Multimedia message transmitting-receiving method of testing and test terminal - Google Patents

Multimedia message transmitting-receiving method of testing and test terminal Download PDF

Info

Publication number
CN102378130B
CN102378130B CN201010260433.2A CN201010260433A CN102378130B CN 102378130 B CN102378130 B CN 102378130B CN 201010260433 A CN201010260433 A CN 201010260433A CN 102378130 B CN102378130 B CN 102378130B
Authority
CN
China
Prior art keywords
test
parameter
multimedia message
module
error message
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.)
Active
Application number
CN201010260433.2A
Other languages
Chinese (zh)
Other versions
CN102378130A (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 CN201010260433.2A priority Critical patent/CN102378130B/en
Publication of CN102378130A publication Critical patent/CN102378130A/en
Application granted granted Critical
Publication of CN102378130B publication Critical patent/CN102378130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of multimedia message transmitting-receiving method of testing and test terminal, wherein, described multimedia message transmitting-receiving method of testing comprises: test terminal receives the test parameter of the parameters input interface input by setting, and described test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter; Described test terminal uses described test parameter to generate test packet, and described test packet is sent to server or gateway.By the present invention, reach multimedia message transmitting-receiving test flexibly, generate test packet simple and convenient, save the effect of testing time and manpower.

Description

Multimedia message transmitting-receiving method of testing and test terminal
Technical field
The present invention relates to the communications field, in particular to a kind of multimedia message transmitting-receiving method of testing and test terminal.
Background technology
Multimedia message (MMS, MultimediaMessagingService) be mobile operator release with WAP (wireless application protocol) (WAP, WirelessApplicationProtocol) for carrier, transmit multimedia short message service.It supports multimedia function, can the comprehensive content of propagation function and information, and these information comprise the information of the various multimedia forms such as word, image, sound, video.MMS can realize that instant mobile phone is end-to-end, mobile phone terminal is to the Internet or the Internet to the multimedia messages transmission of mobile phone terminal.
The MMS in the current whole world is very universal, the WAP gateway used due to various places telecommunication carrier and multimedia message server different, the multimedia message of same terminal is applied in different geographical and can runs into transmitting-receiving fault miscellaneous.In this case, terminal multimedia message engineer and Test Engineer is needed to carry out transmitting-receiving test and accident analysis to multimedia message.
In order to can the reason of accurate localizing faults, the beta version data that terminal multimedia message engineer and Test Engineer need hand-coding a large amount of are usually tested, and in beta version, adding different daily records or attempting different code revisions to carry out test analysis when breaking down.But when breaking down, generally, the failure information that server end returns is all very rough, is difficult to find out and causes fault real causes.At this moment, just need to carry out inspection amendment to the whole test file of beta version.Particularly be not easy to the place captured at gateway and server side daily record, engineers, in order to solve a transmitting-receiving fault, often needs repeatedly to revise test file, does several even tens beta versions and originally carried out testing authentication repeatedly.On the one hand, engineers is write a large amount of beta version data and is wasted a large amount of time and manpower; On the other hand, even if a parameter configuration error, also can cause the extensive work carrying out detecting amendment to whole beta version, waste a large amount of manpowers and time.
Summary of the invention
Main purpose of the present invention is to provide a kind of multimedia message to receive and dispatch method of testing and test terminal, at least to solve the problem that above-mentioned terminal multimedia message engineer and Test Engineer manually write huge manpower that a large amount of terminal software beta versions brings and time waste.
According to an aspect of the present invention, provide a kind of multimedia message transmitting-receiving method of testing, comprising: test terminal receives the test parameter of the parameters input interface input by setting, and test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter; Use test parameter in test terminal generates test packet, and test packet is sent to server or gateway.
According to a further aspect in the invention, provide a kind of test terminal, comprising: input module, for receiving the test parameter of the parameters input interface input by setting, test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter; Generation module, generates test packet for use test parameter; Sending module, for sending to server or gateway by test packet.
Pass through the present invention, adopt the test parameter inputted by the parameters input interface provided according to tester, automatic Data Generation Test bag, server or gateway is sent to by test packet to carry out the scheme of testing, solve the problem that terminal multimedia message engineer and Test Engineer in correlation technique manually write huge manpower that a large amount of terminal software beta versions brings and time waste, and then reach test flexibly, generation test packet is simple and convenient, saves the effect of testing time and manpower.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of multimedia message transmitting-receiving test mode according to the embodiment of the present invention;
Fig. 2 is the flow chart of steps of the another kind of multimedia message transmitting-receiving test mode according to the embodiment of the present invention;
Fig. 3 carries out the flow chart of steps of testing according to a kind of automatic test packet of the embodiment of the present invention;
Fig. 4 is the flow chart of steps of testing automatic trouble diagnosis and self study according to a kind of multimedia message of the embodiment of the present invention;
Fig. 5 is the structured flowchart of a kind of test terminal according to the embodiment of the present invention;
Fig. 6 is the overall construction drawing of a kind of test terminal according to the embodiment of the present invention;
Fig. 7 is the structural representation of the Failure Diagnostic Code database of a kind of test terminal according to the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
With reference to Fig. 1, show the flow chart of steps of a kind of multimedia message transmitting-receiving test mode according to the embodiment of the present invention, comprise the following steps:
Step S102: test terminal receives the test parameter of the parameters input interface input by setting;
Wherein, test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter.
In the present embodiment, test terminal provides parameters input interface to tester, and tester is by parameters input interface input test parameter.
Step S104: use test parameter in test terminal generates test packet, and test packet is sent to server or gateway.
In this step, the test parameter that test terminal inputs according to tester generates test packet.Wherein, the MMS content part in test packet also can be inputted by tester by providing inputting interface by hand, or from the test resource library that test terminal stores, obtains corresponding MMS content by test parameter, and then automatically generates.After generation test packet, this test packet is sent to corresponding server or WAP gateway etc. by test terminal.
In correlation technique, terminal multimedia message engineer and Test Engineer need the time spending a large amount of manpowers, manually write a large amount of terminal software beta versions, cause manpower and waste of time in multimedia message test process.Pass through the present embodiment, under the different WAP gateway used the different operator in the whole world and the environment of multimedia message server, can without the need to picture in the past multimedia message engineer need manually to write a large amount of beta versions and originally carried out testing and fault location, but by the parameters input interface arbitrary disposition parameter of engineer by providing, the various different test packet of quick generation finally generates the transmitting-receiving fault of test file and locating terminal multimedia message, thus save huge manpower and time, the compatibility of fast lifting terminal.
With reference to Fig. 2, show the flow chart of steps of the another kind of multimedia message transmitting-receiving test mode according to the embodiment of the present invention, comprise the following steps:
Step S202: test terminal receives the test parameter of tester by the parameters input interface input of setting;
Wherein, test parameter comprises: multimedia message transmitting-receiving configuration parameter, multimedia message protocol configuration parameter and MMS content configuration parameter.
Parameters input interface can be set to an interface, provides whole test parameter to input, also can be set to multiple inputting interface, provides different test parameter inputs respectively.
In this step, the input multimedia message transmitting-receiving of parameters input interface configuration parameter, multimedia message protocol configuration parameter and MMS content configuration parameter that tester is provided by test terminal, after having inputted, test terminal receives the test parameter of above-mentioned input.
Step S204: test terminal multimedia message protocol configuration parameter generates multimedia message data head;
Multimedia message protocol configuration parameter can comprise HTML (Hypertext Markup Language) HTTP configuration parameter, multimedia message data tunneling configuration parameter, notification message message uniform resource position mark URL etc.Test terminal generates multimedia message data head according to these multimedia message protocol configuration parameters.
Step S206: test terminal generates multimedia message data body according to MMS content configuration parameter;
In the present embodiment, setting test terminal stores test resource library, stores test resource data file in storehouse, as test text, test picture, testing audio, test video etc.MMS content configuration parameter is used for the multimedia message body of configuration testing packet, tester arranges this parameter as required, selects test packet to need the content options (combination etc. as a text, a picture, an audio frequency, video, an annex or a various content) comprised fast.
In this step, test terminal obtains test resource data file according to MMS content configuration parameter from test resource library, generates multimedia message data body.
Step S208: test terminal uses multimedia message transmitting-receiving configuration parameter and multimedia message data head and multimedia message data body to generate test packet;
Multimedia message transmitting-receiving configuration parameter can comprise: WAP gateway IP and port, MMS center address, user agent UA, access point etc.
Test terminal uses above-mentioned multimedia message to receive and dispatch configuration parameter, multimedia message data head and multimedia message data body and generates complete test packet.
Step S210: test packet is sent to server or gateway by test terminal;
Test packet, according to the configuration of multimedia message transmitting-receiving configuration parameter, is sent to corresponding server or gateway (as WAP gateway) by test terminal.
Step S212: the information that test terminal reception server or gateway return, judges whether this information is error message, if so, then performs step S214; If not, then this test is terminated;
Step S214: whether there is the error message returned in the failure judgement diagnostic roles database of test terminal, if so, then performs step S216; If not, then step S222 is performed;
Step S216: test terminal, according to error message looking up the fault diagnostic roles database, obtains the parameter modification information of error message;
In this step, test terminal stores Failure Diagnostic Code database, this storehouse for preserving various error message and the parameter modification information for various error message so that carry out fast processing to error message.Parameter modification information rule of thumb can arrange storage by tester, also can carry out self study expansion by test terminal according to the correct process of error message.Such as, for " server error " information, the parameter modification information of its correspondence can be certain multimedia message protocol configuration parameter of amendment, or revises certain multimedia message transmitting-receiving configuration parameter etc.
Step S218: test terminal, according to parameter modification information amendment test parameter, regenerates new test packet;
Test terminal according to the test packet of parameter modification information amendment legacy version, and generates the redaction test packet of amended parameter.
Step S220: test terminal sends to server or gateway the test packet generated according to new test parameter, performs step S212;
Step S222: test terminal receives the test parameter that tester is re-entered by the parameters input interface of setting again;
When there is not the error message received in Failure Diagnostic Code database, then there is not the parameter modification information for this error message yet, at this moment, need to carry out again manual input test parameter by tester, test parameter is adjusted, improves test data amendment flexibility.
Step S224: test terminal generates new test packet according to the test parameter re-entered, and send this new test packet to server or gateway;
Step S226: test terminal judges that whether test is successful, if so, then performs step S228; If not, then step S222 is performed;
When new test packet test do not obtain yet by, by tester re-start test parameter adjust, until test successfully.
Step S228: the test parameter of the successful new test packet of test terminal compare test and original test data bag, get parms amendment information;
In this step, successful for last test test packet is carried out test parameter with the most original test packet carrying out this test and compares by test terminal, obtains corresponding parameter modification information.
Step S230: error message and the parameter modification information that obtains are stored into Failure Diagnostic Code database by test terminal.
Fig. 3 and Fig. 4 tests test packet respectively and diagnosis is specifically described.
With reference to Fig. 3, show and carry out the flow chart of steps of testing according to a kind of automatic test packet of the embodiment of the present invention, comprise the following steps:
Step S302: first test terminal judges that multimedia message sends test or receives test, if send test, then enters step S304; Otherwise, enter step S308;
Step S304: test terminal obtains the multimedia message protocol field of tester's configuration, generates the multimedia message data head of test packet, enters step S306;
Multimedia message protocol field in this step belongs to the multimedia message protocol configuration parameter of configuration.
Step S306: test terminal obtains the multimedia message data body of the MMS content option generation test packet of tester's configuration, enters step S310;
MMS content option in this step belongs to the MMS content configuration parameter of configuration.
Step S308: test terminal obtains the URL of the notification message of the multimedia message of tester's configuration, enters step S310;
The URL of the notification message in this step belongs to the multimedia message protocol configuration parameter of configuration.
Step S310: test terminal obtains the transmitting-receiving parameter of tester's configuration, generates HTTP test protocol bag, enter step S312 together with the multimedia message data package obtained in above step;
Transmitting-receiving parameter in this step belongs to the multimedia message transmitting-receiving configuration parameter of configuration.
Step S312: HTTP test protocol bag sends to server or gateway to test by test terminal, and flow process terminates.
By the present embodiment, test terminal completes the autorun to multimedia message transmitting-receiving, and originally tests without the need to again making new beta version.
With reference to Fig. 4, show the flow chart of steps of testing automatic trouble diagnosis and self study according to a kind of multimedia message of the embodiment of the present invention, comprise the following steps:
Step S402: the error message of the transmitting-receiving fault that test terminal reception server or gateway return;
Step S404: the diagnostic rule with or without correspondence is searched in test terminal in Failure Diagnostic Code database, if having, enters step S406; Otherwise, enter step S410;
In the present embodiment, diagnostic rule can be understood as the parameter modification information of error message and its correspondence, namely for the parameter modification information of error message.By diagnostic rule, the parameter modification information of this error message can be determined by the error message received.
Step S406: the diagnostic result (i.e. parameter modification information) that test terminal provides according to diagnostic rule reconfigures the new test packet of generation and again tests, if test successfully, enters step S408; Otherwise, enter step S410;
Step S408: configure after the original configuration of test terminal comparison fault and success, provide the modification item that beta version needs, export last analysis result, flow process terminates;
Step S410: test terminal, according to error message, is attempted manually configuring multimedia message protocol configuration parameter or MMS content configuration parameter or multimedia message and received and dispatched configuration parameter, regenerate test packet and again test, if test successfully, then enter step S412; Otherwise, repeat step S410;
Step S412: test terminal generates new diagnostic rule and expands to Failure Diagnostic Code storehouse, enters step S408.
The Failure Diagnostic Code database of test terminal is not entirely true and sufficient to the diagnosis of the transmitting-receiving fault in all outfields, need self-study mechanism constantly revise rule database and expand, by the present embodiment, test terminal completes automatic diagnosis and self-learning function to receiving and dispatching fault.
With reference to Fig. 5, show the structured flowchart of a kind of test terminal according to the embodiment of the present invention.The test terminal 50 of the present embodiment comprises:
Input module 502, for receiving the test parameter of the parameters input interface input by setting, described test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter; Generation module 504, generates test packet for use test parameter; Sending module 506, for sending to server or gateway by test packet.
Preferably, test parameter also comprises MMS content configuration parameter.
Preferably, generation module 504 comprises: the first generation module 5042, generates multimedia message data head for using multimedia message protocol configuration parameter; Second generation module 5044, for according to MMS content configuration parameter, obtains MMS content data, generates multimedia message data body from the test resource library stored; 3rd generation module 5046, receives and dispatches configuration parameter and multimedia message data head and multimedia message data body for using multimedia message and generates test packet.
Preferably, the test terminal of the present embodiment can also comprise: receiver module 508, fault diagnosis module 510, first regenerate module 512, re-enter module 514 and second regenerates module 516.Wherein, fault diagnosis module 510, first regenerates module 512, re-enter module 514 and second regenerates module 516 can arrange in test terminal simultaneously, fault diagnosis module 510 and first also only can be set and regenerate module 512, or only setting is re-entered module 514 and second and is regenerated module 516.
Wherein receiver module 508, for the error message that reception server or gateway return; Fault diagnosis module 510, for there is error message in Failure Diagnostic Code database, according to error message looking up the fault diagnostic roles database, obtain the parameter modification information of error message, Failure Diagnostic Code database is for preserving error message and the parameter modification information for error message; First regenerates module 512, for according to parameter modification information amendment test parameter, regenerates new test packet; Re-entering module 514, for there is not error message in Failure Diagnostic Code database, receiving the test parameter re-entered by the parameters input interface of setting; Second regenerates module 516, for regenerating new test packet according to the test parameter re-entered; Sending module 506 also regenerates for sending first to server or gateway the new test packet that module 512 or the second regenerates module 516 generation.
Preferably, the test terminal of the present embodiment also comprises: comparison module 518, for there is not error message in Failure Diagnostic Code database, and when testing successfully according to the new test packet that the test parameter re-entered regenerates, the relatively test parameter of this new test packet and original test data bag, get parms amendment information; Memory module 520, for being stored into error message and parameter modification information in Failure Diagnostic Code database.
With reference to Fig. 6, show the overall construction drawing of a kind of test terminal according to the embodiment of the present invention.
User interface UI layer and engine layers are set in the test terminal of the present embodiment.Wherein, UI layer provides the user interface of input multimedia message test parameter for user, comprise multimedia message transmitting-receiving parameter configuration interface, multimedia message protocol parameter configuration interface, MMS content parameter configuration interface, additionally provide fault return information and diagnostic analysis interface, to show fault message and test data amendment information.Multimedia message engine layers comprises multimedia message coding/decoding module, multimedia message transceiver module, test resource library and Failure Diagnostic Code database.
The multimedia message transmitting-receiving multimedia message coding/decoding module of parameter configuration interface, multimedia message protocol parameter configuration interface, MMS content parameter configuration interface and engine layers of UI layer, multimedia message transceiver module and test resource library complete the automatic transceiving test function of test packet jointly.Multimedia message transmitting-receiving parameter configuration includes conventional parameter (as APN access point, WAP gateway IP and port, MMS centre address etc.) that ordinary multimedia user can configure and professional's parameter (as received and dispatched the size of wrapping, the time, user agent UA etc. of receiving and dispatching timer) that could configure in code or in system file in the past.Multimedia message protocol parameter configuration can configure MMS coding agreement and http protocol for tester provides one, the interface of notification message URL, can be increased arbitrarily by this interface detection personnel, delete and each message header field in editing multimedia message coding protocol and http protocol.MMS content parameter configuration is mainly used for the multimedia message body of configuration testing packet, the content options (combination etc. as a text, a picture, an audio frequency, video, an annex or a various content) that user can select this test packet to need to comprise by this interface rapidly.In the multimedia message application of the multimedia message coding/decoding module in engine layers, multimedia message transceiver module and terminal to be tested, corresponding service logic is on all four.Test resource library in engine layers mainly comprises some original test data files (as text, picture, audio frequency, video etc.).Test terminal generates the multimedia message transmitting-receiving test packet of test needs automatically by above interface and engine modules.
It is right that the present invention tests with another critical function of diagnostic tool automatically, this function primarily of
The fault return information of UI layer and the Failure Diagnostic Code database of diagnostic analysis interface and engine layers complete the automatic diagnostic function to the fault message returned in transmitting-receiving test.As shown in Figure 7, these rules are formed primarily of two levels the Failure Diagnostic Code database structure of the present embodiment: application layer diagnostic rule and protocol layer diagnostic rule.Application layer diagnostic rule mainly comprises Failure Diagnostic Code corresponding to some transmitting-receiving mistakes returned from application layer, and each data package size that is improper, transmitting-receiving of each timing data packet interval as transceiver network optimum configurations mistake, transmitting-receiving is improper.Protocol layer diagnostic rule is divided into again HTTP layer diagnosis rule and MMS coding layer diagnosis rule.HTTP layer diagnosis rule mainly comprises from Failure Diagnostic Code corresponding to the transmitting-receiving mistake returned in http protocol, and as incorrect in UA, HTTP header encoder is incorrect.MMS coding layer diagnosis rule, MMS coding layer diagnosis rule mainly comprises from Failure Diagnostic Code corresponding to the transmitting-receiving mistake returned in MMS coding agreement, and as multimedia message head field errors, multimedia message body code error, multimedia message size exceedes maximum restriction, multimedia message accessory number exceedes maximum restriction etc.Failure Diagnostic Code is not entirely true and sufficient to the diagnosis of the transmitting-receiving fault in all outfields, needs self-study mechanism and constantly revises rule base and expand.
Particularly,
Tester is by the conventional parameter of the multimedia message transmitting-receiving parameter configuration interface configuration multimedia message transmitting-receiving of test terminal: WAP gateway IP, port, MMS center address, UA, access point etc.; By multimedia message protocol parameter configuration interface configuration http protocol and multimedia message data tunneling, notification message URL; By the multimedia message body of MMS content parameter configuration test packet.
The configuration result of parameter configuration interface, multimedia message protocol parameter configuration interface, MMS content parameter configuration interface is received and dispatched according to multimedia message in test terminal, by multimedia message application bottom nucleus module (multimedia message encoding and decoding and transceiver module), the functions such as the packing of complete pairwise testing multimedia message data, are responsible for the transmitting-receiving test function of carrying out multimedia message at bottom afterwards.
When test terminal receives the response to test multimedia message data package of server or gateway, according to response results and the current configuration status of server or gateway, analysis result is provided by Failure Diagnostic Code, and in fault return information and diagnostic analysis interface display, automatically generate new test packet simultaneously and proceed test.
For the error message information that nothing is corresponding in Failure Diagnostic Code database of fault, tester can by reconfiguring agreement, content, transmitting-receiving parameter come again manually to generate new test pack and continue test until receive and dispatch successfully, then this error message and corresponding diagnostic process are expanded in Failure Diagnostic Code database, realize the self-learning function of Failure Diagnostic Code.
From above description, can find out, multimedia message transmitting-receiving method of testing provided by the invention and test terminal, under the different WAP gateway used the different operator in the whole world and the environment of multimedia message server, can without the need to picture in the past multimedia message engineer need the conventional method of manually writing the original crawl log of a large amount of beta versions to carry out localizing faults, but generate by the arbitrary disposition of engineer the transmitting-receiving fault that various different test packet carrys out final locating terminal multimedia message fast, save huge manpower and time waste, thus the compatibility of fast lifting terminal.Meanwhile, also there is self-learning function, can constantly expand Failure Diagnostic Code database, thus improve testing and diagnosing accuracy.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a multimedia message transmitting-receiving method of testing, is characterized in that, comprising:
Test terminal receives the test parameter of the parameters input interface input by setting, and described test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter;
Described test terminal uses described test parameter to generate test packet, and described test packet is sent to server or gateway;
Receive the error message that described server or gateway return;
When there is described error message in Failure Diagnostic Code database, according to described error message looking up the fault diagnostic roles database, obtain the parameter modification information of described error message, described Failure Diagnostic Code database is for preserving described error message and the parameter modification information for described error message;
Revise described test parameter according to described parameter modification information, regenerate new test packet, and send described new test packet to described server or gateway;
Wherein, described test parameter also comprises MMS content configuration parameter; Described test terminal uses described test parameter generation test packet to comprise:
Described test terminal uses described multimedia message protocol configuration parameter to generate multimedia message data head; According to described MMS content configuration parameter, from the test resource library stored, obtain MMS content data, generate multimedia message data body; Use described multimedia message to receive and dispatch configuration parameter and described multimedia message data head and described multimedia message data body and generate described test packet.
2. method according to claim 1, is characterized in that, uses following steps to replace test terminal described in claim 1 and uses described test parameter to generate test packet, and described test packet is sent to the step after server or gateway:
Receive the error message that described server or gateway return;
When there is not described error message in described Failure Diagnostic Code database, receive the test parameter re-entered by the parameters input interface of described setting;
Regenerate new test packet according to the described test parameter re-entered, and send described new test packet to described server or gateway.
3. method according to claim 2, is characterized in that, also comprises:
When described new test packet is tested successfully, the test parameter of more described new test packet and original test data bag, obtains described parameter modification information;
Described error message and described parameter modification information are stored in described Failure Diagnostic Code database.
4. a test terminal, is characterized in that, comprising:
Input module, for receiving the test parameter of the parameters input interface input by setting, described test parameter comprises multimedia message transmitting-receiving configuration parameter and multimedia message protocol configuration parameter;
Generation module, generates test packet for using described test parameter;
Sending module, for sending to server or gateway by described test packet;
Receiver module, for receiving the error message that described server or gateway return;
Fault diagnosis module, for there is described error message in Failure Diagnostic Code database, according to described error message looking up the fault diagnostic roles database, obtain the parameter modification information of described error message, described Failure Diagnostic Code database is for preserving described error message and the parameter modification information for described error message;
First regenerates module, for revising described test parameter according to described parameter modification information, regenerates new test packet;
Described sending module is also for sending described new test packet to described server or gateway;
Wherein, described test parameter also comprises MMS content configuration parameter; Described generation module comprises:
First generation module, generates multimedia message data head for using described multimedia message protocol configuration parameter; Second generation module, for according to described MMS content configuration parameter, obtains MMS content data, generates multimedia message data body from the test resource library stored; 3rd generation module, receives and dispatches configuration parameter and described multimedia message data head and described multimedia message data body for using described multimedia message and generates described test packet.
5. test terminal according to claim 4, is characterized in that, uses as the receiver module in lower module replacement claim 4, fault diagnosis module and first regenerate module:
Receiver module, for receiving the error message that described server or gateway return;
Re-entering module, for there is not described error message in described Failure Diagnostic Code database, receiving the test parameter re-entered by the parameters input interface of described setting;
Second regenerates module, and the test parameter for re-entering described in basis regenerates new test packet;
Described sending module is also for sending described new test packet to described server or gateway.
6. test terminal according to claim 5, is characterized in that, also comprises:
Comparison module, when testing successfully for described new test packet, the test parameter of more described new test packet and original test data bag, obtains described parameter modification information;
Memory module, for being stored into described error message and described parameter modification information in described Failure Diagnostic Code database.
CN201010260433.2A 2010-08-20 2010-08-20 Multimedia message transmitting-receiving method of testing and test terminal Active CN102378130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010260433.2A CN102378130B (en) 2010-08-20 2010-08-20 Multimedia message transmitting-receiving method of testing and test terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010260433.2A CN102378130B (en) 2010-08-20 2010-08-20 Multimedia message transmitting-receiving method of testing and test terminal

Publications (2)

Publication Number Publication Date
CN102378130A CN102378130A (en) 2012-03-14
CN102378130B true CN102378130B (en) 2016-01-20

Family

ID=45795966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010260433.2A Active CN102378130B (en) 2010-08-20 2010-08-20 Multimedia message transmitting-receiving method of testing and test terminal

Country Status (1)

Country Link
CN (1) CN102378130B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647687A (en) * 2012-03-28 2012-08-22 广东欧珀移动通信有限公司 Automatic mobile phone multimedia message filling method based on Android
JP6047535B2 (en) * 2014-09-24 2016-12-21 アンリツ株式会社 Mobile terminal test equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753542A (en) * 2005-10-25 2006-03-29 中国移动通信集团公司 Testing equipment of short message interface
EP1659820A2 (en) * 2004-11-22 2006-05-24 LG Electronics Inc. Short message service (sms) remote control system and method
CN101345968A (en) * 2007-07-11 2009-01-14 陈新 Mobile communication network test method and apparatus
CN101626552A (en) * 2009-07-20 2010-01-13 厦门敏讯信息技术股份有限公司 Method for testing terminal with short message and platform device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719085A (en) * 2009-12-23 2010-06-02 金蝶软件(中国)有限公司 Log file processing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1659820A2 (en) * 2004-11-22 2006-05-24 LG Electronics Inc. Short message service (sms) remote control system and method
CN1753542A (en) * 2005-10-25 2006-03-29 中国移动通信集团公司 Testing equipment of short message interface
CN101345968A (en) * 2007-07-11 2009-01-14 陈新 Mobile communication network test method and apparatus
CN101626552A (en) * 2009-07-20 2010-01-13 厦门敏讯信息技术股份有限公司 Method for testing terminal with short message and platform device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WAP增值业务服务质量的研究及自动测试系统的开发;马鑫;《中国优秀硕士学位全文数据库》;20061115;第25-33,46-55页第四章第4.3节,第五章和第六章、图6-1,6-2,6-10 *

Also Published As

Publication number Publication date
CN102378130A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
CN101262472B (en) A multi-function protocol parser and its realization method
CN104581785B (en) wireless network test method, test device and mobile terminal
CN105303112B (en) The detection method and device of component call loophole
CN106095677A (en) The RESTful Webservice automatic interface testing method realized based on Robot Framework
CN101179456A (en) Network appliance testing approach and device
CN106330593A (en) Protocol detection method and device
CN106100935A (en) Charging equipment of electric automobile communication protocol consistency test device and method
CN109633351A (en) Intelligent IT O&M Fault Locating Method, device, equipment and readable storage medium storing program for executing
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN107948942A (en) A kind of short message service automated testing method and device
CN107888449A (en) The recognition methods of type of service and the network equipment
CN112463511B (en) Automatic test system and test method for serial port equipment of Internet of things
CN116107893A (en) Heterogeneous platform embedded software test verification system and method
CN107947982A (en) A kind of device software management system
KR100882814B1 (en) Dual processing system for ensuring realtime of protocol test
CN102378130B (en) Multimedia message transmitting-receiving method of testing and test terminal
CN105117340B (en) URL detection methods and device for iOS browser application quality evaluations
KR100877727B1 (en) Function and application verification apparatus for mobile terminal
CN101765129A (en) Network access test system and method for data value-added service
CN117130318B (en) Industrial data acquisition method, device, system and readable storage medium
CN111935767B (en) Network simulation system
CN1937461B (en) Terminal test device based on terminal management business
CN110719216B (en) Data transmission data processing method, system, device and storage medium
CN109213077A (en) A kind of lathe reports method and system, lathe, server for repairment
CN102065451B (en) Method and system for positioning wireless application protocol (WAP) network failure

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