CN101132591A - Method, system and network appliance for testing note business - Google Patents

Method, system and network appliance for testing note business Download PDF

Info

Publication number
CN101132591A
CN101132591A CNA2007100770105A CN200710077010A CN101132591A CN 101132591 A CN101132591 A CN 101132591A CN A2007100770105 A CNA2007100770105 A CN A2007100770105A CN 200710077010 A CN200710077010 A CN 200710077010A CN 101132591 A CN101132591 A CN 101132591A
Authority
CN
China
Prior art keywords
short message
test
answer
delivered
base station
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.)
Pending
Application number
CNA2007100770105A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNA2007100770105A priority Critical patent/CN101132591A/en
Publication of CN101132591A publication Critical patent/CN101132591A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

This invention discloses a method for testing short messages, first of all a test device stores a test short message and a short message expected to be replied, a base station sends the test message to a mobile network device to transfer it to a service end device to generate reply message according to the content of the test message and sends it to the device of the mobile network, which transfers the reply to the base station, said test device compares the reply with the expected one to generate a comparison result and store it. This invention also discloses a system for testing short messages and a network device.

Description

Method, system and the network equipment to testing note business
[technical field]
The present invention relates to the communication technology and field of computer technology, relate in particular to method, system and the network equipment testing note business.
[background technology]
Short message service (Short Message Service) is meant with the signaling network to be transport vehicle, the business of brief information such as transmission literal.At present, service provider (SP) generally is that mobile operator provides various short message services by mobile communications network for the mobile subscriber.And the short message service of accessing mobile communication network can not guarantee one normally operation surely, needs could guarantee its running quality through test.
Short message service generally will send and receive by the base station, but because the base station is the form transmitting-receiving short message service with wireless signal, and propagation of wireless signal is subjected to the influence (will cause the diffraction of wireless signal etc. as high building) of landform easily, therefore need the transmission effect of wireless signal be detected.At present, a kind of mobile network wireless signal real time monitoring is by in each area wireless signal being carried out field review, feeding back to the base station to detect the effect that each area wireless signal is transmitted.This monitoring method can be carried out long-range, real-time uninterrupted test automatically to whole mobile network's wireless signal or be detected, it is a kind of new method that realizes the wireless network maintenance test and the network optimization, even application testing method can be grasped the terminal wireless signal transmission of mobile network, emission and coverage condition, improve the service quality of mobile network.
But the purpose of above-mentioned monitoring method is the effect situation that monitored base stations is transmitted mobile phone user radio signal, and the power of detection of handset wireless signal can not be guaranteed the normal operation of short message service.If the configuration error of mobile network equipment, professional end equipment or situation about breaking down, above-mentioned monitoring method can't detect, but these situations may influence the function that the user uses short message service when the user uses short message service, reduce user experience.
[summary of the invention]
Whether normally goal of the invention of the present invention provides a kind of method to testing note business, system and the network equipment, to reach comprehensively, to detect exactly short message service purpose.
To achieve the above object of the invention, the present invention proposes following technical scheme:
A kind of method to testing note business, the method comprising the steps of:
Testing apparatus is preserved test short message and expection answer short message thereof, and the base station sends to mobile network equipment with described test short message, and described mobile network equipment is delivered to professional end equipment with described test short message;
Described professional end equipment is according to described test short message content, generates answer short message and sends to described mobile network equipment, and described mobile network equipment is delivered to the base station with described answer short message;
Described testing apparatus compares described answer short message and described expection answer short message, generates comparative result and preservation.
Wherein, described base station also comprises step before described test short message is sent: the test short message that modem is preserved described testing apparatus converts wireless signal to and is sent to described base station;
Described mobile network equipment also comprises step after described answer short message is delivered to the base station: described modem receives the answer short message that described base station sends, and is sent to described testing apparatus after converting wire signal to.
Wherein, described mobile network equipment comprises mobile switching centre, sms center, and Short Message Service Gateway; Described professional end equipment comprises access server and service server;
Described mobile network equipment comprises the process that described test short message is delivered to professional end equipment:
Mobile switching centre receives described test short message and is delivered to sms center;
Described sms center is forwarded to Short Message Service Gateway with described test short message;
Described Short Message Service Gateway sends to access server with described test short message;
Described access server is delivered to service server with described test short message;
Described professional end equipment sends to described mobile network equipment with described answer short message, and described mobile network equipment comprises the process that described answer short message is delivered to the base station:
Described service server returns described answer short message to access server;
Described access server is delivered to described Short Message Service Gateway with described answer short message;
Described Short Message Service Gateway is forwarded to described sms center with described answer short message;
Described sms center is forwarded to described mobile switching centre with described answer short message;
Described mobile switching centre is delivered to the base station with described answer short message.
Preferably, described Short Message Service Gateway comprises before described test short message is sent to described access server:
Described Short Message Service Gateway carries out subscription authentication by Mobile Information Service Center (MISC) to described test short message;
Described MISC returns authentication to described Short Message Service Gateway and passes through message.
Preferably, described testing apparatus generates after comparative result and the preservation, also comprises described comparative result is derived.
A kind of system to testing note business, this system comprises:
Testing apparatus is used to preserve test short message and expection answer short message thereof, and answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation;
The base station is used for the test short message that described testing apparatus is preserved is sent to mobile network equipment, and the answer short message of described mobile network device forwards is delivered to described testing apparatus;
Described mobile network equipment is used for described test short message is sent to professional end equipment, and the answer short message that described professional end equipment is generated is delivered to the base station;
Professional end equipment is used for generating answer short message according to described test short message content, and is sent to described mobile network equipment.
Wherein, described testing apparatus is arranged at the base station.
Preferably, described system also comprises the wireless-modulated demodulator, be used for converting the test short message that described testing apparatus is preserved to wireless signal and be sent to described base station, and the wireless signal of the described answer short message that described base station is sent converts wire signal to, be delivered to described testing apparatus.
Wherein, described testing apparatus comprises:
The test parameter unit, test short message that is used to save presets and expection answer short message thereof;
Driver element is used to drive described wireless-modulated demodulator and sends described test short message to the base station, monitors the arrival and the reception of described answer short message;
Generation unit is used for the answer short message and the described expection answer short message of described test short message are compared as a result, generates comparative result and preservation.
Preferably, described testing apparatus also comprises:
Lead-out unit is used for the comparative result that described generation unit as a result generates is derived.
Wherein, described mobile network equipment comprises:
Mobile switching centre is used to receive described test short message and is delivered to sms center, and described answer short message is delivered to the base station;
Sms center is used for described test short message is forwarded to Short Message Service Gateway, and described answer short message is forwarded to described mobile switching centre;
Short Message Service Gateway is used for described test short message is sent to access server; And described answer short message is forwarded to described sms center;
Described professional end equipment comprises:
Access server is used for described test short message is delivered to service server; And described answer short message is delivered to described Short Message Service Gateway;
Service server is used for according to described test short message content, generates answer short message and is sent to described access server.
Preferably, described mobile network equipment also comprises:
Mobile Information Service Center (MISC) is used for described test short message is carried out subscription authentication, and authentication is returned described Short Message Service Gateway by message.
A kind of network equipment comprises:
Testing apparatus is used to preserve test short message and expection answer short message thereof, and described test short message is delivered to modem, and the answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation;
Modem is used for converting described test short message to wireless signal, and converts the answer short message that receives to wire signal, and described answer short message is delivered to testing apparatus;
Wherein, described testing apparatus comprises:
The test parameter unit, test short message that is used to save presets and expection answer short message thereof;
Driver element is used to drive described wireless-modulated demodulator and sends described test short message to the base station, monitors the arrival and the reception of the answer short message of described modem transmission;
Generation unit is used for the answer short message and the described expection answer short message of described test short message are compared as a result, generates comparative result and preservation.
Wherein, described driver element comprises:
User operation unit is used for obtaining test short message from described test parameter unit, and this test short message is sent to the task start unit;
The task start unit is used for described test short message is delivered to converting unit, and the answer short message that user operation unit is received is delivered to described generation unit as a result;
Converting unit is used for described task start unit and interface unit are carried out format conversion to the packet that the other side sends;
Interface unit is used to drive modem and sends test short message, and receives answer short message.
As can be seen from the above technical solutions, the test short message of technical solution of the present invention begins to send from the base station, mobile network equipment and professional end equipment have been covered, can expose the problem that short message service may exist all sidedly when true operation, whether detect short message service exactly normal, do not break down when guaranteeing to use this short message service or seldom break down, improve short message service user's experience.
Test of the present invention does not need to change existing operation system, can test between SP service server limber up period, can test highly versatile after the on-line running just at the SP server yet.
[description of drawings]
Fig. 1 is the basic flow sheet of the present invention to the method for testing note business;
Fig. 2 is the network architecture schematic diagram of an embodiment among the present invention;
Fig. 3 is the flow chart of the present invention to a preferred embodiment of the method for testing note business;
Fig. 4 is the structured flowchart of the present invention to the system of testing note business;
Fig. 5 is the structured flowchart of the present invention to testing apparatus among one embodiment of system of testing note business.
[embodiment]
Below in conjunction with embodiment technical solution of the present invention is described in detail.
Whether the present invention can detect short message service comprehensively, exactly and move normally, the present invention preserves tester's design and writes on testing apparatus test case, this test case comprises a test short message, and some the expection answer short messages that this test short message should be returned; When detecting, convert described test to wireless signal with note and send, and, be forwarded to professional end equipment through each equipment of mobile network from the base station to mobile network equipment; After the service server of professional end equipment returns answer short message, also will through each device forwards of mobile network to the base station, testing apparatus, testing apparatus compares described answer short message and expection answer short message, and then judges according to comparative result whether this short message service is normal.Set forth the implementation procedure of this method below in conjunction with Fig. 1:
See also Fig. 1, at first testing apparatus is preserved test short message and expection answer short message thereof, the base station sends to mobile network equipment with described test short message, described mobile network equipment is delivered to professional end equipment (step S101) with described test short message, described professional end equipment is according to described test short message content, generate answer short message and send to described mobile network equipment, described mobile network equipment is delivered to base station (step S102) with described answer short message, last described testing apparatus compares described answer short message and described expected results, generates comparative result and preserves (step S103).
For step S101, the process that test short message is sent to mobile network equipment can have two kinds of approach:
First testing apparatus is delivered to the base station after the test short message that keeps is modulated by wireless-modulated demodulator (modem); Transmit the approach of test short message corresponding to above-mentioned by modem, the answer short message that the base station receives also will be forwarded to testing apparatus after with the wireless signal demodulation by modem.
This embodiment adopts modem to replace mobile phone, and analogue mobile phone sends, receives the overall process of note fully, and the use approach of test approach and common cellphone user is identical, can reflect the variety of issue that may face when the user uses this business truly.
It two is that testing apparatus is arranged at the base station, make the base station possess the function of testing apparatus, thereby the base station can directly send to test short message mobile network equipment.Corresponding to the situation that testing apparatus is arranged at the base station, then can directly handle by the testing apparatus on the base station to this answer short message.
Fig. 2 is the network architecture schematic diagram of mobile network equipment and professional end equipment in the embodiment of the invention, and as shown in Figure 2, the mobile network environment division of present embodiment comprises mobile switching centre, sms center, Short Message Service Gateway and mobile information on services center; And professional end environment division comprises access server and service server.
For step S101, mobile network equipment is delivered to the process of professional end equipment with test short message, and the detailed process of realization is as follows:
Mobile switching centre receives described test short message and is delivered to sms center;
Described sms center is forwarded to Short Message Service Gateway with described test short message;
Described Short Message Service Gateway sends to access server with described test short message;
Described access server is delivered to service server with described test short message.
Wherein, described mobile network equipment can include but not limited to lower member: mobile switching centre, sms center and Short Message Service Gateway, test short message are delivered to professional end equipment and can include but not limited to lower member: access server and service server.
For step S102, after described professional end equipment generated answer short message according to the test short message content, the process that this answer short message is delivered to the base station was as follows:
Described service server returns described answer short message to access server;
Described access server is delivered to described Short Message Service Gateway with described answer short message;
Described Short Message Service Gateway is forwarded to described sms center with described answer short message;
Described sms center is forwarded to described mobile switching centre with described answer short message;
Described mobile switching centre is delivered to the base station with described answer short message.
For step S103, in testing apparatus, preserve test short message, according to information such as the type of service of this test short message, contents, can also set the expection answer short message that it should return, for example for the short message service of weather forecast, arrive professional end equipment if send the note request of obtaining certain day weather situation, the user should receive the note of describing this day weather situation.Testing apparatus compares the answer short message of receiving with the expection answer short message, and then judges whether this short message service is normal, generates comparative result and preservation.
The process of above-mentioned comparison is to judge whether the expection answer short message of answer short message and setting mates, if coupling is judged that then this short message service is normal, otherwise judged that this short message service has fault.Introduce the typical fault that runs in some testing processes below, be beneficial to understand the present invention:
The service fulfillment failure
Test short message is for opening short message service, and its expection answer short message should be to open success, is not to open success message if do not receive answer short message or answer short message, then can be judged to be the mobile network configuration error substantially, such as service access number mistake or the like.
The symbol transmission mistake
Include in the test short message ' | ', its expection answer short message should comprise ' | ', if ' | ' replacement is " @ " to answer short message or ' | ' has been filtered, thereby can know various places mobile network compatibility of apparatus.
Transmission delay is long
When sending test short message, pick up counting, stop timing when receiving answer short message, calculating is from sending to the total time of receiving course cost, judges this total time whether within the scope of setting, thereby within the scope whether time-delay of this short message service can be accepted.
As a further improvement on the present invention, in each embodiment, before Short Message Service Gateway is sent to service server with test short message, can analog subscriber truly use the situation of this short message service, user profile is carried out authentication, with the comprehensive and accuracy of further reinforcement test process.The miscellaneous service care of customization generally is stored in Mobile Information Service Center (MISC), therefore, Short Message Service Gateway can carry out subscription authentication to described test short message by MISC, after MISC this business of having confirmed customization, the authentication that authentication is passed through is returned Short Message Service Gateway by message.If authentication is not passed through, then this test short message will be dropped.
As a further improvement on the present invention, in each embodiment, testing apparatus generates after comparative result and the preservation, this comparative result can also be derived.Test of the present invention is preserved data and can be derived as required, searches reason after finishing for test, and long-term data record can be for data analysis, thus the profound quality of judging this short message service.
As shown in Figure 3, the inventive method preferred embodiment may further comprise the steps:
Step S1, testing apparatus are preserved test short message and expection answer short message thereof, and modem converts described test short message to wireless signal, and test short message is sent to the base station.
Step S2, base station are delivered to mobile switching centre with test short message.
Step S3, mobile switching centre are forwarded to sms center with test short message.
Step S4, sms center are forwarded to Short Message Service Gateway with test short message.
Step S5, Short Message Service Gateway carry out subscription authentication to MISC.
Step S6, MISC by message, return Short Message Service Gateway by subscription authentication.If authentication is not passed through, then this test short message will be dropped.
Step S7, Short Message Service Gateway send to the access server of SP.
Step S8, access server are delivered to service server.
Step S9, service server generate answer short message and send to access server according to the test short message content.
Step S10, access server are delivered to Short Message Service Gateway with answer short message.
Step S11, Short Message Service Gateway are forwarded to sms center with answer short message.
Step S12, sms center are forwarded to mobile switching centre with answer short message.
Step S13, mobile switching centre are passed to the base station with answer short message.
Step S14, modem receive the answer short message wireless signal that the base station sends, convert answer short message to and be delivered to testing apparatus, whether normally testing apparatus is compared answer short message and expection answer short message, thereby judge business operation, generates comparative result and also preserves.
Step S15, described comparative result is derived.The comparative result of described preservation can be derived as required.
Corresponding to above-mentioned method to testing note business, the present invention also provides a kind of system to testing note business, sees also Fig. 4, and this device generally includes testing apparatus 100, base station 200, mobile network equipment 300 and professional end equipment 400.
Testing apparatus 100 is used to preserve test short message and expection answer short message thereof, and answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation; Base station 200, the test short message that is used for described testing apparatus is preserved sends mobile network equipment, and the answer short message of described mobile network device forwards is delivered to testing apparatus; Mobile network equipment 300 is used for described test short message is sent professional end equipment, and the answer short message that described professional end equipment is generated is delivered to the base station; Professional end equipment 400 is used for according to described test short message content, generates answer short message and is sent to described mobile network equipment, and the answer short message that described professional end equipment is generated is delivered to the base station.
The workflow of this system is, the test short message of preserving tester's design and writing on testing apparatus, and this test case expection answer short message that should return; When detecting, convert described test to wireless messages with note and send, and, be forwarded to professional end equipment through each equipment of mobile network from the base station to mobile network equipment; After the service server of professional end equipment returns answer short message, also will through each device forwards of mobile network to the base station, testing apparatus, testing apparatus compares described answer short message and expection answer short message, and then judges according to comparative result whether this short message service is normal.
For testing apparatus 100, it comprises driver element 101, is used to drive described wireless-modulated demodulator and sends described test short message to the base station, also is used to start the arrival and the reception of the described answer short message of thread monitor; Generation unit 102 compares the answer short message and the described expection answer short message of described test short message as a result, generates comparative result and preservation; Test parameter unit 103 is used to preserve test short message and the expection answer short message thereof that writes.
Testing apparatus 100 can comprise two kinds of position relations in native system: described testing apparatus can be arranged at base station 200, or described testing apparatus 100 communicates by wireless modem500 and base station.When adopting back one mode, modem500 is used for converting the test short message that described testing apparatus 100 is preserved to wireless signal and is sent to described base station 200; After answer short message arrived base station 200, the wireless signal of the described answer short message that described base station 200 is sent converted answer short message to, and is delivered to described testing apparatus 100.
For mobile network equipment 300, it can include but not limited to lower member: mobile switching centre 301, sms center 302 and Short Message Service Gateway 303.In the process that sends test short message, mobile switching centre is delivered to sms center with test short message, and sms center is forwarded to Short Message Service Gateway again, is delivered to professional end equipment by Short Message Service Gateway; In the process that receives answer short message, Short Message Service Gateway is delivered to sms center with answer short message, and sms center is forwarded to mobile switching centre again, and mobile switching centre is delivered to the base station again.
Include but not limited to lower member for described professional end equipment 400: access server 401 and service server 402.Sending and replying in the process of test short message, access server is delivered to service server with test short message, service server is according to described test short message content, generate after the answer short message, answer short message is sent to described access server, is delivered to the Short Message Service Gateway of mobile network equipment again by access server.
As a further improvement on the present invention, in each embodiment, described testing apparatus also comprises lead-out unit, and being used for derives the comparative result that described generation unit as a result generates.The test data that the present invention preserves can be derived as required, searches reason after finishing for test, and long-term data record can be for data analysis, thereby profoundly judges quality of service.
As a further improvement on the present invention, further improve the comprehensive and accuracy of whole test process, in each embodiment, described mobile network equipment also comprises MISC, be used for described test short message is carried out subscription authentication, and authentication is returned described Short Message Service Gateway by message.If authentication is not passed through, then this test short message will be dropped.
Adopting under the situation of modem, as shown in Figure 5, described testing apparatus 100 generally includes: driver element 101, generation unit 102, test parameter unit 103 and lead-out unit 104 as a result.
For driver element 101, it is used to drive described wireless-modulated demodulator and sends described test short message to the base station, starts the arrival and the reception of the described answer short message of thread monitor.In specific implementation, generally include following four parts:
User operation unit 1011
User operation unit 1011 is 103 acquisition test short message from the test parameter unit, this test short message are sent to task start unit 1012 and drive it to start process of transmitting.User operation unit 1011 is user interface classes of short message managing, except the startup of test assignment, stop, also providing test case write and test result function such as check.
Task start unit 1012
Task start unit 1012 is used for 103 obtaining test short message by user operation unit 1011 from the test parameter unit, and it is delivered to converting unit 1013 encapsulates; Also be used for the answer short message that user operation unit 1011 receives is delivered to generation unit 102 as a result.Task start unit 1012 generally comprises test assignment operation (TestTaskRunner), test setting (TestSetRunner) and test data unit (TestDataRunner) three parts, TestTaskRunner is used for the record of test assignment, and inside comprises a plurality of TestSetRunner examples through ordering; TestSetRunner is used to simulate the record of a test set, and inside comprises a plurality of TestDataRunner examples through ordering; TestDataRunner is used to simulate the record of a test data, and inside comprises a plurality of DataResponse examples.
Converting unit 1013
Converting unit 1013 is to occupy the interface unit 1014 of bottom and the adhesive between the high-rise task start unit 1012, and task start unit 1012 and interface unit 1014 are encapsulated conversion to the packet that the other side sends.It mainly is the packing of carrying out on the CRs232 class, and its main purpose provides the convenient AT of transmission order, obtains the operation-interface that returns of AT order.The AT instruction is meant the cover instruction standard that GSM/CDMA modem follows, and by this instruction, can operate modem and finish the transmitting-receiving short message service.
Interface unit 1014
Interface unit 1014 is the unit that directly drive modem, when adopting serial line interface to drive wireless modem, because the .NET platform does not directly provide the base library of serial ports visit, therefore can only visit serial ports by other modes, can adopt a CRs232 mode that is widely adopted to conduct interviews usually.
For generation unit 102 as a result, it is used for the answer short message of described test short message and described expection answer short message are compared, and generates comparative result.In one embodiment, it comprises two parts:
Comparing unit 1021
The answer short message that comparing unit is used for receiving compares and analyzes with the expection answer short message, generates whether short message service is normal, result relatively such as the reason of fault.
End value unit 1022
The end value unit is used for the comparative result that described comparing unit generates is preserved.
For test parameter unit 103, it is used to preserve test short message and the expection answer short message thereof that writes.Described test parameter unit 103 generally can comprise a plurality of test sets unit, and the test set unit comprises several test data unit, and each test case (comprising a test short message and several expection answer short messages) is stored in the test data unit.
As a further improvement on the present invention, in each embodiment, described testing apparatus 100 also comprises lead-out unit 104, and being used for derives the comparative result that described generation unit as a result 102 end value unit are preserved.Described lead-out unit 104 can be used as an output interface, and described comparative result is derived, and convenient tester reads and analyzing failure cause.
The present invention also provides a kind of network equipment, and this network equipment can be computer or the equipment with computer function, and whether normally this network equipment can be used for the operation of test short message business, comprising:
Testing apparatus 100 is used to preserve test short message and expection answer short message thereof, and described test short message is delivered to modem 500, and answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation; Modem 500 is used for converting described test short message to wireless signal, receives the wireless signal of answer short message, converts answer short message to and will be delivered to testing apparatus 100.
The workflow of the above-mentioned network equipment is, at first described testing apparatus 100 is delivered to modem 500 with the test short message of preserving, after modem 500 converts described test short message to wireless signal, send to professional end equipment 400 through mobile network equipment 300; After the service server 402 of professional end generates answer short messages, also be to be delivered to modem 500 with the form of wireless signal, be delivered to testing apparatus 100 by modem 500 again through mobile network equipment 300; Testing apparatus 100 compares the answer short message and the described expection answer short message of described test short message, just can judge whether this short message service is normal.
Described testing apparatus 100 generally includes: driver element 101, generation unit 102, test parameter unit 103 and lead-out unit 104 as a result.Driver element 101 is used to drive described wireless-modulated demodulator 500 and sends described test short message to the base station 200, also is used to start the arrival and the reception of the described answer short message of thread monitor; Generation unit 102 compares the answer short message and the described expection answer short message of described test short message as a result, generates comparative result and preservation; Test parameter unit 103 is used to preserve test short message and the expection answer short message thereof that writes.
For driver element 101, it is used to drive described wireless-modulated demodulator and sends described test short message to the base station, starts the arrival and the reception of the described answer short message of thread monitor.In specific implementation, generally include following four parts:
User operation unit 1011
User operation unit 1011 is 103 acquisition test short message from the test parameter unit, this test short message are sent to task start unit 1012 and drive it to start process of transmitting.User operation unit 1011 is user interface classes of short message managing, except the startup of test assignment, stop, also providing test case write and test result function such as check.
Task start unit 1012
Task start unit 1012 is used for 103 obtaining test short message by user operation unit 1011 from the test parameter unit, and it is delivered to converting unit 1013 encapsulates; Also be used for the answer short message that user operation unit 1011 receives is delivered to generation unit 102 as a result.Task start unit 1012 generally comprises test assignment operation (TestTaskRunner), test setting (TestSetRunner) and test data unit (TestDataRunner) three parts, TestTaskRunner is used for the record of test assignment, and inside comprises a plurality of TestSetRunner examples through ordering; TestSetRunner is used to simulate the record of a test set, and inside comprises a plurality of TestDataRunner examples through ordering; TestDataRunner is used to simulate the record of a test data, and inside comprises a plurality of DataResponse examples.
Converting unit 1013
Converting unit 1013 is to occupy the interface unit 1014 of bottom and the adhesive between the high-rise task start unit 1012, and task start unit 1012 and interface unit 1014 are encapsulated conversion to the packet that the other side sends.It mainly is the packing of carrying out on the CRs232 class, and its main purpose provides the convenient AT of transmission order, obtains the operation-interface that returns of AT order.The AT instruction is meant the cover instruction standard that GSM/CDMA modem follows, and by this instruction, can operate modem and finish the transmitting-receiving short message service.
Interface unit 1014
Interface unit 1014 is the unit that directly drive modem, when adopting serial line interface to drive wireless modem, because the .NET platform does not directly provide the base library of serial ports visit, therefore can only visit serial ports by other modes, can adopt a CRs232 mode that is widely adopted to conduct interviews usually.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (12)

1. method to testing note business is characterized in that the method comprising the steps of:
Testing apparatus is preserved test short message and expection answer short message thereof, and the base station sends to mobile network equipment with described test short message, and described mobile network equipment is delivered to professional end equipment with described test short message;
Described professional end equipment is according to described test short message content, generates answer short message and sends to described mobile network equipment, and described mobile network equipment is delivered to the base station with described answer short message;
Described testing apparatus compares described answer short message and described expection answer short message, generates comparative result and preservation.
2. the method to testing note business according to claim 1 is characterized in that,
Described base station also comprises step before described test short message is sent: the test short message that modem is preserved described testing apparatus converts wireless signal to and is sent to described base station;
Described mobile network equipment also comprises step after described answer short message is delivered to the base station: described modem receives the answer short message that described base station sends, and is sent to described testing apparatus after converting wire signal to.
3. the method to testing note business according to claim 1 and 2 is characterized in that, described mobile network equipment comprises mobile switching centre, sms center, and Short Message Service Gateway; Described professional end equipment comprises access server and service server;
Described mobile network equipment comprises the process that described test short message is delivered to professional end equipment:
Mobile switching centre receives described test short message and is delivered to sms center;
Described sms center is forwarded to Short Message Service Gateway with described test short message;
Described Short Message Service Gateway sends to access server with described test short message;
Described access server is delivered to service server with described test short message;
Described professional end equipment sends to described mobile network equipment with described answer short message, and described mobile network equipment comprises the process that described answer short message is delivered to the base station:
Described service server returns described answer short message to access server;
Described access server is delivered to described Short Message Service Gateway with described answer short message;
Described Short Message Service Gateway is forwarded to described sms center with described answer short message;
Described sms center is forwarded to described mobile switching centre with described answer short message;
Described mobile switching centre is delivered to the base station with described answer short message.
4. the method to testing note business according to claim 3 is characterized in that, described Short Message Service Gateway comprises before described test short message is sent to described access server:
Described Short Message Service Gateway carries out subscription authentication by Mobile Information Service Center MISC to described test short message;
Described MISC returns authentication to described Short Message Service Gateway and passes through message.
5. the system to testing note business is characterized in that, this system comprises:
Testing apparatus is used to preserve test short message and expection answer short message thereof, and answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation;
The base station is used for the test short message that described testing apparatus is preserved is sent to mobile network equipment, and the answer short message of described mobile network device forwards is delivered to described testing apparatus;
Described mobile network equipment is used for described test short message is sent to professional end equipment, and the answer short message that described professional end equipment is generated is delivered to the base station;
Professional end equipment is used for generating answer short message according to described test short message content, and is sent to described mobile network equipment.
6. the system to testing note business according to claim 5, it is characterized in that, described system also comprises the wireless-modulated demodulator, be used for converting the test short message that described testing apparatus is preserved to wireless signal and be sent to described base station, and the wireless signal of the described answer short message that described base station is sent converts wire signal to, is delivered to described testing apparatus.
7. the system to testing note business according to claim 6 is characterized in that, described testing apparatus comprises:
The test parameter unit, test short message that is used to save presets and expection answer short message thereof;
Driver element is used to drive described wireless-modulated demodulator and sends described test short message to the base station, monitors the arrival and the reception of described answer short message;
Generation unit is used for the answer short message and the described expection answer short message of described test short message are compared as a result, generates comparative result and preservation.
8. according to each described system in the claim 5~7, it is characterized in that testing note business,
Described mobile network equipment comprises:
Mobile switching centre is used to receive described test short message and is delivered to sms center, and described answer short message is delivered to the base station;
Sms center is used for described test short message is forwarded to Short Message Service Gateway, and described answer short message is forwarded to described mobile switching centre;
Short Message Service Gateway is used for described test short message is sent to access server; And described answer short message is forwarded to described sms center;
Described professional end equipment comprises:
Access server is used for described test short message is delivered to service server; And described answer short message is delivered to described Short Message Service Gateway;
Service server is used for according to described test short message content, generates answer short message and is sent to described access server.
9. system according to claim 8 is characterized in that, described mobile network equipment also comprises:
Mobile Information Service Center MISC is used for described test short message is carried out subscription authentication, and authentication is returned described Short Message Service Gateway by message.
10. a network equipment is characterized in that, comprising:
Testing apparatus is used to preserve test short message and expection answer short message thereof, and described test short message is delivered to modem, and the answer short message and the described expection answer short message of described test short message compared, and generates comparative result and preservation;
Modem is used for converting described test short message to wireless signal, and converts the answer short message that receives to wire signal, and described answer short message is delivered to testing apparatus.
11. the network equipment according to claim 10 is characterized in that, described testing apparatus comprises:
The test parameter unit, test short message that is used to save presets and expection answer short message thereof;
Driver element is used to drive described wireless-modulated demodulator and sends described test short message to the base station, monitors the arrival and the reception of the answer short message of described modem transmission;
Generation unit is used for the answer short message and the described expection answer short message of described test short message are compared as a result, generates comparative result and preservation.
12. the network equipment according to claim 10 is characterized in that, described driver element comprises:
User operation unit is used for obtaining test short message from described test parameter unit, and this test short message is sent to the task start unit;
The task start unit is used for described test short message is delivered to converting unit, and the answer short message that user operation unit is received is delivered to described generation unit as a result;
Converting unit is used for described task start unit and interface unit are carried out format conversion to the packet that the other side sends;
Interface unit is used to drive modem and sends test short message, and receives answer short message.
CNA2007100770105A 2007-09-07 2007-09-07 Method, system and network appliance for testing note business Pending CN101132591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100770105A CN101132591A (en) 2007-09-07 2007-09-07 Method, system and network appliance for testing note business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100770105A CN101132591A (en) 2007-09-07 2007-09-07 Method, system and network appliance for testing note business

Publications (1)

Publication Number Publication Date
CN101132591A true CN101132591A (en) 2008-02-27

Family

ID=39129672

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100770105A Pending CN101132591A (en) 2007-09-07 2007-09-07 Method, system and network appliance for testing note business

Country Status (1)

Country Link
CN (1) CN101132591A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695174A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 System and method for monitoring short message centre
CN102111495A (en) * 2010-12-08 2011-06-29 北京新媒传信科技有限公司 Method for testing short messages
CN102355642A (en) * 2011-09-26 2012-02-15 广东欧珀移动通信有限公司 Automated testing method of cell phone short messages
CN106937311A (en) * 2017-04-18 2017-07-07 北京思特奇信息技术股份有限公司 A kind of dial testing method and system for short message service
CN108235324A (en) * 2016-12-21 2018-06-29 腾讯科技(深圳)有限公司 The test method and server of a kind of message template
CN112311770A (en) * 2020-09-29 2021-02-02 北京达佳互联信息技术有限公司 Information platform selection method and device, electronic equipment and storage medium
CN112954621A (en) * 2021-02-02 2021-06-11 浙江百应科技有限公司 Online playback method and device after short message sending callback and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695174A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 System and method for monitoring short message centre
WO2010145260A1 (en) * 2009-10-22 2010-12-23 中兴通讯股份有限公司 System and method for monitoring a short message service center
CN102111495A (en) * 2010-12-08 2011-06-29 北京新媒传信科技有限公司 Method for testing short messages
CN102111495B (en) * 2010-12-08 2013-11-27 北京新媒传信科技有限公司 Method for testing short messages
CN102355642A (en) * 2011-09-26 2012-02-15 广东欧珀移动通信有限公司 Automated testing method of cell phone short messages
CN102355642B (en) * 2011-09-26 2014-07-02 广东欧珀移动通信有限公司 Automated testing method of cell phone short messages
CN108235324A (en) * 2016-12-21 2018-06-29 腾讯科技(深圳)有限公司 The test method and server of a kind of message template
CN106937311A (en) * 2017-04-18 2017-07-07 北京思特奇信息技术股份有限公司 A kind of dial testing method and system for short message service
CN112311770A (en) * 2020-09-29 2021-02-02 北京达佳互联信息技术有限公司 Information platform selection method and device, electronic equipment and storage medium
CN112954621A (en) * 2021-02-02 2021-06-11 浙江百应科技有限公司 Online playback method and device after short message sending callback and electronic equipment

Similar Documents

Publication Publication Date Title
CN101132591A (en) Method, system and network appliance for testing note business
CA2303987C (en) Apparatus and method for intelligent routing of data between a remote device and a host system
CN102567611B (en) Telemedicine system and telemedicine equipment
CN101282314B (en) Group communication method, equipment and system for instant communication
CN101325784A (en) Polling mobile communication terminal, system and method
US8346209B2 (en) Remote meter reading using the existing mobile network
CN102316498A (en) Automatic test method and system for wireless network
CN102143511A (en) System and method for wirelessly sensing and monitoring indoor distribution device
CN102917387A (en) Method for monitoring multiple wireless networks and a mobile terminal
CN102097861A (en) Electrical intelligent emergency repair terminal
CN102457877A (en) Combined network, method for disposing processing data of WSN (Wireless Sensor Network) terminal and WSN gateway
CN101252721A (en) Method for mobile terminal equipment to send message
CN101645808B (en) Method for testing communication terminal by adopting analogue feedback frame
CN102752744A (en) Problem solving method and device for mobile terminal
CN102592444A (en) Taxi service system and method based on two-dimensional codes
CN101873235A (en) Detection method of equipment network link, network management system and network system
CN104994485A (en) System of intelligently selecting network-service receiving-sending short message and method thereof
CN110113771B (en) Data processing method, device, gateway equipment and storage medium
CN101252755B (en) Mobile communication terminal and monitoring method thereof
CN100543792C (en) The method and system of data collection monitor Long-distance Control
CN100353712C (en) Managing method for transmission equipment
US7907957B2 (en) Method and system for transmitting data in mobile network nodes
CN102045182B (en) Service fault localization method, device and system
CN101448215B (en) Method, system and interworking gateway based on mobile network for the instant message interworking
CN103679410A (en) Method for managing logistics information of fresh agricultural products based on Android system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Gong Jie

Document name: Notification of Passing Examination on Formalities

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080227